/* ==========================================================================
   MYCO HONESS — transmissions from the cavern
   ========================================================================== */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --void: #050706;
  --cavern: #090d0b;
  --cavern-2: #0e1411;
  --moss: #142019;
  --bone: #ece5d3;
  --bone-dim: rgba(236, 229, 211, 0.8);
  --mist: #a7ae9f;
  --mist-2: #757d71;
  --gold: #c9a45c;
  --gold-hi: #ead7a4;
  --emerald: #52e3a0;
  --emerald-2: #239462;
  --ember: #ff7a35;
  --violet: #b468ff;
  --line: rgba(201, 164, 92, 0.22);
  --line-2: rgba(236, 229, 211, 0.08);
  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-body: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 68px;
  --arch: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 178' preserveAspectRatio='none'><path d='M0 178V58C0 30 20 9 50 0C80 9 100 30 100 58V178Z'/></svg>");
  --arch-wide: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'><path d='M0 125V48C0 22 22 6 50 0C78 6 100 22 100 48V125Z'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--void);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(18px, 0.6vw + 14.5px, 21px);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* deep cavern glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1100px 760px at 78% -8%, rgba(35, 148, 98, 0.13), transparent 62%),
    radial-gradient(900px 700px at -12% 38%, rgba(255, 122, 53, 0.05), transparent 60%),
    radial-gradient(900px 900px at 50% 120%, rgba(180, 104, 255, 0.06), transparent 60%),
    var(--void);
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, video, canvas, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
::selection { background: rgba(82, 227, 160, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 400;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--emerald);
  color: #03140c;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

#spores {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- shared bits ---------- */

.wrap { max-width: var(--max); margin: 0 auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(36px, 5.4vw, 70px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bone);
  text-wrap: balance;
}

.section {
  position: relative;
  padding: clamp(84px, 11vw, 150px) var(--gutter);
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 70px);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: "";
  flex: none;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-sub {
  max-width: 34em;
  margin: 20px auto 0;
  font-size: 1.12em;
  font-style: italic;
  color: var(--mist);
  text-wrap: pretty;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.divider::before,
.divider::after {
  content: "";
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--mist-2);
}
.divider b {
  width: 9px; height: 9px;
  background: var(--ember);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(255, 122, 53, 0.65);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  font-family: var(--f-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  border-color: rgba(170, 255, 214, 0.55);
  background: linear-gradient(180deg, #62f2af, #1f9a63);
  color: #03140c;
  box-shadow:
    0 0 0 1px rgba(82, 227, 160, 0.25),
    0 12px 40px -12px rgba(82, 227, 160, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(82, 227, 160, 0.45),
    0 16px 52px -10px rgba(82, 227, 160, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-ghost {
  border-color: rgba(236, 229, 211, 0.24);
  background: rgba(236, 229, 211, 0.04);
  color: var(--bone);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.btn-ember {
  border-color: rgba(255, 190, 150, 0.5);
  background: linear-gradient(180deg, #ff9a5c, #d9531a);
  color: #1d0a02;
  box-shadow: 0 12px 40px -12px rgba(255, 122, 53, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-small { min-height: 40px; padding: 0 18px; font-size: 11px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, -webkit-backdrop-filter 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(5, 7, 6, 0.74);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.brand svg { width: 36px; height: 36px; filter: drop-shadow(0 0 10px rgba(82, 227, 160, 0.35)); }

.nav-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mist);
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--bone); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(236, 229, 211, 0.2);
  border-radius: 50%;
  background: rgba(5, 7, 6, 0.4);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--bone);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 90px 24px 40px;
  background: rgba(5, 7, 6, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu .divider { margin: 6px 0; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 28px) var(--gutter) 96px;
  overflow: hidden;
}

#mycelium {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 1.6s ease;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }

.title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(58px, 9.6vw, 146px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  filter: drop-shadow(0 0 34px rgba(82, 227, 160, 0.22)) drop-shadow(0 4px 0 rgba(0, 0, 0, 0.35));
}
.title .line {
  display: block;
  background: linear-gradient(180deg, #fbf7ec 0%, #eadcb4 46%, #b18c4c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1.4s var(--ease) both;
}
.title .line + .line { padding-left: 0.5em; animation-delay: 0.18s; }

.roles {
  margin: 24px 0 0;
  font-size: clamp(21px, 2vw, 28px);
  font-style: italic;
  color: var(--gold-hi);
  animation: rise 1.2s 0.4s var(--ease) both;
}
.roles .dot { margin: 0 0.35em; color: var(--emerald); font-style: normal; }

.lede {
  max-width: 30em;
  margin: 18px 0 34px;
  color: var(--bone-dim);
  font-size: 1.06em;
  text-wrap: pretty;
  animation: rise 1.2s 0.55s var(--ease) both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: rise 1.2s 0.7s var(--ease) both;
}

.follow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  font-family: var(--f-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  animation: rise 1.2s 0.85s var(--ease) both;
}
.follow-row .socials { margin: 0; gap: 8px; }
.follow-row .socials a { width: 40px; height: 40px; }
.follow-row .socials svg { width: 17px; height: 17px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* the arched scrying window */
.portal {
  position: relative;
  justify-self: center;
  margin: 0;
  width: min(100%, 410px, calc((100vh - 230px) * 9 / 16));
  width: min(100%, 410px, calc((100svh - 230px) * 9 / 16));
  min-width: 250px;
  aspect-ratio: 9 / 16;
  animation: portal-in 1.8s 0.2s var(--ease) both;
}
@keyframes portal-in {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.portal-ambient {
  position: absolute;
  left: -30%; top: -14%;
  width: 160%; height: 128%;
  z-index: -1;
  opacity: 0.55;
  filter: blur(54px) saturate(1.7);
  pointer-events: none;
}
.portal-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000 url("/media/hero/poster.webp") center / cover;
  -webkit-mask: var(--arch) center / 100% 100% no-repeat;
  mask: var(--arch) center / 100% 100% no-repeat;
}
.portal-window video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portal-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 6, 0.35), transparent 22%, transparent 70%, rgba(5, 7, 6, 0.75)),
    radial-gradient(120% 70% at 50% 50%, transparent 55%, rgba(5, 7, 6, 0.55));
}
.portal-frame {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  overflow: visible;
  pointer-events: none;
}
.portal-frame path { vector-effect: non-scaling-stroke; fill: none; }
.portal-apex {
  position: absolute;
  left: 50%;
  top: -24px;
  width: 12px;
  height: 12px;
  background: var(--ember);
  box-shadow: 0 0 18px rgba(255, 122, 53, 0.8);
  transform: translateX(-50%) rotate(45deg);
}
.portal-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(236, 229, 211, 0.16);
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--f-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mist);
  transform: translateX(-50%);
  animation: rise 1.2s 1.1s var(--ease) both;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drip 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* phones & small tablets: the window becomes the whole sky */
@media (max-width: 900px) {
  .hero {
    align-items: end;
    padding-bottom: 104px;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .portal {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    aspect-ratio: auto;
  }
  .portal-ambient, .portal-frame, .portal-caption, .portal-apex { display: none; }
  .portal-window {
    -webkit-mask: none;
    mask: none;
  }
  .portal-window::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 6, 0.6) 0%, rgba(5, 7, 6, 0.3) 22%, rgba(5, 7, 6, 0.55) 48%, rgba(5, 7, 6, 0.9) 76%, var(--void) 100%);
  }
  .hero .eyebrow { font-size: 10.5px; letter-spacing: 0.26em; }
  .hero .eyebrow::before { display: none; }
  .title { font-size: clamp(54px, 16vw, 108px); }
  .lede { margin-bottom: 28px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
  .roles { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
  .follow-row { margin-top: 26px; }
}

@media (max-width: 420px) {
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 17px 0;
  border-block: 1px solid var(--line);
  background: rgba(9, 13, 11, 0.72);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee span {
  padding-right: 2.4em;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mist);
}
.marquee span b { color: var(--ember); font-weight: 400; margin-left: 2.4em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- transmissions ---------- */

.tx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
@media (max-width: 1080px) { .tx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .tx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tx-card {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(236, 229, 211, 0.09);
  border-radius: 16px;
  background: var(--cavern-2);
  text-align: left;
  cursor: pointer;
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s;
}
.tx-card[hidden] { display: none; }
.tx-card:hover,
.tx-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.55);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 54px -18px rgba(82, 227, 160, 0.5);
}
.tx-card img,
.tx-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tx-card img { transition: transform 1.4s var(--ease), opacity 0.6s; }
.tx-card img.is-loading { opacity: 0; }
.tx-card:hover img { transform: scale(1.06); }
.tx-card video { opacity: 0; transition: opacity 0.5s; }
.tx-card.is-playing video { opacity: 1; }
.tx-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 7, 6, 0.25) 0%, transparent 22%, transparent 50%, rgba(5, 7, 6, 0.94) 100%);
}
.tx-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(12px, 1.4vw, 18px);
}
.tx-no {
  font-family: var(--f-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.tx-title {
  display: block;
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
  text-wrap: balance;
}
.tx-dur {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-style: italic;
  color: var(--mist);
}
.tx-play {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 229, 211, 0.28);
  border-radius: 50%;
  background: rgba(5, 7, 6, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.tx-play svg { width: 13px; height: 13px; margin-left: 2px; }
.tx-card:hover .tx-play,
.tx-card:focus-visible .tx-play {
  border-color: transparent;
  background: var(--emerald);
  color: #03140c;
  transform: scale(1.08);
}
.tx-badge {
  position: absolute;
  top: 14px; left: 12px;
  z-index: 2;
  padding: 5px 10px 4px;
  border-radius: 999px;
  background: var(--ember);
  color: #1d0a02;
  font-family: var(--f-display);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  box-shadow: 0 0 22px rgba(255, 122, 53, 0.55);
}
.tx-more-row {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

/* ---------- feature: the spellsong ---------- */

.feature {
  position: relative;
  padding: clamp(84px, 10vw, 140px) var(--gutter);
  border-block: 1px solid var(--line-2);
  background:
    radial-gradient(760px 520px at 24% 50%, rgba(180, 104, 255, 0.14), transparent 70%),
    radial-gradient(600px 400px at 80% 60%, rgba(255, 122, 53, 0.07), transparent 70%),
    linear-gradient(180deg, transparent, rgba(14, 20, 17, 0.55), transparent);
}
.feature-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.feature-media {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: 24px;
  background: #000;
  box-shadow: 0 40px 110px -40px rgba(180, 104, 255, 0.7), 0 0 0 8px rgba(236, 229, 211, 0.02);
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.feature-media:hover { transform: translateY(-6px) rotate(-0.6deg); }
.feature-media img,
.feature-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-media .big-play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  width: 78px; height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(5, 7, 6, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}
.feature-media .big-play svg { width: 24px; height: 24px; margin-left: 4px; }
.feature-media:hover .big-play {
  background: var(--violet);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}
.feature-copy .h2 { font-size: clamp(38px, 5vw, 64px); }
.feature-copy p { max-width: 32em; color: var(--bone-dim); }
.pull {
  margin: 30px 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #dcb2ff, #ff9f66);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 8px 14px 7px;
  border: 1px solid rgba(236, 229, 211, 0.16);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}
.tags li.hot { border-color: rgba(255, 122, 53, 0.5); color: #ffb48a; }

/* ---------- codex ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -24px 0 46px;
}
.chip {
  padding: 10px 17px 9px;
  border: 1px solid rgba(236, 229, 211, 0.16);
  border-radius: 999px;
  background: transparent;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  cursor: pointer;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.chip:hover { color: var(--bone); border-color: var(--gold); }
.chip[aria-pressed="true"] {
  border-color: var(--gold-hi);
  background: var(--gold-hi);
  color: #1a1305;
}

.codex-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
@media (max-width: 1080px) { .codex-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .codex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.codex-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(236, 229, 211, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 32, 25, 0.65), rgba(9, 13, 11, 0.92));
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s;
}
.codex-card[hidden] { display: none; }
.codex-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(82, 227, 160, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
}
.codex-card:hover::before { opacity: 1; }
.codex-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 92, 0.45);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.95);
}
.codex-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cavern-2);
}
.codex-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 1.4s var(--ease), filter 0.6s;
}
.codex-card:hover .codex-img img { transform: scale(1.05); filter: saturate(1.08) contrast(1.06); }
.codex-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(12, 18, 15, 0.96) 100%);
}
.codex-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  margin-top: -44px;
  padding: 0 clamp(14px, 1.4vw, 20px) clamp(16px, 1.6vw, 22px);
}
.codex-type {
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--emerald);
}
.codex-name {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.codex-epithet {
  margin-top: -3px;
  font-size: 0.92em;
  font-style: italic;
  color: var(--gold-hi);
}
.codex-lore {
  margin: 4px 0 10px;
  font-size: 0.93em;
  line-height: 1.45;
  color: var(--bone-dim);
}
.codex-seen {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: 15px;
  color: var(--mist);
}
.codex-seen button {
  padding: 0;
  border: 0;
  background: none;
  font-style: italic;
  color: var(--gold-hi);
  text-decoration: underline;
  text-decoration-color: rgba(234, 215, 164, 0.35);
  text-underline-offset: 3px;
  cursor: pointer;
}
.codex-seen button:hover { color: var(--emerald); text-decoration-color: currentColor; }

@media (max-width: 520px) {
  .codex-body { margin-top: -34px; }
  .codex-lore { font-size: 15.5px; }
  .codex-seen { font-size: 14px; }
}

/* ---------- the wizard ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.about-figure {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
  margin: 0;
}
.about-figure .glow {
  position: absolute;
  inset: 8% -6% -4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(82, 227, 160, 0.28), transparent);
  filter: blur(30px);
}
.about-figure .arch {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: var(--arch-wide) center / 100% 100% no-repeat;
  mask: var(--arch-wide) center / 100% 100% no-repeat;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figure svg {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  overflow: visible;
  pointer-events: none;
}
.about-figure svg path { vector-effect: non-scaling-stroke; fill: none; }
.about-copy p { color: var(--bone-dim); max-width: 34em; text-wrap: pretty; }
.about-copy .h2 { margin-bottom: 26px; font-size: clamp(34px, 4.3vw, 58px); }
.laws-title {
  margin: 38px 0 6px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.laws { margin: 0; padding: 0; list-style: none; }
.laws li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
}
.laws .num {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ember);
}
.laws strong {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.laws em { display: block; margin-top: 2px; font-size: 0.86em; color: var(--mist); }

/* ---------- summon ---------- */

.summon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.summon-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(236, 229, 211, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 32, 25, 0.55), rgba(9, 13, 11, 0.45));
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.summon-card:hover { transform: translateY(-5px); border-color: rgba(201, 164, 92, 0.45); }
.summon-card::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(82, 227, 160, 0.14), transparent);
}
.summon-card .glyph {
  width: 52px; height: 52px;
  margin-bottom: 24px;
  color: var(--emerald);
  filter: drop-shadow(0 0 12px rgba(82, 227, 160, 0.4));
}
.summon-card h3 {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.summon-card p { margin: 0; color: var(--bone-dim); font-size: 0.97em; }
.summon-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
  text-align: center;
}
.summon-cta small { font-size: 16px; font-style: italic; color: var(--mist); }
.summon-cta small a { color: var(--gold-hi); text-underline-offset: 3px; }

@media (max-width: 860px) {
  .summon-grid { grid-template-columns: 1fr; }
}

/* ---------- the coven ---------- */

.coven-box {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) clamp(22px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.32);
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(620px 320px at 50% 0%, rgba(82, 227, 160, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(14, 20, 17, 0.96), rgba(5, 7, 6, 0.96));
  box-shadow: 0 50px 130px -60px rgba(82, 227, 160, 0.45);
}
.coven-box .eyebrow { justify-content: center; }
.coven-box .eyebrow::after {
  content: "";
  flex: none;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.coven-lede { max-width: 32em; margin: 22px auto 0; color: var(--bone-dim); }
.coven-form {
  display: flex;
  gap: 12px;
  max-width: 580px;
  margin: 36px auto 0;
}
.coven-form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(236, 229, 211, 0.22);
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.65);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 19px;
  font-weight: 500;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.coven-form input[type="email"]::placeholder { color: var(--mist-2); font-style: italic; }
.coven-form input[type="email"]:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(82, 227, 160, 0.16);
}
.coven-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.6em; margin: 16px 0 0; font-style: italic; color: var(--emerald); }
.form-status.is-error { color: #ffae85; }
.form-note { margin: 6px 0 0; font-size: 15.5px; font-style: italic; color: var(--mist-2); }
@media (max-width: 560px) {
  .coven-form { flex-direction: column; }
}

/* ---------- footer ---------- */

.footer {
  padding: clamp(70px, 9vw, 110px) var(--gutter) 44px;
  border-top: 1px solid var(--line-2);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(9, 13, 11, 0.85));
}
.footer-sigil {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 18px rgba(82, 227, 160, 0.35));
}
.footer-name {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.footer-roles { margin-top: 6px; font-style: italic; color: var(--mist); }
.handle-pill {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 16px 7px;
  border: 1px solid rgba(82, 227, 160, 0.35);
  border-radius: 999px;
  background: rgba(82, 227, 160, 0.07);
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--emerald);
}
.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}
.socials a {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 229, 211, 0.18);
  border-radius: 50%;
  color: var(--bone);
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.socials a:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  box-shadow: 0 0 26px -4px rgba(82, 227, 160, 0.6);
  transform: translateY(-3px);
}
.socials svg { width: 20px; height: 20px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mist);
}
.footer-nav a:hover { color: var(--bone); }
.footer-tag { font-style: italic; color: var(--gold-hi); }
.footer-tag b { color: var(--ember); font-weight: 400; }
.footer-fine { margin-top: 18px; font-size: 14.5px; color: var(--mist-2); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 4, 4, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.45s var(--ease);
}
.lightbox.is-open .lb-stage { transform: none; }
.lb-frame {
  position: relative;
  width: min(calc(min(80vh, 920px) * 9 / 16), calc(100vw - 40px));
  width: min(calc(min(80svh, 920px) * 9 / 16), calc(100vw - 40px));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.38);
  border-radius: 18px;
  background: #000;
  box-shadow: 0 40px 120px -30px rgba(82, 227, 160, 0.35);
}
.lb-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.6);
  transform: scale(1.05);
}
.lb-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lb-info { text-align: center; }
.lb-no {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold);
}
.lb-title {
  margin: 4px 0 6px;
  font-family: var(--f-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lb-yt {
  font-size: 16px;
  font-style: italic;
  color: var(--mist);
  text-underline-offset: 3px;
}
.lb-yt:hover { color: var(--emerald); }
.lb-btn {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 229, 211, 0.22);
  border-radius: 50%;
  background: rgba(5, 7, 6, 0.6);
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.lb-btn:hover { border-color: var(--emerald); color: var(--emerald); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { position: fixed; top: 18px; right: 18px; }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 700px) {
  .lightbox { padding: 12px; }
  .lb-frame { width: min(calc(min(72vh, 920px) * 9 / 16), calc(100vw - 24px)); width: min(calc(min(72svh, 920px) * 9 / 16), calc(100vw - 24px)); }
  .lb-close { top: 10px; right: 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
}
html.lb-lock, html.lb-lock body { overflow: hidden; }

/* ---------- reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- link-in-bio page ---------- */

.links-page main {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  padding: 56px 20px 48px;
  text-align: center;
}
.links-avatar {
  position: relative;
  width: 132px; height: 132px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 140deg, var(--emerald), var(--gold), var(--ember), var(--emerald));
  box-shadow: 0 0 60px -10px rgba(82, 227, 160, 0.55);
  animation: rise 1.2s var(--ease) both;
}
.links-avatar img {
  width: 100%; height: 100%;
  border: 3px solid var(--void);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}
.links-page h1 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fbf7ec, #c9a45c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1.2s 0.1s var(--ease) both;
}
.links-page .roles { margin-top: 8px; font-size: 21px; animation-delay: 0.2s; }
.links-page .handle-pill { animation: rise 1.2s 0.3s var(--ease) both; }
.links-page .divider { margin: 26px 0 28px; }
.link-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.link-list li { animation: rise 1s var(--ease) both; animation-delay: calc(0.35s + var(--i, 0) * 0.07s); }
.link-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 10px 20px 10px 12px;
  border: 1px solid rgba(236, 229, 211, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 32, 25, 0.7), rgba(9, 13, 11, 0.75));
  text-align: left;
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.link-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 227, 160, 0.5);
  box-shadow: 0 0 34px -10px rgba(82, 227, 160, 0.55);
}
.link-btn .ico {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(82, 227, 160, 0.1);
  color: var(--emerald);
}
.link-btn .ico svg { width: 20px; height: 20px; }
.link-btn .txt { flex: 1; min-width: 0; }
.link-btn .t {
  display: block;
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.link-btn .s { display: block; font-size: 16px; font-style: italic; color: var(--mist); }
.link-btn .arr { flex: none; width: 18px; height: 18px; color: var(--mist); }
.link-btn.is-latest {
  padding: 10px;
  border-color: rgba(255, 122, 53, 0.45);
  background: linear-gradient(120deg, rgba(255, 122, 53, 0.14), rgba(9, 13, 11, 0.8) 55%);
}
.link-btn.is-latest .thumb {
  flex: none;
  width: 62px; height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cavern-2);
}
.link-btn.is-latest .thumb img { width: 100%; height: 100%; object-fit: cover; }
.link-btn.is-latest .t { color: #ffb48a; font-size: 11px; letter-spacing: 0.24em; }
.link-btn.is-latest .big {
  display: block;
  margin-top: 3px;
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.link-btn.is-coven { border-color: rgba(82, 227, 160, 0.4); }
.links-page .footer-tag { margin-top: 34px; }

/* ---------- 404 ---------- */

.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 22px;
  text-align: center;
}
.lost .code {
  font-family: var(--f-display);
  font-size: clamp(90px, 22vw, 200px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fbf7ec, #6c5530);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(82, 227, 160, 0.2));
}
.lost p { color: var(--mist); font-style: italic; font-size: 1.15em; margin: 10px 0 30px; }

/* ---------- responsive grids ---------- */

@media (max-width: 900px) {
  .feature-grid,
  .about-grid { grid-template-columns: 1fr; }
  .feature-copy,
  .about-copy { text-align: center; }
  .feature-copy p,
  .about-copy p { margin-left: auto; margin-right: auto; }
  .feature-copy .eyebrow,
  .about-copy .eyebrow { justify-content: center; }
  .tags { justify-content: center; }
  .feature-copy .cta-row { justify-content: center; }
  .laws { text-align: left; max-width: 34em; margin: 0 auto; }
  .about-figure { width: min(78%, 380px); }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
