/* =========================================================
   IAgenia — site.css
   Editorial, paper + ink + one cobalt accent.
   All design tokens live in :root. Re-skin = edit this block.
   ========================================================= */
:root {
  /* Paper & ink */
  --paper: #f3f1ec;
  --paper-2: #e8e5dd;
  --surface: #fbfaf7;
  --ink: #121210;
  --ink-2: #4a4944;
  --muted: #8b8980;
  --line: rgba(18, 18, 16, 0.13);
  --line-soft: rgba(18, 18, 16, 0.07);

  /* Dark band */
  --dark: #10100f;
  --dark-2: #191917;
  --on-dark: #f1efe9;
  --on-dark-2: rgba(241, 239, 233, 0.58);
  --dark-line: rgba(241, 239, 233, 0.12);

  /* One accent, used sparingly */
  --accent: #2b3cf0;
  --accent-2: #8f99ff;     /* accent on dark */
  --accent-tint: #e4e6fd;
  --ok: #1f9d55;
  --danger: #d23c3c;

  /* Type */
  --font-sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --fs-hero: clamp(3rem, 9.4vw, 9.6rem);
  --fs-h1: clamp(2.6rem, 7vw, 6.6rem);
  --fs-h2: clamp(2.1rem, 4.8vw, 4.4rem);
  --fs-h3: clamp(1.35rem, 2.2vw, 1.9rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.22rem);
  --track-display: -0.045em;

  /* Shape & space */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --pill: 999px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --maxw: 1440px;
  --sec-y: clamp(88px, 11vw, 176px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- Lenis (inlined CSS; only the script comes from CDN) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

.page { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); position: relative; }
.section--flush-top { padding-top: 0; }
.dark { background: var(--dark); color: var(--on-dark); }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* 12-col editorial grid */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); }
.grid > * { grid-column: 1 / -1; }

/* ---------- Type ---------- */
.label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; gap: 10px; align-items: baseline;
}
.label b { color: var(--ink); font-weight: 500; }
.dark .label { color: var(--on-dark-2); }
.dark .label b { color: var(--on-dark); }
.h1 { font-size: var(--fs-h1); line-height: 0.95; letter-spacing: var(--track-display); font-weight: 500; }
.h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: var(--track-display); font-weight: 500; }
.h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.accent { color: var(--accent); }
.dark .accent { color: var(--accent-2); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.dark .lead { color: var(--on-dark-2); }
.body-s { font-size: 14.5px; color: var(--ink-2); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark .rule { background: var(--dark-line); }

/* Numbered section header: (01) — Services ............ 4 offers */
.sec-index {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 64px);
}
.dark .sec-index { border-color: var(--dark-line); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--bh); padding: 0 22px 0 26px; border-radius: var(--pill);
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn__arrow { position: relative; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; transition: background-color 0.3s; }
.btn__arrow svg { width: 13px; height: 13px; transition: transform 0.45s var(--ease-out); }
.btn__arrow svg + svg { position: absolute; transform: translateX(-180%); }
.btn:hover .btn__arrow svg:first-child { transform: translateX(180%); }
.btn:hover .btn__arrow svg + svg { transform: none; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink .btn__arrow { background: var(--accent); color: #fff; }
.btn--ink:hover { background: var(--accent); }
.btn--ink:hover .btn__arrow { background: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light .btn__arrow { background: var(--accent); color: #fff; }
.btn--light:hover { background: #fff; }
.btn--line { border: 1px solid var(--line); color: var(--ink); padding: 0 24px; }
.btn--line:hover { border-color: var(--ink); }
.dark .btn--line { border-color: var(--dark-line); color: var(--on-dark); }
.dark .btn--line:hover { border-color: var(--on-dark); }
.btn--sm { --bh: 42px; font-size: 14px; padding: 0 8px 0 18px; gap: 10px; }
.btn--sm .btn__arrow { width: 26px; height: 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.link-u { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.link-u:hover::after { transform: scaleX(0); transform-origin: right; }
.link-draw::after { transform: scaleX(0); transform-origin: right; }
.link-draw:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 120; background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--gutter);
  animation: pre-fallback 0.5s ease 2.6s forwards; /* safety net if JS never runs */
}
.preloader__top, .preloader__bottom { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.preloader__word { font-size: clamp(3.4rem, 14vw, 13rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.85; overflow: hidden; }
.preloader__word span { display: inline-block; transform: translateY(105%); animation: pre-up 0.9s var(--ease-out) 0.1s forwards; }
.preloader__word i { font-family: var(--font-serif); font-weight: 400; }
.preloader__bar { height: 1px; background: var(--line); margin-top: 18px; }
.preloader__bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: pm-bar 0.7s var(--ease-in-out) forwards; }
@keyframes pre-up { to { transform: none; } }
@keyframes pm-bar { to { transform: scaleX(1); } }
@keyframes pre-fallback { to { opacity: 0; visibility: hidden; } }
.is-pt .preloader, .is-loaded .preloader { display: none; }

/* ---------- Page transition overlay ---------- */
.pt { position: fixed; inset: 0; z-index: 110; pointer-events: none; background: var(--ink); transform: translateY(101%); display: grid; place-items: center; color: var(--paper); }
.pt__word { font-size: clamp(2rem, 6vw, 4rem); font-weight: 500; letter-spacing: -0.05em; }
.pt__word i { font-family: var(--font-serif); font-weight: 400; }
.is-pt .pt { transform: none; animation: pt-fallback 0.7s var(--ease-in-out) 1.4s forwards; }
@keyframes pt-fallback { to { transform: translateY(-101%); } }

/* ---------- Cursor: engineering crosshair (hover + fine pointer only; DOM built by JS) ----------
   Re-skin: --xc-color / --xc-on-dark, tick length (--xc-tick), bracket size (--xc-b). */
:root { --xc-color: var(--ink); --xc-on-dark: var(--on-dark); --xc-tick: 9px; --xc-b: 10px; }
.has-xc, .has-xc * { cursor: none !important; }
.has-xc input, .has-xc textarea, .has-xc select, .has-xc [contenteditable] { cursor: auto !important; }
.has-xc input[type="radio"] + span, .has-xc input[type="checkbox"] + span { cursor: none !important; }
.xc { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; color: var(--xc-color); transition: opacity 0.25s; }
.xc.on-dark { color: var(--xc-on-dark); }
.xc.is-hidden { opacity: 0; }
.xc > * { position: fixed; left: 0; top: 0; will-change: transform; }
.xc__cross { width: 0; height: 0; }
.xc__h, .xc__v { position: absolute; display: block; }
.xc__h { left: calc(var(--xc-tick) * -1 - 4px); top: -0.5px; width: calc(var(--xc-tick) * 2 + 8px); height: 1px;
  background: linear-gradient(90deg, currentColor 0 var(--xc-tick), transparent var(--xc-tick) calc(100% - var(--xc-tick)), currentColor calc(100% - var(--xc-tick))); }
.xc__v { top: calc(var(--xc-tick) * -1 - 4px); left: -0.5px; height: calc(var(--xc-tick) * 2 + 8px); width: 1px;
  background: linear-gradient(180deg, currentColor 0 var(--xc-tick), transparent var(--xc-tick) calc(100% - var(--xc-tick)), currentColor calc(100% - var(--xc-tick))); }
.xc__cross b { position: absolute; left: -1px; top: -1px; width: 2px; height: 2px; background: var(--accent); }
.xc.on-dark .xc__cross b { background: var(--accent-2); }
.xc__read { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; line-height: 1; white-space: pre; opacity: 0.7; transition: opacity 0.2s; }
.xc.is-snapped .xc__read, .xc.has-label .xc__read { opacity: 0; }
.xc__b { width: var(--xc-b); height: var(--xc-b); border: 0 solid currentColor; }
.xc__b--tl { border-width: 1px 0 0 1px; } .xc__b--tr { border-width: 1px 1px 0 0; }
.xc__b--bl { border-width: 0 0 1px 1px; } .xc__b--br { border-width: 0 1px 1px 0; }
.xc.is-snapped .xc__b { border-color: var(--accent); }
.xc.on-dark.is-snapped .xc__b { border-color: var(--accent-2); }
.xc__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; line-height: 1; white-space: nowrap; padding: 5px 7px; background: var(--accent); color: #fff; opacity: 0; transition: opacity 0.2s; }
.xc__label.is-on { opacity: 1; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: transform 0.5s var(--ease-out), background-color 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.nav.is-hidden { transform: translateY(-101%); }
.nav.is-scrolled { background: rgba(243, 241, 236, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav__bar { max-width: var(--maxw); margin: 0 auto; height: 68px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 600; letter-spacing: -0.05em; font-size: 22px; line-height: 1; }
.logo i { font-family: var(--font-serif); font-weight: 400; font-size: 1.08em; letter-spacing: -0.02em; }
.logo sup { font-family: var(--font-mono); font-size: 9px; font-weight: 400; letter-spacing: 0.06em; color: var(--muted); margin-left: 6px; transform: translateY(-8px); }
.nav__links { display: none; gap: 28px; font-size: 14.5px; }
.nav__links a { position: relative; color: var(--ink-2); transition: color 0.25s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__meta { display: none; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.nav__cta { display: none; }
.burger { height: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.burger i { display: grid; gap: 5px; width: 22px; }
.burger i span { display: block; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease-out); }
.menu-open .burger i span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .burger i span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav__bar { grid-template-columns: 1fr auto 1fr; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__right { justify-content: flex-end; }
  .burger { display: none; }
}
@media (min-width: 1240px) { .nav__meta { display: inline; } }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 85; background: var(--ink); color: var(--on-dark);
  padding: 96px var(--gutter) 28px; display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-100%); visibility: hidden;
  transition: transform 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
}
.menu-open .mmenu { transform: none; visibility: visible; transition: transform 0.8s var(--ease-in-out), visibility 0s; }
.menu-open .nav { background: transparent; border-color: transparent; color: var(--on-dark); backdrop-filter: none; }
.menu-open .nav .logo sup { color: var(--on-dark-2); }
.mmenu__links { display: grid; border-top: 1px solid var(--dark-line); }
.mmenu__links a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-size: clamp(2rem, 10vw, 3.2rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; opacity: 0; transform: translateY(24px); transition: opacity 0.5s, transform 0.7s var(--ease-out); }
.mmenu__links a small { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-2); letter-spacing: 0.08em; font-weight: 400; }
.menu-open .mmenu__links a { opacity: 1; transform: none; }
.menu-open .mmenu__links a:nth-child(1) { transition-delay: 0.3s; }
.menu-open .mmenu__links a:nth-child(2) { transition-delay: 0.35s; }
.menu-open .mmenu__links a:nth-child(3) { transition-delay: 0.4s; }
.menu-open .mmenu__links a:nth-child(4) { transition-delay: 0.45s; }
.menu-open .mmenu__links a:nth-child(5) { transition-delay: 0.5s; }
.mmenu__foot { display: grid; gap: 18px; color: var(--on-dark-2); font-size: 14px; }
.mmenu__foot .btn { width: 100%; justify-content: space-between; }

/* ---------- Media slot (graceful fallback) ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  /* fallback: quiet paper-and-ink study, not a gradient blob */
  background:
    linear-gradient(135deg, rgba(43, 60, 240, 0.18), rgba(43, 60, 240, 0) 55%),
    repeating-linear-gradient(90deg, rgba(18, 18, 16, 0.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(18, 18, 16, 0.05) 0 1px, transparent 1px 48px),
    var(--paper-2);
  isolation: isolate;
}
.media--dark { background: linear-gradient(135deg, rgba(43, 60, 240, 0.35), rgba(43,60,240,0) 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px), #1b1b22; }
.media img, .media video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s; }
.media--zoom img { transition: opacity 0.6s, transform 1.4s var(--ease-out); }
.media img.is-broken, .media video.is-broken { opacity: 0; }
.media--zoom:hover img { transform: scale(1.04); }
.media[data-parallax] img { position: absolute; left: 0; top: -10%; height: 120%; margin: 0; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-21x9 { aspect-ratio: 4 / 3; }
@media (min-width: 700px) { .ratio-21x9 { aspect-ratio: 21 / 9; } }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1; }
.caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.dark .caption { color: var(--on-dark-2); }

/* ---------- Hero (index) ---------- */
.hero { position: relative; padding-top: clamp(96px, 13vh, 140px); padding-bottom: 8px; }
.hero__inner { display: flex; flex-direction: column; }
.hero__top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; }
.hero__title { font-size: clamp(2.9rem, 7.6vw, 7.8rem); line-height: 0.92; letter-spacing: -0.055em; font-weight: 500; max-width: 15ch; }
.hero__title .w { display: inline-block; }
.hero__title .serif { letter-spacing: -0.035em; }
.hero__row { margin-top: clamp(24px, 3vw, 40px); align-items: end; row-gap: 24px; }
.hero__sub { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.5; max-width: 44ch; }
.hero__cta { display: grid; gap: 12px; justify-items: start; }
.hero__cta small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .hero__title { max-width: 14.5ch; }
  .hero__row .hero__sub { grid-column: 1 / span 5; }
  .hero__row .hero__cta { grid-column: 9 / span 4; justify-items: end; text-align: right; }
}
.hero__frame { position: relative; z-index: 2; margin-top: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #ece7dc; will-change: transform; }
@media (min-width: 700px) { .hero__frame { aspect-ratio: 16 / 9; } }
/* Desktop: the whole hero fits one screen so it can pin cleanly */
@media (min-width: 900px) and (min-height: 600px) {
  .hero { height: 100vh; min-height: 640px; display: flex; flex-direction: column; }
  .hero__inner { flex: 1; min-height: 0; padding-bottom: 16px; }
  .hero__frame { flex: 1 1 auto; aspect-ratio: auto; min-height: 260px; }
}
.hero__frame .media { position: absolute; inset: 0; border-radius: 0; background: #ece7dc; }
.hero__video { filter: saturate(0.92) contrast(1.03); }
.hero__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(130% 110% at 50% 45%, transparent 62%, rgba(40, 32, 20, 0.16) 100%); }
.hero__frame-meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: clamp(14px, 2vw, 22px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__frame-meta .live { display: inline-flex; align-items: center; gap: 8px; }
.hero__frame-meta .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.hero__ticket { position: absolute; z-index: 3; right: clamp(14px, 2vw, 22px); top: clamp(14px, 2vw, 22px); width: 280px; background: var(--surface); color: var(--ink); border-radius: var(--r-md); padding: 14px 16px; font-size: 13px; display: none; box-shadow: 0 1px 0 var(--line); }
@media (min-width: 900px) { .hero__ticket { display: block; } }
@media (min-width: 900px) and (max-height: 760px) { .hero__ticket { display: none; } }
.hero__ticket header { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hero__ticket dl { margin: 10px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.hero__ticket dt { color: var(--ink-2); }
.hero__ticket dd { margin: 0; font-family: var(--font-mono); font-size: 12px; text-align: right; }
.hero__ticket dd.ok { color: var(--ok); }
/* Line that lands over the full-screen footage during the hero exit (desktop, JS only) */
.hero__push { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); top: 21vh; text-align: center; margin: 0; pointer-events: none;
  font-size: clamp(2.4rem, 5.2vw, 5.4rem); line-height: 0.98; letter-spacing: -0.05em; font-weight: 500; color: var(--ink); opacity: 0; display: none; }
.hero__push .serif { display: block; color: var(--accent); }
.hero.is-exit .hero__push { display: block; }

/* Inner page hero */
.phero { padding-top: clamp(120px, 18vh, 190px); padding-bottom: clamp(48px, 7vw, 96px); }
.phero__title { font-size: var(--fs-h1); line-height: 0.94; letter-spacing: -0.05em; font-weight: 500; max-width: 15ch; margin-top: 22px; }
.phero__row { margin-top: clamp(28px, 4vw, 56px); row-gap: 24px; align-items: end; }
@media (min-width: 900px) {
  .phero__row > :first-child { grid-column: 1 / span 5; }
  .phero__row > :last-child { grid-column: 8 / span 5; }
}

/* ---------- Ticker ---------- */
.marquee { position: relative; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--mq-dur, 50s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: -0.03em; white-space: nowrap; }
.marquee__item::after { content: "/"; color: var(--muted); font-family: var(--font-serif); font-style: italic; }
.marquee--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.marquee--big .marquee__item { font-size: clamp(2.6rem, 8vw, 7.4rem); letter-spacing: -0.055em; font-weight: 500; gap: 40px; padding-right: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services index (hover preview) ---------- */
.svc-index { border-top: 1px solid var(--line); }
.svc-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 8px 16px; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); transition: color 0.3s; }
.svc-item__n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 0.6em; }
.svc-item__t { font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; transition: transform 0.6s var(--ease-out); }
.svc-item__d { grid-column: 2; color: var(--ink-2); max-width: 44ch; font-size: 15.5px; }
.svc-item__meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.svc-item__thumb { grid-column: 2; margin-top: 12px; }
.svc-item__go { display: none; }
@media (min-width: 900px) {
  .svc-item { grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 48px; align-items: start; }
  .svc-item__d, .svc-item__meta { grid-column: 3; }
  .svc-item__meta { margin-top: 6px; }
  .svc-item__thumb { display: none; }
  .svc-item__go { display: grid; grid-column: 4; grid-row: 1; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, color .3s, transform .5s var(--ease-out); }
  .svc-item__go svg { width: 14px; height: 14px; }
  .svc-item:hover .svc-item__t { transform: translateX(14px); }
  .svc-item:hover .svc-item__go { background: var(--ink); color: var(--paper); transform: rotate(-45deg); }
  .svc-index:hover .svc-item:not(:hover) { color: var(--muted); }
}
.preview { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; border-radius: var(--r-md); overflow: hidden; opacity: 0; transition: opacity 0.35s; display: none; background: var(--paper-2); }
@media (pointer: fine) and (min-width: 900px) { .preview { display: block; } }
.preview.is-on { opacity: 1; }
.preview .media { position: absolute; inset: 0; border-radius: 0; opacity: 0; transition: opacity 0.35s; }
.preview .media.is-active { opacity: 1; }

/* ---------- Workflow (live diagram, dark band) ---------- */
.wf-head { row-gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); align-items: end; }
@media (min-width: 900px) { .wf-head > :first-child { grid-column: 1 / span 7; } .wf-head > :last-child { grid-column: 9 / span 4; } }
.wf { display: grid; gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 1000px) { .wf { grid-template-columns: 1fr 320px; } }
.wf__stage { position: relative; background: var(--dark); padding: clamp(14px, 3vw, 36px); }
.wf__stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(241,239,233,.09) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.wf__top { position: relative; display: flex; justify-content: space-between; margin-bottom: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-2); letter-spacing: 0.06em; text-transform: uppercase; }
.wf__top .live { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); }
.wf__top .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); animation: blink 1.6s steps(2) infinite; }
.wf svg { position: relative; width: 100%; height: auto; overflow: visible; }
.wf-edge { fill: none; stroke: rgba(241, 239, 233, 0.14); stroke-width: 1.2; }
.wf-flow { fill: none; stroke: rgba(241, 239, 233, 0.5); stroke-width: 1.2; stroke-dasharray: 2 9; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.wf-node rect.wf-box { fill: #1a1a18; stroke: rgba(241, 239, 233, 0.16); stroke-width: 1; transition: stroke 0.3s, fill 0.3s; }
.wf-node.is-hub rect.wf-box { fill: var(--accent); stroke: var(--accent); }
.wf-node.is-hit rect.wf-box { stroke: var(--accent-2); fill: #20223a; }
.wf-node.is-hub.is-hit rect.wf-box { fill: #3a4aff; }
.wf-node .wf-ico-bg { fill: rgba(241, 239, 233, 0.07); }
.wf-node.is-hub .wf-ico-bg { fill: rgba(255, 255, 255, 0.16); }
.wf-node .wf-ico { fill: none; stroke: var(--on-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wf-node text { fill: var(--on-dark); font-family: var(--font-sans); font-weight: 500; letter-spacing: -0.01em; }
.wf-node text.wf-sub { fill: rgba(241, 239, 233, 0.5); font-family: var(--font-mono); font-weight: 400; letter-spacing: 0; }
.wf-node.is-hub text.wf-sub { fill: rgba(255, 255, 255, 0.72); }
.wf-packet { fill: var(--accent-2); }
.wf-halo { display: none; }
.wf__side { background: var(--dark); display: grid; grid-template-rows: auto 1fr; }
.wf__panel { padding: 22px; border-bottom: 1px solid var(--dark-line); }
.wf__panel:last-child { border-bottom: 0; }
.wf__panel h4 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 400; }
.wf__stat { font-size: 56px; font-weight: 500; letter-spacing: -0.05em; line-height: 0.9; }
.wf__stat-note { margin-top: 8px; font-size: 13px; color: var(--on-dark-2); }
.wf__log { display: grid; gap: 9px; height: 230px; overflow: hidden; mask-image: linear-gradient(180deg, #000 65%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); font-family: var(--font-mono); font-size: 11.5px; color: var(--on-dark-2); align-content: start; }
.wf__log li { display: flex; gap: 10px; line-height: 1.45; }
.wf__log li time { color: rgba(241, 239, 233, 0.32); flex: none; }
.wf__log li b { color: var(--on-dark); font-weight: 400; }
.wf__log li.is-new { animation: log-in 0.5s var(--ease-out); }
@keyframes log-in { from { opacity: 0; transform: translateY(-6px); } }
.wf-foot { margin-top: 18px; }

/* ---------- How it works (pinned horizontal) ---------- */
.hs { position: relative; }
.hs__head { margin-bottom: clamp(32px, 4vw, 56px); }
.hs__track { display: grid; gap: 0; padding-inline: var(--gutter); }
.step { position: relative; padding: 28px 0 32px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.step__top { display: flex; justify-content: space-between; align-items: baseline; }
.step__n { font-family: var(--font-serif); font-style: italic; font-size: clamp(4.5rem, 9vw, 8.5rem); line-height: 0.8; letter-spacing: -0.04em; color: var(--ink); }
.step__time { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.04em; line-height: 1.02; font-weight: 500; margin-top: 8px; }
.step p { color: var(--ink-2); max-width: 38ch; }
.step__out { margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); }
.step__out b { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); font-weight: 500; display: block; margin-bottom: 4px; }
.step--intro { display: none; }
.hs__progress { display: none; }
@media (min-width: 900px) {
  .hs__track { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; max-width: var(--maxw); margin-inline: auto; }
  .hs.is-pinned { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 80px 40px; }
  .hs.is-pinned .hs__head { display: none; }
  .hs.is-pinned .hs__track { display: flex; width: max-content; max-width: none; margin: 0; gap: 0; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); padding-right: 12vw; }
  .hs.is-pinned .step { width: min(470px, 34vw); min-height: min(520px, 66vh); padding: 28px 36px 32px; border-top: 0; border-left: 1px solid var(--line); align-content: start; }
  .hs.is-pinned .step__out { margin-top: auto; }
  .hs.is-pinned .step { grid-template-rows: auto auto auto 1fr auto; }
  .hs.is-pinned .step--intro { display: grid; width: min(560px, 42vw); border-left: 0; padding-left: 0; align-content: space-between; grid-template-rows: auto 1fr auto; }
  .hs.is-pinned .hs__progress { display: block; width: min(var(--maxw), 100%); margin: 28px auto 0; padding-inline: var(--gutter); }
  .hs__progress div { height: 1px; background: var(--line); }
  .hs__progress span { display: block; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(0); }
}
.step--intro h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: var(--track-display); font-weight: 500; }

/* ---------- Use cases + agent chat ---------- */
.uc-layout { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1000px) { .uc-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .uc-layout__phone { position: sticky; top: 96px; } }
.uc-list { border-top: 1px solid var(--line); }
.uc-row { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.uc-row__n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 0.5em; }
.uc-row h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); letter-spacing: -0.04em; line-height: 1.05; font-weight: 500; }
.uc-row p { grid-column: 2; color: var(--ink-2); max-width: 52ch; }
.uc-row__ba { grid-column: 2; margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.uc-row__ba div { padding: 12px 14px; }
.uc-row__ba div + div { border-left: 1px solid var(--line); background: var(--surface); }
.uc-row__ba small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.uc-row__ba b { display: block; margin-top: 2px; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -0.04em; }
.uc-row__ba div + div b { color: var(--accent); }
.uc-row__ba span { font-size: 12.5px; color: var(--ink-2); }
.footnote { margin-top: 18px; font-size: 12.5px; color: var(--muted); max-width: 70ch; }

/* Phone + chat */
.phone-wrap { position: relative; display: grid; justify-items: center; padding: 8px 0 24px; }
.phone { position: relative; width: min(330px, 100%); height: 600px; border-radius: 44px; padding: 10px; background: #1b1b1a; box-shadow: 0 0 0 1px rgba(0,0,0,.6) inset, 0 40px 80px -40px rgba(18, 18, 16, 0.45); }
.phone__screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; display: flex; flex-direction: column; background: #edebe5; }
.phone__notch { position: absolute; top: 9px; left: 50%; width: 88px; height: 25px; margin-left: -44px; border-radius: 20px; background: #1b1b1a; z-index: 3; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 44px 14px 11px; background: var(--surface); border-bottom: 1px solid var(--line); }
.chat__back { width: 18px; height: 18px; color: var(--ink-2); }
.chat__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: var(--paper); font-weight: 600; font-size: 12px; letter-spacing: -0.02em; flex: none; }
.chat__avatar i { font-family: var(--font-serif); font-weight: 400; }
.chat__who { flex: 1; line-height: 1.25; }
.chat__who b { display: block; font-size: 14px; font-weight: 600; }
.chat__who small { font-size: 11px; color: var(--ok); }
.chat__icons { display: flex; gap: 14px; color: var(--ink-2); }
.chat__icons svg { width: 18px; height: 18px; }
.chat__body { flex: 1; overflow: hidden; padding: 12px 11px; display: flex; flex-direction: column; gap: 5px; justify-content: flex-end; background: #edebe5; }
.chat__day { align-self: center; font-size: 10.5px; padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.75); color: var(--ink-2); margin-bottom: 6px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.msg { position: relative; max-width: 84%; padding: 7px 10px 5px; border-radius: 10px; font-size: 13.4px; line-height: 1.4; box-shadow: 0 1px 0 rgba(18,18,16,.07); animation: msg-in 0.4s var(--ease-out); word-wrap: break-word; }
.msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.msg--out { align-self: flex-end; background: #dfe2fb; border-top-right-radius: 3px; }
.msg__meta { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 1px; font-size: 10px; color: var(--muted); }
.msg__meta svg { width: 15px; height: 10px; color: var(--accent); }
.msg__label { display: block; font-size: 10.5px; font-weight: 600; color: var(--accent); margin-bottom: 1px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.msg--card { align-self: center; max-width: 94%; background: transparent; box-shadow: none; border: 1px dashed rgba(18,18,16,.25); font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; letter-spacing: 0.02em; }
.msg--card i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }
.chat__input { display: flex; align-items: center; gap: 8px; padding: 9px 10px 20px; background: var(--surface); border-top: 1px solid var(--line); }
.chat__input span { flex: 1; height: 34px; border-radius: var(--pill); background: var(--paper); display: flex; align-items: center; padding: 0 14px; color: var(--muted); font-size: 12.5px; }
.chat__input b { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: #fff; }
.chat__input b svg { width: 14px; height: 14px; }
/* Annotations around the phone (editorial callouts, not glass chips) */
.note { position: absolute; z-index: 4; width: 170px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); opacity: 0.25; transition: opacity 0.5s; }
.note b { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 3px; }
.note::before { content: ""; position: absolute; top: 7px; width: 36px; height: 1px; background: var(--ink); }
.note.is-on { opacity: 1; }
.note.is-on b { color: var(--accent); }
.note--l { right: calc(50% + 180px); text-align: right; }
.note--l::before { right: -46px; }
.note--r { left: calc(50% + 180px); }
.note--r::before { left: -46px; }
.note--1 { top: 18%; } .note--2 { top: 46%; } .note--3 { top: 72%; }
.phone-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(400px, 100%); margin-top: 22px; }
.phone-notes .pn { font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; transition: color .4s, border-color .4s; }
.phone-notes .pn b { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.phone-notes .pn.is-on { color: var(--ink); border-color: var(--accent); }
.phone-notes .pn.is-on b { color: var(--accent); }
@media (max-width: 560px) { .phone { height: 560px; } }

/* ---------- Sticky storytelling (use-cases page) ---------- */
.story { display: grid; gap: 40px; }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); } }
.story__visual { position: relative; }
@media (min-width: 960px) { .story__visual { position: sticky; top: 92px; height: calc(100vh - 128px); max-height: 720px; } }
.story__frame { position: relative; height: 100%; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); }
.story__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s; }
.story__layer.is-active { opacity: 1; }
.story__layer .media { position: absolute; inset: 0; border-radius: 0; }
.story__layer img { transform: scale(1.06); transition: opacity 0.6s, transform 1.6s var(--ease-out); }
.story__layer.is-active img { transform: none; }
.story__sheet { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); display: grid; gap: 8px; font-size: 13.5px; max-width: 380px; }
.story__sheet header { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.story__sheet .row { display: flex; justify-content: space-between; gap: 10px; }
.story__sheet .row span:last-child { font-family: var(--font-mono); font-size: 12.5px; }
.story__sheet .row span.ok { color: var(--ok); }
.story__count { position: absolute; z-index: 3; top: 16px; left: 16px; font-family: var(--font-mono); font-size: 11px; color: #fff; letter-spacing: 0.06em; mix-blend-mode: difference; }
.story__steps { display: grid; gap: clamp(64px, 14vh, 160px); padding-block: 6vh 20vh; }
.story__step { transition: opacity 0.5s; }
@media (min-width: 960px) { .story__step { opacity: 0.28; } .story__step.is-active { opacity: 1; } }
.story__step .story__mobile-media { margin-bottom: 20px; }
@media (min-width: 960px) { .story__step .story__mobile-media { display: none; } .story__steps { padding-block: 10vh 30vh; } }
@media (max-width: 959px) { .story__visual { display: none; } }
.story__step h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -0.045em; line-height: 1; font-weight: 500; margin-top: 14px; }
.story__step p { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 44ch; }
.spec { margin-top: 22px; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec li span:first-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.dark .spec, .dark .spec li { border-color: var(--dark-line); }

/* Sector table */
.table { border-top: 1px solid var(--ink); }
.table__row { display: grid; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .table__row { grid-template-columns: 2fr 4fr 2fr; align-items: baseline; } }
.table__row h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.035em; font-weight: 500; }
.table__row p { color: var(--ink-2); }
.table__row span { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
@media (min-width: 860px) { .table__row span { text-align: right; } }
.table__head { display: none; }
@media (min-width: 860px) { .table__head { display: grid; grid-template-columns: 2fr 4fr 2fr; gap: 24px; padding: 10px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); } .table__head span:last-child { text-align: right; } }

/* ---------- About ---------- */
.statement .word { display: inline-block; }
.statement { font-size: clamp(2rem, 4.6vw, 4.3rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; }
.statement .muted { color: var(--muted); }
.about-grid { margin-top: clamp(48px, 7vw, 100px); row-gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .about-grid__media { grid-column: 6 / -1; margin-right: calc(-1 * (max(0px, (100vw - var(--maxw)) / 2) + var(--gutter))); }
  .about-grid__media .media { border-radius: var(--r-md) 0 0 var(--r-md); }
  .about-grid__text { grid-column: 1 / span 4; grid-row: 1; }
}
.facts { display: grid; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fact b { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; min-width: 3.2ch; }
.fact span { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.dark .facts, .dark .fact { border-color: var(--dark-line); }
.dark .fact span { color: var(--on-dark-2); }

.principles { counter-reset: p; border-top: 1px solid var(--line); }
.principle { display: grid; gap: 8px 24px; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .principle { grid-template-columns: 1fr 5fr 5fr; align-items: baseline; } }
.principle::before { counter-increment: p; content: "(" counter(p, decimal-leading-zero) ")"; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.principle h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.045em; line-height: 1; font-weight: 500; }
.principle p { color: var(--ink-2); max-width: 52ch; }

.people { border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.person__mono { width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--font-serif); font-style: italic; font-size: 22px; }
.person:nth-child(2) .person__mono { background: var(--ink); color: var(--paper); }
.person:nth-child(3) .person__mono { background: var(--accent); color: #fff; }
.person b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.person span { font-size: 14px; color: var(--ink-2); }
.person em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; text-align: right; }

.timeline { border-top: 1px solid var(--line); }
.timeline li { display: grid; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .timeline li { grid-template-columns: 1fr 3fr 4fr; align-items: baseline; } }
.timeline time { font-family: var(--font-serif); font-style: italic; font-size: 2rem; line-height: 1; }
.timeline h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.03em; }
.timeline p { color: var(--ink-2); }

/* ---------- Pull quote ---------- */
.pull { display: grid; row-gap: 32px; }
.pull blockquote { font-size: clamp(1.8rem, 3.8vw, 3.5rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 400; text-indent: -0.4em; }
.pull blockquote .serif { color: var(--accent); }
.pull figcaption { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--ink-2); align-items: baseline; }
.pull figcaption b { color: var(--ink); font-weight: 500; }
@media (min-width: 900px) { .pull blockquote { grid-column: 2 / span 10; } .pull figcaption { grid-column: 2 / span 10; } }
.quotes-mini { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 860px) { .quotes-mini { grid-template-columns: 1fr 1fr; } .quotes-mini figure + figure { border-left: 1px solid var(--line); padding-left: 32px; } }
.quotes-mini figure { padding: 24px 32px 0 0; }
.quotes-mini blockquote { font-size: 17px; line-height: 1.5; }
.quotes-mini figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.quotes-mini figcaption b { color: var(--ink); font-weight: 500; }

/* ---------- Price list (services page) ---------- */
.prices { border-top: 1px solid var(--ink); }
.price { display: grid; gap: 8px 24px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .price { grid-template-columns: 4fr 5fr 3fr; align-items: start; } }
.price h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.04em; font-weight: 500; line-height: 1.05; }
.price h3 small { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.price p { color: var(--ink-2); }
.price ul { margin-top: 12px; display: grid; gap: 4px; font-size: 14.5px; color: var(--ink-2); }
.price ul li::before { content: "— "; color: var(--muted); }
.price__amt { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.price__amt small { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
@media (min-width: 900px) { .price__amt { text-align: right; } }
.price--feat h3 .tag { display: inline-block; vertical-align: middle; margin-left: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--pill); background: var(--accent); color: #fff; font-weight: 400; }

/* Service detail chapters */
.chapter { padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); row-gap: 32px; }
.chapter__n { font-family: var(--font-serif); font-style: italic; font-size: clamp(4rem, 8vw, 7rem); line-height: 0.8; }
.chapter h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -0.05em; line-height: 0.98; font-weight: 500; }
.chapter .lead { margin-top: 18px; }
@media (min-width: 900px) {
  .chapter__aside { grid-column: 1 / span 2; }
  .chapter__main { grid-column: 3 / span 5; }
  .chapter__media { grid-column: 8 / -1; }
  .chapter--flip .chapter__media { grid-column: 3 / span 5; grid-row: 1; }
  .chapter--flip .chapter__main { grid-column: 8 / -1; }
  .chapter__media--bleed { margin-right: calc(-1 * (max(0px, (100vw - var(--maxw)) / 2) + var(--gutter))); }
  .chapter__media--bleed .media { border-radius: var(--r-md) 0 0 var(--r-md); }
}

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 24px 0; font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; letter-spacing: -0.025em; }
.faq__q i { position: relative; width: 14px; height: 14px; flex: none; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -0.75px; background: currentColor; transition: transform 0.45s var(--ease-out); }
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 26px; color: var(--ink-2); max-width: 68ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: clamp(80px, 11vw, 160px) clamp(40px, 5vw, 64px); }
.cta__title { font-size: clamp(3rem, 10vw, 10rem); line-height: 0.88; letter-spacing: -0.06em; font-weight: 500; }
.cta__title .serif { color: var(--accent-2); }
.cta__row { margin-top: clamp(36px, 5vw, 64px); row-gap: 28px; align-items: end; }
@media (min-width: 900px) { .cta__row > :first-child { grid-column: 1 / span 5; } .cta__row > :last-child { grid-column: 8 / -1; } }
.cta__strip { margin-top: clamp(48px, 6vw, 80px); }
.cta__strip .media { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
@media (min-width: 700px) { .cta__strip .media { aspect-ratio: 4 / 1; } }
.cta__list { display: grid; gap: 6px; font-size: 14.5px; color: var(--on-dark-2); }
.cta__list li { display: flex; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--dark-line); }
.cta__list li span:first-child { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark); padding-top: 3px; min-width: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0 24px; position: relative; overflow: hidden; border-top: 1px solid var(--dark-line); }
.footer__grid { row-gap: 36px; }
@media (min-width: 900px) {
  .footer__brand { grid-column: 1 / span 5; }
  .footer__col:nth-of-type(2) { grid-column: 7 / span 2; }
  .footer__col:nth-of-type(3) { grid-column: 9 / span 2; }
  .footer__col:nth-of-type(4) { grid-column: 11 / span 2; }
}
.footer__brand p { color: var(--on-dark-2); max-width: 36ch; font-size: 15px; }
.footer__brand strong { display: block; font-weight: 500; font-size: 15px; color: var(--on-dark); margin-bottom: 6px; }
.footer__mail { display: inline-block; margin-top: 22px; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.045em; font-weight: 500; }
.footer h4 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 400; }
.footer__col ul { display: grid; gap: 8px; font-size: 15px; }
.footer__col a { color: var(--on-dark); opacity: 0.85; transition: opacity 0.2s; }
.footer__col a:hover { opacity: 1; }
.footer__word { margin-top: clamp(56px, 8vw, 110px); font-size: clamp(4.4rem, 22.5vw, 23rem); line-height: 0.76; font-weight: 500; letter-spacing: -0.075em; color: var(--on-dark); white-space: nowrap; user-select: none; margin-left: -0.04em; }
.footer__word i { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.04em; }
.footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-dark-2); }

/* ---------- Contact / booking ---------- */
.contact { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); } .contact__aside { position: sticky; top: 96px; } }
.contact__aside { display: grid; gap: 32px; }
.info { border-top: 1px solid var(--ink); }
.info__row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info__row small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.next-steps { counter-reset: s; display: grid; gap: 14px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; font-size: 15px; color: var(--ink-2); }
.next-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 3px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); }
.form__step { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.form__step-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.form__step-h h3 { font-size: 1.35rem; letter-spacing: -0.03em; font-weight: 500; }
.form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; position: relative; }
.field label, .field legend { font-size: 13.5px; font-weight: 500; color: var(--ink); padding: 0; }
.field label em, .field legend em { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); transition: border-color 0.25s, background-color 0.25s; outline: none; font-size: 15px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%234a4944' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.field textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__err { font-size: 12.5px; color: var(--danger); display: none; }
.field.is-invalid .field__err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--paper); font-size: 14px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; user-select: none; }
.opt span:hover { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.day { display: flex; }
.day span { flex-direction: column; justify-content: center; height: 70px; width: 100%; border-radius: var(--r-sm); padding: 0 2px; line-height: 1.15; }
.day small { font-size: 10px; font-family: var(--font-mono); text-transform: uppercase; opacity: 0.6; letter-spacing: 0.06em; }
.day b { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 640px) { .times { grid-template-columns: repeat(6, 1fr); } }
.times .opt { display: flex; }
.times .opt span { width: 100%; justify-content: center; padding: 0 4px; font-family: var(--font-mono); font-size: 12.5px; border-radius: var(--r-sm); }
.opt input:disabled + span { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__foot p { font-size: 13px; color: var(--muted); max-width: 40ch; }
.form__summary { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--accent-tint); font-size: 14px; display: none; }
.form__summary.is-on { display: block; }
.success { display: none; padding: clamp(8px, 2vw, 16px) 0; }
.success.is-on { display: block; animation: msg-in 0.7s var(--ease-out); }
.success .label { color: var(--ok); }
.success h2 { margin-top: 18px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.05em; line-height: 1; font-weight: 500; }
.success p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.success__card { margin-top: 26px; border-top: 1px solid var(--ink); max-width: 480px; }
.success__card div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.success__card span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 3px; }
.success .btn-row { margin-top: 26px; }
.form.is-done .form__body { display: none; }

/* ---------- Misc ---------- */
.split-head { row-gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
@media (min-width: 900px) { .split-head > :first-child { grid-column: 1 / span 7; } .split-head > :last-child { grid-column: 9 / span 4; } }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.c-ink2 { color: var(--ink-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .preloader, .pt { display: none; }
}
.hero__video { object-position: 50% 72%; }
@media (max-width: 699px) { .hero__frame { aspect-ratio: 1 / 1; } }
