/* ==========================================================================
   POWERHOUSE DIGITAL — design system + site
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  /* Palette */
  --ink: #0A0A0B;
  --ink-2: #111214;
  --graphite: #17181B;
  --steel: #8A8F98;
  --bone: #EDEBE6;
  --paper: #F7F6F2;
  --volt: #D7FF3A;
  --line: rgba(237, 235, 230, .12);
  --line-2: rgba(237, 235, 230, .24);
  --line-ink: rgba(10, 10, 11, .14);

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(.7, 0, .2, 1);       /* Power ease: transitions */
  --ease-out: cubic-bezier(.16, 1, .3, 1);  /* Surge: reveals */

  /* Layout */
  --g: clamp(16px, 4vw, 56px);
  --nav-h: 76px;
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--volt); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
::selection { background: var(--volt); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Primitives ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.label { display: inline-flex; align-items: center; gap: 12px; color: var(--steel); }
.label::before { content: ""; width: 8px; height: 8px; background: var(--volt); flex: none; }
.on-light .label { color: #55585E; }
.on-light .label::before { background: var(--ink); }

.display {
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .88;
}
.h2 {
  margin: 22px 0 0;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(38px, 6.4vw, 112px);
  line-height: .9;
  letter-spacing: -.035em;
}
.volt { color: var(--volt); }

.mark { width: 34px; height: 34px; overflow: visible; }
.mark path { fill: none; stroke: currentColor; stroke-width: 9; }

/* Buttons */
.btn {
  --btn-bg: transparent; --btn-fg: var(--bone); --btn-hover: var(--bone); --btn-hover-fg: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease-out), border-color .5s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--btn-hover); border-radius: inherit;
  transform: translateY(102%); transition: transform .6s var(--ease-out);
}
.btn:hover { color: var(--btn-hover-fg); border-color: var(--btn-hover); }
.btn:hover::before { transform: translateY(0); }
.btn--volt { --btn-bg: var(--volt); --btn-fg: var(--ink); --btn-hover: var(--bone); border-color: var(--volt); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--bone); --btn-hover: var(--volt); border-color: var(--ink); }
.btn__arrow { width: 14px; height: 14px; transition: transform .6s var(--ease-out); }
.btn:hover .btn__arrow { transform: rotate(-45deg); }
.btn[disabled] { opacity: .35; pointer-events: none; }

.roll { display: block; position: relative; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.roll > span { display: block; transition: transform .6s var(--ease-out); }
.roll > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-100%); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
}
.no-js .loader, .reduce .loader { display: none; }
.loader__mark { width: 96px; height: 96px; color: var(--volt); }
.loader__count {
  position: absolute; left: var(--g); bottom: 18px;
  font-weight: 800; font-stretch: 125%; line-height: .8; letter-spacing: -.04em;
  font-size: clamp(72px, 14vw, 220px);
  font-variant-numeric: tabular-nums;
}
.loader__meta { position: absolute; right: var(--g); bottom: 32px; text-align: right; color: var(--steel); display: grid; gap: 6px; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--volt); transform-origin: left; transform: scaleX(0); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--volt); }
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(237,235,230,.35);
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background .3s, border-color .3s;
}
.cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--volt); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--volt); border-color: var(--volt); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-light .cursor__ring { border-color: rgba(10,10,11,.4); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--g);
  transition: transform .7s var(--ease), background-color .4s, color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-hidden { transform: translateY(-105%); }
.nav.is-solid { background: rgba(10,10,11,.62); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__brand .mark { color: var(--volt); transition: color .4s, transform .8s var(--ease); }
.nav__brand:hover .mark { transform: rotate(360deg); }
.nav__word { display: flex; flex-direction: column; font-weight: 800; font-stretch: 125%; font-size: 15px; line-height: 1; letter-spacing: .01em; }
.nav__word small { font-family: var(--f-mono); font-weight: 400; font-stretch: 100%; font-size: 9px; letter-spacing: .5em; color: var(--steel); margin-top: 5px; transition: color .4s; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { color: var(--steel); transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--bone); }
.nav__cta { height: 44px; padding: 0 20px; }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__menu span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.nav__menu span:nth-child(1) { top: 17px; }
.nav__menu span:nth-child(2) { top: 25px; }
.menu-open .nav__menu span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav__menu span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.nav__progress i { display: block; height: 100%; background: var(--volt); transform-origin: left; transform: scaleX(0); }

.menu-open .nav { color: var(--ink); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav__brand .mark { color: var(--ink); }
.menu-open .nav__word small { color: rgba(10,10,11,.6); }
.menu-open .nav__menu { border-color: rgba(10,10,11,.3); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--volt); color: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--g) 32px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__links a { display: block; overflow: hidden; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; font-size: clamp(44px, 13vw, 96px); }
.menu__links a span { display: block; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-ink); padding-top: 16px; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: block; }
}

/* ---------- Layout shell ---------- */
.site { position: relative; z-index: 2; background: var(--ink); }
.footer-fixed .site { border-radius: 0 0 var(--r) var(--r); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.section { position: relative; padding: clamp(96px, 16vh, 200px) var(--g); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 72px) var(--g) 36px;
  overflow: hidden;
}
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__field.is-fallback { background: radial-gradient(60% 60% at 70% 35%, rgba(215,255,58,.12), transparent 70%); }
.hero__cols {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: grid; grid-template-columns: repeat(12, 1fr); padding: 0 var(--g);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero__cols i { border-left: 1px solid rgba(237,235,230,.045); }
.hero__cols i:last-child { border-right: 1px solid rgba(237,235,230,.045); }
.hero__meta {
  position: absolute; z-index: 2; top: calc(var(--nav-h) + 22px); left: var(--g); right: var(--g);
  display: flex; justify-content: space-between; gap: 16px; color: var(--steel);
}
.hero__meta b { color: var(--bone); font-weight: 400; }
.hero__inner { position: relative; z-index: 2; will-change: transform; }
.hero__title { margin: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.04em; line-height: .84; font-size: 11vw; }
.hero__title .line { display: block; overflow: hidden; padding: .02em 0 .04em; margin-bottom: -.04em; white-space: nowrap; }
.hero__title .line--r { text-align: right; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__foot {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); align-items: end; gap: 32px;
  margin-top: clamp(28px, 5vh, 56px); padding-top: 24px; border-top: 1px solid var(--line);
}
.hero__lede { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.4; color: var(--bone); }
.hero__lede span { color: var(--steel); }
.hero__scroll { justify-self: end; display: flex; align-items: center; gap: 14px; color: var(--steel); }
.hero__scroll i { position: relative; width: 1px; height: 44px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--volt); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

@media (max-width: 760px) {
  .hero__foot { grid-template-columns: 1fr; gap: 22px; }
  .hero__scroll { display: none; }
  .hero__meta .hide-sm { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 14vh 0; overflow: hidden; }
.marquee__band { position: relative; width: 112vw; margin-left: -6vw; }
.marquee__band--volt { z-index: 2; background: var(--volt); color: var(--ink); transform: rotate(-3deg); padding: 20px 0; }
.marquee__band--ghost { position: absolute; z-index: 1; left: 0; top: 50%; transform: translateY(-50%) rotate(2.5deg); color: transparent; -webkit-text-stroke: 1px rgba(237,235,230,.28); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); }
.marquee__group span { font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(30px, 4.6vw, 72px); line-height: 1; white-space: nowrap; }
.marquee__group svg { width: clamp(20px, 2.4vw, 36px); height: auto; flex: none; }
.marquee__band--ghost svg path { fill: none; stroke: rgba(237,235,230,.28); stroke-width: 1; }

/* ---------- Manifesto ---------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }
.manifesto__text { margin: 0; font-weight: 600; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.04; font-size: clamp(30px, 4.3vw, 72px); }
.manifesto__text em { font-style: normal; color: var(--volt); }
.manifesto__text .word { display: inline-block; }
.manifesto__sign { margin-top: 40px; display: flex; gap: 24px; color: var(--steel); }
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; } }

/* ---------- Services (horizontal) ---------- */
.services { position: relative; padding-top: clamp(80px, 12vh, 160px); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 0 var(--g) 6vh; }
.services__head p { margin: 0; max-width: 36ch; color: var(--steel); font-size: 17px; }
.services__pin { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.services__track { display: flex; gap: 24px; padding: 0 var(--g); width: max-content; will-change: transform; }
.svc {
  position: relative; flex: 0 0 min(1180px, 84vw); height: min(74vh, 700px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.svc__body { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 56px); min-height: 0; }
.svc__top { display: flex; justify-content: space-between; color: var(--steel); }
.svc__top b { color: var(--volt); font-weight: 400; }
.svc h3 { margin: auto 0 14px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.035em; line-height: .88; font-size: clamp(40px, 3.9vw, 76px); }
.svc__lede { margin: 0 0 12px; font-size: clamp(19px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.svc__copy { margin: 0; color: var(--steel); max-width: 44ch; }
.svc__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.svc__list li { border-top: 1px solid var(--line); padding: 11px 0; display: flex; gap: 10px; }
.svc__list li::before { content: "+"; color: var(--volt); }
.svc__visual { position: relative; border-left: 1px solid var(--line); background: #0D0E10; overflow: hidden; }
.svc--volt { background: var(--volt); color: var(--ink); border-color: var(--volt); grid-template-columns: 1fr; }
.svc--volt .svc__top { color: rgba(10,10,11,.6); }
.svc--volt h3 { font-size: clamp(48px, 7.4vw, 132px); }
.svc--volt .svc__copy { color: rgba(10,10,11,.72); font-size: 19px; }
.services__bar { position: absolute; left: var(--g); right: var(--g); bottom: 4.5vh; display: flex; align-items: center; gap: 16px; color: var(--steel); }
.services__bar span:first-child { color: var(--bone); }
.services__bar i { position: relative; flex: 1; height: 1px; background: var(--line); }
.services__bar i b { position: absolute; inset: 0; background: var(--volt); transform-origin: left; transform: scaleX(0); }

@media (max-width: 899px) {
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__pin { height: auto; display: block; overflow: visible; }
  .services__track { flex-direction: column; gap: 16px; width: auto; }
  .svc { flex: none; width: 100%; height: auto; grid-template-columns: 1fr; }
  .svc h3 { margin-top: 48px; font-size: clamp(30px, 9.4vw, 56px); }
  .svc__visual { height: 320px; border-left: 0; border-top: 1px solid var(--line); }
  .svc__list { grid-template-columns: 1fr; }
  .svc--volt { min-height: 60vh; }
  .services__bar { display: none; }
}

/* Visual 01 — browser */
.vz-browser { position: absolute; left: 9%; right: -12%; top: 13%; bottom: 13%; border-radius: 16px; background: #15161A; border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0,0,0,.5); overflow: hidden; }
.vz-browser__bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.vz-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(237,235,230,.18); }
.vz-browser__url { margin-left: 14px; flex: 0 1 60%; height: 22px; border-radius: 6px; background: rgba(237,235,230,.06); color: var(--steel); font-family: var(--f-mono); font-size: 10.5px; display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.vz-browser__url::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); }
.vz-page { padding: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.vz-hero-blk { grid-column: 1 / -1; height: 92px; border-radius: 10px; background: linear-gradient(120deg, #22242A, #1A1B1F); position: relative; overflow: hidden; }
.vz-hero-blk::after { content: ""; position: absolute; left: 18px; top: 22px; width: 46%; height: 14px; border-radius: 3px; background: rgba(237,235,230,.5); box-shadow: 0 24px 0 -2px rgba(237,235,230,.18), 0 44px 0 -2px rgba(237,235,230,.12); }
.vz-lines i { display: block; height: 9px; border-radius: 3px; background: rgba(237,235,230,.1); margin-bottom: 10px; }
.vz-lines i:nth-child(2) { width: 82%; } .vz-lines i:nth-child(3) { width: 64%; } .vz-lines i:nth-child(4) { width: 74%; }
.vz-book { border-radius: 12px; border: 1px solid var(--line-2); background: #1B1C21; padding: 14px; }
.vz-book__t { font-family: var(--f-mono); font-size: 10px; color: var(--steel); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.vz-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vz-slots i { height: 22px; border-radius: 6px; border: 1px solid var(--line-2); font-style: normal; font-family: var(--f-mono); font-size: 9.5px; color: var(--steel); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.vz-slots i.is-on { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.vz-pay { margin-top: 10px; height: 26px; border-radius: 99px; background: var(--bone); color: var(--ink); font-family: var(--f-mono); font-size: 9.5px; display: grid; place-items: center; text-transform: uppercase; letter-spacing: .06em; }
.vz-toast { position: absolute; right: 16%; bottom: 7%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--volt); color: var(--ink); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 20px 40px rgba(0,0,0,.4); opacity: 0; }
.vz-toast svg { width: 16px; height: 16px; }
.vz-cursor { position: absolute; left: 60%; top: 60%; width: 18px; height: 18px; z-index: 3; }

/* Visual 02 — growth chart */
.vz-chart { position: absolute; inset: 12% 8% 16% 8%; }
.vz-chart svg { width: 100%; height: 100%; overflow: visible; }
.vz-chart .grid line { stroke: rgba(237,235,230,.07); }
.vz-chart .area { fill: url(#voltFade); }
.vz-chart .curve { fill: none; stroke: var(--volt); stroke-width: 2.5; }
.vz-chart .ghost { fill: none; stroke: rgba(237,235,230,.25); stroke-width: 1.5; stroke-dasharray: 4 6; }
.vz-chart .pt { fill: var(--ink); stroke: var(--volt); stroke-width: 2.5; }
.vz-chips { position: absolute; left: 8%; right: 8%; bottom: 6%; display: flex; gap: 8px; flex-wrap: wrap; }
.vz-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--bone); background: rgba(10,10,11,.6); }
.vz-chip b { color: var(--volt); font-weight: 400; }
.vz-tag { position: absolute; top: 8%; left: 8%; color: var(--steel); }

/* Visual 03 — identity construction */
.vz-id { position: absolute; inset: 0; display: grid; place-items: center; }
.vz-id svg { width: min(78%, 420px); height: auto; overflow: visible; }
.vz-id .guide { fill: none; stroke: rgba(237,235,230,.16); stroke-width: .35; }
.vz-id .guide-dash { stroke-dasharray: 1.2 1.6; }
.vz-id .m { fill: none; stroke: var(--volt); stroke-width: 9; }
.vz-id .dim { font-family: var(--f-mono); font-size: 2.6px; fill: var(--steel); letter-spacing: .1em; }
.vz-swatches { position: absolute; left: 8%; bottom: 7%; display: flex; gap: 8px; }
.vz-swatches i { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); }

/* ---------- Engine (booking demo) ---------- */
.engine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.engine__copy p { color: var(--steel); font-size: 18px; max-width: 42ch; margin: 28px 0 0; }
.engine__copy p strong { color: var(--bone); font-weight: 600; }
.engine__points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; max-width: 520px; }
.engine__points li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.engine__points li span:last-child { color: var(--volt); }

.book {
  position: relative; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-2);
  padding: clamp(20px, 2.6vw, 36px); box-shadow: 0 60px 120px rgba(0,0,0,.45);
  overflow: hidden;
}
.book::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(215,255,58,.12), transparent 65%); pointer-events: none; }
.book__top { position: relative; display: flex; justify-content: space-between; color: var(--steel); }
.book__live { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); }
.book__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 rgba(215,255,58,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(215,255,58,0); } 100% { box-shadow: 0 0 0 0 rgba(215,255,58,0); } }
.book__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 26px; color: var(--steel); }
.book__steps span { padding-top: 10px; border-top: 2px solid var(--line); transition: color .4s, border-color .4s; }
.book__steps span.is-on { color: var(--bone); border-color: var(--volt); }
.book__stage { position: relative; display: grid; min-height: 360px; }
.book__pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; display: flex; flex-direction: column; }
.book__pane.is-active { opacity: 1; visibility: visible; }
.book__pane h4 { margin: 0 0 16px; font-weight: 700; font-stretch: 112%; font-size: 24px; letter-spacing: -.02em; }
.opt {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 18px 20px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--line-2);
  transition: border-color .3s, background .3s, transform .4s var(--ease-out);
}
.opt:hover { border-color: var(--volt); transform: translateX(4px); }
.opt.is-on { border-color: var(--volt); background: rgba(215,255,58,.08); }
.opt strong { font-weight: 600; font-size: 17px; }
.opt span { color: var(--steel); }
.opt em { font-style: normal; color: var(--volt); }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.day, .slot { border-radius: 12px; border: 1px solid var(--line-2); padding: 10px 6px; text-align: center; transition: background .3s, color .3s, border-color .3s; }
.day b { display: block; font-size: 20px; font-weight: 700; font-stretch: 112%; line-height: 1.1; }
.day small, .slot { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--steel); }
.day:hover, .slot:hover { border-color: var(--volt); }
.day.is-on, .slot.is-on { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.day.is-on small, .day.is-on b { color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 12px 6px; color: var(--bone); }
.slot[disabled] { opacity: .3; text-decoration: line-through; pointer-events: none; }
.book__row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.book__row span:first-child { color: var(--steel); }
.book__row--big { border-bottom: 0; padding-top: 18px; }
.book__row--big span:last-child { color: var(--volt); font-weight: 800; font-stretch: 125%; font-size: 30px; line-height: 1; }
.book__actions { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.book__back { color: var(--steel); }
.book__back:hover { color: var(--bone); }
.book__note { margin-top: 12px; color: var(--steel); font-size: 13px; }
.book__done { align-items: flex-start; justify-content: center; }
.book__check { width: 84px; height: 84px; margin-bottom: 22px; }
.book__check circle { fill: var(--volt); }
.book__check path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.book__done h4 { font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; }
.book__done p { margin: 0 0 6px; color: var(--steel); }
.book__spark { position: absolute; width: 6px; height: 6px; background: var(--volt); border-radius: 1px; pointer-events: none; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(10,10,11,.25); border-top-color: var(--ink); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) { .engine { grid-template-columns: 1fr; } }

/* ---------- Standards ---------- */
.standards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 0; padding-bottom: clamp(80px, 12vh, 160px); }
.std { padding: 32px 24px 0 0; border-right: 1px solid var(--line); }
.std:not(:first-child) { padding-left: 24px; }
.std:last-child { border-right: 0; }
.std__n { display: block; font-weight: 800; font-stretch: 125%; letter-spacing: -.04em; line-height: .9; font-size: clamp(54px, 6.4vw, 112px); font-variant-numeric: tabular-nums; }
.std__n sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; color: var(--volt); margin-left: .05em; }
.std p { margin: 16px 0 0; color: var(--steel); max-width: 24ch; }
@media (max-width: 900px) {
  .standards { grid-template-columns: 1fr 1fr; }
  .std { padding: 28px 16px 28px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .std:nth-child(even) { padding-left: 16px !important; border-left: 1px solid var(--line); }
}

/* ---------- Process (light) ---------- */
.process { background: var(--bone); color: var(--ink); will-change: clip-path; }
.process__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.process__head p { margin: 0; justify-self: end; max-width: 40ch; color: #55585E; font-size: 17px; }
.process__cards { margin-top: clamp(48px, 9vh, 110px); }
.pcard {
  --i: 0;
  position: sticky; top: calc(var(--nav-h) + 3vh + var(--i) * 26px);
  min-height: min(64vh, 560px); margin-bottom: 7vh;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px;
  padding: clamp(24px, 3.6vw, 56px); border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line-ink);
  transform-origin: 50% 0; will-change: transform;
}
.pcard:last-child { margin-bottom: 0; }
.pcard--ink { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pcard--volt { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.pcard__n { font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .78; font-size: clamp(110px, 17vw, 300px); color: transparent; -webkit-text-stroke: 1.5px var(--ink); align-self: end; }
.pcard--ink .pcard__n { -webkit-text-stroke-color: var(--volt); }
.pcard__body { display: flex; flex-direction: column; }
.pcard__body .mono { opacity: .6; }
.pcard h3 { margin: auto 0 14px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; font-size: clamp(40px, 5vw, 84px); }
.pcard p { margin: 0; max-width: 46ch; font-size: 18px; opacity: .8; }
.pcard ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pcard li { padding: 8px 14px; border-radius: 99px; border: 1px solid currentColor; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
@media (max-width: 900px) {
  .process__head { grid-template-columns: 1fr; }
  .process__head p { justify-self: start; }
  .pcard { grid-template-columns: 1fr; top: calc(var(--nav-h) + 8px + var(--i) * 14px); min-height: 0; }
  .pcard__n { font-size: 96px; order: -1; }
  .pcard h3 { margin-top: 24px; }
}

/* ---------- CTA ---------- */
.cta { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(64px, 10vh, 120px); }
.cta__wrap { position: relative; margin-top: 32px; }
.cta__title { margin: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.045em; line-height: .84; font-size: clamp(40px, 9.2vw, 190px); }
.cta__title .line { display: block; overflow: hidden; padding-bottom: .03em; white-space: nowrap; }
.cta__title .line:nth-child(2) { padding-left: .5em; }
.cta__title .char { display: inline-block; }
.cta__btn {
  position: absolute; right: 2%; bottom: 0;
  width: clamp(120px, 12vw, 200px); aspect-ratio: 1; border-radius: 50%;
  background: var(--volt); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  will-change: transform;
}
.cta__btn svg { width: 22px; height: 22px; margin: 10px auto 0; transition: transform .6s var(--ease-out); }
.cta__btn:hover svg { transform: rotate(-45deg); }
.cta__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: clamp(40px, 8vh, 96px); padding-top: 24px; border-top: 1px solid var(--line); }
.cta__mail { font-weight: 700; font-stretch: 112%; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.02em; position: relative; }
.cta__mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--volt); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.cta__mail:hover::after { transform: scaleX(1); transform-origin: left; }
.cta__status { display: inline-flex; align-items: center; gap: 10px; color: var(--steel); }
.cta__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); animation: ping 1.8s infinite; }
@media (max-width: 760px) {
  .cta__btn { position: relative; right: auto; top: auto; translate: none; margin-top: 36px; }
  .cta__title .line:nth-child(2) { padding-left: 0; }
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: var(--volt); color: var(--ink); padding: clamp(48px, 9vh, 96px) var(--g) 24px; overflow: hidden; }
.footer-fixed .footer { position: fixed; left: 0; right: 0; bottom: 0; }
.footer__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__lead { margin: 0; max-width: 18ch; font-weight: 700; font-stretch: 112%; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.02em; }
.footer__col h4 { margin: 0 0 14px; opacity: .55; font-weight: 400; }
.footer__col a { display: block; width: fit-content; padding: 3px 0; font-weight: 500; position: relative; }
.footer__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__word { margin: clamp(40px, 8vh, 100px) 0 0; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.05em; line-height: .78; white-space: nowrap; font-size: 15vw; }
.footer__word .char { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-ink); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__lead { grid-column: 1 / -1; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.btn.is-busy .roll > span { transform: none !important; }
@media (max-width: 600px) {
  .hero__title { font-stretch: 100%; letter-spacing: -.03em; }
  .hero { justify-content: flex-end; padding-bottom: 28px; }
}
