@font-face {
  font-family: "Ghastly Panic";
  src: url("/assets/fonts/GhastlyPanic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Unquiet Spirits";
  src: url("/assets/fonts/UnquietSpirits.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #060708;
  --bg-elevated: rgba(14, 16, 16, 0.76);
  --bg-card: rgba(22, 24, 24, 0.78);
  --line: rgba(171, 179, 160, 0.18);
  --line-strong: rgba(171, 179, 160, 0.3);
  --text: #ebe5d8;
  --muted: #b3ab9c;
  --accent: #8a9b74;
  --accent-bright: #b6c89b;
  --danger: #9e433a;
  --shadow: rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
  --font-display: "Ghastly Panic", "Georgia", "Times New Roman", serif;
  --font-heading: "Unquiet Spirits", "Georgia", "Times New Roman", serif;
  --font-body: "Times New Roman", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 20% 20%, rgba(115, 126, 93, 0.16), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(148, 156, 118, 0.1), transparent 22%),
    linear-gradient(180deg, #090a0b 0%, #060708 48%, #040505 100%);
  color: var(--text);
  position: relative;
  overflow-x: clip;
}

.page-coven {
  background:
    linear-gradient(180deg, rgba(6, 5, 4, 0.82), rgba(5, 5, 5, 0.9)),
    url("/assets/images/hero/hero-image.png") center top / cover no-repeat fixed,
    radial-gradient(circle at 20% 20%, rgba(115, 126, 93, 0.16), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(148, 156, 118, 0.1), transparent 22%),
    linear-gradient(180deg, #090a0b 0%, #060708 48%, #040505 100%);
  animation: securepagefade 1300ms ease both;
}

.page-gate {
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.8), rgba(6, 6, 6, 0.92)),
    url("/assets/images/hero/cauldron.jpg") center center / cover no-repeat fixed,
    radial-gradient(circle at 50% 25%, rgba(160, 170, 150, 0.12), transparent 24%),
    linear-gradient(180deg, #050505 0%, #060708 100%);
}

.page-notify {
  background:
    linear-gradient(180deg, rgba(6, 5, 4, 0.84), rgba(5, 5, 5, 0.92)),
    url("/assets/images/hero/cauldron.jpg") center center / cover no-repeat fixed,
    radial-gradient(circle at 50% 25%, rgba(160, 170, 150, 0.12), transparent 24%),
    linear-gradient(180deg, #050505 0%, #060708 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(216, 223, 214, 0.04), transparent 14%),
    radial-gradient(circle at 50% 28%, rgba(182, 200, 155, 0.06), transparent 24%),
    radial-gradient(circle at 50% 50%, transparent 0 32%, rgba(182, 200, 155, 0.06) 32.2%, transparent 32.8%),
    radial-gradient(circle at 50% 50%, transparent 0 41%, rgba(182, 200, 155, 0.04) 41.2%, transparent 41.8%);
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-coven::before,
.page-gate::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.72)),
    url("/assets/images/textures/damaged-grunge-texture-background.jpg") center center / cover no-repeat,
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.01) 0,
      rgba(255, 255, 255, 0.01) 1px,
      transparent 1px,
      transparent 6px
    );
  opacity: 0.25;
}

.page-gate::before {
  opacity: 0.12;
}

.page-notify::before {
  opacity: 0.1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 6px
    );
  pointer-events: none;
}

.atmosphere,
.mistband,
.embers {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.atmosphere-a {
  background:
    radial-gradient(circle at 50% 0%, rgba(176, 190, 136, 0.13), transparent 24%),
    radial-gradient(circle at 10% 70%, rgba(76, 88, 71, 0.18), transparent 20%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere-b {
  background:
    radial-gradient(circle at 80% 30%, rgba(83, 98, 76, 0.14), transparent 18%),
    radial-gradient(circle at 40% 90%, rgba(49, 56, 51, 0.18), transparent 24%);
  filter: blur(38px);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}

.mistband {
  opacity: 0.5;
  background:
    linear-gradient(90deg, transparent, rgba(215, 222, 207, 0.04), rgba(215, 222, 207, 0.08), transparent),
    radial-gradient(ellipse at center, rgba(160, 170, 150, 0.12), transparent 70%);
  filter: blur(22px);
}

.mistband-top {
  inset: 8vh 0 auto;
  height: 90px;
  animation: slideband 20s linear infinite, breathe 13s ease-in-out infinite;
}

.mistband-bottom {
  inset: auto 0 14vh;
  height: 120px;
  animation: slideband 27s linear infinite reverse, breathe 16s ease-in-out infinite reverse;
}

.embers {
  z-index: 0;
}

.embers span {
  position: absolute;
  bottom: -2rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(194, 215, 152, 0.95), rgba(178, 200, 143, 0));
  opacity: 0;
  animation: ember-rise 11s linear infinite;
}

.embers span:nth-child(1) { left: 8%; animation-delay: 0s; }
.embers span:nth-child(2) { left: 22%; animation-delay: 3s; }
.embers span:nth-child(3) { left: 41%; animation-delay: 6s; }
.embers span:nth-child(4) { left: 63%; animation-delay: 2s; }
.embers span:nth-child(5) { left: 77%; animation-delay: 8s; }
.embers span:nth-child(6) { left: 90%; animation-delay: 11s; }
.embers span:nth-child(7) { left: 14%; animation-delay: 1.5s; width: 0.22rem; height: 0.22rem; animation-duration: 8.5s; }
.embers span:nth-child(8) { left: 29%; animation-delay: 4.2s; width: 0.28rem; height: 0.28rem; animation-duration: 10.5s; }
.embers span:nth-child(9) { left: 48%; animation-delay: 2.4s; width: 0.18rem; height: 0.18rem; animation-duration: 7.8s; }
.embers span:nth-child(10) { left: 58%; animation-delay: 5.3s; width: 0.42rem; height: 0.42rem; animation-duration: 12.2s; }
.embers span:nth-child(11) { left: 72%; animation-delay: 0.9s; width: 0.24rem; height: 0.24rem; animation-duration: 9.2s; }
.embers span:nth-child(12) { left: 84%; animation-delay: 6.4s; width: 0.3rem; height: 0.3rem; animation-duration: 10.8s; }

.holding-shell,
.gate-shell,
.notify-shell,
.archives-shell,
.archive-detail-shell {
  width: min(100% - 2rem, 900px);
  margin: 0 auto;
  padding: 9rem 0 6rem;
  position: relative;
  z-index: 1;
}

.holding-shell {
  max-width: 760px;
}

.page-gate .gate-shell,
.page-coven #covenPreview,
.page-archives .archives-shell,
.page-archive-detail .archive-detail-shell,
.page-notify .notify-shell,
.page-holding .holding-shell {
  isolation: isolate;
}

.page-gate .gate-shell::before,
.page-coven #covenPreview::before,
.page-archives .archives-shell::before,
.page-archive-detail .archive-detail-shell::before {
  content: "";
  position: absolute;
  inset: 1rem auto auto -6rem;
  width: 20rem;
  height: 36rem;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  filter: blur(14px);
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: -1;
}

.page-gate .gate-shell::after,
.page-coven #covenPreview::after,
.page-archives .archives-shell::after,
.page-archive-detail .archive-detail-shell::after {
  content: "";
  position: absolute;
  inset: 4rem -5rem auto auto;
  width: 22rem;
  height: 38rem;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
  filter: blur(16px);
  transform: rotate(16deg);
  pointer-events: none;
  z-index: -1;
}

.eyebrow,
.section-kicker,
.panel-label,
.archive-year,
.field-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1rem;
  color: var(--accent-bright);
}

h1,
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  line-height: 0.94;
  margin: 0.4rem 0 1.9rem;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  margin: 0.3rem 0 1rem;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.lede,
.content-card p,
.panel-list,
.archive-card span:last-child,
.microcopy {
  font-size: 1.15rem;
  line-height: 1.82;
  color: var(--muted);
}

.holding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1rem;
  justify-content: center;
}

.notify-actions {
  margin: 0 0 1.5rem;
  display: flex;
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--line-strong);
  color: var(--text);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent-bright);
}

.button-primary {
  background: linear-gradient(180deg, rgba(112, 126, 91, 0.34), rgba(73, 83, 60, 0.22));
}

.button-ghost {
  background: rgba(255, 255, 255, 0.02);
}

.site-header {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(6, 7, 8, 0.88), rgba(6, 7, 8, 0.42));
  border: 1px solid rgba(165, 138, 94, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: securecontentfade 1400ms ease both;
}

.brand,
.site-nav a {
  color: var(--text);
  text-decoration: none;
}

.brand {
  font-size: 1.15rem;
  padding: 0.5rem 0.7rem;
  margin-left: -0.7rem;
  transition: color 180ms ease, text-shadow 180ms ease;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(165, 138, 94, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  flex-direction: column;
}

.site-nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav a {
  color: var(--muted);
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  color: #d8c6a6;
  text-shadow: 0 0 14px rgba(216, 198, 166, 0.18);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #e2d4ba;
  border-color: rgba(165, 138, 94, 0.24);
  background: rgba(255, 248, 236, 0.04);
  transform: translateY(-1px);
}

.ritual-section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.details-subtitle {
  text-align: center;
}

.coven-stage {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 4rem 0 1rem;
  min-height: auto;
  animation: securecontentfade 1600ms ease both;
}

.hero-subline {
  max-width: 34rem;
  color: #d2c1a2;
  font-size: 1.12rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.hero-panel,
.content-card,
.auth-card,
.archive-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px var(--shadow);
}

.hero-panel,
.content-card,
.auth-card {
  padding: 1.5rem;
}

.panel-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.hero-visual {
  position: relative;
  min-height: 38rem;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(165, 138, 94, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.hero-title-overlay {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  right: clamp(1.25rem, 4vw, 3rem);
  top: clamp(1.25rem, 3vw, 2.2rem);
  display: grid;
  gap: 0.95rem;
  justify-items: start;
  text-align: left;
  z-index: 1;
}

.hero-title-overlay .eyebrow {
  color: #d0b183;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  letter-spacing: 0.12em;
  text-transform: none;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.48);
}

.hero-title-overlay h1 {
  margin: 0;
  max-width: 12ch;
  padding-bottom: 1.4rem;
  text-shadow:
    0 10px 28px rgba(0, 0, 0, 0.72),
    0 0 18px rgba(0, 0, 0, 0.32);
}

.hero-summon-block {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  width: min(100% - 2.5rem, 32rem);
  padding: 0.95rem 1.15rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.24), rgba(7, 7, 7, 0.52));
  border: 1px solid rgba(176, 150, 105, 0.16);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.hero-summon-block p {
  margin: 0;
  color: #e1d2b6;
  font-size: 1.08rem;
  line-height: 1.65;
  letter-spacing: 0.06em;
}

.hero-summon-block a,
.hero-summon-block a:visited,
.hero-summon-block a:hover,
.hero-summon-block a:active,
.hero-summon-block a:focus-visible {
  color: inherit;
  text-decoration: none;
}

.hero-summon-block span {
  color: #d9e6c0;
  text-shadow:
    0 0 8px rgba(182, 211, 143, 0.42),
    0 0 18px rgba(182, 211, 143, 0.24),
    0 0 34px rgba(182, 211, 143, 0.16);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 4px),
    url("/assets/images/textures/damaged-grunge-texture-background.jpg") center center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.02;
  pointer-events: none;
}

.hero-visual.hero-visual-lower {
  background-position: center 28%;
}

.hero-visual.hero-visual-witchhorns {
  background-position: center 38%;
}

.hero-visual.hero-visual-witchdance {
  background-position: center 40%;
}

.hero-visual.hero-visual-skull {
  background-position: center 42%;
}

.hero-visual.hero-visual-noisy::before {
  opacity: 0.14;
}

.hero-visual.hero-visual-clean::before {
  opacity: 0.005;
}

.moon-disc {
  position: absolute;
  top: 2.5rem;
  right: 7%;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(227, 233, 223, 0.88), rgba(184, 194, 176, 0.58) 38%, rgba(130, 140, 122, 0.12) 68%, rgba(130, 140, 122, 0) 70%);
  box-shadow:
    0 0 80px rgba(215, 223, 203, 0.09),
    0 0 160px rgba(140, 155, 128, 0.07),
    0 0 240px rgba(190, 205, 179, 0.05);
  animation: moonpulse 14s ease-in-out infinite;
}

.sigil-mark {
  position: absolute;
  right: 4%;
  bottom: 2.5rem;
  width: 14rem;
  height: 14rem;
  background: url("/assets/images/sigils/sigiltransparent.png") center center / contain no-repeat;
  filter: invert(1) sepia(0.1) saturate(0.3) brightness(1.4) opacity(0.18);
  animation: sigilbreath 18s ease-in-out infinite;
}

.sigil-mark span {
  display: none;
}

.section-heading {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.invitation-section {
  padding: 0 0 3rem;
}

.teaser-section {
  padding: 0 0 3.5rem;
}

.faq-section {
  padding: 0 0 4rem;
}

.archives-section {
  padding: 1rem 0 6rem;
}

.event-card {
  display: grid;
  max-width: 62rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  padding: 3.25rem 3rem 3rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 15, 12, 0.92), rgba(12, 11, 10, 0.9)),
    radial-gradient(circle at top left, rgba(165, 136, 92, 0.12), transparent 26%);
  box-shadow: 0 30px 80px var(--shadow);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(181, 154, 103, 0.06),
    0 0 54px rgba(131, 158, 105, 0.16),
    0 0 110px rgba(131, 158, 105, 0.08);
  animation: invitationglow 4s ease-in-out infinite;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 200, 155, 0.08);
  opacity: 0.55;
  pointer-events: none;
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 26%, transparent 74%, rgba(182, 200, 155, 0.04));
  pointer-events: none;
}

.event-card::before,
.event-card::after {
  z-index: -1;
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.meta-label {
  display: block;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1rem;
  color: var(--accent-bright);
}

.event-meta strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1.6;
}

.event-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.82;
  text-align: center;
}

.event-rsvp {
  width: 100%;
  position: relative;
  margin-top: 0.7rem;
  box-shadow:
    0 0 0 1px rgba(182, 200, 155, 0.12),
    0 0 28px rgba(140, 170, 109, 0.26),
    0 0 56px rgba(140, 170, 109, 0.14);
  animation: rsvppulse 2s ease-in-out infinite;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 60rem;
  margin: 0 auto;
}

.teaser-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: 0 30px 80px var(--shadow);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.teaser-card:hover,
.teaser-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(182, 200, 155, 0.34);
  box-shadow:
    0 34px 88px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(182, 200, 155, 0.08),
    0 0 42px rgba(131, 158, 105, 0.18),
    0 0 84px rgba(131, 158, 105, 0.1);
}

.teaser-image {
  min-height: 14rem;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.teaser-copy {
  padding: 1.3rem;
}

.teaser-copy p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 60rem;
  margin: 0 auto;
}

.faq-item,
.hosts-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px var(--shadow);
}

.faq-item {
  padding: 1.35rem 1.4rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  transform: translateY(-3px);
  border-color: rgba(182, 200, 155, 0.32);
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(182, 200, 155, 0.08),
    0 0 34px rgba(131, 158, 105, 0.16),
    0 0 68px rgba(131, 158, 105, 0.08);
}

.faq-item h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: 0.01em;
}

.faq-item p,
.hosts-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.86;
}

.archive-page-year {
  margin: -0.15rem 0 1.3rem;
  color: #d0b183;
  font-size: 1.06rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.faq-item p + p,
.hosts-card p + p {
  margin-top: 1rem;
}

.hosts-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.hosts-photo-frame {
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.72);
  box-shadow: 0 30px 80px var(--shadow);
  overflow: hidden;
}

.hosts-photo {
  display: block;
  width: 100%;
  height: auto;
}

.hosts-card {
  padding: 1.5rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 60rem;
  margin: 0 auto;
}

.archive-card {
  display: grid;
  gap: 0.6rem;
  padding: 1.35rem;
  color: var(--text);
  text-decoration: none;
}

.archive-card strong {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

.ritual-list,
.archive-detail-grid {
  display: grid;
  gap: 1rem;
}

.ritual-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
  color: var(--text);
}

.ritual-item p {
  margin: 0;
}

.experience-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.archive-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2rem 0;
}

.archive-back {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.75rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.media-card {
  display: block;
  border: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.65);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, border-color 180ms ease;
}

.media-card:hover,
.media-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(182, 200, 155, 0.28);
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.media-video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #050505;
}

.archive-empty-state {
  max-width: 42rem;
}

.auth-card {
  display: grid;
  gap: 0.85rem;
  max-width: 520px;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -35% auto auto 70%;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(194, 205, 175, 0.08), rgba(194, 205, 175, 0));
  pointer-events: none;
}

.page-gate .gate-shell {
  max-width: 720px;
  text-align: center;
}

.page-gate .gate-shell h1 {
  font-size: clamp(4.2rem, 11vw, 8.8rem);
  margin-top: 0;
  margin-bottom: 6.50rem;
}

.page-gate .gate-shell .eyebrow {
  margin-bottom: 2rem;
}

.page-gate .gate-shell .lede {
  max-width: 36rem;
  margin: 0 auto 2.9rem;
}

.page-gate .auth-card {
  margin: 0 auto;
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(14, 13, 12, 0.92), rgba(8, 8, 8, 0.88)),
    radial-gradient(circle at top center, rgba(165, 136, 92, 0.08), transparent 28%);
  border-color: rgba(165, 138, 94, 0.2);
}

.page-gate h1 {
  text-shadow: 0 0 28px rgba(208, 215, 202, 0.07);
}

.page-notify .notify-shell {
  max-width: 720px;
  text-align: center;
}

.page-notify .notify-shell::before {
  content: "";
  position: absolute;
  inset: 1rem auto auto -6rem;
  width: 20rem;
  height: 36rem;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  filter: blur(14px);
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: -1;
}

.page-notify .notify-shell::after {
  content: "";
  position: absolute;
  inset: 4rem -5rem auto auto;
  width: 22rem;
  height: 38rem;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
  filter: blur(16px);
  transform: rotate(16deg);
  pointer-events: none;
  z-index: -1;
}

.page-notify .notify-shell .lede {
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.page-notify .auth-card {
  margin: 0 auto;
  padding: 1.8rem;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(14, 13, 12, 0.92), rgba(8, 8, 8, 0.88)),
    radial-gradient(circle at top center, rgba(165, 136, 92, 0.08), transparent 28%);
  border-color: rgba(165, 138, 94, 0.2);
}

.page-archives .archives-shell,
.page-archive-detail .archive-detail-shell {
  max-width: 1080px;
}

.page-archive-detail .archive-detail-shell .lede,
.page-archives .archives-shell .lede {
  max-width: 42rem;
}

.gate-intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: #020202;
}

.intro-frame {
  position: relative;
  width: min(100vw, 100%);
  height: 100vh;
  overflow: hidden;
}

.intro-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.48);
  transform: scale(1.04);
  transition: opacity 240ms ease, transform 420ms ease;
}

.intro-noise,
.intro-sigil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-noise {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px),
    url("/assets/images/textures/damaged-grunge-texture-background.jpg") center center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.14;
}

.intro-sigil {
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 0 22%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.78) 100%),
    url("/assets/images/sigils/sigiltransparent.png") center center / min(48vw, 420px) no-repeat;
  filter: invert(1) sepia(0.05) saturate(0.1) brightness(1.4);
  opacity: 0.12;
  transition: opacity 320ms ease;
}

.intro-caption {
  position: absolute;
  left: 50%;
  bottom: 3.5rem;
  transform: translateX(-50%);
  margin: 0;
  color: #cbb89a;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 220ms ease, letter-spacing 220ms ease, transform 220ms ease;
}

.intro-progress {
  position: absolute;
  left: 50%;
  bottom: 2.3rem;
  width: min(76vw, 420px);
  height: 1px;
  transform: translateX(-50%);
  background: rgba(203, 184, 154, 0.18);
}

.intro-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #cbb89a;
  box-shadow: 0 0 12px rgba(203, 184, 154, 0.45);
  transition: width 120ms linear;
}

.gate-intro.frame-flash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.gate-intro.frame-sigil .intro-sigil {
  opacity: 0.42;
}

.gate-intro.frame-title .intro-caption {
  opacity: 1;
  letter-spacing: 0.24em;
  transform: translateX(-50%) translateY(-4px);
}

.gate-intro.frame-title .intro-frame img {
  transform: scale(1.01);
}

.gate-intro.is-complete {
  animation: introfadeout 700ms ease forwards;
}

.gate-intro.is-fading-black {
  background: #000;
}

.gate-intro.is-fading-black::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  animation: blackout 900ms ease forwards;
  pointer-events: none;
}

.gate-intro.is-fading-black .intro-frame img,
.gate-intro.is-fading-black .intro-noise,
.gate-intro.is-fading-black .intro-progress {
  animation: fadeaway 700ms ease forwards;
}

.gate-intro.is-fading-black .intro-sigil {
  opacity: 0.56;
  animation: sigilblackout 900ms ease forwards;
}

.gate-intro.is-fading-black .intro-caption {
  animation: captionfade 700ms ease forwards;
}

input {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

textarea {
  width: 100%;
  min-height: 8rem;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 0.85rem 0.9rem;
  font: inherit;
  resize: vertical;
}

input:focus-visible {
  outline: 1px solid var(--accent-bright);
  outline-offset: 1px;
}

textarea:focus-visible {
  outline: 1px solid var(--accent-bright);
  outline-offset: 1px;
}

.form-message {
  margin: 0;
  font-size: 1rem;
}

.form-error {
  color: #d9a39b;
}

.form-success {
  color: #b8d4a4;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 5.25rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  width: 2.8rem;
  min-height: 2.3rem;
  padding: 0;
  border: 1px solid rgba(182, 200, 155, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--text);
  border-color: rgba(182, 200, 155, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.password-toggle-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1.2rem;
  height: 1.2rem;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
}

.password-toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.password-toggle-icon-hide {
  opacity: 0;
}

.password-toggle.is-visible .password-toggle-icon-show {
  opacity: 0;
}

.password-toggle.is-visible .password-toggle-icon-hide {
  opacity: 1;
}

.gate-secondary-action {
  margin-top: 1rem;
  text-align: center;
}

.gate-secondary-action p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.gate-secondary-link,
.gate-secondary-link:visited {
  color: #d9e6c0;
  text-decoration: none;
  text-shadow:
    0 0 10px rgba(182, 211, 143, 0.16),
    0 0 22px rgba(182, 211, 143, 0.08);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.gate-secondary-link:hover,
.gate-secondary-link:focus-visible {
  color: #edf6de;
  text-shadow:
    0 0 14px rgba(182, 211, 143, 0.28),
    0 0 28px rgba(182, 211, 143, 0.16),
    0 0 44px rgba(182, 211, 143, 0.08);
}

.request-access-shell {
  max-width: 720px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1rem;
}

.request-access-heading {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.request-access-heading h2 {
  margin-bottom: 0.6rem;
}

.request-access-card {
  margin: 0 auto;
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(12, 12, 11, 0.9), rgba(8, 8, 8, 0.84)),
    radial-gradient(circle at top center, rgba(165, 136, 92, 0.06), transparent 30%);
  border-color: rgba(165, 138, 94, 0.18);
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  gap: 1rem;
  align-items: end;
}

.captcha-problem {
  margin: 0.2rem 0 0;
  color: #d7cab1;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.request-page-shell {
  max-width: 720px;
}

@keyframes drift {
  from { transform: translate3d(-1%, -1%, 0) scale(1); }
  to { transform: translate3d(1%, 1%, 0) scale(1.03); }
}

@keyframes slideband {
  from { transform: translateX(-12%); }
  to { transform: translateX(12%); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.32; transform: scale(1); }
  50% { opacity: 0.56; transform: scale(1.03); }
}

@keyframes moonpulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes sigilbreath {
  0%, 100% { transform: scale(1) rotate(0.5deg); opacity: 0.7; }
  50% { transform: scale(1.025) rotate(-0.5deg); opacity: 0.95; }
}

@keyframes introfadeout {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

@keyframes blackout {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeaway {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes sigilblackout {
  0% {
    opacity: 0.56;
    transform: scale(1) rotate(0deg);
  }
  55% {
    opacity: 0.3;
    transform: scale(1.025) rotate(-0.5deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.06) rotate(0deg);
  }
}

@keyframes captionfade {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
    letter-spacing: 0.24em;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
    letter-spacing: 0.32em;
  }
}

@keyframes securepagefade {
  0% {
    opacity: 0;
    filter: brightness(0.45);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

@keyframes securecontentfade {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes invitationglow {
  0%, 100% {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.46),
      0 0 0 1px rgba(181, 154, 103, 0.06),
      0 0 42px rgba(131, 158, 105, 0.14),
      0 0 84px rgba(131, 158, 105, 0.06);
  }
  50% {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.52),
      0 0 0 1px rgba(181, 154, 103, 0.1),
      0 0 72px rgba(131, 158, 105, 0.24),
      0 0 132px rgba(131, 158, 105, 0.14);
  }
}

@keyframes rsvppulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 0 0 1px rgba(182, 200, 155, 0.12),
      0 0 22px rgba(140, 170, 109, 0.2),
      0 0 44px rgba(140, 170, 109, 0.1);
  }
  50% {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
      0 0 0 1px rgba(182, 200, 155, 0.18),
      0 0 40px rgba(140, 170, 109, 0.34),
      0 0 76px rgba(140, 170, 109, 0.2);
  }
}

@keyframes ember-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.55);
    opacity: 0;
  }
  8% {
    opacity: 0.45;
  }
  18% {
    transform: translate3d(6px, -16vh, 0) scale(0.9);
    opacity: 0.75;
  }
  37% {
    transform: translate3d(-8px, -38vh, 0) scale(1.05);
    opacity: 0.6;
  }
  58% {
    transform: translate3d(12px, -62vh, 0) scale(1.12);
    opacity: 0.72;
  }
  79% {
    transform: translate3d(-7px, -86vh, 0) scale(0.96);
    opacity: 0.4;
  }
  100% {
    transform: translate3d(9px, -112vh, 0) scale(1.18);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere-a,
  .atmosphere-b,
  .mistband,
  .embers span,
  .moon-disc,
  .sigil-mark {
    animation: none;
  }
}

@media (max-width: 900px) {
  .archive-grid,
  .teaser-grid,
  .media-grid,
  .hosts-layout,
  .event-meta,
  .archive-detail-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .coven-stage {
    padding-top: 4rem;
    min-height: auto;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .moon-disc {
    width: 13rem;
    height: 13rem;
    right: 18%;
  }

  .hero-copy {
    margin: -4rem 1rem 0;
    max-width: none;
  }

  .sigil-mark {
    width: 12rem;
    height: 12rem;
    right: 20%;
  }

  .page-gate .gate-shell::before,
  .page-gate .gate-shell::after,
  .page-coven #covenPreview::before,
  .page-coven #covenPreview::after,
  .page-archives .archives-shell::before,
  .page-archives .archives-shell::after,
  .page-archive-detail .archive-detail-shell::before,
  .page-archive-detail .archive-detail-shell::after,
  .page-notify .notify-shell::before,
  .page-notify .notify-shell::after {
    display: none;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .holding-shell,
  .gate-shell,
  .notify-shell,
  .archives-shell,
  .archive-detail-shell {
    padding-top: 6rem;
  }

  .site-header {
    width: auto;
    max-width: calc(100vw - 1rem);
    margin-inline: 0.5rem;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;
  }

  .brand {
    margin-left: 0;
    min-width: 0;
    max-width: calc(100% - 4rem);
    padding-left: 0;
    padding-right: 0.35rem;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .site-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.35rem;
  }

  .site-nav a {
    width: 100%;
    max-width: 100%;
    padding: 0.8rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(165, 138, 94, 0.14);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-header.nav-open .site-nav-toggle span:nth-child(1) {
    transform: translateY(0.38rem) rotate(45deg);
  }

  .site-header.nav-open .site-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .site-nav-toggle span:nth-child(3) {
    transform: translateY(-0.38rem) rotate(-45deg);
  }

  .sigil-mark {
    display: none;
  }

  .hero-title-overlay {
    left: 1rem;
    right: 1rem;
    max-width: calc(100% - 2rem);
    overflow: hidden;
  }

  .hero-title-overlay h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 14vw, 4.6rem);
    overflow-wrap: anywhere;
  }

  .hero-summon-block {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
  }

  .intro-caption {
    width: calc(100% - 2rem);
    text-align: center;
  }

  .intro-progress {
    width: calc(100% - 2rem);
  }

  h1 {
    line-height: 1;
  }

  .holding-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
