/* Xhulio Selenica — v3
   Direction: Starlink minimalism, same system as nucleustrade.ai. Pure black, white type,
   grey tails, no colour accent. Light Barlow for display, Barlow Semi Condensed for labels. */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #000;
  --bg-2: #0A0A0B;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .3);
  --text: #F4F5F6;
  --soft: #BFC3C8;
  --muted: #868B92;
  --accent: #F4F5F6;
  --accent-ink: #000;
  --accent-soft: rgba(255, 255, 255, .07);
  --panel: #0A0A0B;
  --warn: #FF8A7A;
  color-scheme: dark;
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --label: "Barlow Semi Condensed", "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-weight: 400; font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); font-weight: 400; }
.accent { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Labels: the tracked, uppercase voice of the page */
.label {
  font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--accent); }

/* Buttons: thin, rectangular, uppercase */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  min-height: 50px; padding: 0 30px; border: 1px solid var(--line-2); border-radius: 2px;
  font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--text); background: transparent; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { color: #000; border-color: var(--text); }
.btn:hover::before { transform: none; }
.btn--primary { border-color: var(--text); color: #000; background: var(--text); }
.btn--primary::before { background: var(--bg); }
.btn--primary:hover { border-color: var(--text); color: var(--text); }
.btn__arr { display: inline-block; margin-left: 12px; font-size: 1.15em; letter-spacing: 0; line-height: 1; transition: transform .5s var(--ease); }
.btn:hover .btn__arr--ne { transform: translate(3px, -3px); }
.btn:hover .btn__arr--down { transform: translateY(4px); }
.magnetic { will-change: transform; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 76px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav__logo { font-family: var(--font); font-weight: 600; font-size: 15px; letter-spacing: .32em; text-decoration: none; }
.nav__links { display: flex; gap: 40px; }
.nav__links a {
  position: relative; font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--soft); padding: 6px 0;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px var(--gutter) 150px; overflow: hidden; isolation: isolate; }

.hero__inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.hero__title {
  font-family: var(--font); font-weight: 400; text-transform: uppercase; letter-spacing: -.005em;
  font-size: clamp(34px, 4.5vw, 68px); line-height: 1.02; margin: 0 0 30px;
}
.hero__title .tail { color: var(--muted); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__lead { max-width: 560px; margin: 0 0 40px; color: var(--soft); font-weight: 300; font-size: clamp(17px, 1.6vw, 20px); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 40px; margin: 0 auto; max-width: var(--wrap); padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 14px;
}
.hero__foot p { margin: 0; font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); display: flex; align-items: center; gap: 10px; }
.hero__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); flex-shrink: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 40px; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: 0; width: 1px; height: 22px; background: var(--text); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-24px); } to { transform: translateY(70px); } }

/* Galaxy + HUD */
.hero__galaxy { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero__shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .25) 42%, transparent 64%), linear-gradient(0deg, #000 0%, transparent 22%); }
.hud { position: absolute; inset: 96px var(--gutter) 30px; z-index: -1; pointer-events: none; font-family: var(--label); font-weight: 500; font-size: 11px; line-height: 1.7; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 1.6s var(--ease) 1.4s; }
.is-ready .hud { opacity: 1; }
.hud b { font-weight: 500; color: var(--soft); }
.hud__c { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(255, 255, 255, .35); }
.hud__c--tl { left: 0; top: 0; border-width: 1px 0 0 1px; }
.hud__c--tr { right: 0; top: 0; border-width: 1px 1px 0 0; }
.hud__c--bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.hud__c--br { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.hud__tl { position: absolute; left: 28px; top: 18px; }
.hud__tr { position: absolute; right: 28px; top: 18px; text-align: right; }
.hud__ruler { position: absolute; right: 0; top: 24%; bottom: 24%; width: 12px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .28) 0 1px, transparent 1px 12px) right / 6px 100% no-repeat, repeating-linear-gradient(180deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 60px) right / 12px 100% no-repeat; }
.hud__mark { position: absolute; right: 18px; top: 50%; display: flex; align-items: center; gap: 8px; white-space: nowrap; transform: translateY(-50%); color: var(--soft); }
.hud__mark::after { content: ""; width: 10px; height: 1px; background: var(--text); }
.reticle { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); will-change: transform; }
.reticle.is-on { opacity: 1; }
.reticle__ring { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; }
.reticle__ring::before, .reticle__ring::after { content: ""; position: absolute; background: rgba(255, 255, 255, .55); }
.reticle__ring::before { left: 50%; top: -9px; bottom: -9px; width: 1px; }
.reticle__ring::after { top: 50%; left: -9px; right: -9px; height: 1px; }
.reticle__read { position: absolute; left: 28px; top: 14px; white-space: nowrap; font-family: var(--label); font-weight: 500; font-size: 11px; line-height: 1.65; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.reticle__read b { font-weight: 500; color: var(--text); }
.hero.has-reticle { cursor: none; }
.hero.has-reticle a, .hero.has-reticle button { cursor: pointer; }

/* Intro reveals (hero) */
.js .js-in { display: inline-block; opacity: 0; transform: translateY(105%); }
.js p.js-in, .js div.js-in { display: block; transform: translateY(24px); }
.js .cta.js-in, .js .hero__foot.js-in { display: flex; }
.is-ready .js-in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d) * 110ms + 500ms); }

/* Scenes */
.scene { position: relative; padding: clamp(110px, 15vw, 190px) 0; }
.scene + .scene { border-top: 1px solid var(--line); }
.scene__head { margin-bottom: clamp(56px, 8vw, 96px); }
h2 { font-family: var(--font); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(34px, 5.2vw, 72px); line-height: .98; margin: 0; }
h3 { font-family: var(--font); font-weight: 500; font-size: 22px; line-height: 1.25; margin: 0 0 8px; letter-spacing: .01em; }
h4 { font-weight: 500; font-size: 17px; margin: 0 0 10px; }

/* Split-word headings */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.split.is-in .w > span { transform: none; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Stats */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 44px 32px 40px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.stat:nth-child(3n+2), .stat:nth-child(3n+3) { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font); font-weight: 300; font-size: clamp(52px, 7vw, 96px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; transition: color .4s; }
.stat:hover .stat__num { color: var(--accent); }
.stat__label { font-family: var(--label); font-weight: 500; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 26ch; line-height: 1.45; }

/* Services */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service { position: relative; padding: 48px 40px 48px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.service:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line); }
.service::before {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); transform: skewX(-20deg); opacity: 0;
}
.service:hover::before { animation: beam 1.2s var(--ease) forwards; }
@keyframes beam { 0% { left: -40%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
.service__n { display: block; font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--muted); margin-bottom: 32px; }
.service p { margin: 0; color: var(--soft); font-weight: 300; max-width: 40ch; }

.approach { margin-top: 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step__k { display: flex; align-items: center; gap: 14px; font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 10px; }
.step__k::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.step p { margin: 0; color: var(--soft); font-weight: 300; }

/* Experience */
.timeline { position: relative; padding-left: 48px; }
.timeline__rail { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__rail span { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 0; transform: scaleY(0); box-shadow: 0 0 10px var(--accent); }
.job { position: relative; padding: 0 0 64px; }
.job::before { content: ""; position: absolute; left: -48px; top: 8px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); transition: border-color .6s var(--ease), box-shadow .6s var(--ease); }
.job.is-in::before { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.job__date { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin: 0 0 12px; }
.job__sub { color: var(--muted); margin: 0 0 22px; font-weight: 300; }
.job__sub a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.role { padding: 22px 0 6px; border-top: 1px solid var(--line); max-width: 820px; }
.job ul { margin: 0 0 14px; padding-left: 18px; color: var(--soft); font-weight: 300; }
.job li { margin-bottom: 6px; }
.job li::marker { color: var(--muted); }

.tools { margin-top: 40px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tools__track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.tools__track span { font-family: var(--label); font-weight: 500; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tools:hover .tools__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Contact */
.contact { overflow: hidden; }
.contact__horizon { position: absolute; left: -10%; right: -10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6; box-shadow: 0 0 30px 2px rgba(255, 255, 255, .1); }
.contact__title { font-size: clamp(64px, 14vw, 200px); line-height: .88; margin: 0 0 clamp(56px, 8vw, 96px); }
.fill-text { position: relative; display: inline-block; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
.fill-text::before {
  content: attr(data-text); position: absolute; inset: 0; color: var(--text); -webkit-text-stroke: 0;
  clip-path: inset(0 calc(100% - var(--fill, 0%)) 0 0); transition: clip-path .1s linear;
}
.no-js .fill-text { color: var(--text); -webkit-text-stroke: 0; }

.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 64px; border-top: 1px solid var(--line); }
.contact__grid > div { padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); }
.contact__grid dt { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact__grid dd { margin: 0; font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contact__grid dd a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__grid dd a:hover { background-size: 100% 1px; }
.copy { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--line-2); border-radius: 2px; padding: 6px 12px; min-height: 32px; cursor: pointer; }
.copy:hover { color: var(--text); border-color: var(--text); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: #000; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 12px 20px; transition: all .4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }


/* Booking panel: Starlink-style order drawer */
.is-locked, .is-locked body { overflow: hidden; }
.book { position: fixed; inset: 0; z-index: 90; }
.book__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.book__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(620px, 100%); display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .7s var(--ease); }
.book.is-open .book__scrim { opacity: 1; }
.book.is-open .book__panel { transform: none; }
.book__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(16px + env(safe-area-inset-top, 0px)) max(40px, env(safe-area-inset-right, 0px)) 16px 40px; border-bottom: 1px solid var(--line); }
.book__head .label { margin: 0; }
.book__close { position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; margin-right: -10px; }
.book__close span { position: absolute; left: 11px; right: 11px; top: 50%; height: 1px; background: var(--text); transform: rotate(45deg); transition: transform .4s var(--ease); }
.book__close span + span { transform: rotate(-45deg); }
.book__close:hover span { transform: rotate(135deg); }
.book__close:hover span + span { transform: rotate(45deg); }
.book__form, .book__done { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.book__body { display: grid; gap: 40px; padding: 40px max(40px, env(safe-area-inset-right, 0px)) 48px 40px; }
.book__title { margin: 0; font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; outline: none; }
.book__note { margin: 14px 0 0; max-width: 46ch; color: var(--muted); font-size: 15px; line-height: 1.55; }
.book__hint { margin: 0; color: var(--muted); font-size: 15px; }
.book fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.book legend, .field label { padding: 0; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.book legend { margin-bottom: 14px; }
.book .reveal-in { animation: bookIn .5s var(--ease) both; }
@keyframes bookIn { from { opacity: 0; transform: translateY(8px); } }

/* Selectable tiles (real radios underneath) */
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt__face { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 2px; transition: border-color .3s var(--ease), background .3s var(--ease); }
.opt:hover .opt__face { border-color: var(--soft); }
.opt input:checked + .opt__face { border-color: var(--accent); background: var(--accent-soft); }
.opt input:focus-visible + .opt__face { outline: 2px solid var(--accent); outline-offset: 3px; }
.opt input:disabled + .opt__face { opacity: .3; cursor: not-allowed; }
.opt__face b { font-weight: 500; font-size: 17px; }
.opt__face small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.days .opt__face { justify-items: center; gap: 2px; padding: 12px 4px; }
.day__dow, .day__mon { font-family: var(--label); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.day__num { font-size: 26px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.opt input:checked + .opt__face .day__dow, .opt input:checked + .opt__face .day__mon { color: var(--accent); }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slots .opt__face { justify-items: center; padding: 13px 4px; }
.slot__t { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.slot__home { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Fields: underline inputs */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; resize: vertical; transition: border-color .3s var(--ease); }
.field textarea { min-height: 84px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field.is-bad input { border-bottom-color: var(--warn); }
.field__err { color: var(--warn); font-size: 13px; }

.book__foot { position: sticky; bottom: 0; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px max(40px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) 40px; border-top: 1px solid var(--line); background: var(--panel); }
.book__sum { margin: 0; min-width: 0; color: var(--soft); font-size: 15px; line-height: 1.4; }
.book__sum.is-bad { color: var(--warn); }
.book__foot .btn { flex-shrink: 0; }

/* Done state */
.done__mark { position: relative; width: 56px; height: 56px; border: 1px solid var(--accent); border-radius: 50%; animation: markIn .7s var(--ease) both; }
.done__mark::after { content: ""; position: absolute; left: 20px; top: 15px; width: 12px; height: 21px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes markIn { from { transform: scale(.6); opacity: 0; } }
.done__list { margin: 0; display: grid; border-top: 1px solid var(--line); }
.done__list div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.done__list dt { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.done__list dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.done__list dd small { display: block; color: var(--muted); font-size: 14px; }
.done__cal { display: grid; gap: 14px; padding-top: 4px; }
.done__cal .label { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { opacity: .7; cursor: progress; }
.done__more { display: flex; flex-wrap: wrap; gap: 24px; }
.linkbtn { padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); color: var(--soft); font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: color .3s, border-color .3s; }
.linkbtn:hover { color: var(--text); border-color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat:nth-child(3n+2), .stat:nth-child(3n+3) { padding: 36px 24px 32px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 8px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
  .nav__toggle span { display: block; height: 1px; background: var(--text); transition: transform .4s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__links { position: fixed; inset: 76px 0 auto 0; z-index: 59; flex-direction: column; gap: 26px; padding: 32px var(--gutter) 40px; background: #000; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .4s var(--ease); }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 40px 0; border-left: 0; }
  .approach { grid-template-columns: 1fr; gap: 28px; }
  .timeline { padding-left: 34px; }
  .job::before { left: -34px; }
  .hero { padding-bottom: 170px; justify-content: flex-end; }
  .hero__foot { bottom: 32px; }
  .scroll-cue { display: none; }
  .hero__shade { background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .7) 40%, transparent 70%); }
  .hud { inset: 88px var(--gutter) 24px; font-size: 10px; letter-spacing: .16em; }
  .hud__tl { left: 22px; top: 14px; }
  .hud__tr { right: 22px; top: 14px; }
  .hud__ruler, .reticle { display: none; }
}
@media (max-width: 540px) {
  body { font-size: 17px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(even) { padding: 30px 0; border-left: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .footer__inner { flex-direction: column; }
  .nav__logo { font-size: 13px; letter-spacing: .26em; }
  .hero__foot p { font-size: 12px; letter-spacing: .1em; }
  .book__head { padding-left: 20px; padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .book__body { gap: 34px; padding: 28px max(20px, env(safe-area-inset-right, 0px)) 36px max(20px, env(safe-area-inset-left, 0px)); }
  .book__foot { flex-direction: column; align-items: stretch; gap: 12px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .types, .fields { grid-template-columns: 1fr; }
  .days { gap: 6px; }
  .day__num { font-size: 22px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .done__list div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .js-in, .js .reveal, .split .w > span { opacity: 1 !important; transform: none !important; }
  .fill-text { --fill: 100%; }
}
