
:root {
  --bg: #0e0c0a;
  --bg-soft: #171411;
  --panel: rgba(22, 18, 14, 0.82);
  --panel-2: rgba(31, 26, 20, 0.88);
  --line: rgba(255, 247, 233, 0.10);
  --line-strong: rgba(255, 247, 233, 0.18);
  --ink: #f6efe5;
  --muted: #c2b3a2;
  --muted-2: #8f7f70;
  --accent: #d6b06f;
  --accent-2: #c86952;
  --accent-3: #8bb9e8;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1000px 700px at 20% 0%, rgba(214, 176, 111, 0.10), transparent 60%),
    radial-gradient(900px 700px at 90% 20%, rgba(200, 105, 82, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.shell {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.88), rgba(8, 7, 6, 0.48));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.topbar-inner {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}
.mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(214,176,111,0.18), rgba(255,255,255,0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--ink);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.nav a,
.pill,
.link-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.82);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.nav a:hover,
.nav a:focus-visible,
.pill:hover,
.pill:focus-visible,
.link-chip:hover,
.link-chip:focus-visible,
button:hover,
button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.06);
}

.hero {
  padding: 28px 0 26px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: start;
}
.kicker {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.hero h1,
.section h2,
.section h3,
.feature-card .title,
.platform h3,
.story h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.05em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.9;
  font-weight: 700;
  text-wrap: balance;
}
.hero .lede {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.74;
  color: var(--muted);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.primary {
  background: linear-gradient(145deg, rgba(214,176,111,0.96), rgba(200,105,82,0.92));
  color: #140f0c;
  border-color: transparent;
  font-weight: 700;
}
.primary:hover,
.primary:focus-visible { background: linear-gradient(145deg, rgba(223,190,129,0.98), rgba(220,132,103,0.96)); }

.stage {
  position: relative;
  min-height: 760px;
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    radial-gradient(circle at 18% 16%, rgba(214,176,111,0.10), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(200,105,82,0.12), transparent 20%),
    linear-gradient(180deg, rgba(19, 17, 14, 0.98), rgba(12, 10, 8, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(255,255,255,0.04) 49.8% 50.2%, transparent 50.2% 100%),
    linear-gradient(0deg, transparent 0 49.8%, rgba(255,255,255,0.04) 49.8% 50.2%, transparent 50.2% 100%);
  background-size: 56px 56px;
  opacity: 0.22;
  mask-image: radial-gradient(circle at center, black 52%, transparent 88%);
}
.stage-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
}
.stage-note {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: rgba(255,255,255,0.76);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stage-viewer {
  position: absolute;
  inset: 78px 18px 18px 18px;
  display: grid;
  gap: 16px;
}
.stage-layout {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
  transform: scale(0.99);
}
.stage[data-layout="cathedral"] .layout-cathedral,
.stage[data-layout="noir"] .layout-noir,
.stage[data-layout="field"] .layout-field {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.tile {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.tile img { height: 100%; object-fit: cover; }
.tile .caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
}
.layout-cathedral .a { left: 0; top: 0; width: 60%; height: 100%; }
.layout-cathedral .b { right: 0; top: 0; width: 38%; height: 34%; }
.layout-cathedral .c { right: 0; top: 36%; width: 38%; height: 30%; }
.layout-cathedral .d { right: 0; bottom: 0; width: 38%; height: 32%; }
.layout-cathedral .e { left: 62%; top: 58%; width: 18%; height: 42%; }
.layout-cathedral .f { left: 80%; top: 58%; width: 18%; height: 42%; }
.layout-cathedral .g { left: 62%; top: 0; width: 18%; height: 56%; }
.layout-cathedral .h { left: 80%; top: 0; width: 18%; height: 56%; }

.layout-noir .a { left: 0; top: 0; width: 54%; height: 60%; }
.layout-noir .b { right: 0; top: 0; width: 44%; height: 30%; }
.layout-noir .c { right: 0; top: 32%; width: 44%; height: 30%; }
.layout-noir .d { left: 0; bottom: 0; width: 36%; height: 38%; }
.layout-noir .e { left: 38%; bottom: 0; width: 26%; height: 38%; }
.layout-noir .f { right: 0; bottom: 0; width: 24%; height: 38%; }
.layout-noir .g { left: 54%; top: 64%; width: 20%; height: 36%; }
.layout-noir .h { left: 74%; top: 64%; width: 20%; height: 36%; }

.layout-field .a { left: 0; top: 0; width: 48%; height: 100%; }
.layout-field .b { left: 50%; top: 0; width: 24%; height: 48%; }
.layout-field .c { left: 76%; top: 0; width: 24%; height: 48%; }
.layout-field .d { left: 50%; top: 50%; width: 24%; height: 50%; }
.layout-field .e { left: 76%; top: 50%; width: 24%; height: 50%; }
.layout-field .f { left: 24%; top: 52%; width: 24%; height: 48%; }
.layout-field .g { left: 0; top: 66%; width: 24%; height: 34%; }
.layout-field .h { left: 24%; top: 0; width: 24%; height: 50%; }

.grid-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin: 48px 0 18px;
}
.grid-title h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.95;
  font-weight: 700;
}
.grid-title p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.6;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 16px;
}
.watch {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.watch .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.watch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}
.watch:hover img { transform: scale(1.03); }
.watch figcaption {
  padding: 12px 13px 14px;
  display: grid;
  gap: 4px;
}
.watch .name {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.watch .meta {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 16px 38px rgba(0,0,0,0.22);
}
.art .frame {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}
.art:hover img { transform: scale(1.03); }
.art figcaption {
  padding: 14px 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.art .name {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.art .meta {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section {
  padding: 18px 0 10px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel {
  border-radius: calc(var(--radius-xl) + 4px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: 0 18px 46px rgba(0,0,0,0.20);
  overflow: hidden;
}
.panel-inner { padding: 22px; }
.panel h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1;
}
.panel p.lead {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}
.platforms {
  display: grid;
  gap: 14px;
}
.platform {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.14);
}
.platform h4,
.track h4,
.story h4 {
  margin: 0;
  font-family: Georgia, serif;
  letter-spacing: -0.03em;
}
.platform h4 { font-size: 22px; }
.platform .url {
  margin-top: 10px;
  display: block;
  color: rgba(255,255,255,0.84);
  word-break: break-word;
  font-size: 13px;
  line-height: 1.5;
}
.tracklist {
  display: grid;
  gap: 12px;
}
.track {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.14);
}
.track .num {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(214,176,111,0.95), rgba(200,105,82,0.92));
  color: #140f0c;
  font-size: 12px;
  font-weight: 800;
}
.track p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}
.track .go {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}
.story .essay,
.story .facts {
  border-radius: calc(var(--radius-xl) + 4px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 22px;
}
.story .essay p,
.story .facts p { color: var(--muted); line-height: 1.74; }
.story .facts { display: grid; gap: 12px; }
.fact {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0,0,0,0.14);
  border: 1px solid var(--line);
}
.fact .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.fact .value {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.1;
}

.footer {
  padding: 24px 0 42px;
  color: var(--muted-2);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.tweaks {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
}
.tweaks button.launch {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 8, 7, 0.90);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.tweaks-panel {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: min(340px, calc(100vw - 36px));
  display: none;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 8, 7, 0.96);
  box-shadow: var(--shadow);
}
.tweaks.open .tweaks-panel { display: block; }
.tweaks-panel .row { display: grid; gap: 10px; margin-top: 12px; }
.tweaks-panel .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
}
.segmented button[aria-pressed="true"] {
  background: rgba(214,176,111,0.16);
  border-color: rgba(214,176,111,0.3);
}

@media (max-width: 1040px) {
  .hero-grid,
  .split,
  .story,
  .gallery { grid-template-columns: 1fr; }
  .stage { min-height: 640px; }
  .watch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .shell,
  .topbar-inner { width: calc(100vw - 20px); }
  .topbar-inner { padding: 12px 0; flex-direction: column; align-items: start; }
  .nav { justify-content: flex-start; }
  .hero h1 { font-size: clamp(52px, 18vw, 82px); }
  .stage { min-height: 540px; }
  .stage-viewer { inset: 70px 12px 12px 12px; }
  .stage-top { left: 12px; right: 12px; top: 12px; }
  .layout-cathedral .a,
  .layout-cathedral .b,
  .layout-cathedral .c,
  .layout-cathedral .d,
  .layout-cathedral .e,
  .layout-cathedral .f,
  .layout-cathedral .g,
  .layout-cathedral .h,
  .layout-noir .a,
  .layout-noir .b,
  .layout-noir .c,
  .layout-noir .d,
  .layout-noir .e,
  .layout-noir .f,
  .layout-noir .g,
  .layout-noir .h,
  .layout-field .a,
  .layout-field .b,
  .layout-field .c,
  .layout-field .d,
  .layout-field .e,
  .layout-field .f,
  .layout-field .g,
  .layout-field .h {
    position: absolute;
    width: auto;
    height: auto;
  }
  .layout-cathedral .a { left: 0; top: 0; right: 0; bottom: 0; }
  .layout-cathedral .b { left: 12px; top: 12px; width: 44%; height: 28%; }
  .layout-cathedral .c { left: 52%; top: 12px; width: 36%; height: 28%; }
  .layout-cathedral .d { left: 52%; bottom: 12px; width: 36%; height: 28%; }
  .layout-cathedral .e { left: 12px; bottom: 12px; width: 26%; height: 28%; }
  .layout-cathedral .f { left: 40%; bottom: 12px; width: 10%; height: 28%; }
  .layout-cathedral .g { left: 12px; top: 34%; width: 24%; height: 30%; }
  .layout-cathedral .h { left: 40%; top: 34%; width: 24%; height: 30%; }
  .track { grid-template-columns: 1fr; }
  .track .num { width: 38px; height: 38px; }
  .track .go { width: 100%; }
  .watch-grid { grid-template-columns: 1fr; }
}
