/* ==========================================================================
   NextWing Aviation — Design System
   Light & fresh, on-brand (Midnight Navy / Alabaster / Afterburner Aqua)
   ========================================================================== */

:root {
  /* Brand palette */
  --navy:        #0E1824;
  --navy-2:      #16263b;
  --steel:       #2B3744;
  --aqua:        #23C5D8;
  --aqua-deep:   #0A7986;  /* darker teal — used for text/eyebrows/links (AA on white & cloud) */
  --alabaster:   #F0EFE9;
  --cloud:       #F5F1E8;   /* warm sand — alt section background (Platoon-leaning) */
  --ivory:       #FBF7F0;   /* warm page base */
  --white:       #ffffff;

  /* Warm dark — Platoon-style overlay menu & warm accents (hybrid) */
  --oxblood:     #2A0E0F;
  --oxblood-2:   #3A1416;
  --ember:       #C8503B;   /* warm accent, used sparingly */
  --cream:       #FBF1E6;   /* text on oxblood */

  /* Functional — text scale tuned for AA contrast & a calm, professional feel */
  --ink:         #111C2B;  /* headings — near-black navy */
  --body:        #3E4A5A;  /* body copy — confident slate, ~9:1 on white */
  --muted:       #5E6C7D;  /* captions/labels — passes AA on white */
  --on-navy:        #c2d0de;  /* body text on navy sections */
  --on-navy-muted:  #9fb1c2;  /* secondary text on navy sections */
  --line:        #e4ecf3;
  --line-soft:   #eef3f8;

  /* Effects */
  --shadow-sm:  0 1px 3px rgba(14,24,36,.06), 0 1px 2px rgba(14,24,36,.04);
  --shadow-md:  0 10px 30px rgba(14,24,36,.08);
  --shadow-lg:  0 24px 60px rgba(14,24,36,.14);
  --shadow-aqua:0 16px 40px rgba(35,197,216,.30);

  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;

  --container:  1200px;
  --gutter:     clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.16,.84,.44,1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-head: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-soft: cubic-bezier(.22,1,.36,1);
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 3000;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .85rem; padding: 10px 18px; border-radius: 100px; box-shadow: var(--shadow-md);
  transform: translateY(-200%); transition: transform .25s var(--ease-soft);
}
.skip-link:focus { transform: none; outline: 2px solid var(--aqua); outline-offset: 2px; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ----------
   Editorial display serif (Fraunces) for the big headlines, Sora for UI/sub-heads.
   This gives the calm, fashion-editorial feel while keeping the NextWing brand. */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.04;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p  { max-width: 65ch; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-cloud { background: var(--cloud); }
.bg-alabaster { background: var(--alabaster); }
.bg-navy { background: var(--navy); color: var(--on-navy); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.center { text-align: center; }
.measure { max-width: 720px; margin-inline: auto; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-mono); font-weight: 500;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aqua-deep);
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--aqua); border-radius: 2px; }
.bg-navy .eyebrow { color: var(--aqua); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--body); margin-top: 14px; font-size: 1.08rem; }
.bg-navy .section-head p { color: var(--on-navy-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--aqua); color: var(--navy); box-shadow: var(--shadow-aqua); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(35,197,216,.42); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--aqua); color: var(--aqua-deep); transform: translateY(-2px); }
.bg-navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.bg-navy .btn--ghost:hover { border-color: var(--aqua); color: var(--aqua); }
/* Ghost buttons on any dark background (photo heroes + CTA band) — keep legible */
.hero .btn--ghost, .page-hero .btn--ghost, .cta-band .btn--ghost {
  color: #fff; border-color: rgba(255,255,255,.55);
  background: rgba(11,18,28,.32); backdrop-filter: blur(4px);
}
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .cta-band .btn--ghost:hover {
  color: var(--navy); background: #fff; border-color: #fff;
}
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; color: var(--aqua-deep);
  font-size: .95rem; transition: gap .25s var(--ease);
}
.arrow-link:hover { gap: .85em; }
.arrow-link svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark { position: relative; width: 42px; flex: none; line-height: 0; }
.brand__logo { display: block; width: 100%; height: auto; }
.brand__logo--navy { display: none; }
.site-header.is-scrolled .brand__logo--light,
.site-header--solid .brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo--navy,
.site-header--solid .brand__logo--navy { display: block; }
.site-footer .brand__logo--navy { display: none; }
.site-footer .brand__logo--light { display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; letter-spacing: .04em; color: #fff; }
.brand__tag { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--aqua); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: rgba(255,255,255,.82); padding: 10px 16px; border-radius: 10px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--aqua); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link.is-active::after { transform: scaleX(1); }

/* ---------- Dropdown / mega-menu ---------- */
.nav__item { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; background: none; }
.nav__caret { width: 14px; height: 14px; transition: transform .35s var(--ease-soft); opacity: .8; }
.nav__item:hover .nav__caret,
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; padding-top: 6px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-soft), transform .35s var(--ease-soft), visibility .3s;
  z-index: 120;
}
.nav__item:hover .dropdown,
.nav__item.is-open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
/* invisible bridge so the menu doesn't close in the gap */
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 16px; }
.dropdown__inner {
  background: rgba(255,255,255,.96); backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; display: grid; gap: 2px;
}
.dropdown__link {
  display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px;
  transition: background .25s var(--ease);
}
.dropdown__link:hover { background: var(--cloud); }
.dropdown__ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(35,197,216,.16), rgba(35,197,216,.05));
  color: var(--aqua-deep); transition: transform .35s var(--ease-soft);
}
.dropdown__link:hover .dropdown__ic { transform: translateY(-2px) scale(1.04); }
.dropdown__ic svg { width: 21px; height: 21px; }
.dropdown__txt { display: flex; flex-direction: column; line-height: 1.3; }
.dropdown__txt b { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); }
.dropdown__txt small { font-size: .82rem; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Language switch */
.lang {
  display: inline-flex; background: rgba(255,255,255,.12); border-radius: 100px;
  padding: 4px; backdrop-filter: blur(6px);
}
.lang button {
  font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .04em;
  color: rgba(255,255,255,.7); padding: 6px 12px; border-radius: 100px; transition: all .25s;
}
.lang button.is-active { background: var(--aqua); color: var(--navy); }

/* Scrolled (solid) state */
.site-header.is-scrolled {
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(14,24,36,.06);
}
.site-header.is-scrolled .brand__name { color: var(--navy); }
.site-header.is-scrolled .nav__link { color: var(--steel); }
.site-header.is-scrolled .nav__link:hover, .site-header.is-scrolled .nav__link.is-active { color: var(--navy); }
.site-header.is-scrolled .lang { background: var(--cloud); }
.site-header.is-scrolled .lang button { color: var(--muted); }
.site-header.is-scrolled .lang button.is-active { background: var(--aqua); color: var(--navy); }
.site-header.is-scrolled .burger span { background: var(--navy); }

/* Solid header on inner pages (no hero overlay) */
.site-header--solid {
  position: sticky; background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header--solid .brand__name { color: var(--navy); }
.site-header--solid .nav__link { color: var(--steel); }
.site-header--solid .nav__link:hover, .site-header--solid .nav__link.is-active { color: var(--navy); }
.site-header--solid .lang { background: var(--cloud); }
.site-header--solid .lang button { color: var(--muted); }
.site-header--solid .lang button.is-active { background: var(--aqua); color: var(--navy); }
.site-header--solid .burger span { background: var(--navy); }

/* Burger */
.burger { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease-soft) forwards; }
.hero__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease-soft) forwards;
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
  .hero__video { display: none; }
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(102deg, rgba(11,18,28,.95) 0%, rgba(11,18,28,.84) 40%, rgba(11,18,28,.58) 78%, rgba(11,18,28,.48) 100%),
    linear-gradient(0deg, rgba(11,18,28,.72), transparent 62%);
}
/* fallback gradient sky if image missing */
.hero__bg { background: linear-gradient(135deg, #0E1824 0%, #16384f 55%, #1b6f86 100%); }

.hero__inner { position: relative; z-index: 2; padding-block: 120px 80px; max-width: 760px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 22px;
  font-family: var(--font-mono); font-weight: 500; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--aqua);
  background: rgba(35,197,216,.12); border: 1px solid rgba(35,197,216,.3);
  padding: 8px 16px; border-radius: 100px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--aqua); font-style: italic; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #d4dfe9; max-width: 56ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem,3vw,2.4rem); color: #fff; }
.hero__stat .num .accent { color: var(--aqua); }
.hero__stat .lbl { font-size: .82rem; letter-spacing: .06em; color: #9fb1c2; margin-top: 4px; }

/* ==========================================================================
   Intro — cinematic pre-flight sequence
   Phases: HUD boot → letter reveal → flight + contrail → rotate → curtain exit
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; color: #F2F6FA;
  overflow: hidden; cursor: pointer;
}
.intro.is-done { pointer-events: none; }
body.intro-active { overflow: hidden; }

/* --- curtains carry the background so the exit can split into panels --- */
.intro__curtain { position: absolute; inset: 0; display: flex; z-index: 0; }
.intro__curtain i {
  flex: 1 1 20%; height: 102%;
  background: linear-gradient(180deg, #0c1c30 0%, #071226 55%, #03070e 100%);
  transition: transform .9s var(--ease-soft);
  will-change: transform;
}
.intro.is-done .intro__curtain i { transform: translateY(-103%); }
.intro.is-done .intro__curtain i:nth-child(1) { transition-delay: 0s; }
.intro.is-done .intro__curtain i:nth-child(2) { transition-delay: .07s; }
.intro.is-done .intro__curtain i:nth-child(3) { transition-delay: .14s; }
.intro.is-done .intro__curtain i:nth-child(4) { transition-delay: .21s; }
.intro.is-done .intro__curtain i:nth-child(5) { transition-delay: .28s; }

/* --- dimmed cloud footage behind the sequence --- */
.intro__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: brightness(.42) saturate(.85);
  animation: introVideoIn 2.2s ease .3s forwards;
  pointer-events: none;
}
@keyframes introVideoIn { to { opacity: .26; } }
.intro.is-exit .intro__video { transition: opacity .45s ease; opacity: 0 !important; }

/* --- atmosphere: one soft aqua glow + gentle vignette (clouds do the rest) --- */
.intro__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(82% 64% at 50% 42%, rgba(35,197,216,.10), transparent 62%),
    radial-gradient(140% 110% at 50% 50%, transparent 55%, rgba(3,7,14,.55) 100%);
  opacity: 0; animation: introFade 1.2s ease .1s forwards;
}
.intro.is-exit .intro__glow,
.intro.is-exit .intro__flight { transition: opacity .45s ease; opacity: 0 !important; }

/* --- flight svg --- */
.intro__flight { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.intro__jet { will-change: transform; }

/* --- HUD frame --- */
.intro__hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.intro__hud-item {
  position: absolute; display: flex; flex-direction: column; gap: 3px;
  font-family: var(--font-mono); font-size: clamp(.58rem, 1vw, .7rem);
  letter-spacing: .22em; text-transform: uppercase; color: rgba(242,246,250,.78);
  opacity: 0; animation: introFade .9s ease forwards;
}
.intro__hud--tl { top: clamp(20px,3.4vw,38px); left: clamp(20px,3.4vw,42px); animation-delay: .25s; }
.intro__hud--tr { top: clamp(20px,3.4vw,38px); right: clamp(20px,3.4vw,42px); text-align: right; animation-delay: .4s; }
.intro__hud--bl { bottom: clamp(22px,3.6vw,40px); left: clamp(20px,3.4vw,42px); flex-direction: row; align-items: center; gap: 10px; color: var(--aqua); animation-delay: .55s; }
.intro__hud--br { bottom: clamp(18px,3.2vw,34px); right: clamp(20px,3.4vw,42px); text-align: right; animation-delay: .55s; }
.intro__caret { width: 8px; height: 8px; background: var(--aqua); border-radius: 1px; animation: introCaret 1s steps(2, end) infinite; box-shadow: 0 0 10px rgba(35,197,216,.8); }
@keyframes introCaret { 50% { opacity: .15; } }
.intro__count {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 3rem); letter-spacing: .08em; line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums;
}
.intro__count::after { content: "%"; font-size: .42em; color: rgba(35,197,216,.85); margin-left: .15em; }
.intro.is-exit .intro__hud-item { transition: opacity .35s ease, transform .45s var(--ease-soft); opacity: 0 !important; transform: translateY(-12px); }

/* --- centre wordmark --- */
.intro__center { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.intro__word {
  position: relative; display: flex; line-height: 1.04;
  font-size: clamp(2.6rem, 9vw, 5.6rem); color: #fff; overflow: hidden;
  padding: .06em .04em .1em;
}
.intro__word .iw { display: inline-flex; font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; }
.intro__word .iw--em { font-family: var(--font-display); font-style: italic; font-weight: 400; margin-left: .06em; }
.intro__word .iw--em .il {
  background: linear-gradient(120deg, var(--aqua), #9ce9f2);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.intro__word .il {
  display: inline-block; transform: translateY(118%) rotate(4deg);
  animation: introLetter .85s var(--ease-soft) forwards;
  animation-delay: calc(.32s + var(--i) * .065s);
  will-change: transform;
}
@keyframes introLetter { to { transform: none; } }
/* sheen sweep when the jet passes the wordmark */
.intro__word::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(100deg, transparent 38%, rgba(255,255,255,.34) 50%, transparent 62%);
  pointer-events: none;
}
.intro.is-pass .intro__word::after { transition: transform .9s var(--ease-soft); transform: translateX(130%) skewX(-18deg); }
.intro__tag {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(.6rem, 1.2vw, .76rem); letter-spacing: .5em; text-transform: uppercase;
  color: var(--aqua); margin-top: 18px; padding-left: .5em;
  opacity: 0; filter: blur(4px);
  animation: introTag 1.1s var(--ease-soft) .85s forwards;
}
@keyframes introTag { to { opacity: 1; filter: blur(0); letter-spacing: .34em; } }
.intro.is-exit .intro__center {
  transition: opacity .4s ease, transform .55s var(--ease-soft);
  opacity: 0; transform: translateY(-34px) scale(.97);
}

/* --- bottom progress hairline + skip --- */
.intro__bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0%; z-index: 4;
  background: linear-gradient(90deg, var(--aqua), #9ce9f2);
  box-shadow: 0 0 14px rgba(35,197,216,.8);
}
.intro__skip {
  position: absolute; bottom: clamp(22px,3.6vw,40px); left: 50%; transform: translateX(-50%);
  z-index: 5; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(242,246,250,.45); padding: 8px 14px;
  opacity: 0; animation: introFade .8s ease 1.4s forwards; transition: color .25s;
}
.intro__skip:hover { color: var(--aqua); }
.intro.is-exit .intro__skip, .intro.is-exit .intro__bar { transition: opacity .3s ease; opacity: 0 !important; }

@keyframes introFade { to { opacity: 1; } }
@keyframes introRiseIn { to { opacity: 1; transform: none; } }

/* ---------- Direct team contact (contact page) ---------- */
.person-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .person-grid { grid-template-columns: 1fr; } }
.person-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 38px);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person-card__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.person-card__avatar {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none;
  border: 3px solid var(--cloud); box-shadow: var(--shadow-sm);
}
.person-card__name { font-size: 1.3rem; margin: 0; }
.person-card__role { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-deep); margin-top: 5px; }
.person-card__bio { font-size: .98rem; margin-bottom: 18px; }
.person-card__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.person-card__topics li {
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  color: var(--steel); background: var(--cloud); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 100px;
}
.person-card__actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.person-card__mail { font-size: .92rem; }
.person-card__mail svg { width: 17px; height: 17px; }
.person-card__tel { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
a.person-card__tel:hover { color: var(--aqua-deep); }

/* ---------- 404 page ---------- */
.nf {
  position: relative; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px);
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(80% 64% at 50% 38%, rgba(35,197,216,.13), transparent 62%),
    linear-gradient(180deg, #0c1c30 0%, #071226 55%, #060f1c 100%);
  color: #d4dfe9;
}
.nf__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nf__inner { position: relative; z-index: 2; text-align: center; padding-block: 100px; display: flex; flex-direction: column; align-items: center; }
.nf__code {
  font-family: var(--font-mono); font-size: clamp(.8rem, 1.4vw, .95rem); letter-spacing: .5em;
  color: var(--aqua); margin-bottom: 18px; padding-left: .5em;
}
.nf h1 { color: #fff; margin-bottom: 18px; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.nf p { max-width: 52ch; margin-inline: auto; margin-bottom: 34px; font-size: 1.08rem; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.nf__hint { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .3em; color: rgba(35,197,216,.45); margin-top: 56px; }

/* header waits for the curtains, then drifts in with the hero */
.site-header { transition: opacity .9s ease .35s, transform .9s var(--ease-soft) .35s; }
body.intro-active .site-header { opacity: 0; transform: translateY(-14px); transition: none; }

/* ==========================================================================
   Hero entrance + scroll cue
   ========================================================================== */
.hero__inner > * { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.hero.is-revealed .hero__inner > * { opacity: 1; transform: none; }
.hero.is-revealed .hero__inner > *:nth-child(1) { transition-delay: .05s; }
.hero.is-revealed .hero__inner > *:nth-child(2) { transition-delay: .18s; }
.hero.is-revealed .hero__inner > *:nth-child(3) { transition-delay: .31s; }
.hero.is-revealed .hero__inner > *:nth-child(4) { transition-delay: .44s; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.hero__lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: #e7eef4; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 3;
  opacity: 0; transition: opacity 1s ease 1.1s;
}
.hero.is-revealed .hero__scroll { opacity: 1; }
.hero__scroll-line { width: 1px; height: 54px; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: #fff; animation: scrollPulse 2s var(--ease-soft) infinite; }
.hero__scroll-txt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@keyframes scrollPulse { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(260%); } }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero__inner > * { opacity: 1; transform: none; }
  .hero__scroll-line::after { animation: none; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; padding-block: clamp(120px, 16vw, 190px) clamp(48px, 7vw, 88px); color: #fff; overflow: hidden; background: var(--navy); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .35; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,24,36,.96), rgba(14,24,36,.55)); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #aebecd; font-size: 1.12rem; margin-top: 18px; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--aqua); margin-bottom: 20px; font-family: var(--font-head); }
.breadcrumb a { color: #9fb1c2; }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Cards / Features
   ========================================================================== */
.grid { display: grid; gap: clamp(20px, 2.5vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(35,197,216,.16), rgba(35,197,216,.05));
  color: var(--aqua-deep); margin-bottom: 22px;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--body); font-size: .98rem; }
.bg-navy .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); }
.bg-navy .feature p { color: var(--on-navy-muted); }
.bg-navy .feature:hover { background: rgba(255,255,255,.07); }

/* Checklist */
.checklist { display: grid; gap: 18px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(35,197,216,.14); color: var(--aqua-deep); margin-top: 2px;
}
.checklist .tick svg { width: 16px; height: 16px; }
.checklist b { color: var(--ink); display: block; font-weight: 600; font-family: var(--font-head); font-size: 1.02rem; }
.checklist span.txt { color: var(--body); font-size: .96rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split__media .badge-float {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.badge-float .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--aqua); display: grid; place-items: center; }
.badge-float .ic svg { width: 22px; height: 22px; }
.badge-float .num { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy); line-height: 1; }
.badge-float .lbl { font-size: .78rem; color: var(--muted); }
.split h2 { margin-bottom: 18px; }
.split p { margin-bottom: 22px; }

/* ==========================================================================
   Listings
   ========================================================================== */
.listing-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.listing-card:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.listing-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cloud); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.listing-card:hover .listing-card__media img { transform: scale(1.06); }
.listing-card__tag {
  position: absolute; top: 14px; left: 14px; background: rgba(14,24,36,.82); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .04em;
  padding: 6px 13px; border-radius: 100px; backdrop-filter: blur(4px);
}
.listing-card__tag.is-sold { background: var(--aqua); color: var(--navy); }
.listing-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.listing-card__cat { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-deep); font-family: var(--font-head); font-weight: 600; }
.listing-card h3 { margin: 6px 0 14px; }
.listing-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; }
.listing-specs li { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--body); }
.listing-specs svg { width: 15px; height: 15px; color: var(--muted); }
.listing-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.listing-card__price { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.listing-card__price small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip {
  font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--steel);
  padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; transition: all .25s;
}
.filter-chip:hover { border-color: var(--aqua); color: var(--aqua-deep); }
.filter-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ==========================================================================
   Steps / Process
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 30px); counter-reset: step; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; }
.step__num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy);
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 20px;
}
.bg-navy .step__num { background: rgba(35,197,216,.14); color: var(--aqua); border-color: transparent; box-shadow: none; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { font-size: .94rem; }
.step:not(:last-child) .step__num::after {
  content: ""; position: absolute; top: 26px; left: 64px; right: -14px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.bg-navy .step:not(:last-child) .step__num::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 6px, transparent 6px 12px); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px;
  display: flex; flex-direction: column; gap: 20px; transition: transform .35s var(--ease), box-shadow .35s;
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote-card .stars { color: var(--aqua); display: flex; gap: 2px; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.08rem; color: var(--ink); font-family: var(--font-head); font-weight: 500; line-height: 1.5; }
.quote-card__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-card__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--steel)); color: var(--aqua); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-card__name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .96rem; }
.quote-card__role { font-size: .84rem; color: var(--muted); }

/* Logos strip */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 70px); }
.trust span { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--muted); letter-spacing: .02em; opacity: .7; }

/* Editorial marquee — slow, continuous, fades at the edges */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: clamp(36px, 6vw, 80px); animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: clamp(36px, 6vw, 80px); font-family: var(--font-head); font-weight: 600; font-size: clamp(.95rem,1.4vw,1.1rem); letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--aqua); font-size: .7em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 80px); background: linear-gradient(120deg, var(--navy) 0%, #16384f 100%); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(35,197,216,.28), transparent 45%); }
.cta-band__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #aebecd; margin-top: 12px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: var(--cloud);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); background: #fff; box-shadow: 0 0 0 4px rgba(35,197,216,.12); }
.field input::placeholder, .field textarea::placeholder { color: #9fb0bf; }
.field input:invalid:not(:placeholder-shown), .field textarea:invalid:not(:placeholder-shown) { border-color: #e8907f; }

.form-submit[disabled] { opacity: .65; cursor: progress; transform: none !important; box-shadow: none; }
.form-note { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-family: var(--font-head); font-size: .95rem; line-height: 1.45; }
.form-note--success { background: rgba(35,197,216,.12); color: var(--aqua-deep); border: 1px solid rgba(35,197,216,.32); }
.form-note--error { background: #fdece8; color: #c2492f; border: 1px solid #f3c4b8; }

/* Contact detail tiles */
.contact-tiles { display: grid; gap: 16px; }
.contact-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--cloud); border: 1px solid var(--line-soft); transition: all .3s var(--ease); }
.contact-tile:hover { background: #fff; box-shadow: var(--shadow-sm); border-color: var(--line); }
.contact-tile .ic { flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--navy); color: var(--aqua); display: grid; place-items: center; }
.contact-tile .ic svg { width: 22px; height: 22px; }
.contact-tile .k { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 3px; }
.contact-tile .v { color: var(--body); font-size: .96rem; }
.contact-tile a.v:hover { color: var(--aqua-deep); }

/* ==========================================================================
   Team / Founders
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 30px); }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; gap: 22px; transition: transform .35s var(--ease), box-shadow .35s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card__avatar { flex: none; width: 76px; height: 76px; border-radius: 20px; background: linear-gradient(135deg, var(--navy), var(--steel)); color: var(--aqua); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; }
img.team-card__avatar { object-fit: cover; object-position: top center; }
.team-card__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.team-card__role { color: var(--aqua-deep); font-family: var(--font-head); font-weight: 600; font-size: .86rem; margin: 3px 0 12px; }
.team-card p { font-size: .94rem; color: var(--body); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-family: var(--font-head); font-weight: 600; font-size: .73rem; letter-spacing: .02em; color: var(--steel); background: var(--cloud); border: 1px solid var(--line); padding: 5px 11px; border-radius: 100px; }

/* ==========================================================================
   Timeline (roadmap / vision)
   ========================================================================== */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: rgba(255,255,255,.16); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); border: 2px solid var(--aqua); }
.tl-item.is-now::before { background: var(--aqua); box-shadow: 0 0 0 5px rgba(35,197,216,.2); }
.tl-phase { font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 4px; }
.tl-item h3 { color: #fff; font-size: 1.18rem; margin-bottom: 6px; }
.tl-item p { color: #9fb1c2; font-size: .95rem; margin: 0; }

/* Problem / solution two-column */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 30px); }
.ps-card { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.ps-card--problem { background: var(--cloud); }
.ps-card--solution { background: linear-gradient(135deg, rgba(35,197,216,.10), rgba(35,197,216,.03)); border-color: rgba(35,197,216,.28); }
.ps-card h3 { font-size: 1.25rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.ps-card h3 svg { width: 22px; height: 22px; }
.ps-card--problem h3 svg { color: #c2492f; }
.ps-card--solution h3 svg { color: var(--aqua-deep); }
.ps-list { display: grid; gap: 13px; }
.ps-list li { display: flex; gap: 11px; font-size: .96rem; color: var(--body); }
.ps-list li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.ps-card--problem .ps-list li svg { color: #c2492f; }
.ps-card--solution .ps-list li svg { color: var(--aqua-deep); }

@media (max-width: 760px) { .team-grid, .ps-grid { grid-template-columns: 1fr; } .team-card { flex-direction: column; gap: 16px; } }

/* ==========================================================================
   Listing detail page
   ========================================================================== */
.det-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.det-badge { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .04em; padding: 7px 14px; border-radius: 100px; }
.det-badge--cat { background: rgba(35,197,216,.16); color: var(--aqua); border: 1px solid rgba(35,197,216,.4); }
.det-badge--status { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.det-quick { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 52px); margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.det-quick .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 2.3vw, 1.85rem); color: #fff; line-height: 1; }
.det-quick .num .accent { color: var(--aqua); }
.det-quick .lbl { font-size: .8rem; color: var(--on-navy-muted); margin-top: 5px; letter-spacing: .03em; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--cloud); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transition: transform .6s var(--ease); display: block; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-main { grid-column: span 2; grid-row: span 2; }
.gallery .g-main img { aspect-ratio: 3/2; height: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .g-main { grid-column: span 2; grid-row: auto; } }

.det-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.facts { display: grid; gap: 16px; margin-top: 10px; }
.fact { display: flex; gap: 14px; }
.fact__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(35,197,216,.13); color: var(--aqua-deep); display: grid; place-items: center; }
.fact__ic svg { width: 19px; height: 19px; }
.fact p { margin: 0; font-size: .98rem; }
.det-overview p { margin-bottom: 16px; }
.spec-card { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 28px; }
.spec-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.spec-price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy); margin-bottom: 20px; }
.spec-price small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-bottom: 2px; }
.spec-table { display: grid; margin-bottom: 22px; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .94rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row .k { color: var(--muted); }
.spec-row .v { color: var(--ink); font-weight: 600; font-family: var(--font-head); text-align: right; }
.spec-card .btn { width: 100%; }
.spec-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
@media (max-width: 960px) { .det-grid { grid-template-columns: 1fr; } .spec-card { position: static; } }

/* Sample listing badge */
.sample-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--navy);
  font-family: var(--font-head); font-weight: 600; font-size: .67rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px;
  border-radius: 100px; box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}

/* ==========================================================================
   Lightbox (detail gallery)
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,12,18,.93); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__btn { position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.24); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 24px; width: 46px; height: 46px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__nav--prev { left: 24px; } .lightbox__nav--next { right: 24px; }
.gallery figure { cursor: zoom-in; }
@media (max-width: 760px) { .lightbox__nav { display: none; } }

/* ==========================================================================
   Legal pages (AGB / Datenschutz / Impressum)
   ========================================================================== */
.legal { max-width: 850px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p { color: var(--body); margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; display: grid; gap: 7px; }
.legal ul li { color: var(--body); }
.legal a { color: var(--aqua-deep); text-decoration: underline; }
.legal a:hover { text-decoration: none; }
.legal__updated { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal__contact { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 8px 0 8px; }
.legal__contact p { margin-bottom: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #9fb1c2; padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(32px, 4vw, 56px); padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; color: #8ba0b3; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #9fb1c2; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--aqua); }
.footer-contact li { display: flex; gap: 10px; font-size: .95rem; margin-bottom: 12px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--aqua); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .85rem; color: #6f8497; }
.footer-bottom a:hover { color: var(--aqua); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #c7d4e0; transition: all .25s; }
.socials a:hover { background: var(--aqua); color: var(--navy); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ==========================================================================
   Editorial overlay menu — on-brand navy/aqua, controlled type scale
   ========================================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--navy);
  background-image:
    radial-gradient(110% 80% at 100% 0%, rgba(35,197,216,.14), transparent 55%),
    linear-gradient(180deg, #0c1c30 0%, #0E1824 60%, #060f1c 100%);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(90px, 14vh, 150px) var(--gutter) clamp(28px, 6vh, 56px);
  opacity: 0; pointer-events: none; transform: scale(1.02);
  transition: opacity .5s var(--ease-soft), transform .6s var(--ease-soft);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu > a:not(.btn) {
  display: block; width: max-content; max-width: 100%;
  font-family: var(--font-display); font-weight: 300; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 6.5vw, 3rem); line-height: 1.12; color: #fff;
  padding: 7px 0; opacity: 0; transform: translateY(18px);
  transition: color .3s, opacity .6s var(--ease-soft), transform .6s var(--ease-soft);
}
.mobile-menu.is-open > a { opacity: 1; transform: none; }
.mobile-menu.is-open > a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open > a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.is-open > a:nth-child(3) { transition-delay: .20s; }
.mobile-menu.is-open > a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.is-open > a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.is-open > a:nth-child(6) { transition-delay: .38s; }
.mobile-menu.is-open > a:nth-child(7) { transition-delay: .44s; }
.mobile-menu > a:not(.btn):hover { color: var(--aqua); }
.mobile-menu > a:not(.btn).is-active { color: var(--aqua); font-style: italic; }

.mobile-menu__lang { display: flex; gap: 12px; margin-top: 36px; }
.mobile-menu__lang button {
  font-family: var(--font-mono); font-weight: 500; font-size: .78rem; letter-spacing: .06em;
  color: rgba(255,255,255,.65); padding: 9px 18px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.22); transition: all .25s;
}
.mobile-menu__lang button.is-active { background: var(--aqua); color: var(--navy); border-color: var(--aqua); }
.mobile-menu > a.btn {
  margin-top: 28px; width: max-content; opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease-soft) .5s, transform .6s var(--ease-soft) .5s, background .25s, box-shadow .25s;
}
.mobile-menu.is-open > a.btn { opacity: 1; transform: none; }

/* JS-injected contact row at the bottom of the overlay */
.mobile-menu__contact {
  margin-top: auto; padding-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 28px;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; color: var(--on-navy);
}
.mobile-menu__contact a { color: var(--on-navy); transition: color .2s; }
.mobile-menu__contact a:hover { color: var(--aqua); }
.mobile-menu__contact .sig { width: 100%; margin-top: 18px; color: var(--on-navy-muted); font-style: normal; }

/* Burger turns white while overlay is open (header sits above the overlay) */
.menu-open .burger span { background: #fff !important; }

/* Header flips to light-on-dark while the overlay is open */
.menu-open .site-header { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.menu-open .site-header .brand__logo--navy { display: none !important; }
.menu-open .site-header .brand__logo--light { display: block !important; }
.menu-open .site-header .brand__name { color: #fff !important; }
.menu-open .site-header .lang { background: rgba(255,255,255,.08) !important; }
.menu-open .site-header .lang button { color: rgba(255,255,255,.7); }
.menu-open .site-header .lang button.is-active { background: var(--aqua); color: var(--navy); }

@media (max-width: 760px) {
  .mobile-menu > a:not(.btn) { font-size: clamp(1.7rem, 8.5vw, 2.3rem); }
}

/* ==========================================================================
   Editorial blocks — brand statement & large pull-quote (Platoon rhythm)
   ========================================================================== */
.statement { max-width: 980px; margin-inline: auto; text-align: center; }
.statement .eyebrow { justify-content: center; margin-bottom: 28px; }
.statement p {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.32; letter-spacing: -.01em;
  color: var(--ink); max-width: none; margin-inline: auto;
}
.statement p .accent { font-style: italic; color: var(--aqua-deep); }

.pullquote { text-align: center; max-width: 1000px; margin-inline: auto; }
.pullquote blockquote {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.24; letter-spacing: -.015em;
  color: #fff; margin: 0 0 28px;
}
.pullquote .mark { font-size: clamp(3rem,6vw,5rem); line-height: .4; color: var(--aqua); display: block; margin-bottom: 8px; font-family: var(--font-display); }
.pullquote__by { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); }

/* FAQ accordion (native details/summary) */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem,1.8vw,1.35rem);
  color: var(--ink); transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--aqua-deep); }
.faq summary .pm { flex: none; width: 22px; height: 22px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--aqua-deep); border-radius: 2px; transition: transform .3s var(--ease-soft); }
.faq summary .pm::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq summary .pm::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details > div { padding: 0 4px 26px; }
.faq details > div p { color: var(--body); font-size: 1rem; margin: 0; max-width: 70ch; }

/* Detail list (definition-style) for richer service content */
.deflist { display: grid; gap: 0; margin-top: 8px; }
.deflist > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.deflist > div:last-child { border-bottom: 1px solid var(--line); }
.deflist dt { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua-deep); margin: 0; padding-top: 3px; }
.deflist dd { margin: 0; color: var(--body); }
.deflist dd b { color: var(--ink); font-family: var(--font-head); font-weight: 600; display: block; margin-bottom: 4px; font-size: 1.05rem; }
@media (max-width: 640px) { .deflist > div { grid-template-columns: 1fr; gap: 6px; } }

/* Minimal "read on" text link (Platoon) */
.read-on {
  display: inline-flex; align-items: center; gap: .6em; margin-top: 24px;
  font-family: var(--font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: gap .3s var(--ease-soft), color .25s;
}
.read-on:hover { gap: 1em; color: var(--aqua-deep); }
.bg-navy .read-on, .pullquote .read-on { color: #fff; }
.bg-navy .read-on:hover { color: var(--aqua); }

/* ==========================================================================
   Language visibility + reveal animation
   ========================================================================== */
[data-i18n] { transition: opacity .2s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .10s; }
.reveal[data-delay="2"] { transition-delay: .20s; }
.reveal[data-delay="3"] { transition-delay: .30s; }
.reveal[data-delay="4"] { transition-delay: .40s; }

/* Image curtain reveal — a slow editorial wipe + gentle zoom-out */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img img { transform: scale(1.12); transition: transform 1.5s var(--ease-soft); will-change: transform; }
.reveal-img::after {
  content: ""; position: absolute; inset: 0; background: var(--navy);
  transform: scaleY(1); transform-origin: bottom; transition: transform 1.1s var(--ease-soft);
}
.reveal-img.is-in img { transform: scale(1); }
.reveal-img.is-in::after { transform: scaleY(0); }

/* Line-by-line headline reveal (each .line wraps in clip) */
.reveal-lines .line { display: block; overflow: hidden; }
.reveal-lines .line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease-soft); }
.reveal-lines.is-in .line > span { transform: translateY(0); }
.reveal-lines.is-in .line:nth-child(2) > span { transition-delay: .12s; }
.reveal-lines.is-in .line:nth-child(3) > span { transition-delay: .24s; }

/* Stagger container — children rise in sequence */
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .reveal-img img { transform: none; }
  .reveal-img::after { display: none; }
  .reveal-lines .line > span { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .step__num::after { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .nav-actions .lang { display: none; }
  .burger { display: flex; }
  .nav-actions { gap: 8px; }

  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__inner { padding-block: 130px 70px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

.mobile-menu { display: none; }
@media (max-width: 760px) { .mobile-menu { display: flex; } }
