/* AI Azexe — aiazexe.com
   Tokens follow the AI Azexe design system: obsidian ground, pearl ink,
   one pinch of white per screen, hairlines, square corners. */

:root {
  --bg: #0A0A0A;
  --surface: #121212;
  --raised: #1A1A1A;
  --line: #262626;
  --line-strong: #5E5E5E;
  --ink: #F5F5F3;
  --ink-muted: #A3A3A3;
  --ink-subtle: #7A7A7A;
  --accent: #FFFFFF;
  --accent-ink: #0A0A0A;
  --graphite: #2A2A2A;
  --silver: #C8C8C8;

  --font-sans: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-8: 64px;
  --space-16: 128px;

  --gutter: var(--space-8);
  --max: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 760px) {
  :root { --gutter: var(--space-2); }
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Film grain over everything, very faint */
.grain {
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Type ---------- */

.label {
  font: 400 12px/16px var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.display-xl {
  font-weight: 300;
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: .96;
  letter-spacing: -.045em;
  margin: 0;
}
.display {
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -.035em;
  margin: 0;
}
.h1 {
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0;
}
.h2 {
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0;
}
.body-lg {
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 34em;
  margin: 0;
}
em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.accent { color: var(--accent); }
.muted { color: var(--ink-muted); }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 var(--space-3);
  border-radius: 2px;
  font: 500 13px/16px var(--font-mono);
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  overflow: hidden;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.btn .btn-arrow { width: 16px; height: 1px; background: currentColor; position: relative; transition: width .6s var(--ease); }
.btn .btn-arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn-arrow { width: 28px; }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.link-line {
  position: relative; display: inline-block;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .6s var(--ease), border-color .6s var(--ease), transform .8s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.nav-logo { display: block; transition: opacity .4s; }
.nav-logo:hover { opacity: .8; }
.nav-logo img { height: 34px; width: auto; }
@media (max-width: 760px) { .nav-logo img { height: 26px; } }
.nav-links { display: flex; align-items: center; gap: var(--space-4); }
.nav-links a.label { color: var(--ink-muted); transition: color .4s; }
.nav-links a.label:hover, .nav-links a.label[aria-current="page"] { color: var(--ink); }
.nav .btn { height: 40px; padding: 0 18px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links a.label { display: none; }
  .nav .btn { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 40px; height: 40px;
  }
  .nav-toggle span { display: block; height: 1px; width: 24px; background: var(--ink); transition: transform .5s var(--ease); margin-left: auto; }
  .nav-toggle span:last-child { width: 16px; }
  body.menu-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.menu-open .nav-toggle span:last-child { width: 24px; transform: translateY(-3.5px) rotate(-45deg); }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu a.menu-item {
  display: flex; align-items: baseline; gap: var(--space-2);
  font-weight: 300; font-size: 44px; letter-spacing: -.03em; line-height: 1.3;
  border-bottom: 1px solid var(--line); padding: 10px 0;
}
.menu a.menu-item .label { font-size: 11px; }

/* ---------- Cursor ---------- */

.cursor {
  position: fixed; top: 0; left: 0; z-index: 100;
  pointer-events: none;
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid rgba(245, 245, 243, .55);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  transition: width .6s var(--ease), height .6s var(--ease), margin .6s var(--ease), background .6s var(--ease), border-color .6s var(--ease), opacity .4s;
}
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 101; pointer-events: none;
  width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 999px; background: var(--ink);
  mix-blend-mode: difference;
  transition: opacity .3s;
}
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--ink); }
.cursor.is-down { width: 28px; height: 28px; margin: -14px 0 0 -14px; }

/* the pocket universe: no ring, no box, just space that follows the pointer */
.cursor-universe {
  position: absolute; left: 50%; top: 50%;
  width: 170px; height: 170px; margin: -85px 0 0 -85px; max-width: none;
  opacity: 0; transform: scale(.4);
  transition: opacity .5s, transform .9s var(--ease);
}
.cursor-caption {
  position: absolute; left: 50%; top: 100%;
  transform: translate(-50%, 6px);
  white-space: nowrap;
  font: 500 10px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
  opacity: 0; transition: opacity .4s;
}
.cursor-caption:empty { display: none; }
.cursor.is-active {
  width: 0; height: 0; margin: 0;
  border-color: transparent;
}
.cursor.is-active .cursor-universe { opacity: 1; transform: scale(1); }
.cursor.is-active .cursor-caption { opacity: 1; transform: translate(-50%, 72px); }
.cursor.is-active ~ .cursor-dot { opacity: 0; }
.cursor.is-active.is-down .cursor-universe { transform: scale(.9); }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Loader & transitions ---------- */

.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: var(--space-4);
}
.loader-mark { width: 64px; height: 64px; }
.loader-mark path { fill: var(--ink); }
.loader-count { font: 400 12px/1 var(--font-mono); letter-spacing: .14em; color: var(--ink-subtle); }
.loader-bar { width: 160px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader-bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

.wipe {
  position: fixed; inset: 0; z-index: 190; pointer-events: none;
  background: var(--bg);
  transform: scaleY(0); transform-origin: bottom;
}
.wipe::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--ink); box-shadow: 0 0 24px 2px rgba(245, 245, 243, .35);
}

/* ---------- Reveals ---------- */

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

[data-reveal] { opacity: 0; transform: translateY(16px); }
.no-motion [data-reveal] { opacity: 1; transform: none; }
.js [data-intro] { opacity: 0; }
.js.no-motion [data-intro] { opacity: 1; }

/* ---------- Hero ---------- */

.hero {
  height: 100vh; height: 100svh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-content {
  position: relative; z-index: 2;
  padding-bottom: clamp(48px, 10vh, 120px);
}
.hero-top {
  position: absolute; top: 120px; left: 0; right: 0; z-index: 2;
}
.hero-top .wrap { display: flex; justify-content: space-between; }
.hero h1 { max-width: 12ch; }
.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.hero-foot .body-lg { max-width: 28em; }
.scroll-cue {
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue i {
  display: block; width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ---------- Statement (scroll-lit words) ---------- */

.statement {
  padding: var(--space-16) 0;
  min-height: 100vh;
  display: flex; align-items: center;
}
.statement p {
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 18ch;
}
.statement .sw { color: #2E2E2E; transition: color .5s; }
.statement .sw.lit { color: var(--ink); }
.statement .label { display: block; margin-bottom: var(--space-4); }

/* ---------- Two worlds ---------- */

.worlds {
  height: 100vh; height: 100svh; min-height: 600px;
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.world {
  position: relative; flex: 1 1 50%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) var(--space-8);
  overflow: hidden;
  transition: flex-grow 1.1s var(--ease);
}
.world + .world { border-left: 1px solid var(--line); }
.world-bg { position: absolute; inset: 0; opacity: .9; transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.world-ai .world-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 60%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, #000 10%, transparent 70%);
}
.world-mk .world-bg {
  background-image: repeating-radial-gradient(circle at 70% 60%, transparent 0 47px, var(--line) 47px 48px);
  mask-image: radial-gradient(ellipse at 70% 60%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 60%, #000 10%, transparent 70%);
}
.world:hover .world-bg { transform: scale(1.06); }
.world-title {
  position: relative;
  font-weight: 300; letter-spacing: -.05em; line-height: .9;
  font-size: clamp(56px, 8.4vw, 150px);
  margin: 0;
}
.world-copy { position: relative; max-width: 26em; }
.world-copy p { margin: var(--space-2) 0 var(--space-3); color: var(--ink-muted); font-weight: 300; font-size: 18px; line-height: 1.55; }
.worlds.lean-ai .world-ai, .worlds.lean-mk .world-mk { flex-grow: 1.5; }
.worlds-merge {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.worlds-merge-inner {
  text-align: center;
  opacity: 0;
}
.worlds-merge .display { white-space: nowrap; }
.worlds-merge-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--ink);
  transform: scaleY(0);
}

@media (max-width: 760px) {
  .worlds { flex-direction: column; height: auto; }
  .world { min-height: 80vh; padding-top: 96px; }
  .world + .world { border-left: 0; border-top: 1px solid var(--line); }
  .worlds-merge { display: none; }
}

/* ---------- AI constellation ---------- */

.stage {
  height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-copy {
  position: absolute; z-index: 2;
  left: 0; right: 0; top: 120px;
  pointer-events: none;
}
.stage-copy .display { max-width: 11ch; margin-top: var(--space-2); }
.stage-copy .body-lg { margin-top: var(--space-3); max-width: 24em; }
.stage-tip {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: var(--space-8);
  pointer-events: none;
}
.stage-tip .wrap { display: flex; justify-content: flex-end; }
.tip-card {
  width: 340px; max-width: 100%;
  border-top: 1px solid var(--line-strong);
  padding-top: var(--space-2);
  min-height: 92px;
}
.tip-card .h2 { font-size: 22px; margin: 6px 0 6px; }
.tip-card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.tip-card.swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Marketing amplify ---------- */

.amp-words {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: var(--space-8);
  pointer-events: none;
}
.amp-words ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.amp-words li {
  padding: var(--space-2) var(--space-2) 0 0;
  color: #3A3A3A;
  transition: color .8s var(--ease);
}
.amp-words li .label { display: block; color: inherit; margin-bottom: 6px; }
.amp-words li span.h2 { font-size: clamp(18px, 2vw, 28px); font-weight: 300; }
.amp-words li.on { color: var(--ink); }
@media (max-width: 760px) {
  .amp-words ol { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-2); }
}

/* ---------- Beats (how we move) ---------- */

.beats { overflow: hidden; }
.beats-track {
  display: flex;
  height: 100vh; height: 100svh; min-height: 600px;
  width: max-content;
}
.beat {
  width: 80vw; max-width: 1100px;
  padding: 140px var(--gutter) var(--space-8);
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--line);
}
.beat:first-child { width: 60vw; }
.beat-num {
  font-weight: 300; letter-spacing: -.06em; line-height: .8;
  font-size: clamp(120px, 22vw, 340px);
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
}
.beat h3 { margin: 0 0 var(--space-2); }
.beat p { margin: 0; max-width: 28em; color: var(--ink-muted); font-weight: 300; font-size: 18px; }
@media (max-width: 760px) {
  .beats-track { flex-direction: column; height: auto; width: 100%; }
  .beat, .beat:first-child { width: 100%; min-height: 70vh; border-right: 0; border-bottom: 1px solid var(--line); padding-top: 96px; }
}

/* ---------- Marquee ---------- */

.marquee {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span {
  font-weight: 300; letter-spacing: -.04em;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1;
  padding-right: .5em;
  color: transparent; -webkit-text-stroke: 1px #4A4A4A;
  transition: color .6s, -webkit-text-stroke-color .6s;
}
.marquee-track span:hover { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.marquee-track b {
  display: inline-block; width: .32em; height: .32em; margin: 0 .5em .18em 0;
  vertical-align: middle;
  border: 1px solid #4A4A4A; transform: rotate(45deg);
}

/* ---------- Manifesto strip ---------- */

.manifesto-strip { padding: var(--space-16) 0; }
.manifesto-strip .label { margin-bottom: var(--space-8); display: block; }
.mstate {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 76px);
  line-height: 1.04;
  letter-spacing: -.035em;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4);
  margin: 0;
}
.mstate .label { margin: 18px 0 0; }
@media (max-width: 760px) { .mstate { grid-template-columns: 1fr; gap: var(--space-1); } }

/* ---------- Invitation ---------- */

.invite {
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  text-align: left;
}
.invite-line {
  position: absolute; left: 0; right: 0; bottom: 14%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--ink) 30%, var(--ink) 70%, transparent);
  transform: scaleX(0);
  opacity: .9;
}
.invite-line::after {
  content: ""; position: absolute; left: 20%; right: 20%; top: -40px; height: 80px;
  background: radial-gradient(ellipse at center, rgba(245, 245, 243, .12), transparent 70%);
}
.invite .wrap { position: relative; z-index: 2; }
.invite .display-xl { max-width: 13ch; }
.invite .body-lg { margin: var(--space-4) 0; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: var(--space-8) 0 var(--space-4); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-4);
  padding-bottom: var(--space-8);
}
.footer-grid img { height: 28px; width: auto; }
.footer-grid p { color: var(--ink-muted); max-width: 22em; margin: var(--space-3) 0 0; font-weight: 300; }
.footer-grid ul { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-muted); transition: color .3s; }
.footer-grid a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: var(--space-3); }
.footer-giant {
  width: 100%; opacity: .07; margin-top: var(--space-8);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 8px; }
}

/* ---------- Inner pages ---------- */

.page-hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 160px 0 var(--space-8);
  overflow: hidden;
}
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .display-xl { max-width: 14ch; margin: var(--space-3) 0 var(--space-4); }

.vision-list { padding: var(--space-16) 0; }
.vision-row {
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.vision-row:last-child { border-bottom: 1px solid var(--line); }
.vision-row .h1 { font-weight: 300; }
.vision-row p { margin: 0; color: var(--ink-muted); font-weight: 300; font-size: 18px; max-width: 26em; }
@media (max-width: 760px) { .vision-row { grid-template-columns: 1fr; gap: var(--space-1); } }

.word-field {
  padding: var(--space-16) 0;
  text-align: center;
}
.word-field .wf {
  display: inline-block;
  font-weight: 300; letter-spacing: -.04em;
  font-size: clamp(36px, 6vw, 96px);
  line-height: 1.15;
  margin: 0 .25em;
  color: #333;
  transition: color .6s var(--ease);
}
.word-field .wf:hover { color: var(--ink); }
.word-field .wf em { color: inherit; }

/* Manifesto page */
.mani { padding: 180px 0 var(--space-16); }
.mani-item {
  min-height: 80vh;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--line);
  padding: var(--space-8) 0;
}
.mani-item .display { max-width: 16ch; margin-top: var(--space-3); }
.mani-item p.body-lg { margin-top: var(--space-4); }

/* Begin page */
.begin { padding: 180px 0 var(--space-16); }
.begin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.begin-grid .display { max-width: 10ch; margin: var(--space-3) 0 var(--space-4); }
@media (max-width: 960px) { .begin-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: 10px; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  font: 300 22px/1.4 var(--font-sans);
  letter-spacing: -.01em;
  padding: 8px 0 12px;
  transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #4A4A4A; }
.choice { display: flex; gap: var(--space-1); flex-wrap: wrap; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  font: 500 13px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 2px;
  padding: 12px 18px; cursor: pointer;
  transition: background .4s, color .4s, border-color .4s;
}
.choice input:checked + label { background: var(--ink); color: var(--accent-ink); border-color: var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--ink-subtle); margin: 0; }
.form-done { display: none; }
.form.sent .form-fields { display: none; }
.form.sent .form-done { display: block; }

.begin-side { border-left: 1px solid var(--line); padding-left: var(--space-8); }
.begin-side .step { border-top: 1px solid var(--line); padding: var(--space-3) 0; }
.begin-side .step p { margin: 6px 0 0; color: var(--ink-muted); font-weight: 300; }
@media (max-width: 960px) { .begin-side { border-left: 0; padding-left: 0; } }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .statement .sw { color: var(--ink); }
}

.btn { white-space: nowrap; }
@media (max-width: 760px) {
  .scroll-cue { display: none; }
}

@media (max-width: 760px) {
  .hero-top .wrap { flex-direction: column; gap: 8px; }
}

/* ---------- Animated logo ---------- */

.az-logo { height: 34px; width: auto; overflow: visible; transition: height .6s var(--ease); }
.nav.scrolled .az-logo { height: 28px; }
@media (max-width: 760px) { .az-logo { height: 26px; } .nav.scrolled .az-logo { height: 24px; } }
.az-logo path { fill: var(--ink); }
.az-mark path {
  transform-box: fill-box;
  transition: transform .9s var(--ease);
  animation: az-rise 1.1s var(--ease) both .25s;
}
.az-s1 { transform-origin: 66.6% 28.9%; }
.az-s2 { transform-origin: 33.3% 28.9%; animation-delay: .4s !important; }
.az-word path {
  transform-box: fill-box;
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--i) * 18ms);
  animation: az-letter .9s var(--ease) both;
  animation-delay: calc(.65s + var(--i) * 45ms);
}
@keyframes az-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes az-letter { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }

.az-glint { transform: skewX(-20deg); animation: az-glint 7s var(--ease) infinite 2.2s; }
@keyframes az-glint {
  0% { transform: translateX(0) skewX(-20deg); }
  22%, 100% { transform: translateX(1300px) skewX(-20deg); }
}
.az-line { fill: var(--ink); transform-box: fill-box; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); opacity: .6; }

/* hover: the compass opens, the letters breathe, a line of light draws beneath */
.nav-logo:hover { opacity: 1; }
.nav-logo:hover .az-s1 { transform: rotate(-9deg); }
.nav-logo:hover .az-s2 { transform: rotate(9deg); }
.nav-logo:hover .az-word path { transform: translateX(calc(var(--i) * 3px + 8px)); }
.nav-logo:hover .az-line { transform: scaleX(1.06); }
.nav-logo:hover .az-glint { animation: az-glint-once 1.1s var(--ease) forwards; }
@keyframes az-glint-once { from { transform: translateX(0) skewX(-20deg); } to { transform: translateX(1300px) skewX(-20deg); } }

@media (prefers-reduced-motion: reduce) {
  .az-mark path, .az-word path, .az-glint { animation: none !important; }
}

/* ---------- The shift: multiverse beside the statement ---------- */

.statement-universe { overflow: hidden; }
.statement-universe .multiverse { position: absolute; inset: 0; width: 100%; height: 100%; }
.statement-universe .wrap { position: relative; z-index: 2; }
.statement-universe p { max-width: 15ch; }
@media (max-width: 860px) {
  .statement-universe { align-items: flex-start; padding-bottom: 62vh; }
}

/* "AI × Marketing": the × sits exactly on the centre line, AI to its left, Marketing to its right */
.merge-label {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  column-gap: 14px;
  width: 100%;
}
.merge-label > span:first-child { text-align: right; }
.merge-label > span:last-child { text-align: left; }
.merge-x { color: var(--ink); }

/* ---------- Round 4 adjustments ---------- */

/* five marketing words */
.amp-words ol { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 760px) { .amp-words ol { grid-template-columns: repeat(2, 1fr); } }

/* beats: the step word itself is the giant outline */
h3.beat-num {
  margin: 0;
  font-size: clamp(88px, 14vw, 220px);
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
}
.beat > div > p { margin-top: 0; }

/* core heading */
.core-title { max-width: 14ch; margin: var(--space-3) 0 var(--space-8); }
.manifesto-strip .label { margin-bottom: 0; }
.mstate { grid-template-columns: 1fr; }

/* no gap between the core and the invitation */
.manifesto-strip { padding-bottom: var(--space-4); }
.invite { min-height: 0; padding: var(--space-8) 0 var(--space-16); }
.invite .invite-line { bottom: 22%; }
.vision-row { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .vision-row { grid-template-columns: 1fr; } }
.opt { color: #5A5A5A; letter-spacing: .08em; }
.begin-side .step h3 { margin: 0; }
.tip-card { background: rgba(10, 10, 10, .88); padding: var(--space-2) var(--space-3) var(--space-3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mstate { display: block; }
