/* CyberJinni Landing Page — Ruthless Museum Monochrome Editorial Craft
   Palette: strictly #101010 void, #FFFFFF light, #F2F2EE warm paper, pure luminance hierarchy */

:root {
  --u: min(calc(100vw / 1920), calc(100svh / 1200));
  --bg: #101010;
  --paper: #F2F2EE;
  --ink: #FFFFFF;
  --ink-85: rgba(255, 255, 255, 0.85);
  --ink-75: rgba(255, 255, 255, 0.75);
  --ink-72: rgba(255, 255, 255, 0.72);
  --ink-60: rgba(255, 255, 255, 0.60);
  --ink-50: rgba(255, 255, 255, 0.50);
  --ink-18: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.14);
  --paper-ink: #101010;
  --paper-sub: rgba(16, 16, 16, 0.75);
  --gch: 11px;
  --pad-x: max(22px, calc(42 * var(--u)));
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  background-color: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

html.no-scroll,
body.is-menu-open {
  overflow: hidden;
}

body {
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  line-height: 1.55;
  overflow-x: clip;
  min-height: 100svh;
}

body.is-loading .top-bar,
body.is-loading .site {
  opacity: 0;
  pointer-events: none;
}

.top-bar,
.site {
  transition: opacity 0.55s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.top-bar.on-paper :focus-visible,
.poster :focus-visible {
  outline-color: #101010;
}

/* Unified full-viewport background ASCII matrix */
#grid,
.doc-grid {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* =========================================================
   OPTIONAL GUARDIAN ID LOCK-SCREEN PRELOADER (?intro=1)
   ========================================================= */
[hidden] {
  display: none !important;
}

.prelock {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: max(48px, calc(84 * var(--u))) var(--pad-x) max(36px, calc(64 * var(--u)));
  pointer-events: auto;
  transition: opacity 0.45s ease;
}

.prelock.is-fading { opacity: 0; pointer-events: none; }

.prelock__clock { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.prelock__date { font-size: max(14px, calc(20 * var(--u))); color: rgba(255, 255, 255, 0.68); }
.prelock__time {
  font-family: var(--font-display);
  font-size: clamp(54px, calc(116 * var(--u)), 128px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.prelock__status {
  margin-top: auto;
  margin-bottom: max(48px, calc(82 * var(--u)));
  font-family: var(--font-mono);
  font-size: max(12px, calc(16 * var(--u)));
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.prelock__skip {
  position: fixed;
  right: var(--pad-x);
  bottom: max(22px, calc(36 * var(--u)));
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.52);
  background: transparent;
  border: 0;
  padding: 8px 6px;
  cursor: pointer;
}

.prelock__skip:hover { color: #ffffff; }

/* =========================================================
   DIFFERENCE-MODE CIRCULAR CURSOR
   ========================================================= */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #ffffff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(1);
  transition: opacity 0.25s ease, width 0.22s ease, height 0.22s ease, margin 0.22s ease;
  will-change: transform;
}

#cursor.is-visible { opacity: 1; }
#cursor.is-hover { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

@media (hover: none), (pointer: coarse) {
  #cursor { display: none; }
}

/* =========================================================
   MINIMAL 3-POINT FIXED TOP UTILITY HEADER
   ========================================================= */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: max(18px, calc(34 * var(--u))) var(--pad-x);
  color: var(--ink);
  transition: color 0.35s ease, opacity 0.55s ease;
  pointer-events: none;
}

.top-bar > * { pointer-events: auto; }
.top-bar.on-paper { color: var(--paper-ink); }

.menu-btn,
.top-access {
  font-family: var(--font-display);
  font-size: max(11px, calc(18 * var(--u)));
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px 2px;
  transition: opacity 0.25s ease;
}

.menu-btn { justify-self: start; }
.top-access { justify-self: end; }
.menu-btn:hover, .top-access:hover { opacity: 0.62; }

/* Expandable Bracket Logo: [ CJ ] -> [ CYBERJINNI ] */
.brand-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: max(16px, calc(26 * var(--u)));
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: inherit;
  text-decoration: none;
  padding: 4px 2px;
  user-select: none;
}

.lg-brk {
  opacity: 0.5;
  transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.lg-word { display: inline-flex; align-items: center; padding: 0 0.22em; }
.lg-pin { display: inline-block; }

.lg-rest {
  display: inline-flex;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.lg-rest span {
  display: inline-block;
  transform: translateY(3px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.brand-logo:hover .lg-brk,
.brand-logo:focus-visible .lg-brk,
.brand-logo.is-open .lg-brk { opacity: 1; }

.brand-logo:hover .lg-rest--a,
.brand-logo:focus-visible .lg-rest--a,
.brand-logo.is-open .lg-rest--a,
.brand-logo:hover .lg-rest--b,
.brand-logo:focus-visible .lg-rest--b,
.brand-logo.is-open .lg-rest--b {
  max-width: 4.4em;
  opacity: 1;
}

.brand-logo:hover .lg-rest span,
.brand-logo:focus-visible .lg-rest span,
.brand-logo.is-open .lg-rest span {
  transform: translateY(0);
  opacity: 1;
}

.lg-rest span:nth-child(1) { transition-delay: 0.04s; }
.lg-rest span:nth-child(2) { transition-delay: 0.08s; }
.lg-rest span:nth-child(3) { transition-delay: 0.12s; }
.lg-rest span:nth-child(4) { transition-delay: 0.16s; }

/* =========================================================
   SLIDE-OUT NAVIGATION DRAWER
   ========================================================= */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(8, 8, 8, 0.64);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.menu-backdrop.is-open { opacity: 1; }

.menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: max(380px, calc(640 * var(--u)));
  max-width: 90vw;
  z-index: 52;
  background: #101010;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--ink);
}

.menu.is-open { transform: translate3d(0, 0, 0); }

.menu__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(112px, calc(180 * var(--u))) var(--pad-x) max(28px, calc(48 * var(--u)));
}

.menu__list { list-style: none; display: flex; flex-direction: column; gap: max(14px, calc(24 * var(--u))); }

.menu__link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, transform 0.25s ease;
}

.menu__text {
  font-family: var(--font-display);
  font-size: max(32px, calc(72 * var(--u)));
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.menu__num {
  font-family: var(--font-mono);
  font-size: max(10px, calc(14 * var(--u)));
  font-weight: 700;
  color: var(--ink-50);
  letter-spacing: 0.12em;
}

.menu__link:hover { color: #ffffff; transform: translateX(6px); }
.menu__link:hover .menu__num { color: #ffffff; }

.menu__foot { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-60); }

.menu__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.menu__tool {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.menu__tool:hover,
.menu__tool[aria-pressed="true"] { color: #ffffff; }

.menu__credit a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   CTA BUTTON WITH CLIP-PATH ASCII SCRAMBLE WIPE
   ========================================================= */
.cta {
  position: relative;
  display: inline-grid;
  min-width: max(224px, calc(360 * var(--u)));
  height: max(52px, calc(var(--gch, 11px) * 5.2));
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  z-index: 4;
}

.cta__code { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; }

.cta__under,
.cta__face {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc(28 * var(--u)));
  gap: 18px;
}

.cta__under { position: relative; z-index: 2; color: #ffffff; background: rgba(16, 16, 16, 0.35); }

.cta__face {
  position: relative;
  z-index: 3;
  background: #ffffff;
  color: #000000;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}

.cta:hover .cta__face,
.cta:focus-visible .cta__face { clip-path: inset(0 0 0 100%); }

.cta__label {
  font-family: var(--font-mono);
  font-size: max(12px, calc(18 * var(--u)));
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cta__arrow { width: max(16px, calc(22 * var(--u))); height: max(16px, calc(22 * var(--u))); flex-shrink: 0; }

.cta--paper::after { box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.55); }
.cta--paper .cta__face { background: #101010; color: #F2F2EE; }
.cta--paper .cta__under { color: #101010; background: rgba(242, 242, 238, 0.45); }

/* =========================================================
   MAIN WRAPPER
   ========================================================= */
.site { position: relative; z-index: 2; }

/* =========================================================
   SECTION 1: HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: max(92px, calc(116 * var(--u))) var(--pad-x) max(42px, calc(58 * var(--u)));
}

.hero__stage {
  position: relative;
  width: 100%;
  min-height: calc(100svh - max(134px, calc(174 * var(--u))));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__top-left {
  align-self: flex-start;
  margin-top: calc(95 * var(--u));
  max-width: max(300px, calc(520 * var(--u)));
}

.hero__bottom-right {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: max(22px, calc(34 * var(--u)));
  margin-bottom: calc(14 * var(--u));
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, calc(140 * var(--u)), 150px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.022em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero__title--right { text-align: right; }
.hero__line { display: block; white-space: nowrap; }
.hero__line .sc-ch { display: inline-block; transition: opacity 0.2s ease; }
.hero__line .sc-ch.is-scrambling { opacity: 0.48; }

.hero__sub {
  margin-top: max(18px, calc(28 * var(--u)));
  max-width: max(290px, calc(430 * var(--u)));
  font-size: max(14px, calc(18 * var(--u)));
  line-height: 1.52;
  color: var(--ink-85);
}

/* =========================================================
   SECTION 2: SURFACE & MASSIVE 3D ASCII EARTH
   ========================================================= */
.world {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, calc(740 * var(--u))) 1fr;
  align-items: center;
  gap: calc(32 * var(--u));
  padding: max(84px, calc(110 * var(--u))) var(--pad-x);
  margin-top: max(80px, calc(160 * var(--u)));
}

.world__left {
  display: flex;
  flex-direction: column;
  gap: max(36px, calc(64 * var(--u)));
  position: relative;
  z-index: 3;
}

.world__title {
  font-family: var(--font-display);
  font-size: clamp(38px, calc(96 * var(--u)), 104px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.world__stats { display: flex; flex-direction: column; gap: max(22px, calc(38 * var(--u))); }

.world__row { display: flex; align-items: baseline; gap: max(14px, calc(24 * var(--u))); flex-wrap: wrap; }

.world__num {
  font-family: var(--font-display);
  font-size: clamp(40px, calc(100 * var(--u)), 106px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.world__cap { font-size: max(13px, calc(18 * var(--u))); color: var(--ink-72); max-width: 30ch; }

.world__globe-slot { min-height: max(420px, calc(860 * var(--u))); width: 100%; }

/* =========================================================
   ORGANIC ASCII DISSOLVE SPACERS & SECTION 3: PAPER POSTER
   ========================================================= */
.polarity-spacer { height: 85svh; pointer-events: none; }
.polarity-spacer--to-dark { height: 85svh; }

.poster {
  position: relative;
  height: 215svh;
  color: var(--paper-ink);
  background: var(--paper);
}

.poster__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(76px, calc(100 * var(--u))) var(--pad-x);
}

.poster__frame-box { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.poster__seq { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.poster__cue {
  position: absolute;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(26px, calc(74 * var(--u)), 84px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #101010;
  text-align: center;
  pointer-events: none;
  padding: 0 24px;
}

.poster__cue .cue-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  transition-delay: 0s !important;
}

.poster__cue.is-shown .cue-ch {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transition-delay: var(--d, 0s) !important;
}

.poster__lockup {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: max(22px, calc(36 * var(--u)));
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.poster__title {
  font-family: var(--font-display);
  font-size: clamp(36px, calc(144 * var(--u)), 154px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--paper-ink);
}

.poster__row { display: block; }
.poster__row--mid { display: flex; align-items: center; justify-content: center; gap: 0.18em; flex-wrap: nowrap; }
.poster__slot { display: inline-flex; align-items: center; justify-content: center; gap: 0.12em; vertical-align: middle; }
.poster__brk { font-weight: 400; line-height: 0.9; }

.poster__figure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.12em;
  height: 1.05em;
  position: relative;
  overflow: hidden;
}

.poster__figure img { width: 100%; height: 100%; object-fit: contain; display: block; }

.poster__sub { max-width: 46ch; font-size: max(14px, calc(19 * var(--u))); line-height: 1.55; color: var(--paper-sub); }

.poster__skip {
  position: absolute;
  right: var(--pad-x);
  bottom: max(24px, calc(42 * var(--u)));
  z-index: 5;
  font-family: var(--font-mono);
  font-size: max(11px, calc(14 * var(--u)));
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(16, 16, 16, 0.65);
  background: transparent;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
}

.poster__skip:hover { color: #101010; }
.poster__skip.is-hidden { opacity: 0; pointer-events: none; }

/* =========================================================
   SECTION 4: CAPABILITIES (3 REAL-TIME 3D RAYMARCHED SCULPTURES)
   ========================================================= */
.caps {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: max(84px, calc(120 * var(--u))) var(--pad-x);
}

.caps__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, calc(760 * var(--u))) minmax(260px, 1fr) minmax(260px, calc(460 * var(--u)));
  align-items: center;
  gap: max(28px, calc(64 * var(--u)));
}

.caps__art-slot { min-height: max(380px, calc(720 * var(--u))); width: 100%; cursor: pointer; }

.caps__mid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: max(28px, calc(48 * var(--u)));
}

.caps__li {
  font-family: var(--font-display);
  font-size: clamp(32px, calc(64 * var(--u)), 68px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink);
  opacity: 0.18;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 2px 0;
  transition: opacity 0.3s ease;
}

.caps__li:hover { opacity: 0.55; }
.caps__li.is-active { opacity: 1; }

.caps__right { display: flex; flex-direction: column; gap: max(28px, calc(44 * var(--u))); }

.caps__desc {
  font-size: max(15px, calc(21 * var(--u)));
  line-height: 1.52;
  color: var(--ink-75);
  min-height: 4.6em;
}

.caps__controls { display: flex; align-items: center; gap: 18px; }

.caps__btn {
  position: relative;
  min-width: max(108px, calc(144 * var(--u)));
  height: max(46px, calc(62 * var(--u)));
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: var(--ink-75);
  font-family: var(--font-mono);
  font-size: max(11px, calc(14 * var(--u)));
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.caps__btn::before,
.caps__btn::after {
  content: "+";
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.caps__btn::before { top: -6px; left: -4px; }
.caps__btn::after { bottom: -6px; right: -4px; }

.caps__btn:hover {
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* =========================================================
   SECTION 5: HOW CYBERJINNI WORKS
   ========================================================= */
.how {
  position: relative;
  padding: max(96px, calc(150 * var(--u))) var(--pad-x) max(80px, calc(120 * var(--u)));
}

.how__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: max(48px, calc(76 * var(--u)));
  flex-wrap: wrap;
}

.how__title {
  font-family: var(--font-display);
  font-size: clamp(34px, calc(88 * var(--u)), 96px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.how__lead { max-width: 40ch; font-size: max(14px, calc(18 * var(--u))); line-height: 1.55; color: var(--ink-72); }

.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.how__col {
  padding: max(24px, calc(38 * var(--u))) max(20px, calc(34 * var(--u))) max(16px, calc(28 * var(--u)));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how__col:first-child { padding-left: 0; }
.how__col:last-child { padding-right: 0; }
.how__col + .how__col { border-left: 1px dashed var(--line); }

.how__canvas-wrap {
  width: 100%;
  height: max(250px, calc(380 * var(--u)));
  margin-bottom: max(18px, calc(28 * var(--u)));
  position: relative;
}

.how__pic { width: 100%; height: 100%; display: block; }

.how__num {
  font-family: var(--font-mono);
  font-size: max(11px, calc(15 * var(--u)));
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-50);
}

.how__h {
  font-family: var(--font-display);
  font-size: clamp(28px, calc(48 * var(--u)), 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.how__p { font-size: max(14px, calc(18 * var(--u))); line-height: 1.55; color: var(--ink-72); max-width: 35ch; }

/* =========================================================
   SECTION 6: CLOSING CTA
   ========================================================= */
.last {
  position: relative;
  min-height: 68svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: max(22px, calc(34 * var(--u)));
  padding: max(120px, calc(180 * var(--u))) var(--pad-x) max(140px, calc(220 * var(--u)));
}

.last__title {
  font-family: var(--font-display);
  font-size: clamp(40px, calc(130 * var(--u)), 142px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

.last__sub { max-width: 52ch; font-size: max(14px, calc(19 * var(--u))); color: var(--ink-75); }

/* =========================================================
   SECTION 7: FOOTER + GIANT INTERACTIVE ASCII WORDMARK
   ========================================================= */
.foot {
  position: relative;
  min-height: 84svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: max(96px, calc(140 * var(--u))) var(--pad-x) max(16px, calc(24 * var(--u)));
}

.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: max(24px, calc(32 * var(--u))); align-items: start; }

.foot__brand { grid-column: 1 / 7; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.brand-logo--foot { justify-self: start; padding-left: 0; }
.foot__tag { font-size: max(14px, calc(18 * var(--u))); line-height: 1.5; color: var(--ink-72); }

.foot__cols { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: max(18px, calc(28 * var(--u))); }
.foot__col { display: flex; flex-direction: column; gap: 12px; }

.foot__col a {
  font-family: var(--font-display);
  font-size: max(12px, calc(16 * var(--u)));
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.foot__col a:hover { color: #ffffff; }

.foot__meta {
  margin-top: max(72px, calc(120 * var(--u)));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: max(12px, calc(15 * var(--u)));
  color: var(--ink-60);
}

.foot__meta-mid { text-align: center; font-size: max(11px, calc(14 * var(--u))); color: var(--ink-60); }
.foot__meta-mid a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.foot__top-link { justify-self: end; color: var(--ink-75); text-decoration: none; transition: color 0.2s ease; }
.foot__top-link:hover { color: #ffffff; }

.foot__wordmark-wrap { margin-top: max(22px, calc(34 * var(--u))); width: 100%; height: clamp(110px, 19vw, 300px); overflow: hidden; }
.foot__wordmark { width: 100%; height: 100%; display: block; }

/* =========================================================
   SECURITY.HTML EDITORIAL SPEC PAGE (PURE MONOCHROME)
   ========================================================= */
.doc-main { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto; padding: max(128px, calc(180 * var(--u))) var(--pad-x) 40px; }
.doc-hero { margin-bottom: 64px; border-bottom: 1px dashed var(--line); padding-bottom: 48px; }
.doc-kicker { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-50); margin-bottom: 14px; }
.doc-title { font-family: var(--font-display); font-size: clamp(44px, 7vw, 96px); font-weight: 400; line-height: 0.94; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 24px; }
.doc-lead { max-width: 60ch; font-size: 18px; color: var(--ink-85); }
.doc-sections { list-style: none; display: flex; flex-direction: column; }
.doc-section { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px dashed var(--line); }
.doc-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-50); padding-top: 6px; }
.doc-body h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 400; letter-spacing: -0.01em; margin-bottom: 14px; }
.doc-body p { font-size: 16px; color: var(--ink-75); max-width: 66ch; }
.doc-body p + p { margin-top: 12px; }
.doc-body code { font-family: var(--font-mono); font-size: 13px; color: #ffffff; background: rgba(255, 255, 255, 0.08); padding: 2px 6px; }
.doc-note { font-family: var(--font-mono); font-size: 12px !important; color: rgba(255, 255, 255, 0.56) !important; border-left: 1px solid rgba(255, 255, 255, 0.35); padding-left: 14px; }
.doc-cta-wrap { padding: 64px 0 32px; display: flex; }

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1024px) {
  .world { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .world__globe-slot { min-height: 380px; }
  .caps__inner { grid-template-columns: 1fr; gap: 36px; }
  .caps__art-slot { min-height: 360px; }
  .caps__mid { flex-direction: row; flex-wrap: wrap; gap: 18px 28px; }
  .caps__li { font-size: clamp(24px, 4.8vw, 36px); }
  .how__grid { grid-template-columns: 1fr; }
  .how__col, .how__col:first-child, .how__col:last-child { padding: 32px 0; }
  .how__col + .how__col { border-left: 0; border-top: 1px dashed var(--line); }
  .foot__brand, .foot__cols { grid-column: 1 / -1; }
  .foot__meta { grid-template-columns: 1fr; text-align: left; }
  .foot__meta-mid { text-align: left; }
  .foot__top-link { justify-self: start; }
}

@media (max-width: 680px) {
  .hero { padding-top: 88px; padding-bottom: 36px; }
  .hero__top-left { margin-top: 10px; }
  .hero__title { font-size: clamp(40px, 12.2vw, 64px); }
  .hero__bottom-right { align-items: flex-start; width: 100%; margin-top: 220px; }
  .hero__title--right { text-align: left; }
  .cta { width: 100%; min-width: 0; }
  .poster__title { font-size: clamp(32px, 9.6vw, 56px); }
  .poster__row--mid { flex-wrap: wrap; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .doc-section { grid-template-columns: 1fr; gap: 10px; }
}

/* =========================================================
   REDUCED MOTION SUPPORT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .prelock { display: none !important; }
  body.is-loading .top-bar, body.is-loading .site { opacity: 1 !important; pointer-events: auto !important; }
  .poster { height: auto; min-height: 100svh; }
  .poster__pin { position: relative; }
  .poster__lockup { opacity: 1 !important; transform: none !important; }
  .poster__cue, .poster__skip { display: none !important; }
}
