/* Castle Host. Brand navy #133147, black, white, one lamp amber for live activity.
   The 30deg roof angle from the logo (tan 30 = .577) drives every cut and wipe. */

@font-face { font-family: "League Spartan"; src: url("/assets/fonts/league-spartan-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "League Spartan"; src: url("/assets/fonts/league-spartan-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; src: url("/assets/fonts/albert-sans-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Albert Sans"; src: url("/assets/fonts/albert-sans-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; font-style: italic; src: url("/assets/fonts/albert-sans-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #133147;
  --night: #0a1f2e;
  --deep: #06131c;
  --black: #000;
  --paper: #f1f4f6;
  --white: #fff;
  --lamp: #ffb546;
  --lamp-glow: rgba(255, 181, 70, .45);
  --mist: #9fb4c2;
  --slate: #4b6373;
  --line: rgba(19, 49, 71, .16);
  --line-dark: rgba(255, 255, 255, .14);
  --display: "League Spartan", "Arial Narrow", Arial, sans-serif;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --cut: 14px;
  --cut-y: 8.08px; /* cut * tan(30deg) */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--lamp); color: var(--night); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--white); color: var(--navy); padding: .6rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
.display, .h2, .h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
.display { font-size: clamp(2.9rem, 6.6vw, 6rem); line-height: .93; padding-top: .08em; }
.display--page { font-size: clamp(2.6rem, 5.4vw, 4.9rem); }
.h2 { font-size: clamp(2.05rem, 4.2vw, 3.6rem); line-height: .98; padding-top: .06em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.08; letter-spacing: -.012em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 34em; }
.note { font-size: .875rem; color: var(--slate); }
.kicker { font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 22px; height: 12.7px; background: currentColor; clip-path: polygon(0 100%, 100% 0, 100% 100%); opacity: .9; }
.muted { color: var(--slate); }
.on-dark .muted, .on-dark .note { color: var(--mist); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .1em; margin-top: -.1em; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- layout ---------- */
.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.sec { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.sec--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.on-dark { color: var(--white); }
.bg-night { background: var(--night); }
.bg-navy { background: var(--navy); }
.bg-paper { background: var(--paper); }
.bg-black { background: var(--black); }
.head { display: grid; gap: 1.25rem; max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.head--split { max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 2rem 4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.stack { display: grid; gap: 1rem; align-content: start; }
.roof-top { --rw: 130px; --rh: 75px; clip-path: polygon(0 var(--rh), calc(50% - var(--rw)) var(--rh), 50% 0, calc(50% + var(--rw)) var(--rh), 100% var(--rh), 100% 100%, 0 100%); margin-top: calc(-1 * var(--rh)); padding-top: calc(var(--rh) + clamp(4.5rem, 10vw, 9rem)); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .8rem 1.5rem .7rem; font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.005em; text-decoration: none; border: 0; background: none; color: var(--white); isolation: isolate; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-y), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut-y))); transition: background .25s; }
.btn::after { content: ""; width: 9px; height: 9px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -2px; }
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn:hover::before { background: var(--night); }
.btn--light { color: var(--navy); }
.btn--light::before { background: var(--white); }
.btn--light:hover::before { background: var(--lamp); }
.btn--ghost { color: inherit; }
.btn--ghost::before { background: none; box-shadow: none; clip-path: none; border-bottom: 2px solid currentColor; inset: auto 1.5rem .55rem 1.5rem; height: 0; opacity: .35; transition: opacity .25s; }
.btn--ghost:hover::before { background: none; opacity: 1; }
.btn--ghost::after { display: none; }
.btn--small { min-height: 42px; padding: .55rem 1.1rem .45rem; font-size: .98rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- page wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 120; background: var(--navy); display: grid; place-items: center; pointer-events: none; clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
.wipe svg { width: 92px; fill: var(--white); overflow: visible; }
.js .wipe { animation: wipe-out .75s var(--ease) both; }
.js.first .wipe { animation: wipe-out .8s var(--ease) 1.25s both; }
.js.first .wipe .m-roof { animation: m-roof .7s var(--ease) both; }
.js.first .wipe .m-body { animation: m-body .7s var(--ease) .12s both; }
.js.first .wipe .m-h { animation: m-h .7s var(--ease) .26s both; }
.js.is-leaving .wipe { animation: wipe-in .45s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes wipe-out { from { clip-path: polygon(-60% 0, 100% 0, 160% 100%, 0 100%); } to { clip-path: polygon(100% 0, 100% 0, 160% 100%, 160% 100%); } }
@keyframes wipe-in { from { clip-path: polygon(-60% 0, -60% 0, 0 100%, 0 100%); } to { clip-path: polygon(-60% 0, 100% 0, 160% 100%, 0 100%); } }
@keyframes m-roof { from { transform: translateY(-140px); opacity: 0; } }
@keyframes m-body { from { transform: translateX(-140px); opacity: 0; } }
@keyframes m-h { from { transform: translateY(140px); opacity: 0; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h); color: var(--white); transition: background .35s, transform .45s var(--ease), box-shadow .35s; }
.nav.is-solid { background: color-mix(in srgb, var(--navy) 94%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 2rem; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo svg { height: 34px; width: auto; fill: currentColor; overflow: visible; }
.nav__links { display: flex; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; font-weight: 500; font-size: .98rem; }
.nav__links a { text-decoration: none; position: relative; padding: .4rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lamp); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.desk-chip { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-variant-numeric: tabular-nums; color: var(--mist); white-space: nowrap; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 0 var(--lamp-glow); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 181, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 181, 70, 0); } }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; color: inherit; position: relative; }
.nav__toggle i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle i:nth-child(1) { top: 18px; } .nav__toggle i:nth-child(2) { top: 27px; }
.menu-open .nav__toggle i:nth-child(1) { top: 22px; transform: rotate(30deg); }
.menu-open .nav__toggle i:nth-child(2) { top: 22px; transform: rotate(-30deg); }
.menu { position: fixed; inset: 0; z-index: 85; background: var(--night); color: var(--white); padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem; display: flex; flex-direction: column; gap: 2rem; clip-path: polygon(100% 0, 100% 0, 160% 100%, 160% 100%); transition: clip-path .6s var(--ease); visibility: hidden; overflow-y: auto; }
.menu-open .menu { clip-path: polygon(-60% 0, 100% 0, 160% 100%, 0 100%); visibility: visible; }
.menu a.menu__link { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; text-decoration: none; display: block; padding: .15em 0; }
.menu__foot { margin-top: auto; display: grid; gap: 1rem; }

/* ---------- hero: the night shift ---------- */
.hero { min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(2rem, 6vh, 5rem)); padding-bottom: clamp(3rem, 7vh, 6rem); position: relative; overflow: clip; display: grid; align-items: center; background: linear-gradient(180deg, var(--deep) 0%, var(--night) 55%, #0f2b3f 100%); }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--white); opacity: .5; animation: twinkle 4s infinite alternate; }
@keyframes twinkle { to { opacity: .12; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .92rem; color: var(--mist); }
.hero__trust li { display: flex; align-items: center; gap: .55rem; }
.hero__trust li::before { content: ""; width: 10px; height: 5.8px; background: var(--mist); clip-path: polygon(0 100%, 100% 0, 100% 100%); }

.scene { position: relative; height: min(72vh, 640px); min-height: 460px; }
.scene__clock { position: absolute; top: 0; left: 0; max-width: 46%; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; z-index: 3; }
.scene__clock small { display: block; line-height: 1.35; font-family: var(--body); font-weight: 500; font-size: .82rem; letter-spacing: 0; color: var(--mist); margin-top: .35rem; }
.skyline { position: absolute; inset: auto 0 0 0; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; padding-right: 2%; }
.tower { --tw: 200px; --cols: 5; width: var(--tw); flex: none; background: linear-gradient(180deg, #16384f, #0f2a3d); display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 9px 8px; padding: calc(var(--tw) * .2887 + 22px) 14px 0; align-content: start; clip-path: polygon(0 calc(var(--tw) * .2887), 50% 0, 100% calc(var(--tw) * .2887), 100% 100%, 0 100%); position: relative; }
.tower--slope { clip-path: polygon(0 calc(var(--tw) * .577), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--tw) * .577 + 18px); background: linear-gradient(180deg, #123044, #0c2434); }
.tower--back { background: linear-gradient(180deg, #0f2b3e, #0b2130); opacity: .9; }
.win { aspect-ratio: 5 / 6; background: rgba(255, 255, 255, .045); transition: background .9s, box-shadow .9s; position: relative; }
.win.is-dim { background: rgba(159, 180, 194, .22); }
.win.is-lit { background: var(--lamp); box-shadow: 0 0 22px 2px var(--lamp-glow), 0 0 60px 8px rgba(255, 181, 70, .16); }
.win.is-lit::after { content: ""; position: absolute; inset: -6px; border: 1.5px solid var(--lamp); opacity: 0; animation: ping 1.4s var(--ease); }
@keyframes ping { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(2.6); } }
.ground { position: absolute; inset: auto -100vw 0 -100vw; height: 2px; background: var(--line-dark); }
.feed { position: absolute; left: 0; bottom: 6%; width: min(330px, 62%); display: flex; flex-direction: column-reverse; gap: .6rem; z-index: 4; }
.feed__item { background: rgba(8, 26, 38, .82); backdrop-filter: blur(8px); border: 1px solid var(--line-dark); border-left: 3px solid var(--lamp); padding: .75rem .95rem .8rem; font-size: .92rem; line-height: 1.35; display: grid; gap: .2rem; }
.feed__item b { font-weight: 600; font-size: .78rem; color: var(--lamp); display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.feed__item b span { color: var(--mist); font-weight: 500; }
.scene__note { position: absolute; right: 0; bottom: -1.9rem; font-size: .76rem; color: var(--mist); opacity: .8; }

/* ---------- ledger (facts row) ---------- */
.ledger { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); }
.ledger li { padding: 1.6rem 1.25rem 1.4rem 0; display: grid; gap: .3rem; align-content: start; }
.ledger li + li { padding-left: 1.25rem; border-left: 1px solid var(--line-dark); }
.ledger strong { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ledger span { font-size: .9rem; color: var(--mist); line-height: 1.35; }

/* ---------- scrub statement ---------- */
.statement { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.3vw, 3.9rem); line-height: 1.04; letter-spacing: -.02em; max-width: 20em; }
.anim .statement .sw { opacity: .16; transition: opacity .25s linear, color .25s linear; }
.statement .sw.on { opacity: 1; }
.pull { border-left: 3px solid var(--lamp); padding: .2rem 0 .2rem 1.4rem; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.4; max-width: 30em; }

/* ---------- handoff split ---------- */
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; isolation: isolate; background: var(--paper); }
.split__side { padding: clamp(2rem, 4vw, 4rem); display: grid; gap: 1.5rem; align-content: center; }
.split__side--keep { color: var(--navy); padding-right: clamp(3rem, 8vw, 8rem); }
.split__side--run { color: var(--white); padding-left: clamp(3rem, 8vw, 8rem); position: relative; }
.split__side--run::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 calc(-1 * var(--seam, 150px)); background: var(--navy); clip-path: polygon(var(--seam, 150px) 0, 100% 0, 100% 100%, 0 100%); }
.ticks { display: grid; gap: .1rem; }
.ticks li { display: flex; gap: .9rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.on-dark .ticks li, .split__side--run .ticks li { border-color: var(--line-dark); }
.ticks li::before { content: ""; flex: none; width: 14px; height: 8.1px; background: currentColor; clip-path: polygon(0 100%, 100% 0, 100% 100%); transform: translateY(-1px); }
.split__side--run .ticks li::before { background: var(--lamp); }

/* ---------- department strip ---------- */
.strip { overflow: hidden; }
.sec--strip { padding-block: clamp(4.5rem, 11vh, 6.5rem); }
.sec--strip .head { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.strip__track { display: flex; gap: 1.5rem; padding-inline: var(--gutter); width: max-content; will-change: transform; }
.desk { width: min(430px, 84vw); flex: none; background: var(--white); color: var(--navy); padding: 1.75rem 1.75rem 1.6rem; display: grid; gap: 1.1rem; align-content: start; position: relative; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 25.4px, 100% 100%, 0 100%); text-decoration: none; transition: transform .45s var(--ease); }
.desk:hover { transform: translateY(-8px); }
.desk__hour { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: .5rem; }
.desk__hour small { font-family: var(--body); font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--slate); }
.desk__scene { color: var(--slate); min-height: 3.1em; }
.desk__metric { display: grid; gap: .1rem; padding: .9rem 0; border-block: 1px solid var(--line); }
.desk__metric strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; }
.desk__metric span { font-size: .88rem; color: var(--slate); }
.desk__points { font-size: .95rem; display: grid; gap: .3rem; }
.desk__go { font-weight: 600; display: inline-flex; gap: .5rem; align-items: center; }
.desk__go::after { content: ""; width: 8px; height: 8px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); transition: transform .3s var(--ease); }
.desk:hover .desk__go::after { transform: translateX(5px) rotate(45deg); }
.strip__rail { margin: 2.25rem var(--gutter) 0; height: 2px; background: var(--line-dark); position: relative; }
.strip__rail i { position: absolute; inset: 0; background: var(--lamp); transform-origin: left; transform: scaleX(0); }
.strip__hint { margin: .8rem var(--gutter) 0; display: flex; justify-content: space-between; font-size: .82rem; color: var(--mist); }

/* ---------- onboarding ---------- */
.days { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.days__sticky { position: sticky; top: calc(var(--nav-h) + 2rem); display: grid; gap: 1rem; }
.days__num { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 13vw, 11.5rem); line-height: .82; letter-spacing: -.045em; font-variant-numeric: tabular-nums; padding-top: .1em; }
.days__num small { display: block; font-size: 1.1rem; letter-spacing: 0; font-family: var(--body); font-weight: 600; margin-bottom: .6rem; }
.days__bar { height: 3px; background: var(--line); position: relative; }
.days__bar i { position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(.25); transition: transform .6s var(--ease); }
.day { padding: 2.25rem 0; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.day:last-child { border-bottom: 1px solid var(--line); }
.day__when { font-weight: 600; font-size: .95rem; display: flex; gap: 1rem; justify-content: space-between; }
.day__when span:last-child { color: var(--slate); font-weight: 500; }
.day__ask { background: var(--paper); padding: .9rem 1.1rem; font-size: .95rem; display: grid; gap: .15rem; }
.day__ask b { font-size: .8rem; font-weight: 600; color: var(--slate); }
.bullets { display: grid; gap: .35rem; }
.bullets li { padding-left: 1.4rem; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 6.9px; background: currentColor; clip-path: polygon(0 100%, 100% 0, 100% 100%); opacity: .7; }

/* ---------- tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tab { border: 1px solid var(--line); background: none; padding: .65rem 1.1rem .55rem; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: inherit; transition: background .25s, color .25s, border-color .25s; }
.tab:hover { border-color: currentColor; }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.on-dark .tab { border-color: var(--line-dark); }
.on-dark .tab[aria-selected="true"], .on-dark .tab[aria-pressed="true"] { background: var(--white); color: var(--navy); border-color: var(--white); }
[role="tabpanel"][hidden] { display: none; }

.vs { width: 100%; border-collapse: collapse; }
.vs th, .vs td { text-align: left; padding: 1.05rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs thead th { font-size: .88rem; font-weight: 600; color: var(--slate); padding-bottom: .7rem; }
.vs tbody th { font-weight: 500; color: var(--slate); width: 26%; }
.vs td { width: 37%; }
.vs td:last-child { font-weight: 600; background: linear-gradient(90deg, rgba(19, 49, 71, .06), transparent); padding-left: 1rem; }
.vs-win { margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-left: 3px solid var(--navy); background: var(--white); max-width: 46rem; }
.vs-win b { display: block; font-size: .85rem; color: var(--slate); margin-bottom: .2rem; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.range { display: grid; gap: .6rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); }
.range label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 500; }
.range output { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 0; --p: 50%; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--lamp) var(--p), var(--line-dark) var(--p)); }
.range input[type="range"]::-moz-range-track { height: 3px; background: var(--line-dark); }
.range input[type="range"]::-moz-range-progress { height: 3px; background: var(--lamp); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; background: var(--white); border: 0; clip-path: polygon(0 28.9%, 50% 0, 100% 28.9%, 100% 100%, 0 100%); cursor: grab; }
.range input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: var(--white); border: 0; border-radius: 0; cursor: grab; }
.calc__out { display: grid; gap: 1.25rem; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); }
.calc__row span { color: var(--mist); }
.calc__row strong { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__row strong small { font-family: var(--body); font-size: .85rem; font-weight: 500; color: var(--mist); }
.calc__keep { display: grid; gap: .3rem; padding-top: .5rem; }
.calc__keep strong { font-family: var(--display); font-weight: 700; font-size: clamp(3.6rem, 9vw, 7.5rem); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--lamp); padding-top: .08em; }
.calc__keep p { color: var(--mist); font-size: .92rem; max-width: 30em; }

/* ---------- cards & lists ---------- */
.card { background: var(--white); color: var(--navy); padding: 1.6rem; display: grid; gap: .8rem; align-content: start; position: relative; }
.card--cut { clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 19.6px, 100% 100%, 0 100%); }
.card--line { background: none; border-top: 2px solid currentColor; padding: 1.3rem 0 0; color: inherit; }
.card--dark { background: rgba(255, 255, 255, .05); color: var(--white); border: 1px solid var(--line-dark); }
.card--paper { background: var(--paper); }
.tag { justify-self: start; font-size: .78rem; font-weight: 600; padding: .28rem .6rem .22rem; background: var(--paper); color: var(--navy); }
.tag--lamp { background: var(--lamp); color: var(--night); }
.tag--dark { background: rgba(255, 255, 255, .1); color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { font-size: .84rem; padding: .3rem .65rem .25rem; border: 1px solid var(--line); }
.on-dark .chips li, .card--dark .chips li { border-color: var(--line-dark); }
.steps { counter-reset: s; display: grid; gap: 0; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; gap: .2rem 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.on-dark .steps > li { border-color: var(--line-dark); }
.steps > li::before { content: counter(s); font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; grid-row: span 2; }
.steps > li p { grid-column: 2; }
.qs { counter-reset: q; display: grid; }
.qs li { counter-increment: q; display: grid; grid-template-columns: 2.4rem 1fr; padding: 1.05rem 0; border-top: 1px solid var(--line-dark); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.35; }
.qs li::before { content: counter(q); font-family: var(--display); font-weight: 700; color: var(--lamp); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.4rem 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2.5px solid; border-bottom: 2.5px solid; transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__body { overflow: hidden; padding: 0 3rem 1.6rem 0; max-width: 46rem; color: var(--slate); }
.on-dark .faq, .on-dark .faq details { border-color: var(--line-dark); }
.on-dark .faq__body { color: var(--mist); }

/* ---------- closing call ---------- */
.call { text-align: left; display: grid; gap: 2rem; justify-items: start; }
.call .display { max-width: 11em; }
.call__mail { font-weight: 500; }

/* ---------- footer ---------- */
.foot { background: var(--black); color: var(--white); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot__logo img { width: 250px; }
.foot h2 { font-family: var(--body); font-size: .85rem; font-weight: 600; color: var(--mist); margin-bottom: .9rem; }
.foot li { margin-bottom: .45rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: .25em; }
.foot__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .85rem; color: var(--mist); }
.foot__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot__bottom li { margin: 0; }

/* ---------- page hero (inner pages) ---------- */
.phero { padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vw, 7rem)); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); background: linear-gradient(180deg, var(--deep), var(--night) 70%, #0f2b3f); color: var(--white); position: relative; overflow: clip; }
.phero__in { display: grid; gap: 1.5rem; justify-items: start; position: relative; }
.phero__in > * { max-width: 60rem; }
.phero--grid .phero__in > * { max-width: none; }
.phero--grid .phero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.phero__roof { position: absolute; right: -6%; bottom: 0; width: min(46vw, 620px); aspect-ratio: 2 / 1; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)); clip-path: polygon(0 100%, 0 57.7%, 50% 0, 100% 57.7%, 100% 100%, 86% 100%, 86% 66%, 50% 24%, 14% 66%, 14% 100%); pointer-events: none; }
.crumb { font-size: .9rem; color: var(--mist); text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.crumb::before { content: ""; width: 7px; height: 7px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.crumb:hover { color: var(--white); }

/* ---------- AI: hub ---------- */
.hub { position: relative; aspect-ratio: 1; width: min(100%, 470px); justify-self: end; }
.hub__ring { position: absolute; inset: 9%; border: 1px dashed var(--line-dark); border-radius: 50%; animation: spin 60s linear infinite; }
.hub__ring--in { inset: 27%; animation-direction: reverse; animation-duration: 40s; border-style: solid; opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }
.hub__core { position: absolute; inset: 37%; background: var(--white); color: var(--navy); display: grid; place-items: center; clip-path: polygon(0 28.9%, 50% 0, 100% 28.9%, 100% 100%, 0 100%); font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; padding-top: 1.6rem; }
.hub__node { position: absolute; width: 46%; display: grid; gap: .1rem; padding: .7rem .9rem; background: rgba(8, 26, 38, .85); border: 1px solid var(--line-dark); border-left: 3px solid var(--lamp); font-size: .9rem; line-height: 1.25; }
.hub__node small { color: var(--mist); font-size: .76rem; }
.hub__node--1 { left: -4%; top: 6%; } .hub__node--2 { right: -4%; top: 18%; }
.hub__node--3 { left: -2%; bottom: 16%; } .hub__node--4 { right: -2%; bottom: 4%; }

/* ---------- AI: follow one stay ---------- */
.stay { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.dial { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial__time { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dial__time small { display: block; font-family: var(--body); font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--mist); margin-top: .4rem; }
.stay__panels { display: grid; }
.stay__panel { grid-area: 1 / 1; display: grid; gap: 1.25rem; align-content: start; }
.anim .stay.is-pinned .stay__panel { opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.anim .stay.is-pinned .stay__panel.is-on { opacity: 1; visibility: visible; }
.stay:not(.is-pinned) .stay__panels { gap: 4rem; }
.stay:not(.is-pinned) .dial, .stay:not(.is-pinned) .stay__dots { display: none; }
.stay:not(.is-pinned) { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.stay:not(.is-pinned) .stay__panel { grid-area: auto; }
.bubble { justify-self: start; background: var(--white); color: var(--navy); padding: .85rem 1.15rem; font-size: 1.1rem; font-weight: 500; position: relative; max-width: 26rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% + 0px)); border-bottom-left-radius: 0; }
.bubble small { display: block; font-size: .76rem; color: var(--slate); font-weight: 600; }
.lanes { display: grid; gap: .6rem; }
.lane { display: grid; grid-template-columns: 9.5rem 1fr; gap: .2rem 1.25rem; padding: .95rem 1.1rem; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--mist); }
.lane:nth-child(1) { border-color: var(--lamp); }
.lane:nth-child(2) { border-color: var(--white); }
.lane b { font-size: .8rem; font-weight: 600; color: var(--mist); grid-row: span 2; }
.lane strong { font-family: var(--display); font-size: 1.15rem; line-height: 1.15; }
.lane p { font-size: .95rem; color: var(--mist); grid-column: 2; }
.result { padding: .9rem 1.1rem; border: 1px solid var(--lamp); color: var(--lamp); font-weight: 500; }
.stay__dots { display: flex; gap: .5rem; margin-top: 1.5rem; }
.stay__dots button { border: 0; background: var(--line-dark); height: 4px; width: 44px; padding: 0; transition: background .3s, width .3s; }
.stay__dots button.is-on { background: var(--lamp); width: 72px; }

/* ---------- AI: phone ---------- */
.phone { width: min(100%, 350px); justify-self: center; background: #050f16; border: 1px solid rgba(255, 255, 255, .16); border-radius: 38px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.phone__screen { background: var(--night); border-radius: 28px; height: 560px; display: flex; flex-direction: column; overflow: hidden; color: var(--white); }
.phone__bar { padding: 1rem 1.1rem .8rem; display: flex; align-items: center; gap: .7rem; border-bottom: 1px solid var(--line-dark); font-weight: 600; font-size: .95rem; }
.phone__bar i { width: 30px; height: 30px; background: var(--white); color: var(--navy); display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; clip-path: polygon(0 28.9%, 50% 0, 100% 28.9%, 100% 100%, 0 100%); padding-top: 6px; }
.phone__bar small { display: block; font-weight: 400; font-size: .74rem; color: var(--mist); }
.thread { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; justify-content: flex-end; overflow: hidden; }
.msg { max-width: 86%; padding: .6rem .8rem; font-size: .9rem; line-height: 1.38; border-radius: 14px; }
.msg--you { align-self: flex-end; background: var(--white); color: var(--navy); border-bottom-right-radius: 3px; }
.msg--marzan { align-self: flex-start; background: rgba(255, 255, 255, .09); border-bottom-left-radius: 3px; }
.msg--card { align-self: flex-start; background: none; border: 1px solid var(--lamp); border-radius: 10px; display: grid; gap: .25rem; }
.msg--card b { color: var(--lamp); font-size: .82rem; }
.msg--card span { display: flex; gap: .4rem; margin-top: .35rem; }
.msg--card em { font-style: normal; font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border: 1px solid var(--line-dark); border-radius: 99px; }
.msg--card em:first-child { background: var(--lamp); color: var(--night); border-color: var(--lamp); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: .7rem .8rem; background: rgba(255, 255, 255, .09); border-radius: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mist); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.verbs { display: grid; gap: 0; }
.verbs li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line-dark); align-items: baseline; }
.verbs b { font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.verbs span { color: var(--mist); }

/* ---------- AI: dashboard builder ---------- */
.dash { background: var(--white); border: 1px solid var(--line); padding: 1.25rem; display: grid; gap: 1rem; }
.dash__ask { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .92rem; }
.dash__ask button { border: 1px dashed var(--navy); background: none; padding: .45rem .8rem .4rem; font-weight: 500; font-size: .9rem; transition: background .2s, color .2s; }
.dash__ask button:hover { background: var(--paper); }
.dash__ask button[disabled] { opacity: .35; cursor: default; border-style: solid; }
.dash__empty[hidden] { display: none; }
.dash__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; min-height: 250px; align-content: start; }
.widget { border: 1px solid var(--line); padding: 1rem; display: grid; gap: .6rem; align-content: start; background: var(--white); }
.widget h4 { font-family: var(--display); font-size: 1.1rem; line-height: 1.15; }
.widget table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.widget td { padding: .4rem .5rem .4rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.widget td:last-child { text-align: right; padding-right: 0; color: var(--slate); }
.widget.is-preview { border: 1.5px dashed var(--lamp); background: #fff9ee; }
.widget__gate { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; padding-top: .5rem; border-top: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.widget__gate div { display: flex; gap: .4rem; }
.widget__gate button { border: 1px solid var(--navy); background: none; padding: .35rem .8rem .3rem; font-size: .82rem; font-weight: 600; }
.widget__gate button[data-approve] { background: var(--navy); color: var(--white); }
.dash__empty { grid-column: 1 / -1; border: 1px dashed var(--line); display: grid; place-items: center; padding: 2rem; color: var(--slate); font-size: .92rem; text-align: center; }

/* ---------- AI: rules ---------- */
.rule { padding: 1.3rem 1.4rem; border: 1px solid var(--line-dark); display: grid; gap: .7rem; background: rgba(255, 255, 255, .03); position: relative; overflow: hidden; }
.rule::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--lamp); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.rule.is-run::after { transform: scaleY(1); }
.rule__when { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rule p { line-height: 1.45; }
.rule p b { color: var(--mist); font-weight: 500; }
.rule__log { font-size: .82rem; color: var(--lamp); min-height: 1.3em; opacity: 0; transition: opacity .4s; }
.rule.is-run .rule__log { opacity: 1; }

/* ---------- AI: modes ---------- */
.modes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.modes__list { display: grid; }
.mode { text-align: left; border: 0; border-top: 1px solid var(--line); background: none; padding: 1.2rem 0; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1; color: var(--slate); opacity: .55; transition: opacity .3s, color .3s, padding .4s var(--ease); }
.mode:last-child { border-bottom: 1px solid var(--line); }
.mode i { display: flex; gap: 3px; }
.mode i u { width: 7px; height: 22px; background: currentColor; opacity: .25; text-decoration: none; transform: skewX(-30deg); }
.mode i u.on { opacity: 1; }
.mode[aria-selected="true"] { color: var(--navy); opacity: 1; padding-left: 1rem; }
.modes__panel { background: var(--navy); color: var(--white); padding: clamp(1.75rem, 3.5vw, 3rem); display: grid; gap: 1.1rem; min-height: 270px; align-content: center; clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 34.6px, 100% 100%, 0 100%); }
.modes__panel p:first-of-type { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.15; }
.modes__panel small { color: var(--mist); font-size: .82rem; font-weight: 600; }

/* ---------- Dubai clock ---------- */
.dclock { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.dclock__list { display: grid; }
.dclock__btn { text-align: left; border: 0; border-top: 1px solid var(--line-dark); background: none; color: var(--white); padding: 1.3rem 0; display: grid; grid-template-columns: 8.5rem 1fr; gap: .3rem 1.25rem; opacity: .45; transition: opacity .3s; }
.dclock__btn:last-child { border-bottom: 1px solid var(--line-dark); }
.dclock__btn[aria-selected="true"] { opacity: 1; }
.dclock__btn b { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; grid-row: span 2; }
.dclock__btn strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; }
.dclock__btn span { color: var(--mist); font-size: .97rem; display: none; }
.dclock__btn[aria-selected="true"] span { display: block; }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.1; transition: padding .4s var(--ease); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows li:hover { padding-left: 1rem; }
.rows li::after { content: ""; width: 26px; height: 15px; background: currentColor; clip-path: polygon(0 100%, 100% 0, 100% 100%); opacity: .25; flex: none; }

/* ---------- departments index ---------- */
.dlist a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: 1.5rem 0; border-top: 1px solid var(--line); text-decoration: none; position: relative; transition: padding .45s var(--ease), background .3s; }
.dlist li:last-child a { border-bottom: 1px solid var(--line); }
.dlist a:hover { padding-inline: 1.25rem; background: var(--paper); }
.dlist__name { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -.02em; padding-top: .08em; }
.dlist__short { color: var(--slate); }
.dlist__metric { text-align: right; display: grid; gap: .1rem; min-width: 9rem; }
.dlist__metric strong { font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.dlist__metric span { font-size: .8rem; color: var(--slate); max-width: 14rem; justify-self: end; }
.metric-big { display: grid; gap: .3rem; justify-items: start; padding: 1.5rem 1.75rem; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); }
.metric-big strong { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .9; letter-spacing: -.035em; padding-top: .08em; color: var(--lamp); }
.metric-big span { color: var(--mist); max-width: 18em; }
.owns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.owns li { padding: 1.1rem 0; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.5rem); display: flex; gap: .9rem; align-items: baseline; }
.owns li::before { content: ""; flex: none; width: 16px; height: 9.2px; background: var(--navy); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); }
.pager a { background: var(--night); padding: 2rem var(--gutter); text-decoration: none; display: grid; gap: .3rem; transition: background .3s; }
.pager a:hover { background: var(--navy); }
.pager a:last-child { text-align: right; }
.pager small { color: var(--mist); }
.pager strong { font-family: var(--display); font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.1; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); }
.post { display: grid; gap: .7rem; padding: 2rem 0; border-top: 1px solid var(--line); text-decoration: none; align-content: start; }
.post[hidden] { display: none; }
.post__meta { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .85rem; color: var(--slate); align-items: center; }
.post h2 { transition: transform .45s var(--ease); }
.post:hover h2 { transform: translateX(10px); }
.post--lead { grid-column: 1 / -1; padding-bottom: 3rem; }
.post--lead h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: .96; max-width: 15em; font-family: var(--display); letter-spacing: -.022em; }
.article { max-width: 44rem; margin-inline: auto; }
.article section { margin-bottom: 2.75rem; display: grid; gap: 1.1rem; }
.article p { font-size: 1.12rem; line-height: 1.7; }
.checklist { background: var(--paper); padding: 1.5rem 1.6rem; display: grid; gap: .8rem; margin-top: .5rem; }
.checklist b { font-size: .88rem; color: var(--slate); }
.takeaway { background: var(--navy); color: var(--white); padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: .8rem; clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 34.6px, 100% 100%, 0 100%); }
.takeaway p { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.18; }
.takeaway small { color: var(--lamp); font-weight: 600; font-size: .88rem; }
.share { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .95rem; }
.share button { border: 0; background: none; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 2px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--lamp); transform-origin: left; transform: scaleX(0); z-index: 95; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
.person { display: grid; gap: .7rem; align-content: start; }
.person__face { width: 76px; aspect-ratio: 1 / 1.16; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.5rem; clip-path: polygon(0 24.9%, 50% 0, 100% 24.9%, 100% 100%, 0 100%); padding-top: 18px; transition: background .3s, color .3s; }
.person:hover .person__face { background: var(--lamp); color: var(--night); }
.person h3 { font-family: var(--display); font-size: 1.22rem; line-height: 1.1; }
.person p { font-size: .9rem; color: var(--slate); line-height: 1.4; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.form { display: grid; gap: 1.5rem; background: var(--white); color: var(--navy); padding: clamp(1.5rem, 3.5vw, 2.75rem); clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 34.6px, 100% 100%, 0 100%); }
.field { display: grid; gap: .45rem; }
.field > label, .field > legend { font-weight: 600; font-size: .95rem; padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; border: 0; border-bottom: 2px solid var(--line); background: var(--paper); padding: .85rem .9rem .75rem; font-size: 1.05rem; border-radius: 0; transition: border-color .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field textarea { min-height: 130px; resize: vertical; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; }
.opts span { display: block; padding: .6rem 1rem .5rem; border: 1px solid var(--line); font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.opts input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.opts input:focus-visible + span { outline: 2px solid var(--lamp); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form__status { padding: .9rem 1.1rem; font-weight: 500; background: var(--paper); border-left: 3px solid var(--navy); }
.form__status[hidden] { display: none; }
.form__status.is-error { border-color: #b3261e; }
.form.is-sent .form__fields { display: none; }
.form__fields { display: grid; gap: 1.5rem; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 44rem); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 2rem); font-size: .93rem; }
.toc b { display: block; margin-bottom: .8rem; }
.toc ol { counter-reset: t; display: grid; gap: .15rem; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 1.8rem 1fr; padding: .35rem 0; text-decoration: none; color: var(--slate); transition: color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-variant-numeric: tabular-nums; opacity: .6; }
.toc a:hover, .toc a.is-on { color: var(--navy); font-weight: 600; }
.prose section { padding: 0 0 2.75rem; display: grid; gap: 1rem; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; letter-spacing: -.015em; }
.prose h3 { font-family: var(--display); font-size: 1.25rem; }
.prose ul, .prose ol { display: grid; gap: .45rem; padding-left: 1.3rem; }
.prose ul { list-style: square; } .prose ol { list-style: decimal; }
.prose blockquote { border-left: 3px solid var(--lamp); padding: .3rem 0 .3rem 1.2rem; font-weight: 500; font-size: 1.1rem; }
.prose a { font-weight: 600; text-underline-offset: .25em; }
.prose .callouts { display: grid; gap: .6rem; }
.prose .callouts p { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; background: var(--paper); padding: .9rem 1.1rem; align-items: baseline; }
.prose .callouts strong { font-family: var(--display); font-size: 1.2rem; }
.prose .links a::after { content: " \2192"; }

/* ---------- week ---------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.week li { background: var(--paper); padding: .7rem .5rem .6rem; display: grid; gap: .15rem; font-size: .8rem; color: var(--slate); min-width: 0; }
.week b { font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--navy); }
.week small { font-size: .7rem; line-height: 1.2; }
.week .is-booked { background: var(--navy); color: var(--mist); } .week .is-booked b { color: var(--white); }
.week .is-maybe { background: var(--lamp); color: var(--night); outline: 2px dashed var(--navy); outline-offset: -2px; }

/* ---------- reveal states (only while JS + motion are on) ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(26px); }
.anim [data-reveal="left"] { transform: translateX(-40px); }
.anim [data-reveal="cut"] { opacity: 1; transform: none; clip-path: polygon(0 0, 0 0, -60% 100%, -60% 100%); }
.anim [data-stagger] > * { opacity: 0; transform: translateY(22px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .desk-chip { display: none; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav .btn { display: none; }
  .nav__toggle { display: block; }
  .hero { min-height: 0; }
  .hero__grid, .head--split, .grid-2, .days, .calc, .stay, .modes, .dclock, .contact, .legal, .phero--grid .phero__in { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .scene { height: 430px; min-height: 0; margin-bottom: 1.5rem; }
  .tower--back { display: none; }
  .tower--main .win:nth-child(n+43) { display: none; }
  .scene__clock { max-width: 60%; }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ledger li { border-bottom: 1px solid var(--line-dark); }
  .ledger li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .split { grid-template-columns: 1fr; }
  .split__side--keep, .split__side--run { padding: clamp(2rem, 6vw, 3rem) var(--gutter); }
  .split__side--run::before { inset: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .strip { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .desk { scroll-snap-align: center; }
  .strip__rail { display: none; }
  .days__sticky { position: static; }
  .days__num { font-size: clamp(4rem, 22vw, 7rem); }
  .dial { width: min(78%, 320px); }
  .hub { justify-self: center; width: min(100%, 380px); margin-top: 1rem; }
  .toc { position: static; }
  .posts { grid-template-columns: 1fr; }
  .dlist a { grid-template-columns: 1fr; gap: .5rem; }
  .dlist__metric { text-align: left; } .dlist__metric span { justify-self: start; }
  .owns { grid-template-columns: 1fr; }
  .phero__roof { opacity: .5; width: 80vw; }
  .vs thead { display: none; }
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; width: 100%; }
  .vs tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .vs th, .vs td, .vs tbody th { border: 0; padding: .15rem 0; width: 100%; }
  .vs td::before { content: attr(data-label) ": "; font-weight: 500; color: var(--slate); font-size: .85rem; display: block; margin-top: .45rem; }
  .vs td:last-child { padding-left: .8rem; }
  .lane { grid-template-columns: 1fr; } .lane b { grid-row: auto; } .lane p { grid-column: 1; }
  .dclock__btn { grid-template-columns: 6.5rem 1fr; }
  .dash__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .feed { width: 78%; }
  .pager { grid-template-columns: 1fr; } .pager a:last-child { text-align: left; }
  .tower--slope { display: none; }
  .verbs li { grid-template-columns: 5rem 1fr; }
  .steps > li { grid-template-columns: 2.4rem 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .wipe { display: none; }
}
@media print { .nav, .wipe, .menu, .progress { display: none; } }
