/* BUDOTS MEDIA AI — site.css
   Brand: black → white, Bebas Neue display, #ffd400 accent.
   Folio elements carried over: floating yellow squares, outline background words,
   kinetic type, marquee, masonry + lightbox, monospace meta labels. */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --ink: #050505;
  --bg: #0a0a0a;
  --panel: #121214;
  --panel-2: #18181b;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --txt: #f4f4f1;
  --dim: #a1a1a1;
  --acc: #ffd400;
  --acc-soft: rgba(255, 212, 0, .14);
  --paper: #fafaf7;
  --paper-ink: #111;
  --paper-dim: #555;
  --display: 'Bebas Neue', 'Bebas Neue Pro', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--txt);
  font: 400 16px/1.65 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* the brand's black-on-top → white-at-bottom gradient: a fixed-height fade band
   at the top of .light-zone, so the white lands in the same place on any page length */
.light-zone {
  position: relative; z-index: 1; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 44vh;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0, #262626 12vh, #8d8d89 26vh, #e6e6e2 36vh, var(--paper) 42vh);
  color: var(--paper-ink);
}img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--acc); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: .95;
  text-transform: uppercase;
}

/* ---------- ambient layers ---------- */
#progress {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 3px; width: 100%;
  background: var(--acc);
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}
#particles, .squares {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.squares { overflow: hidden; }
.squares i {
  position: absolute; width: clamp(130px, 17vw, 300px); aspect-ratio: 1;
  background: var(--acc); opacity: .07;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transform: translate3d(var(--x), var(--y), 0) rotate(var(--r));
  will-change: transform;
}
.squares i:nth-child(1) { --x: -8vw; --y: 12vh; --r: 12deg; }
.squares i:nth-child(2) { --x: 80vw; --y: 22vh; --r: -18deg; }
.squares i:nth-child(3) { --x: 10vw; --y: 70vh; --r: 30deg; }
.squares i:nth-child(4) { --x: 70vw; --y: 78vh; --r: 8deg; }
.squares i:nth-child(5) { --x: 42vw; --y: 130vh; --r: -24deg; }
.squares i:nth-child(6) { --x: -4vw; --y: 160vh; --r: -9deg; }
header, nav, main, section, footer, .marquee { position: relative; z-index: 1; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; gap: 1.25rem;
  padding: .85rem var(--gutter);
  background: linear-gradient(180deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .55) 70%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.nav .brand {
  display: flex; align-items: center; gap: .6rem; flex-shrink: 0;
  font-family: var(--display); font-size: 1.45rem; letter-spacing: .08em;
  text-decoration: none; color: var(--txt); line-height: 1;
}
.nav .brand img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.nav .brand b { font-weight: 400; color: var(--acc); }
.nav .links {
  display: flex; align-items: center; gap: .15rem; margin-left: auto;
  overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  padding: 0 12px;
}
.nav .links::-webkit-scrollbar { display: none; }
.nav .links a {
  flex-shrink: 0; padding: .45rem .7rem; border-radius: 999px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--txt); opacity: .72; transition: opacity .2s, color .2s, background .2s;
}
.nav .links a:hover { opacity: 1; color: var(--acc); }
.nav .links a.act { opacity: 1; color: var(--acc); }
.nav .links a[aria-current="page"] { opacity: 1; color: var(--acc); }
.nav .links a.cta {
  opacity: 1; color: var(--ink); background: var(--acc); font-weight: 600; margin-left: .35rem;
}
.nav .links a.cta:hover { color: var(--ink); background: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 7rem var(--gutter) 6rem;
}
.hero .bg {
  position: absolute; inset: -14% 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: brightness(.4) saturate(.9);
  will-change: transform;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 45%, transparent 0%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 30%, transparent 65%, var(--bg) 100%);
}
.kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--acc);
}
.hero h1 {
  font-size: clamp(4rem, 15vw, 12.5rem); line-height: .86; letter-spacing: .03em; margin: 1.1rem 0 .4rem;
}
.hero h1 .l2 { display: block; }
.hero h1 .l2 .ch { color: var(--acc); }
.hero h1 .ch { display: inline-block; will-change: transform; }
.hero .sub {
  max-width: 44rem; margin: 1.2rem auto 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem); font-weight: 300; color: #d9d9d4;
}
.hero .sub strong { color: var(--txt); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2.2rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.35rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line-2); color: var(--txt); background: rgba(10, 10, 10, .35);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-2px); }
.btn.solid { background: var(--acc); color: var(--ink); border-color: var(--acc); }
.btn.solid:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.6rem, 5vw, 3.4rem);
  margin-top: 3.2rem;
}
.stat { text-align: center; }
.stat .num { display: block; font-family: var(--display); font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1; color: var(--acc); letter-spacing: .03em; }
.stat .cap { display: block; margin-top: .35rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

.scroll-ind {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7;
}
.scroll-ind .mouse { width: 22px; height: 36px; border: 2px solid var(--txt); border-radius: 12px; position: relative; }
.scroll-ind .mouse::after {
  content: ""; position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: var(--acc);
  animation: wheel 1.6s infinite;
}
@keyframes wheel { from { opacity: 1; top: 6px; } to { opacity: 0; top: 20px; } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; padding: 14px 0;
  border-block: 1px solid var(--line); background: rgba(10, 10, 10, .5);
}
.marquee .track { display: flex; width: max-content; animation: mq 48s linear infinite; will-change: transform; }
.marquee.rev .track { animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span {
  font-family: var(--display); font-size: clamp(2.2rem, 5.5vw, 4.8rem); line-height: 1; letter-spacing: .05em;
  padding: 0 .35em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 244, 241, .3);
}
.marquee span:nth-child(odd) { color: var(--acc); -webkit-text-stroke: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.block {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter) 1rem;
  scroll-margin-top: 60px;
  overflow-x: clip; /* outline words may be wider than the viewport */
}
.block > * { position: relative; z-index: 1; }
.bgword {
  position: absolute; z-index: 0; top: 1.5rem; left: 0;
  font-family: var(--display); font-size: clamp(6.5rem, 19vw, 18rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244, 244, 241, .075);
  user-select: none; pointer-events: none; will-change: transform;
}
.bgword.fill { color: rgba(255, 212, 0, .045); -webkit-text-stroke: 0; }
.eyebrow { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1rem; }
.eyebrow .n { font-family: var(--display); font-size: 1.5rem; color: var(--acc); letter-spacing: .06em; }
.eyebrow .t { font-family: var(--mono); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.block h2 {
  font-size: clamp(2.8rem, 8vw, 6.2rem); margin-bottom: 1.4rem; overflow: hidden; padding-bottom: .06em;
}
.block h2 .ch {
  display: inline-block; transform: translateY(110%); opacity: 0;
  transition: transform .65s var(--ease) calc(var(--i) * 28ms), opacity .5s linear calc(var(--i) * 28ms);
}
.block.in h2 .ch { transform: none; opacity: 1; }
.lead { max-width: 48rem; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 300; line-height: 1.65; color: #dcdcd6; }
.lead em { font-style: normal; color: var(--acc); }
.body-copy { max-width: 44rem; color: #c9c9c3; font-weight: 300; }
.body-copy p + p { margin-top: 1rem; }
.body-copy strong { color: var(--txt); font-weight: 500; }

.sub-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.sub-block h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: .06em; }
.sub-block h3::before { content: "— "; color: var(--acc); }
.meta { margin: .35rem 0 .9rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.sub-block > p { max-width: 46rem; margin-bottom: 1.4rem; color: #bdbdb7; font-size: .95rem; font-weight: 300; }

/* pull quote */
.pull {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0; padding-left: clamp(1rem, 3vw, 1.6rem);
  border-left: 3px solid var(--acc); max-width: 50rem;
  font-family: var(--display); font-size: clamp(1.8rem, 4.4vw, 3.2rem); line-height: 1.02; letter-spacing: .03em;
}
.pull cite { display: block; margin-top: .8rem; font: 400 .7rem/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-style: normal; }

/* ---------- media: masonry + tiles ---------- */
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry.two { columns: 2 320px; }
.tile {
  position: relative; display: block; margin: 0 0 14px; break-inside: avoid;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel);
  text-decoration: none; color: inherit; cursor: zoom-in;
  transition: transform .25s var(--ease), border-color .25s;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(255, 212, 0, .6); }
.tile img, .tile video { width: 100%; }
.tile figcaption, .tile .cap {
  display: block; padding: .6rem .8rem .7rem; border-top: 1px solid var(--line);
  font-size: .76rem; line-height: 1.5; color: var(--dim);
}
.tile figcaption b, .tile .cap b { color: var(--txt); font-weight: 500; }
.tile.vid { cursor: pointer; }
.tile.vid .frame { position: relative; }
.tile.vid .frame::after {
  content: "▶"; position: absolute; left: 12px; bottom: 12px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--acc); color: var(--ink); font-size: .8rem; padding-left: 3px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45); transition: transform .25s var(--ease);
}
.tile.vid:hover .frame::after { transform: scale(1.1); }
.tile .dur {
  position: absolute; right: 10px; bottom: 12px; z-index: 1;
  padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .72);
  font: 500 .68rem/1.5 var(--mono); letter-spacing: .06em;
}
.tile .tag {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .72);
  font: 500 .62rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc);
}

/* ---------- feature rows (built with AI) ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center; padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; }
.feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature.flip .f-media { order: 2; }
.f-media { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.f-media > :first-child { grid-column: 1 / -1; }
.f-media .tile { margin: 0; }
.f-media.single { grid-template-columns: 1fr; }
.f-media.tri { grid-template-columns: repeat(3, 1fr); }
.f-media.tri > :first-child { grid-column: auto; }
.f-media .tile img.cover, .f-media .tile video.cover { aspect-ratio: 16 / 10; object-fit: cover; }
/* Facebook reel (9:16) beside two stills */
.f-media.reel { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: start; }
.f-media.reel > :first-child { grid-column: auto; grid-row: span 2; }
.reel-embed { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; }
.reel-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border: 0; overflow: hidden; }
.reel-embed figcaption { padding: .6rem .8rem .7rem; border-top: 1px solid var(--line); font-size: .76rem; line-height: 1.5; color: var(--dim); }
.reel-embed figcaption b { color: var(--txt); font-weight: 500; }
.reel-embed figcaption a { color: var(--acc); text-decoration: none; white-space: nowrap; }
.reel-embed figcaption a:hover { text-decoration: underline; }
.f-text h3 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin: .4rem 0 .8rem; }
.f-text p { color: #c3c3bd; font-weight: 300; font-size: .98rem; }
.f-text p + p { margin-top: .8rem; }
.f-text em { color: var(--acc); font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.chips span {
  padding: .28rem .7rem; border: 1px solid var(--line-2); border-radius: 999px;
  font: 500 .64rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #cfcfca;
}
.f-link {
  display: inline-flex; gap: .5rem; margin-top: 1.4rem; color: var(--acc); text-decoration: none;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.f-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- cards (story links) ---------- */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 2.4rem; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; padding: 1.3rem; border-radius: 12px; overflow: hidden; isolation: isolate;
  text-decoration: none; color: var(--txt); border: 1px solid var(--line);
  background: linear-gradient(160deg, #1c1f24, #0a0a0a);
  transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 212, 0, .6); }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.62) saturate(.85); transition: transform .6s var(--ease), filter .4s; }
.card:hover > img { transform: scale(1.05); filter: brightness(.75) saturate(1); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .55) 42%, rgba(0, 0, 0, .96) 78%); }
.card .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--acc); }
.card h3 { font-size: 2rem; margin-top: .35rem; }
.card p { margin-top: .5rem; font-size: .85rem; font-weight: 300; color: #d0d0ca; }
.card .go { position: absolute; top: 1.1rem; right: 1.2rem; font-size: 1.2rem; color: var(--acc); transition: transform .25s var(--ease); }
.card:hover .go { transform: translate(3px, -3px); }

/* ---------- live links ---------- */
.livelinks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 2rem; }
.livelinks a {
  display: block; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(18, 18, 20, .8); text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease);
}
.livelinks a:hover { border-color: var(--acc); transform: translateY(-3px); }
.livelinks b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: .05em; line-height: 1.05; }
.livelinks span { display: block; margin-top: .35rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--dim); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; z-index: 1; max-width: var(--maxw); margin: clamp(5rem, 10vw, 8rem) auto 0;
  padding: 0 var(--gutter);
}
.cta-band a {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem;
  padding: clamp(1.8rem, 5vw, 3.4rem); border-radius: 16px; text-decoration: none;
  background: var(--acc); color: var(--ink); overflow: hidden; position: relative;
  transition: transform .3s var(--ease);
}
.cta-band a:hover { transform: translateY(-4px); }
.cta-band .k { font-family: var(--mono); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; }
.cta-band h2 { font-size: clamp(2.6rem, 8vw, 6.4rem); margin-top: .5rem; line-height: .9; }
.cta-band p { margin-top: .9rem; max-width: 36rem; font-size: 1rem; }
.cta-band + .marquee { margin-top: clamp(3rem, 7vw, 5.5rem); }
.cta-band .arrow { font-family: var(--display); font-size: clamp(3rem, 9vw, 7rem); line-height: .8; transition: transform .3s var(--ease); }
.cta-band a:hover .arrow { transform: translateX(10px); }

/* ---------- footer ---------- */
footer.site {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) var(--gutter) 3.5rem;
  display: grid; gap: 1.5rem; grid-template-columns: 1fr auto; align-items: end;
  border-top: 1px solid var(--line); margin-top: clamp(4rem, 8vw, 6rem);
}
footer.site .brandline { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .06em; line-height: 1; }
footer.site small { display: block; margin-top: .6rem; font-size: .78rem; color: var(--dim); line-height: 1.7; }
footer.site nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: flex-end; }
footer.site nav a { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-decoration: none; color: var(--dim); }
footer.site nav a:hover { color: var(--acc); }
.light-zone footer.site { border-top-color: rgba(0, 0, 0, .12); color: var(--paper-ink); }
.light-zone footer.site small, .light-zone footer.site nav a { color: var(--paper-dim); }
.light-zone footer.site nav a:hover { color: var(--paper-ink); }

/* ---------- lightbox ---------- */
#lb {
  position: fixed; inset: 0; z-index: 400; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(4, 4, 6, .96); padding: 56px 16px 24px;
}
#lb.on { display: flex; }
#lb .stage img, #lb .stage video { max-width: min(94vw, 1500px); max-height: 80vh; width: auto; border-radius: 8px; }
#lb .lbcap { max-width: 60rem; text-align: center; font-size: .8rem; color: var(--dim); }
#lb button {
  position: fixed; background: rgba(20, 20, 22, .8); border: 1px solid var(--line-2); color: var(--txt);
  font: 400 1.1rem/1 var(--body); width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
}
#lb button:hover { border-color: var(--acc); color: var(--acc); }
#lb .x { top: 14px; right: 16px; }
#lb .pv { left: 12px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
#lb .nx { right: 12px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   VISION PAGE
   ========================================================= */
.manifesto {
  font-family: var(--display); font-size: clamp(2.2rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: .02em;
  max-width: 62rem;
}
.manifesto .dim { color: rgba(244, 244, 241, .32); }
.manifesto .y { color: var(--acc); }

.pillars-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 3rem; }
.pillars-index a {
  display: block; padding: 1.3rem 1.3rem 1.5rem; border-radius: 12px; text-decoration: none;
  border: 1px solid var(--line); background: rgba(18, 18, 20, .75);
  transition: border-color .25s, transform .25s var(--ease);
}
.pillars-index a:hover { border-color: var(--acc); transform: translateY(-4px); }
.pillars-index .n { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--acc); }
.pillars-index b { display: block; margin-top: .4rem; font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: .05em; line-height: 1; }
.pillars-index span { display: block; margin-top: .5rem; font-size: .85rem; color: var(--dim); }

.principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: start; margin-top: 1rem; }
.principle .bignum {
  font-family: var(--display); font-size: clamp(7rem, 20vw, 15rem); line-height: .78; color: var(--acc);
  letter-spacing: .01em;
}
.principle .claim { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: .03em; margin: 1rem 0 1.3rem; }
.principle .body-copy { font-size: 1.02rem; }
.why {
  margin-top: 1.8rem; padding: 1.3rem 1.4rem; border-radius: 12px;
  background: var(--acc-soft); border: 1px solid rgba(255, 212, 0, .28);
}
.why h4 { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--acc); margin-bottom: .6rem; }
.why ul { list-style: none; display: grid; gap: .55rem; }
.why li { position: relative; padding-left: 1.3rem; font-size: .93rem; color: #e2e2dc; font-weight: 300; }
.why li::before { content: "→"; position: absolute; left: 0; color: var(--acc); }
.why li strong { color: var(--txt); font-weight: 500; }

.proof { margin-top: 2.2rem; }
.proof h4 { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: .8rem; }
.proof ol { list-style: none; counter-reset: p; border-top: 1px solid var(--line); }
.proof li {
  counter-increment: p; display: grid; grid-template-columns: 2.2rem 1fr; gap: .6rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: #cfcfca; font-weight: 300;
}
.proof li::before { content: counter(p, decimal-leading-zero); font-family: var(--mono); font-size: .7rem; color: var(--acc); padding-top: .2rem; }
.proof li b { color: var(--txt); font-weight: 500; }
.proof li a { color: var(--txt); text-decoration-color: rgba(255, 212, 0, .6); text-underline-offset: 3px; }
.proof li a:hover { color: var(--acc); }

.p-media { display: grid; gap: 12px; }
.p-media .tile { margin: 0; }
.p-media.pair { grid-template-columns: 1fr 1fr; align-items: start; }
.p-media.pair .tile img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }

/* value-over-time chart + flywheel */
.diagram {
  margin-top: 2.2rem; padding: clamp(1.1rem, 3vw, 1.8rem); border-radius: 14px;
  border: 1px solid var(--line); background: rgba(12, 12, 14, .85);
}
.diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagram .d-title { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.diagram .d-title b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .05em; line-height: 1; }
.diagram .d-title span { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); align-self: center; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: .9rem; font-size: .8rem; color: #cfcfca; }
.legend i { display: inline-block; width: 22px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: .5rem; }
.svg-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; fill: #a1a1a1; }
.svg-label.y { fill: var(--acc); }
.svg-node { font-family: var(--display); font-size: 22px; letter-spacing: .05em; fill: #f4f4f1; }
.svg-small { font-family: var(--body); font-size: 12px; fill: #a1a1a1; }
.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.2s var(--ease); }
.in .draw, .visible .draw { stroke-dashoffset: 0; }
.spin-slow { transform-origin: 300px 300px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.flywheel-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.flywheel-steps { list-style: none; display: grid; gap: 1rem; counter-reset: s; }
.flywheel-steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; gap: .8rem; align-items: start; }
.flywheel-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--acc); }
.flywheel-steps b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .05em; line-height: 1.05; }
.flywheel-steps span { display: block; margin-top: .25rem; font-size: .9rem; color: #c3c3bd; font-weight: 300; }

.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 2.4rem; }
.promise div {
  padding: 1.5rem 1.4rem 1.6rem; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(30, 30, 30, .55); backdrop-filter: blur(4px);
}
.promise .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--acc); }
.promise b { display: block; margin-top: .6rem; font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: .04em; line-height: 1; }
.promise p { margin-top: .6rem; font-size: .9rem; color: #d6d6d0; font-weight: 300; }

/* ---------- bio (light zone) ---------- */
.bio { color: var(--paper-ink); }
.bio .eyebrow .t { color: var(--paper-dim); }
.bio .eyebrow .n { color: var(--paper-ink); }
.bio-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: start; }
.bio .bio-name { font-family: var(--display); font-size: clamp(3.6rem, 8.5vw, 7.4rem); line-height: .86; letter-spacing: .01em; margin-bottom: 0; overflow: visible; }
@media (max-width: 900px) { .bio .bio-name { font-size: clamp(4rem, 19vw, 7.4rem); } }
.bio .bio-name span { display: block; }
.bio-role { margin-top: 1.1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-dim); line-height: 1.8; }
.bio-mark {
  display: inline-block; margin-top: 1.6rem; padding: .25rem .6rem; background: var(--acc); color: var(--ink);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
}
.bio .lead { color: #222; }
.bio .body-copy { color: #333; }
.bio .body-copy strong { color: #000; }
.bio-tl { list-style: none; margin-top: 2rem; border-top: 1px solid rgba(0, 0, 0, .14); }
.bio-tl li { display: grid; grid-template-columns: 6.2rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(0, 0, 0, .14); font-size: .92rem; color: #333; }
.bio-tl .y { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; color: #000; letter-spacing: .03em; }
.bio-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.bio-links a {
  padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .2); text-decoration: none;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: #111; background: rgba(255, 255, 255, .6);
  transition: background .2s, border-color .2s;
}
.bio-links a:hover { background: var(--acc); border-color: var(--acc); }
.bio .pull { border-left-color: #111; color: #111; }
.bio .pull cite { color: var(--paper-dim); }
.bio .btn { color: var(--ink); border-color: rgba(0, 0, 0, .25); background: transparent; }
.bio .btn:hover { border-color: #000; color: #000; }
.bio .btn.solid { background: #111; color: var(--acc); border-color: #111; }
.bio .btn.solid:hover { background: var(--acc); color: #111; border-color: var(--acc); }

/* =========================================================
   HUB: variable gradient, parallax banners, Kalanggaman, games, sites
   ========================================================= */
/* the sky: a fixed gradient whose colours js/site.js blends between each [data-tone] section */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  --sky-a: #1a1406; --sky-b: #050505; --sky-c: #0a0a0a;
  background:
    radial-gradient(90% 60% at 18% 8%, var(--sky-a) 0%, transparent 62%),
    radial-gradient(70% 55% at 88% 92%, var(--sky-a) 0%, transparent 60%),
    linear-gradient(180deg, var(--sky-b) 0%, var(--sky-c) 100%);
}
.hero-word {
  position: absolute; left: 0; right: 0; top: 30%; z-index: -1; text-align: center;
  font-family: var(--display); font-size: clamp(6rem, 24vw, 22rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 212, 0, .16);
  pointer-events: none; user-select: none; will-change: transform;
}

/* full-bleed parallax banner between sections; edges dissolve into the sky */
.pbanner {
  position: relative; z-index: 1; overflow: hidden; isolation: isolate;
  height: clamp(380px, 74vh, 780px); margin-top: clamp(4rem, 8vw, 6rem);
  display: flex; align-items: flex-end; padding: 0 var(--gutter) clamp(3rem, 8vh, 5rem);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.pbanner .bg {
  position: absolute; inset: -22% 0; z-index: -2;
  background-size: cover; background-position: center; will-change: transform;
  filter: brightness(.66) saturate(1.05);
}
.pbanner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 60%, transparent 100%);
}
.pbanner .inner { width: 100%; max-width: var(--maxw); margin: 0 auto; will-change: transform; }
.pbanner h3 { font-size: clamp(3.2rem, 11vw, 9rem); line-height: .86; margin-top: .6rem; text-shadow: 0 6px 40px rgba(0, 0, 0, .45); }
.pbanner h3 b { font-weight: 400; color: var(--acc); }
.pbanner p { max-width: 34rem; margin-top: 1rem; font-size: clamp(.95rem, 1.8vw, 1.1rem); font-weight: 300; color: #e6e6e0; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.pbanner .btn { margin-top: 1.4rem; }

/* Kalanggaman */
.kg-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.kg-intro .claim { font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1; letter-spacing: .03em; margin-bottom: 1.2rem; }
.kg-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kg-stack > :first-child { grid-column: 1 / -1; }
.kg-stack .tile { margin: 0; }
.kg-stack .tile img, .kg-stack .tile video { aspect-ratio: 16 / 9; object-fit: cover; }
.kg-strip { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 14px; margin-top: clamp(2.5rem, 5vw, 3.5rem); align-items: start; }
.kg-strip .tile { margin: 0; }
.kg-forms { list-style: none; counter-reset: f; margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8, 20, 24, .7); padding: .4rem 1.2rem; }
.kg-forms li { counter-increment: f; display: grid; grid-template-columns: 2.4rem 1fr; gap: .6rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.kg-forms li:last-child { border-bottom: 0; }
.kg-forms li::before { content: counter(f, decimal-leading-zero); font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--acc); }
.kg-forms b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: .04em; line-height: 1.05; }
.kg-forms span { display: block; margin-top: .2rem; font-size: .86rem; color: #c9d6d8; font-weight: 300; }
.kg-forms a { color: var(--acc); text-decoration: none; }
.kg-forms a:hover { text-decoration: underline; }

/* games: big playable cards */
.play-grid {
  display: grid; gap: 14px; margin-top: 2.4rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: minmax(300px, auto);
}
.play-grid .p1 { grid-row: span 2; }
.play-grid .p2 { grid-column: span 2; }
.play-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  padding: clamp(1.1rem, 2.4vw, 1.6rem); border-radius: 14px; overflow: hidden; min-height: 300px;
  border: 1px solid var(--line); color: var(--txt); text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s;
}
.play-card:hover { transform: translateY(-6px); border-color: rgba(255, 212, 0, .65); }
.play-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.play-card:hover > img { transform: scale(1.06); }
.play-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, .8) 64%, rgba(0, 0, 0, .95) 100%); }
.play-card .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--acc); }
.play-card h3 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: .35rem; }
.play-card p { max-width: 34rem; margin-top: .5rem; font-size: .9rem; font-weight: 300; color: #dcdcd6; }
.play-card .pill {
  align-self: flex-start; margin-top: 1rem; padding: .5rem .95rem; border-radius: 999px;
  background: var(--acc); color: var(--ink); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.play-card .pill.ghost { background: rgba(0, 0, 0, .45); color: var(--txt); border: 1px solid var(--line-2); }

/* all sites */
.site-cards { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2.4rem; }
@media (max-width: 1000px) { .site-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .site-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-card .d { display: none; } }
.site-card {
  display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: rgba(16, 16, 18, .88); text-decoration: none; color: var(--txt);
  transition: transform .25s var(--ease), border-color .25s;
}
.site-card:hover { transform: translateY(-4px); border-color: var(--acc); }
.site-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.site-card .b { display: block; padding: .75rem .9rem .9rem; }
.site-card b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: .04em; line-height: 1.05; }
.site-card .h { display: block; margin-top: .25rem; font-family: var(--mono); font-size: .66rem; color: var(--acc); letter-spacing: .02em; word-break: break-all; }
.site-card .d { display: block; margin-top: .35rem; font-size: .78rem; color: var(--dim); line-height: 1.5; }
.site-groups { columns: 3 290px; column-gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(3rem, 6vw, 4rem); }
.site-group { break-inside: avoid; margin-bottom: 2.2rem; }
.site-group h4 {
  font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc); padding-bottom: .6rem; border-bottom: 1px solid var(--line-2);
}
.site-group a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: baseline;
  padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--txt);
}
.site-group a b { font-weight: 500; font-size: .9rem; transition: color .2s; }
.site-group a span { font-family: var(--mono); font-size: .64rem; color: var(--dim); text-align: right; }
.site-group a:hover b { color: var(--acc); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .f-media { order: 0; }
  .principle, .flywheel-wrap, .bio-grid, .kg-intro { grid-template-columns: 1fr; }
  .play-grid { grid-template-columns: 1fr 1fr; }
  .play-grid .p1 { grid-row: auto; grid-column: 1 / -1; min-height: 380px; }
  .play-grid .p2 { grid-column: 1 / -1; }
  .pillars-index, .promise { grid-template-columns: 1fr; }
  footer.site { grid-template-columns: 1fr; }
  footer.site nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .nav { gap: .5rem; padding: .7rem 16px; }
  .nav .brand { font-size: 1.2rem; }
  .nav .brand img { width: 28px; height: 28px; }
  .nav .links a { padding: .4rem .55rem; font-size: .66rem; letter-spacing: .1em; }
  .nav .links a.hide-sm { display: none; }
}
@media (max-width: 440px) {
  .nav .links a.hide-xs { display: none; }
  .masonry { columns: 1; }
  .masonry.two { columns: 1; }
  .kg-strip { grid-template-columns: 1fr; }
  .kg-strip > .reel-embed { justify-self: center; width: min(320px, 100%); }
  .play-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(280px, auto); }
  .play-grid .p1, .play-grid .p2 { grid-column: auto; }
  .pbanner { height: clamp(340px, 62vh, 560px); }
  .hero-word { top: 36%; }
  .f-media.reel { grid-template-columns: 1fr 1fr; }
  .f-media.reel > :first-child { grid-column: 1 / -1; grid-row: auto; justify-self: center; width: min(320px, 100%); }
  .f-media.tri { grid-template-columns: 1fr 1fr; }
  .f-media.tri > :first-child { grid-column: 1 / -1; }
  .p-media.pair { grid-template-columns: 1fr; }
  .squares i { opacity: .05; width: 40vw; }
  .cta-band a { grid-template-columns: 1fr; }
  .cta-band .arrow { display: none; }
  .bio-tl li { grid-template-columns: 4.6rem 1fr; }
  .hero-stats { gap: 1.4rem 2rem; }
  #lb .pv, #lb .nx { top: auto; bottom: 16px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .block h2 .ch { transform: none; opacity: 1; transition: none; }
  .hero h1 .ch, .bgword, .hero .bg, .pbanner .bg, .pbanner .inner, .hero-word, [data-depth] { transform: none !important; }
  .marquee .track, .spin-slow, .scroll-ind .mouse::after { animation: none; }
  .draw { stroke-dashoffset: 0; transition: none; }
}
