/* =============================================================
   Hill House Horror — shared theme
   Fonts: Pirata One (display) + Roboto (body)
   Aesthetic: deep black, blood red, bone white. Atmospheric.
   ============================================================= */

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

* { margin: 0; }

:root {
  /* Palette */
  --bg:        #08080a;
  --bg-2:      #0d0d11;
  --panel:     #131318;
  --panel-2:   #1a1a21;
  --line:      #26262e;

  --ink:       #e9e4d8;   /* bone white */
  --ink-soft:  #c4bfb4;
  --muted:     #8b8579;

  --blood:     #b4121a;
  --blood-2:   #7c0a10;
  --blood-bright: #e02a26;
  --blood-glow: rgba(180, 18, 26, 0.55);

  /* Type */
  --font-display: "Pirata One", "Times New Roman", serif;
  --font-body: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Layout */
  --container: 1140px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ---------- Atmosphere: grain + vignette ---------- */
body::before {
  /* film grain */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body::after {
  /* vignette */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(0, 0, 0, 0.65) 100%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

a { color: var(--blood-bright); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--ink); }

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

p + p { margin-top: 1.1em; }

::selection { background: var(--blood); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  position: relative;
}

.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }

.section-title {
  font-size: clamp(2.1rem, 1.5rem + 3vw, 4rem);
  color: var(--ink);
  text-shadow: 0 0 28px rgba(180, 18, 26, 0.25);
}
.section-title.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--blood-bright);
}

.lede { color: var(--muted); font-style: italic; }

/* blood rule under headings */
.rule {
  width: 88px; height: 2px; border: 0;
  margin: 1.25rem 0;
  background: linear-gradient(90deg, var(--blood), transparent);
}
.center .rule, .rule.center { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--blood), transparent); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 10000;
  background: var(--blood); color: #fff; padding: 0.6rem 1rem;
}
.skip:focus { left: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.92), rgba(6, 6, 8, 0));
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-skull {
  width: 38px; height: 38px;
  filter: drop-shadow(0 0 8px var(--blood-glow));
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-skull { transform: rotate(-6deg) scale(1.05); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.site-nav a {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  position: relative;
  padding: 0.4rem 0;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--blood);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:not(.nav-cta):hover,
.site-nav a.is-active { color: var(--ink); }
.site-nav a:not(.nav-cta):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid var(--blood);
  color: var(--ink) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover { background: var(--blood); box-shadow: 0 0 22px var(--blood-glow); }

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  position: relative; z-index: 1100;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer; transition: all 0.28s var(--ease);
  will-change: transform;
}
.btn-lg { padding: 1.15rem 2.4rem; font-size: 0.9rem; }

.btn-blood {
  background: linear-gradient(180deg, var(--blood), var(--blood-2));
  color: #fff;
  border-color: var(--blood-bright);
  box-shadow: 0 0 0 rgba(180, 18, 26, 0);
}
.btn-blood:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--blood-glow), 0 0 18px var(--blood-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--blood); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: clamp(6rem, 14vh, 11rem) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.2) 40%, rgba(8, 8, 10, 0.96) 100%),
    radial-gradient(80% 60% at 50% 40%, rgba(120, 10, 16, 0.18), transparent 70%);
}
.hero-content { position: relative; }
.hero-title {
  font-size: clamp(3.6rem, 1.5rem + 13vw, 11rem);
  letter-spacing: 0.01em;
  text-shadow: 0 0 60px rgba(180, 18, 26, 0.45), 0 6px 30px rgba(0, 0, 0, 0.6);
  margin-top: 0.6rem;
}
.hero-tag {
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem);
  color: var(--ink-soft);
  max-width: 30ch;
  margin-top: 1.2rem;
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  color: var(--muted); font-size: 1.4rem; animation: bob 2.4s var(--ease) infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Welcome ---------- */
.welcome { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.welcome-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.welcome-media { position: relative; }
.welcome-media .frame { width: 100%; }
/* 2024 logo "lit disc" treatment so the dark laser logo reads on the dark card */
.archive-card img.card-logo-disc {
  width: 168px; height: 168px; max-height: none; padding: 22px;
  object-fit: contain; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #ece7db 0%, #d6cfbf 62%, #bdb6a4 100%);
  box-shadow: 0 0 34px rgba(180, 18, 26, 0.5), inset 0 0 22px rgba(0, 0, 0, 0.14);
  filter: none;
}
.welcome-copy .section-title { margin-bottom: 0.4rem; }
.welcome-copy p { color: var(--ink-soft); }
.welcome-copy .dare { margin-top: 1.6rem; }
.dare a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--blood-bright);
  letter-spacing: 0.02em;
}
.dare a:hover { color: var(--ink); text-shadow: 0 0 20px var(--blood-glow); }

/* image frame treatment */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  filter: saturate(0.92) contrast(1.04);
}

/* ---------- Audio / SoundCloud ---------- */
.audio-section { padding-block: clamp(1.5rem, 4vw, 3rem); }
.soundcloud {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.soundcloud iframe { display: block; width: 100%; height: 160px; border: 0; }
.sc-facade {
  display: flex; align-items: center; gap: 1rem; width: 100%;
  padding: 1.1rem 1.4rem; background: var(--panel); border: 0; cursor: pointer;
  color: var(--ink); text-align: left; font-family: var(--font-body);
  transition: background 0.25s var(--ease);
}
.sc-facade:hover { background: var(--panel-2); }
.sc-play {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.95rem; color: #fff; padding-left: 3px;
  background: linear-gradient(180deg, var(--blood), var(--blood-2));
  box-shadow: 0 0 18px var(--blood-glow);
  transition: transform 0.25s var(--ease);
}
.sc-facade:hover .sc-play { transform: scale(1.08); }
.sc-text { display: flex; flex-direction: column; font-weight: 500; letter-spacing: 0.04em; }
.sc-text small {
  color: var(--muted); font-weight: 300; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 0.68rem; margin-top: 0.2rem;
}
.audio-caption {
  text-align: center; color: var(--muted); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 1rem;
}

/* ---------- 2024 feature ---------- */
.feature-2024 {
  background:
    radial-gradient(70% 50% at 80% 0%, rgba(124, 10, 16, 0.16), transparent 60%),
    var(--bg);
}
.feature-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.feature-portrait img {
  width: 100%;
  border-radius: var(--radius);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.8));
  mask-image: radial-gradient(120% 120% at 50% 40%, #000 70%, transparent 100%);
}
.feature-body .atmo {
  font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem);
  font-weight: 300; font-style: italic; color: var(--ink);
  line-height: 1.6; margin-top: 1.5rem;
  border-left: 2px solid var(--blood); padding-left: 1.4rem;
}

/* ---------- Game ---------- */
.game {
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(124, 10, 16, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--line);
}
.game-title-art { max-width: min(640px, 90%); margin-inline: auto; }
.game-desc { max-width: 60ch; margin: 1.8rem auto; color: var(--ink-soft); }
.game-badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--blood-bright); margin-bottom: 0.5rem;
}

/* ---------- Archive ---------- */
.archive { background: var(--bg-2); }
.archive-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.archive-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 1rem; padding: 2rem 1.5rem;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-align: center; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.archive-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(180, 18, 26, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.archive-card:hover {
  transform: translateY(-6px); color: var(--ink);
  border-color: var(--blood); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}
.archive-card:hover::before { opacity: 1; }
.archive-card img { max-height: 180px; width: auto; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6)); }
.archive-label {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.02em;
  position: relative;
}
.archive-tag {
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--blood-bright); font-weight: 500; margin-bottom: -0.55rem; position: relative;
}

.relics {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: center;
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line);
}
.relics img {
  height: clamp(90px, 14vw, 150px); width: auto;
  filter: grayscale(0.2) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6));
  opacity: 0.85; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.relics img:hover { opacity: 1; transform: translateY(-4px) rotate(-2deg); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-block: clamp(8rem, 16vh, 12rem) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(124, 10, 16, 0.22), transparent 65%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.8rem, 1.5rem + 6vw, 6rem);
  text-shadow: 0 0 50px rgba(180, 18, 26, 0.4);
}
.page-hero .eyebrow { margin-bottom: 0.8rem; }

/* prose for interior content */
.prose { max-width: 70ch; margin-inline: auto; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.8rem, 1.4rem + 2vw, 3rem); color: var(--ink); margin-top: 2.5rem; }
.prose img { border-radius: var(--radius); margin-block: 2rem; }

/* gallery */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.gallery img:hover { transform: scale(1.02); border-color: var(--blood); }
.gallery img { cursor: zoom-in; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 10001;
  display: grid; place-items: center; padding: 4vmin;
  background: rgba(4, 4, 6, 0.93);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  max-width: 100%; max-height: 100%;
}
.lightbox img {
  max-width: 100%; max-height: 80vh; width: auto; height: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8); cursor: pointer;
}
.lightbox figcaption {
  color: var(--ink-soft); font-size: 0.95rem; letter-spacing: 0.02em;
  text-align: center; max-width: 60ch; font-family: var(--font-body);
}
.lightbox-close {
  position: fixed; top: 1.2rem; right: 1.4rem; z-index: 10002;
  background: none; border: 0; color: var(--ink); font-size: 2.2rem; cursor: pointer;
  line-height: 1; opacity: 0.75; transition: opacity 0.2s var(--ease);
}
.lightbox-close:hover { opacity: 1; color: var(--blood-bright); }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 10002;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(18, 18, 22, 0.6); border: 1px solid var(--line); color: var(--ink);
  font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-nav:hover { background: var(--blood); border-color: var(--blood-bright); }
.lightbox-counter {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 10002;
  color: var(--muted); font-size: 0.78rem; letter-spacing: 0.22em;
}
@media (max-width: 520px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}

/* video facade (YouTube click-to-load) */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem;
}
.yt-facade {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background-color: #000; background-size: cover; background-position: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.yt-facade::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.1), rgba(8, 8, 10, 0.55));
  transition: background 0.3s var(--ease);
}
.yt-facade:hover { border-color: var(--blood); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.yt-facade:hover::before { background: linear-gradient(180deg, rgba(8, 8, 10, 0), rgba(8, 8, 10, 0.35)); }
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(180deg, var(--blood), var(--blood-2));
  box-shadow: 0 0 30px var(--blood-glow); display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.yt-play::after {
  content: ""; margin-left: 6px;
  border-style: solid; border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.12); }
.yt-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Event page ticket card ---------- */
.ticket-card {
  max-width: 560px; margin: 2.5rem auto 0;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.ticket-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px dashed var(--line);
}
.ticket-row:last-of-type { border-bottom: 0; }
.ticket-row dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; }
.ticket-row dd { color: var(--ink); font-weight: 400; text-align: right; }
.ticket-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--blood-bright); }
.notice {
  text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 1.5rem;
}

/* notify / email capture form */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.notify-form {
  display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
  max-width: 520px; margin: 2rem auto 0;
}
.notify-form input {
  flex: 1 1 260px; min-width: 0; padding: 0.95rem 1.2rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.notify-form input:focus {
  outline: none; border-color: var(--blood);
  box-shadow: 0 0 0 3px rgba(180, 18, 26, 0.2);
}
.notify-form input::placeholder { color: var(--muted); }
.notify-form button { flex: 1 1 100%; justify-content: center; }
.notify-note { color: var(--muted); font-size: 0.82rem; margin-top: 1.25rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer {
  background: #060608;
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.footer-skull { width: 46px; margin: 0 auto 1.2rem; opacity: 0.85; filter: drop-shadow(0 0 10px var(--blood-glow)); }
.footer-contact { font-size: 1.05rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin: 1.8rem 0; }
.footer-nav a {
  color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
}
.footer-nav a:hover { color: var(--blood-bright); }
.footer-credit { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; }
.footer-credit a { color: var(--ink-soft); }
.footer-credit a:hover { color: var(--blood-bright); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .welcome-grid, .feature-grid { grid-template-columns: 1fr; }
  .feature-portrait { max-width: 420px; margin-inline: auto; }
  .logo-2024 { right: 4%; bottom: -8%; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem var(--gutter);
    background: rgba(10, 10, 13, 0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1rem; }
  .nav-cta { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 520px) {
  .hero { align-items: flex-end; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .relics img { height: 84px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  * { transition-duration: 0.001ms !important; }
}
