/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --navy-950: #040d1c;
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #15386a;
  --navy-100: #e6ecf5;
  --navy-50: #f4f7fb;

  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;

  --ink: #0b1628;
  --text: #435069;
  --muted: #6b778c;
  --line: #e2e8f0;
  --white: #ffffff;
  --on-dark: rgb(255 255 255 / 0.72);
  --on-dark-muted: rgb(255 255 255 / 0.5);
  --glass: rgb(255 255 255 / 0.06);
  --glass-line: rgb(255 255 255 / 0.12);

  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(4 13 28 / 0.05), 0 4px 12px rgb(4 13 28 / 0.05);
  --shadow: 0 2px 6px rgb(4 13 28 / 0.05), 0 24px 48px -12px rgb(4 13 28 / 0.18);

  --header-h: 72px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --grain: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Page transitions (View Transitions API, with a JS fallback in main.js)
   ========================================================================== */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }

.page-fade body { transition: opacity 0.25s var(--ease-in-out), transform 0.25s var(--ease-in-out); }
.page-fade.is-leaving body { opacity: 0; transform: translateY(-10px); }

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--navy-950);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 1.12em;
  line-height: 1;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy-700); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--emerald-300); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--emerald-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--emerald-400); color: var(--navy-950);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 2px;
  background: linear-gradient(90deg, var(--emerald-400), #60a5fa);
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px;
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: -0.01em;
  text-align: center; text-decoration: none;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg);
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.35s var(--ease);
}
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 1.0625rem; }

.btn--primary {
  --btn-bg: var(--emerald-400);
  color: var(--navy-950);
  box-shadow: 0 0 0 0 rgb(52 211 153 / 0), 0 10px 30px -10px rgb(16 185 129 / 0.7);
}
/* light sweep on hover */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn--primary:hover { --btn-bg: var(--emerald-300); box-shadow: 0 0 0 6px rgb(52 211 153 / 0.18), 0 14px 34px -10px rgb(16 185 129 / 0.8); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--glass {
  --btn-bg: var(--glass);
  color: var(--white); border-color: var(--glass-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { --btn-bg: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.3); }

.btn--dark { --btn-bg: var(--navy-900); color: var(--white); }
.btn--dark:hover { --btn-bg: var(--navy-700); }

.btn--line { color: var(--ink); border-color: var(--line); --btn-bg: var(--white); }
.btn--line:hover { border-color: var(--ink); }

/* ==========================================================================
   Header (sits over the dark hero, turns light on scroll)
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--white);
  transition: color 0.3s, transform 0.4s var(--ease);
}
.site-header::before {
  /* the glass layer is a pseudo-element: backdrop-filter on the header itself
     would trap the fixed-position mobile menu inside the header box */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.3s;
}
.site-header.is-scrolled { color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { color: var(--white); transform: none; }
.menu-open .site-header::before { opacity: 0; }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
}
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo__mark {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(140deg, var(--emerald-400), #2563eb);
  color: var(--white);
  font: 700 0.95rem/1 var(--font-body); letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25);
}
.logo__text { display: flex; flex-direction: column; gap: 5px; line-height: 1.1; }
.logo__name { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.logo__tag { font-size: 0.6875rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.14em; }

.lang-switch {
  position: relative; display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid currentColor; border-color: rgb(127 140 160 / 0.35);
}
.lang-switch__item {
  display: inline-grid; place-items: center;
  min-width: 38px; height: 30px; padding: 0 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-decoration: none;
  color: inherit; opacity: 0.6; border-radius: 999px;
  transition: opacity 0.2s, background-color 0.2s;
}
.lang-switch__item:hover { opacity: 1; }
.lang-switch__item.is-active { opacity: 1; background: var(--emerald-400); color: var(--navy-950); }

.header-cta { display: none; }

.menu-toggle {
  position: relative; width: 44px; height: 44px;
  border: 1px solid rgb(127 140 160 / 0.35); border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer;
}
.menu-toggle__bar,
.menu-toggle__bar::before {
  position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle__bar { top: calc(50% - 3px); }
.menu-toggle__bar::before { content: ""; left: 0; margin-left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { top: 50%; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { top: 0; transform: rotate(-90deg); }

/* Mobile menu: full-screen dark panel */
.nav {
  position: fixed; inset: 0; z-index: -2;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: radial-gradient(120% 60% at 100% 0%, rgb(29 78 216 / 0.35), transparent 60%), var(--navy-950);
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - 42px) 36px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0.7s;
}
.nav.is-open { clip-path: circle(150% at calc(100% - 42px) 36px); visibility: visible; }
.nav__list li { overflow: hidden; }
.nav__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 8px 0;
  font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em;
  color: var(--white); text-decoration: none;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease), color 0.2s;
}
.nav.is-open .nav__list a { transform: none; }
.nav.is-open .nav__list li:nth-child(2) a { transition-delay: 0.05s; }
.nav.is-open .nav__list li:nth-child(3) a { transition-delay: 0.1s; }
.nav.is-open .nav__list li:nth-child(4) a { transition-delay: 0.15s; }
.nav.is-open .nav__list li:nth-child(5) a { transition-delay: 0.2s; }
.nav.is-open .nav__list li:nth-child(6) a { transition-delay: 0.25s; }
.nav__list a[aria-current="page"] { color: var(--emerald-400); }
.nav__footer { display: grid; gap: 16px; color: var(--on-dark); }
.nav__footer a { color: var(--white); text-decoration: none; }
.nav__cta { width: 100%; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Dark surfaces: aurora, grid, grain
   ========================================================================== */
.dark {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-950);
  color: var(--on-dark);
}
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: 0.08; mix-blend-mode: overlay;
}

.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
  animation: drift 22s var(--ease-in-out) infinite alternate;
}
.aurora span:nth-child(1) { width: 60vmax; height: 60vmax; left: -20vmax; top: -30vmax; background: #1d4ed8; }
.aurora span:nth-child(2) { width: 45vmax; height: 45vmax; right: -18vmax; top: -10vmax; background: var(--emerald-500); opacity: 0.35; animation-duration: 26s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 40vmax; height: 40vmax; left: 30%; bottom: -30vmax; background: #4338ca; opacity: 0.4; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 8vmax, 0) scale(0.95); }
}

.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em;
  border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip__dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-400);
}
.chip__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }

.gradient-text {
  background: linear-gradient(100deg, var(--emerald-300), #93c5fd 60%, var(--emerald-300));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
/* split headings wrap words in inline-blocks, which the parent's text clip doesn't reach */
.gradient-text .split-word > span {
  background: inherit;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero { padding: calc(var(--header-h) + 32px) 0 64px; min-height: 100svh; display: flex; align-items: center; }
.hero__grid { display: grid; gap: 48px; align-items: center; width: 100%; }
.hero__title {
  font-size: clamp(2.5rem, 10vw, 5rem);
  letter-spacing: -0.045em; line-height: 1.02;
  margin: 24px 0 24px;
}
.hero__lead { font-size: 1.125rem; max-width: 540px; margin-bottom: 32px; color: var(--on-dark); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 0.9375rem; color: var(--white); }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--emerald-400); stroke-width: 2.2; width: 18px; height: 18px; }

.hero__media { position: relative; width: min(100%, 420px); margin: 0 auto; }
.portrait {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px 28px 28px;
  padding: 1px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.5), rgb(255 255 255 / 0.05) 40%, rgb(52 211 153 / 0.5));
  box-shadow: 0 40px 80px -20px rgb(0 0 0 / 0.6);
}
.portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
  border-radius: inherit;
  transform: scale(1.04); transition: transform 1.4s var(--ease);
}
.portrait:hover img { transform: scale(1.08); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgb(10 25 50 / 0.55); border: 1px solid var(--glass-line); border-radius: 18px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--white); box-shadow: 0 20px 40px -10px rgb(0 0 0 / 0.5);
  white-space: nowrap;
  animation: bob 6s var(--ease-in-out) infinite;
}
.float-card strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.float-card small { display: block; font-size: 0.75rem; color: var(--on-dark); line-height: 1.3; }
.float-card__icon {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px;
  background: rgb(52 211 153 / 0.16); color: var(--emerald-400);
}
.float-card--a { left: 0; bottom: 18%; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.seal {
  position: absolute; right: -14px; bottom: -22px; width: 112px; height: 112px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--emerald-400); color: var(--navy-950);
  box-shadow: 0 20px 40px -10px rgb(16 185 129 / 0.6);
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.seal text { font: 600 9.5px var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; fill: var(--navy-950); }
.seal .icon { width: 28px; height: 28px; stroke-width: 1.8; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  display: none; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgb(255 255 255 / 0.35); border-radius: 999px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--white); animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + 56px) 0 72px; }
.page-hero__title { font-size: clamp(2.5rem, 9vw, 4.5rem); letter-spacing: -0.045em; line-height: 1.04; margin: 22px 0 20px; max-width: 900px; }
.page-hero__lead { font-size: 1.125rem; max-width: 620px; }
.page-hero .container { position: relative; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--on-dark-muted); }
.breadcrumbs a { color: var(--on-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden; padding: 22px 0;
  background: var(--navy-950); border-top: 1px solid var(--glass-line);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__item {
  font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.45);
}
.marquee__item:nth-child(4n + 1) { color: var(--white); -webkit-text-stroke: 0; }
.marquee__star { color: var(--emerald-400); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 88px 0; position: relative; }
.section--soft { background: var(--navy-50); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head p { font-size: 1.125rem; color: var(--muted); }
.dark .section__head p { color: var(--on-dark); }
.section__head--split { display: grid; gap: 20px; max-width: none; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--emerald-600);
}
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.dark .kicker { color: var(--emerald-400); }

.grid { display: grid; gap: 16px; }

/* Spotlight: a soft light follows the pointer (set by main.js) */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(52 211 153 / 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.spotlight:hover::before { opacity: 1; }

/* Bento "why" grid */
.bento { display: grid; gap: 16px; }
.bento__card {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__card p { color: var(--muted); }
.bento__card--hero {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  border: 0; color: var(--on-dark); background: var(--navy-950);
}
.bento__card--hero .aurora span { opacity: 0.4; }
.bento__card--hero p { color: var(--on-dark); font-size: 1.0625rem; }
.bento__card--hero .bento__big { font-size: clamp(1.75rem, 4.5vw, 2.5rem); line-height: 1.15; letter-spacing: -0.035em; color: var(--white); margin: 0; }
.bento__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 16px; background: var(--navy-50); color: var(--navy-800);
  transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s;
}
.bento__card:hover .bento__icon { transform: rotate(-8deg) scale(1.06); background: var(--emerald-400); color: var(--navy-950); }
.bento__icon .icon { width: 24px; height: 24px; }

/* Service cards */
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px; min-height: 100%;
  border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__num {
  font-size: 0.875rem; font-weight: 600; color: var(--emerald-600); letter-spacing: 0.08em; margin-bottom: 48px;
}
.service-card h3 { font-size: 1.5rem; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .service-card__tags { flex: none; margin: 16px 0 28px; font-size: 0.875rem; font-weight: 500; color: var(--navy-700); }
.service-card__go {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease), border-color 0.3s;
}
.service-card:hover .service-card__go { background: var(--emerald-400); border-color: var(--emerald-400); color: var(--navy-950); transform: rotate(-45deg); }

/* Process */
.process { position: relative; display: grid; gap: 12px; counter-reset: step; }
/* track + progress line drawn as the visitor scrolls (--line-progress from main.js) */
.process::before,
.process::after {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--glass-line);
}
.process::after {
  background: linear-gradient(var(--emerald-400), #60a5fa);
  transform-origin: top; transform: scaleY(var(--line-progress, 0));
}
.process__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 16px 0; }
.process__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-900); border: 1px solid var(--glass-line); color: var(--white);
  font-weight: 600; font-size: 1.0625rem;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.process__step.is-visible .process__num { background: var(--emerald-400); color: var(--navy-950); border-color: var(--emerald-400); box-shadow: 0 0 0 8px rgb(52 211 153 / 0.12); }
.process__step h3 { margin: 12px 0 8px; }
.process__step p { color: var(--on-dark); }

/* Feature panel (calculator teaser etc.) */
.panel {
  display: grid; gap: 28px; padding: 40px 28px;
  border-radius: var(--radius-lg);
}
.panel h2 { font-size: clamp(1.875rem, 5vw, 2.75rem); }
.panel__action { display: grid; gap: 12px; justify-items: start; }
.panel__action small { font-size: 0.8125rem; color: var(--on-dark-muted); }

/* Posts */
.post-grid { display: grid; gap: 16px; }
.post-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__meta { font-size: 0.8125rem; color: var(--muted); margin-bottom: 20px; }
.post-card__title { font-size: 1.375rem; }
.post-card p { color: var(--muted); flex: 1; }
.post-card__more { margin-top: 20px; font-weight: 600; color: var(--emerald-600); }
.post-card__more span { display: inline-block; transition: transform 0.3s var(--ease); }
.post-card:hover .post-card__more span { transform: translateX(5px); }

/* Final CTA */
.cta-final { padding: 112px 0; text-align: center; }
.cta-final h2 { font-size: clamp(2.5rem, 9vw, 5rem); letter-spacing: -0.045em; line-height: 1.02; max-width: 900px; margin: 0 auto 24px; }
.cta-final p { font-size: 1.125rem; max-width: 560px; margin: 0 auto 36px; }
.cta-final__actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* ==========================================================================
   Services page
   ========================================================================== */
.service-detail { display: grid; gap: 32px; padding: 56px 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail__num { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; color: var(--emerald-600); }
.service-detail h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin-top: 12px; }
.service-detail__lead { font-size: 1.125rem; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon {
  width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%;
  background: rgb(16 185 129 / 0.12); color: var(--emerald-600); stroke-width: 2.4;
}
.box {
  padding: 28px; border-radius: var(--radius-lg); background: var(--navy-50); border: 1px solid var(--line);
}
.box h3 { font-size: 1.0625rem; margin-bottom: 16px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--emerald-400); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid { display: grid; gap: 48px; align-items: start; }
.about-photo { position: relative; max-width: 440px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius-lg); }
.about-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, var(--navy-50) 0 10px, transparent 10px 20px);
}
.prose { font-size: 1.0625rem; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 1.6em 0 0.6em; }
.prose h3 { margin: 1.4em 0 0.5em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.1em; }
.prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--emerald-600); }

.formats { display: grid; gap: 16px; }
.format-card {
  padding: 32px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--glass-line); background: var(--glass);
}
.format-card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px;
  border-radius: 16px; background: rgb(52 211 153 / 0.14); color: var(--emerald-400);
}
.format-card .checklist { margin-top: 20px; color: var(--on-dark); }
.format-card .checklist .icon { background: rgb(52 211 153 / 0.14); color: var(--emerald-400); }

.values { display: grid; gap: 16px; counter-reset: v; }
.values li { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.values li::before {
  counter-increment: v; content: "0" counter(v);
  display: block; margin-bottom: 28px; font-size: 0.875rem; font-weight: 600; color: var(--emerald-600); letter-spacing: 0.08em;
}
.values p { color: var(--muted); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { columns: 1; column-gap: 16px; }
.review {
  break-inside: avoid; margin-bottom: 16px;
  padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
}
.review__stars { display: flex; gap: 2px; color: #f5b301; margin-bottom: 16px; }
.review__stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0 0 20px; font-size: 1.0625rem; color: var(--ink); }
.review footer { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; }
.review__avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(140deg, var(--emerald-400), #60a5fa); color: var(--white); font-weight: 600;
}
.review footer small { display: block; color: var(--muted); }
.review--placeholder { border-style: dashed; background: var(--navy-50); }

/* ==========================================================================
   Article
   ========================================================================== */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { color: var(--on-dark-muted); font-size: 0.9375rem; }
.article-note {
  margin-top: 48px; padding: 24px; border-radius: var(--radius); background: var(--navy-50);
  font-size: 0.9375rem; color: var(--muted);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  text-decoration: none; color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
a.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-item__icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--navy-50); color: var(--navy-800);
}
.contact-item small { display: block; font-size: 0.8125rem; color: var(--muted); }
.contact-item strong { color: var(--ink); font-weight: 600; word-break: break-word; }

.form-card {
  padding: 28px 22px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.75rem; }
.form { display: grid; gap: 18px; margin-top: 24px; }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; color: var(--ink); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; color: var(--ink);
  background: var(--navy-50); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23435069' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--emerald-500); box-shadow: 0 0 0 4px rgb(16 185 129 / 0.15);
}
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--navy-50);
  font-weight: 500; font-size: 0.9375rem; text-align: center;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.segmented input:checked + span { border-color: var(--emerald-500); background: rgb(16 185 129 / 0.1); color: var(--ink); }
.segmented input:focus-visible + span { box-shadow: 0 0 0 4px rgb(16 185 129 / 0.2); }
.form__note { font-size: 0.8125rem; color: var(--muted); }
.form__hp { display: none !important; }
.form button[type="submit"] { width: 100%; }
.form button[disabled] { opacity: 0.7; pointer-events: none; }
.form-status { padding: 16px 18px; border-radius: 14px; font-size: 0.9375rem; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: rgb(16 185 129 / 0.12); color: #065f46; }
.form-status.is-error { background: #fef2f2; color: #991b1b; }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc-section { padding-top: 48px; }
.calc-disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 24px; padding: 18px 20px;
  border-radius: var(--radius); background: #fff8e6; border: 1px solid #f5d98b; color: #6b4e00;
  font-size: 0.9375rem;
}
.calc-disclaimer .icon { width: 24px; height: 24px; margin-top: 2px; color: #b7791f; }
.calc-disclaimer strong { display: block; color: #4a3500; margin-bottom: 2px; }
.calc { display: grid; gap: 24px; align-items: start; }
.calc__form { display: grid; gap: 24px; }
.calc__year {
  justify-self: start; margin: 0; padding: 6px 12px; border-radius: 999px;
  background: var(--navy-50); font-size: 0.8125rem; font-weight: 600; color: var(--navy-700);
}
.field__hint { font-size: 0.8125rem; color: var(--muted); }
.calc__warn { margin: 10px 0 0; font-size: 0.8125rem; color: #9a5b00; }

.calc-status { display: grid; gap: 8px; margin-top: 8px; }
.calc-status label { position: relative; cursor: pointer; }
.calc-status input { position: absolute; opacity: 0; }
.calc-status span {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--navy-50);
  transition: border-color 0.2s, background-color 0.2s;
}
.calc-status strong { font-weight: 600; color: var(--ink); }
.calc-status small { font-size: 0.8125rem; color: var(--muted); text-align: right; }
.calc-status input:checked + span { border-color: var(--emerald-500); background: rgb(16 185 129 / 0.1); }
.calc-status input:focus-visible + span { box-shadow: 0 0 0 4px rgb(16 185 129 / 0.2); }

.money-input { position: relative; }
.money-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); pointer-events: none; }
.field .money-input input { padding-left: 32px; font-size: 1.125rem; font-weight: 600; }

.stepper { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; max-width: 220px; }
.stepper button {
  height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--white);
  font: 500 1.375rem/1 var(--font-body); color: var(--ink); cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.stepper button:hover { border-color: var(--emerald-500); background: rgb(16 185 129 / 0.08); }
.field .stepper input { text-align: center; font-size: 1.125rem; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__withheld { padding-top: 4px; }
.calc__withheld .form__row { margin-top: 14px; }

.result-card {
  padding: 32px 24px; border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgb(4 13 28 / 0.5);
}
.result-card__label { margin: 0 0 6px; font-size: 0.9375rem; font-weight: 500; color: var(--on-dark); }
.result-card__value {
  margin: 0; font-size: clamp(3rem, 12vw, 4.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1;
  color: var(--white); font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.result-card[data-tone="good"] .result-card__value { color: var(--emerald-300); }
.result-card[data-tone="owe"] .result-card__value { color: #fca5a5; }
.result-card__hint { margin: 12px 0 0; font-size: 0.875rem; color: var(--on-dark-muted); }
.result-card__split { display: grid; gap: 24px; margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--glass-line); }
.result-card__group {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--emerald-400); margin-bottom: 10px;
}
.result-card dl { margin: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.result-card dl div { display: flex; justify-content: space-between; gap: 16px; }
.result-card dt { color: var(--on-dark-muted); }
.result-card dd { margin: 0; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-card .is-total { padding-top: 8px; border-top: 1px dashed var(--glass-line); font-weight: 600; }
.result-card .is-total dt { color: var(--white); }
.result-card__cta { width: 100%; }
.result-card__note { display: block; margin-top: 12px; font-size: 0.8125rem; color: var(--on-dark-muted); text-align: center; }

@media (min-width: 560px) {
  .result-card__split { grid-template-columns: 1fr 1fr; gap: 32px; }
  .result-card { padding: 40px 36px; }
}
@media (min-width: 1024px) {
  .calc { grid-template-columns: 1fr 1.05fr; gap: 32px; }
  .calc__result { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   404
   ========================================================================== */
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.not-found__code { font-size: clamp(6rem, 28vw, 14rem); line-height: 0.9; font-weight: 600; letter-spacing: -0.06em; margin: 0 0 16px; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 80px 0 28px; font-size: 0.9375rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.site-footer__top { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--glass-line); }
.site-footer__big {
  font-size: clamp(2rem, 7vw, 3.75rem); line-height: 1.05; letter-spacing: -0.045em; color: var(--white); margin: 0 0 28px;
}
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand p { margin-top: 16px; max-width: 320px; }
.site-footer__title {
  font-size: 0.75rem; font-weight: 600; color: var(--on-dark-muted);
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px;
}
.site-footer__links { display: grid; gap: 10px; }
.site-footer__bottom {
  display: grid; gap: 8px; padding-top: 28px;
  font-size: 0.8125rem; color: var(--on-dark-muted);
}

/* Sticky mobile action bar */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; grid-template-columns: auto 1fr; gap: 8px;
  padding: 8px; border-radius: 999px;
  background: rgb(4 13 28 / 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-line);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.5);
  transform: translateY(160%);
  transition: transform 0.5s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 46px; padding: 10px 18px; font-size: 0.9375rem; }
.site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

/* ==========================================================================
   Motion: reveal on scroll + split headings
   ========================================================================== */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal--scale { transform: scale(0.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.js [data-split]:not(.is-split) { visibility: hidden; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word > span {
  display: inline-block; transform: translateY(105%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i) * 0.05s + 0.1s);
}
.is-split.is-visible .split-word > span { transform: none; }

.js .fade-up { opacity: 0; transform: translateY(20px); animation: fade-up 1s var(--ease) forwards; animation-delay: var(--d, 0.3s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .js .reveal, .js .fade-up { opacity: 1; transform: none; transition: none; animation: none; }
  .split-word > span { transform: none; transition: none; }
  .aurora span, .marquee__track, .float-card, .seal__ring, .gradient-text, .chip__dot::after, .scroll-cue::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 560px) {
  .hero__actions, .cta-final__actions { flex-direction: row; flex-wrap: wrap; }
  .cta-final__actions { justify-content: center; }
  .bento, .post-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .bento__card--hero { grid-column: 1 / -1; }
  .reviews { columns: 2; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 40px 36px; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding: 128px 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .section__head--split { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .section__head--split p { justify-self: end; max-width: 420px; }
  .panel { grid-template-columns: 1fr auto; align-items: center; padding: 64px; }
  .formats { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { grid-template-columns: 1fr auto; }
  .header-cta { display: inline-flex; }
  .service-detail { grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 80px 0; }
  .scroll-cue { display: block; }
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .mobile-bar, .menu-toggle, .nav__cta, .nav__footer { display: none; }
  .site-footer { padding-bottom: 28px; }

  .nav {
    position: static; z-index: auto; flex-direction: row; padding: 0; background: none;
    clip-path: none; visibility: visible; overflow: visible;
  }
  .nav__list { display: flex; gap: 2px; }
  .nav__list li { overflow: visible; }
  .nav__list a {
    position: relative; padding: 8px 14px; transform: none;
    font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em; color: inherit; opacity: 0.8;
    transition: opacity 0.2s;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px;
    background: var(--emerald-400); transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s var(--ease);
  }
  .nav__list a:hover { opacity: 1; }
  .nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .nav__list a[aria-current="page"] { opacity: 1; color: inherit; }

  .hero__grid { grid-template-columns: 1.25fr 0.75fr; gap: 72px; }
  .hero__media { margin: 0 0 0 auto; }
  .float-card--a { left: -64px; }

  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); }
  .bento__card--hero { grid-column: span 2; grid-row: span 2; padding: 48px; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(4, 1fr); }
  .reviews { columns: 3; }

  .process { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .process::before, .process::after { left: 28px; right: 28px; top: 28px; bottom: auto; width: auto; height: 1px; }
  .process::after { transform-origin: left; transform: scaleX(var(--line-progress, 0)); }
  .process__step { grid-template-columns: 1fr; gap: 8px; }

  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; }
  .about-photo { position: sticky; top: calc(var(--header-h) + 32px); }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .site-footer__top { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
