/* ==========================================================================
   nilsglenn.com
   Ziggurat above the water, iceberg below it.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #07080c;
  --night: #050a16;
  --navy: #0b1d3a;
  --lapis: #1f3f8f;
  --gold: #d8ae5a;
  --gold-hi: #f4dea3;
  --gold-lo: #9a6f2c;
  --ivory: #f4ecdc;
  --text: #ede4d0;
  --muted: rgba(237, 228, 208, .74);
  --faint: rgba(237, 228, 208, .56);
  --line: rgba(216, 174, 90, .2);
  --line-strong: rgba(216, 174, 90, .46);
  --yt-red: #ff0000;
  --ig-blue: #0095f6;

  --f-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --nav-h: 72px;
  --bar-h: 0px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gold-grad: linear-gradient(180deg, #fff3cc 0%, #f0d188 30%, #d4a24c 58%, #9b6d2b 100%);
  --n: 6px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--bar-h) + 8px);
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: rgba(216, 174, 90, .38); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 10px 16px;
  background: var(--gold); color: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s;
}
.skip:focus { transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* The house shape: cards and buttons get stepped (ziggurat) corners */
.btn, .btn--ghost::before, .tile, .tile::after, .feature__frame, .feature__badge,
.icon-btn, .icon-btn::before, .vcard__thumb, .empire, .letter__media, .field, .field::before,
.lightbox__frame, .quote, .insta__stage, .nudge, .about__photo, .latest__thumb {
  clip-path: polygon(
    calc(var(--n) * 2) 0, calc(100% - var(--n) * 2) 0, calc(100% - var(--n) * 2) var(--n), calc(100% - var(--n)) var(--n), calc(100% - var(--n)) calc(var(--n) * 2), 100% calc(var(--n) * 2),
    100% calc(100% - var(--n) * 2), calc(100% - var(--n)) calc(100% - var(--n) * 2), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n) * 2) calc(100% - var(--n)), calc(100% - var(--n) * 2) 100%,
    calc(var(--n) * 2) 100%, calc(var(--n) * 2) calc(100% - var(--n)), var(--n) calc(100% - var(--n)), var(--n) calc(100% - var(--n) * 2), 0 calc(100% - var(--n) * 2),
    0 calc(var(--n) * 2), var(--n) calc(var(--n) * 2), var(--n) var(--n), calc(var(--n) * 2) var(--n)
  );
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font: 500 11.5px/1.4 var(--f-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow > svg { width: 14px; height: 14px; }
.eyebrow__lvl {
  padding: .42em .8em .38em;
  border: 1px solid var(--line-strong);
  color: var(--gold-hi);
  background: rgba(216, 174, 90, .06);
}
.eyebrow__depth { color: var(--faint); letter-spacing: .16em; }
.eyebrow__depth::before { content: "\2193\00a0"; }

/* Headings scale with their own column (container queries), so the longest
   word always fits; gradient text is invisible outside its box. */
.section-head, .level__head, .empire__body, .insta__body, .letter__body, .offer__body, .merch__body, .about__body { container-type: inline-size; }
.display, .level__title {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}
.display { margin-top: 18px; font-size: clamp(44px, 12cqi, 112px); }
.level__title { margin-top: 18px; font-size: clamp(34px, 12cqi, 88px); }
.watch .level__title { font-size: clamp(32px, 11cqi, 72px); }
.empire .level__title { font-size: clamp(28px, 10cqi, 60px); }
.insta .level__title { font-size: clamp(34px, 13cqi, 84px); }
.offer .level__title { font-size: clamp(32px, 10.5cqi, 74px); }
.merch .level__title { font-size: clamp(32px, 11cqi, 72px); }
.about .level__title { font-size: clamp(38px, 12cqi, 84px); }
.proofwall .level__title { font-size: clamp(30px, 8cqi, 68px); }
.lede {
  margin-top: 20px;
  max-width: 60ch;
  font-size: clamp(16px, 1.3vw, 18.5px);
  color: var(--muted);
}
.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font: 600 14.5px/1.3 var(--f-sans);
  color: var(--gold-hi);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.textlink svg { width: 15px; height: 15px; flex: none; }
.textlink:hover { color: #fff; border-color: var(--gold-hi); }

/* ---------- Buttons ---------- */
.btn {
  --n: 5px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 52px;
  padding: 0 1.7em;
  font: 700 12.5px/1 var(--f-sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: translate .4s var(--ease), color .3s, background-color .3s;
}
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn--sm { --n: 4px; min-height: 40px; padding: 0 1.15em; font-size: 11px; }
.btn--sm .btn__icon { width: 16px; height: 16px; }
.btn--lg { min-height: 62px; padding: 0 2.3em; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn--gold {
  color: #1c1307;
  background: linear-gradient(180deg, #f8e6b0 0%, #deb662 48%, #b9863a 100%);
}
.btn--gold::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  translate: -130% 0;
  transition: translate .9s var(--ease);
}
.btn--ghost { color: var(--gold-hi); background: var(--line-strong); }
.btn--ghost::before {
  content: "";
  position: absolute; inset: 1px; z-index: -1;
  background: rgba(6, 10, 20, .74);
  transition: background .35s;
}
/* Platform buttons look like the real thing: YouTube's red pill, Instagram's blue */
.btn--yt, .btn--ig {
  clip-path: none;
  letter-spacing: .02em;
  text-transform: none;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.btn--yt { background: var(--yt-red); border-radius: 999px; padding: 0 1.4em; min-height: 46px; }
.btn--yt:hover { background: #cc0000; }
.btn--ig { background: var(--ig-blue); border-radius: 10px; min-height: 46px; }
.btn--ig:hover { background: #1877f2; }
.btn__icon--yt { width: 22px; height: 16px; }
.btn--yt.btn--sm { min-height: 38px; font-size: 13.5px; }
@media (hover: hover) {
  .btn--gold:hover::after { translate: 130% 0; }
  .btn--ghost:hover { color: #1c1307; }
  .btn--ghost:hover::before { background: var(--gold); }
}
.btn:focus-visible { outline: 2px solid var(--ivory); outline-offset: -6px; }
.btn--yt:focus-visible, .btn--ig:focus-visible { outline-offset: 3px; }
.btn.is-soon .btn__icon { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.icon-btn {
  --n: 4px;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  color: var(--gold-hi);
  background: var(--line-strong);
  transition: color .3s;
}
.icon-btn::before {
  content: "";
  position: absolute; inset: 1px; z-index: -1;
  background: #0a1226;
  transition: background .3s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:focus-visible { outline: 2px solid var(--ivory); outline-offset: -6px; }
@media (hover: hover) {
  .icon-btn:hover { color: var(--ink); }
  .icon-btn:hover::before { background: var(--gold); }
}

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 250;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 58%, #0e1a36 0%, #05070d 72%);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.05s var(--ease-io);
}
.intro.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.js.no-intro .intro { display: none; }
.intro__inner { display: flex; flex-direction: column; align-items: center; }
.intro__mark { width: min(40vw, 200px); overflow: visible; }
.intro__zig, .intro__refl, .intro__line { fill: none; stroke: var(--gold); stroke-width: 1.4; }
.intro__zig { stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1s var(--ease-io) .1s forwards, fillGold .7s ease .95s forwards; }
.intro__line { stroke-dasharray: 160; stroke-dashoffset: 160; opacity: .6; animation: draw .8s var(--ease) .3s forwards; }
.intro__refl { stroke-dasharray: 360; stroke-dashoffset: 360; opacity: .32; animation: draw 1s var(--ease-io) .45s forwards; }
.intro__sun {
  fill: var(--gold-hi);
  transform-origin: 100px 30px;
  transform: scale(0);
  filter: drop-shadow(0 0 12px rgba(244, 222, 163, .85));
  animation: sunPop .7s var(--ease) .95s forwards;
}
.intro__name {
  margin-top: 26px;
  padding-left: .55em;
  font: 700 13px/1 var(--f-display);
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--gold-hi);
  opacity: 0;
  animation: fadeUp .9s var(--ease) .55s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillGold { to { fill: rgba(216, 174, 90, .24); } }
@keyframes sunPop { to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Atmosphere layers ---------- */
.particles {
  position: fixed; inset: 0; z-index: 4;
  width: 100%; height: 100%;
  pointer-events: none;
}
.torch {
  position: fixed; left: 0; top: 0; z-index: 3;
  width: 720px; height: 720px;
  margin: -360px 0 0 -360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 190, 110, .11) 0%, rgba(232, 190, 110, .045) 32%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(var(--tx, -9999px), var(--ty, -9999px), 0);
  transition: opacity .8s;
}
.torch.is-on { opacity: 1; }
.grain {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: overlay;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header: announcement + nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: transform .55s var(--ease), background-color .45s, border-color .45s;
}
.nav.is-scrolled {
  background-color: rgba(6, 9, 18, .66);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.nav.is-hidden { transform: translateY(-101%); }
.announce {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 48px;
  background: linear-gradient(90deg, #8f6526, #d8ae5a 30%, #f4dea3 50%, #d8ae5a 70%, #8f6526);
  color: #1c1307;
}
.announce__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  font: 700 12.5px/1.3 var(--f-sans);
  letter-spacing: .02em;
  text-align: center;
}
.announce__tag {
  padding: 3px 8px 2px;
  font: 700 10px/1.2 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-hi);
  background: #1c1307;
}
.announce__cta { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; }
.announce__cta svg { width: 14px; height: 14px; }
.announce__close {
  position: absolute; right: 10px; top: 50%;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-top: -15px;
  color: #1c1307;
  opacity: .7;
}
.announce__close:hover { opacity: 1; }
.announce__close svg { width: 16px; height: 16px; }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; fill: var(--gold); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__name {
  font: 700 14.5px/1 var(--f-display);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ivory);
}
.nav__links { display: none; gap: 28px; }
.nav__links a {
  position: relative;
  padding: 8px 0;
  font: 500 11.5px/1 var(--f-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-hi); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }
.nav__toggle {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 6px;
  width: 44px; height: 44px;
  margin-right: -8px;
  padding-right: 8px;
}
.nav__toggle i {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--ivory);
  transition: transform .45s var(--ease), opacity .3s, width .45s var(--ease);
}
.nav__toggle i:nth-of-type(2) { width: 18px; }
.nav__toggle i:nth-of-type(3) { width: 10px; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(3) { width: 26px; transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 1040px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}
@media (min-width: 560px) { .nav__cta { display: inline-flex; } }
.js .nav { opacity: 0; translate: 0 -14px; transition: opacity .9s var(--ease) .4s, translate .9s var(--ease) .4s, transform .55s var(--ease), background-color .45s, border-color .45s; }
.is-ready .nav { opacity: 1; translate: 0 0; }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: calc(var(--nav-h) + var(--bar-h) + 20px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 25% 15%, #11224b 0%, #060a14 72%);
  opacity: 0;
  transition: opacity .4s;
  overflow-y: auto;
}
.menu.is-open { opacity: 1; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0 14px calc(var(--i) * 14px);
  border-top: 1px solid var(--line);
  font: 700 clamp(21px, 6vw, 36px)/1.1 var(--f-display);
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s;
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.menu__nav a:last-child { border-bottom: 1px solid var(--line); }
.menu__nav a:hover { color: var(--gold-hi); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__num { min-width: 2.6em; font: 500 11px/1 var(--f-mono); letter-spacing: .2em; color: var(--gold); }
.menu__ctas { display: grid; gap: 10px; }
.menu__ctas .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  background: #0a1024;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1));
  transform-origin: 50% 62%;
  will-change: transform;
}
.hero__media picture { position: absolute; inset: 0; display: block; }
.hero__media img, .hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero__video { opacity: 0; }
.hero__video.is-playing { opacity: 1; }
.js .hero__media picture, .js .hero__video {
  scale: 1.12;
  filter: brightness(.45);
  transition: scale 3s var(--ease), filter 2.4s var(--ease), opacity 1.6s ease;
}
.is-ready .hero__media picture, .is-ready .hero__video { scale: 1; filter: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 7, 15, .66) 0%, rgba(4, 7, 15, .18) 18%, rgba(4, 7, 15, 0) 32%),
    linear-gradient(0deg, rgba(4, 8, 18, .97) 0%, rgba(4, 8, 18, .72) 18%, rgba(4, 8, 18, .12) 44%, rgba(4, 8, 18, 0) 58%);
}
.hero__shade::after {
  content: "";
  position: absolute; inset: 0;
  background: #040812;
  opacity: var(--hd, 0);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: calc(1440px + 2 * var(--gutter));
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--bar-h) + clamp(10px, 3vh, 38px)) var(--gutter) clamp(24px, 4.6vh, 50px);
}
.hero__head {
  text-align: center;
  transform: translate3d(0, var(--ty, 0px), 0);
  opacity: var(--to, 1);
  will-change: transform, opacity;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.hero__eyebrow .rule { width: clamp(24px, 6vw, 84px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero__eyebrow .rule:last-child { transform: scaleX(-1); }
.hero__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: .22em;
  margin-top: clamp(8px, 1.8vh, 20px);
  font: 900 clamp(52px, 11.6vw, 232px)/.84 var(--f-display);
  letter-spacing: .012em;
  text-transform: uppercase;
  color: var(--gold-hi);
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .45)) drop-shadow(0 0 44px rgba(216, 174, 90, .16));
}
.hero__line {
  display: inline-block;
  white-space: nowrap;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title.is-split .hero__line { background: none; color: inherit; }
.chm { display: inline-block; overflow: hidden; overflow: clip; padding: .04em .01em .02em; margin: -.04em -.01em -.02em; vertical-align: top; }
.ch {
  display: inline-block;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  translate: 0 108%;
  rotate: 5deg;
  transition: translate 1.35s var(--ease), rotate 1.35s var(--ease);
  transition-delay: calc(var(--ci) * 60ms + 120ms);
}
.is-ready .ch {
  translate: 0 0;
  rotate: 0deg;
  animation: glint 8s ease-in-out calc(var(--ci) * 90ms + 3s) infinite;
}
@keyframes glint {
  0%, 7%, 100% { filter: brightness(1); }
  3.5% { filter: brightness(1.55) drop-shadow(0 0 16px rgba(255, 230, 170, .55)); }
}
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px 48px;
  margin-top: auto;
}
.hero__intro { max-width: 560px; }
.hero__sub {
  font: 500 italic clamp(20px, 1.75vw, 27px)/1.35 var(--f-serif);
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.hero__intro .btn-row { margin-top: 22px; }

/* Social-proof chips with the real platform logos */
.proof { display: flex; flex-wrap: wrap; gap: 10px; max-width: 700px; justify-content: flex-end; }
.proof__chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px 9px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(6, 10, 20, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color .3s, background .3s, translate .4s var(--ease);
}
.proof__chip:hover { border-color: rgba(244, 222, 163, .5); background: rgba(12, 18, 34, .75); translate: 0 -2px; }
.proof__logo { flex: none; }
.proof__logo--yt { width: 28px; height: 20px; }
.proof__logo--ig { width: 24px; height: 24px; }
.proof__logo--nl { width: 26px; height: 26px; }
.proof__text { display: flex; flex-direction: column; line-height: 1.1; }
.proof__text b { font: 800 16px/1.1 var(--f-sans); color: #fff; font-variant-numeric: tabular-nums; }
.proof__text span { font: 500 9.5px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(18px, 3vh, 34px);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-left: .34em;
  transform: translateX(-50%);
  font: 500 10.5px/1 var(--f-mono);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.hero__scroll i { position: relative; width: 1px; height: 46px; overflow: hidden; background: linear-gradient(var(--line-strong), transparent); }
.hero__scroll i::after {
  content: "";
  position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--gold-hi);
  animation: drip 2.4s var(--ease-io) infinite;
}
@keyframes drip { to { top: 110%; } }
@media (min-width: 1500px) { .hero__scroll { display: flex; } }

.js .hero__eyebrow, .js .hero__foot > *, .js .hero__scroll {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 1.1s var(--ease), translate 1.3s var(--ease);
}
.is-ready .hero__eyebrow { opacity: 1; translate: 0 0; transition-delay: .15s; }
.is-ready .hero__foot > * { opacity: 1; translate: 0 0; transition-delay: .95s; }
.is-ready .hero__foot > :nth-child(2) { transition-delay: 1.1s; }
.is-ready .hero__scroll { opacity: 1; translate: 0 0; transition-delay: 1.5s; }

@media (max-width: 1099px) {
  .proof { justify-content: flex-start; }
}
@media (max-width: 599px) {
  .hero { min-height: 700px; }
  .hero__title { flex-direction: column; align-items: center; font-size: 23vw; line-height: .88; }
  .hero__eyebrow { letter-spacing: .24em; font-size: 10px; gap: 10px; }
  .hero__foot { gap: 18px; }
  .hero__sub { font-size: 19px; }
  .hero__intro .btn { flex: 1 1 100%; }
  .proof { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .proof__chip { padding: 8px 12px 8px 10px; gap: 9px; }
  .proof__text b { font-size: 15px; }
}

/* ---------- Directory: the ziggurat of links ---------- */
.directory {
  position: relative;
  padding: clamp(84px, 11vw, 150px) 0 clamp(90px, 10vw, 140px);
  background: linear-gradient(180deg, #040812 0%, #06101f 60%, #07142a 100%);
}
.zig {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 84px;
}
.zig__tier { display: grid; gap: 12px; width: 100%; margin: 0; padding: 0; list-style: none; }
.zig__tier--3 { max-width: 500px; }
.zig__tier--2 { max-width: 840px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zig__tier--1 { max-width: 1180px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zig__tier > li { display: flex; }
.zig__sun {
  position: absolute; top: 0; left: 50%;
  width: 60px; height: 60px;
  margin-left: -30px;
}
.zig__sun i {
  position: absolute; inset: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff6d8, #eec56f 55%, #a4762f);
  box-shadow: 0 0 26px 6px rgba(244, 210, 130, .45), 0 0 90px 34px rgba(216, 174, 90, .16);
}
.zig__sun::before {
  content: "";
  position: absolute; inset: -34px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(244, 222, 163, .6) 0deg 1.6deg, transparent 1.6deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 31%, transparent 72%);
  mask: radial-gradient(circle, transparent 28%, #000 31%, transparent 72%);
  animation: spin 50s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tile {
  --n: 7px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "media text" "media go";
  align-items: center;
  column-gap: 18px;
  row-gap: 10px;
  width: 100%;
  min-height: 124px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(216, 174, 90, .6), rgba(216, 174, 90, .14));
  transition: translate .55s var(--ease);
}
.tile::after {
  content: "";
  position: absolute; inset: 1px; z-index: -1;
  background:
    linear-gradient(105deg, transparent 38%, rgba(244, 222, 163, .12) 50%, transparent 62%) -160% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #131f3c 0%, #0a1227 100%);
  transition: background-position 1s var(--ease);
}
.tile--shop::after {
  background:
    linear-gradient(105deg, transparent 38%, rgba(244, 222, 163, .14) 50%, transparent 62%) -160% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #2a2112 0%, #120d07 100%);
}
.tile__media { grid-area: media; position: relative; width: 72px; height: 72px; }
.tile__icon { width: 100%; height: 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)); transition: transform .7s var(--ease); }
.tile__avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(216, 174, 90, .55), 0 10px 22px rgba(0, 0, 0, .5);
  transition: transform .7s var(--ease);
}
.tile__badge {
  position: absolute;
  right: -7px; bottom: -3px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .55));
}
.tile__badge--yt { width: 32px; height: 23px; }
.tile__badge--ig { width: 28px; height: 28px; right: -5px; bottom: -4px; }
.tile__text { grid-area: text; align-self: end; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile__kicker { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tile__label { font: 700 clamp(16px, 1.45vw, 20px)/1.15 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: var(--ivory); }
.tile__sub { font-size: 14px; line-height: 1.4; color: var(--muted); }
.tile__go {
  grid-area: go;
  justify-self: start;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 10px;
  font: 700 10px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-hi);
  border: 1px solid var(--line-strong);
  transition: color .3s, background .3s, border-color .3s;
}
.tile__go svg { width: 12px; height: 12px; transition: transform .5s var(--ease); }
.tile--hero { min-height: 146px; }
.tile--hero .tile__media { width: 92px; height: 92px; }
.tile--hero .tile__label { font-size: clamp(20px, 2vw, 27px); }
.tile--shop .tile__go { color: #1c1307; background: var(--gold); border-color: var(--gold); }
.tile:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -7px; }
@media (hover: hover) {
  .tile:hover { translate: 0 -5px; }
  .tile:hover::after { background-position: 160% 0, 0 0; }
  .tile:hover .tile__icon, .tile:hover .tile__avatar { transform: scale(1.06); }
  .tile:hover .tile__go { color: #1c1307; background: var(--gold-hi); border-color: var(--gold-hi); }
  .tile:hover .tile__go svg { transform: translate(2px, -2px); }
}

.js .zig__tier > li { opacity: 0; translate: 0 50px; scale: .96; transition: opacity .9s var(--ease), translate 1.2s var(--ease), scale 1.2s var(--ease); }
.js .zig__tier--1 > li { transition-delay: calc(var(--t) * 90ms); }
.js .zig__tier--2 > li { transition-delay: calc(320ms + var(--t) * 90ms); }
.js .zig__tier--3 > li { transition-delay: 600ms; }
.zig.is-in .zig__tier > li { opacity: 1; translate: 0 0; scale: 1; }
.js .zig__sun { opacity: 0; translate: 0 44px; scale: .5; transition: opacity 1.1s var(--ease) 950ms, translate 1.5s var(--ease) 950ms, scale 1.5s var(--ease) 950ms; }
.zig.is-in .zig__sun { opacity: 1; translate: 0 0; scale: 1; }

@media (max-width: 1099px) and (min-width: 720px) {
  .zig__tier--1 .tile { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "text" "go"; align-items: start; }
  .zig__tier--1 .tile__media { width: 56px; height: 56px; }
}
@media (max-width: 719px) {
  .zig { gap: 8px; padding-top: 64px; }
  .zig__tier { gap: 8px; }
  .zig__tier--3 { max-width: 90%; }
  .zig__tier--2 { max-width: 96%; }
  .tile {
    --n: 5px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "text" "go";
    align-items: start;
    row-gap: 9px;
    min-height: 0;
    padding: 14px 12px;
  }
  .tile--hero { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "media text" "media go"; column-gap: 14px; align-items: center; padding: 14px; }
  .tile__media { width: 46px; height: 46px; }
  .tile--hero .tile__media { width: 60px; height: 60px; }
  .tile__badge--yt { width: 24px; height: 17px; right: -6px; }
  .tile__badge--ig { width: 21px; height: 21px; }
  .tile__sub { display: none; }
  .tile__kicker { font-size: 9px; letter-spacing: .1em; }
  .tile__label { font-size: 14px; }
  .tile--hero .tile__label { font-size: 17px; }
  .tile--hero .tile__sub { display: block; font-size: 13px; }
  .zig__tier--1 .tile__kicker { display: none; }
  .zig__tier--1 .tile { padding: 12px 10px 14px; }
  .zig__tier--1 .tile__label { font-size: clamp(10.5px, 3.1vw, 14px); letter-spacing: .02em; }
  .tile__go { font-size: 9px; padding: 4px 7px; }
}

/* ---------- Social proof: real comments ---------- */
.proofwall {
  position: relative;
  padding: clamp(40px, 5vw, 70px) 0 clamp(80px, 10vw, 130px);
  background: #07142a;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 5vw, 60px);
}
.quote {
  --n: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 26px 22px;
  background: linear-gradient(180deg, rgba(24, 38, 72, .92), rgba(11, 19, 40, .92));
}
.quote::before {
  content: "\201C";
  position: absolute; top: 4px; right: 18px;
  font: 700 84px/1 var(--f-serif);
  color: rgba(216, 174, 90, .28);
}
.quote blockquote { margin: 0; font: 500 italic clamp(19px, 1.5vw, 22px)/1.4 var(--f-serif); color: var(--ivory); }
.quote__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: .04em;
  color: var(--faint);
}
.quote__yt { width: 22px; height: 16px; flex: none; }
.quote__likes { display: inline-flex; align-items: center; gap: 5px; color: var(--ivory); font-weight: 500; }
.quote__likes svg { width: 13px; height: 13px; }
.quote__on { flex: 1 1 100%; }
.proofwall__note { margin-top: 22px; text-align: center; font: 500 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 899px) {
  .quotes {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 360px);
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--gold-lo) transparent;
  }
  .quote { scroll-snap-align: start; }
}

/* ---------- Waterline ---------- */
.waterline {
  position: relative;
  height: clamp(130px, 15vw, 220px);
  overflow: hidden;
  background: #07142a;
}
.waves { position: absolute; left: 0; bottom: -1px; width: 200%; max-width: none; height: 100%; }
.wave { transform-box: fill-box; }
.wave--1 { fill: #0a1a35; animation: wave 22s linear infinite; }
.wave--2 { fill: #0b1c39; animation: wave 15s linear infinite reverse; }
.wave--3 { fill: #0b1d3a; animation: wave 28s linear infinite; }
.wave-crest { fill: none; stroke: rgba(244, 222, 163, .28); stroke-width: 1.2; vector-effect: non-scaling-stroke; transform-box: fill-box; animation: wave 22s linear infinite; }
@keyframes wave { to { transform: translateX(-50%); } }
.waterline__note {
  position: absolute; left: 0; right: 0; bottom: 14%;
  text-align: center;
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--faint);
}
.waterline__note span { display: inline-block; padding: 0 var(--gutter); }

/* ---------- Below the waterline ---------- */
.abyss {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, #0b1d3a 0%, #0a1934 12%, #08142b 28%, #061024 46%, #050c1c 64%, #040913 82%, #03060d 100%);
}
.abyss__bg {
  position: absolute; left: 0; right: 0; top: 0; z-index: 0;
  height: min(230vh, 2600px);
  pointer-events: none;
  transform: translate3d(0, var(--ay, 0px), 0);
  will-change: transform;
}
.abyss__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  opacity: .46;
  mix-blend-mode: screen;
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 16%, rgba(0, 0, 0, .85) 40%, transparent 95%);
  mask: linear-gradient(180deg, transparent 0%, #000 16%, rgba(0, 0, 0, .85) 40%, transparent 95%);
}
.abyss__rays {
  position: absolute; inset: 0 -10% 45%;
  background: repeating-linear-gradient(100deg, rgba(150, 196, 255, 0) 0 70px, rgba(150, 196, 255, .05) 70px 110px, rgba(150, 196, 255, 0) 110px 190px);
  -webkit-mask: linear-gradient(180deg, #000, transparent);
  mask: linear-gradient(180deg, #000, transparent);
  filter: blur(8px);
  transform-origin: 50% 0;
  animation: rays 16s ease-in-out infinite alternate;
}
@keyframes rays {
  from { transform: skewX(-7deg) translateX(-2%); opacity: .6; }
  to { transform: skewX(7deg) translateX(2%); opacity: 1; }
}

.level { position: relative; padding: clamp(96px, 12vw, 176px) 0; }
.level__word {
  position: absolute; top: clamp(24px, 4vw, 64px); left: 50%; z-index: 0;
  font: 900 clamp(104px, 21vw, 360px)/.8 var(--f-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 174, 90, .12);
  transform: translate3d(calc(-50% + var(--wx, 0px)), 0, 0);
  pointer-events: none;
  user-select: none;
}
.level__step { display: none; }
@media (min-width: 1360px) {
  .level { --wall: max(10px, calc((100vw - var(--max)) / 2 * var(--k))); }
  .level::before, .level::after {
    content: "";
    position: absolute; top: 0; bottom: 0; z-index: 1;
    width: 1px;
    background: linear-gradient(180deg, var(--line-strong), var(--line) 40%, var(--line));
    pointer-events: none;
  }
  .level::before { left: var(--wall); }
  .level::after { right: var(--wall); }
  .level__step {
    position: absolute; top: 0; left: var(--wall); right: var(--wall); z-index: 1;
    display: block;
    height: 1px;
    background: var(--line-strong);
  }
  .level__step::before, .level__step::after {
    content: "";
    position: absolute; top: -3px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ffd98c;
    box-shadow: 0 0 10px 2px rgba(255, 190, 90, .75), 0 0 32px 10px rgba(255, 168, 70, .22);
    animation: flicker 2.9s infinite;
  }
  .level__step::before { left: -3px; }
  .level__step::after { right: -3px; animation-delay: -1.4s; }
}
.level--1 { --k: .82; }
.level--2 { --k: .68; }
.level--3 { --k: .54; }
.level--4 { --k: .4; }
.level--5 { --k: .26; }
.level--6 { --k: .12; }
@keyframes flicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  28% { opacity: .72; transform: scale(.82); }
  46% { opacity: .96; transform: scale(1.12); }
  70% { opacity: .78; transform: scale(.94); }
}

/* YouTube channel header: avatar, name, subscriber count, red Subscribe */
.ytcard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  max-width: 560px;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(10, 16, 32, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ytcard__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ytcard__info { flex: 1 1 160px; min-width: 0; }
.ytcard__name { font: 700 17px/1.2 var(--f-sans); color: #fff; }
.ytcard__meta { margin-top: 2px; font: 500 13px/1.35 var(--f-sans); color: var(--muted); }
.ytcard .btn--yt { flex: none; }
.ytcard--dark { background: rgba(4, 6, 12, .66); }

/* ---------- Level I: main channel ---------- */
.watch { display: grid; gap: clamp(44px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .watch { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.feature { position: relative; display: block; perspective: 1100px; }
.feature__frame {
  --n: 10px;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease);
}
.feature__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.feature__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 8, 18, .94) 0%, rgba(4, 8, 18, .25) 46%, transparent 72%); }
.feature__badge {
  --n: 3px;
  position: absolute; top: 18px; left: 18px;
  padding: 8px 12px 7px;
  font: 500 10.5px/1 var(--f-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1c1307;
  background: var(--gold);
}
.feature__play {
  position: absolute; left: 50%; top: 44%;
  display: grid;
  place-items: center;
  width: 86px; height: 86px;
  margin: -43px 0 0 -43px;
  border: 1px solid rgba(244, 222, 163, .65);
  border-radius: 50%;
  color: var(--gold-hi);
  background: rgba(8, 12, 24, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.feature__play::before {
  content: "";
  position: absolute; inset: -12px;
  border: 1px solid rgba(244, 222, 163, .35);
  border-radius: 50%;
  animation: ripple 2.8s var(--ease) infinite;
}
@keyframes ripple { from { transform: scale(.78); opacity: 1; } to { transform: scale(1.55); opacity: 0; } }
.feature__play svg { width: 30px; height: 30px; margin-left: 4px; }
.feature__meta { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.feature__title { font: 700 clamp(18px, 2vw, 28px)/1.15 var(--f-display); text-transform: uppercase; color: var(--ivory); }
.feature__info { font: 500 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
@media (hover: hover) {
  .feature:hover .feature__frame img { transform: scale(1.05); }
  .feature:hover .feature__play { transform: scale(1.08); background: rgba(216, 174, 90, .92); color: #1c1307; }
}
.sheen {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 236, 190, .17), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .45s;
}
[data-tilt]:hover .sheen { opacity: 1; }

.rail { margin-top: clamp(60px, 7vw, 100px); }
.rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.rail__title { font: 700 clamp(20px, 2vw, 26px)/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ivory); }
.rail__ctrls { display: flex; gap: 8px; }
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 26vw, 340px);
  gap: 18px;
  margin: 0;
  padding: 0 0 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-lo) transparent;
}
.rail__track > li { scroll-snap-align: start; }
@media (hover: hover) and (pointer: fine) { .rail__track { cursor: grab; } }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track.is-dragging a { pointer-events: none; }
.vcard { display: flex; flex-direction: column; gap: 12px; }
.vcard__thumb { --n: 7px; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .9s var(--ease), filter .5s; }
.vcard__dur { position: absolute; right: 12px; bottom: 12px; padding: 4px 7px; font: 500 11px/1 var(--f-mono); color: var(--ivory); background: rgba(4, 7, 14, .84); }
.vcard__play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-hi); background: rgba(4, 8, 18, .35); opacity: 0; transition: opacity .4s; }
.vcard__play svg { width: 46px; height: 46px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); }
.vcard__title { font: 600 15.5px/1.35 var(--f-sans); color: var(--text); transition: color .3s; }
.vcard__views { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
@media (hover: hover) {
  .vcard:hover .vcard__thumb img { transform: scale(1.06); filter: saturate(1.1); }
  .vcard:hover .vcard__play { opacity: 1; }
  .vcard:hover .vcard__title { color: var(--gold-hi); }
}

/* ---------- Frieze ---------- */
.frieze {
  position: relative; z-index: 2;
  padding: 26px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 24, 52, .72), rgba(6, 12, 28, .72));
}
.frieze__track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  transform: translate3d(var(--mq, 0px), 0, 0);
  will-change: transform;
}
.frieze__track span {
  font: 800 clamp(30px, 4.4vw, 64px)/1 var(--f-display);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 222, 163, .5);
}
.frieze__track span:nth-child(4n + 1) {
  -webkit-text-stroke: 0;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.frieze__track svg { flex: none; width: 22px; height: 22px; color: var(--gold); }

/* ---------- Level II: history channel ---------- */
.empire {
  --n: 14px;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(560px, 62vw, 760px);
  overflow: hidden;
  background: #05070d;
}
.empire__media {
  position: absolute; inset: -9% 0; z-index: -2;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.empire__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.empire::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 6, 12, .96) 0%, rgba(4, 6, 12, .84) 36%, rgba(4, 6, 12, .2) 66%, transparent 84%),
    linear-gradient(0deg, rgba(4, 6, 12, .7), transparent 42%);
}
.empire__body { align-self: end; max-width: 600px; padding: clamp(30px, 5vw, 68px); }
.empire__body .textlink svg { width: 13px; height: 13px; }
@media (max-width: 759px) {
  .empire { min-height: 0; }
  .empire__media { position: relative; inset: auto; aspect-ratio: 4 / 3; margin-bottom: -26%; }
  .empire::after { background: linear-gradient(0deg, #05070d 46%, rgba(5, 7, 13, .5) 66%, transparent 80%); }
  .empire__body { padding: 0 20px 30px; }
}

/* ---------- Level III: Instagram ---------- */
.insta { display: grid; gap: clamp(44px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .insta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.insta__stage {
  --n: 14px;
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(32px, 5vw, 64px) 20px;
  background-color: #0f1d42;
  background-size: cover;
  background-position: center;
}
.insta__stage::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(5, 10, 22, .35) 0%, rgba(5, 10, 22, .78) 80%);
}
.insta__stage.is-near { background-image: url("../assets/img/mosaic-1200.webp"); }
@media (max-width: 700px) { .insta__stage.is-near { background-image: url("../assets/img/mosaic-700.webp"); } }
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 9 / 19;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(150deg, #34343c, #0c0c10 60%, #26262d);
  box-shadow:
    inset 0 0 0 1.5px #4a4a54,
    0 0 0 1px rgba(216, 174, 90, .3),
    0 40px 80px rgba(0, 0, 0, .65),
    0 0 90px rgba(216, 174, 90, .12);
}
.phone__island {
  position: absolute; top: 20px; left: 50%; z-index: 3;
  width: 86px; height: 24px;
  margin-left: -43px;
  border-radius: 20px;
  background: #060608;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #000;
}

/* The real @nilsglenn profile, drawn the way Instagram's dark mode shows it */
.igapp { height: 100%; padding: 44px 12px 12px; color: #f5f5f5; font-family: var(--f-sans); overflow: hidden; }
.igapp__bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; }
.igapp__user { display: inline-flex; align-items: center; gap: 5px; font: 700 15px/1 var(--f-sans); }
.igapp__verified { width: 14px; height: 14px; }
.igapp__logo { width: 22px; height: 22px; }
.igapp__profile { display: flex; align-items: center; gap: 14px; padding: 0 4px; }
.igapp__ring {
  flex: none;
  display: grid;
  place-items: center;
  width: 70px; height: 70px;
  padding: 2.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.igapp__avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid #000; }
.igapp__stats { flex: 1; display: flex; justify-content: space-around; margin: 0; padding: 0; list-style: none; text-align: center; }
.igapp__stats li { display: flex; flex-direction: column; }
.igapp__stats b { font: 700 15px/1.2 var(--f-sans); }
.igapp__stats span { font: 400 11px/1.3 var(--f-sans); color: #d0d0d0; }
.igapp__bio { margin: 12px 4px 0; font: 400 11.5px/1.45 var(--f-sans); color: #e8e8e8; }
.igapp__bio b { font-weight: 700; color: #f5f5f5; }
.igapp__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 4px 0; }
.igapp__follow, .igapp__msg { display: grid; place-items: center; height: 30px; border-radius: 8px; font: 700 12.5px/1 var(--f-sans); }
.igapp__follow { color: #fff; background: var(--ig-blue); }
.igapp__follow:hover { background: #1877f2; }
.igapp__msg { color: #f5f5f5; background: #262626; }
.igapp__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 14px -12px 2px; border-bottom: 1px solid #262626; }
.igapp__tabs span { height: 30px; position: relative; }
.igapp__tabs span::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 1.6px solid #8e8e8e;
  border-radius: 3px;
  background: linear-gradient(#8e8e8e, #8e8e8e) 50% 0 / 1.6px 100% no-repeat, linear-gradient(#8e8e8e, #8e8e8e) 0 50% / 100% 1.6px no-repeat;
}
.igapp__tabs span:last-child::before { background: none; border-radius: 4px; }
.igapp__tabs .is-active { border-bottom: 1.5px solid #f5f5f5; }
.igapp__tabs .is-active::before { border-color: #f5f5f5; background: linear-gradient(#f5f5f5, #f5f5f5) 50% 0 / 1.6px 100% no-repeat, linear-gradient(#f5f5f5, #f5f5f5) 0 50% / 100% 1.6px no-repeat; }
.igapp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 2px -12px 0; padding: 0; list-style: none; }
.igapp__tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  padding: 7px 6px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 20%, hsl(var(--h) 55% 30% / .95), transparent 70%),
    linear-gradient(160deg, hsl(var(--h) 45% 16%), #050505 85%);
  font: 800 10.5px/1.15 var(--f-sans);
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
  transition: filter .3s;
}
.igapp__tile svg { position: absolute; top: 6px; right: 6px; width: 13px; height: 13px; color: #fff; }
.igapp__tile:hover { filter: brightness(1.25); }
.reels { margin-top: 28px; max-width: 480px; }
.reels__title, .letters__title { font: 500 11px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.reels ul { margin-top: 12px; border-top: 1px solid var(--line); }
.reels a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font: 600 15px/1.35 var(--f-sans);
  color: var(--text);
  transition: color .3s, padding .4s var(--ease);
}
.reels a span { flex: 1; }
.reels__icon { flex: none; width: 20px; height: 20px; color: var(--gold); }
.reels__go { flex: none; width: 14px; height: 14px; color: var(--faint); }
.reels a:hover { color: var(--gold-hi); padding-left: 8px; }

/* ---------- Level IV: newsletter ---------- */
.letter { display: grid; gap: clamp(44px, 6vw, 90px); align-items: center; }
@media (min-width: 900px) { .letter { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.letter__media {
  --n: 12px;
  position: relative;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease);
}
.signup { margin-top: 30px; max-width: 580px; }
.signup__label { display: block; margin-bottom: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.field {
  --n: 5px;
  position: relative;
  isolation: isolate;
  flex: 1 1 240px;
  display: flex;
  min-width: 0;
  background: var(--line-strong);
  transition: background .3s;
}
.field::before {
  content: "";
  position: absolute; inset: 1px; z-index: -1;
  background: rgba(4, 8, 18, .86);
}
.field:focus-within { background: var(--gold-hi); }
.signup__input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ivory);
  background: transparent;
  border: 0;
  outline: none;
}
.signup__input::placeholder { color: rgba(237, 228, 208, .38); }
.signup__row .btn { min-height: 56px; }
.signup__msg { margin-top: 12px; font-size: 14px; color: var(--faint); }
.signup__msg.is-error { color: #f2a88b; }
.signup__msg.is-success { color: var(--gold-hi); }
.signup__msg a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.signup.is-loading .btn { opacity: .7; pointer-events: none; }
.signup.is-done .signup__row { display: none; }
.signup--center { margin-inline: auto; }
.signup--center .signup__msg { text-align: center; }
.signup--compact { margin-top: 14px; }
.signup--compact .signup__input { height: 46px; font-size: 15px; }
.signup--compact .signup__row .btn { min-height: 48px; }
.letters { margin-top: 36px; max-width: 580px; }
.letters ul { margin-top: 12px; border-top: 1px solid var(--line); }
.letters a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font: 600 15px/1.35 var(--f-sans);
  color: var(--text);
  transition: color .3s, padding .4s var(--ease);
}
.letters time { flex: none; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.letters a:hover { color: var(--gold-hi); padding-left: 8px; }
.funfact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 580px;
  margin-top: 30px;
  padding: 18px 20px;
  background: rgba(216, 174, 90, .06);
  border-left: 2px solid var(--gold);
}
.funfact img { flex: none; width: 44px; height: 44px; }
.funfact p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.funfact strong { font-weight: 600; color: var(--gold-hi); }

/* ---------- Level I: the Angels guide (main offer) ---------- */
.offer { display: grid; gap: clamp(44px, 6vw, 90px); align-items: start; }
.offer__media { display: grid; justify-items: center; }
@media (min-width: 960px) {
  .offer { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .offer__media { position: sticky; top: calc(var(--nav-h) + 48px); }
}
.offer__cover { position: relative; display: block; width: min(430px, 76vw); padding: 0; perspective: 1400px; cursor: zoom-in; }
.offer__cover img {
  position: relative; z-index: 2;
  width: 100%;
  border-radius: 2px 6px 6px 2px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(216, 174, 90, .25);
  transform: rotateY(-9deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform .8s var(--ease), box-shadow .6s;
}
.offer__pages {
  position: absolute; z-index: 1; top: 2.5%; bottom: 2.5%; right: -9px;
  width: 26px;
  border-radius: 0 4px 4px 0;
  background: repeating-linear-gradient(90deg, #efe6d0 0 1px, #c9bb97 1px 3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  transform: rotateY(-9deg);
}
.offer__badge {
  position: absolute; z-index: 3; top: 18px; left: -10px;
  padding: 7px 12px 6px;
  font: 700 12px/1 var(--f-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #1c1307;
  background: var(--gold);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
}
.offer__look {
  position: absolute; z-index: 3; left: 50%; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(244, 222, 163, .45);
  border-radius: 999px;
  font: 600 13.5px/1 var(--f-sans);
  color: #fff;
  background: rgba(5, 8, 16, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  translate: -50% 0;
  opacity: 0;
  transition: opacity .3s;
}
.offer__look svg { width: 16px; height: 16px; }
.offer__cover:hover .offer__look, .offer__cover:focus-visible .offer__look { opacity: 1; }
@media (hover: none) { .offer__look { opacity: 1; } }
@media (hover: hover) {
  .offer__cover:hover img { transform: rotateY(-2deg) rotateX(0deg); box-shadow: 0 40px 80px rgba(0, 0, 0, .65), 0 0 70px rgba(216, 174, 90, .16); }
}
.offer__peek { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: min(430px, 88vw); margin: 22px 0 0; padding: 0; list-style: none; }
.offer__peek button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(216, 174, 90, .3), 0 8px 18px rgba(0, 0, 0, .45);
  cursor: zoom-in;
  transition: translate .4s var(--ease), box-shadow .3s;
}
.offer__peek img { width: 100%; aspect-ratio: 360 / 466; object-fit: cover; }
.offer__peek button:hover { translate: 0 -4px; box-shadow: 0 0 0 1px var(--gold-hi), 0 12px 24px rgba(0, 0, 0, .5); }
.offer__tagline { margin-top: 12px; font: 500 italic clamp(22px, 2.2vw, 30px)/1.25 var(--f-serif); color: var(--ivory); }
.tiers { max-width: 520px; margin: 26px 0 0; padding: 0; list-style: none; }
.tiers li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0 7px calc(var(--i) * 9px);
  border-bottom: 1px solid var(--line);
  font: 600 15px/1.3 var(--f-sans);
  color: var(--text);
}
.tiers li span { min-width: 2.6em; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--gold); }
.tiers li.tiers__bedrock { color: var(--gold-hi); font-weight: 800; border-bottom-color: var(--line-strong); }
.checks { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--text); }
.checks svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--gold-hi); }
.offer__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; font: 700 clamp(30px, 3vw, 42px)/1 var(--f-display); color: var(--gold-hi); }
.offer__price small { font: 500 13.5px/1 var(--f-sans); color: var(--muted); }
.offer__support { display: flex; align-items: flex-start; gap: 10px; max-width: 520px; margin-top: 24px; font: 500 14.5px/1.5 var(--f-sans); color: var(--muted); }
.offer__support svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: #e0605a; }
html:not(.guide-live) [data-when-guide="live"] { display: none; }
html.guide-live [data-when-guide="soon"] { display: none; }

/* ---------- Level VI: merch (coming soon) ---------- */
.merch { display: grid; gap: clamp(32px, 5vw, 70px); align-items: center; max-width: 1060px; margin: 0 auto; }
@media (min-width: 860px) { .merch { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }
.merch__art { justify-self: center; width: min(360px, 70vw); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6)); }
.merch .signup { margin-top: 24px; }

/* ---------- Buy / notify blocks (shared) ---------- */
.buy { max-width: 520px; margin-top: 30px; }
.buy__trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font: 500 13px/1.3 var(--f-sans); color: var(--faint); }
.buy__trust svg { width: 15px; height: 15px; }
.buy--soon {
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(216, 174, 90, .12), rgba(216, 174, 90, .03));
}
.buy__soon-title { font: 700 20px/1.2 var(--f-display); text-transform: uppercase; color: var(--ivory); }
.buy__soon-text { margin-top: 6px; font-size: 15px; color: var(--muted); }
.buy--soon .signup { margin-top: 16px; }

/* Sticky buy bar */
.stickybuy {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(460px, calc(100% - 28px));
  padding: 8px 8px 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(8, 12, 22, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  transform: translate(-50%, 140%);
  transition: transform .55s var(--ease);
}
.stickybuy.is-on { transform: translate(-50%, 0); }
.stickybuy__img { width: 44px; height: 54px; object-fit: cover; border-radius: 6px; flex: none; }
.stickybuy__text { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.stickybuy__text b { font: 700 14px/1.3 var(--f-sans); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybuy__text span { font: 700 13px/1.3 var(--f-sans); color: var(--gold-hi); }
.stickybuy .btn { flex: none; }

/* Newsletter nudge */
.nudge {
  --n: 10px;
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50;
  width: min(380px, calc(100% - 32px));
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, #16244a, #0a1226);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  opacity: 0;
  translate: 0 24px;
  transition: opacity .5s var(--ease), translate .6s var(--ease);
}
.nudge.is-on { opacity: 1; translate: 0 0; }
.nudge__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; color: var(--muted); }
.nudge__close:hover { color: #fff; }
.nudge__close svg { width: 18px; height: 18px; }
.nudge__icon { width: 44px; height: 44px; }
.nudge__eyebrow { margin-top: 10px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.nudge__title { margin-top: 8px; font: 700 22px/1.15 var(--f-display); text-transform: uppercase; color: var(--ivory); }
.nudge__text { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.nudge .signup__row .field { flex-basis: 170px; }
.nudge .signup__msg:empty { display: none; }
.sticky-on .nudge { opacity: 0; pointer-events: none; }
/* On phones the nudge is a slim bottom bar: title + email field, nothing else */
@media (max-width: 599px) {
  .nudge { left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: auto; padding: 14px 14px 12px; }
  .nudge__icon, .nudge__eyebrow, .nudge__text { display: none; }
  .nudge__title { margin: 0 34px 0 0; font-size: 16px; }
  .nudge__close { top: 6px; right: 6px; }
  .nudge .signup--compact { margin-top: 10px; }
  .nudge .signup__row { flex-wrap: nowrap; gap: 8px; }
  .nudge .signup__row .field { flex: 1 1 auto; }
  .nudge .signup--compact .signup__input { height: 42px; }
  .nudge .signup--compact .signup__row .btn { min-height: 44px; }
}

/* ---------- Bedrock ---------- */
.bedrock {
  position: relative;
  isolation: isolate;
  padding: clamp(96px, 12vw, 170px) 0 max(32px, env(safe-area-inset-bottom));
  overflow: hidden;
  background: #050506;
}
.bedrock::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.bedrock__tex { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #03060d 0%, #050506 40%); }
.bedrock.is-near .bedrock__tex {
  background:
    linear-gradient(180deg, #03060d 0%, rgba(5, 5, 6, .86) 30%, rgba(5, 5, 6, .94) 100%),
    url("../assets/img/basalt-1920.webp") center / cover no-repeat;
}
.bedrock__top { display: grid; justify-items: center; gap: 44px; text-align: center; }
.bedrock__emblem { width: min(300px, 64vw); filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .65)); }
.inscription { max-width: 780px; }
.inscription p { font: 500 italic clamp(22px, 2.6vw, 34px)/1.38 var(--f-serif); color: var(--ivory); }
.inscription cite {
  display: block;
  margin-top: 16px;
  font: 500 11px/1 var(--f-mono);
  font-style: normal;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.bedrock__word {
  margin: clamp(60px, 8vw, 116px) 0 clamp(34px, 4vw, 52px);
  text-align: center;
  font: 900 clamp(44px, 12.4vw, 230px)/.85 var(--f-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 174, 90, .38);
  background: linear-gradient(180deg, rgba(216, 174, 90, .24), rgba(216, 174, 90, 0) 82%);
  -webkit-background-clip: text;
  background-clip: text;
}
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(36px, 5vw, 56px); }
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font: 600 14px/1 var(--f-sans);
  color: var(--text);
  transition: border-color .3s, background .3s;
}
.social:hover { border-color: rgba(244, 222, 163, .5); background: rgba(255, 255, 255, .04); }
.social__yt { width: 26px; height: 19px; }
.social__ig { width: 22px; height: 22px; }
.bedrock__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.bedrock__h { margin-bottom: 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.bedrock__cols a { display: inline-block; padding: 5px 0; font-size: 15.5px; color: var(--muted); transition: color .3s; }
.bedrock__cols a:hover { color: var(--gold-hi); }
.bedrock__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font: 500 11px/1.5 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.bedrock__top-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); }
.bedrock__top-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.bedrock__top-link:hover svg { transform: translateY(-3px); }

/* ---------- Depth gauge ---------- */
.gauge { display: none; }
@media (min-width: 1100px) and (min-height: 640px) {
  .gauge {
    position: fixed; right: clamp(14px, 1.6vw, 28px); top: 50%; z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translate(14px, -50%);
    transition: opacity .6s, transform .7s var(--ease);
  }
  .gauge.is-on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
}
.gauge__read { display: flex; flex-direction: column; align-items: flex-end; margin-right: 2px; font-family: var(--f-mono); text-transform: uppercase; }
.gauge__label, .gauge__unit { font-size: 9.5px; letter-spacing: .28em; color: var(--faint); }
.gauge__num { margin: 5px 0 3px; font-size: 16px; letter-spacing: .04em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.gauge__track { position: relative; width: 1px; height: min(46vh, 380px); margin-right: 12px; background: var(--line); }
.gauge__fill {
  position: absolute; left: 0; top: 0;
  width: 1px; height: 100%;
  background: linear-gradient(var(--gold-hi), var(--gold));
  transform: scaleY(var(--gp, 0));
  transform-origin: top;
}
.gauge__track::after {
  content: "";
  position: absolute; left: -3px; top: calc(var(--gp, 0) * 100%);
  width: 7px; height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 12px rgba(244, 222, 163, .85);
}
.gauge__levels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.gauge__levels li { position: absolute; right: 10px; top: calc(var(--p, 0) * 100%); transform: translateY(-50%); }
.gauge__levels a {
  position: relative;
  display: block;
  padding: 4px 8px;
  font: 500 10px/1 var(--f-mono);
  letter-spacing: .12em;
  color: var(--faint);
  transition: color .3s;
}
.gauge__levels a::after { content: ""; position: absolute; right: -10px; top: 50%; width: 6px; height: 1px; background: var(--line-strong); }
.gauge__levels a:hover, .gauge__levels a.is-active { color: var(--gold-hi); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(1120px, 92vw);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--text);
  background: transparent;
  border: 0;
}
.lightbox::backdrop { background: rgba(3, 5, 10, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { animation: lbIn .55s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.lightbox__inner { position: relative; }
.lightbox__frame { --n: 10px; aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; right: 0; top: -60px; }
.lightbox__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.lightbox__yt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 14px/1 var(--f-sans);
  color: var(--ivory);
}
.lightbox__yt svg { width: 26px; height: 19px; }

/* ---------- Scroll reveals ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 30px;
  transition: opacity 1s var(--ease), translate 1.25s var(--ease), scale 1.25s var(--ease), clip-path 1.3s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="scale"] { translate: none; scale: .94; }
.js [data-reveal="mask"] { opacity: 1; translate: 0 .18em; clip-path: inset(0 0 100% 0); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; clip-path: inset(-20% -10% -30% -10%); }
/* Elements that carry their own stepped clip-path keep it after revealing */
.js .quote[data-reveal].is-in, .js .about__photo[data-reveal].is-in,
.js .insta__stage[data-reveal].is-in, .js .empire[data-reveal].is-in, .js .letter__media[data-reveal].is-in {
  clip-path: polygon(
    calc(var(--n) * 2) 0, calc(100% - var(--n) * 2) 0, calc(100% - var(--n) * 2) var(--n), calc(100% - var(--n)) var(--n), calc(100% - var(--n)) calc(var(--n) * 2), 100% calc(var(--n) * 2),
    100% calc(100% - var(--n) * 2), calc(100% - var(--n)) calc(100% - var(--n) * 2), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n) * 2) calc(100% - var(--n)), calc(100% - var(--n) * 2) 100%,
    calc(var(--n) * 2) 100%, calc(var(--n) * 2) calc(100% - var(--n)), var(--n) calc(100% - var(--n)), var(--n) calc(100% - var(--n) * 2), 0 calc(100% - var(--n) * 2),
    0 calc(var(--n) * 2), var(--n) calc(var(--n) * 2), var(--n) var(--n), calc(var(--n) * 2) var(--n)
  );
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal], .js .zig__tier > li, .js .zig__sun,
  .js .hero__eyebrow, .js .hero__foot > *, .js .hero__scroll, .js .nav {
    opacity: 1; translate: none; scale: none;
  }
  .js [data-reveal="mask"] { clip-path: none; }
  .ch { translate: none; rotate: none; }
  .js .hero__media picture { scale: none; filter: none; }
  .particles, .torch, .hero__video { display: none; }
}

/* ---------- About ---------- */
.about { position: relative; padding: clamp(40px, 6vw, 90px) 0 clamp(64px, 8vw, 110px); background: #07142a; }
.about__grid { display: grid; gap: clamp(36px, 6vw, 90px); align-items: center; max-width: 1100px; margin: 0 auto; }
@media (min-width: 860px) { .about__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }
.about__photo { --n: 12px; position: relative; width: min(420px, 80vw); justify-self: center; margin: 0; overflow: hidden; background: #0b0b0e; }
.about__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about__lede { max-width: 36ch; margin-top: 20px; font: 500 italic clamp(21px, 1.9vw, 27px)/1.4 var(--f-serif); color: var(--ivory); }
.about__story { max-width: 58ch; margin-top: 16px; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--muted); }

/* ---------- Latest upload cards (kept fresh by /api/stats) ---------- */
.latest {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(10, 16, 32, .72);
  transition: border-color .3s, background .3s;
}
.latest:hover { border-color: rgba(244, 222, 163, .45); background: rgba(14, 22, 42, .88); }
.latest--dark { background: rgba(4, 6, 12, .66); }
.latest__thumb { --n: 4px; position: relative; flex: none; width: 132px; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.latest__thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .22); }
.latest__play svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.latest__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.latest__kicker { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); }
.latest__kicker i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 3px rgba(255, 59, 59, .25); animation: livePulse 2s infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 6px rgba(255, 59, 59, 0); } }
.latest__title { font: 700 15.5px/1.3 var(--f-sans); color: #fff; }
.latest__kicker time { white-space: nowrap; }
@media (max-width: 480px) {
  .latest { gap: 12px; }
  .latest__thumb { width: 108px; }
  .latest__kicker { letter-spacing: .03em; }
  .latest__title { font-size: 14.5px; }
}

/* ---------- Newsletter bonus line ---------- */
.bonus { display: flex; align-items: center; gap: 12px; max-width: 580px; margin-top: 20px; padding: 12px 14px; border: 1px dashed var(--line-strong); font-size: 15px; line-height: 1.45; color: var(--text); }
.bonus img { flex: none; width: 40px; height: 40px; }
.bonus strong { color: var(--gold-hi); }

/* ---------- Directory: the guide at the summit ---------- */
.tile--offer::after {
  background:
    linear-gradient(105deg, transparent 38%, rgba(244, 222, 163, .14) 50%, transparent 62%) -160% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #2a2112 0%, #120d07 100%);
}
.tile--offer .tile__go { color: #1c1307; background: var(--gold); border-color: var(--gold); }
.tile .tile__media--book { width: 64px; height: 83px; }
.tile--hero .tile__media--book { width: 76px; height: 98px; }
.tile__book {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 2px 4px 4px 2px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .55), 0 0 0 1px rgba(216, 174, 90, .45);
  transform: rotate(-4deg);
  transition: transform .7s var(--ease);
}
@media (hover: hover) { .tile:hover .tile__book { transform: rotate(0deg) scale(1.05); } }
@media (max-width: 719px) { .tile--hero .tile__media--book { width: 54px; height: 70px; } }

/* ---------- Phones: follower chips live under the hero ---------- */
.proofbar { display: none; }
@media (max-width: 599px) {
  .proof--hero { display: none; }
  .proofbar { display: block; padding: 18px var(--gutter) 4px; background: #040812; }
  .proofbar .proof { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: none; }
}

/* ---------- "Look inside" page viewer ---------- */
.pages {
  width: min(780px, 94vw);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--text);
  background: transparent;
  border: 0;
}
.pages::backdrop { background: rgba(3, 5, 10, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pages[open] { animation: lbIn .45s var(--ease); }
.pages__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.pages__figure { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.pages__figure img { width: auto; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); box-shadow: 0 30px 70px rgba(0, 0, 0, .7); background: #0b0b0e; }
.pages__figure figcaption { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.pages__nav { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.pages__count { min-width: 4.5em; font: 500 13px/1 var(--f-mono); text-align: center; color: var(--muted); }
.pages__close { position: absolute; top: 0; right: -60px; }
@media (max-width: 900px) { .pages__close { top: -54px; right: 0; } }

/* ---------- Legal pages ---------- */
.legal-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); background: rgba(6, 9, 18, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.legal-top a { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 90px; }
.legal h1 { font: 800 clamp(34px, 6vw, 58px)/1.02 var(--f-display); text-transform: uppercase; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal .legal__meta { margin-top: 14px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.legal h2 { margin-top: 40px; font: 700 clamp(19px, 2vw, 23px)/1.2 var(--f-display); text-transform: uppercase; color: var(--ivory); }
.legal p, .legal li { margin-top: 12px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.legal .legal__meta:last-child { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); line-height: 2; }

/* ---------- Readability floor: nothing informational under 12px ---------- */
.eyebrow, .signup__label, .reels__title, .letters__title, .bedrock__h, .nudge__eyebrow { font-size: 12px; letter-spacing: .16em; }
.eyebrow__depth { letter-spacing: .1em; }
.tile__kicker, .quote__meta, .vcard__views, .feature__info, .letters time, .waterline__note,
.proofwall__note, .bedrock__base, .menu__num { font-size: 12px; }
.tile__kicker { letter-spacing: .1em; }
.proof__text span { font-size: 11.5px; letter-spacing: .08em; }
.tile__go, .feature__badge, .announce__tag, .vcard__dur { font-size: 11.5px; letter-spacing: .1em; }
.hero__eyebrow { font-size: 12px; letter-spacing: .26em; }
.gauge__label, .gauge__unit, .gauge__levels a { font-size: 11px; }
.btn--sm, .inscription cite { font-size: 12px; }
@media (max-width: 719px) {
  .tile__kicker { font-size: 12px; letter-spacing: .05em; }
  .tile__go, .feature__badge, .announce__tag, .vcard__dur, .proof__text span { font-size: 12px; letter-spacing: .04em; }
  .zig__tier--1 .tile__label { font-size: clamp(12px, 3.4vw, 14px); }
  .hero__eyebrow { font-size: 11.5px; letter-spacing: .12em; }
  .eyebrow { letter-spacing: .12em; }
}

/* ---------- Faster first screen: buttons show right away ---------- */
.is-ready .hero__foot > * { transition-delay: .2s; }
.is-ready .hero__foot > :nth-child(2) { transition-delay: .3s; }
@media (max-width: 767px) {
  .js .hero__eyebrow, .js .hero__foot > *, .js .hero__scroll { opacity: 1; translate: none; transition: none; }
  .ch { transition-duration: .8s; transition-delay: calc(var(--ci) * 35ms); }
}
