/* ============================================================
   Sacred Trek — Shared Stylesheet
   style.css · All pages
   ============================================================ */

  :root {
    /* ── COLOUR PALETTE ── */
    --gold: #B8963E;
    --gold-light: #D4AE62;
    --gold-pale: #F5EDD6;
    --crimson: #7B1D1D;
    --navy: #1A2342;
    --ivory: #FAF8F3;
    --stone: #EDE8DF;
    --text: #2C2416;
    --text-soft: #6B5E4A;
    --white: #FFFFFF;

    /* ── FONT SCALE ──────────────────────────────────────────
       All rem-based font sizes are relative to html { font-size }.
       To adjust the entire site's type size, change ONE value:
       html { font-size } below, or override --fs-base here.

       Scale (base = 20px):
         --fs-xs    →  0.62rem  ≈ 12px   (labels, badges, eyebrows)
         --fs-sm    →  0.72rem  ≈ 14px   (UI captions, metadata)
         --fs-md    →  0.85rem  ≈ 17px   (secondary UI, footnotes)
         --fs-body  →  1rem     = 20px   (body copy baseline)
         --fs-lg    →  1.05rem  ≈ 21px   (lead paragraphs)
         --fs-xl    →  1.15rem  ≈ 23px   (larger body text, subtitles)
    ── */
    --fs-xs:   0.62rem;
    --fs-sm:   0.72rem;
    --fs-md:   0.85rem;
    --fs-body: 1rem;
    --fs-lg:   1.05rem;
    --fs-xl:   1.15rem;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  /* ── BASE FONT SIZE ─────────────────────────────────────────
     20px — bumped up per user feedback for improved readability.
     Change this single value to resize the entire site.
  ── */
  html { scroll-behavior: smooth; font-size: 20px; }

  body {
    font-family: 'EB Garamond', Georgia, serif;
    background: var(--ivory);
    color: var(--text);
    font-size: var(--fs-body);
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NAVIGATION ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(26,35,66,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184,150,62,0.3);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1.5rem;
    height: 64px;
    gap: 1rem;
  }
  .nav-brand {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    white-space: nowrap;    /* never wrap the logo text */
    flex-shrink: 0;          /* never compress the logo */
  }
  /* Mobile: hide links, show hamburger */
  .nav-links { display: none; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .nav-links a:hover { color: var(--gold-light); }
  .nav-cta {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1.2rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;           /* never compress the CTA button */
    display: none;
  }
  .nav-cta:hover { background: var(--gold-light); }
  .nav-hamburger { display: block; background: none; border: none; cursor: pointer; color: white; font-size: 1.4rem; flex-shrink: 0; }

  /* ── DESKTOP NAV — tiered breakpoints ── */

  /* 769px+: show nav links, keep hamburger hidden, hide CTA (not enough room yet) */
  @media (min-width: 769px) {
    nav { padding: 0 2rem; }
    .nav-brand { font-size: 1.25rem; letter-spacing: 0.11em; }
    .nav-hamburger { display: none; }

    /* Fully reset the drawer — show as normal inline flex row */
    .nav-links,
    .nav-links.nav-open {
      display: flex !important;
      flex-direction: row !important;
      position: static !important;
      max-height: none !important;
      height: auto !important;
      visibility: visible !important;
      overflow: visible !important;
      background: transparent !important;
      backdrop-filter: none !important;
      border-bottom: none !important;
      padding: 0 !important;
      gap: 1.75rem !important;
      transition: none !important;
    }
    .nav-links li a {
      display: inline;
      padding: 0 !important;
      border-bottom: none !important;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.8);
      transition: color 0.2s;
    }
    .nav-links li a:hover,
    .nav-links li a:focus {
      background: transparent !important;
      padding-left: 0 !important;
      color: var(--gold-light) !important;
    }
    .nav-links li a.nav-active {
      border-left: none !important;
      padding-left: 0 !important;
      color: var(--gold) !important;
    }
    .nav-drawer-cta-wrap { display: none !important; }
    .nav-backdrop { display: none !important; }
  }

  /* 960px+: enough room to also show the "Begin Today" CTA button */
  @media (min-width: 960px) {
    nav { padding: 0 3rem; }
    .nav-brand { font-size: 1.4rem; letter-spacing: 0.12em; }
    .nav-links,
    .nav-links.nav-open { gap: 2.5rem !important; }
    .nav-links li a { font-size: 0.8rem !important; }
    .nav-cta { display: block; }
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: var(--navy);
  }

  /* Stained glass geometric background */
  .hero-bg {
    position: absolute; inset: 0;
    background: 
      radial-gradient(ellipse at 30% 20%, rgba(123,29,29,0.4) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 80%, rgba(184,150,62,0.25) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 10%, rgba(42,60,120,0.5) 0%, transparent 40%);
    z-index: 0;
  }
  .hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image: 
      repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(184,150,62,0.06) 60px),
      repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(184,150,62,0.06) 60px);
    z-index: 1;
  }

  .hero-content { position: relative; z-index: 2; max-width: 800px; }
  .hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--gold-light);
  }
  /* Hero subtitle — see shared hero utilities section below */
  .hero-actions {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
  }
  .btn-primary {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    background: var(--gold);
    color: var(--navy);
    padding: 0.85rem 2.2rem;
    border: none; cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
  .btn-ghost {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    background: transparent;
    color: rgba(255,255,255,0.8);
    padding: 0.85rem 2.2rem;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
  }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

  /* Scroll indicator */
  .scroll-hint {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    opacity: 0; animation: fadeUp 1s 1.2s forwards;
  }
  .scroll-hint span { font-family: 'Lato', sans-serif; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
  .scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(184,150,62,0.8), transparent); animation: scrollPulse 2s ease-in-out infinite; }
  @keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(0.6)} 50%{opacity:1;transform:scaleY(1)} }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes slowRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
  }

  /* ── DAILY PRAYER STRIP ── */
  .daily-strip {
    background: var(--gold);
    padding: 1.2rem 3rem;
    display: flex; align-items: center; justify-content: center; gap: 2rem;
    flex-wrap: wrap;
  }
  .daily-strip-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 700;
    white-space: nowrap;
  }
  .daily-strip-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--navy);
  }
  .daily-strip-date {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    color: rgba(26,35,66,0.7);
    white-space: nowrap;
  }

  /* ── SECTIONS ── */
  section { padding: 6rem 2rem; }
  .container { max-width: 1200px; margin: 0 auto; }

  .section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: block;
  }
  .section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 1.2rem;
    line-height: 1.2;
  }
  .section-lead {
    font-size: 1.1rem;
    color: var(--text-soft);
    font-style: italic;
    max-width: 600px;
    margin-bottom: 3rem;
  }
  .section-divider {
    width: 60px; height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-bottom: 1.5rem;
  }

  /* ── SHARED HERO UTILITIES ─────────────────────────────────
     These classes appear in every page hero. Defined once here;
     page CSS files provide only what is unique (h1 size, bg colours).
  ── */

  /* The shared rose-window SVG — positioned and animated identically on all pages */
  .rose-window {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, 85vw); height: min(500px, 85vw);
    opacity: 0.08;
    animation: slowRotate 120s linear infinite;
    z-index: 1;
  }

  /* Hero eyebrow — identical across all 13 page heroes */
  .hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: var(--fs-sm);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
  }

  /* Hero subtitle — italic intro below the h1 */
  .hero-subtitle {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: var(--fs-xl);
    font-style: italic;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
  }

  /* Hero attribution — small metadata line */
  .hero-attribution {
    font-family: 'Lato', sans-serif;
    font-size: var(--fs-sm);
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
  }

  /* Hero button row */
  .hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
  }

  /* Shared secondary outline button (used in hero rows) */
  .btn-secondary-outline {
    font-family: 'Lato', sans-serif;
    font-size: var(--fs-sm);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(184,150,62,0.5);
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
  }
  .btn-secondary-outline:hover {
    background: rgba(184,150,62,0.08);
    border-color: var(--gold);
  }

  /* ── SHARED UTILITY CLASSES ─────────────────────────
     Used across multiple pages; defined once here.
  ── */

  /* Hides elements when filtered out — used by all gallery/search pages */
  .hidden { display: none !important; }

  /* Section divider gradient on light (ivory) backgrounds */
  .section-divider-light {
    background: linear-gradient(to right, var(--gold), transparent);
  }

  /* Shared filter-tabs pattern — search/gallery pages */
  .page-filter-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-bottom: 2px solid rgba(26,35,66,0.1);
    margin-bottom: 2rem;
  }
  .page-filter-btn {
    font-family: 'Lato', sans-serif;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26,35,66,0.4);
    padding: 0.7rem 1.1rem;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
  }
  .page-filter-btn.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
  }
  .page-filter-btn:hover:not(.active) { color: var(--navy); }

  /* ── FEATURE CARDS ── */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    background: var(--gold);
    border: 2px solid var(--gold);
  }
  .feature-card {
    background: var(--ivory);
    padding: 2.5rem 2rem;
    transition: background 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Reset anchor styles when card is an <a> */
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
  }
  .feature-card:hover::before { transform: scaleX(1); }
  .feature-card:hover { background: var(--white); }
  /* Nudge the arrow label on whole-card hover */
  .feature-card:hover .feature-link { color: var(--crimson); letter-spacing: 0.25em; }
  .feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
  }
  .feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 500;
  }
  .feature-card p {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.6;
  }
  .feature-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    z-index: 1;
    pointer-events: none;   /* the whole card is the link now */
    transition: color 0.2s, letter-spacing 0.2s;
  }
  .feature-link::after { content: ' →'; }

  .feature-card--coming-soon { opacity: 0.7; }
  .feature-card--coming-soon:hover { opacity: 0.85; }
  .feature-coming-soon {
    display: inline-block;
    margin-top: 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-soft);
    border: 1px solid rgba(107,94,74,0.35);
    padding: 0.25rem 0.7rem;
    font-weight: 400;
  }

  /* ── PRAYER SECTION ── */
  .prayers-section { background: var(--navy); color: white; }
  .prayers-section .section-title { color: var(--gold-light); }
  .prayers-section .section-lead { color: rgba(255,255,255,0.6); }
  .prayers-section .section-divider { background: linear-gradient(to right, var(--gold), transparent); }

  /* ── PRAYER CATEGORY TABS ── */
  .prayer-cats {
    display: flex; gap: 0; flex-wrap: wrap;
    border-bottom: 2px solid rgba(184,150,62,0.3);
    margin-bottom: 1.25rem;
  }
  .prayer-cat-btn {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding: 0.7rem 1.3rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .prayer-cat-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
  .prayer-cat-btn:hover { color: rgba(255,255,255,0.85); }

  /* ── PRAYER SELECTOR (within a category) ── */
  .prayer-selector {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    margin-bottom: 2.5rem;
    min-height: 2.5rem;
  }
  .prayer-btn {
    font-family: 'Lato', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    padding: 0.45rem 1rem;
    border: 1px solid rgba(184,150,62,0.25);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .prayer-btn.active {
    color: var(--navy);
    background: var(--gold);
    border-color: var(--gold);
  }
  .prayer-btn:hover:not(.active) { border-color: var(--gold-light); color: rgba(255,255,255,0.9); }

  .prayer-display {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }
  @media (min-width: 769px) { .prayer-display { grid-template-columns: 1fr 1fr; gap: 4rem; } }

  .prayer-text-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(184,150,62,0.15);
    border-left: 3px solid var(--gold);
    padding: 2rem 2rem 2rem 2.5rem;
  }
  .prayer-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
  }
  .prayer-body {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
    font-style: italic;
  }
  .prayer-response {
    font-weight: 600;
    font-style: normal;
    color: var(--gold-pale);
  }

  .prayer-meta {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-top: 1.5rem;
    text-transform: uppercase;
  }

  .prayer-info h4 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
  }
  .prayer-info p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  /* ── LITURGICAL CALENDAR ── */
  .calendar-section { background: var(--stone); }

  /* Temporal banner */
  .cal-temporal-banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(184,150,62,0.2);
    margin-bottom: 2rem;
  }
  @media (min-width: 600px) { .cal-temporal-banner { grid-template-columns: repeat(3, 1fr); } }
  @media (min-width: 900px) { .cal-temporal-banner { grid-template-columns: repeat(6, 1fr); } }

  .cal-temporal-item {
    background: var(--white);
    padding: 1rem 1.1rem;
    display: flex; flex-direction: column; gap: 0.3rem;
  }
  .cal-temporal-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-soft);
  }
  .cal-temporal-value {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    color: var(--navy);
    font-weight: 400;
    line-height: 1.3;
  }

  /* Two-form grid */
  .cal-forms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }
  @media (min-width: 769px) { .cal-forms-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

  .cal-form-col {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    overflow: hidden;
  }

  /* Form headers */
  .cal-form-header {
    padding: 1rem 1.5rem;
    display: flex; flex-direction: column; gap: 0.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .cal-of-header { background: var(--navy); }
  .cal-ef-header { background: var(--crimson); }
  .cal-form-rite {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--gold-light);
    letter-spacing: 0.06em;
    font-weight: 400;
  }
  .cal-form-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
  }

  .cal-form-body { padding: 1.5rem; }

  /* Loading state */
  .cal-loading {
    display: flex; align-items: center; gap: 0.75rem;
    color: var(--text-soft);
    font-style: italic;
    font-size: 0.9rem;
    padding: 1rem 0;
  }
  .cal-loading-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(184,150,62,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* Celebration card */
  .cal-celebration {
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
    margin-bottom: 1.25rem;
  }
  .cal-celebration-rank {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
  }
  .cal-celebration-name {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 0.3rem;
  }
  .cal-celebration-color-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
  }

  /* Data rows */
  .cal-data-rows { display: flex; flex-direction: column; gap: 0.6rem; }
  .cal-data-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.5;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .cal-data-row:last-child { border-bottom: none; padding-bottom: 0; }
  .cal-data-key {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    padding-top: 0.15rem;
  }
  .cal-data-val { color: var(--text); }

  /* Fasting & Abstinence observance row — highlighted */
  .cal-data-row:has(.cal-data-key) .cal-data-val:first-child { color: var(--text); }
  .cal-data-rows .cal-data-row:last-child .cal-data-val {
    /* Observance row gets gold accent when present */
  }
  /* Target the Observance row by its key label content via JS-added class */
  .cal-observance-row {
    background: rgba(184,150,62,0.06);
    border-radius: 2px;
    padding: 0.4rem 0.6rem 0.4rem !important;
    border-bottom: none !important;
    margin-top: 0.2rem;
  }
  .cal-observance-row .cal-data-key { color: var(--crimson); }
  .cal-observance-row .cal-data-val {
    color: var(--text);
    font-style: italic;
    font-size: 0.85rem;
  }

  /* Optional memorials list */
  .cal-optionals {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .cal-optionals-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.4rem;
  }
  .cal-optional-item {
    font-size: 0.85rem;
    color: var(--text-soft);
    font-style: italic;
    line-height: 1.6;
  }

  /* ── READINGS BLOCK ── */
  .cal-readings-block {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(184,150,62,0.06);
    border: 1px solid rgba(184,150,62,0.2);
    border-left: 3px solid var(--gold);
  }
  .cal-readings-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
  }
  .cal-readings-title {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--navy);
    font-weight: 500;
  }
  .cal-readings-cycle {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .cal-readings-description {
    font-size: 0.82rem;
    color: var(--text-soft);
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  .cal-readings-rows {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
  }
  .cal-reading-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.5rem;
    align-items: baseline;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(184,150,62,0.1);
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .cal-reading-row:last-child { border-bottom: none; padding-bottom: 0; }
  .cal-reading-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
    padding-top: 0.1rem;
  }
  .cal-reading-cite {
    font-family: 'EB Garamond', Georgia, serif;
    color: var(--text);
    font-size: 0.95rem;
  }
  .cal-reading-cite--na {
    color: var(--text-soft);
    font-style: italic;
    font-size: 0.82rem;
  }
  .cal-readings-link {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
  }
  .cal-readings-link:hover { color: var(--crimson); }

  /* API note */
  .cal-api-note {
    padding: 0.6rem 1.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    border-top: 1px solid rgba(0,0,0,0.05);
    background: rgba(0,0,0,0.02);
  }

  /* Error state */
  .cal-error {
    font-size: 0.9rem;
    color: var(--text-soft);
    font-style: italic;
    padding: 0.5rem 0;
  }

  /* Vestment color swatches */
  .cal-color-green  { color: #2d6a2d; }
  .cal-color-purple { color: #6b3fa0; }
  .cal-color-white  { color: #8a7a5a; }
  .cal-color-red    { color: #9b1c1c; }
  .cal-color-rose   { color: #c2698f; }
  .cal-color-black  { color: #333; }

  .dot-green  { background: #2d6a2d; }
  .dot-purple { background: #6b3fa0; }
  .dot-white  { background: #c8b88a; border: 1px solid #aaa; }
  .dot-red    { background: #9b1c1c; }
  .dot-rose   { background: #c2698f; }
  .dot-black  { background: #333; }

  /* Keep existing proper/feast styles for backward compat */
  .feast-day-card { display:none; }
  .propers-list { display: flex; flex-direction: column; gap: 1rem; }
  .proper-item {
    background: var(--white);
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    align-items: start;
    cursor: pointer;
    transition: box-shadow 0.2s;
  }
  .proper-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
  .proper-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    white-space: nowrap;
    padding-top: 0.2rem;
    min-width: 80px;
  }
  .proper-text { font-size: 0.95rem; color: var(--text); line-height: 1.6; }
  .proper-text strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
    font-weight: 500;
  }

  /* ── FAQ ── */
  .faq-section { background: var(--ivory); }
  .faq-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(0,0,0,0.08); }
  @media (min-width: 769px) { .faq-grid { grid-template-columns: 1fr 1fr; } }

  .faq-item {
    background: var(--white);
    padding: 0;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: border-color 0.2s;
  }
  .faq-item.open { border-left-color: var(--gold); }
  .faq-item.open .faq-q { background: var(--gold-pale); }
  .faq-q {
    padding: 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    transition: background 0.2s;
  }
  .faq-q h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.4;
  }
  .faq-toggle {
    width: 28px; height: 28px;
    border: 1px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--gold);
    transition: transform 0.3s;
  }
  .faq-item.open .faq-toggle { transform: rotate(45deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 1.5rem;
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.7;
  }
  .faq-item.open .faq-a { max-height: 8000px; padding: 0 1.5rem 1.5rem; }

  /* ── SACRAMENT FINDER ── */
  .sacraments-section { background: var(--navy); }
  .sacraments-section .section-title { color: var(--white); }
  .sacraments-section .section-lead { color: rgba(255,255,255,0.6); }

  .sacraments-wheel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }
  @media (min-width: 501px) { .sacraments-wheel { grid-template-columns: repeat(4, 1fr); } }
  @media (min-width: 901px) { .sacraments-wheel { grid-template-columns: repeat(7, 1fr); } }

  .sacrament-tile {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(184,150,62,0.2);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
  }
  .sacrament-tile:hover {
    background: rgba(184,150,62,0.15);
    border-color: var(--gold);
    transform: translateY(-2px);
  }
  .sacrament-tile .icon { font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; min-height: 2.2rem; }
  .sacrament-tile h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--gold-light);
    line-height: 1.3;
    font-weight: 400;
  }
  .sacrament-tile.active {
    background: rgba(184,150,62,0.22);
    border-color: var(--gold);
    border-bottom: 3px solid var(--gold);
  }
  .sacrament-tile.active h3 { color: var(--gold); }

  /* ── SACRAMENT ACCORDION PANEL ── */
  .sac-panel {
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.5rem;
    background: var(--white);
    border: 1px solid rgba(184,150,62,0.25);
    overflow: hidden;
    animation: sacFadeIn 0.3s ease;
  }
  .sac-panel.open { display: grid; }
  @media (min-width: 769px) { .sac-panel { grid-template-columns: 2fr 3fr; } }
  @keyframes sacFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  /* Left column */
  .sac-left { position: relative; }
  .sac-accent-bar {
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 5px;
    transition: background 0.3s;
  }
  .sac-left-inner {
    padding: 2rem 2rem 2rem 2.5rem;
    border-right: 1px solid rgba(0,0,0,0.07);
  }
  .sac-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }
  .sac-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }
  .sac-latin {
    font-family: 'EB Garamond', serif;
    font-size: 0.95rem;
    color: var(--text-soft);
    font-style: italic;
    margin-bottom: 1.1rem;
  }
  .sac-definition {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }

  /* Matter & Form block */
  .sac-mf-block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .sac-mf-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .sac-mf-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    padding-top: 0.15rem;
  }
  .sac-mf-val { color: var(--text); }

  /* Scripture */
  .sac-scripture-block {}
  .sac-scripture-ref {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }
  .sac-scripture-text {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.75;
  }

  /* Right column — tabs */
  .sac-right { display: flex; flex-direction: column; }
  .sac-tabs {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    background: var(--stone);
  }
  .sac-tab {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    transition: all 0.18s;
    margin-bottom: -1px;
  }
  .sac-tab:hover { color: var(--navy); }
  .sac-tab.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
    background: var(--white);
    font-weight: 700;
  }
  .sac-tab-content {
    padding: 2rem;
    flex: 1;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.75;
  }

  /* CCC badge */
  .ccc-ref {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    background: rgba(184,150,62,0.12);
    color: var(--gold);
    border: 1px solid rgba(184,150,62,0.3);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 0.3rem;
    white-space: nowrap;
  }

  /* Tab content elements */
  .sac-tc-h {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--navy);
    letter-spacing: 0.08em;
    margin: 1.25rem 0 0.4rem;
    font-weight: 400;
  }
  .sac-tc-h:first-child { margin-top: 0; }
  .sac-tc-p { margin-bottom: 0.75rem; }
  .sac-tc-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
  .sac-tc-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.6rem;
    align-items: start;
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .sac-tc-step-n {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 400;
    padding-top: 0.15rem;
    text-align: right;
  }
  .sac-father-quote {
    font-family: 'EB Garamond', serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
  }
  .sac-father-attr {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--text-soft);
    text-transform: uppercase;
    padding-left: 1rem;
  }
  .sac-character-note {
    background: rgba(139,26,26,0.06);
    border-left: 3px solid var(--crimson);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.65;
  }
  .sac-character-note strong { color: var(--crimson); }

  /* ── NEWSLETTER / COMMUNITY ── */
  .cta-section {
    background: var(--crimson);
    padding: 5rem 2rem;
    text-align: center;
  }
  .cta-section .section-eyebrow { color: var(--gold-light); }
  .cta-section .section-title { color: var(--white); max-width: 600px; margin: 0 auto 1rem; }
  .cta-section p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 2rem; font-style: italic; }
  .email-form { display: flex; gap: 0; max-width: 460px; margin: 0 auto; }
  .email-input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
  }
  .email-input::placeholder { color: rgba(255,255,255,0.4); }
  .email-input:focus { border-color: var(--gold-light); }
  .email-submit {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
  }
  .email-submit:hover { background: var(--gold-light); }

  /* ── FOOTER ── */
  footer {
    background: #0F1527;
    padding: 4rem 2rem 2rem;
    color: rgba(255,255,255,0.5);
  }
  .footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(184,150,62,0.15);
    margin-bottom: 2rem;
  }
  @media (min-width: 769px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }
  .footer-brand { font-family: 'Cinzel', serif; font-size: 1.4rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 1rem; display: block; }
  .footer-tagline { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.4); font-style: italic; }
  .footer-col h4 { font-family: 'Cinzel', serif; font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 1rem; font-weight: 400; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 0.5rem; }
  .footer-col ul a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
  .footer-col ul a:hover { color: var(--gold-light); }
  .footer-bottom { max-width: 1200px; margin: 0 auto; font-size: 0.78rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  .footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: none; border-bottom: 1px solid rgba(184,150,62,0.35); padding-bottom: 0.05rem; transition: color 0.2s, border-color 0.2s; }
  .footer-bottom a:hover { color: var(--gold); border-color: var(--gold); }
  .footer-imprimatur { font-style: italic; color: rgba(255,255,255,0.3); }

  /* ── READING PROGRESS ── */
  .reading-progress {
    position: fixed; top: 64px; left: 0; right: 0;
    height: 2px;
    background: rgba(184,150,62,0.15);
    z-index: 999;
  }
  .reading-progress-bar {
    height: 100%;
    background: var(--gold);
    width: 0%;
    transition: width 0.1s;
  }

  /* ── SCROLL REVEAL ── */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
  .reveal.visible { opacity: 1; transform: none; }

  /* ── MOBILE NAV TOGGLE ── */
  /* (hamburger shown by default; hidden at min-width 769px via nav block above) */

  /* ── MOBILE NAV DRAWER ── */

  /* Backdrop overlay */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
  }
  .nav-backdrop.nav-open {
    display: block;
    background: rgba(0,0,0,0.45);
  }

  /* The drawer itself — slides down from the nav bar */
  .nav-links {
    /* Base mobile state: hidden above viewport */
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(20, 28, 56, 0.99);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(184,150,62,0.35);
    padding: 0;
    z-index: 999;
    list-style: none;
    /* Hidden state */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.35s,
                padding 0.35s ease;
  }
  .nav-links.nav-open {
    max-height: 420px;
    visibility: visible;
    padding: 0.5rem 0 1rem;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s,
                padding 0.35s ease;
  }

  /* Drawer links */
  .nav-links li a {
    display: block;
    padding: 0.95rem 1.75rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(184,150,62,0.1);
    transition: color 0.2s, background 0.2s, padding-left 0.2s;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links li a:hover,
  .nav-links li a:focus {
    color: var(--gold-light);
    background: rgba(184,150,62,0.06);
    padding-left: 2.25rem;
    outline: none;
  }
  .nav-links li a.nav-active {
    color: var(--gold);
    border-left: 3px solid var(--gold);
    padding-left: calc(1.75rem - 3px);
  }

  /* "Begin Today" CTA inside the drawer (mobile only) */
  .nav-drawer-cta {
    display: block;
    margin: 1rem 1.75rem 0;
    padding: 0.75rem 1.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    background: var(--gold);
    color: var(--navy);
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
  }
  .nav-drawer-cta:hover { background: var(--gold-light); }

  /* Mobile section defaults */
  section { padding: 4rem 1.5rem; }
  .daily-strip { padding: 1rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }

  /* Desktop overrides */
  @media (min-width: 769px) {
    section { padding: 6rem 2rem; }
    .daily-strip { padding: 1.2rem 3rem; }
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .email-form { flex-direction: row; }
  }

  /* ── BEGIN TODAY MODAL ── */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(10, 14, 30, 0.92);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }
  .modal-overlay.modal-open {
    opacity: 1;
    pointer-events: all;
  }

  .modal-panel {
    position: relative;
    background: var(--navy);
    border: 1px solid rgba(184,150,62,0.25);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem 2.5rem;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
  }
  .modal-overlay.modal-open .modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  /* Scrollbar styling for panel */
  .modal-panel::-webkit-scrollbar { width: 4px; }
  .modal-panel::-webkit-scrollbar-track { background: transparent; }
  .modal-panel::-webkit-scrollbar-thumb { background: rgba(184,150,62,0.3); }

  /* Rose window watermark */
  .modal-rose {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 340px; height: 340px;
    opacity: 0.05;
    pointer-events: none;
    animation: slowRotate 120s linear infinite;
  }

  /* Header */
  .modal-header { position: relative; z-index: 1; text-align: center; margin-bottom: 1.75rem; }
  .modal-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.75rem;
  }
  .modal-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.04em;
    margin-bottom: 0.9rem;
    line-height: 1.2;
  }
  .modal-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Divider */
  .modal-divider {
    width: 50px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 1.75rem auto;
    position: relative; z-index: 1;
  }

  /* Prayer block */
  .modal-prayer-block {
    position: relative; z-index: 1;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--gold);
    border-right: 1px solid rgba(184,150,62,0.1);
    border-top: 1px solid rgba(184,150,62,0.1);
    border-bottom: 1px solid rgba(184,150,62,0.1);
    padding: 1.75rem 1.75rem 1.75rem 2rem;
  }
  .modal-prayer-label {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    margin-bottom: 1.1rem;
    text-transform: uppercase;
  }
  .modal-prayer-text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(255,255,255,0.82);
    font-style: italic;
  }
  .modal-prayer-response {
    font-weight: 600;
    font-style: normal;
    color: var(--gold-pale);
  }
  .modal-prayer-source {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.28);
    text-transform: uppercase;
    margin-top: 1.25rem;
  }

  /* Footer */
  .modal-footer { position: relative; z-index: 1; text-align: center; }
  .modal-invitation {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.45);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  .modal-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

  .modal-btn-primary {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1.8rem;
    border: none; cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
  }
  .modal-btn-primary:hover { background: var(--gold-light); }

  .modal-btn-ghost {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    background: transparent;
    color: rgba(255,255,255,0.55);
    padding: 0.75rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.2s;
  }
  .modal-btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: rgba(255,255,255,0.85); }

  @media (max-width: 480px) {
    .modal-panel { padding: 2rem 1.5rem; }
    .modal-actions { flex-direction: column; align-items: center; }
    .modal-btn-primary, .modal-btn-ghost { width: 100%; text-align: center; }
  }

  /* ── SCRIPTURAL PRAYER / PSALM GUIDE ── */

  .psalm-collection-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(184,150,62,0.2);
    margin-bottom: 1.75rem;
  }
  .psalm-col-btn {
    background: rgba(255,255,255,0.04);
    border: none;
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  }
  .psalm-col-btn:hover { background: rgba(255,255,255,0.08); }
  .psalm-col-btn.active { background: rgba(184,150,62,0.18); }
  .pcb-name {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: var(--gold-light);
    letter-spacing: 0.04em;
    font-weight: 400;
  }
  .psalm-col-btn.active .pcb-name { color: var(--gold); }
  .pcb-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
  }

  /* Psalm selector strip */
  .psalm-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 2rem;
  }
  .psalm-strip-btn {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(184,150,62,0.2);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .psalm-strip-btn:hover { border-color: var(--gold-light); color: rgba(255,255,255,0.85); }
  .psalm-strip-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
  }

  /* Two-column display */
  .psalm-display {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
  }
  @media (min-width: 900px) { .psalm-display { grid-template-columns: 3fr 2fr; gap: 4rem; } }

  /* Left: psalm text */
  .psalm-text-col {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(184,150,62,0.12);
    border-left: 3px solid var(--gold);
    padding: 2rem 2rem 1.75rem 2.5rem;
  }
  .psalm-number-badge {
    font-family: 'Lato', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }
  .psalm-title-block { margin-bottom: 1rem; }
  .psalm-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: var(--gold-light);
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 0.25rem;
  }
  .psalm-numbering {
    font-family: 'Lato', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
  }
  .psalm-theme-block {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(184,150,62,0.12);
  }
  .psalm-body {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(255,255,255,0.85);
    font-style: italic;
    margin-bottom: 1.5rem;
  }
  .psalm-body .ps-verse-num {
    font-style: normal;
    font-family: 'Lato', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: rgba(184,150,62,0.5);
    vertical-align: super;
    margin-right: 0.2rem;
    user-select: none;
  }
  .psalm-body .ps-selah {
    font-style: normal;
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(184,150,62,0.45);
    text-transform: uppercase;
    margin-left: 0.75rem;
  }
  .psalm-doxology {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.38);
    font-style: italic;
    line-height: 1.75;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(184,150,62,0.12);
  }

  /* Right: context */
  .psalm-context-col { display: flex; flex-direction: column; gap: 0; }
  .psalm-context-block {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(184,150,62,0.12);
  }
  .psalm-context-block:first-child { padding-top: 0; }
  .psalm-context-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.65rem;
  }
  .psalm-context-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.7;
  }
  .psalm-father-block { border-bottom: none; }
  .psalm-father-text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 0.6rem;
  }
  .psalm-father-attr {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
  }

  /* ── SCRIPTURE & LECTIO DIVINA ── */
  .scripture-section { background: var(--stone); color: white; }
  .scripture-section .section-title { color: var(--gold-light); }

  .scripture-tabs {
    display: flex; gap: 0; flex-wrap: wrap;
    border-bottom: 2px solid rgba(184,150,62,0.2);
    margin-bottom: 3rem;
  }
  .scripture-tab-btn {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding: 0.9rem 1.8rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .scripture-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
  .scripture-tab-btn:hover:not(.active) { color: rgba(255,255,255,0.8); }

  .scripture-panel { display: none; }
  .scripture-panel.active { display: block; }

  /* Lectio stages */
  .lectio-stages { display: grid; grid-template-columns: 1fr; gap: 2rem; }
  @media (min-width: 769px) { .lectio-stages { grid-template-columns: 1fr 1fr; } }

  .lectio-stage {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(184,150,62,0.15);
    border-top: 3px solid var(--gold);
    padding: 2rem;
  }
  .lectio-stage-number {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }
  .lectio-stage-name {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
  }
  .lectio-stage-latin {
    font-size: 0.8rem;
    font-style: italic;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.2rem;
  }
  .lectio-stage-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
  }
  .lectio-stage-prompt {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(184,150,62,0.08);
    border-left: 2px solid var(--gold);
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
  }

  .lectio-intro {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
  }
  .lectio-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
  }

  /* Examen steps */
  .examen-steps { display: flex; flex-direction: column; gap: 0; max-width: 820px; margin: 0 auto; }

  .examen-step {
    display: block;
    gap: 0 1.8rem;
    margin: 2rem 0;
    border-bottom: 1px solid rgba(184,150,62,0.12);
  }
  .examen-step:last-child { border-bottom: none; }

  .examen-step-num {
    width: 56px; height: 56px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.2rem;
  }
  .examen-step-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
  }
  .examen-step-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
  }
  .examen-step-scripture {
    margin-top: 0.7rem;
    font-size: 0.82rem;
    font-style: italic;
    color: rgba(184,150,62,0.75);
  }

  .examen-intro {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
  }
  .examen-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
  }

  /* Today's readings panel */
  .lectio-today-block {
    max-width: 780px;
    margin: 0 auto;
  }
  .lectio-today-reading {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(184,150,62,0.15);
    border-left: 3px solid var(--gold);
    padding: 2rem 2rem 2rem 2.5rem;
    margin-bottom: 2.5rem;
  }
  .lectio-today-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }
  .lectio-today-ref {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
  }
  .lectio-today-note {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
  }
  .lectio-today-steps {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .lectio-today-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
  }
  .lectio-today-step-label {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-transform: uppercase;
    white-space: nowrap;
    padding-top: 0.1rem;
    min-width: 90px;
  }
  .lectio-usccb-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(184,150,62,0.4);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .lectio-usccb-link:hover { color: var(--gold-light); border-color: var(--gold-light); }
