/* ==========================================================================
   Saint Stephen's Episcopal Church — Sherman, Texas
   Original design system. Modern editorial church aesthetic:
   warm charcoal + cream, burgundy accent, serif display type, motion-rich.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #211d1a;
  --ink-2: #2c2723;
  --ink-3: #3a3430;
  --body: #5f5a53;
  --body-on-dark: #b7afa4;
  --cream: #f5f1e9;
  --cream-2: #efe9de;
  --paper: #fdfbf7;
  --white: #ffffff;
  --wine: #7c2b36;
  --wine-dark: #5a1e27;
  --wine-tint: #f3e5e2;
  --gold: #b98d4f;
  --line: rgba(33, 29, 26, 0.14);
  --line-on-dark: rgba(245, 241, 233, 0.16);
  --shadow-sm: 0 2px 10px rgba(33, 29, 26, 0.06);
  --shadow-md: 0 14px 40px rgba(33, 29, 26, 0.12);
  --shadow-lg: 0 30px 70px rgba(33, 29, 26, 0.18);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-h: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0.05, 0, 1);
  --wrap: 1240px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
p { margin: 0 0 1.1em; }
::selection { background: var(--wine); color: var(--cream); }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.wrap--narrow { width: min(860px, 92vw); margin-inline: auto; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: var(--cream-2); }
.display-xl { font-size: clamp(2.7rem, 6.4vw, 5.4rem); font-weight: 400; }
.display-l  { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 400; }
.display-m  { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; }
.italic { font-style: italic; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--body); }
.lede--light { color: var(--body-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s;
  will-change: transform;
}
.btn svg { transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--wine-dark); }
.btn--ghost-light { border-color: rgba(245, 241, 233, 0.55); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--cream); }
.btn--sm { padding: 11px 20px; font-size: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--wine);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: background-size 0.4s var(--ease-out);
  padding-bottom: 4px;
}
.text-link:hover { background-size: 100% 1px; }
.text-link svg { transition: transform 0.3s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
.nav__inner {
  width: min(1360px, 94vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__brand img { height: 44px; width: auto; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-name {
  font-family: var(--font-display);
  font-size: 19px; color: var(--cream);
  letter-spacing: 0.02em;
  transition: color 0.4s;
}
.nav__brand-sub {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(245, 241, 233, 0.75); transition: color 0.4s;
}
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 10px 13px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245, 241, 233, 0.9);
  transition: color 0.35s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { box-shadow: none; }
.nav.is-scrolled { background: rgba(253, 251, 247, 0.96); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); height: 70px; }
.nav.is-scrolled .nav__brand-name, .nav.is-scrolled .nav__links a { color: var(--ink); }
.nav.is-scrolled .nav__brand-sub { color: var(--body); }
.nav.is-scrolled .nav__links a:hover { color: var(--wine); }

/* burger */
.nav__burger {
  display: none;
  width: 46px; height: 46px;
  background: none; border: 0; padding: 0;
  position: relative; z-index: 130;
}
.nav__burger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--cream); transition: transform 0.4s var(--ease-out), opacity 0.3s, background 0.4s;
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger span:nth-child(3) { top: 29px; }
.nav.is-scrolled .nav__burger span { background: var(--ink); }
body.menu-open .nav__burger span { background: var(--cream) !important; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile overlay menu */
.menu-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 8vw 60px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.7s var(--ease-smooth);
  visibility: hidden;
}
body.menu-open .menu-overlay { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu-overlay a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: var(--cream);
  padding: 8px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.menu-overlay a:hover { color: var(--gold); }
body.menu-open .menu-overlay a { opacity: 1; transform: none; }
.menu-overlay__meta {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-on-dark);
  color: var(--body-on-dark); font-size: 14px; letter-spacing: 0.06em;
  opacity: 0; transition: opacity 0.6s 0.4s;
}
body.menu-open .menu-overlay__meta { opacity: 1; }

/* ---------- Hero carousel ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--ink); overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
}
.hero__slide.is-active img { animation: kenburns 9s var(--ease-out) forwards; }
@keyframes kenburns { from { transform: scale(1.12) translateY(1.5%); } to { transform: scale(1.0); translateY(0); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(20, 17, 15, 0.82) 0%, rgba(20, 17, 15, 0.28) 45%, rgba(20, 17, 15, 0.42) 100%);
}
.hero__content {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(90px, 14vh, 150px);
}
.hero__eyebrow {
  color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.hero__title {
  color: var(--cream);
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  font-weight: 400;
  max-width: 15ch;
  margin-bottom: 18px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.hero.is-ready .hero__title .line > span { transform: translateY(0); }
.hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { transition-delay: 0.24s; }
.hero__sub {
  color: rgba(245, 241, 233, 0.85);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 46ch;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s 0.35s var(--ease-out), transform 0.9s 0.35s var(--ease-out);
}
.hero.is-ready .hero__sub, .hero.is-ready .hero__actions { opacity: 1; transform: none; }
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s 0.5s var(--ease-out), transform 0.9s 0.5s var(--ease-out);
}
.hero__controls {
  position: absolute; z-index: 4; right: 4vw; bottom: 44px;
  display: flex; align-items: center; gap: 18px;
}
.hero__count { color: rgba(245, 241, 233, 0.7); font-size: 13px; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.hero__bars { display: flex; gap: 8px; }
.hero__bar {
  width: 44px; height: 3px; border: 0; padding: 0;
  background: rgba(245, 241, 233, 0.28); position: relative; overflow: hidden;
}
.hero__bar i {
  position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}
.hero__bar.is-active i { animation: barfill 7s linear forwards; }
@keyframes barfill { to { transform: scaleX(1); } }
.hero__scroll {
  position: absolute; z-index: 4; left: 4vw; bottom: 40px;
  display: flex; align-items: center; gap: 12px;
  color: rgba(245, 241, 233, 0.7); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero__scroll i {
  width: 1px; height: 52px; background: rgba(245, 241, 233, 0.35); position: relative; overflow: hidden; display: block;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: scrolldrop 2.2s var(--ease-smooth) infinite;
}
@keyframes scrolldrop { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--wine);
  color: var(--cream);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__group span {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
}
.marquee__group svg { flex: none; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--body-on-dark); }
.section--wine { background: var(--wine); color: var(--cream); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--split {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  max-width: none;
}

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.94); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Welcome split (sticky) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split__sticky { position: sticky; top: calc(var(--nav-h) + 30px); }
.split__media { display: grid; gap: 22px; }
.figure { position: relative; overflow: hidden; border-radius: 6px; box-shadow: var(--shadow-md); }
.figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.figure:hover img { transform: scale(1.05); }
.figure--tall { aspect-ratio: 4/5; }
.figure--wide { aspect-ratio: 16/10; }
.figure__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(20,17,15,0.75), transparent);
  color: var(--cream); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.stats { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 40px; flex-wrap: wrap; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--wine); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--body); margin-top: 8px; }

/* ---------- Schedule ---------- */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.day-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 24px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
}
.day-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--wine); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.day-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.day-card:hover::before, .day-card.is-today::before { transform: scaleX(1); }
.day-card.is-today { border-color: rgba(124, 43, 54, 0.4); }
.day-card__name {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.day-card__today {
  font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  background: var(--wine); color: var(--cream); border-radius: 999px; padding: 4px 10px;
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(124,43,54,0.35);} 50% { box-shadow: 0 0 0 7px rgba(124,43,54,0);} }
.day-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.day-card li { font-size: 15px; line-height: 1.5; padding-left: 18px; position: relative; }
.day-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.day-card li b { color: var(--ink); font-weight: 700; display: block; }
.day-card li span { color: var(--body); font-size: 13.5px; }

/* ---------- Cards grid (ministries / announcements) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.card {
  position: relative; border-radius: 6px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.07); }
.card__badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--wine); color: var(--cream);
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 3px;
}
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.45rem; margin: 0; }
.card__text { font-size: 15px; margin: 0; }
.card__foot { margin-top: auto; padding-top: 14px; }

/* date-badge event cards (Austin-Stone-style) */
.event-row {
  display: grid; grid-template-columns: 86px 1fr auto; gap: 26px; align-items: center;
  padding: 26px 8px;
  border-top: 1px solid var(--line-on-dark);
  transition: background 0.35s, padding 0.35s;
}
.event-row:last-child { border-bottom: 1px solid var(--line-on-dark); }
.event-row:hover { background: rgba(245, 241, 233, 0.04); padding-left: 20px; padding-right: 20px; }
.event-date { text-align: center; border-right: 1px solid var(--line-on-dark); padding-right: 22px; }
.event-date b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; }
.event-date span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--body-on-dark); }
.event-info h3 { font-size: 1.4rem; margin: 0 0 4px; }
.event-info p { margin: 0; font-size: 14.5px; }
.event-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: grid; place-items: center; color: var(--cream);
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease-out);
}
.event-row:hover .event-arrow { background: var(--wine); border-color: var(--wine); transform: rotate(-45deg); }

/* ---------- Quote band ---------- */
.quote {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.quote__bg {
  position: absolute; inset: -12% 0;
  background-size: cover; background-position: center;
  opacity: 0.22; filter: saturate(0.4);
  will-change: transform;
}
.quote blockquote {
  margin: 0 auto; max-width: 900px; text-align: center; position: relative;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.35; color: var(--cream);
}
.quote blockquote::before {
  content: "\201C"; display: block; font-size: 5rem; line-height: 0.6; color: var(--gold); margin-bottom: 26px;
}
.quote cite { display: block; margin-top: 28px; font-family: var(--font-body); font-style: normal; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }

/* ---------- Beliefs numbered list ---------- */
.belief {
  display: grid; grid-template-columns: 110px 1fr; gap: clamp(20px, 4vw, 54px);
  padding: clamp(30px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.belief:last-child { border-bottom: 1px solid var(--line); }
.belief__num {
  font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem);
  color: transparent; -webkit-text-stroke: 1px var(--wine);
  line-height: 1;
}
.belief h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.belief p { margin: 0; max-width: 70ch; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--ink);
  transition: color 0.3s;
}
.faq__q:hover { color: var(--wine); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--wine); transition: transform 0.4s var(--ease-out);
}
.faq__icon::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq__icon::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }
.faq__a { overflow: hidden; height: 0; transition: height 0.5s var(--ease-out); }
.faq__a-inner { padding: 0 4px 28px; max-width: 76ch; }

/* ---------- Info tiles (visit basics) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 30px 26px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tile svg { color: var(--wine); margin-bottom: 16px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tile p { font-size: 14.5px; margin: 0; }

/* ---------- Staff ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 820px; }
.staff {
  position: relative; border-radius: 6px; overflow: hidden; background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.staff:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.staff__photo { aspect-ratio: 4/5; overflow: hidden; }
.staff__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: transform 1.1s var(--ease-out), filter 0.6s; }
.staff:hover .staff__photo img { transform: scale(1.05); filter: saturate(1); }
.staff__body { padding: 24px 24px 28px; }
.staff__role { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--wine); margin-bottom: 6px; }
.staff__name { font-size: 1.5rem; margin: 0 0 10px; }
.council-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.council {
  background: rgba(245, 241, 233, 0.05);
  border: 1px solid var(--line-on-dark);
  border-radius: 6px; padding: 20px 22px;
  transition: background 0.35s, transform 0.35s var(--ease-out);
}
.council:hover { background: rgba(245, 241, 233, 0.1); transform: translateY(-4px); }
.council b { display: block; color: var(--cream); font-size: 1.05rem; font-weight: 700; }
.council span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

/* ---------- Resource cards ---------- */
.resource {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--wine);
  border-radius: 6px; padding: 26px 26px 24px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.resource:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.resource h3 { font-size: 1.2rem; margin-bottom: 10px; }
.resource p { font-size: 14.5px; margin: 0 0 6px; }
.resource a { color: var(--wine); font-weight: 700; }
.resource a:hover { text-decoration: underline; }

/* ---------- Newsletter / Give band ---------- */
.band {
  position: relative; overflow: hidden;
  background: var(--wine); color: var(--cream);
  border-radius: 8px;
  padding: clamp(44px, 6vw, 76px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 90% -10%, rgba(185, 141, 79, 0.35), transparent 55%);
}
.band > * { position: relative; }
.band h2 { color: var(--cream); }
.form { display: flex; gap: 12px; flex-wrap: wrap; }
.form input {
  flex: 1 1 220px;
  padding: 15px 18px;
  border-radius: 4px; border: 1px solid rgba(245, 241, 233, 0.4);
  background: rgba(253, 251, 247, 0.1);
  color: var(--cream); font: inherit; font-size: 15px;
  transition: border-color 0.3s, background 0.3s;
}
.form input::placeholder { color: rgba(245, 241, 233, 0.6); }
.form input:focus { outline: none; border-color: var(--gold); background: rgba(253, 251, 247, 0.16); }
.form .btn { background: var(--cream); color: var(--wine); }
.form .btn:hover { background: var(--white); }
.form-note { font-size: 13px; color: rgba(245, 241, 233, 0.75); margin: 12px 0 0; }
.form-success {
  display: none; align-items: center; gap: 12px;
  background: rgba(253, 251, 247, 0.12); border: 1px solid rgba(245, 241, 233, 0.35);
  border-radius: 4px; padding: 16px 20px; font-weight: 700;
}
.form-success.is-shown { display: flex; animation: rise 0.6s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Contact / map ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: stretch; }
.contact__info dl { margin: 0; display: grid; gap: 22px; }
.contact__info dt { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--wine); margin-bottom: 6px; }
.contact__info dd { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.6; }
.contact__info dd a:hover { color: var(--wine); }
.map {
  position: relative; border-radius: 8px; overflow: hidden; min-height: 420px;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background: var(--cream-2);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.12); transition: filter 0.6s; }
.map:hover iframe { filter: none; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink);
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease-out), border-color 0.35s;
}
.socials a:hover { background: var(--wine); border-color: var(--wine); color: var(--cream); transform: translateY(-4px); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; min-height: min(72vh, 640px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.page-hero__img {
  position: absolute; inset: -8% 0; background-size: cover; background-position: center;
  will-change: transform;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 15, 0.88), rgba(20, 17, 15, 0.35) 55%, rgba(20, 17, 15, 0.5));
}
.page-hero__inner { position: relative; z-index: 2; padding: 140px 0 clamp(48px, 7vw, 84px); }
.page-hero h1 { color: var(--cream); font-size: clamp(2.4rem, 5.6vw, 4.6rem); margin: 0; max-width: 18ch; }
.page-hero .crumb {
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(245, 241, 233, 0.7);
  margin-bottom: 20px;
}
.page-hero .crumb a:hover { color: var(--gold); }
.page-hero .crumb svg { color: var(--gold); }

/* ---------- Prose ---------- */
.prose { max-width: 76ch; }
.prose p { margin-bottom: 1.25em; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 34px 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink-3); line-height: 1.55;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
  background: var(--ink); border-radius: 8px; color: var(--cream);
  padding: clamp(32px, 4.5vw, 56px);
}
.cta-strip h2, .cta-strip h3 { color: var(--cream); margin: 0; max-width: 26ch; }
.cta-strip p { color: var(--body-on-dark); margin: 8px 0 0; max-width: 52ch; }

/* ---------- Footer ---------- */
.footer { background: #191512; color: var(--body-on-dark); padding: clamp(60px, 8vw, 96px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; gap: clamp(30px, 4vw, 60px); padding-bottom: clamp(44px, 6vw, 70px); }
.footer h4 { color: var(--cream); font-size: 13px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 20px; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer__brand img { height: 46px; }
.footer__brand b { font-family: var(--font-display); font-size: 1.25rem; color: var(--cream); font-weight: 500; line-height: 1.2; }
.footer__brand span { display: block; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--body-on-dark); }
.footer__bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 24px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  font-size: 13px; letter-spacing: 0.04em;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--wine); color: var(--cream); border: 0;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease-out), background 0.3s;
  box-shadow: var(--shadow-md);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--wine-dark); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; background: var(--ink); color: var(--cream); text-align: center; padding: 100px 6vw; }
.nf h1 { color: var(--cream); font-size: clamp(5rem, 18vw, 12rem); line-height: 0.9; margin-bottom: 10px; }
.nf p { color: var(--body-on-dark); max-width: 44ch; margin: 0 auto 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta .btn { display: none; }
}
@media (max-width: 900px) {
  .split, .contact, .band { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .belief { grid-template-columns: 64px 1fr; }
  .event-row { grid-template-columns: 70px 1fr; }
  .event-arrow { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__controls { bottom: 26px; }
  .hero__scroll { display: none; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .band { padding: 34px 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; transform: none; }
  .hero__slide img { transform: none; }
}
