:root,
[data-theme="amber"] {
  --bg: #0c0b0a;
  --bg-2: #161311;
  --ink: #f3ebe2;
  --muted: #c4b5a4;
  --orange: #ff7a18;
  --orange-2: #ff9a45;
  --brown: #8a4a22;
  --tan: #d4b48a;
  --accent-rgb: 255, 122, 24;
  --accent-2-rgb: 255, 154, 69;
  --line: rgba(var(--accent-rgb), 0.22);
  --header-bg: rgba(12, 11, 10, 0.78);
  --display: "Lilita One", Impact, sans-serif;
  --sans: "Barlow", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --theme-ease: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
  --nav-h: 4.75rem;
}

[data-theme="crimson"] {
  --bg: #0e0809;
  --bg-2: #1a1012;
  --ink: #f8e9ec;
  --muted: #c9a8b0;
  --orange: #ff2d55;
  --orange-2: #ff6b88;
  --brown: #8a2238;
  --tan: #e0a8b4;
  --accent-rgb: 255, 45, 85;
  --accent-2-rgb: 255, 107, 136;
  --line: rgba(var(--accent-rgb), 0.24);
  --header-bg: rgba(14, 8, 9, 0.8);
}

[data-theme="azure"] {
  --bg: #070b12;
  --bg-2: #101826;
  --ink: #e8f0ff;
  --muted: #9fb2d0;
  --orange: #3b82f6;
  --orange-2: #60a5fa;
  --brown: #1e3a6e;
  --tan: #a8c4ef;
  --accent-rgb: 59, 130, 246;
  --accent-2-rgb: 96, 165, 250;
  --line: rgba(var(--accent-rgb), 0.24);
  --header-bg: rgba(7, 11, 18, 0.8);
}

[data-theme="blush"] {
  --bg: #10080e;
  --bg-2: #1c1018;
  --ink: #fceaf4;
  --muted: #c9a4b8;
  --orange: #ff4d9a;
  --orange-2: #ff8fc4;
  --brown: #8a2a56;
  --tan: #efb4d0;
  --accent-rgb: 255, 77, 154;
  --accent-2-rgb: 255, 143, 196;
  --line: rgba(var(--accent-rgb), 0.24);
  --header-bg: rgba(16, 8, 14, 0.8);
}

[data-theme="jade"] {
  --bg: #070f0b;
  --bg-2: #101a14;
  --ink: #e8f7ee;
  --muted: #9fbfab;
  --orange: #22c55e;
  --orange-2: #4ade80;
  --brown: #1f6a3d;
  --tan: #a8d4b8;
  --accent-rgb: 34, 197, 94;
  --accent-2-rgb: 74, 222, 128;
  --line: rgba(var(--accent-rgb), 0.24);
  --header-bg: rgba(7, 15, 11, 0.8);
}

[data-theme="violet"] {
  --bg: #0c0914;
  --bg-2: #161122;
  --ink: #f0e9ff;
  --muted: #b5a6d4;
  --orange: #a855f7;
  --orange-2: #c084fc;
  --brown: #5b2d8a;
  --tan: #d0b8f0;
  --accent-rgb: 168, 85, 247;
  --accent-2-rgb: 192, 132, 252;
  --line: rgba(var(--accent-rgb), 0.24);
  --header-bg: rgba(12, 9, 20, 0.8);
}

[data-theme="gold"] {
  --bg: #0e0c07;
  --bg-2: #1a1610;
  --ink: #f8f1df;
  --muted: #c9ba96;
  --orange: #f5c542;
  --orange-2: #ffe08a;
  --brown: #8a6a1e;
  --tan: #e8d4a0;
  --accent-rgb: 245, 197, 66;
  --accent-2-rgb: 255, 224, 138;
  --line: rgba(var(--accent-rgb), 0.24);
  --header-bg: rgba(14, 12, 7, 0.8);
}

[data-theme="cyan"] {
  --bg: #061012;
  --bg-2: #0d1c20;
  --ink: #e6f9fc;
  --muted: #95bcc4;
  --orange: #22d3ee;
  --orange-2: #67e8f9;
  --brown: #176a78;
  --tan: #a8e4ef;
  --accent-rgb: 34, 211, 238;
  --accent-2-rgb: 103, 232, 249;
  --line: rgba(var(--accent-rgb), 0.24);
  --header-bg: rgba(6, 16, 18, 0.8);
}

[data-theme="magma"] {
  --bg: #0f0805;
  --bg-2: #1c100a;
  --ink: #ffe9de;
  --muted: #c9a890;
  --orange: #ff4500;
  --orange-2: #ff7a45;
  --brown: #8a3010;
  --tan: #efb898;
  --accent-rgb: 255, 69, 0;
  --accent-2-rgb: 255, 122, 69;
  --line: rgba(var(--accent-rgb), 0.24);
  --header-bg: rgba(15, 8, 5, 0.8);
}

[data-theme="frost"] {
  --bg: #090b10;
  --bg-2: #131820;
  --ink: #eef2f8;
  --muted: #a0aec0;
  --orange: #94a3b8;
  --orange-2: #cbd5e1;
  --brown: #475569;
  --tan: #c7d2de;
  --accent-rgb: 148, 163, 184;
  --accent-2-rgb: 203, 213, 225;
  --line: rgba(var(--accent-rgb), 0.28);
  --header-bg: rgba(9, 11, 16, 0.8);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(var(--accent-rgb), 0.14), transparent 55%),
    radial-gradient(700px 400px at 10% 40%, rgba(var(--accent-rgb), 0.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background-color var(--theme-ease),
    color var(--theme-ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color var(--theme-ease);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-header.is-solid {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.35));
  transition: filter var(--theme-ease);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active { color: var(--ink); }

.nav a.is-active { color: var(--orange); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0.75rem auto;
  z-index: 40;
  flex-direction: column;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18, 16, 14, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  padding: 0.85rem 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}

.mobile-nav a:last-child { border-bottom: 0; }

/* Hero: full crest, hand-designed stage */
.home-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1.25rem) var(--pad) 4.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0a0908;
}

.home-hero__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-hero__watermark {
  position: absolute;
  right: -4%;
  top: 48%;
  margin: 0;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(8rem, 28vw, 22rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--accent-rgb), 0.14);
  text-stroke: 1.5px rgba(var(--accent-rgb), 0.14);
  opacity: 0.9;
  user-select: none;
  white-space: nowrap;
}

.home-hero__stitch {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 18px,
      rgba(212, 180, 138, 0.07) 18px 19px,
      transparent 19px 37px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 22px,
      rgba(212, 180, 138, 0.05) 22px 23px,
      transparent 23px 45px
    ),
    radial-gradient(1px 8px at 12% 30%, rgba(212, 180, 138, 0.28), transparent 2px),
    radial-gradient(1px 8px at 38% 62%, rgba(212, 180, 138, 0.22), transparent 2px),
    radial-gradient(1px 8px at 71% 44%, rgba(212, 180, 138, 0.2), transparent 2px),
    radial-gradient(1px 8px at 86% 78%, rgba(212, 180, 138, 0.18), transparent 2px);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
}

.home-hero__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  align-items: center;
  gap: clamp(2rem, 5vw, 3.75rem);
  position: relative;
  z-index: 2;
}

.home-hero__text {
  position: relative;
  z-index: 2;
  max-width: 30rem;
  min-width: 0;
}

.home-hero__kicker {
  margin: 0 0 0.55rem;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home-hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 8.5vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #e8d2b8;
  text-shadow: 0 3px 0 #2a1a10;
}

.home-hero__line {
  display: block;
}

.home-hero__line--accent {
  color: var(--orange);
  text-shadow: 0 3px 0 #4a2200;
}

.home-hero__title .char {
  display: inline-block;
  will-change: transform, opacity;
}

.home-hero__lede {
  margin: 0.85rem 0 1.25rem;
  max-width: 28ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 4px;
  background: var(--orange);
  color: #1a0e05;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
  border: 1.5px solid transparent;
  box-shadow: none;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--orange-2);
}

.btn--lg {
  min-height: 3.15rem;
  padding: 0 1.45rem;
  font-size: 1rem;
  border-radius: 4px;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(var(--accent-rgb), 0.65);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: var(--orange);
  color: var(--orange-2);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.15);
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  max-width: 22rem;
}

.hero-stat {
  padding: 0.5rem 0.35rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(var(--accent-rgb), 0.35);
  background: transparent;
  text-align: left;
}

.hero-stat__value {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--orange);
}

.hero-stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

.home-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: color 0.2s ease, opacity 0.2s ease;
  animation: scrollHint 2.4s ease-in-out infinite;
}

.home-hero__scroll svg {
  width: 18px;
  height: 18px;
}

.home-hero__scroll:hover {
  color: var(--orange);
  opacity: 1;
}

.btn-text {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.btn-text:hover { color: var(--orange); }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  max-width: calc(var(--max) + 6rem);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
}

.stat {
  padding: 0.9rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #14110f;
  text-align: left;
}

.stat__value {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: 0.02em;
  color: var(--orange);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
}

/* Section icons */
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--orange);
}

.section-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-hero .section-icon,
.home-about .section-icon,
.home-links .section-icon {
  margin-bottom: 0.85rem;
}

.link-row__icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.08);
  display: grid;
  place-items: center;
  color: var(--orange);
  flex-shrink: 0;
}

.link-row__icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-stats {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e0d4c6;
}

.channel-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.channel-stats b {
  color: var(--orange-2);
  font-weight: 700;
}

.home-hero__art {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(100%, 400px);
  margin-inline-start: auto;
  padding: 1.25rem;
}

.home-hero__lightning {
  position: absolute;
  inset: -6%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

.home-hero__lightning svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(var(--accent-2-rgb), 0.7));
}

.home-hero__lightning .bolt {
  opacity: 0;
  transform-origin: center;
}

.home-hero__lightning .bolt--a {
  animation: lightningBoltA 5.2s ease-in-out infinite;
}

.home-hero__lightning .bolt--b {
  animation: lightningBoltB 5.2s ease-in-out infinite 0.12s;
}

.home-hero__crest {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0.35rem;
  animation: float 8.5s ease-in-out infinite;
}

.home-hero__logo {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 0.5px var(--orange))
    drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.55))
    drop-shadow(0 0 28px rgba(var(--accent-rgb), 0.28))
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
  transition: filter var(--theme-ease);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.9; }
}

@keyframes lightningBoltA {
  0%, 86%, 100% { opacity: 0; }
  88% { opacity: 1; }
  89.2% { opacity: 0.12; }
  90.4% { opacity: 0.95; }
  92% { opacity: 0; }
  94.5% { opacity: 0.7; }
  96% { opacity: 0; }
}

@keyframes lightningBoltB {
  0%, 87%, 100% { opacity: 0; }
  89% { opacity: 0.85; }
  90% { opacity: 0.1; }
  91% { opacity: 0.7; }
  93% { opacity: 0; }
}

/* Strip */
.home-strip {
  border-block: 1px solid var(--line);
  padding: 0.95rem var(--pad);
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-strip b { color: var(--orange); }

/* About */
.home-about {
  max-width: calc(var(--max) + 6rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--pad);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.home-about__visual {
  position: relative;
  border-radius: 28% 28% 18% 18% / 32% 32% 20% 20%;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.2), transparent 55%),
    var(--bg-2);
  border: 2px solid rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.18);
}

.home-about__visual img {
  width: 100%;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home-about h2,
.page-hero h1,
.section h2,
.home-links h2 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.05;
  color: #ead6c0;
}

.home-about h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  max-width: 14ch;
}

.home-about p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

.about-lead {
  font-size: 1.15rem !important;
  color: #e8dccf !important;
  max-width: 36ch !important;
}

.about-lead strong {
  color: var(--orange-2);
  font-weight: 700;
}

.about-records {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 52ch;
}

.about-records li {
  padding: 0.55rem 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #e0d4c6;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}

.about-records li:last-child {
  border-bottom: 0;
}

.about-note {
  margin-top: 1.1rem !important;
  font-size: 1rem !important;
  color: #d4c6b6 !important;
}

.home-about__visual--photo,
.home-about__visual {
  border-radius: 18px;
}

.home-about__visual img[src*="photo-anuj"] {
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1;
  width: 100%;
}

/* Explore links */
.home-links {
  max-width: calc(var(--max) + 6rem);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(4rem, 8vw, 5.5rem);
}

.home-links h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.link-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  transition: background 0.25s ease, padding-left 0.3s var(--ease);
}

.link-row:last-child { border-bottom: 1px solid var(--line); }

.link-row:hover {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), transparent 65%);
  padding-left: 0.5rem;
}

.link-row img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.link-row h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.link-row p {
  margin: 0;
  color: var(--muted);
  max-width: 44ch;
}

.link-row em {
  font-style: normal;
  font-weight: 700;
  color: var(--orange);
}

/* Inner pages */
.page-hero {
  padding: calc(var(--nav-h) + 2.75rem) var(--pad) 2.5rem;
  max-width: calc(var(--max) + 6rem);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 4.8rem);
}

.page-hero p {
  margin: 0.9rem 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.content {
  max-width: calc(var(--max) + 6rem);
  margin: 0 auto;
  padding: 2.75rem var(--pad) 4.5rem;
}

.section + .section {
  margin-top: 3rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.prose {
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.7;
}

.prose p { margin: 0 0 1rem; }
.prose a,
.info-table a { color: var(--orange); }

.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature {
  display: grid;
  grid-template-columns: 168px 1fr auto;
  gap: 1.35rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(22, 19, 17, 0.75);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.feature img,
.feature__logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
}

.feature__logo--round {
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  background: #0a0908;
}

.feature__logo--photo {
  object-position: center top;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature__meta {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: #c2b3a3;
}

.feature__meta b { color: var(--orange-2); }

.feature__go {
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

.server {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  margin-top: 1.15rem;
  padding: 1.35rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(22, 19, 17, 0.8);
}

.server img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.server__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.server h3 {
  margin: 0.3rem 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.server p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  max-width: 54ch;
}

.server ul {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  color: #d4c6b6;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.35rem;
}

.job-card {
  position: relative;
  padding: 1.35rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(22, 19, 17, 0.8);
  overflow: hidden;
}

.job-card img {
  position: absolute;
  right: -20px;
  bottom: -24px;
  width: 120px;
  opacity: 0.16;
  pointer-events: none;
}

.job-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.job-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--display);
  font-size: 1.55rem;
  text-transform: uppercase;
}

.job-card p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.job-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #d4c6b6;
  font-size: 0.95rem;
}

.apply {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.08);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.15rem;
  align-items: center;
}

.apply img {
  width: 100px;
  filter: drop-shadow(0 0 16px rgba(var(--accent-rgb), 0.3));
}

.apply h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.6rem;
  text-transform: uppercase;
}

.apply p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.apply .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.apply .email {
  font-size: 0.9rem;
  color: var(--orange-2);
  font-weight: 600;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.social-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(22, 19, 17, 0.8);
  transition: transform 0.3s var(--ease), border-color 0.25s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.social-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.social-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.social-card span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-card em {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--orange);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.1rem;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.info-table th {
  width: 28%;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.info-table td { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--pad) 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover { color: var(--orange); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.home-hero__crest,
.home-about__visual img,
.feature__logo,
.stat {
  will-change: transform, opacity;
}

.feature,
.link-row,
.server,
.social-card,
.job-card {
  will-change: transform;
}

@media (max-width: 920px) {
  .home-hero {
    padding-top: calc(var(--nav-h) + 0.75rem);
    padding-bottom: 4.25rem;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 520px;
    gap: 1.75rem;
  }

  .home-hero__text {
    max-width: none;
    display: grid;
    justify-items: center;
  }

  .home-hero__lede { max-width: 38ch; }
  .btn-row { justify-content: center; }
  .home-hero__stats {
    max-width: 22rem;
    width: 100%;
  }

  .home-hero__art {
    order: -1;
    justify-self: center;
    width: min(72vw, 300px);
    padding: 0.5rem;
  }

  .home-hero__crest { width: 100%; }
  .home-hero__watermark {
    right: 50%;
    top: 12%;
    transform: translate(50%, 0);
    font-size: clamp(5.5rem, 28vw, 9rem);
    opacity: 0.7;
  }

  .home-about,
  .link-row,
  .feature,
  .server,
  .apply,
  .social-card {
    grid-template-columns: 1fr;
  }

  .job-grid,
  .social-grid { grid-template-columns: 1fr; }

  .nav { display: none; }
  .nav-toggle { display: grid; }

  .link-row img,
  .server img {
    width: 110px;
    height: 110px;
  }

  .feature {
    grid-template-columns: 120px 1fr;
  }

  .feature img,
  .feature__logo {
    width: 112px;
    height: 112px;
  }

  .feature__go {
    grid-column: 2;
    justify-self: start;
  }
}

/* Theme picker */
.theme-picker {
  position: relative;
  z-index: 60;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: var(--orange-2);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color var(--theme-ease), background 0.2s ease, color var(--theme-ease);
}

.theme-toggle:hover,
.theme-toggle[aria-expanded="true"] {
  transform: translateY(-1px);
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.7);
  box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.3);
  color: var(--orange);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
}

.theme-panel {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(292px, calc(100vw - 1.5rem));
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 92%, black);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition:
    opacity 0.25s ease,
    transform 0.25s var(--ease),
    visibility 0.25s,
    background-color var(--theme-ease),
    border-color var(--theme-ease);
}

.theme-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.theme-panel__label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.theme-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
}

.theme-swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-swatch:hover {
  transform: scale(1.1);
}

.theme-swatch.is-active {
  border-color: #fff;
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 16px rgba(var(--accent-rgb), 0.55);
}

.theme-swatch:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Highlights / embedded work */
.home-work {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
}

.home-work--page {
  max-width: var(--max);
  padding-top: 0.5rem;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.home-work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.home-work__head h2 {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #ead6c0;
}

.home-work__head p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
}

.work-feature {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), transparent 45%),
    #12100e;
}

.work-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.65rem;
}

.work-feature__copy h3 {
  margin: 0.45rem 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.1;
  color: #ead6c0;
}

.work-feature__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.work-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--orange-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.work-card {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #14110f;
  overflow: hidden;
}

.work-card__copy {
  padding: 0.7rem 0.8rem 0.85rem;
}

.work-card__copy h3 {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.work-play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0a0908;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.work-play img,
.work-play iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.work-play iframe {
  position: absolute;
  inset: 0;
}

.work-play__btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--orange);
  color: #1a0e05;
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.2), 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.work-play__btn svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: currentColor;
}

.work-play:hover .work-play__btn,
.work-play:focus-visible .work-play__btn {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0.28), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.work-play.is-playing .work-play__btn,
.work-play.is-playing img {
  display: none;
}

.work-feature .work-play {
  border-radius: 6px;
}

/* Latest uploads */
.home-videos {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
}

.home-videos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.home-videos__head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.05;
  color: #ead6c0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-card {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #14110f;
  transition:
    transform 0.3s var(--ease),
    border-color 0.25s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.4);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1512;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.video-card:hover .video-card__thumb img {
  transform: scale(1.06);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease;
}

.video-card__play span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #1a0e05;
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.45);
  transition: transform 0.3s var(--ease);
}

.video-card__play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  fill: currentColor;
}

.video-card:hover .video-card__play {
  background: rgba(0, 0, 0, 0.15);
}

.video-card:hover .video-card__play span {
  transform: scale(1.08);
}

.video-card__body {
  padding: 0.95rem 1rem 1.1rem;
}

.video-card__body h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__meta {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Crew */
.home-crew {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad);
}

.home-crew__head {
  margin-bottom: 1.5rem;
}

.home-crew__head h2 {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.05;
  color: #ead6c0;
}

.home-crew__head p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.crew-card {
  position: relative;
  padding: 1rem 0.9rem 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #14110f;
  text-align: left;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    border-color 0.25s ease;
}

.crew-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.crew-card__avatar {
  width: 72px;
  height: 72px;
  margin: 0 0 0.75rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.crew-card__avatar--logo {
  background: rgba(var(--accent-rgb), 0.08);
}

.crew-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.crew-card__role {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--orange);
}

.crew-card p {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.crew-card--open {
  border-style: dashed;
}

.crew-card--open .crew-card__avatar {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--orange);
  background: rgba(var(--accent-rgb), 0.08);
}

/* Discord banner */
.discord-banner {
  position: relative;
  max-width: calc(var(--max) + 4rem);
  margin: 0.5rem auto clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: #14110f;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.discord-banner__copy {
  position: relative;
  z-index: 1;
}

.discord-banner__copy h2 {
  margin: 0.15rem 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.05;
  color: #ead6c0;
}

.discord-banner__copy p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
}

.discord-banner .btn {
  position: relative;
  z-index: 1;
}

/* Glow hover helpers */
.btn,
.link-row,
.feature,
.server,
.social-card,
.job-card,
.video-card,
.crew-card {
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    background-color var(--theme-ease),
    color var(--theme-ease);
}

.btn {
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color var(--theme-ease);
}

@media (max-width: 920px) {
  .video-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-feature {
    grid-template-columns: 1fr;
  }

  .crew-grid {
    grid-template-columns: 1fr 1fr;
  }

  .discord-banner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

}

@media (max-width: 560px) {
  .crew-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 921px) and (max-width: 1100px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__crest,
  .home-hero__scroll,
  .home-hero__lightning .bolt { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
