@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,600;1,500&family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root {
  --bg: #0e0c0a;
  --bg-surface: #161210;
  --bg-card: #1e1915;
  --primary: #8b1a1a;
  --primary-light: #b02020;
  --accent: #c9a227;
  --accent-light: #ddb93a;
  --text: #e8dcc8;
  --text-muted: #9a8878;
  --text-faint: #6b5d4f;
  --border: #352a20;
  --border-light: #2a211a;
  --nav-height: 70px;
  --font-ritual: 'Cormorant Garamond', Georgia, serif;
  --font-utility: ui-monospace, 'Cascadia Code', 'SF Mono', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

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

/* ── NAVIGATION ──────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(8, 6, 4, 0.97);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img { height: 46px; width: auto; }
.nav-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.nav-logo-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.4rem 0.85rem;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(201, 162, 39, 0.07);
}
.nav-discord a {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 3px;
}
.nav-discord a:hover {
  background: var(--primary-light) !important;
  color: #fff !important;
}
.nav-facebook a {
  background: #3b82c4 !important;
  color: #fff !important;
  border-radius: 3px;
}
.nav-facebook a:hover {
  background: #5a9bd8 !important;
  color: #fff !important;
}

/* ── HERO (home page) ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('images/FrontPage01.jpg') center 35% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.6) 55%,
    var(--bg) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 820px;
}
.hero-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.9));
}
.hero h1 {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.8);
  margin-bottom: 0.4rem;
  line-height: 1.05;
}
.hero-title-main {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}
.hero-title-sub {
  display: block;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-top: -0.35em;
}
.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary-light);
}
.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--accent-light);
  transform: translateY(-1px);
}

/* ── PAGE HEADER (inner pages) ────────────────────────── */
.page-header {
  position: relative;
  padding: calc(var(--nav-height) + 3.5rem) 2rem 3.5rem;
  background: var(--bg-surface);
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(139,26,26,0.1) 0%, transparent 100%);
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
}
.page-header p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}
.header-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1rem auto 0;
  border: none;
}
.header-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

/* ── LAYOUT ───────────────────────────────────────────── */
.section { padding: 4.5rem 2rem; }
.section-alt { background: var(--bg-surface); }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 820px; margin: 0 auto; }

.section-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.section-rule {
  width: 48px;
  height: 2px;
  background: var(--primary);
  margin: 0.6rem 0 2.5rem;
  border: none;
}

/* ── HOME: ABOUT GRID ────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.about-text p { color: var(--text); margin-bottom: 1.1rem; }
.about-text p:last-of-type { margin-bottom: 1.5rem; }
.about-text strong { color: var(--text); }

/* ── HOME: PHOTO GALLERY ─────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.photo-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.photo-grid img:hover {
  transform: scale(1.025);
  border-color: rgba(201,162,39,0.4);
}
.gallery-intro {
  max-width: 680px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ── CAPTIONED GALLERY (Getting Started) ─────────────── */
.captioned-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.gallery-figure { margin: 0; }
.gallery-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.gallery-figure img:hover {
  transform: scale(1.025);
  border-color: rgba(201,162,39,0.4);
}
.gallery-figure figcaption {
  margin-top: 0.6rem;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-align: center;
}

/* ── GETTING STARTED: WALKTHROUGH ────────────────────── */
.walkthrough-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}
.walkthrough-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.walkthrough-step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.walkthrough-step-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.walkthrough-step-body p { color: var(--text); }

/* ── HOME: QUICK LINKS ───────────────────────────────── */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ql-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}
.ql-card:hover {
  border-color: rgba(201,162,39,0.35);
  transform: translateY(-4px);
}
.ql-icon {
  font-size: 2.2rem;
  margin-bottom: 0.9rem;
  display: block;
}
.ql-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.ql-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── RULES PAGE ──────────────────────────────────────── */
.rules-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 3px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}
.rules-toc-title {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.rules-toc ol {
  padding-left: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  row-gap: 0.3rem;
  color: var(--text-muted);
}
.rules-toc li { font-size: 0.88rem; }
.rules-toc a { color: var(--text-muted); }
.rules-toc a:hover { color: var(--accent); }

.rule-zero-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 3px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.rule-zero-block h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.rule-zero-block p { margin-bottom: 0.9rem; font-size: 0.95rem; }
.rule-zero-block p:last-child { margin-bottom: 0; }

.rules-intro-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  font-size: 0.95rem;
}
.rules-intro-box p { margin-bottom: 0.9rem; }
.rules-intro-box p:last-child { margin-bottom: 0; }

.rule-section { margin-bottom: 3.5rem; }
.rule-section-header {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.rule-sub-header {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  margin: 1.75rem 0 0.75rem;
}

.rule-entry {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.93rem;
}
.rule-entry + .rule-children { margin-top: -0.3rem; }
.rule-num {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 0.25rem;
  min-width: 3.5rem;
}
.rule-text { color: var(--text); line-height: 1.7; }
.rule-text em { color: var(--text-muted); font-style: italic; }

.rule-children {
  padding-left: 2rem;
  border-left: 1px solid var(--border-light);
  margin: 0.4rem 0 0.4rem 3.5rem;
}
.rule-children .rule-entry { margin-bottom: 0.45rem; }
.rule-children .rule-num { color: var(--text-muted); min-width: 4rem; font-size: 0.68rem; }

.rule-grandchildren {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(53,42,32,0.5);
  margin: 0.3rem 0 0.3rem 4rem;
}
.rule-grandchildren .rule-num { color: rgba(154,136,120,0.6); min-width: 4.5rem; font-size: 0.65rem; }
.rule-grandchildren .rule-entry { margin-bottom: 0.35rem; }

.clarification {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.2rem;
}

/* ── RULES & FAQ PAGES ────────────────────────────────── */
.rules-page,
.faqs-page {
  background: url('images/HeroPicture01.jpg') center / cover fixed;
}
.rules-page .page-header,
.faqs-page .page-header {
  background: rgba(14, 12, 10, 0.88);
  border-bottom: none;
}
.rules-page .page-header::before,
.faqs-page .page-header::before { display: none; }
.rules-page .section,
.faqs-page .section { background: rgba(14, 12, 10, 0.80); }

/* ── GETTING STARTED PAGE ─────────────────────────────── */
.getting-started-page {
  background: url('images/Battle Lines picture by Aurora.jpg') center / cover fixed;
}
.getting-started-page .page-header {
  background: rgba(14, 12, 10, 0.88);
  border-bottom: none;
}
.getting-started-page .page-header::before { display: none; }
.getting-started-page .section { background: rgba(14, 12, 10, 0.80); }

/* ── CALENDAR PAGE ────────────────────────────────────── */
.calendar-page {
  background: url('images/HeroPicture02.jpg') center / cover fixed;
}
.calendar-page .page-header {
  background: rgba(14, 12, 10, 0.88);
  border-bottom: none;
}
.calendar-page .page-header::before { display: none; }
.calendar-page .section { background: rgba(14, 12, 10, 0.80); }


.calendar-year {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin: 2.5rem 0 1rem;
}
.calendar-year:first-of-type { margin-top: 0; }

.events-list { display: flex; flex-direction: column; gap: 0.75rem; }
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.event-card:hover {
  border-color: rgba(201,162,39,0.25);
  background: #211c17;
}
.event-card.event-special {
  border-left: 3px solid var(--accent);
}
.event-date {
  text-align: center;
  flex-shrink: 0;
}
.event-month {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  display: block;
}
.event-day {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.event-year {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.1rem;
}
.event-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}
.event-card.event-special .event-title { color: var(--accent); }
.event-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.event-note {
  font-size: 0.8rem;
  color: var(--primary-light);
  margin-top: 0.2rem;
  font-style: italic;
}
.event-alert {
  font-size: 0.85rem;
  color: #ff0000;
  font-weight: 700;
  margin-top: 0.2rem;
}

/* ── FAQ PAGE ─────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
.faq-q-text {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.5;
  transition: color 0.2s;
}
.faq-q:hover .faq-q-text { color: var(--accent); }
.faq-toggle {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }
.faq-a p { margin-bottom: 0.75rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul, .faq-a ol { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.faq-a li { margin-bottom: 0.3rem; }
.faq-a a { color: var(--accent); }
.faq-a a:hover { color: var(--accent-light); }

/* ── RITUAL TYPOGRAPHY (Rule Zero, Poem of Healing) ──── */
.ritual-text {
  font-family: var(--font-ritual);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 58ch;
}
.ritual-text::after { content: ''; display: block; clear: both; }
.dropcap {
  font-family: var(--font-ritual);
  font-style: normal;
  font-weight: 600;
  font-size: 3.4em;
  line-height: 0.78;
  float: left;
  padding: 0.03em 0.1em 0 0;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(201,162,39,0.35);
  animation: ritual-glow 5s ease-in-out infinite;
}
@keyframes ritual-glow {
  0%, 100% { text-shadow: 0 0 18px rgba(201,162,39,0.35); }
  50% { text-shadow: 0 0 26px rgba(201,162,39,0.55); }
}

.priority-order {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  font-family: var(--font-utility);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.priority-order .step-name { color: var(--accent); }
.priority-order .arrow { margin: 0 0.6em; color: var(--text-faint); }

.fleuron-divider {
  border: none;
  text-align: center;
  margin: 2rem 0;
  color: var(--text-faint);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
}
.fleuron-divider::before { content: '❦'; }

p.utility-annotation {
  margin-top: 1rem;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}
.utility-annotation .sep { margin: 0 0.6em; color: var(--border); }

/* ── WEAPON SPEC DIAGRAM ──────────────────────────────── */
.diagram-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 3px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
.diagram-img { width: 100%; max-width: 640px; height: auto; margin: 0 auto; }

@media (max-width: 640px) {
  .ritual-text { font-size: 1.2rem; }
  .priority-order { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .priority-order .arrow { display: none; }
  .diagram-card { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dropcap { animation: none !important; }
}

/* ── LIGHTBOX ─────────────────────────────────────────── */
.lightbox-img { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 4, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: zoom-out;
  opacity: 0;
  animation: lightbox-fade-in 0.2s ease-out forwards;
}
@keyframes lightbox-fade-in { to { opacity: 1; } }

.lightbox-overlay img {
  width: 92vw;
  height: 92vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.6);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: rgba(8,6,4,0.8);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.lightbox-close:hover { color: var(--accent); border-color: var(--accent); }
.lightbox-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay { animation: none; opacity: 1; }
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: #080604;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  text-align: center;
}
.footer-logo {
  width: 64px;
  height: auto;
  margin: 0 auto 1.1rem;
  opacity: 0.65;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ── UTILITIES ────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img { height: 300px; }
  .quick-links { grid-template-columns: 1fr; }
  .rules-toc ol { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav { padding: 0 1rem; }
  .nav-logo-text { display: none; }
  .nav-links a { padding: 0.35rem 0.55rem; font-size: 0.7rem; letter-spacing: 0.04em; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid img { height: 180px; }
  .captioned-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-figure img { height: 180px; }
  .event-card { grid-template-columns: 60px 1fr; gap: 1rem; padding: 1rem 1.25rem; }
  .event-day { font-size: 1.5rem; }
  .rule-children { padding-left: 1rem; margin-left: 2.5rem; }
  .rule-grandchildren { padding-left: 0.75rem; margin-left: 3rem; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 1.25rem; }
  .page-header { padding: calc(var(--nav-height) + 2.5rem) 1.25rem 2.5rem; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid img { height: 220px; }
  .captioned-gallery { grid-template-columns: 1fr; }
  .gallery-figure img { height: 220px; }
  .btn-group { flex-direction: column; align-items: center; }
  .rule-entry { flex-direction: column; gap: 0.2rem; }
  .rule-num { min-width: auto; }
  .walkthrough-step { gap: 0.85rem; }
  .walkthrough-step-num { width: 2.1rem; height: 2.1rem; font-size: 0.9rem; }
}
