/* =========================================================
   Blessed Francis Xavier Seelos Catholic Church
   Production stylesheet — mobile-first, semantic, accessible.
   --------------------------------------------------------- */

/* Design tokens */
:root {
  /* Liturgical-warm palette */
  --color-burgundy: #6e1a2c;
  --color-burgundy-deep: #4a0f1c;
  --color-burgundy-soft: #8a2538;
  --color-gold: #b8860b;
  --color-gold-soft: #d4a341;
  --color-gold-pale: #ead9a6;
  --color-cream: #f8f4ed;
  --color-cream-warm: #fbf6ec;
  --color-parchment: #efe7d6;
  --color-ink: #1f1b17;
  --color-ink-soft: #3d342b;
  --color-muted: #6b6055;
  --color-line: #d8cdb6;
  --color-teal: #1f7a82;       /* nods to the restored dome */
  --color-bg: var(--color-cream);
  --color-surface: #ffffff;

  /* Type */
  --font-serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: var(--font-serif);

  /* Scale */
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1.0rem, 0.97rem + 0.20vw, 1.125rem);
  --step-1:  clamp(1.15rem, 1.10rem + 0.30vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.30rem + 0.55vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.55rem + 1.0vw, 2.4rem);
  --step-4:  clamp(2.2rem, 1.8rem + 1.8vw, 3.4rem);
  --step-5:  clamp(2.6rem, 2.0rem + 3.0vw, 4.8rem);

  --line-tight: 1.15;
  --line-snug: 1.3;
  --line-base: 1.6;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(31, 27, 23, 0.06), 0 1px 3px rgba(31, 27, 23, 0.04);
  --shadow: 0 4px 8px rgba(31, 27, 23, 0.08), 0 8px 24px rgba(31, 27, 23, 0.06);
  --shadow-lg: 0 12px 32px rgba(31, 27, 23, 0.12);

  --container: 1200px;
  --container-narrow: 760px;
  --container-wide: 1400px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --transition: 200ms cubic-bezier(0.2, 0, 0.2, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: var(--line-base);
  color: var(--color-ink);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, svg { max-width: 100%; height: auto; display: block; }
img { font-style: italic; background-color: var(--color-parchment); }

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

a {
  color: var(--color-burgundy);
  text-decoration-color: var(--color-gold-soft);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color var(--transition);
}
a:hover { color: var(--color-burgundy-deep); }
a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--line-tight);
  color: var(--color-burgundy-deep);
  letter-spacing: -0.005em;
}

h1 { font-size: var(--step-5); font-weight: 600; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }
h5 { font-size: var(--step-1); }

p { max-width: 70ch; }
p + p { margin-top: 1rem; }

ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.35rem; }

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-line) 20%, var(--color-line) 80%, transparent);
  margin: var(--space-7) 0;
}

::selection { background: var(--color-gold-pale); color: var(--color-burgundy-deep); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-burgundy-deep);
  color: var(--color-cream);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; outline: 2px solid var(--color-gold); }

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 4rem); }
.section--feature {
  background: var(--color-cream-warm);
  border-block: 1px solid var(--color-line);
}
.section--dark {
  background: linear-gradient(180deg, var(--color-burgundy-deep), #2a0810);
  color: var(--color-cream);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-gold-pale); }
.section--dark a { color: var(--color-gold-soft); text-decoration-color: var(--color-gold); }
.section--dark a:hover { color: #fff; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.lead {
  font-size: var(--step-1);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--line-snug);
  color: var(--color-ink-soft);
  font-style: italic;
}

/* Grid utilities */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 2rem; }
.mt-6 { margin-top: 2rem; }

/* =========================================================
   Top bar (announcement + language hint)
   ========================================================= */
.top-bar {
  background: var(--color-burgundy-deep);
  color: var(--color-cream);
  font-size: var(--step--1);
  padding: 0.5rem 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar a { color: var(--color-gold-pale); text-decoration: none; }
.top-bar a:hover { color: #fff; text-decoration: underline; }
.top-bar__welcome { letter-spacing: 0.04em; }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 48px;
  height: 48px;
  background: var(--color-burgundy);
  color: var(--color-gold-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px var(--color-gold);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.1;
  color: var(--color-burgundy-deep);
}
.brand__sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
@media (min-width: 600px) {
  .brand__name { font-size: 1.25rem; }
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  color: var(--color-burgundy-deep);
}
.nav-toggle__bars { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: rotate(-45deg); top: 0; }

.primary-nav {
  display: none;
}
.primary-nav[data-open="true"] {
  display: block;
  position: fixed;
  inset: auto 0 0 0;
  top: 64px;
  background: var(--color-cream-warm);
  border-top: 1px solid var(--color-line);
  padding: 1rem;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.primary-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.primary-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  background: var(--color-parchment);
  color: var(--color-burgundy-deep);
}
.primary-nav a[aria-current="page"] {
  border-left: 3px solid var(--color-gold);
  padding-left: calc(0.75rem - 3px);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav[data-open="true"] {
    display: block;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }
  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
  }
  .primary-nav a {
    padding: 0.5rem 0.85rem;
    font-size: 0.95rem;
  }
  .primary-nav a[aria-current="page"] {
    border-left: none;
    padding-left: 0.85rem;
    border-bottom: 2px solid var(--color-gold);
    border-radius: 0;
  }
}

/* =========================================================
   Hero — Cinematic full-bleed with text overlaid on bottom.
   Layout is deterministic on mobile and desktop:
   - Photo absolutely fills the entire hero box
   - Content is absolutely anchored to the bottom of the hero
   - A bottom-up gradient darkens ONLY the lower band where text lives,
     so the tower, the cross, and the sky stay pristine.
   ========================================================= */
.hero {
  position: relative;
  background: var(--color-burgundy-deep);
  color: var(--color-cream);
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  max-height: 1100px;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

/* Two-stop overlay:
   1) thin top fade so the sticky header reads against bright sky
   2) bottom-up darkening that begins around 50% and intensifies near the bottom */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 8, 12, 0.4) 0%, transparent 12%),
    linear-gradient(180deg,
      transparent 48%,
      rgba(20, 8, 12, 0.45) 68%,
      rgba(20, 8, 12, 0.82) 88%,
      rgba(20, 8, 12, 0.94) 100%);
}

/* Desktop: combine the bottom darkening with a soft bottom-LEFT wedge
   so the headline pops without dimming the tower on the right. */
@media (min-width: 900px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(20, 8, 12, 0.4) 0%, transparent 12%),
      linear-gradient(15deg,
        rgba(20, 8, 12, 0.92) 0%,
        rgba(20, 8, 12, 0.7) 22%,
        rgba(20, 8, 12, 0.35) 42%,
        rgba(20, 8, 12, 0.08) 60%,
        transparent 78%);
  }
}

/* Content anchored to the bottom of the hero, layered above the gradient */
.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  width: 100%;
  padding-block: clamp(2.25rem, 5.5vw, 4.5rem);
}

.hero__content > .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.hero__inner {
  max-width: 640px;
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(212, 163, 65, 0.45);
  border-radius: 999px;
  background: rgba(20, 8, 12, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}
.hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  box-shadow: 0 0 10px var(--color-gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 6.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--color-cream);
  margin-bottom: 1.1rem;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero__attribution {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero__sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 400;
  color: rgba(248, 244, 237, 0.95);
  margin-bottom: 2.25rem;
  line-height: 1.45;
  max-width: 32em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.hero__sub em {
  color: var(--color-gold-pale);
  font-style: italic;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Decorative gold rule above the eyebrow on wide screens */
@media (min-width: 1100px) {
  .hero__inner::before {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-soft), transparent);
    margin-bottom: 1.5rem;
  }
}

/* Mobile tweaks */
@media (max-width: 720px) {
  .hero { min-height: 92vh; max-height: none; }
  .hero__photo img { object-position: center 22%; }
  .hero__content { padding-block: clamp(2rem, 7vw, 3.5rem); }
  .hero__cta { gap: 0.6rem; }
  .hero__cta .btn { flex: 1 1 calc(50% - 0.3rem); justify-content: center; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-gold);
  color: var(--color-burgundy-deep);
  border-color: var(--color-gold);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
}
.btn--primary:hover {
  background: var(--color-gold-soft);
  color: var(--color-burgundy-deep);
}

.btn--secondary {
  background: transparent;
  color: var(--color-cream);
  border-color: var(--color-cream);
}
.btn--secondary:hover {
  background: var(--color-cream);
  color: var(--color-burgundy-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--color-burgundy);
  border-color: var(--color-burgundy);
}
.btn--ghost:hover {
  background: var(--color-burgundy);
  color: var(--color-cream);
}

.btn--small { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* =========================================================
   Mass-times card / schedule grid
   ========================================================= */
.schedule {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.schedule__title {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 0.85rem;
}
.schedule__title h3 {
  font-size: var(--step-2);
  margin: 0;
}
.schedule__title-icon { color: var(--color-gold); }

.schedule__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.5rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--color-line);
  align-items: baseline;
}
.schedule__row:last-child { border-bottom: 0; }
.schedule__day {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-burgundy-deep);
  letter-spacing: 0.01em;
}
.schedule__times {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.schedule__entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
}
.schedule__time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink);
  min-width: 4.6rem;
}
.schedule__lang {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-en { background: #f1e9d4; color: #6e1a2c; }
.lang-es { background: #fbe3c7; color: #7c3a0d; }
.lang-asl { background: #d2e7e9; color: #1f5a62; }
.schedule__note {
  color: var(--color-muted);
  font-size: 0.9rem;
}
.schedule__row.is-today {
  background: linear-gradient(90deg, rgba(212, 163, 65, 0.12), transparent);
  border-radius: var(--radius);
  padding-inline: 0.5rem;
}
.schedule__row.is-today .schedule__day {
  color: var(--color-gold);
}
.schedule__row.is-today .schedule__day::after {
  content: " · TODAY";
  font-size: 0.7rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

@media (max-width: 480px) {
  .schedule__row { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-parchment);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.card__body h3 {
  font-size: var(--step-2);
  margin: 0;
}
.card__body p {
  color: var(--color-ink-soft);
  font-size: 0.96rem;
}
.card__footer {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Ministry tile (text-only, denser) */
.tile {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.tile h4 {
  font-size: var(--step-1);
  color: var(--color-burgundy-deep);
  margin-bottom: 0.4rem;
}
.tile p {
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  margin: 0;
}
.tile--service { border-left-color: var(--color-teal); }
.tile--formational { border-left-color: var(--color-burgundy); }
.tile--liturgical { border-left-color: var(--color-gold); }
.tile--community { border-left-color: var(--color-burgundy-soft); }

/* =========================================================
   Welcome section
   ========================================================= */
.welcome {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .welcome { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
}
.welcome__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}

/* Pastor block */
.pastor {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .pastor { grid-template-columns: 280px 1fr; gap: 3rem; }
}
.pastor__photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.pastor blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--color-ink-soft);
  margin: 1rem 0;
}

/* =========================================================
   Bilingual block
   ========================================================= */
.bilingual {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .bilingual { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.bilingual__col {
  border-top: 3px solid var(--color-gold);
  padding-top: 1.25rem;
}
.bilingual__col h3 {
  font-size: var(--step-1);
  margin-bottom: 0.75rem;
}
.bilingual__col[lang="es"] h3 { color: var(--color-burgundy); }

/* =========================================================
   Timeline (history page)
   ========================================================= */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-gold);
  margin: 2rem 0;
}
.timeline__entry {
  position: relative;
  padding: 0.5rem 0 2rem 1rem;
}
.timeline__entry::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-cream);
  box-shadow: 0 0 0 2px var(--color-gold);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-burgundy);
  margin-bottom: 0.25rem;
  display: block;
}
.timeline__entry h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}
.timeline__entry p {
  color: var(--color-ink-soft);
}

/* =========================================================
   Photo feature
   ========================================================= */
.photo-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-feature img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-feature__caption {
  padding: 1rem 1.5rem;
  background: var(--color-cream-warm);
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  font-style: italic;
}

/* Fire story panel — designed to feel reverent, not sensational */
.fire-stories {
  background:
    radial-gradient(ellipse at top right, rgba(110, 26, 44, 0.06), transparent 60%),
    var(--color-cream-warm);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 3rem);
}
.fire-stories blockquote {
  border-left: 3px solid var(--color-burgundy);
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  color: var(--color-ink);
  margin: 1.25rem 0;
}
.fire-stories blockquote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--color-muted);
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-burgundy-deep);
  color: var(--color-cream);
  padding-block: var(--space-8) var(--space-6);
  margin-top: auto;
}
.site-footer a { color: var(--color-gold-pale); }
.site-footer a:hover { color: #fff; }

.site-footer__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 {
  color: var(--color-gold-soft);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 0.4rem; }

.site-footer__brand p { font-size: 0.95rem; opacity: 0.9; }
.site-footer__bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(212, 163, 65, 0.25);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: rgba(248, 244, 237, 0.7);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 163, 65, 0.15);
  border: 1px solid rgba(212, 163, 65, 0.4);
  color: var(--color-gold-soft);
  text-decoration: none;
}
.social-links a:hover {
  background: var(--color-gold-soft);
  color: var(--color-burgundy-deep);
}

/* =========================================================
   Page header (sub-page banners)
   ========================================================= */
.page-header {
  background: linear-gradient(180deg, rgba(20, 8, 12, 0.55), rgba(20, 8, 12, 0.78)),
              var(--color-burgundy-deep);
  color: var(--color-cream);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-header__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-header__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-header h1 {
  color: var(--color-cream);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.page-header__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--color-gold-pale);
  max-width: 60ch;
}
.breadcrumbs {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(248, 244, 237, 0.75);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--color-gold-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-cream); text-decoration: underline; }

/* =========================================================
   Tables (mass times alt)
   ========================================================= */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.contact-table th, .contact-table td {
  text-align: left;
  padding: 0.8rem 0.6rem;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}
.contact-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-burgundy-deep);
  font-weight: 600;
  width: 30%;
}

/* =========================================================
   Map embed wrapper
   ========================================================= */
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-parchment);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   Utilities
   ========================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.no-print { }
@media print {
  .site-header, .site-footer, .nav-toggle, .top-bar, .hero__cta { display: none !important; }
  body { background: white; color: black; }
  a { text-decoration: underline; color: black; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
