/* =========================================================
   St Mary's Jacobite Syrian Orthodox Church, Sydney
   Design system — traditional church theme, modern build
   ========================================================= */

:root {
  --maroon-900: #3d0f19;
  --maroon-800: #4a1420;
  --maroon-700: #6d1f2b;
  --maroon-600: #822536;
  --maroon-500: #9c3245;
  --gold-600: #a9812c;
  --gold-500: #c9a227;
  --gold-400: #d4af6a;
  --gold-200: #ead9ad;
  --gold-100: #f3e6c8;
  --cream-100: #f8f2e6;
  --cream-50: #fbf7ee;
  --paper: #fffdf8;
  --ink-900: #2a211d;
  --ink-700: #45372f;
  --ink-500: #6b5c50;
  --line: #e7dcc6;
  --shadow: 0 12px 32px rgba(61, 15, 25, 0.12);
  --shadow-sm: 0 4px 14px rgba(61, 15, 25, 0.08);
  --radius-block: 10px;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background-color: var(--cream-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.53 0 0 0 0 0.38 0 0 0 0 0.17 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--maroon-800);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-600);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.eyebrow .rule { width: 28px; height: 2px; background: var(--gold-500); display: inline-block; }

/* ---------- Cross / ornament ---------- */
.ornament-cross {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.divider-cross {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 28px;
  color: var(--gold-500);
}
.divider-cross::before, .divider-cross::after {
  content: "";
  height: 1px;
  width: 64px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}
.divider-cross::after { background: linear-gradient(90deg, var(--gold-400), transparent); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--maroon-900);
  color: var(--gold-200);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--gold-200); }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
/* The nav needs more breathing room than the 1180px content container,
   so give the header's own container a wider ceiling. */
header.site-header .container { max-width: 1360px; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
}
.brand-text .name {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--maroon-800);
  font-size: 1.15rem;
  line-height: 1.15;
}
.brand-text .sub {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.main-nav > ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 0;
  flex-wrap: nowrap;
}
.main-nav > ul > li { position: relative; flex-shrink: 0; }
.main-nav > ul > li > a, .main-nav .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 10px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-700);
  border-radius: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--sans);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.open > a,
.main-nav > ul > li:hover > .nav-btn { color: var(--maroon-700); background: var(--gold-100); }
.main-nav > ul > li.current > a { color: var(--maroon-700); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow);
  border-radius: 4px;
  padding: 8px;
  display: none;
  z-index: 50;
}
.main-nav > ul > li:hover .dropdown,
.main-nav > ul > li.open .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 5px;
  font-size: 0.92rem;
  color: var(--ink-700);
}
.dropdown a:hover { background: var(--gold-100); color: var(--maroon-700); }

.nav-cta {
  background: var(--maroon-700) !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 30px;
  font-size: 0.86rem !important;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--maroon-800) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 26px; height: 2px; background: var(--maroon-800); display: block; }

@media (max-width: 1340px) {
  .hamburger { display: flex; }
  nav.main-nav {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(340px, 86vw);
    background: var(--paper);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 16px 24px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  nav.main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a, .main-nav .nav-btn { width: 100%; justify-content: space-between; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold-300, var(--gold-400));
    margin-left: 12px;
    display: none;
    padding: 0 0 0 8px;
  }
  .main-nav > ul > li.open .dropdown { display: block; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .nav-scrim {
    display: none;
    position: fixed; inset: 0;
    background: rgba(42, 33, 29, 0.45);
    z-index: 90;
  }
  .nav-scrim.open { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}
/* The altar photo is already tightly cropped around the cross and icon,
   so keep it centred rather than shifted up like the wider congregation shot. */
.hero.hero-altar { background-position: center 38%; }
/* Animated photo layer: a slow "Ken Burns" zoom. Sits on top of the static
   .hero background-image (kept as a plain-CSS fallback for browsers without
   custom-property support). Note: background-attachment:fixed is deliberately
   NOT used here — a transform on the element (the zoom animation) forces any
   fixed background on that same element back to scroll behaviour, so it
   would silently do nothing. The scroll-parallax touch lives on .page-hero
   instead, where nothing else is transformed. */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
}
.hero.hero-altar::after { background-position: center 38%; }
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(61,15,25,0.78) 0%, rgba(61,15,25,0.72) 45%, rgba(61,15,25,0.92) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-200);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero p.lead { max-width: 620px; font-size: 1.15rem; color: var(--gold-100); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Staggered fade-up for the hero content on load */
.hero-eyebrow, .hero h1, .hero p.lead, .hero-actions {
  animation: heroFadeUp 0.9s ease both;
}
.hero-eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.22s; }
.hero p.lead { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.58s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold-500); color: var(--maroon-900); }
.btn-gold:hover { background: var(--gold-400); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-maroon { background: var(--maroon-700); color: #fff; }
.btn-maroon:hover { background: var(--maroon-800); }

/* small page header (non-home pages) */
.page-hero {
  position: relative;
  color: #fff;
  padding: 86px 0 54px;
  /* Soft gold glow on a fixed background-attachment drifts subtly against
     the scrolling gradient beneath it — a light parallax touch that costs
     no JS and degrades gracefully where fixed attachment isn't supported. */
  background-image:
    radial-gradient(ellipse 60% 90% at 78% 10%, rgba(212,175,106,0.3), transparent 65%),
    linear-gradient(160deg, var(--maroon-900), var(--maroon-700));
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-attachment: fixed, scroll;
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 34px;
  background: var(--cream-50);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 60%, 0 0);
}
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero .crumb { color: var(--gold-200); font-size: 0.9rem; }
.page-hero .crumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-alt { background: var(--paper); position: relative; }

/* Ornamental divider — thin gold rule with a small cross at centre,
   replacing the plain 1px border between major sections. */
.section-alt::before,
.section-alt::after {
  content: "\271D";
  position: absolute;
  left: 0; right: 0;
  height: 22px;
  transform: translateY(-50%);
  line-height: 22px;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold-500);
  background-repeat: no-repeat;
  background-position: left center, right center;
  background-size: 38% 1px, 38% 1px;
  background-image:
    linear-gradient(90deg, transparent, var(--gold-400) 65%, var(--gold-400)),
    linear-gradient(90deg, var(--gold-400), var(--gold-400) 35%, transparent);
  pointer-events: none;
  z-index: 2;
}
.section-alt::before { top: 0; }
.section-alt::after { top: 100%; }
/* Avoid a doubled emblem where two alt sections sit back to back. */
.section-alt + .section-alt::before { display: none; }
.section-maroon { background: var(--maroon-800); color: var(--gold-100); }
.section-maroon h2 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink-500); }

.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-block);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-arch {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  border-radius: 50% 50% 6px 6px;
  background: var(--gold-100);
  border: 1.5px solid var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon-700);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card.center-content { text-align: center; }

.card-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--maroon-700); font-size: 0.9rem; }
.card-link:hover { color: var(--gold-600); }

/* Service time block */
.time-block {
  background: var(--paper);
  border: 1px solid var(--gold-200);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-block);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.time-block .day {
  font-family: var(--serif);
  color: var(--maroon-700);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.time-block .time {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-600);
}
.time-block .desc { color: var(--ink-500); font-size: 0.92rem; margin-top: 6px; }

/* Two column content w/ image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-block); box-shadow: var(--shadow); border: 6px solid var(--paper); }

/* Timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--gold-500), var(--gold-200));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.3s ease;
}
/* .timeline carries [data-reveal] itself, so the same scroll observer that
   drives the generic reveal fade also flips this on — the line draws
   downward and each item slides in once the block enters view. */
html.reveal-ready .timeline.is-visible::before { transform: scaleY(1); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -34px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--maroon-700);
}
.timeline-item .date { font-weight: 700; color: var(--maroon-700); font-family: var(--serif); font-size: 1.05rem; }
html.reveal-ready .timeline-item {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.reveal-ready .timeline.is-visible .timeline-item { opacity: 1; transform: translateX(0); }
.timeline-item:nth-child(1) { transition-delay: 0.15s; }
.timeline-item:nth-child(2) { transition-delay: 0.3s; }
.timeline-item:nth-child(3) { transition-delay: 0.45s; }
.timeline-item:nth-child(4) { transition-delay: 0.6s; }
.timeline-item:nth-child(5) { transition-delay: 0.75s; }
.timeline-item:nth-child(6) { transition-delay: 0.9s; }
.timeline-item:nth-child(7) { transition-delay: 1.05s; }
.timeline-item:nth-child(8) { transition-delay: 1.2s; }
.timeline-item:nth-child(9) { transition-delay: 1.35s; }
.timeline-item:nth-child(10) { transition-delay: 1.5s; }
.timeline-item:nth-child(11) { transition-delay: 1.65s; }
.timeline-item:nth-child(12) { transition-delay: 1.8s; }

/* Quote */
blockquote.churchquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--maroon-800);
  border-left: 3px solid var(--gold-500);
  padding-left: 22px;
  margin: 28px 0;
}

/* Archive accordion (past office bearers) */
.archive-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.archive-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.archive-item summary::-webkit-details-marker { display: none; }
.archive-item summary .term {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--maroon-700);
  font-size: 1.2rem;
}
.archive-item summary .term-sub {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-left: 12px;
}
.archive-item summary .chev {
  color: var(--gold-500);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.archive-item[open] summary .chev { transform: rotate(180deg); }
.archive-item .archive-body {
  padding: 4px 24px 22px;
  border-top: 1px solid var(--line);
}
.archive-item .role-list li { padding: 11px 0; }

/* Table (office bearers) */
.obtable { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.obtable th, .obtable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.obtable th { background: var(--maroon-700); color: #fff; font-family: var(--serif); font-weight: 600; }
.obtable tr:last-child td { border-bottom: none; }
.obtable tr:nth-child(even) td { background: var(--cream-100); }

.role-list { list-style: none; margin: 0; padding: 0; }
.role-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.role-list li:last-child { border-bottom: none; }
.role-list .role { color: var(--ink-500); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.03em; }
.role-list .name { font-weight: 700; color: var(--maroon-800); text-align: right; }

/* News cards */
.news-card { display: flex; flex-direction: column; height: 100%; }
.news-date { color: var(--gold-600); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }

/* Tabs (News / Facebook feed) */
.tabs { max-width: 900px; margin: 0 auto; }
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  border: 1.5px solid var(--gold-400);
  background: var(--paper);
  color: var(--maroon-700);
  font-weight: 700;
  font-family: var(--sans);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tab-btn:hover { background: var(--gold-100); }
.tab-btn.active { background: var(--maroon-700); border-color: var(--maroon-700); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.fb-embed-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}
.fb-embed-frame {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-block);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--paper);
  background: var(--paper);
}
.fb-embed-frame iframe { width: 100%; border: 0; display: block; }
.fb-fallback {
  text-align: center;
  padding: 40px 24px;
  color: var(--ink-500);
}

/* Map / contact */
.map-frame { border-radius: var(--radius-block); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--paper); }
.map-frame iframe { width: 100%; height: 360px; border: 0; display: block; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info li:last-child { border-bottom: none; }
.contact-info .ci-icon { color: var(--maroon-700); flex-shrink: 0; margin-top: 2px; }
.contact-info .ci-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500); }
.contact-info .ci-value { font-weight: 600; color: var(--ink-900); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-600));
  color: #fff;
  border-radius: 24px;
  padding: 54px 40px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--gold-100); }

/* Footer */
footer.site-footer {
  background: var(--maroon-900);
  color: var(--gold-100);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--gold-400); font-family: var(--serif); font-size: 1.05rem; margin-bottom: 16px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--gold-400); }
.footer-brand .name { font-family: var(--serif); color: #fff; font-size: 1.1rem; }
footer.site-footer p { color: var(--gold-200); font-size: 0.92rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gold-200); font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-social-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-300, #ead9ad);
  font-size: 0.95rem;
  margin-right: 4px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(234, 217, 173, 0.35);
  color: var(--gold-200);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  background: var(--gold-500);
  color: var(--maroon-900);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gold-200);
}
.footer-bottom a { color: var(--gold-400); font-weight: 600; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-gold { color: var(--gold-500); }
.small { font-size: 0.88rem; color: var(--ink-500); }
.tag {
  display: inline-block;
  background: var(--gold-100);
  color: var(--maroon-700);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--maroon-700); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Content is visible by default (no JS-gated hiding — reliable on slow
   connections, with JS errors, and for no-JS/SEO crawlers). Elements only
   get a subtle lift-in the moment JS confirms it can animate them safely. */
[data-reveal] { transition: opacity 0.5s ease, transform 0.5s ease; }
html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); }
html.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero::after { animation: none; }
  .hero-eyebrow, .hero h1, .hero p.lead, .hero-actions { animation: none; opacity: 1; transform: none; }
  html.reveal-ready .timeline::before,
  html.reveal-ready .timeline.is-visible::before { transform: scaleY(1); transition: none; }
  html.reveal-ready .timeline-item,
  html.reveal-ready .timeline.is-visible .timeline-item {
    opacity: 1; transform: none; transition: none; transition-delay: 0s;
  }
}
