/* Platinum 9. Graphite surface, platinum ink, heavy Archivo.
   One theme (dark) by brand decision. Radius: pill for interactive, 0 elsewhere. */

:root {
  --bg: #0a0b0d;
  --bg2: #101216;
  --ink: #eceef1;
  --soft: #a3a9b2;
  --faint: #5d636c;
  --rule: rgba(236, 238, 241, 0.1);
  --plat: #d9dde2;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --g: clamp(16px, 3.6vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
canvas { display: block; }
:focus-visible { outline: 2px solid var(--plat); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--g); top: -100px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { top: 12px; }

/* ---------------- header ---------------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: 68px; padding: 0 var(--g);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.85), rgba(10, 11, 13, 0));
  transition: background 0.35s, box-shadow 0.35s;
}
.bar.solid { background: rgba(10, 11, 13, 0.94); box-shadow: 0 1px 0 var(--rule); }
.wm {
  text-decoration: none; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  font-variation-settings: "wdth" 125;
}
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.bar nav a { text-decoration: none; color: var(--soft); font-size: 0.95rem; transition: color 0.2s; }
.bar nav a:hover { color: var(--ink); }
.bar .pill {
  color: var(--bg); background: var(--ink); padding: 9px 18px; border-radius: 999px; font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.bar .pill:hover { color: var(--bg); background: #fff; }
.bar .pill:active { transform: scale(0.97); }
@media (max-width: 600px) { .bar .opt { display: none; } }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: 100dvh; overflow: hidden; }
.hero-orb {
  position: absolute; right: -4vw; top: 53%;
  width: min(98vh, 68vw); aspect-ratio: 1;
  transform: translateY(-50%);
  will-change: transform;
}
.hero-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.halo {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(214, 222, 233, 0.13), rgba(214, 222, 233, 0.03) 45%, transparent 68%);
}
.hero-copy {
  position: absolute; left: var(--g); top: clamp(120px, 24vh, 240px);
  max-width: 44ch; z-index: 2;
}
.hero-sub { font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.6rem); line-height: 1.3; font-weight: 500; color: var(--soft); }
.hero-sub::first-line { color: var(--ink); }
.btn {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.btn:hover { background: #fff; }
.btn:hover span { transform: translateX(3px); }
.btn span { transition: transform 0.25s var(--ease); }
.btn:active { transform: scale(0.97); }

.giant {
  position: absolute; left: calc(var(--g) - 0.04em); bottom: clamp(18px, 4vh, 48px); z-index: 2;
  font-size: 15.2vw; line-height: 0.8; font-weight: 800; letter-spacing: -0.045em;
  font-variation-settings: "wdth" 112;
  white-space: nowrap;
}
.gl { display: inline-block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; vertical-align: bottom; }
.gl > span { display: inline-block; }
.giant .nine { color: var(--plat); font-weight: 300; }

/* ---------------- statement ---------------- */
.statement { padding: clamp(120px, 26vh, 280px) var(--g); }
.words {
  font-size: clamp(2rem, 0.8rem + 4.9vw, 6.4rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em;
  font-variation-settings: "wdth" 96;
  max-width: 21ch;
}
.words .w { transition: color 0.3s; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote .words { font-size: clamp(2.6rem, 0.8rem + 7vw, 9rem); line-height: 0.95; font-weight: 800; letter-spacing: -0.045em; max-width: 13ch; font-variation-settings: "wdth" 100; text-indent: -0.4em; }
.quote figcaption { margin-top: 36px; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.04em; color: var(--soft); }
.quote figcaption::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--faint); vertical-align: middle; margin-right: 12px; }

/* ---------------- business (pinned orb) ---------------- */
.business { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.biz-stage {
  position: sticky; top: 0; height: 100dvh;
  display: grid; place-items: center;
}
.biz-stage canvas { width: min(80vh, 46vw); aspect-ratio: 1; }
.verb {
  position: absolute; left: var(--g); bottom: 6vh;
  font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.04em; color: var(--soft);
}
.verb::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--faint); vertical-align: middle; margin-right: 12px; }
.chapters { padding-right: var(--g); }
.chapter { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 12vh 0; max-width: 34rem; }
.ch-k { font-family: var(--mono); font-size: 0.85rem; color: var(--faint); letter-spacing: 0.04em; }
.chapter h3 {
  margin-top: 18px; font-size: clamp(1.9rem, 1.2rem + 2vw, 3.2rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em;
  font-variation-settings: "wdth" 100;
}
.chapter > p:last-child { margin-top: 22px; color: var(--soft); max-width: 44ch; }
.book { margin-top: 32px; display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: end; }
.book img { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.bk-t { font-weight: 700; font-size: 1.1rem; }
.book dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 0.9rem; }
.book dt { color: var(--faint); }
.book dd { margin: 0; font-family: var(--mono); font-size: 0.85rem; color: var(--soft); }
.tl { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--faint); padding-bottom: 2px; transition: border-color 0.2s; }
.tl:hover { border-color: var(--ink); }

/* ---------------- nine ---------------- */
.nine-sec { padding: clamp(96px, 16vh, 180px) var(--g) 0; }
.nine-head h2 {
  font-size: clamp(2.6rem, 1rem + 6vw, 7.5rem); line-height: 0.9; font-weight: 800; letter-spacing: -0.045em;
  font-variation-settings: "wdth" 112;
}
.nine-head h2 em { font-style: normal; font-weight: 300; color: var(--plat); }
.nine-head p { margin-top: 24px; color: var(--soft); max-width: 40ch; }
.grid9 {
  list-style: none; margin: clamp(48px, 8vh, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.grid9 li {
  background: var(--bg); padding: clamp(18px, 2vw, 30px);
  display: grid; grid-template-rows: auto auto 1fr; gap: 8px;
  transition: background 0.4s var(--ease);
}
.grid9 li:hover { background: var(--bg2); }
.grid9 canvas { width: 100%; aspect-ratio: 1; max-width: 230px; margin: -6px auto 4px; }
.grid9 b { font-family: var(--mono); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; }
.grid9 span { color: var(--soft); font-size: 0.98rem; max-width: 30ch; }

/* ---------------- record ---------------- */
.record { padding: clamp(120px, 20vh, 220px) var(--g) 0; }
.record h2 {
  font-size: clamp(2.6rem, 1rem + 6vw, 7.5rem); line-height: 0.9; font-weight: 800; letter-spacing: -0.045em;
  font-variation-settings: "wdth" 112;
}
.facts {
  margin: clamp(40px, 7vh, 72px) 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.facts div { padding: 26px 24px 30px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--faint); }
.facts dd {
  margin: 10px 0 0; font-size: clamp(1.25rem, 0.9rem + 1.1vw, 1.9rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.015em;
  font-variation-settings: "wdth" 108;
}

/* ---------------- contact ---------------- */
.contact {
  padding: clamp(120px, 20vh, 220px) var(--g);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: center;
}
.contact canvas { width: 100%; max-width: 440px; aspect-ratio: 1; }
.contact h2 { font-family: var(--mono); font-weight: 400; font-size: 0.95rem; color: var(--soft); letter-spacing: 0.04em; }
.mail {
  display: inline-block; margin-top: 18px;
  font-size: clamp(1.7rem, 0.4rem + 3.5vw, 4.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em;
  font-variation-settings: "wdth" 100;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat;
  padding-bottom: 8px; transition: background-size 0.5s var(--ease);
}
.mail:hover { background-size: 100% 3px; }
.ct-copy > p { margin-top: 28px; color: var(--soft); max-width: 46ch; }

/* ---------------- footer ---------------- */
.foot {
  border-top: 1px solid var(--rule); padding: 28px var(--g) 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: 0.85rem; color: var(--faint);
}
.foot a { color: var(--soft); }

/* ---------------- legal / 404 ---------------- */
.doc { padding: 140px var(--g) 120px; }
.doc h1 {
  font-size: clamp(2.6rem, 1rem + 6vw, 6.5rem); line-height: 0.9; font-weight: 800; letter-spacing: -0.045em;
  font-variation-settings: "wdth" 112;
}
.doc .updated { margin-top: 18px; font-family: var(--mono); font-size: 0.85rem; color: var(--faint); }
.doc-body { max-width: 66ch; margin-top: 64px; }
.doc-body h2 { font-size: 1.35rem; font-weight: 700; margin-top: 48px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body ul { margin: 12px 0 0; color: var(--soft); }
.doc-body ul { padding-left: 1.2em; }
.doc-body li + li { margin-top: 6px; }
.doc-body strong { color: var(--ink); font-weight: 600; }
.nf { min-height: 100dvh; display: grid; align-content: center; justify-items: start; padding: 120px var(--g); }
.nf p { margin-top: 18px; color: var(--soft); max-width: 44ch; }

/* ---------------- tablet / phone ---------------- */
@media (max-width: 900px) {
  .business { grid-template-columns: 1fr; }
  .biz-stage { top: 56px; height: 44vh; z-index: 1; background: var(--bg); }
  .biz-stage canvas { width: min(40vh, 80vw); }
  .verb { left: 50%; bottom: 8px; transform: translateX(-50%); white-space: nowrap; }
  .chapters { padding: 0 var(--g); }
  .chapter { min-height: 76vh; padding: 8vh 0; }
  .grid9 { grid-template-columns: 1fr 1fr; }
  .grid9 li:last-child { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; }
  .contact canvas { max-width: 240px; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  /* phone hero is a stacked flow: orb, name, line, button */
  .hero { display: flex; flex-direction: column; justify-content: center; padding: 64px var(--g) 40px; }
  .hero-orb { position: relative; right: auto; top: auto; transform: none; width: 118vw; margin: 0 0 0 -9vw; order: 1; }
  .giant { position: relative; left: auto; bottom: auto; order: 2; margin-top: -16vw; font-size: 16.2vw; }
  .hero-copy { position: relative; left: auto; top: auto; order: 3; margin-top: 26px; max-width: none; }
  .hero-sub { font-size: 1.15rem; }
  .btn { margin-top: 22px; }
  .grid9 { grid-template-columns: 1fr; }
  .grid9 li { grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; column-gap: 20px; align-items: center; }
  .grid9 li:last-child { grid-column: auto; }
  .grid9 canvas { grid-row: 1 / 3; width: 96px; margin: 0; }
  .grid9 b { align-self: end; }
  .grid9 span { align-self: start; }
  .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
