/* ============================================================
   ooi. — "Monochrome / Studio"  (refined)
   Modern grayscale. Off-white ↔ near-black, huge clamped grotesk,
   extreme scale contrast, a living full-page mouse-reactive dot field,
   unexpected scroll-revealed layouts. Light & dark modes. No colour.
   ============================================================ */

:root {
  --paper: #ece9e3;
  --paper-2: #e2ded6;
  --ink: #111110;
  --ink-2: #4c4a44;
  --ink-3: #6a675f;
  --line: rgba(17, 17, 16, 0.16);
  --line-2: rgba(17, 17, 16, 0.30);
  --dot: 17, 17, 16;
  --sel: #111110;
  --sel-ink: #ece9e3;
}

[data-theme="dark"] {
  --paper: #0e0e0d;
  --paper-2: #161614;
  --ink: #f1efe9;
  --ink-2: #aeaba2;
  --ink-3: #837f76;
  --line: rgba(241, 239, 233, 0.16);
  --line-2: rgba(241, 239, 233, 0.30);
  --dot: 241, 239, 233;
  --sel: #f1efe9;
  --sel-ink: #0e0e0d;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.smooth { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background .5s ease, color .5s ease;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { text-wrap: pretty; }            /* avoid widows/orphans in body copy */
::selection { background: var(--sel); color: var(--sel-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* full-page living dot field */
.dotfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---- atoms ---- */
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 80px); }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: clamp(10px, 0.8vw, 12px); font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px; color: var(--ink-3);
}
.label-mark { display: inline-flex; align-items: center; gap: 12px; }
.label-mark::before { content: ''; width: 28px; height: 1px; background: var(--line-2); }

.display { font-weight: 800; line-height: 0.92; letter-spacing: -0.03em; text-wrap: balance; }

/* outline (stroke) type — recurring conceptual motif */
.outline { color: transparent; -webkit-text-stroke: 1.3px var(--ink); }

/* link with animated underline */
.lnk { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding-bottom: 3px; }
.lnk::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.lnk:hover::after { transform: scaleX(1); }
.lnk .arr { transition: transform .3s ease; }
.lnk:hover .arr { transform: translate(3px,-3px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: clamp(11px, 1.1vw, 12px); font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  padding: clamp(12px, 1.4vw, 15px) clamp(20px, 2.4vw, 26px); border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---- scroll reveal (gated on .js) ---- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* hero page-load choreography */
.js .hero [data-load] { opacity: 0; transform: translateY(26px); transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * .08s); }
.js .hero.loaded [data-load] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero [data-load] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.smooth { scroll-behavior: auto; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 1.8vw, 24px) clamp(22px, 5vw, 80px);
}
/* progressive blur header — layered backdrop-filter + masked tint, no hard line */
.nav-blur {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 34px);
  z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--paper) 64%, transparent), transparent);
}
.nav-blur span { position: absolute; inset: 0; }
.nav-left, .nav-right { position: relative; z-index: 1; }
.nav-left { display: flex; align-items: baseline; gap: 24px; }
.nav-brand { font-weight: 800; font-size: 22px; letter-spacing: -0.04em; color: var(--ink); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 22px; }

/* 3D capsule theme toggle — OGL canvas, fixed bottom-right */
.toggle3d { position: fixed; bottom: clamp(12px, 2vw, 28px); right: clamp(12px, 2.4vw, 32px); z-index: 60; width: 104px; height: 104px; background: none; border: 0; cursor: pointer; padding: 0; }
.toggle3d:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 18px; }
.capsule-canvas { display: block; width: 100%; height: 100%; }
/* fallback pill if WebGL is unavailable */
.capsule-fallback { display: block; width: 26px; height: 52px; margin: auto; border-radius: 999px; background: linear-gradient(to bottom, #f5f1e9 0 49.4%, #15140f 50.6% 100%); transform: rotate(14deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; }
.hero-inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(96px, 13vh, 156px); padding-bottom: clamp(28px, 4vh, 48px); pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }

.hero-eyebrow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.4vw, 40px); }

/* availability — limited-spots FOMO */
.avail { display: inline-flex; align-items: center; gap: 11px; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px 7px 13px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); }
.avail-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.avail-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--ink); animation: ping 2.4s cubic-bezier(0,.4,.6,1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%,100% { transform: scale(3); opacity: 0; } }
.avail-slots { display: inline-flex; gap: 3px; }
.avail-slots i { width: 6px; height: 13px; border: 1px solid var(--line-2); border-radius: 1px; }
.avail-slots i.on { background: var(--ink); border-color: var(--ink); }
.avail b { color: var(--ink); font-weight: 500; }

.hero-title { font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; font-size: clamp(38px, 8vw, 118px); text-wrap: balance; }

.hero-sub { margin-top: clamp(24px, 3vw, 42px); max-width: 46ch; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: clamp(28px, 3vw, 42px); }

.hero-foot { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(20px, 3vh, 36px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue .dn { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero-soc { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.hero-soc a { font-size: 14px; }

/* ============================================================
   SECTION SHELL  (vertical padding only — keeps .wrap gutters)
   ============================================================ */
.section { padding-top: clamp(56px, 8.5vw, 190px); padding-bottom: clamp(56px, 8.5vw, 190px); position: relative; z-index: 1; }
.section-head { margin-bottom: clamp(36px, 5vw, 80px); }
.section-head .label { display: inline-flex; margin-bottom: 18px; }
.section-title { font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(34px, 6vw, 92px); max-width: 16ch; text-wrap: balance; }

/* ---- statement / about ---- */
.statement-head { font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(40px, 8vw, 124px); max-width: 13ch; }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 6vw, 90px); }
.statement-meta { display: flex; flex-direction: column; gap: 14px; }
.statement-body p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 50ch; }
.statement-body p + p { margin-top: 1em; }

/* ============================================================
   FIGURES (big numbers — staggered, unexpected, no dividers)
   ============================================================ */
.figures { position: relative; }
.figure { width: fit-content; max-width: 100%; }
.figure-num { font-weight: 800; letter-spacing: -0.045em; line-height: 0.82; width: fit-content; will-change: transform; }
.figure-num .unit { font-size: 0.26em; letter-spacing: -0.02em; vertical-align: baseline; }
.figure-meta { margin-top: 14px; max-width: 32ch; }
.figure-meta .label { display: block; margin-bottom: 8px; }
.figure-cap { color: var(--ink-2); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.5; }

/* hand-placed stagger — deliberately not a grid */
.fig-1 { margin-left: 0; }
.fig-1 .figure-num { font-size: clamp(96px, 21vw, 300px); }
.fig-2 { margin-left: clamp(0px, 44vw, 640px); margin-top: clamp(20px, 3vw, 56px); }
.fig-2 .figure-num { font-size: clamp(82px, 17vw, 248px); }
.fig-2 .figure-meta { margin-left: auto; text-align: right; }
.fig-3 { margin-left: clamp(0px, 14vw, 210px); margin-top: clamp(24px, 4vw, 80px); }
.fig-3 .figure-num { font-size: clamp(104px, 19vw, 280px); }

/* ============================================================
   CAPABILITIES (interactive list)
   ============================================================ */
.cap-list { border-top: 1px solid var(--line); }
.cap {
  display: grid; grid-template-columns: 70px 1fr auto; gap: clamp(14px, 2vw, 32px); align-items: center;
  padding: clamp(20px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding-left .35s cubic-bezier(.22,1,.36,1);
}
.cap-no { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--ink-3); }
.cap-name { font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-size: clamp(28px, 5vw, 64px); will-change: transform; display: inline-flex; align-items: center; gap: 18px; }
.cap-desc { font-size: clamp(13px, 1vw, 15px); color: var(--ink-2); max-width: 34ch; text-align: right; opacity: .55; transition: opacity .3s; }
.cap-flag { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); padding: 4px 9px; border-radius: 999px; }
@media (hover: hover) {
  .cap:hover { padding-left: 26px; }
  .cap:hover .cap-desc { opacity: 1; }
  .cap::before { content: ''; position: absolute; left: -22px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); transform: translateY(-50%) scale(0); transition: transform .35s cubic-bezier(.22,1,.36,1); }
  .cap:hover::before { transform: translateY(-50%) scale(1); }
}

/* ============================================================
   PROCESS (finished: outline numerals, aligned)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: clamp(36px, 4vw, 64px); }
.step-num { font-weight: 800; font-size: clamp(60px, 7vw, 116px); line-height: 0.9; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.4px var(--ink-2); margin-bottom: clamp(18px, 2.4vw, 32px); }
.step-name { font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; margin-bottom: 14px; }
.step-desc { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 34ch; }

/* ============================================================
   PRICING (consistent header, monochrome inversion feature)
   ============================================================ */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.price { border: 1px solid var(--line-2); padding: clamp(26px, 2.6vw, 38px); display: flex; flex-direction: column; transition: transform .3s; }
.price:hover { transform: translateY(-4px); }
.price-feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 16px; margin-bottom: 20px; }
.price-tier { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-3); }
.price-note { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); }
.price-feature .price-tier, .price-feature .price-note { color: var(--paper); opacity: .75; }
.price-amt { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(40px, 4vw, 58px); line-height: 1; }
.price-amt .per { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; font-weight: 400; letter-spacing: 0; opacity: .6; }
.price-amt.custom { font-size: clamp(34px, 3.4vw, 48px); }
.price-desc { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 16px 0 24px; min-height: 42px; }
.price-feature .price-desc { color: var(--paper); opacity: .8; }
.price-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.price-feats li { font-size: 14.5px; padding-left: 20px; position: relative; line-height: 1.4; }
.price-feats li::before { content: '—'; position: absolute; left: 0; opacity: .5; }
.price .btn { width: 100%; justify-content: center; }
.price-feature .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   NOTES (FAQ)
   ============================================================ */
.notes { border-top: 1px solid var(--line); }
.note { border-bottom: 1px solid var(--line); }
.note-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 18px; padding: clamp(20px, 2.4vw, 30px) 0; color: var(--ink); }
.note-no { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--ink-3); }
.note-text { flex: 1; font-weight: 600; letter-spacing: -0.02em; font-size: clamp(19px, 2.2vw, 30px); }
.note-sign { font-size: 24px; line-height: 1; transition: transform .35s; }
.note.open .note-sign { transform: rotate(45deg); }
.note-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.note.open .note-a { max-height: 320px; }
.note-a p { padding: 0 0 26px 40px; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; max-width: 72ch; }

/* ============================================================
   CONTACT (inverted band)
   ============================================================ */
.contact { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 200px) 0; position: relative; z-index: 1; }
.contact .label { color: var(--paper); opacity: .55; }
.contact .label-mark::before { background: var(--paper); }
.contact-head { font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; font-size: clamp(52px, 11vw, 188px); margin: clamp(20px,3vw,36px) 0; }
.contact-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 80px); }
.contact-sub { max-width: 42ch; opacity: .8; font-size: clamp(16px,1.4vw,19px); line-height: 1.5; }
.contact .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.contact-soc { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.repped { display: flex; flex-direction: column; gap: 4px; }
.repped b { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(18px, 2vw, 26px); }
.repped b sup { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.42em; font-weight: 400; opacity: .55; letter-spacing: 1px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(28px, 3vw, 44px); position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .nav-brand { font-size: 20px; color: var(--ink); }
.footer-meta { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.5px; color: var(--ink-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .avail-slots, .avail-pre { display: none; }
  .avail { padding: 6px 12px; }
  .statement-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .prices { grid-template-columns: 1fr; max-width: 460px; }
  .cap { grid-template-columns: 44px 1fr; }
  .cap-desc { display: none; }
  .fig-1, .fig-2, .fig-3 { margin-top: clamp(36px, 8vw, 56px); }
  .fig-1 { margin-top: 0; margin-left: 0; }
  .fig-2 { margin-left: clamp(36px, 17vw, 120px); }   /* scaled-down stagger for mobile */
  .fig-3 { margin-left: clamp(16px, 8vw, 80px); }
  .fig-2 .figure-meta { margin-left: 0; text-align: left; }
}

@media (max-width: 520px) {
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-soc { text-align: left; }
  .contact-foot { flex-direction: column; align-items: flex-start; }
  .contact-soc { text-align: left; }
}
