/* Shelley After Dark — site styles.
   Palette comes straight from the channel art: near-black forest, blood
   red (the cabin window / "DARK" lettering), bone white (the "SHELLEY"
   lettering) and a cold moonlight blue for subtle glows. */

:root {
  --bg: #07080a;
  --bg-raised: #0f1114;
  --bg-card: #13161a;
  --line: #23272d;
  --red: #c4161c;
  --red-deep: #8c0f14;
  --red-glow: rgba(196, 22, 28, 0.45);
  --bone: #ede6da;
  --text: #d6d2cb;
  --muted: #8d9097;
  --moon: #9fb6c9;
  --radius: 14px;
  --max: 1180px;
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-type: "Special Elite", "Courier New", monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* Film-grain overlay over the whole page, very faint. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red-deep); }

.brand span {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: var(--bone);
}

.brand span em { color: var(--red); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}

.nav-links a:hover { color: var(--bone); opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--bone);
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 30px var(--red-glow); }
.btn-red:hover { background: #db1f26; box-shadow: 0 10px 40px rgba(196, 22, 28, 0.65); }

.btn-ghost { border: 1px solid rgba(237, 230, 218, 0.35); color: var(--bone); background: rgba(7, 8, 10, 0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--bone); }

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
  flex-shrink: 0;
}

.i-youtube { --i: url("../icons/youtube.svg"); }
.i-twitch { --i: url("../icons/twitch.svg"); }
.i-x { --i: url("../icons/x.svg"); }
.i-instagram { --i: url("../icons/instagram.svg"); }
.i-tiktok { --i: url("../icons/tiktok.svg"); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -4%;
  z-index: -3;
  background: url("../img/banner.webp") center 40% / cover no-repeat;
  animation: slow-zoom 30s ease-in-out infinite alternate;
}

/* Darkens toward the bottom so the hero melts into the page. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at center, rgba(7, 8, 10, 0.15) 0%, rgba(7, 8, 10, 0.65) 70%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.55) 0%, rgba(7, 8, 10, 0.1) 35%, rgba(7, 8, 10, 0.75) 80%, var(--bg) 100%);
}

/* Two drifting fog layers. */
.fog, .fog::after {
  position: absolute;
  inset: auto -50% 0 -50%;
  height: 55%;
  z-index: -1;
  background:
    radial-gradient(ellipse 40% 60% at 25% 70%, rgba(200, 210, 220, 0.16), transparent 70%),
    radial-gradient(ellipse 35% 50% at 70% 80%, rgba(200, 210, 220, 0.12), transparent 70%);
  filter: blur(18px);
  animation: drift 38s linear infinite;
  pointer-events: none;
}

.fog::after { content: ""; inset: 0; animation-duration: 55s; animation-direction: reverse; opacity: 0.8; }

/* Bottom padding leaves room for the scroll cue so it never sits on the buttons. */
.hero-content { position: relative; padding: 120px 20px 130px; }

.hero-badge {
  width: clamp(200px, 30vw, 320px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(196, 22, 28, 0.6), 0 0 70px rgba(196, 22, 28, 0.35), 0 30px 80px rgba(0, 0, 0, 0.8);
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both;
}

.tagline {
  font-family: var(--font-type);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: 0.12em;
  color: var(--bone);
  margin: 0 0 14px;
  text-transform: uppercase;
  animation: rise 1.2s 0.15s cubic-bezier(.2, .7, .2, 1) both;
}

.tagline b { color: var(--red); font-weight: inherit; text-shadow: 0 0 18px var(--red-glow); }

.hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--text);
  font-size: 1.08rem;
  animation: rise 1.2s 0.3s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: rise 1.2s 0.45s cubic-bezier(.2, .7, .2, 1) both;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-type);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  margin: 10px auto 0;
  background: linear-gradient(var(--red), transparent);
  animation: drip 2.2s ease-in-out infinite;
}

/* ---------- Sections ---------- */

section { position: relative; }

.section { padding: 110px 0; }

.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 18%, var(--bg-raised) 82%, var(--bg) 100%); }

.eyebrow {
  font-family: var(--font-type);
  color: var(--red);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 12px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--bone);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 22px;
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--bone);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}

.lead { font-size: 1.12rem; max-width: 640px; }

.section-head { margin-bottom: 50px; }

/* ---------- Latest story ---------- */

.feature {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, 0.6);
}

.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }

.video button {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.video button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55));
  transition: background 0.3s;
}

.video button:hover::before { background: linear-gradient(180deg, rgba(196, 22, 28, 0.12), rgba(0, 0, 0, 0.55)); }

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(196, 22, 28, 0.25), 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s;
}

.play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  translate: -50% -50%;
  border-style: solid;
  border-width: 14px 0 14px 23px;
  border-color: transparent transparent transparent #fff;
}

.video button:hover .play { transform: scale(1.08); }

/* Silent looping preview: sits under the thumbnail, which fades away once
   the preview is actually playing. Scaled up to crop YouTube's overlays. */
.video .preview { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.video .preview iframe { transform: scale(1.35); }
.video > img { transition: opacity 0.8s; }
.video.previewing > img { opacity: 0; }

.video.previewing button::after {
  content: "Click to watch with sound";
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.7);
  color: var(--bone);
  font: 600 0.8rem/1.2 Inter, sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.meta { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.05em; margin: 0 0 18px; }

.cta-note {
  border-left: 3px solid var(--red);
  padding-left: 14px;
  color: var(--bone);
  font-weight: 600;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.chapters { margin: 6px 0 22px; }
.chapters[hidden], .more-stories[hidden] { display: none; }

.chapters-label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

.chapters button {
  display: flex;
  gap: 12px;
  align-items: baseline;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--bone);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.chapters button:hover { border-color: var(--red); background: rgba(196, 22, 28, 0.08); }
.chapters time { font-family: "Special Elite", monospace; color: var(--red); font-size: 0.85rem; min-width: 3.2em; }

.more-stories { margin-top: 56px; }

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.more-card {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  color: var(--bone);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s;
}

.more-card:hover { transform: translateY(-4px); border-color: var(--red); }
.more-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.more-card span { display: block; padding: 12px 14px 14px; font-weight: 600; line-height: 1.35; }

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

/* ---------- Category cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 30px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 22, 28, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover { transform: translateY(-4px); border-color: rgba(196, 22, 28, 0.45); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.card:hover::before { opacity: 1; }

.card .emoji { font-size: 2rem; line-height: 1; margin-bottom: 16px; display: block; filter: saturate(0.8); }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Quote strip ---------- */

.quote {
  padding: 120px 0;
  text-align: center;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(7, 8, 10, 0.55) 30%, rgba(7, 8, 10, 0.55) 70%, var(--bg) 100%),
    url("../img/banner.webp") center 65% / cover no-repeat fixed;
}

.quote blockquote {
  margin: 0 auto;
  max-width: 820px;
  font-family: var(--font-type);
  color: var(--bone);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.3;
}

.quote cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 40%, #1d2126, var(--bg-card) 70%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.about-art .host-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

/* Darken the edges so the photo sits in the page's dark palette. */
.about-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 35%, transparent 45%, rgba(7, 8, 10, 0.55) 100%),
    linear-gradient(to top, rgba(7, 8, 10, 0.6), transparent 35%);
  pointer-events: none;
}

.about-art .host-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(7, 8, 10, 0.75);
  padding: 6px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 0.88rem;
  color: var(--bone);
}

.stats li b { color: var(--red); font-weight: 700; }

/* ---------- Schedule ---------- */

.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.slot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-raised));
}

.slot .when {
  font-family: var(--font-type);
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.slot p { margin: 0 0 14px; color: var(--muted); }
.slot .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Twitch ---------- */

.live {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-type);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--bone);
  margin-bottom: 14px;
}

.live-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulse 2s infinite;
}

.twitch-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e0e10 url("../img/s-logo.png") center / 22% no-repeat;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.twitch-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Socials ---------- */

.socials {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.social .icon { width: 34px; height: 34px; color: var(--bone); transition: color 0.25s; }
.social strong { color: var(--bone); font-weight: 600; }
.social span { color: var(--muted); font-size: 0.85rem; }

.social:hover { transform: translateY(-4px); border-color: var(--c, var(--red)); background: color-mix(in srgb, var(--c, var(--red)) 10%, var(--bg-card)); }
.social:hover .icon { color: var(--c, var(--red)); }

.s-youtube { --c: #ff2a2a; }
.s-twitch { --c: #a970ff; }
.s-x { --c: #e7e9ea; }
.s-instagram { --c: #ff4f8b; }
.s-tiktok { --c: #25f4ee; }

/* ---------- Footer ---------- */

.footer {
  padding: 50px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.footer-icons { display: flex; gap: 18px; }
.footer-icons a { color: var(--muted); transition: color 0.2s; }
.footer-icons a:hover { color: var(--bone); }
.footer-icons .icon { width: 22px; height: 22px; }

.footer-link { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--bone); }

.nav-links a[aria-current="page"] { color: var(--bone); opacity: 1; }

/* ---------- Colony Wars pages ---------- */
/* Same layout as the rest of the site; the game's sci-fi blue stands in
   for the channel red inside the page (the nav and footer stay red). */

.cw {
  --red: #3fa9f5;
  --red-glow: rgba(63, 169, 245, 0.4);
}

.hero-cw { min-height: 92svh; }
.hero-cw .hero-bg { background-image: url("../img/colony-wars/frostline.webp"); background-position: center 30%; }

.cw-logo {
  width: clamp(150px, 20vw, 220px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 22px;
  box-shadow: 0 0 0 2px rgba(63, 169, 245, 0.55), 0 0 60px rgba(63, 169, 245, 0.3), 0 30px 80px rgba(0, 0, 0, 0.8);
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both;
}

.cw-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.8);
  animation: rise 1.2s 0.08s cubic-bezier(.2, .7, .2, 1) both;
}

.cw-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid rgba(63, 169, 245, 0.45);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.55);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  animation: rise 1.2s 0.45s cubic-bezier(.2, .7, .2, 1) both;
}

.cw-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.maps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: transform 0.3s, border-color 0.3s;
}

.map-card:hover { transform: translateY(-4px); border-color: var(--red); }
.map-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.map-body { padding: 20px 22px 24px; }
.map-body p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.map-body .map-where { margin-bottom: 6px; font-family: var(--font-type); color: var(--red); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.8rem; }

.cw-note { max-width: 760px; text-align: center; }
.cw-note p { font-size: 1.08rem; }
.cw-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Plain reading page (privacy policy). */
.doc-page { padding: 130px 0 90px; }
.doc { max-width: 760px; }
.doc h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; color: var(--bone); margin: 0 0 10px; }
.doc h2 { font-size: 1.6rem; margin: 38px 0 10px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--red); overflow-wrap: anywhere; }
.doc .eyebrow a { color: inherit; text-decoration: none; }
.doc-updated { color: var(--muted); margin: 0 0 30px; }
.doc-contact { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

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

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

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s, transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */

@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(25%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 22, 28, 0.7); } 70% { box-shadow: 0 0 0 12px rgba(196, 22, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 22, 28, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

/* On very short screens there's no room for the scroll cue at all. */
@media (max-height: 640px) {
  .scroll-cue { display: none; }
  .hero-content { padding-bottom: 60px; }
}

@media (max-width: 960px) {
  .feature, .about, .live { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .socials { grid-template-columns: repeat(3, 1fr); }
  .about-art { max-width: 380px; }
  .quote { background-attachment: scroll; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: rgba(7, 8, 10, 0.96);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: rgba(7, 8, 10, 0.96); }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links .btn { display: flex; margin-top: 14px; justify-content: center; border-bottom: 0; }
  .section { padding: 80px 0; }
  .schedule { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .brand span { font-size: 1.3rem; }
  .container { width: calc(100% - 32px); }
}
