/* =========================================================
   Trinity Evangelical Lutheran Church
   Mobile-first, no framework, no third-party requests.
   ========================================================= */

:root{
  /* Palette: warm cream paper, deep oxblood, aged gold */
  --paper:      #faf6ef;
  --paper-2:    #f2eade;
  --ink:        #1d1613;
  --ink-2:      #4a3d35;
  --muted:      #7a6a5e;
  --wine:       #8c2232;
  --wine-dark:  #6b1626;
  --wine-deep:  #2a1116;
  --gold:       #c08a2e;
  --gold-soft:  #e8c98a;
  --line:       rgba(29,22,19,.12);
  --line-light: rgba(255,255,255,.16);

  /* Type: system stacks — zero network cost, instant first paint.
     Swap --font-display for a self-hosted .woff2 if a display face is added. */
  --font-display: "Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  --font-body:    -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  --wrap: 1120px;
  --pad: 2rem;
  --radius: 4px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:72px;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:1.0625rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:var(--wine); text-decoration-thickness:1px; text-underline-offset:3px; }
a:hover{ color:var(--wine-dark); }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--pad); }
@media (max-width:600px){ :root{ --pad:1.25rem; } }

.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{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--wine); color:#fff; padding:.75rem 1.25rem;
}
.skip:focus{ left:0; }

:where(a,button,[tabindex]):focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px;
  border-radius:2px;
}

/* ---------------- Typography primitives ---------------- */

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.015em;
  margin:0 0 .5em;
  text-wrap:balance;
}

.eyebrow{
  font-family:var(--font-body);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--wine);
  margin:0 0 1rem;
}
.eyebrow.light{ color:var(--gold-soft); }

.section-title{
  font-size:clamp(2rem,6.2vw,3.15rem);
  margin-bottom:.6rem;
}
.section-title.light{ color:#fff; }

.lede{
  font-size:clamp(1.125rem,2.6vw,1.375rem);
  line-height:1.5;
  color:var(--ink-2);
  max-width:46ch;
  text-wrap:pretty;
}
.muted{ color:var(--muted); }

section{ padding-block:clamp(4rem,10vw,7.5rem); }

/* ---------------- Buttons ---------------- */

.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  min-height:52px;                      /* generous mobile tap target */
  padding:.85rem 1.6rem;
  font:inherit; font-weight:600; font-size:1rem;
  border-radius:var(--radius);
  text-decoration:none;
  border:1.5px solid transparent;
  transition:transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:active{ transform:translateY(1px); }
.btn .ico{ font-size:1.05em; line-height:1; }

.btn-primary{
  background:var(--wine); color:#fff;
  box-shadow:0 6px 18px rgba(140,34,50,.28);
}
.btn-primary:hover{ background:var(--wine-dark); color:#fff; box-shadow:0 8px 24px rgba(140,34,50,.36); }

.btn-ghost{
  background:transparent; color:#fff; border-color:rgba(255,255,255,.55);
  backdrop-filter:blur(3px);
}
.btn-ghost:hover{ background:rgba(255,255,255,.12); color:#fff; border-color:#fff; }

.btn-light{ background:var(--gold); color:var(--wine-deep); }
.btn-light:hover{ background:var(--gold-soft); color:var(--wine-deep); }

/* ---------------- Header ---------------- */

.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,246,239,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; min-height:64px;
}
.brand{
  display:flex; align-items:center; gap:.65rem;
  text-decoration:none; color:var(--ink);
}
/* Header: the mark on its own (cross, host, chalice and paten), in its original
   black-and-gold, on the cream ground. Portrait proportions, so it is set by
   height and runs narrow beside the wordmark text. */
.brand-logo{ height:46px; width:auto; flex:none; }
@media (max-width:600px){ .brand-logo{ height:42px; } }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{
  font-family:var(--font-display); font-size:1.3rem;
  font-weight:600; letter-spacing:-.01em;
}
.brand-text em{
  font-style:normal; font-size:.6rem; font-weight:600;
  letter-spacing:.13em; text-transform:uppercase; color:var(--muted);
}

.nav ul{ display:flex; gap:1.6rem; list-style:none; margin:0; padding:0; }
.nav a{
  font-size:.875rem; font-weight:600; letter-spacing:.04em;
  text-transform:uppercase; color:var(--ink-2); text-decoration:none;
  padding-block:.4rem; border-bottom:2px solid transparent;
}
.nav a:hover{ color:var(--wine); border-bottom-color:var(--wine); }

/* Small screens: the nav becomes a scrollable rail — no JS menu, no hamburger. */
@media (max-width:760px){
  .header-inner{ flex-direction:column; align-items:stretch; gap:0; min-height:0; padding-block:.6rem 0; }
  .brand{ justify-content:center; padding-bottom:.5rem; }
  .nav{
    overflow-x:auto; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; border-top:1px solid var(--line);
  }
  .nav::-webkit-scrollbar{ display:none; }
  /* Five items have to fit a 375px rail without looking clipped. */
  .nav ul{ gap:1rem; padding:.1rem .25rem; justify-content:center; min-width:max-content; }
  .nav a{ white-space:nowrap; padding-block:.85rem; font-size:.8rem; letter-spacing:.03em; }
  html{ scroll-padding-top:112px; }
}

/* Comfortable tap targets for the dense link lists (footer, signature). */
.site-footer a,
.signature a{ display:inline-block; padding-block:.55rem; }
.foot-base a{ padding-block:.5rem; }

/* ---------------- Hero ---------------- */

.hero{
  position:relative;
  padding:0;
  min-height:clamp(560px,88svh,760px);
  display:flex; align-items:flex-end;
  background:var(--wine-deep);
  isolation:isolate;
}
.hero-media{ position:absolute; inset:0; z-index:-2; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(to top, rgba(42,17,22,.94) 0%, rgba(42,17,22,.72) 38%, rgba(42,17,22,.25) 70%, rgba(42,17,22,.4) 100%);
}
.hero-body{ width:100%; padding-block:clamp(2.5rem,7vw,4.5rem); color:#fff; }
.hero .eyebrow{ color:var(--gold-soft); }

.hero h1{
  font-size:clamp(2.35rem,8.2vw,4.6rem);
  color:#fff;
  max-width:17ch;
  margin-bottom:1.5rem;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
}
@media (max-width:520px){ .hero h1 br{ display:none; } }

.hero-time{ margin:0 0 2rem; display:flex; flex-direction:column; gap:.3rem; }
.hero-time .big{
  font-family:var(--font-display);
  font-size:clamp(1.4rem,4.6vw,1.9rem);
  font-weight:600; color:var(--gold-soft);
}
.hero-time .sub{ font-size:1rem; color:rgba(255,255,255,.86); }

.hero-actions{ display:flex; flex-wrap:wrap; gap:.85rem; margin:0; }
@media (max-width:400px){ .hero-actions .btn{ width:100%; justify-content:center; } }

/* ---- Hero, wide screens ----------------------------------------------------
   On a phone the hero is taller than the photo is wide, so `cover` crops the
   sides and the cross lands nicely behind the text. On desktop the box becomes
   much wider than 16:9, so `cover` scales to the WIDTH and crops only vertically
   — object-position has no horizontal room left to work with, and the cross is
   stranded dead centre under the headline.

   So on wide screens the photo is given the right-hand side of the hero and the
   left becomes a solid panel for the text. The gradient runs across the seam so
   the picture dissolves into the panel instead of butting against it.
--------------------------------------------------------------------------- */
@media (min-width:900px){
  .hero-media{ left:36%; }
  .hero-media img{ object-position:center center; }

  .hero::after{
    background:
      linear-gradient(to right,
        var(--wine-deep)      0%,
        var(--wine-deep)      28%,
        rgba(42,17,22,.94)    44%,
        rgba(42,17,22,.62)    60%,
        rgba(42,17,22,.20)    78%,
        rgba(42,17,22,.34)   100%),
      linear-gradient(to top,
        rgba(42,17,22,.70)    0%,
        rgba(42,17,22,.18)   38%,
        transparent          62%);
  }

  /* Keep the copy clear of the bright part of the photograph. */
  .hero-body .wrap > *{ max-width:min(48%, 620px); }
  .hero h1{ max-width:13ch; }
}

/* Very wide screens: give the photo a little more room so it does not stretch. */
@media (min-width:1600px){
  .hero-media{ left:40%; }
}

/* Entrance animation (hero only — one orchestrated moment, staggered) */
.reveal{ animation:rise .8s cubic-bezier(.22,.8,.3,1) both; }
.reveal.d1{ animation-delay:.09s; }
.reveal.d2{ animation-delay:.18s; }
.reveal.d3{ animation-delay:.27s; }
@keyframes rise{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }

/* Scroll reveals — only applied once JS confirms support */
.js .rv{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s cubic-bezier(.22,.8,.3,1); }
.js .rv.in{ opacity:1; transform:none; }

/* ---------------- Welcome ---------------- */

.welcome-grid{ display:grid; gap:clamp(2rem,5vw,4rem); align-items:center; }
@media (min-width:840px){ .welcome-grid{ grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); } }

.welcome-photo{ position:relative; }
.welcome-photo img{
  width:100%; aspect-ratio:3/4; object-fit:cover;
  border-radius:var(--radius);
}
/* Offset gold rule — a small grid-breaking detail */
.welcome-photo::before{
  content:""; position:absolute; inset:auto -14px -14px auto;
  width:62%; height:62%;
  border-right:3px solid var(--gold); border-bottom:3px solid var(--gold);
  border-radius:0 0 var(--radius) 0;
  z-index:-1;
}
@media (max-width:520px){ .welcome-photo::before{ display:none; } }

.signature{ margin-top:1.75rem; display:flex; align-items:center; gap:.95rem; }
.signature-photo{
  width:66px; height:66px; flex:none;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--gold);
}
.signature-text{ display:flex; flex-direction:column; gap:.1rem; min-width:0; }
.signature strong{ font-family:var(--font-display); font-size:1.15rem; }
.signature a{ overflow-wrap:anywhere; }
@media (max-width:420px){
  .signature-photo{ width:58px; height:58px; }
  .signature a{ font-size:.92rem; }
}

/* ---------------- Sundays (dark band) ---------------- */

.sundays{
  background:var(--wine-deep);
  color:rgba(255,255,255,.88);
  background-image:radial-gradient(120% 90% at 15% 0%, rgba(192,138,46,.16) 0%, transparent 60%);
}
.schedule{ list-style:none; margin:2.75rem 0 0; padding:0; }
.schedule li{
  display:grid; gap:.4rem 2rem;
  padding:1.6rem 0;
  border-top:1px solid var(--line-light);
}
.schedule li:last-child{ border-bottom:1px solid var(--line-light); }
@media (min-width:760px){
  .schedule li{ grid-template-columns:minmax(210px,1fr) 3fr; align-items:baseline; }
}
.schedule .when{
  font-family:var(--font-display);
  font-size:clamp(1.25rem,3.4vw,1.6rem);
  color:var(--gold-soft); white-space:nowrap;
}
.schedule .what{ display:flex; flex-direction:column; gap:.2rem; }
.schedule .what strong{
  font-family:var(--font-display); font-size:1.3rem;
  font-weight:600; color:#fff; letter-spacing:-.01em;
}

/* ---------------- Story / timeline ---------------- */

.story{ background:var(--paper); }
.story-lede{ max-width:58ch; margin-bottom:clamp(2.5rem,6vw,4rem); }

.timeline{
  list-style:none; margin:0; padding:0;
  position:relative;
  padding-left:1.9rem;
}
.timeline::before{
  content:""; position:absolute; left:5px; top:.6rem; bottom:.6rem;
  width:2px;
  background:linear-gradient(to bottom,var(--gold) 0%,rgba(192,138,46,.35) 70%,transparent 100%);
}
.timeline li{ position:relative; padding-bottom:2.5rem; }
.timeline li:last-child{ padding-bottom:0; }
.timeline li::before{
  content:""; position:absolute; left:-1.9rem; top:.45rem;
  width:12px; height:12px; border-radius:50%;
  background:var(--paper); border:2.5px solid var(--gold);
}
.timeline li.now::before{ background:var(--wine); border-color:var(--wine); box-shadow:0 0 0 5px rgba(140,34,50,.14); }

.timeline .year{
  display:block;
  font-family:var(--font-body);
  font-size:.8rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--wine);
  margin-bottom:.3rem;
}
.timeline h3{ font-size:1.4rem; margin-bottom:.35rem; }
.timeline p{ margin:0; color:var(--ink-2); max-width:56ch; }

@media (min-width:840px){
  .timeline{ padding-left:0; }
  .timeline::before{ left:112px; }
  .timeline li{ display:grid; grid-template-columns:100px 1fr; gap:0 3.25rem; }
  .timeline li::before{ left:106px; }
  .timeline .year{ text-align:right; padding-top:.3rem; margin:0; }
}

/* ---------------- Full history (disclosure) ---------------- */

.history{ margin-top:clamp(2.5rem,6vw,3.5rem); border-top:1px solid var(--line); }

.history summary{
  display:flex; align-items:center; gap:.7rem;
  padding:1.4rem 0;
  cursor:pointer;
  list-style:none;                       /* hide the default triangle */
  font-family:var(--font-body);
  font-size:.8rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--wine);
  min-height:56px;                       /* comfortable tap target */
}
.history summary::-webkit-details-marker{ display:none; }
.history summary:hover .history-label{ color:var(--wine-dark); }
.history summary:focus-visible{ outline:3px solid var(--gold); outline-offset:4px; }

/* Chevron drawn in CSS — no icon file. */
.history-chev{
  width:9px; height:9px; flex:none;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translate(-2px,-2px);
  transition:transform .25s ease;
}
.history[open] .history-chev{ transform:rotate(-135deg) translate(-3px,-3px); }

.history-body{
  padding-bottom:1rem;
  max-width:68ch;                        /* comfortable measure for long reading */
  color:var(--ink-2);
}
.history-body h3{
  font-size:clamp(1.35rem,3.4vw,1.7rem);
  color:var(--ink);
  margin-bottom:1rem;
}
.history-body p{ margin:0 0 1.15em; text-wrap:pretty; }
.history-body p:last-child{ margin-bottom:0; }
.history-body strong{ color:var(--ink); }

/* Native <details> cannot animate its height on its own. Where the browser
   supports it, this opens smoothly; elsewhere it simply snaps open. */
@supports (interpolate-size: allow-keywords){
  :root{ interpolate-size: allow-keywords; }
  .history::details-content{
    block-size:0; overflow:hidden;
    transition:block-size .4s ease, content-visibility .4s allow-discrete;
  }
  .history[open]::details-content{ block-size:auto; }
}
@media (prefers-reduced-motion: reduce){
  .history-chev{ transition:none; }
  .history::details-content{ transition:none; }
}

/* ---------------- Visit ---------------- */

.visit{ background:var(--paper-2); border-top:1px solid var(--line); }
.visit-grid{ display:grid; gap:clamp(2rem,5vw,3.5rem); margin-top:2.5rem; }
@media (min-width:900px){ .visit-grid{ grid-template-columns:1.15fr .85fr; align-items:start; } }

.addr{
  font-family:var(--font-display); font-style:normal;
  font-size:1.35rem; line-height:1.45; margin-bottom:2rem;
}
.addr .muted{ font-family:var(--font-body); font-size:.9rem; }

.routes{ list-style:none; margin:0 0 2rem; padding:0; display:grid; gap:1.1rem; }
.routes li{ display:grid; grid-template-columns:auto 1fr; gap:1rem; align-items:start; }
.routes div{ display:flex; flex-direction:column; gap:.15rem; }
.routes strong{ font-size:1.02rem; }
.routes p, .routes div{ color:var(--ink-2); }

.badge{
  display:grid; place-items:center;
  min-width:38px; height:38px; padding-inline:.55rem;
  border-radius:999px;
  font-size:.82rem; font-weight:700; color:#fff;
  font-family:var(--font-body); letter-spacing:.02em;
}
.badge-6{ background:#00933c; }        /* MTA 6 line green */
.badge-bus{ background:#2c5697; }      /* MTA bus blue */

.facts{ list-style:none; margin:0 0 2rem; padding:0; display:grid; gap:.7rem; }
.facts li{
  display:grid; grid-template-columns:auto 1fr; gap:.7rem; align-items:start;
  font-size:.98rem; color:var(--ink-2);
}
.facts span{ color:var(--wine); font-size:1.15rem; line-height:1.35; }

.visit-map{
  position:relative; display:block; overflow:hidden;
  border-radius:var(--radius); border:1px solid var(--line);
  box-shadow:0 10px 30px rgba(29,22,19,.1);
}
.visit-map img{ width:100%; aspect-ratio:4/5; object-fit:cover; transition:transform .5s ease; }
.visit-map:hover img{ transform:scale(1.03); }

/* ---------------- Follow ---------------- */

.follow{ background:var(--paper); border-top:1px solid var(--line); }

/* Three cards: go straight from one column to three. `auto-fit` would leave a
   stranded card on its own row at tablet widths. */
.follow-cards{
  list-style:none; margin:2.75rem 0 0; padding:0;
  display:grid; gap:1rem;
  grid-template-columns:1fr;
}
@media (min-width:760px){
  .follow-cards{ grid-template-columns:repeat(3,1fr); }
}
.follow-cards li{ display:flex; }

.follow-card{
  display:flex; flex-direction:column; align-items:flex-start; gap:.35rem;
  width:100%;
  padding:1.6rem 1.5rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  text-decoration:none;
  color:var(--ink);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.follow-card:hover{
  transform:translateY(-3px);
  border-color:var(--wine);
  box-shadow:0 10px 26px rgba(29,22,19,.10);
  color:var(--ink);
}

.follow-ico{
  display:grid; place-items:center;
  width:44px; height:44px; margin-bottom:.75rem;
  border-radius:50%;
  background:var(--wine); color:#fff;
  transition:background-color .18s ease, color .18s ease;
}
.follow-card:hover .follow-ico{ background:var(--gold); color:var(--wine-deep); }

.follow-name{
  font-family:var(--font-display);
  font-size:1.35rem; font-weight:600; letter-spacing:-.01em;
  line-height:1.15;
}
.follow-handle{ font-size:.84rem; color:var(--muted); overflow-wrap:anywhere; }
.follow-desc{
  font-size:.95rem; line-height:1.5; color:var(--ink-2);
  margin-top:.35rem; flex:1 0 auto;
}
.follow-cta{
  margin-top:1rem;
  font-size:.75rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--wine);
}
.follow-card:hover .follow-cta{ color:var(--wine-dark); }

/* ---------------- Give ---------------- */

.give{
  background:var(--wine);
  color:rgba(255,255,255,.9);
  background-image:radial-gradient(100% 80% at 80% 10%, rgba(192,138,46,.22) 0%, transparent 62%);
}
.give-lede{ color:rgba(255,255,255,.86); }
.give-cards{
  display:grid; gap:1.25rem; margin-top:2.75rem;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  max-width:700px;
}
.give-card{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius);
  padding:1.75rem 1.5rem;
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:.9rem;
}
.give-card h3{ color:#fff; font-size:1.5rem; margin:0; }
.give-card .qr{
  width:150px; height:150px;
  background:#fff; padding:8px; border-radius:var(--radius);
}
.give-card .handle{
  margin:0; font-size:.88rem; color:var(--gold-soft);
  word-break:break-word; line-height:1.4;
}

/* Zelle has no QR code — this panel carries the same visual weight as one. */
.give-panel{
  width:100%; max-width:230px; min-height:150px;
  display:flex; flex-direction:column; justify-content:center; gap:.5rem;
  padding:.9rem .75rem;
  border:2px dashed rgba(232,201,138,.5);
  border-radius:var(--radius);
  background:rgba(0,0,0,.14);
}
.give-panel-label{
  font-size:.62rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--gold-soft); opacity:.85;
}
.give-email{
  font-family:var(--font-display);
  font-size:.95rem; line-height:1.3; color:#fff;
  overflow-wrap:break-word;
}
#copy-zelle{ border:0; cursor:pointer; }
#copy-zelle[hidden]{ display:none; }

/* ---------------- Partner strip ---------------- */

/* Sits between Give (wine) and the footer (near-black). Kept light so the page
   does not end in one long dark slab, and compact so it reads as a quiet
   secondary credit rather than a full section. */
.partner{
  background:var(--paper-2);
  padding-block:clamp(2.75rem,6vw,4rem);
  border-top:1px solid var(--line);
}
/* Crest above the blurb on phones, beside it from 760px up. */
.partner-inner{
  display:flex; flex-direction:column;
  align-items:flex-start; gap:1.35rem;
}
.partner-crest{ width:96px; height:auto; flex:none; }
.partner-text{ max-width:62ch; }

@media (min-width:760px){
  .partner-inner{ flex-direction:row; align-items:center; gap:2.75rem; }
  .partner-crest{ width:124px; }
}
.partner h2{
  font-size:clamp(1.45rem,3.6vw,1.95rem);
  margin-bottom:.7rem;
}
.partner p{ margin:0 0 1rem; color:var(--ink-2); text-wrap:pretty; }
.partner .eyebrow{ margin-bottom:.6rem; }

.partner-link{ margin:0; }
.partner-link a{
  display:inline-block;
  font-size:.78rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--wine); text-decoration:none;
  padding-block:.75rem;                 /* keeps it a 44px tap target */
}
.partner-link a:hover{ color:var(--wine-dark); text-decoration:underline; }

/* ---------------- Footer ---------------- */

.site-footer{
  background:var(--wine-deep);
  color:rgba(255,255,255,.72);
  padding-top:clamp(3rem,7vw,4.5rem);
  font-size:.94rem;
}
.site-footer a{ color:rgba(255,255,255,.88); text-decoration:none; }
.site-footer a:hover{ color:var(--gold-soft); text-decoration:underline; }
.site-footer p{ margin:0 0 .45rem; }

.footer-grid{
  display:grid; gap:2.25rem;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  padding-bottom:2.75rem;
}
/* Footer: the full lockup including the wordmark. This is a purpose-built light
   variant (black line-work recoloured to cream, gold brightened) — NOT a CSS
   filter, which would flatten the gold and the black to a single colour. */
.foot-brand .brand-logo{ height:118px; margin-bottom:1rem; }
@media (max-width:600px){ .foot-brand .brand-logo{ height:104px; } }
.foot-brand strong{ font-family:var(--font-display); font-size:1.2rem; color:#fff; font-weight:600; }
.foot-brand .muted{ color:rgba(255,255,255,.55); margin-top:.6rem; max-width:30ch; }

.foot-col h4{
  font-family:var(--font-body);
  font-size:.72rem; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--gold-soft); margin-bottom:.9rem;
}
.foot-col address{ font-style:normal; margin-bottom:.45rem; }

/* Social icons — one matched set, sized and spaced identically. */
.social{ list-style:none; display:flex; gap:.6rem; margin:.1rem 0 0; padding:0; }
.social a{
  display:grid; place-items:center;
  width:44px; height:44px; padding:0;      /* overrides the footer link padding */
  border:1px solid rgba(255,255,255,.26);
  border-radius:50%;
  color:rgba(255,255,255,.85);
  transition:background-color .18s ease, color .18s ease,
             border-color .18s ease, transform .18s ease;
}
.social a:hover{
  background:var(--gold); color:var(--wine-deep);
  border-color:var(--gold); transform:translateY(-2px);
  text-decoration:none;
}
.ico-social{ width:19px; height:19px; fill:currentColor; display:block; }

.foot-base{
  display:flex; flex-wrap:wrap; gap:.6rem 1.5rem;
  justify-content:space-between; align-items:center;
  padding-block:1.4rem;
  border-top:1px solid var(--line-light);
  font-size:.84rem; color:rgba(255,255,255,.5);
}
.foot-base p{ margin:0; }

/* ---------------- Print ---------------- */
@media print{
  .site-header,.hero-actions,.visit-map,.give{ display:none; }
  body{ background:#fff; color:#000; }
  section{ padding-block:1.5rem; }
}
