/* SeenzGo Intro Site — Morandi earth palette, Baidu-smarthome chapter rhythm. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-600-normal.d857325c36.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-700-normal.f9d9e65b15.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --linen: #F3EEE7;
  --paper: #FBF9F6;
  --umber: #3A332D;
  --ink-2: #5C534B;
  --muted: #6B625A;
  --line: #E2D9CD;

  --taupe: #9B7F6A;
  --mauve: #8E7A92;
  --sage: #7C8C72;
  --clay: #B27C62;
  --ochre: #AF8C4F;
  --stone: #8A9BA6;

  --t-mauve: #ECE5EA;
  --t-sage: #E4E8DD;
  --t-clay: #F0E3D9;
  --t-ochre: #F1E8D4;
  --t-stone: #E6EAEA;

  /* Type-weight versions of the hues: same colour, deep enough for >=3:1 at display size. */
  --ink-taupe: #8A6F5B;
  --ink-mauve: #806C85;
  --ink-sage: #687A5E;
  --ink-clay: #9E6A51;
  --ink-ochre: #8E7033;
  --ink-stone: #6A7C88;

  /* Values that change between light and dark beyond the palette above. */
  --ink-rgb: 58, 51, 45;          /* translucent ink: ghost borders, hovers */
  --nav-bg: rgba(243, 238, 231, .84);
  --footer-bg: #3A332D;
  --on-dark: #F3EEE7;             /* text on the footer, in both themes */
  --phone: #2E2823;
  --finale-1: #E2D6C6; --finale-2: #DCE1D5; --finale-3: #EBDCD1; --finale-4: #E4DDE3;

  --display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light dark;
}
:lang(zh-Hant) { --sans: "PingFang HK", "PingFang TC", "Microsoft JhengHei", "Noto Sans HK", "Noto Sans TC", system-ui, sans-serif; }
:lang(zh-Hans) { --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--umber);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--umber); outline-offset: 3px; border-radius: 4px; }

/* Hue helpers */
.c-taupe { --hue: var(--taupe); --ink: var(--ink-taupe); }
.c-mauve { --hue: var(--mauve); --ink: var(--ink-mauve); }
.c-sage { --hue: var(--sage); --ink: var(--ink-sage); }
.c-clay { --hue: var(--clay); --ink: var(--ink-clay); }
.c-ochre { --hue: var(--ochre); --ink: var(--ink-ochre); }
.c-stone { --hue: var(--stone); --ink: var(--ink-stone); }
.bg-mauve { background: var(--mauve); }
.bg-clay { background: var(--clay); }
.bg-ochre { background: var(--ochre); }

/* Fine grain so flat tints read as paper, not plastic. */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .26 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Type ─────────────────────────────────────────────── */
.display {
  font: 700 clamp(40px, 6.4vw, 92px)/.98 var(--display);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink, var(--ink-taupe));
}
.display-hero { font-size: clamp(44px, 6.4vw, 96px); color: var(--ink-taupe); }
.rule { display: block; width: 44px; height: 2px; margin: 26px 0 22px; background: var(--hue, var(--taupe)); }
.center .rule { margin-left: auto; margin-right: auto; }
.eyebrow {
  font: 600 12px/1.4 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
:lang(zh) .eyebrow { font-family: var(--sans); letter-spacing: .3em; font-size: 13px; }
.h-local { font: 600 clamp(22px, 2.4vw, 32px)/1.35 var(--sans); color: var(--umber); max-width: 22em; }
:lang(zh) .h-local { letter-spacing: .04em; }
.lede { margin-top: 14px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.8; color: var(--muted); max-width: 34em; }
:lang(zh) .lede { letter-spacing: .03em; }

/* ── Buttons ──────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions.center { justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--umber); color: var(--linen);
  font: 600 15px/1 var(--sans); text-decoration: none; letter-spacing: .02em;
  box-shadow: 0 14px 28px -14px rgba(58, 51, 45, .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(58, 51, 45, .65); }
.pill-ghost { background: transparent; color: var(--umber); box-shadow: inset 0 0 0 1.5px rgba(var(--ink-rgb), .35); }
.pill-ghost:hover { background: rgba(var(--ink-rgb), .06); box-shadow: inset 0 0 0 1.5px rgba(var(--ink-rgb), .5); }
.pill-sm { padding: 9px 18px; font-size: 13px; }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 64px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: .01em; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--umber); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-size: 13px; }
.lang a, .lang span { padding: 4px 7px; border-radius: 6px; text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--umber); background: rgba(var(--ink-rgb), .06); }
.lang [aria-current] { color: var(--umber); font-weight: 600; }

/* ── 01 Hero ──────────────────────────────────────────── */
.hero { position: relative; min-height: 720px; min-height: max(100svh, 720px); overflow: hidden; background: var(--linen); }
.hero-art { position: absolute; inset: auto 0 0 0; height: 74%; }
/* Harbour mist: keeps the copy readable and pushes the left of the scene back. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--linen) 0%, color-mix(in srgb, var(--linen) 90%, transparent) 30%, color-mix(in srgb, var(--linen) 35%, transparent) 48%, transparent 60%);
}
.hero-art .hk { width: 100%; height: 100%; }
.hero-art [data-depth] { will-change: transform; }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(104px, 17vh, 170px); }
.status {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 75%, transparent);
  box-shadow: inset 0 0 0 1px var(--line); font: 600 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
:lang(zh) .status { font-family: var(--sans); letter-spacing: .2em; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(124, 140, 114, .2); }
.hero .h-local { margin-top: 26px; font-size: clamp(20px, 2vw, 27px); max-width: 21em; }
.hero .lede { max-width: 30em; }
.hero-stage { position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); bottom: 7%; }
.phone-hero { width: clamp(200px, 17vw, 268px); }
.navi-sit { position: absolute; left: -44%; bottom: -4%; width: 56%; }
.navi-sit img { width: 100%; height: auto; filter: drop-shadow(0 16px 14px rgba(90, 62, 40, .22)); }
.navi-blink { position: absolute; inset: 0; opacity: 0; animation: blink 5.2s steps(1) infinite; }
@keyframes blink { 0%, 92%, 100% { opacity: 0; } 93%, 96% { opacity: 1; } }
.monogram {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 26px;
  font: 700 10px/1.25 var(--display); letter-spacing: .28em; text-transform: uppercase; color: rgba(var(--ink-rgb), .55);
  padding-left: 10px; border-left: 1px solid rgba(var(--ink-rgb), .35);
}
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; translate: -50% 0; color: rgba(var(--ink-rgb), .6); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ── Phones ───────────────────────────────────────────── */
.phone {
  --sh: rgba(90, 62, 40, .5);
  position: relative; aspect-ratio: 390 / 844; padding: 9px; border-radius: 40px;
  background: var(--phone);
  box-shadow: 0 70px 90px -40px var(--sh), 0 24px 40px -18px rgba(58, 51, 45, .28), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 31px; background: #1c1822; }
.sh-mauve { --sh: rgba(110, 88, 118, .55); }
.sh-sage { --sh: rgba(84, 102, 74, .55); }
.sh-clay { --sh: rgba(150, 94, 66, .55); }
.sh-ochre { --sh: rgba(150, 116, 56, .55); }

/* ── Chapters ─────────────────────────────────────────── */
.chapter { padding: clamp(96px, 13vw, 168px) 0; }
.tint-stone { background: var(--t-stone); }
.tint-paper { background: var(--paper); }
.tint-linen { background: var(--linen); }
.tint-mauve { background: var(--t-mauve); }
.tint-sage { background: var(--t-sage); }
.tint-clay { background: var(--t-clay); }
.tint-ochre { background: var(--t-ochre); }
.chapter-head { max-width: 760px; }
.chapter-head.center { margin: 0 auto; text-align: center; }
.chapter-head.center .h-local, .chapter-head.center .lede { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .display { font-size: clamp(34px, 4.3vw, 62px); }

/* 02 Why */
.questions { display: grid; gap: 22px; }
.q-card {
  position: relative; padding: 34px 34px 34px 96px; border-radius: 22px; background: var(--paper);
  box-shadow: 0 40px 60px -34px rgba(70, 86, 96, .45), 0 2px 0 rgba(255, 255, 255, .8) inset;
  font: 500 clamp(17px, 1.5vw, 20px)/1.6 var(--sans); color: var(--umber);
}
.q-card-offset { margin-left: clamp(0px, 4vw, 56px); }
.q-num { position: absolute; left: 32px; top: 30px; font: 700 34px/1 var(--display); color: var(--ink-stone); }
.answer { display: flex; align-items: center; gap: 18px; margin-top: clamp(48px, 6vw, 80px); }
.answer img { width: 72px; height: auto; filter: drop-shadow(0 10px 10px rgba(70, 86, 96, .22)); }
.answer p { font: 600 clamp(19px, 1.8vw, 24px)/1.4 var(--sans); }
.answer .answer-more { margin-top: 8px; max-width: 36em; font: 500 clamp(16px, 1.35vw, 19px)/1.6 var(--sans); color: var(--ink-2); }

/* 03 What's changing: the stack of apps, then the one that stays. */
.shift-visual { display: grid; gap: 30px; }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apps li {
  padding: 18px 20px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font: 600 15px/1.3 var(--sans); color: var(--muted);
}
.apps li:nth-child(1) { rotate: -2deg; }
.apps li:nth-child(2) { rotate: 1.5deg; translate: 0 8px; }
.apps li:nth-child(3) { rotate: 1deg; }
.apps li:nth-child(4) { rotate: -1.5deg; translate: 0 8px; }
.kicker {
  display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-radius: 22px; background: var(--paper);
  box-shadow: inset 4px 0 0 var(--hue), 0 40px 56px -38px rgba(90, 62, 40, .5);
}
.kicker img { flex: none; width: 72px; height: auto; }
.kicker p { font: 600 clamp(17px, 1.5vw, 20px)/1.5 var(--sans); }

/* 04 Meet NAVI */
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 76px); }
.faces li {
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 30px 18px 24px;
  border-radius: 22px; background: var(--linen); box-shadow: 0 30px 44px -34px rgba(90, 62, 40, .5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.faces li:hover { transform: translateY(-6px); box-shadow: 0 40px 54px -34px rgba(90, 62, 40, .55); }
.faces img { width: clamp(84px, 9vw, 118px); height: auto; filter: drop-shadow(0 12px 10px rgba(90, 62, 40, .2)); }
.faces li:hover img { animation: bob 1.2s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.faces span {
  padding: 7px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px; line-height: 1.45; text-align: center; color: var(--ink-2);
}

/* 05 How it works */
.journey-intro { padding: clamp(96px, 13vw, 160px) 0 clamp(64px, 8vw, 96px); background: var(--linen); }
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.steps a {
  display: inline-block; padding: 9px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 14px; color: var(--ink-2); background: var(--paper);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hue) 45%, transparent);
}
.steps a:hover { background: color-mix(in srgb, var(--hue) 12%, var(--paper)); }
.step { padding: clamp(80px, 10vw, 136px) 0; overflow: hidden; }
.step-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.step-flip .step-copy { order: 2; }
.step-num { font: 700 13px/1 var(--display); letter-spacing: .2em; color: var(--ink-2); margin-bottom: 18px; }
.step .display { font-size: clamp(38px, 5.4vw, 80px); }
/* In English the display line already is the heading; keep the h3 for screen readers. */
:lang(en) .step-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.step-visual { position: relative; justify-self: center; width: clamp(220px, 22vw, 300px); }
.peek { position: absolute; width: 40%; height: auto; bottom: 10%; filter: drop-shadow(0 14px 12px rgba(90, 62, 40, .25)); }
.peek-l { left: -30%; }
.peek-r { right: -30%; }
/* What each step does for a place. */
.for-place {
  margin-top: 22px; max-width: 32em; padding: 14px 18px 15px; border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 72%, transparent); box-shadow: inset 3px 0 0 var(--hue);
  font-size: 15.5px; line-height: 1.7;
}
.for-place strong { display: block; margin-bottom: 3px; font: 700 11.5px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
:lang(zh) .for-place strong { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; }

/* 06 For partners */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(48px, 6vw, 72px); }
.card { position: relative; padding: 34px 30px 32px; border-radius: 22px; background: var(--paper); box-shadow: 0 40px 56px -38px rgba(90, 62, 40, .5); }
.card:nth-child(2) { translate: 0 28px; }
.card-dot { display: block; width: 12px; height: 12px; border-radius: 50%; margin-bottom: 22px; box-shadow: 0 0 0 6px rgba(var(--ink-rgb), .05); }
.card h3 { font: 600 19px/1.4 var(--sans); }
.card-list { margin-top: 12px; }
.card-list li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.card-list li + li { margin-top: 8px; }
.card-list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--ink-rgb), .3); }
#partners .actions { margin-top: clamp(56px, 7vw, 88px); }

/* 07 Pilot */
.pilot-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: clamp(48px, 6vw, 72px); }
/* One thread through the four steps; it shows in the gaps between the cards. */
.pilot-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 47px; height: 2px; background: color-mix(in srgb, var(--hue) 40%, transparent); }
.pilot-steps li { position: relative; padding: 30px 26px 28px; border-radius: 22px; background: var(--linen); box-shadow: 0 30px 44px -34px rgba(90, 62, 40, .5); }
.pilot-num { font: 700 34px/1 var(--display); color: var(--ink); }
.pilot-steps h3 { margin-top: 18px; font: 600 19px/1.4 var(--sans); }
.pilot-steps p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.pilot-close { margin-top: clamp(44px, 5vw, 64px); text-align: center; font: 600 clamp(18px, 1.6vw, 22px)/1.5 var(--sans); }

/* 08 Trust */
.trust-list { padding: 8px 32px; border-radius: 22px; background: var(--paper); box-shadow: 0 40px 56px -38px rgba(90, 62, 40, .5); }
.trust-list li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding: 20px 0; }
.trust-list li + li { border-top: 1px solid var(--line); }
.trust-list svg { width: 26px; height: 26px; color: var(--ink); }
.trust-list h3 { font: 600 17px/1.5 var(--sans); }
.trust-list p { margin-top: 2px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* 09 About */
.lineage { margin-top: 22px; font: 600 12.5px/1.6 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
:lang(zh) .lineage { font-family: var(--sans); letter-spacing: .08em; text-transform: none; font-size: 14px; }
.nf-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 280px; padding: 44px;
  border-radius: 26px; background: var(--linen); text-decoration: none;
  box-shadow: 0 50px 70px -44px rgba(90, 62, 40, .45), inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease);
}
.nf-card:hover { transform: translateY(-4px); }
.nf-logo { color: var(--umber); width: min(100%, 360px); }
.nf-logo svg { width: 100%; height: auto; }
.nf-link { font-size: 14px; color: var(--ink-2); }

/* 10 Finale */
.finale { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0; background: var(--linen); text-align: center; }
.finale-layers i { position: absolute; border-radius: 50%; }
.finale-layers i:nth-child(1) { width: 58vw; height: 58vw; left: -18vw; top: -22vw; background: var(--finale-1); }
.finale-layers i:nth-child(2) { width: 40vw; height: 40vw; right: -12vw; top: 8%; background: var(--finale-2); opacity: .9; }
.finale-layers i:nth-child(3) { width: 30vw; height: 30vw; left: 30%; bottom: -18vw; background: var(--finale-3); opacity: .9; }
.finale-layers i:nth-child(4) { width: 18vw; height: 18vw; right: 22%; bottom: 6%; background: var(--finale-4); opacity: .9; }
.finale-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.finale-navi { width: clamp(110px, 11vw, 160px); height: auto; margin-bottom: 28px; filter: drop-shadow(0 20px 16px rgba(90, 62, 40, .25)); }
.finale .h-local { margin-top: 24px; }

/* ── Footer ───────────────────────────────────────────── */
.footer { background: var(--footer-bg); color: #CFC6BB; padding: 72px 0 36px; font-size: 14px; }
.footer a { text-decoration: none; color: #CFC6BB; }
.footer a:hover { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-mark { font: 700 18px/1 var(--display); color: var(--on-dark); margin-bottom: 14px; }
.footer h2 { font: 600 12px/1.4 var(--display); letter-spacing: .18em; text-transform: uppercase; color: #AEA396; margin-bottom: 14px; }
:lang(zh) .footer h2 { font-family: var(--sans); letter-spacing: .12em; }
.footer li + li { margin-top: 8px; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(243, 238, 231, .12); color: #AEA396; font-size: 13px; }
.footer-stage { margin-right: auto; }
.footer .lang a, .footer .lang span { color: #AEA396; }
.footer .lang [aria-current] { color: var(--on-dark); }
.footer .lang a:hover { background: rgba(243, 238, 231, .08); color: var(--on-dark); }

/* ── Dark theme ─────────────────────────────────────────
   Same earth hues at night: umber-black paper, linen ink, lifted hue inks
   (all body text >= 5.9:1). Declared via color-scheme, so browsers that
   auto-darken pages use this instead of inverting the light theme. */
@media (prefers-color-scheme: dark) {
  :root {
    --linen: #1C1916;
    --paper: #25211D;
    --umber: #EDE6DC;
    --ink-2: #CFC5B8;
    --muted: #A99F93;
    --line: #3A342E;

    --t-mauve: #27222A;
    --t-sage: #20251F;
    --t-clay: #2B221D;
    --t-ochre: #2A251B;
    --t-stone: #1F2428;

    --ink-taupe: #C9AE97;
    --ink-mauve: #BCA8C0;
    --ink-sage: #AEBFA3;
    --ink-clay: #D6A388;
    --ink-ochre: #D4B47C;
    --ink-stone: #AFC0CB;

    --ink-rgb: 237, 230, 220;
    --nav-bg: rgba(28, 25, 22, .84);
    --footer-bg: #131110;
    --phone: #3A332D;
    --finale-1: #29231E; --finale-2: #222720; --finale-3: #2C231E; --finale-4: #28232A;
  }
  /* Dusk over the harbour: the light illustration dimmed to night tones (the sky stays the page). */
  .hero-art .hk {
    filter: brightness(.42) saturate(.9);
    /* The sun's glow is clipped at the art's top edge; fade that edge into the night. */
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
    mask-image: linear-gradient(to bottom, transparent, #000 30%);
  }
  /* Warm shadows vanish on dark paper; cards lift with a hairline and a deep shadow instead. */
  .q-card, .faces li, .faces li:hover, .card, .nf-card, .pilot-steps li, .trust-list { box-shadow: 0 34px 54px -34px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line); }
  .kicker { box-shadow: inset 4px 0 0 var(--hue), 0 34px 54px -34px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line); }
  .pill:not(.pill-ghost), .pill:not(.pill-ghost):hover { box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .7); }
  .phone { box-shadow: 0 70px 90px -40px rgba(0, 0, 0, .75), 0 0 80px -30px var(--sh), inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
}

/* ── Motion ───────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .navi-blink, .scroll-cue, .faces li:hover img { animation: none; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .faces { grid-template-columns: repeat(2, 1fr); }
  .pilot-steps { grid-template-columns: 1fr 1fr; }
  .pilot-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .split, .step-grid { grid-template-columns: 1fr; }
  .step-flip .step-copy { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(2) { translate: none; }
  .q-card-offset { margin-left: 0; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero::after { display: none; }
  .hero-copy { order: 1; padding-top: 104px; }
  .hero-art { order: 2; position: relative; height: 440px; margin-top: 8px; }
  .hero-stage { right: max(20px, 7vw); bottom: 30px; }
  .phone-hero { width: 148px; padding: 7px; border-radius: 30px; }
  .phone-hero img { border-radius: 24px; }
  .navi-sit { left: -58%; width: 62%; }
  .monogram { display: none; }
  .scroll-cue { display: none; }
  .step-visual { width: min(64vw, 270px); margin-top: 8px; }
  .nf-card { min-height: 0; padding: 32px; }
}
@media (max-width: 520px) {
  .nav { gap: 12px; }
  .nav-end { gap: 8px; }
  .lang a, .lang span { padding: 4px 5px; }
  .faces { gap: 12px; }
  .faces li { padding: 22px 10px 18px; gap: 14px; }
  .faces span { font-size: 12.5px; padding: 6px 10px; }
  .q-card { padding: 72px 24px 26px; }
  .q-num { left: 24px; top: 24px; }
  .status { line-height: 1.5; border-radius: 16px; }
  .pilot-steps { grid-template-columns: 1fr; }
  .trust-list { padding: 4px 22px; }
  .kicker { padding: 20px; gap: 14px; }
  .kicker img { width: 56px; }
  .actions .pill { flex: 1 1 auto; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
