/* ============================================================
   HMUCC Bootstrap Theme — Custom variables and overrides
   ============================================================ */

/* Google Fonts loaded in <head> */

/* Temporarily-disabled features (member portal, sermons) are marked with the
   `hidden` attribute in the markup. This guard beats Bootstrap's display
   utilities so they stay invisible. Remove the attribute to re-enable. */
[hidden] { display: none !important; }

/* ── Palette ──────────────────────────────────────────────
   Derived from the HMUCC-DMV crest (hmucc-logo.png). The crest's
   dominant dark is black (36% of its pixels) — not navy, which
   appears only in the tiny US-flag canton — so the primary dark is
   a warm near-black. Gold is the sunburst marigold; red is the
   HMUCC-DMV wordmark and the martyrs' robes.
   Contrast: text/ink/red on white and gold-lt on ink are all AAA;
   muted and success are AA. Gold clears AA only at large sizes, so
   use it for headings, rules and icons — never for body copy, and
   put ink (not white) on a gold fill. */
:root {
  --ink:         #141210;  /* replaces --navy  (was 1b2a4a) */
  --ink-2:       #26221c;  /* replaces --navy-2 (was 243660) */
  --gold:        #b8860f;  /* was c8973a — that value failed WCAG on white */
  --gold-lt:     #e0a521;
  --gold-muted:  #f7ecd4;
  --red:         #a81c1c;  /* new — from the crest wordmark */
  --red-muted:   #fbeaea;
  --cream:       #faf6ef;
  --white:       #ffffff;
  --text:        #241f1a;
  --muted:       #6f675e;
  --border:      #e8e1d5;
  --success:     #2e7d52;
  --r-sm:        0.25rem;
  --r-md:        0.375rem;
  --r-lg:        0.5rem;
  --r-xl:        0.75rem;
  --r-2xl:        1rem;
  --r-full:       9999px;
  --sh-sm:        0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --sh-lg:        0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --sh-xl:        0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --sh-2xl:        0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  /* Bootstrap overrides */
  --bs-primary: #141210;
  --bs-warning: #b8860f;
  --bs-body-font-family: var(--sans);
  --bs-border-color: #e8e1d5;
}

/* Bootstrap Customizations */
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
}

.text-ink { color: var(--ink) !important; }
.bg-ink { background-color: var(--ink) !important; }
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }

.btn-outline-primary {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-primary:hover {
  background-color: var(--ink);
  border-color: var(--ink);
}

.btn-warning {
  background-color: var(--gold);
  border-color: var(--gold);
  /* ink, not white: white on this marigold is only 3.25:1 */
  color: var(--ink);
}

.btn-warning:hover {
  background-color: var(--gold-lt);
  border-color: var(--gold-lt);
}

.navbar-brand {
  font-family: var(--serif);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.25rem;
  height: 2px;
  background: var(--gold);
  border-radius: 9999px;
}

.nav-link.active {
  position: relative;
  color: var(--ink) !important;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.15);
}

.ls-2 {
  letter-spacing: 0.12em;
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--sans);color:var(--text);background:var(--cream);-webkit-font-smoothing:antialiased;min-height:100dvh;display:flex;flex-direction:column}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font:inherit}
input,select,textarea{font:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:var(--r-sm)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ── Skip link ── */
.skip{position:absolute;top:-100%;left:1rem;z-index:9999;padding:.5rem 1rem;background:var(--ink);color:#fff;border-radius:0 0 var(--r-md) var(--r-md);font-size:.875rem;font-weight:600;transition:top .15s}
.skip:focus{top:0}

/* ── Container ── */
.wrap{width:100%;max-width:80rem;margin-inline:auto;padding-inline:clamp(1.25rem,5vw,3rem)}
.wrap--narrow{max-width:56rem}

/* ── Section spacing ── */
.section{padding-block:clamp(3rem,8vw,6rem)}
.section--sm{padding-block:clamp(2rem,5vw,4rem)}

/* ── Overline ── */
.overline{display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}

/* ── Section header ── */
.section-hd{text-align:center;max-width:42rem;margin-inline:auto;margin-bottom:clamp(2rem,5vw,4rem)}
.section-hd h2{font-family:var(--serif);font-size:clamp(1.75rem,4vw,2.5rem);color:var(--ink);margin:.75rem 0 1rem}
.section-hd p{color:var(--muted);font-size:1.05rem;line-height:1.75}

/* ── Headings ── */
h1,h2,h3,h4{font-family:var(--serif);line-height:1.2;color:var(--ink)}

/* ── Divider accent ── */
.divider-accent{width:3rem;height:2px;background:var(--gold);border-radius:var(--r-full);display:inline-block}

/* ─────────────────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────────────────── */
.navbar{position:sticky;top:0;z-index:200;height:var(--nav-h);background:var(--white);border-bottom:1px solid transparent;transition:border-color .25s var(--ease),box-shadow .25s var(--ease)}
.navbar.scrolled{border-color:var(--border);box-shadow:var(--sh-sm)}
.navbar .wrap{display:flex;align-items:center;height:100%;gap:2rem}

.brand{display:flex;align-items:center;gap:.75rem;flex-shrink:0;text-decoration:none}
.brand-logo{height:2.4rem;width:2.4rem}
/* The crest is a full-colour raster seal — keep it square and unclipped. */
img.brand-logo{height:2.75rem;width:2.75rem;object-fit:contain}
.brand-name{font-family:var(--serif);font-size:1.1rem;font-weight:700;color:var(--ink);line-height:1.2}
.brand-name span{display:block;font-family:var(--sans);font-size:.65rem;font-weight:500;letter-spacing:.06em;color:var(--muted);text-transform:uppercase}

.nav-links{display:flex;align-items:center;gap:.25rem;flex:1;justify-content:center}
.nav-links a{padding:.5rem .75rem;font-size:.875rem;font-weight:500;color:var(--text);border-radius:var(--r-md);transition:color .15s,background .15s;white-space:nowrap;position:relative}
.nav-links a:hover,.nav-links a.active{color:var(--ink);background:var(--cream)}
.nav-links a.active::after{content:'';position:absolute;bottom:-.2rem;left:50%;translate:-50% 0;width:1.25rem;height:2px;background:var(--gold);border-radius:var(--r-full)}

.nav-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.nav-toggle{display:none;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--r-md);color:var(--ink)}
.nav-toggle:hover{background:var(--cream)}
@media(max-width:63.9rem){
  .nav-links{display:none}
  .nav-toggle{display:flex}
  .nav-actions .btn--outline{display:none}
}

/* Drawer */
.drawer{position:fixed;inset:0 0 0 auto;width:min(20rem,85vw);background:var(--white);box-shadow:var(--sh-xl);padding:1.5rem;z-index:300;translate:100% 0;transition:translate .4s var(--ease);display:flex;flex-direction:column;gap:.25rem;overflow-y:auto}
.drawer.open{translate:0 0}
.drawer-close{align-self:flex-end;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:var(--r-md);color:var(--muted);margin-bottom:1rem}
.drawer a{display:block;padding:.75rem 1rem;font-size:1rem;font-weight:500;color:var(--text);border-radius:var(--r-md);transition:background .15s,color .15s}
.drawer a:hover,.drawer a.active{background:var(--cream);color:var(--ink)}
.drawer-footer{margin-top:auto;padding-top:1.5rem;border-top:1px solid var(--border)}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:299;opacity:0;pointer-events:none;transition:opacity .4s;backdrop-filter:blur(2px)}
.overlay.show{opacity:1;pointer-events:auto}

/* ─────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.65em 1.4em;font-size:.875rem;font-weight:600;line-height:1.2;border-radius:var(--r-full);border:2px solid transparent;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s,box-shadow .15s,translate .15s;text-decoration:none}
.btn:hover{translate:0 -1px}
.btn:active{translate:0 1px}
.btn--primary{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn--primary:hover{background:var(--ink-2);box-shadow:var(--sh-md)}
/* ink, not white: white on this marigold is only 3.25:1 */
.btn--accent{background:var(--gold);color:var(--ink);border-color:var(--gold);font-weight:600}
.btn--accent:hover{background:var(--gold-lt);box-shadow:var(--sh-md)}
.btn--outline{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn--outline:hover{background:var(--ink);color:#fff}
.btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.btn--ghost:hover{background:rgba(255,255,255,.12);border-color:#fff}
.btn--sm{font-size:.78rem;padding:.5em 1em}
.btn--lg{font-size:1rem;padding:.8em 1.8em}
.btn--full{width:100%}

.link-arrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:var(--gold);transition:gap .15s,color .15s}
.link-arrow:hover{color:var(--ink);gap:.75rem}
.link-arrow::after{content:'→'}

/* ─────────────────────────────────────────────────────────
   BADGES
───────────────────────────────────────────────────────── */
.badge{display:inline-flex;align-items:center;padding:.25em .7em;font-size:.72rem;font-weight:600;letter-spacing:.03em;border-radius:var(--r-full);line-height:1}
.badge--gold{background:var(--gold-muted);color:#8a6410}
.badge--ink{background:var(--ink);color:#fff}
.badge--muted{background:var(--cream);color:var(--muted);border:1px solid var(--border)}

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.hero{position:relative;min-height:clamp(30rem,78vh,54rem);display:grid;place-items:center;overflow:hidden;background:var(--ink)}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.hero::after{content:'';position:absolute;inset:0;}
.hero-content{position:relative;z-index:1;max-width:54rem;padding:4rem clamp(1.25rem,5vw,3rem)}
.hero-overline{display:flex;align-items:center;gap:.75rem;color:var(--gold-lt);font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1.25rem}
.hero-overline::before{content:'';width:2rem;height:2px;background:var(--gold);border-radius:var(--r-full);flex-shrink:0}
.hero h1{color:#fff;font-size:clamp(2.25rem,6vw,4rem);line-height:1.08;margin-bottom:1.5rem}
.hero h1 em{font-style:italic;color:var(--gold-lt)}
.hero-lead{color:rgba(255,255,255,.8);font-size:1.1rem;line-height:1.75;max-width:44ch;margin-bottom:2.5rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem}

/* Welcome strip */
.welcome-strip{background:var(--gold-muted);padding:.875rem 0;text-align:center;font-size:.875rem;color:var(--ink);font-weight:500;border-bottom:1px solid #eeddb4}
.welcome-strip a{color:var(--ink);font-weight:700;border-bottom:1px solid var(--gold)}

/* ─────────────────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────────────────── */
.page-hero{background:var(--ink);padding:clamp(3rem,8vw,5rem) 0;position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;top:-35%;right:-8%;width:36rem;height:36rem;border-radius:var(--r-full);background:radial-gradient(circle,rgba(224,165,33,.14),transparent 70%);pointer-events:none}
.page-hero .wrap{position:relative;z-index:1}
.breadcrumb{display:flex;gap:.5rem;align-items:center;font-size:.82rem;color:rgba(255,255,255,.45);margin-bottom:1rem;flex-wrap:wrap}
.breadcrumb a{color:var(--gold-lt);transition:color .15s}
.breadcrumb a:hover{color:#fff}
.page-hero h1{color:#fff;margin-bottom:.75rem}
.page-hero p{color:rgba(255,255,255,.7);max-width:52ch;font-size:1.05rem;line-height:1.75}

/* ─────────────────────────────────────────────────────────
   CARDS
───────────────────────────────────────────────────────── */
.card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .25s var(--ease),translate .25s var(--ease),border-color .25s}
.card:hover{box-shadow:var(--sh-lg);translate:0 -4px;border-color:var(--gold)}
.card-img{aspect-ratio:16/9;overflow:hidden;background:var(--cream)}
.card-img img{width:100%;height:100%;object-fit:cover;transition:scale .4s var(--ease)}
.card:hover .card-img img{scale:1.05}
.card-body{padding:1.5rem;flex:1;display:flex;flex-direction:column;gap:.75rem}
.card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;font-size:.75rem;color:var(--muted)}
.card-title{font-family:var(--serif);font-size:1.2rem;font-weight:700;color:var(--ink);line-height:1.3}
.card-title a:hover{color:var(--gold)}
.card-excerpt{font-size:.875rem;color:var(--muted);line-height:1.75;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card-footer{padding:.875rem 1.5rem;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}

/* Feature card (homepage 3-col) */
.feat-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);padding:2rem 1.75rem;display:flex;flex-direction:column;gap:1rem;cursor:pointer;text-decoration:none;transition:box-shadow .25s var(--ease),translate .25s var(--ease),border-color .25s}
.feat-card:hover{box-shadow:var(--sh-lg);translate:0 -4px;border-color:var(--gold)}
.feat-icon{width:3.25rem;height:3.25rem;border-radius:var(--r-lg);background:var(--gold-muted);display:flex;align-items:center;justify-content:center;color:var(--gold)}
.feat-card h3{font-family:var(--serif);font-size:1.25rem;color:var(--ink)}
.feat-card p{font-size:.875rem;color:var(--muted);line-height:1.75;flex:1}

/* Event card */
.ev-card{display:flex;gap:1.25rem;align-items:flex-start;padding:1.25rem;background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);transition:box-shadow .25s,translate .25s}
.ev-card:hover{box-shadow:var(--sh-md);translate:0 -2px}
.ev-date{flex-shrink:0;width:3.75rem;text-align:center;background:var(--ink);color:#fff;border-radius:var(--r-lg);padding:.5rem .25rem;display:flex;flex-direction:column;align-items:center}
.ev-day{font-family:var(--serif);font-size:1.75rem;font-weight:700;line-height:1}
.ev-month{font-size:.65rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-lt)}
.ev-content{flex:1;min-width:0}
.ev-title{font-family:var(--serif);font-size:1.05rem;font-weight:700;color:var(--ink);margin-bottom:.25rem}
.ev-title a:hover{color:var(--gold)}
.ev-meta{font-size:.8rem;color:var(--muted);display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}

/* Sermon card */
.ser-card{display:grid;grid-template-columns:auto 1fr;gap:1.25rem;align-items:center;padding:1.25rem;background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);transition:box-shadow .25s,translate .25s;text-decoration:none}
.ser-card:hover{box-shadow:var(--sh-md);translate:0 -2px}
.ser-play{width:3.25rem;height:3.25rem;border-radius:var(--r-full);background:var(--gold);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s,scale .15s;box-shadow:var(--sh-md)}
.ser-card:hover .ser-play{background:var(--gold-lt);scale:1.06}
.ser-title{font-family:var(--serif);font-size:1.05rem;font-weight:700;color:var(--ink);margin-bottom:.25rem}
.ser-meta{font-size:.78rem;color:var(--muted)}

/* Stat card */
.stat-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);padding:1.5rem;display:flex;flex-direction:column;gap:.375rem}
.stat-label{font-size:.82rem;color:var(--muted);font-weight:500}
.stat-value{font-family:var(--serif);font-size:2rem;font-weight:700;color:var(--ink);line-height:1}
.stat-change{font-size:.75rem;color:var(--success);font-weight:500}

/* ─────────────────────────────────────────────────────────
   GRIDS
───────────────────────────────────────────────────────── */
.grid{display:grid;gap:1.5rem}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr))}

/* ─────────────────────────────────────────────────────────
   MEDIA PLAYER
───────────────────────────────────────────────────────── */
.player{background:var(--ink);border-radius:var(--r-xl);overflow:hidden;display:grid;grid-template-columns:14rem 1fr;box-shadow:var(--sh-lg)}
@media(max-width:40rem){.player{grid-template-columns:1fr}}
.player-thumb{position:relative;overflow:hidden}
.player-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.player-thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,transparent 50%,var(--ink))}
.player-body{padding:2rem 1.75rem;color:#fff;display:flex;flex-direction:column;justify-content:center;gap:1rem}
.player-series{font-size:.7rem;color:var(--gold-lt);font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.player-title{font-family:var(--serif);font-size:clamp(1.2rem,3vw,1.6rem);line-height:1.3}
.player-speaker{font-size:.85rem;color:rgba(255,255,255,.65)}
.player-controls{display:flex;align-items:center;gap:1rem}
.play-btn{width:3rem;height:3rem;border-radius:var(--r-full);background:var(--gold);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:background .15s,scale .15s}
.play-btn:hover{background:var(--gold-lt);scale:1.05}
.play-btn.playing svg.play-icon{display:none}
.play-btn.playing svg.pause-icon{display:block}
.pause-icon{display:none}
.progress-wrap{flex:1;height:4px;background:rgba(255,255,255,.2);border-radius:var(--r-full);cursor:pointer;position:relative}
.progress-fill{width:28%;height:100%;background:var(--gold);border-radius:var(--r-full);transition:width .3s linear}
.player-time{font-size:.75rem;color:rgba(255,255,255,.55);font-variant-numeric:tabular-nums;white-space:nowrap}

/* ─────────────────────────────────────────────────────────
   CTA BAND
───────────────────────────────────────────────────────── */
.cta-band{background:var(--ink);padding:clamp(3rem,8vw,5rem) 0;text-align:center;position:relative;overflow:hidden}
.cta-band::before,.cta-band::after{content:'';position:absolute;border-radius:var(--r-full);pointer-events:none}
.cta-band::before{width:28rem;height:28rem;background:radial-gradient(circle,rgba(224,165,33,.2),transparent 70%);top:-12rem;left:-8rem}
.cta-band::after{width:20rem;height:20rem;background:radial-gradient(circle,rgba(224,165,33,.14),transparent 70%);bottom:-8rem;right:-4rem}
.cta-inner{position:relative;z-index:1;max-width:42rem;margin-inline:auto}
.cta-band h2{color:#fff;font-size:clamp(1.75rem,4vw,2.5rem);margin:1rem 0 1.25rem}
.cta-band p{color:rgba(255,255,255,.75);font-size:1.05rem;line-height:1.75;margin-bottom:2rem}
.cta-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}

/* ─────────────────────────────────────────────────────────
   GIVING PANEL
───────────────────────────────────────────────────────── */
.giving-band{background:var(--gold-muted);border-top:1px solid #eeddb4;border-bottom:1px solid #eeddb4;padding:clamp(2rem,5vw,3.5rem) 0}
.giving-inner{display:flex;flex-wrap:wrap;gap:2rem;align-items:center;justify-content:space-between}
.giving-text{}
.giving-text h2{font-size:clamp(1.4rem,3vw,2rem);color:var(--ink);margin:.5rem 0 .75rem}
.giving-text p{color:var(--muted);max-width:44ch;line-height:1.75}
.giving-amounts{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
.giving-amounts button{padding:.6em 1.4em;border-radius:var(--r-full);border:2px solid var(--gold);background:transparent;color:#8a6410;font-weight:600;font-size:.875rem;cursor:pointer;transition:background .15s,color .15s}
.giving-amounts button:hover,.giving-amounts button.sel{background:var(--gold);color:#fff}

/* ─────────────────────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────────────────────── */
.newsletter{background:var(--cream);border-top:1px solid var(--border);padding:clamp(2rem,5vw,3.5rem) 0}
.newsletter-inner{display:flex;flex-wrap:wrap;gap:2rem;align-items:center;justify-content:space-between}
.newsletter-text h3{font-size:1.3rem;color:var(--ink);margin-bottom:.4rem}
.newsletter-text p{font-size:.875rem;color:var(--muted)}
.signup-form{display:flex;gap:.5rem;flex-wrap:wrap;flex:1;max-width:32rem}
.signup-form input{flex:1;min-width:0;padding:.65rem .9rem;border:1.5px solid var(--border);border-radius:var(--r-full);font-size:.875rem;background:var(--white);color:var(--text);transition:border-color .15s,box-shadow .15s}
.signup-form input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(224,165,33,.15)}
.signup-form input::placeholder{color:var(--muted)}

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.site-footer{background:var(--ink);color:rgba(255,255,255,.7);font-size:.875rem;margin-top:auto}
.footer-top{padding:clamp(3rem,6vw,5rem) 0;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-grid{display:grid;gap:2.5rem;grid-template-columns:1fr}
@media(min-width:40rem){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:64rem){.footer-grid{grid-template-columns:2.2fr 1fr 1fr 1.3fr}}
.footer-brand-logo{height:2.2rem;width:auto;margin-bottom:1rem;filter:brightness(0) invert(1) opacity(.85)}
/* The crest is full-colour — cancel the white-out filter the SVG mark used. */
img.footer-brand-logo{height:4.5rem;width:4.5rem;object-fit:contain;filter:none}
.footer-brand-name{font-family:var(--serif);font-size:1.15rem;font-weight:700;color:#fff;margin-bottom:.5rem}
.footer-desc{max-width:26ch;line-height:1.75}
.footer-social{display:flex;gap:.75rem;margin-top:1.25rem}
.footer-social a{width:2.1rem;height:2.1rem;background:rgba(255,255,255,.1);border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.65);transition:background .15s,color .15s}
.footer-social a:hover{background:var(--gold);color:#fff}
.footer-col-h{font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff;margin-bottom:1rem}
.footer-links{display:flex;flex-direction:column;gap:.6rem}
.footer-links a{color:rgba(255,255,255,.6);transition:color .15s}
.footer-links a:hover{color:var(--gold-lt)}
.svc-times{display:flex;flex-direction:column;gap:.75rem;margin-top:.25rem}
.svc-row{display:flex;justify-content:space-between;gap:1rem;padding-bottom:.75rem;border-bottom:1px solid rgba(255,255,255,.07)}
.svc-row:last-child{border-bottom:none;padding-bottom:0}
.svc-day{color:#fff;font-weight:500}
.svc-time{color:var(--gold-lt)}
.footer-bottom{padding:1.25rem 0}
.footer-bottom-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.copyright{color:rgba(255,255,255,.38);font-size:.8rem}
.footer-meta-links{display:flex;gap:1.25rem}
.footer-meta-links a{color:rgba(255,255,255,.38);font-size:.78rem;transition:color .15s}
.footer-meta-links a:hover{color:rgba(255,255,255,.7)}

/* ─────────────────────────────────────────────────────────
   MEMBER PORTAL
───────────────────────────────────────────────────────── */
.portal-grid{display:grid;gap:2rem}
@media(min-width:64rem){.portal-grid{grid-template-columns:1fr 22rem;align-items:start}}
.portal-sidebar{position:sticky;top:calc(var(--nav-h) + 1.5rem);display:flex;flex-direction:column;gap:1rem}
.sidebar-widget{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);padding:1.5rem}
.sidebar-widget h4{font-size:1rem;color:var(--ink);margin-bottom:1rem}

/* Tabs */
.tabs{display:flex;gap:.25rem;background:var(--cream);border:1px solid var(--border);border-radius:var(--r-full);padding:.3rem;margin-bottom:1.5rem;flex-wrap:wrap}
.tab-btn{padding:.45em 1.2em;border-radius:var(--r-full);font-size:.82rem;font-weight:600;color:var(--muted);cursor:pointer;transition:background .15s,color .15s;border:none;background:transparent}
.tab-btn.active{background:var(--white);color:var(--ink);box-shadow:var(--sh-sm)}
.tab-panel{display:none}
.tab-panel.active{display:block}

/* ─────────────────────────────────────────────────────────
   FORMS
───────────────────────────────────────────────────────── */
.form-group{display:flex;flex-direction:column;gap:.5rem}
.form-group+.form-group{margin-top:1.25rem}
.form-label{font-size:.875rem;font-weight:500;color:var(--text)}
.form-control{display:block;width:100%;padding:.65rem .9rem;background:var(--white);border:1.5px solid var(--border);border-radius:var(--r-md);font-size:.95rem;color:var(--text);transition:border-color .15s,box-shadow .15s;appearance:none}
.form-control:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(224,165,33,.15)}
.form-control::placeholder{color:var(--muted)}

/* ─────────────────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────────────────── */
.reveal{opacity:0;transform:translateY(1.5rem);transition:opacity .55s var(--ease),transform .55s var(--ease)}
.reveal.visible{opacity:1;transform:none}
.reveal-delay-1{transition-delay:.1s}
.reveal-delay-2{transition-delay:.2s}
.reveal-delay-3{transition-delay:.3s}

/* ─────────────────────────────────────────────────────────
   ABOUT STRIP
───────────────────────────────────────────────────────── */
.about-strip{display:grid;gap:2.5rem;align-items:center}
@media(min-width:52rem){.about-strip{grid-template-columns:1fr 1fr}}
.about-img{border-radius:var(--r-xl);overflow:hidden;aspect-ratio:4/3}
.about-img img{width:100%;height:100%;object-fit:cover}
.about-text .overline{margin-bottom:.75rem}
.about-text h2{margin-bottom:1rem}
.about-text p{color:var(--muted);line-height:1.8;margin-bottom:1.5rem}
.about-stats{display:flex;gap:2rem;flex-wrap:wrap;margin-bottom:1.75rem}
.astat-val{font-family:var(--serif);font-size:2rem;font-weight:700;color:var(--ink)}
.astat-label{font-size:.78rem;color:var(--muted);font-weight:500}

/* ─────────────────────────────────────────────────────────
   TOAST NOTIFICATION
───────────────────────────────────────────────────────── */
.toast{position:fixed;bottom:2rem;right:2rem;background:var(--ink);color:#fff;padding:1rem 1.5rem;border-radius:var(--r-xl);box-shadow:var(--sh-xl);font-size:.875rem;max-width:22rem;z-index:1000;translate:0 6rem;opacity:0;transition:translate .4s var(--ease),opacity .4s;pointer-events:none;display:flex;align-items:center;gap:.75rem}
.toast.show{translate:0 0;opacity:1;pointer-events:auto}
.toast-icon{width:2rem;height:2rem;border-radius:var(--r-full);background:var(--gold);display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* ─────────────────────────────────────────────────────────
   UTILITIES
───────────────────────────────────────────────────────── */
.flex-between{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.text-center{text-align:center}
.text-muted{color:var(--muted)}
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}
.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.gap-3{gap:.75rem}
