/* Kevoro website
   Layout: left-aligned editorial column (max 1180px), story chapters on a two-track grid
   (sticky "keyway" rail + content). Ink bands carry the brackets-and-pins pattern.
   Signature: five pins that line up as you read the story, then the key turns. */

@font-face { font-family: "Sora"; src: url("../fonts/Sora-Variable.woff") format("woff"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Variable.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Variable.woff") format("woff"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #FAFAF9;
  --fg: #15171C;
  --card: #FFFFFF;
  --muted: #EEF0F2;
  --muted-fg: #565C68;
  --strong-fg: #3D424D;
  --border: #DFE2E6;
  --input: #737985;
  --gold: #E9A93A;
  --gold-text: #8A5913;
  --gold-tint: #FBEBC8;
  --gold-wash: #FDF7EA;
  --ring: #B07316;
  --band: #15171C;
  --band-fg: #FAFAF9;
  --band-muted: #C3C7CE;
  --band-line: #2B2F38;
  --band-card: #1F2229;
  --success: #1E7F55;
  --warning: #A65108;
  --pin-idle: #9AA0AB;

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 22px; --r-full: 9999px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;
  --wrap: 1180px;
  --shadow-md: 0 6px 20px rgba(21,23,28,0.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15171C; --fg: #FAFAF9; --card: #1F2229; --muted: #2B2F38; --muted-fg: #9AA0AB;
    --strong-fg: #C3C7CE; --border: #2B2F38; --input: #737985; --gold-text: #F0C063;
    --gold-tint: #4A2F0E; --gold-wash: #241C10; --ring: #E9A93A; --band: #1F2229; --band-line: #3D424D;
    --band-card: #2B2F38; --success: #4CB782; --warning: #F0A35E; --pin-idle: #737985;
    --shadow-md: 0 6px 20px rgba(0,0,0,0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15171C; --fg: #FAFAF9; --card: #1F2229; --muted: #2B2F38; --muted-fg: #9AA0AB;
  --strong-fg: #C3C7CE; --border: #2B2F38; --input: #737985; --gold-text: #F0C063;
  --gold-tint: #4A2F0E; --gold-wash: #241C10; --ring: #E9A93A; --band: #1F2229; --band-line: #3D424D;
  --band-card: #2B2F38; --success: #4CB782; --warning: #F0A35E; --pin-idle: #737985;
  --shadow-md: 0 6px 20px rgba(0,0,0,0.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-tint); }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 64px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; margin: 0; text-wrap: balance; color: var(--fg); }
.t-display { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.03em; }
.t-h1 { font-size: clamp(34px, 4.6vw, 49px); line-height: 1.1; letter-spacing: -0.02em; }
.t-h2 { font-size: clamp(28px, 3.6vw, 39px); line-height: 1.13; letter-spacing: -0.02em; }
.t-h3 { font-size: clamp(22px, 2.6vw, 31px); line-height: 1.16; letter-spacing: -0.015em; }
.t-h4 { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--strong-fg); max-width: 60ch; margin: 0; }
p { margin: 0; max-width: 66ch; }
.small { font-size: 14px; line-height: 20px; color: var(--muted-fg); }
.caption { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-fg); }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.01em; }
.step-label { font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--gold-text); letter-spacing: 0.02em; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: var(--r-md); font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--strong-fg); }
.btn-gold { background: var(--gold); color: #15171C; }
.btn-gold:hover { background: #D48F1F; }
.btn-quiet { border-color: var(--input); color: var(--fg); background: transparent; }
.btn-quiet:hover { background: var(--muted); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; color: var(--fg); text-decoration: none; }
.brand svg { height: 26px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 500; font-size: 15px; text-decoration: none; color: var(--strong-fg); }
.nav-links a:hover { color: var(--fg); background: var(--muted); }
.nav-links a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--input); border-radius: var(--r-md); width: 44px; height: 44px; color: var(--fg); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .nav-menu[data-open="false"] { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 14px 8px; font-size: 17px; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 14px; }
  .nav-cta { margin: 12px 0 0; justify-content: center; width: 100%; }
}
@media (min-width: 861px) { .nav-menu { display: flex; align-items: center; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.rule-top { border-top: 1px solid var(--border); }

/* ink band with brackets-and-pins pattern */
.band { background: var(--band); color: var(--band-fg); position: relative; overflow: hidden; }
.band h1, .band h2, .band h3, .band h4 { color: var(--band-fg); }
.band .lead, .band p { color: var(--band-muted); }
.band .step-label { color: var(--gold); }
.band-pattern { position: absolute; inset: 0; pointer-events: none; opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath d='M33 23l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M93 23l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M153 23l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M213 23l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M63 83l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M123 83l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M183 83l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M243 83l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M33 143l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='86' cy='150' r='4' fill='%23E9A93A' fill-opacity='.7'/%3E%3Cpath d='M153 143l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M213 143l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M63 203l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M123 203l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M183 203l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M243 203l-7 7 7 7' fill='none' stroke='%232B2F38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 62%, #000 92%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 62%, #000 92%);
}
.band > .wrap { position: relative; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-copy .t-display { max-width: 12ch; }
.key-pin { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--gold); vertical-align: .08em; margin-left: .04em; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted-fg); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--gold-text); }

/* example screen (approvals) */
.screen { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; min-width: 0; }
.screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.screen-title { font: 600 15px/1.2 var(--f-display); display: flex; align-items: center; gap: 10px; }
.screen-title svg { width: 18px; height: 18px; color: var(--muted-fg); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--muted); color: var(--muted-fg); white-space: nowrap; }
.approvals { list-style: none; margin: 0; padding: 0; }
.approvals li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); align-items: center; }
.approvals li:last-child { border-bottom: 0; }
.ap-id { font-family: var(--f-mono); font-size: 12px; color: var(--muted-fg); }
.ap-what { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.ap-meta { font-size: 13px; color: var(--muted-fg); }
.ap-amt { font-family: var(--f-mono); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.status { grid-column: 2; justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--warning); white-space: nowrap; transition: color .3s, background-color .3s, border-color .3s; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-done { color: var(--fg); background: var(--gold-tint); border-color: transparent; }
.status.is-done .dot { background: var(--gold); }
.screen-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--muted); font-size: 13px; color: var(--muted-fg); }
.screen-foot strong { color: var(--fg); font-variant-numeric: tabular-nums; }

/* builds strip */
.builds { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.builds li { padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; font-weight: 500; background: var(--card); }

/* ---------- story / keyway ---------- */
.story-intro { max-width: 760px; display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 72px); }
.story { display: grid; gap: 0; }
@media (min-width: 980px) { .story { grid-template-columns: 200px minmax(0, 1fr); gap: 56px; } }
.keyway { display: none; }
@media (min-width: 980px) {
  .keyway { display: block; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 112px); align-self: start; }
}
.keyway-box { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 18px; background: var(--card); }
.keyway-title { font: 600 13px/1.3 var(--f-body); color: var(--muted-fg); margin-bottom: 14px; }
.keyway ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.keyway ol::before { content: ""; position: absolute; left: 31px; top: -6px; bottom: -6px; border-left: 2px dashed var(--border); transition: border-color .4s; }
.keyway li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: 14px; color: var(--muted-fg); }
.keyway a { text-decoration: none; color: inherit; }
.pin-slot { position: relative; height: 14px; }
.pin { position: absolute; top: 3px; left: 14px; width: 36px; height: 8px; border-radius: 999px; background: var(--pin-idle); transform: translateX(var(--off, 0px)); transition: transform .5s cubic-bezier(.2,.8,.2,1), background-color .4s; }
.keyway li.is-set .pin { transform: translateX(0); background: var(--gold); }
.keyway li.is-set { color: var(--fg); font-weight: 600; }
.keyway li.is-current a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.keyway.is-unlocked ol::before { border-left: 2px solid var(--gold); }
.keyway-state { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted-fg); display: flex; align-items: center; gap: 8px; }
.keyway-state svg { width: 16px; height: 16px; }
.keyway.is-unlocked .keyway-state { color: var(--fg); font-weight: 600; }
.keyway.is-unlocked .keyway-state svg { color: var(--gold-text); }

.chapters { display: grid; min-width: 0; }
.chapter { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--border); min-width: 0; }
.chapter:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1100px) { .chapter { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; } }
.chapter-copy { display: grid; gap: 16px; min-width: 0; }
.chapter-copy .who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted-fg); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--fg); color: var(--bg); display: inline-grid; place-items: center; font: 600 12px/1 var(--f-display); position: relative; flex: none; }
.avatar::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); right: -1px; bottom: -1px; box-shadow: 0 0 0 2px var(--bg); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.facts li { font-size: 13px; padding: 5px 10px; border-radius: var(--r-sm); background: var(--muted); color: var(--strong-fg); }
.mobile-pin { display: inline-flex; align-items: center; gap: 10px; }
.mobile-pin i { width: 26px; height: 7px; border-radius: 999px; background: var(--gold); display: inline-block; }
@media (min-width: 980px) { .mobile-pin i { display: none; } }

/* chapter visuals */
.visual { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); padding: clamp(18px, 2.4vw, 28px); min-width: 0; position: relative; }
.visual-label { position: absolute; top: 12px; right: 14px; }
.mess { display: grid; gap: 14px; padding-top: 18px; }
.mess-item { border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; background: var(--bg); font-size: 14px; max-width: 420px; }
.mess-item:nth-child(1) { transform: rotate(-1.2deg); }
.mess-item:nth-child(2) { transform: rotate(0.9deg); margin-left: clamp(0px, 6vw, 56px); }
.mess-item:nth-child(3) { transform: rotate(-0.6deg); margin-left: clamp(0px, 3vw, 24px); }
.mess-item:nth-child(4) { transform: rotate(1.4deg); margin-left: clamp(0px, 8vw, 88px); background: var(--gold-wash); border-color: var(--gold-tint); }
.mess-from { font-size: 12px; color: var(--muted-fg); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.mess-from svg { width: 14px; height: 14px; }
.cells { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; font-family: var(--f-mono); font-size: 12px; }
.cells span { padding: 5px 8px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cells span:nth-child(3n) { border-right: 0; }
.cells .hd { background: var(--muted); font-weight: 500; }
.cells .bad { color: var(--warning); }

.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; padding-top: 22px; }
.flow-node { flex: 1 1 120px; border: 1px solid var(--input); border-radius: var(--r-md); padding: 12px; min-width: 0; background: var(--bg); }
.flow-node b { display: block; font-size: 14px; }
.flow-node span { font-size: 12px; color: var(--muted-fg); }
.flow-arrow { align-self: center; color: var(--muted-fg); flex: none; }
.flow-arrow svg { width: 18px; height: 18px; display: block; }
.pain { display: grid; gap: 10px; margin-top: 18px; list-style: none; padding: 0; }
.pain li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; font-size: 14px; }
.pain li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); transform: translateY(1px); }

.design-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; }
@media (max-width: 520px) { .design-split { grid-template-columns: 1fr; } }
.frame { border-radius: var(--r-md); border: 1px solid var(--border); padding: 12px; display: grid; gap: 8px; align-content: start; min-height: 210px; }
.frame-cap { font-size: 12px; color: var(--muted-fg); margin-bottom: 2px; }
.wf { background: repeating-linear-gradient(135deg, var(--muted) 0 6px, transparent 6px 12px); }
.wf-line { height: 10px; border-radius: 3px; background: var(--border); }
.wf-box { height: 34px; border-radius: 6px; border: 1.5px dashed var(--input); background: var(--card); }
.hi { background: var(--bg); }
.hi-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); font-size: 13px; }
.hi-row b { font-weight: 600; }
.hi-btn { margin-top: 4px; text-align: center; padding: 9px; border-radius: 8px; background: var(--gold); color: #15171C; font-weight: 600; font-size: 13px; }

.arch { display: grid; gap: 10px; padding-top: 22px; font-family: var(--f-mono); font-size: 12.5px; }
.arch-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.arch-box { border: 1px solid var(--input); border-radius: var(--r-md); padding: 10px; background: var(--bg); min-width: 0; overflow-wrap: anywhere; }
.arch-box b { display: block; font-family: var(--f-body); font-size: 13px; margin-bottom: 2px; }
.arch-box.key { border-color: var(--gold); background: var(--gold-wash); }
.arch-down { text-align: center; color: var(--muted-fg); font-size: 12px; }
.demo-line { margin-top: 6px; display: flex; align-items: center; gap: 10px; font-family: var(--f-body); font-size: 14px; padding: 10px 12px; border-radius: var(--r-md); background: var(--muted); }
.demo-line svg { width: 18px; height: 18px; color: var(--gold-text); flex: none; }

.pipe { list-style: none; margin: 0; padding: 22px 0 0; display: grid; gap: 8px; }
.pipe li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); font-size: 14px; }
.pipe .ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-text); }
.pipe .ok svg { width: 14px; height: 14px; }
.pipe .t { font-family: var(--f-mono); font-size: 12px; color: var(--muted-fg); font-variant-numeric: tabular-nums; }
.pipe-meta { margin-top: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--muted-fg); }

.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 22px; }
@media (max-width: 520px) { .readout { grid-template-columns: 1fr; } }
.readout div { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; background: var(--bg); }
.readout b { display: block; white-space: nowrap; font: 600 22px/1.1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.readout span { font-size: 13px; color: var(--muted-fg); }
.spark { margin-top: 14px; border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px 8px; background: var(--bg); }
.spark svg { display: block; width: 100%; height: 64px; }
.spark-cap { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-fg); }

.unlocked { display: grid; gap: 18px; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--border); }
.unlocked .t-h2 { max-width: 20ch; }

/* ---------- results list ---------- */
.results { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.results li { display: grid; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 760px) { .results li { grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; } }
.results b { font: 600 clamp(30px, 3.4vw, 40px)/1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.results b small { font-size: .5em; font-weight: 600; color: var(--muted-fg); margin-left: 4px; letter-spacing: 0; }
.results p { font-size: 17px; color: var(--strong-fg); }
.results .domain { display: block; font-size: 13px; color: var(--muted-fg); margin-top: 4px; }

/* ---------- generic grids / lists ---------- */
.grid-2 { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 860px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } }
.split > * { min-width: 0; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 18px; height: 18px; color: var(--gold-text); margin-top: 3px; }
.band .ticks svg { color: var(--gold); }

/* AI band capabilities */
.ai-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--band-line); }
.ai-list li { display: grid; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--band-line); }
@media (min-width: 760px) { .ai-list li { grid-template-columns: 240px minmax(0, 1fr); } }
.ai-list b { font: 600 19px/1.3 var(--f-display); color: var(--band-fg); }
.ai-list p { color: var(--band-muted); }
.proof-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--band-fg); padding: 5px 10px; border-radius: var(--r-sm); background: var(--band-card); }
.proof-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* team */
.team { display: grid; gap: 20px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; align-content: start; background: var(--card); min-width: 0; }
.person .avatar { width: 56px; height: 56px; font-size: 18px; }
.person .avatar::after { width: 12px; height: 12px; }
.person-role { font-size: 14px; color: var(--muted-fg); margin-top: 2px; }
.person ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.person ul li { font-size: 12.5px; padding: 4px 8px; border-radius: var(--r-sm); background: var(--muted); color: var(--strong-fg); }
.person p { font-size: 15px; color: var(--strong-fg); }

/* CTA */
.cta-band { padding-block: clamp(64px, 8vw, 104px); }
.cta-inner { display: grid; gap: 24px; max-width: 760px; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); display: grid; gap: 20px; }
.page-head .t-h1 { max-width: 18ch; }

/* services */
.offer-group { display: grid; gap: 0; border-top: 1px solid var(--border); }
.offer { display: grid; gap: 16px 40px; padding-block: 32px; border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .offer { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.offer-head { display: grid; gap: 10px; align-content: start; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.offer-meta span { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--strong-fg); }
.offer-meta span.lead-by { background: var(--gold-wash); border-color: var(--gold-tint); }
.offer-body { display: grid; gap: 16px; }
.offer-out { font-size: 15px; padding: 12px 14px; border-radius: var(--r-md); background: var(--muted); }
.offer-out b { font-weight: 600; }
.group-title { display: grid; gap: 8px; margin-bottom: 8px; }

.terms { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.terms li { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 760px) { .terms li { grid-template-columns: 260px minmax(0, 1fr); } }
.terms b { font-weight: 600; }
.terms span { color: var(--strong-fg); }

/* work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--input); background: transparent; color: var(--fg); font: 500 14px/1 var(--f-body); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cases { display: grid; gap: 20px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case { border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 14px; align-content: start; background: var(--card); min-width: 0; }
.case[hidden] { display: none; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.case-domain { font-size: 13px; font-weight: 600; color: var(--gold-text); }
.case dl { margin: 0; display: grid; gap: 12px; }
.case dt { font-size: 13px; font-weight: 600; color: var(--muted-fg); }
.case dd { margin: 2px 0 0; font-size: 15px; color: var(--strong-fg); }
.case-results { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.case-results li { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: var(--r-sm); background: var(--gold-tint); color: var(--fg); }
.case-stack { font-family: var(--f-mono); font-size: 12px; color: var(--muted-fg); }
.notice { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; background: var(--gold-wash); display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; color: var(--strong-fg); }
.notice svg { width: 20px; height: 20px; color: var(--gold-text); margin-top: 2px; }

/* AI page */
.ai-cap { display: grid; gap: 20px; }
@media (min-width: 900px) { .ai-cap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cap { border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 14px; align-content: start; background: var(--card); min-width: 0; }
.cap-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.cap-flow span { padding: 5px 10px; border-radius: var(--r-sm); background: var(--muted); }
.cap-flow span.out { background: var(--gold-tint); font-weight: 600; }
.cap-flow svg { width: 14px; height: 14px; color: var(--muted-fg); }
.cap-icon { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--fg); color: var(--gold); }
.cap-icon svg { width: 20px; height: 20px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--border); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--fg); display: grid; place-items: center; font: 600 15px/1 var(--f-display); }
.steps li:last-child::before { background: var(--gold); border-color: var(--gold); color: #15171C; }
.steps b { font-weight: 600; font-size: 17px; }
.steps span { color: var(--strong-fg); }
.steps .when { font-family: var(--f-mono); font-size: 12px; color: var(--muted-fg); }
.band .steps { border-color: var(--band-line); }
.band .steps li { border-color: var(--band-line); }
.band .steps li::before { border-color: var(--band-fg); }
.band .steps span { color: var(--band-muted); }

/* about */
.name-story { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .name-story { grid-template-columns: 220px minmax(0, 1fr); } }
.name-story .mark { width: 180px; height: 180px; border-radius: var(--r-xl); background: var(--band); display: grid; place-items: center; color: var(--band-fg); }
.name-story .mark svg { width: 96px; height: 96px; }
.word-split { font: 600 clamp(28px, 4vw, 44px)/1.1 var(--f-display); letter-spacing: -0.02em; }
.word-split span { color: var(--gold-text); }

/* contact */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } }
.form { display: grid; gap: 18px; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); background: var(--card); min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; font-size: 14px; }
.hint { font-size: 13px; color: var(--muted-fg); }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--input);
  background: var(--bg); color: var(--fg); font: 400 16px/1.4 var(--f-body);
}
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.field.has-error input, .field.has-error textarea { border-color: #C3372B; }
.err { font-size: 13px; color: #C3372B; }
:root[data-theme="dark"] .err { color: #EF6A5E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #EF6A5E; } }
.form-done { border-radius: var(--r-md); padding: 14px 16px; background: var(--gold-wash); border: 1px solid var(--gold-tint); font-size: 15px; }
.aside-card { display: grid; gap: 20px; }

/* footer */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 56px 40px; position: relative; overflow: hidden; }
.site-footer .wrap { position: relative; display: grid; gap: 40px; }
.foot-top { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand svg { height: 30px; width: auto; color: var(--band-fg); }
.foot-brand .desc { color: var(--band-fg); font-weight: 500; }
.site-footer h2 { font: 600 14px/1.3 var(--f-body); color: var(--band-fg); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--band-muted); text-decoration: none; }
.site-footer a:hover { color: var(--band-fg); text-decoration: underline; text-decoration-color: var(--gold); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--band-line); font-size: 13px; }

/* hero load moment */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .hero-copy > * { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.js .hero-copy > *:nth-child(2) { animation-delay: .06s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .12s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .18s; }

.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: var(--r-md); }
.skip:focus { top: 12px; }

.section-tight + .section-tight { padding-top: 0; }
.site-footer .band-pattern { display: none; }

/* ---------- 3D lock hero ---------- */
.lock3d { margin: 0; position: relative; min-width: 0; display: grid; gap: 12px; }
.lock3d canvas { display: block; width: 100%; aspect-ratio: 1 / 0.92; max-height: 600px; cursor: grab; touch-action: pan-y; border-radius: var(--r-xl); }
.lock3d.is-dragging canvas { cursor: grabbing; }
.lock-fallback { display: none; place-items: center; aspect-ratio: 1 / 0.92; border-radius: var(--r-xl); background: var(--band); color: var(--band-fg); }
.lock-fallback svg { width: 40%; height: auto; }
.lock3d.no-webgl canvas { display: none; }
.lock3d.no-webgl .lock-fallback { display: grid; }
.lock3d.no-webgl .lock-hint, .lock3d.no-webgl [data-lock-replay] { display: none; }
.lock-ui { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; font-size: 14px; color: var(--muted-fg); }
.lock-state { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.lock-state i { width: 26px; height: 7px; border-radius: 999px; background: var(--pin-idle); transition: background-color .4s; }
.lock3d.is-open .lock-state { color: var(--fg); font-weight: 600; }
.lock3d.is-open .lock-state i { background: var(--gold); }
.lock-actions { display: inline-flex; align-items: center; gap: 14px; }
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 14px; }

/* ---------- try it ---------- */
.try-grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .try-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.try-grid > * { min-width: 0; }
.ap-act { grid-column: 2; justify-self: end; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ap-act .status { grid-column: auto; }
.btn-approve { min-height: 32px; padding: 5px 12px; border-radius: var(--r-sm); border: 1px solid var(--fg); background: var(--fg); color: var(--bg); font: 600 13px/1 var(--f-body); cursor: pointer; transition: transform .15s; }
.btn-approve:hover { transform: translateY(-1px); }
.btn-approve:active { transform: translateY(1px); }
.btn-approve[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--fg); font: 600 13px/1 var(--f-body); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; }
.approvals li { transition: background-color .4s; }
.approvals li.just-done { background: var(--gold-wash); }
.screen-foot.is-clear strong { color: var(--gold-text); }

/* ---------- tilt ---------- */
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; will-change: transform; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .35s; box-shadow: var(--shadow-md); }

/* ---------- pipeline run ---------- */
.pipe-foot { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.pipe-foot .pipe-meta { margin-top: 0; }
.pipe li { transition: border-color .3s, background-color .3s; }
.pipe.is-running li .ok { background: var(--muted); color: transparent; }
.pipe li.is-active { border-color: var(--gold); }
.pipe li.is-active .ok { background: transparent; border: 2px solid var(--gold); border-right-color: transparent; animation: spin .7s linear infinite; }
.pipe.is-running li.is-done .ok { background: var(--gold-tint); color: var(--gold-text); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- services chooser ---------- */
.chooser { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--card); }
@media (min-width: 900px) { .chooser { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.chooser-q { padding: clamp(20px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.choices { display: grid; gap: 10px; margin-top: 8px; }
.choice { text-align: left; min-height: 52px; padding: 12px 16px 12px 46px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--bg); color: var(--fg); font: 500 15px/1.4 var(--f-body); cursor: pointer; position: relative; transition: border-color .2s, background-color .2s; }
.choice::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 6px; margin-top: -3px; border-radius: 999px; background: var(--pin-idle); transform: translateX(-4px); transition: transform .3s, background-color .3s; }
.choice:hover { border-color: var(--input); }
.choice[aria-checked="true"] { border-color: var(--gold); background: var(--gold-wash); }
.choice[aria-checked="true"]::before { background: var(--gold); transform: none; }
.chooser-a { padding: clamp(20px, 3vw, 36px); background: var(--band); color: var(--band-fg); display: grid; align-content: center; min-height: 260px; }
.chooser-a .small { color: var(--band-muted); }
.chooser-a h3 { color: var(--band-fg); margin: 6px 0 10px; }
.chooser-a p { color: var(--band-muted); }
.chooser-a .btn-row { margin-top: 18px; }
.chooser-a .btn-primary { background: var(--gold); color: #15171C; }
.chooser-a .btn-quiet { color: var(--band-fg); border-color: var(--band-muted); }
.chooser-a .btn-quiet:hover { background: var(--band-card); }
.chooser-empty { display: grid; gap: 14px; justify-items: start; }
.pin-row { display: flex; gap: 8px; }
.pin-row i { width: 30px; height: 8px; border-radius: 999px; background: var(--band-line); }
.pin-row i:nth-child(2) { transform: translateY(6px); } .pin-row i:nth-child(4) { transform: translateY(-5px); }
.chooser-result { animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }

/* ---------- AI document demo ---------- */
.docdemo { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .docdemo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.docdemo > * { min-width: 0; }
.invoice { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); padding: 22px; display: grid; gap: 16px; }
.inv-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--f-display); }
.inv-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; font-size: 14px; }
.inv-grid span:nth-child(odd) { color: var(--muted-fg); }
.inv-grid span:nth-child(even) { overflow-wrap: anywhere; }
.inv-grid .hl { background: var(--gold-tint); border-radius: 4px; box-shadow: 0 0 0 3px var(--gold-tint); transition: background-color .3s; }
.inv-scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); opacity: 0; }
.docdemo.is-scanning .inv-scan { opacity: .9; animation: scan 1.6s ease-in-out both; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(260px); } }
.extract { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.extract-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.xt-wrap { overflow-x: auto; }
.xt { width: 100%; border-collapse: collapse; font-size: 14px; }
.xt th { text-align: left; font-weight: 600; font-size: 13px; color: var(--muted-fg); padding: 10px 18px; border-bottom: 1px solid var(--border); }
.xt td { padding: 11px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.xt td.v { font-family: var(--f-mono); font-size: 13px; overflow-wrap: anywhere; }
.xt tr.is-in td { animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.chk.ok { background: var(--gold-tint); color: var(--fg); }
.chk.review { border: 1px solid var(--warning); color: var(--warning); }
.xt-note { padding: 12px 18px; }

/* =========================================================
   Scroll-driven home
   ========================================================= */
/* hero */
.xh { position: relative; height: 175vh; }
.xh-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; perspective: 1200px; }
.xh-grid { position: relative; z-index: 2; display: grid; gap: clamp(28px, 4vw, 48px); padding-top: 68px; }
.xh-title { font-size: clamp(54px, 11vw, 168px); line-height: .92; letter-spacing: -0.045em; display: grid; margin: 0; }
.xh-line { display: block; white-space: nowrap; will-change: transform; }
.xh-indent { padding-left: 0.9em; color: var(--muted-fg); }
.xh-title .key-pin { width: .17em; height: .17em; }
.xh-side { display: grid; gap: 22px; max-width: 520px; }
.xh-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; transform-style: preserve-3d; }
.fc { position: absolute; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-md); font-size: 13px; min-width: 170px; will-change: transform; transform-style: preserve-3d; }
.fc b { font: 600 15px/1.25 var(--f-display); }
.fc-k { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted-fg); }
.fc-s { color: var(--muted-fg); }
.fc-big { font-size: 28px !important; letter-spacing: -0.02em; }
.fc-pins { display: flex; gap: 5px; margin-bottom: 4px; }
.fc-pins i { width: 18px; height: 6px; border-radius: 999px; background: var(--gold); }
.fc-a { top: 30%; right: 19%; }
.fc-b { top: 52%; right: 4%; }
.fc-c { top: 70%; right: 21%; }
.fc-d { top: 14%; right: 5%; }
.fc-e { bottom: 6%; right: 6%; }
.fc-mark { top: 50%; right: 29%; min-width: 0; width: 96px; height: 96px; padding: 0; place-items: center; background: var(--band); border-color: var(--band-line); color: var(--band-fg); border-radius: var(--r-xl); }
.fc-mark svg { width: 52px; height: 52px; }
@media (max-width: 1180px) { .fc-a, .fc-mark { display: none; } .fc-c { right: 4%; top: 74%; } }
.fc-e b { color: var(--warning); }
.xh-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--muted-fg); z-index: 2; }
.xh-cue i { width: 2px; height: 38px; background: linear-gradient(var(--fg), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 860px) {
  .xh { height: 150vh; }
  .xh-side { margin: 0; }
  .xh-float { display: none; }
}

/* marquee */
.marquee-band { border-block: 1px solid var(--border); padding-block: 18px; overflow: hidden; display: grid; gap: 10px; background: var(--bg); position: relative; z-index: 3; }
.mq { overflow: hidden; }
.mq-track { display: flex; gap: 0; width: max-content; will-change: transform; }
.mq-track span { font: 600 clamp(26px, 4vw, 52px)/1.1 var(--f-display); letter-spacing: -0.02em; padding-right: .9em; white-space: nowrap; display: inline-flex; align-items: center; gap: .9em; }
.mq-track span::after { content: ""; width: .28em; height: .28em; border-radius: 50%; background: var(--gold); flex: none; }
.mq-rev .mq-track span { color: var(--pin-idle); }
.mq-rev .mq-track span::after { background: var(--pin-idle); }

/* story */
.story-intro2 { display: grid; gap: 16px; max-width: calc(760px + 64px); padding-top: clamp(80px, 10vw, 140px); padding-bottom: 24px; margin-left: auto; margin-right: auto; }
.story-intro2 > * { max-width: 760px; }
.xs { position: relative; height: 720vh; }
.xs-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden; }
.xs-stage { position: relative; min-width: 0; }
.xs-lock { position: absolute; inset: 0; }
.xs-lock canvas { width: 100%; height: 100%; aspect-ratio: auto; max-height: none; border-radius: 0; }
.xs-lock .lock-fallback { position: absolute; inset: 15%; aspect-ratio: auto; }
.xs-cards { position: absolute; right: 4%; bottom: 7%; width: min(380px, 70%); perspective: 1100px; }
.sv { position: absolute; right: 0; bottom: 0; width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-md); opacity: 0; transform: translate3d(0, 60px, -120px) rotateX(18deg) rotateY(-14deg); transition: opacity .5s, transform .7s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.sv.is-active { opacity: 1; transform: translate3d(0, 0, 0) rotateX(6deg) rotateY(-10deg); }
.sv.is-past { opacity: 0; transform: translate3d(0, -60px, -80px) rotateX(-12deg) rotateY(-6deg); }
.sv .tag { position: absolute; top: 10px; right: 12px; }
.sv .mess, .sv .flow, .sv .arch, .sv .pipe, .sv .readout, .sv .design-split { padding-top: 22px; }
.sv .mess-item { margin-left: 0 !important; }
.sv .frame { min-height: 0; }
.xs-copy { position: relative; display: grid; grid-template-rows: auto 1fr auto; padding: 96px clamp(20px, 4vw, 56px) 40px clamp(12px, 2vw, 24px); min-width: 0; border-left: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.xs-rail { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.xs-rail li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px; border-radius: 999px; border: 1px solid var(--border); font-size: 12.5px; color: var(--muted-fg); transition: border-color .3s, color .3s, background-color .3s; }
.xs-rail i { width: 18px; height: 6px; border-radius: 999px; background: var(--pin-idle); transform: translateY(3px); transition: transform .45s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.xs-rail li:nth-child(2) i { transform: translateY(-3px); } .xs-rail li:nth-child(4) i { transform: translateY(-2px); }
.xs-rail li.is-set { color: var(--fg); border-color: var(--gold); background: var(--gold-wash); }
.xs-rail li.is-set i { transform: none; background: var(--gold); }
.xs-panels { position: relative; min-height: 0; }
.sp { position: absolute; left: 0; right: 0; top: 50%; display: grid; gap: 16px; opacity: 0; transform: translate3d(0, calc(-50% + 40px), 0); transition: opacity .45s, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.sp.is-active { opacity: 1; transform: translate3d(0, -50%, 0); pointer-events: auto; }
.sp.is-past { transform: translate3d(0, calc(-50% - 40px), 0); }
.sp .t-h2 { font-size: clamp(30px, 3.4vw, 46px); }
.sp p { font-size: 17px; color: var(--strong-fg); }
.xs-meter { display: grid; gap: 8px; font-size: 13px; color: var(--muted-fg); }
.xs-meter b { display: block; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.xs-meter b i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .xs { height: 800vh; }
  .xs-stick { grid-template-columns: 1fr; grid-template-rows: 44% 56%; }
  .xs-copy { border-left: 0; border-top: 1px solid var(--border); padding: 16px 16px 20px; }
  .xs-cards { display: none; }
  .sp .t-h2 { font-size: 28px; }
  .sp p { font-size: 16px; }
  .xs-rail li span { display: none; }
  .xs-rail li { padding: 6px 8px; }
}
@media (max-height: 640px) and (min-width: 901px) { .xs-cards { display: none; } }

/* word reveal */
.xr { padding-block: clamp(96px, 14vw, 200px); }
.xr-text { max-width: 22ch; font: 600 clamp(32px, 5.2vw, 72px)/1.08 var(--f-display); letter-spacing: -0.03em; margin: 0; }
.xr-text .w { color: var(--border); transition: color .35s; }
.xr-text .w.on { color: var(--fg); }
.no-js .xr-text .w, .xr-text:not(:has(.w)) { color: var(--fg); }

/* horizontal work */
.hw { position: relative; height: 300vh; }
.hw-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 32px; }
.hw-track { width: max-content; }
.hw-head { display: grid; gap: 8px; }
.hw-track { display: flex; gap: 24px; padding-left: max(32px, calc((100vw - var(--wrap)) / 2)); padding-right: 64px; will-change: transform; transform-style: preserve-3d; }
.hw-card { flex: none; width: clamp(280px, 30vw, 400px); min-height: clamp(280px, 40vh, 380px); border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--card); padding: 28px; display: grid; align-content: space-between; gap: 18px; text-decoration: none; color: var(--fg); will-change: transform; }
.hw-card:nth-child(3n+2) { background: var(--band); color: var(--band-fg); border-color: var(--band-line); }
.hw-card:nth-child(3n+2) h3 { color: var(--band-fg); }
.hw-card:nth-child(3n+2) .case-domain { color: var(--gold); }
.hw-card .t-h4 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.hw-more { background: var(--gold) !important; color: #15171C !important; border-color: var(--gold) !important; align-content: end; }
.hw-more .t-h3 { color: #15171C; }
.hw-more svg { width: 32px; height: 32px; }

/* numbers */
.nums { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nums div { display: grid; gap: 8px; border-top: 2px solid var(--fg); padding-top: 16px; }
.nums b { font: 600 clamp(36px, 5vw, 64px)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.nums span { color: var(--muted-fg); font-size: 15px; }

/* cursor + magnets */
.has-cursor body, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor { position: fixed; left: 0; top: 0; z-index: 200; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); pointer-events: none; transition: width .25s, height .25s, margin .25s, background-color .25s, border-color .25s; mix-blend-mode: normal; }
.cursor.is-big { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: transparent; border: 1.5px solid var(--gold); }
.cursor.is-drag::after { content: "Drag"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 11px/1 var(--f-body); color: var(--fg); }
.magnet { transition: transform .25s cubic-bezier(.2,.8,.2,1); }

@media (prefers-reduced-motion: reduce) {
  .xh { height: auto; } .xh-stick { position: relative; height: auto; padding-block: 96px 64px; }
  .xh-float { display: none; }
}
/* hand-off between story panels: old one leaves fast, new one arrives after it */
.sp { transition: opacity .2s, transform .35s cubic-bezier(.2,.8,.2,1); }
.sp.is-active { transition: opacity .4s .16s, transform .6s .16s cubic-bezier(.2,.8,.2,1); }
.sv { transition: opacity .2s, transform .4s cubic-bezier(.2,.8,.2,1); }
.sv.is-active { transition: opacity .45s .16s, transform .7s .16s cubic-bezier(.2,.8,.2,1); }

/* =========================================================
   v4: whole-site system
   ========================================================= */
/* header with theme switch */
.nav { position: relative; }
.nav-right { display: flex; align-items: center; gap: var(--s2); order: 3; }
.nav-menu { order: 2; }
@media (min-width: 861px) { .nav-menu { margin-left: auto; margin-right: var(--s3); } }
.theme-toggle { width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--border); background: transparent; color: var(--fg); display: inline-grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s, transform .3s; }
.theme-toggle:hover { background: var(--muted); border-color: var(--input); }
.theme-toggle:active { transform: rotate(-20deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: inline; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; } }
.btn-on-dark { color: var(--band-fg); border-color: var(--band-muted); }
.btn-on-dark:hover { background: var(--band-card); }
.step-label { display: inline-block; }
body { transition: background-color .3s, color .3s; }

/* shorter hero for inner pages */
.xh-short { height: 150vh; }
.xh-short .xh-title { font-size: clamp(52px, 9.5vw, 148px); }
.fc-chip { flex-direction: row; display: flex; align-items: center; gap: var(--s3); min-width: 0; padding: var(--s3) var(--s4); }
.fc-chip .svc-i { width: 34px; height: 34px; }

/* service tiles (home) */
.svc-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.svc { position: relative; display: grid; align-content: start; gap: var(--s3); padding: var(--s6); border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--card); text-decoration: none; color: var(--fg); min-height: 210px; transition: border-color .25s, background-color .25s; }
.svc:hover { border-color: var(--gold); }
.svc p { font-size: 15px; color: var(--strong-fg); }
.svc-i { width: 40px; height: 40px; border-radius: var(--r-md); display: inline-grid; place-items: center; background: var(--fg); color: var(--gold); flex: none; }
.svc-i svg { width: 20px; height: 20px; }
.svc-go { position: absolute; right: var(--s6); top: var(--s6); color: var(--muted-fg); transition: transform .25s, color .25s; }
.svc-go svg { width: 18px; height: 18px; }
.svc:hover .svc-go { transform: translateX(4px); color: var(--gold-text); }

/* why list */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .why-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why li { display: grid; gap: var(--s2); align-content: start; padding: var(--s6); border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--card); }
.why li b { font: 600 19px/1.3 var(--f-display); }
.why li b::before { content: ""; display: block; width: 26px; height: 7px; border-radius: var(--r-full); background: var(--gold); margin-bottom: var(--s3); }
.why li span { color: var(--strong-fg); font-size: 15px; }

/* services: chooser tweaks */
.chooser-a h3.t-h2 { color: var(--band-fg); }

/* services: layered 3D stack */
.ls { position: relative; height: 460vh; }
.ls-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; overflow: hidden; }
.wrap-l { padding-left: max(32px, calc((100vw - var(--wrap)) / 2)); padding-right: var(--s8); }
.ls-copy { display: grid; gap: var(--s4); align-content: center; }
.lt-wrap { position: relative; min-height: 190px; margin-top: var(--s6); }
.lt { position: absolute; inset: 0 0 auto 0; display: grid; gap: var(--s3); padding: var(--s6); border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--card); opacity: 0; transform: translateY(24px); transition: opacity .2s, transform .35s; }
.lt.is-active { opacity: 1; transform: none; transition: opacity .4s .12s, transform .55s .12s cubic-bezier(.2,.8,.2,1); }
.lt .t-h2 { font-size: clamp(26px, 2.6vw, 34px); }
.ls-scene { height: 100%; display: grid; place-items: center; perspective: 1600px; }
.ls-iso { position: relative; width: min(440px, 80%); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg); }
.ly { position: absolute; inset: 0; border-radius: var(--r-xl); border: 1.5px solid var(--input); background: color-mix(in srgb, var(--card) 86%, transparent); display: grid; place-items: end start; padding: var(--s6); transform: translateZ(calc(var(--lz, 0) * 1px)); transition: border-color .3s, background-color .3s, box-shadow .3s; box-shadow: 0 30px 60px -30px rgba(21,23,28,.35); }
.ly span { font: 600 18px/1.2 var(--f-display); color: var(--muted-fg); transition: color .3s; }
.ly::before { content: ""; position: absolute; inset: 14px; border-radius: var(--r-lg); border: 1px dashed var(--border); }
.ly.is-active { border-color: var(--gold); background: color-mix(in srgb, var(--gold-wash) 92%, transparent); }
.ly.is-active span { color: var(--fg); }
.ly.is-active::after { content: ""; position: absolute; top: 18px; right: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) {
  .ls { height: 520vh; }
  .ls-stick { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: 84px; }
  .wrap-l { padding-left: 16px; padding-right: 16px; }
  .ls-copy .lead { display: none; }
  .lt-wrap { min-height: 170px; margin-top: var(--s3); }
  .ls-iso { width: min(260px, 64vw); }
  .ly span { font-size: 14px; }
}

/* services: catalogue */
.svc-list { display: grid; border-top: 1px solid var(--border); }
.svc-row { border-bottom: 1px solid var(--border); }
.svc-row summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 32px; gap: var(--s4); align-items: center; padding: var(--s6) 0; cursor: pointer; }
.svc-row summary::-webkit-details-marker, .faq-row summary::-webkit-details-marker { display: none; }
.svc-t { display: grid; gap: var(--s1); min-width: 0; }
.svc-t span { color: var(--strong-fg); font-size: 15px; }
.svc-len { font-size: 13px; padding: 4px 10px; border-radius: var(--r-full); border: 1px solid var(--border); color: var(--strong-fg); white-space: nowrap; }
.svc-plus { width: 32px; height: 32px; border-radius: var(--r-full); border: 1px solid var(--border); display: grid; place-items: center; transition: transform .3s, background-color .3s; }
.svc-plus svg { width: 16px; height: 16px; }
details[open] > summary .svc-plus { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: #15171C; }
.svc-body { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s4); padding: 0 0 var(--s6) 56px; animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }
.svc-body h4 { font: 600 13px/1.3 var(--f-body); color: var(--muted-fg); margin: 0 0 var(--s2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips li { font-size: 13.5px; padding: 6px 12px; border-radius: var(--r-full); background: var(--muted); color: var(--fg); }
@media (max-width: 640px) {
  .svc-row summary { grid-template-columns: 40px minmax(0, 1fr) 32px; }
  .svc-len { display: none; }
  .svc-body { padding-left: 0; }
}

/* engagement models */
.models { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .models { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.model { display: grid; gap: var(--s3); align-content: start; padding: var(--s6); border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--card); }
.model p { color: var(--strong-fg); font-size: 15px; }
.model .best { font-size: 13px; color: var(--muted-fg); padding-top: var(--s3); border-top: 1px solid var(--border); }
.model-gold { background: var(--band); border-color: var(--band-line); color: var(--band-fg); }
.model-gold h3 { color: var(--band-fg); }
.model-gold p { color: var(--band-muted); }
.model-gold .best { color: var(--gold); border-color: var(--band-line); }
.model-gold .svc-i { background: var(--gold); color: #15171C; }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq-row { border-bottom: 1px solid var(--border); }
.faq-row summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: var(--s4); align-items: center; padding: var(--s6) 0; cursor: pointer; font: 600 18px/1.35 var(--f-display); }
.faq-row p { padding: 0 48px var(--s6) 0; color: var(--strong-fg); animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }

/* marquee for tools: smaller */
.marquee-band + .band, .marquee-band { position: relative; }

/* AI: scroll scan */
.as { position: relative; height: 420vh; }
.as-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: var(--s8); padding-left: max(32px, calc((100vw - var(--wrap)) / 2)); padding-right: max(32px, calc((100vw - var(--wrap)) / 2)); overflow: hidden; }
.as-copy { position: relative; display: grid; gap: var(--s6); min-width: 0; }
.as-panels { position: relative; min-height: 220px; }
.ap-step { position: absolute; inset: 0 0 auto 0; display: grid; gap: var(--s3); opacity: 0; transform: translateY(24px); transition: opacity .2s, transform .35s; }
.ap-step.is-active { opacity: 1; transform: none; transition: opacity .4s .12s, transform .55s .12s cubic-bezier(.2,.8,.2,1); }
.ap-step p { color: var(--strong-fg); font-size: 17px; }
.as-result { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; padding: var(--s4); border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--card); font-size: 15px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.as-result.is-on { opacity: 1; transform: none; }
.as-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; perspective: 1400px; min-width: 0; }
.as-doc { transform-style: preserve-3d; will-change: transform; }
.as-doc .invoice { box-shadow: var(--shadow-md); }
.inv-line { position: absolute; left: 0; right: 0; height: 3px; top: calc(var(--scan, 0) * 100%); background: var(--gold); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent); opacity: var(--scan-o, 0); }
.as-table { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); overflow: hidden; box-shadow: var(--shadow-md); transform: rotateY(-8deg); }
.as-table .xt td { padding: 10px 14px; font-size: 13.5px; }
.as-table .val, .as-table .chk { opacity: 0; transition: opacity .3s; }
.as-table tr.is-on .val, .as-table tr.is-on .chk { opacity: 1; }
.as-table tr.is-on .ph { display: none; }
.as-table td.c { width: 1%; white-space: nowrap; }
@media (max-width: 960px) {
  .as { height: 460vh; }
  .as-stick { grid-template-columns: 1fr; align-content: center; gap: var(--s4); padding: 76px 16px 16px; }
  .as-stage { grid-template-columns: 1fr; gap: var(--s3); }
  .as-doc { display: none; }
  .as-table { transform: none; }
  .as-panels { min-height: 170px; }
  .ap-step .t-h2 { font-size: 28px; }
}

/* About: 3D mark */
.ab-hero { position: relative; height: 170vh; }
.ab-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.ab-grid { display: grid; gap: var(--s8); align-items: center; padding-top: 68px; }
@media (min-width: 960px) { .ab-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.ab-grid .t-display { max-width: 11ch; }
.m3 { position: relative; height: min(56vh, 460px); display: grid; place-items: center; perspective: 1200px; }
.m3-rot { position: relative; width: min(300px, 60vw); aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.m3-layer { position: absolute; inset: 0; transform: translateZ(calc(var(--z) * -3px)); color: var(--fg); opacity: calc(1 - var(--z) * 0.045); }
.m3-layer svg { width: 100%; height: 100%; }
.m3-layer:not(:first-child) svg path:last-child { fill: #B07316; }
.m3-layer:not(:first-child) { color: var(--strong-fg); }
.m3-shadow { position: absolute; bottom: 4%; width: 46%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(21,23,28,.22), transparent); }
@media (max-width: 959px) { .ab-hero { height: auto; } .ab-stick { position: relative; height: auto; padding-block: 72px 24px; } .m3 { height: 300px; } }
.clocks { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .clocks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.clock { display: grid; gap: var(--s1); padding: var(--s6); border-radius: var(--r-lg); background: var(--band-card); border: 1px solid var(--band-line); color: var(--band-muted); }
.clock b { font: 600 clamp(40px, 5vw, 60px)/1 var(--f-display); color: var(--band-fg); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.clock .small { color: var(--band-muted); }

/* contact */
fieldset.field { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 14px; margin-bottom: var(--s2); padding: 0; }
.pick { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--r-full); border: 1px solid var(--input); font: 500 14px/1 var(--f-body); transition: background-color .2s, border-color .2s; }
.pick input:checked + span { background: var(--gold-tint); border-color: var(--gold); }
.pick input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sel { user-select: all; }
.form-done.is-error { background: transparent; border-color: #C3372B; }

/* footer CTA */
.foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s6); padding-bottom: var(--s12); border-bottom: 1px solid var(--band-line); }
.foot-big { font: 600 clamp(32px, 5vw, 64px)/1.05 var(--f-display); letter-spacing: -0.03em; color: var(--band-fg); margin: 0; max-width: 14ch; }
@media (min-width: 860px) { .foot-top { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); } }

/* 404 */
.nf { min-height: 70vh; align-content: center; }
.nf-pins { display: flex; gap: 8px; }
.nf-pins i { width: 34px; height: 9px; border-radius: var(--r-full); background: var(--pin-idle); }
.nf-pins i:nth-child(2) { transform: translateY(8px); } .nf-pins i:nth-child(4) { transform: translateY(-6px); } .nf-pins i:nth-child(5) { transform: translateY(5px); }

/* page-level spacing rhythm */
.section-head { gap: var(--s4); }
.page-head .t-display { font-size: clamp(44px, 7vw, 96px); max-width: 14ch; letter-spacing: -0.035em; line-height: 1; }
.cta-inner .t-h1 { color: var(--band-fg); }
.t-display { font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -0.035em; }
/* inner-page hero: keep floating chips clear of the headline */
.xh-short .xh-title { font-size: clamp(48px, 8vw, 124px); }
.xh-short .fc-a { top: 12%; right: 4%; }
.xh-short .fc-b { top: 31%; right: 2%; }
.xh-short .fc-c { top: 50%; right: 5%; }
.xh-short .fc-d { top: 69%; right: 3%; }
.xh-short .fc-e { display: none; }
@media (max-width: 1180px) { .xh-short .fc-a, .xh-short .fc-c { display: none; } }
/* AI table room */
@media (min-width: 961px) { .as-stage { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); } }
.as-table .xt td { padding: 9px 12px; }
.as-table td.v { white-space: nowrap; }

.site-footer .btn { text-decoration: none; }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: #15171C; }
@media (max-width: 960px) { .as-table td.v { white-space: normal; } }

/* =========================================================
   v5 refinements
   ========================================================= */
/* home hero: always fits the first screen, lead and buttons visible */
.xh:not(.xh-short) .xh-title { font-size: clamp(46px, min(10.2vw, 15vh), 164px); }
.xh-grid { gap: clamp(18px, 3.2vh, 40px); padding-top: 72px; padding-bottom: 24px; }
.xh-side { gap: clamp(14px, 2.2vh, 22px); }
.xh-side .lead { font-size: clamp(16px, 1.25vw, 19px); }
.xh-cue { left: auto; right: max(24px, calc((100vw - var(--wrap)) / 2)); transform: none; bottom: 20px; }
@media (max-height: 760px) { .xh-cue { display: none; } }
@keyframes line-in-l { from { transform: translate3d(-6vw, 0, 0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes line-in-r { from { transform: translate3d(6vw, 0, 0); opacity: 0; } to { transform: none; opacity: 1; } }
.js .xh-title .xh-line { animation: line-in-l .9s cubic-bezier(.2,.8,.2,1) both; }
.js .xh-title .xh-line:nth-child(2) { animation-name: line-in-r; animation-delay: .08s; }
.js .xh-title .xh-line:nth-child(3) { animation-delay: .16s; }
.js .xh-title .xh-line.is-moving { animation: none; }

/* custom cursor: lighter so it never hides text */
.cursor { width: 10px; height: 10px; margin: -5px 0 0 -5px; opacity: .85; }
.cursor.is-big { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 1; }

/* home: services with a live preview */
.sx { padding-block: clamp(72px, 9vw, 120px); }
.sx-grid { display: grid; gap: var(--s12); }
@media (min-width: 1000px) { .sx-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--s16); align-items: start; } }
.sx-stick { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .sx-stick { position: sticky; top: 104px; } }
.sx-prev { position: relative; min-height: 330px; border-radius: var(--r-xl); background: var(--band); border: 1px solid var(--band-line); overflow: hidden; }
.sx-card { position: absolute; inset: 0; padding: var(--s8); display: grid; align-content: start; gap: var(--s4); color: var(--band-fg); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s, transform .4s cubic-bezier(.2,.8,.2,1); }
.sx-card.is-active { opacity: 1; transform: none; transition-delay: .06s; }
.sx-card h3 { color: var(--band-fg); }
.sx-card p { color: var(--band-muted); }
.sx-card .chips li { background: var(--band-card); color: var(--band-fg); }
.sx-big { width: 56px; height: 56px; border-radius: var(--r-lg); background: var(--gold); color: #15171C; display: grid; place-items: center; }
.sx-big svg { width: 28px; height: 28px; }
.sx-meta { display: flex; gap: var(--s3); align-items: baseline; padding-top: var(--s4); border-top: 1px solid var(--band-line); font-size: 14px; color: var(--band-muted); }
.sx-meta b { color: var(--gold); font-weight: 600; }
.sx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.sx-list li { border-bottom: 1px solid var(--border); }
.sx-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: var(--s4); align-items: center; padding: var(--s6) var(--s2); text-decoration: none; color: var(--fg); border-radius: var(--r-md); transition: background-color .25s, padding .25s; }
.sx-i { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; border: 1px solid var(--border); color: var(--fg); transition: background-color .25s, color .25s, border-color .25s; }
.sx-i svg { width: 20px; height: 20px; }
.sx-t { display: grid; gap: 2px; min-width: 0; }
.sx-t b { font: 600 clamp(19px, 1.7vw, 24px)/1.25 var(--f-display); letter-spacing: -0.01em; }
.sx-t span { font-size: 15px; color: var(--muted-fg); }
.sx-go { color: var(--muted-fg); transition: transform .25s, color .25s; }
.sx-go svg { width: 20px; height: 20px; }
.sx-row.is-active, .sx-row:hover { background: var(--card); padding-left: var(--s4); }
.sx-row.is-active .sx-i, .sx-row:hover .sx-i { background: var(--fg); color: var(--gold); border-color: var(--fg); }
.sx-row.is-active .sx-go, .sx-row:hover .sx-go { transform: translateX(4px); color: var(--gold-text); }
@media (max-width: 999px) { .sx-prev { display: none; } }

/* story: text-only panels, short example line */
.xs-cards { display: none; }
.sp-ex { display: flex; gap: var(--s2); align-items: baseline; font-size: 15px !important; color: var(--muted-fg) !important; padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--muted); }
.sp-ex::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-1px); }

/* inner-page hero: editorial title + live panel on an ink stage */
.ph { padding-block: clamp(104px, 12vw, 152px) clamp(56px, 7vw, 96px); }
.ph-grid { display: grid; gap: var(--s12); align-items: center; }
@media (min-width: 1000px) { .ph-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s16); } }
.ph-copy { display: grid; gap: var(--s6); min-width: 0; }
.ph-title { font: 600 clamp(40px, 5.6vw, 80px)/1.02 var(--f-display); letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.ph-visual { perspective: 1400px; min-width: 0; }
.ph-stage { position: relative; border-radius: var(--r-xl); background: var(--band); border: 1px solid var(--band-line); padding: clamp(18px, 2.4vw, 32px); overflow: hidden; transform: rotateY(-7deg) rotateX(3deg); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1); box-shadow: 0 40px 80px -40px rgba(21,23,28,.45); }
.ph-visual:hover .ph-stage { transform: rotateY(-2deg) rotateX(1deg); }
.ph-stage .band-pattern { opacity: .7; }
.ph-stage > :not(.band-pattern) { position: relative; }
@media (max-width: 999px) { .ph-stage { transform: none; } }
.ph-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.ph-num { display: grid; gap: var(--s1); padding: var(--s6); border-radius: var(--r-lg); background: var(--band-card); border: 1px solid var(--band-line); }
.ph-num b { font: 600 clamp(36px, 4vw, 56px)/1 var(--f-display); color: var(--band-fg); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ph-num span { color: var(--band-muted); font-size: 14px; }
.ph-num:first-child b { color: var(--gold); }
.ph-note { margin-top: var(--s3); font-size: 13px; color: var(--band-muted); }
/* chooser inside the services hero */
.chooser-compact { display: grid; grid-template-columns: 1fr; gap: var(--s4); border: 0; background: transparent; border-radius: 0; }
.chooser-compact .chooser-q { padding: 0; gap: var(--s3); }
.chooser-compact .ch-q { font: 600 18px/1.3 var(--f-display); color: var(--band-fg); }
.chooser-compact .choices { gap: var(--s2); margin: 0; }
.chooser-compact .choice { min-height: 44px; padding: 10px 14px 10px 42px; font-size: 14px; background: var(--band-card); border-color: var(--band-line); color: var(--band-fg); }
.chooser-compact .choice:hover { border-color: var(--band-muted); }
.chooser-compact .choice[aria-checked="true"] { background: #4A2F0E; border-color: var(--gold); }
.chooser-compact .choice::before { left: 14px; }
.chooser-compact .chooser-a { min-height: 0; padding: var(--s4); border-radius: var(--r-lg); background: var(--band-card); border: 1px solid var(--band-line); }
.chooser-compact .chooser-a h3 { margin: 4px 0 6px; }
.chooser-compact .chooser-a .btn-row { margin-top: var(--s3); }
.chooser-compact .chooser-empty { grid-auto-flow: column; justify-content: start; align-items: center; }
/* AI workflow card */
.wkf { display: grid; gap: var(--s4); color: var(--band-fg); }
.wkf-head { display: flex; align-items: center; gap: var(--s3); }
.wkf-head b { font: 600 16px/1.3 var(--f-display); flex: 1; }
.wkf-head .tag { background: var(--band-card); color: var(--band-muted); }
.wkf-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #4A2F0E; }
.wkf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.wkf-list li { display: grid; grid-template-columns: 22px 104px minmax(0, 1fr) 16px minmax(0, 1fr); gap: var(--s2); align-items: center; padding: 10px 12px; border-radius: var(--r-md); background: var(--band-card); border: 1px solid var(--band-line); font-size: 13px; }
.js .wkf-list li { animation: rise .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d) * .14s + .2s); }
.wkf-list b { font-weight: 600; }
.wkf-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #15171C; }
.wkf-ok svg { width: 13px; height: 13px; }
.wkf-ai { color: var(--gold); }
.wkf-hu { color: var(--band-fg); }
.wkf-arrow svg { width: 14px; height: 14px; color: var(--band-muted); }
.wkf-foot { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: baseline; padding-top: var(--s3); border-top: 1px solid var(--band-line); font-size: 13px; color: var(--band-muted); }
.wkf-foot b { color: var(--band-fg); font-weight: 600; }
@media (max-width: 560px) { .wkf-list li { grid-template-columns: 22px minmax(0, 1fr); } .wkf-ai, .wkf-arrow, .wkf-hu { grid-column: 2; } .wkf-arrow { display: none; } }
.chk.ai { background: transparent; border: 1px solid var(--gold); color: var(--gold-text); }
.ticket .inv-grid span:nth-child(even) { font-weight: 500; }
.why-dark li { background: var(--band-card); border-color: var(--band-line); }
.why-dark li b { color: var(--band-fg); }
.why-dark li span { color: var(--band-muted); }
.chips-lg li { font-size: 15px; padding: 10px 16px; }

/* short screens: fewer floating hero cards */
@media (max-height: 820px) { .xh:not(.xh-short) .fc-c, .xh:not(.xh-short) .fc-e { display: none; } }
@media (max-height: 820px) and (min-width: 861px) { .xh:not(.xh-short) .fc-b { top: 58%; } }
/* AI scene: give the table room on mid-size screens */
@media (max-width: 1180px) { .as-doc { display: none; } .as-stage { grid-template-columns: 1fr !important; } .as-table { transform: none; } }
/* story panels never run under the pin rail on short screens */
@media (max-height: 700px) { .sp .facts, .sp-ex { display: none; } .sp .t-h2 { font-size: clamp(24px, 3vw, 32px); } }
/* services preview on short laptop screens */
@media (max-height: 780px) and (min-width: 1000px) {
  .sx-stick { top: 88px; gap: var(--s4); }
  .sx-stick .lead { display: none; }
  .sx-stick .t-h1 { font-size: clamp(30px, 3.4vw, 40px); }
  .sx-prev { min-height: 280px; }
  .sx-card { padding: var(--s6); gap: var(--s3); }
  .sx-card .t-h2 { font-size: 28px; }
}

/* v6: audit offers, core badge, booking card, privacy */
.audits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.audit { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s8); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--card); }
.audit h4 { margin-top: var(--s2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--strong-fg); }
.audit ul { display: grid; gap: var(--s2); padding-left: 1.1em; margin: 0; }
.audit li::marker { color: var(--gold, #E9A93A); }
.audit-need { font-size: 14px; color: var(--strong-fg); }
.audit-need b { color: inherit; display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.audit-meta { margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: 13px; font-weight: 600; }
@media (max-width: 980px) { .audits { grid-template-columns: 1fr; } }
.svc-core { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 8px; border-radius: var(--r-full); background: var(--gold, #E9A93A); color: #15171C; font: 600 11px/1.6 var(--font-mono, monospace); letter-spacing: .04em; text-transform: uppercase; }
.book-card { display: grid; gap: var(--s2); justify-items: start; margin-top: var(--s6); padding: var(--s6); border-radius: var(--r-lg); background: var(--band); color: var(--band-fg); }
.book-card .small { color: inherit; opacity: .8; }
.pv { display: grid; gap: var(--s8); max-width: 760px; }
.pv-row { display: grid; gap: var(--s2); }
.pv-row p { color: var(--strong-fg); }

/* v7: case contribution + capabilities, single case */
.case-role { font-weight: 600; color: var(--fg, inherit); }
.case-stack span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.cases-one { grid-template-columns: 1fr !important; }

/* v8: services preview with heading outside the sticky column */
.sx-head { display: grid; gap: var(--s4); max-width: 760px; margin-bottom: var(--s12); }
@media (min-width: 1000px) {
  .sx-left { align-self: stretch; }
  .sx-stick { position: sticky; top: max(96px, calc(50vh - 190px)); }
  .sx-prev { min-height: 380px; }
}

/* v8: five steps timeline */
.pf-head { display: grid; gap: var(--s6); align-items: end; margin-bottom: var(--s12); }
@media (min-width: 1000px) { .pf-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s16); } }
.pf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); position: relative; }
.pf::before, .pf::after { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; border-radius: 2px; }
.pf::before { background: var(--band-line); }
.pf::after { background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.8,.2,1) .2s; }
.pf.is-in::after { transform: scaleX(1); }
.pf li { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: 0; opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * .18s + .2s); }
.pf.is-in li { opacity: 1; transform: none; }
.pf-dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--band); border: 2px solid var(--band-line); color: var(--band-fg); font: 600 15px/1 var(--f-mono); margin-bottom: var(--s3); transition: background-color .4s, border-color .4s, color .4s; transition-delay: calc(var(--i) * .3s + .4s); }
.pf.is-in .pf-dot { border-color: var(--gold); color: var(--gold); }
.pf.is-in li:last-child .pf-dot { background: var(--gold); color: #15171C; }
.pf-when { align-self: flex-start; font: 500 12px/1.4 var(--f-mono); color: var(--gold); padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: var(--r-full); }
.pf h3 { margin: 0; font: 600 clamp(20px, 1.7vw, 24px)/1.2 var(--f-display); color: var(--band-fg); letter-spacing: -0.01em; }
.pf p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--band-muted); flex: 1; }
.pf-get { display: grid; gap: 4px; padding: var(--s4); border-radius: var(--r-md); background: var(--band-card); border: 1px solid var(--band-line); transition: border-color .25s, transform .25s; }
.pf-get span { font: 500 11px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.pf-get b { font-size: 14px; font-weight: 600; color: var(--band-fg); line-height: 1.4; }
.pf li:hover .pf-get { border-color: var(--gold); transform: translateY(-2px); }
@media (max-width: 999px) {
  .pf { grid-template-columns: 1fr; gap: var(--s8); }
  .pf::before, .pf::after { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .pf::after { transform-origin: top; transform: scaleY(0); }
  .pf.is-in::after { transform: scaleY(1); }
  .pf li { padding-left: 72px; }
  .pf-dot { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pf li, .pf::after, .pf-dot { transition: none; }
}
@media (min-width: 1000px) {
  .pf::before, .pf::after { right: calc((100% - 4 * var(--s4)) / 5 - 24px); }
  .pf-get { min-height: 78px; align-content: start; }
}
/* v9: layers peel away so the active one is visible */
.ly { transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .45s, border-color .3s, background-color .3s, box-shadow .3s; }
.ly.is-past { opacity: 0; pointer-events: none; }
.ly.is-active { background: var(--card); box-shadow: 0 40px 80px -30px rgba(21,23,28,.45); }
.ly.is-active span { font-size: 22px; }
@media (max-width: 999px) { .ly.is-active span { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .ly { transition: opacity .2s; } }
/* v10: simple inverting cursor */
.has-cursor summary, .has-cursor label, .has-cursor canvas { cursor: none; }
.cursor { width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 0; border-radius: 50%; background: #fff; mix-blend-mode: difference; opacity: 1;
  transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), margin .35s cubic-bezier(.2,.8,.2,1), opacity .2s, background-color .25s; }
.cursor.is-big { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: #fff; border: 0; opacity: 1; }
.cursor.is-down { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
.cursor.is-big.is-down { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cursor.is-drag { width: 64px; height: 64px; margin: -32px 0 0 -32px; mix-blend-mode: normal; background: var(--gold); }
.cursor.is-drag::after { content: "Drag"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px/1 var(--f-body); color: #15171C; }
.cursor.is-hidden { opacity: 0; }
/* v11: minimal cursor. Native pointer stays; a small gold dot trails behind it. */
.cursor, .cursor.is-big, .cursor.is-down, .cursor.is-big.is-down, .cursor.is-drag {
  width: 8px; height: 8px; margin: 10px 0 0 10px; border: 0; border-radius: 50%;
  background: var(--gold); mix-blend-mode: normal; opacity: .9; transition: opacity .2s; }
.cursor.is-drag::after { content: none; }
.cursor.is-hidden { opacity: 0; }
/* v12: Cal.com inline booking */
.book-sec { padding-top: var(--s12); }
.cal-inline { min-height: 560px; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--card); overflow: hidden; }
.cal-inline iframe { display: block; }
.cal-fallback { padding: var(--s8); color: var(--muted-fg); }
.cal-fallback a { color: var(--fg); text-decoration-color: var(--gold); text-underline-offset: 3px; }
