/* ==========================================================================
   St Matthew's GMW — site styles
   Palette: ivory base · deep navy · one brass/gold accent
   Type: Cormorant Garamond (display) · Manrope (text)
   ========================================================================== */

:root {
  --ivory: #F6F2EA;
  --paper: #FFFDF8;
  --cream: #EFE8DA;
  --navy: #161D2E;
  --navy-2: #1F2840;
  --ink: #1C2130;
  --body: #3A4050;
  --muted: #6E7382;
  --line: #E3DCCD;
  --line-dark: rgba(255,255,255,0.14);
  --gold: #B38E4A;
  --gold-dark: #94733A;
  --gold-soft: #D9C294;
  --gold-faint: rgba(179,142,74,0.12);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --w: 1200px;
  --w-text: 720px;
  --r: 8px;
  --r-lg: 12px;
  --shadow: 0 1px 2px rgba(22,29,46,0.06), 0 8px 24px rgba(22,29,46,0.06);
  --shadow-md: 0 2px 4px rgba(22,29,46,0.06), 0 16px 40px rgba(22,29,46,0.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.25rem; }

.lede { font-size: 1.2rem; line-height: 1.65; color: var(--body); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-dark); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.dark .eyebrow { color: var(--gold-soft); }
.dark .eyebrow::before { background: var(--gold-soft); }

.container { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.narrow { max-width: var(--w-text); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.center .narrow { margin-inline: auto; }

.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.paper { background: var(--paper); }
.section.cream { background: var(--cream); }
.dark { background: var(--navy); color: rgba(255,255,255,0.78); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lede { color: rgba(255,255,255,0.82); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.gold-rule { width: 56px; height: 1px; background: var(--gold); margin: 24px 0; }
.center .gold-rule { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: var(--r);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.dark .btn-outline, .hero .btn-outline, .page-hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.dark .btn-outline:hover, .hero .btn-outline:hover, .page-hero .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; color: var(--gold-dark);
  border-bottom: 1px solid transparent; transition: border-color .2s, gap .2s;
}
.btn-link:hover { border-color: var(--gold-dark); gap: 12px; }
.btn-link svg { width: 16px; height: 16px; }
.dark .btn-link { color: var(--gold-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 20px 0;
  transition: background-color .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.solid, .site-header.open {
  background: rgba(246,242,234,0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: #fff; transition: color .3s; }
.site-header.solid .brand, .site-header.open .brand { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.01em; }
.brand-text small { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: .78; margin-top: 4px; }

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; color: #fff;
  padding: 8px 0; position: relative; transition: color .3s;
}
.site-header.solid .nav a { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 0 22px; color: #fff; border-color: rgba(255,255,255,0.6); }
.nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.site-header.solid .nav-cta { color: var(--ink); border-color: var(--ink); }
.site-header.solid .nav-cta:hover { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s, background .3s; }
.site-header.solid .nav-toggle span, .site-header.open .nav-toggle span { background: var(--ink); }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-wrap { gap: 16px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 20px 24px;
    background: rgba(246,242,234,0.98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-header.open .nav { display: flex; }
  .nav a { color: var(--ink); font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* --------------------------------------------------------------------------
   Figures / image placeholders
   The <img> sits on top of a styled placeholder; if the file is missing the
   placeholder (showing the expected filename) is visible instead.
   -------------------------------------------------------------------------- */
.ph {
  position: relative; margin: 0; overflow: hidden; background: #2A3043;
  background-image: linear-gradient(160deg, #2E3448 0%, #1B2131 60%, #151A28 100%);
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 20%, rgba(217,194,148,0.22), transparent 70%);
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  font-family: var(--serif); font-size: 1rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.55);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph.arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.ph.rounded { border-radius: var(--r-lg); }
.ph.r-3-4 { aspect-ratio: 3 / 4; }
.ph.r-4-3 { aspect-ratio: 4 / 3; }
.ph.r-4-5 { aspect-ratio: 4 / 5; }
.ph.r-16-9 { aspect-ratio: 16 / 9; }
.ph.r-21-9 { aspect-ratio: 21 / 9; }
.ph.r-1-1 { aspect-ratio: 1 / 1; }
.frame { position: relative; }
.frame::after {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1;
  border: 1px solid var(--gold-soft); border-radius: 999px 999px var(--r-lg) var(--r-lg);
}
.frame.square::after { border-radius: var(--r-lg); }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--navy); overflow: hidden;
}
.hero .ph { position: absolute; inset: 0; }
.hero .ph::after { align-items: start; padding-top: 120px; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(22,29,46,0.55) 0%, rgba(22,29,46,0.10) 35%, rgba(22,29,46,0.78) 100%),
    linear-gradient(90deg, rgba(22,29,46,0.55) 0%, rgba(22,29,46,0) 60%);
}
.hero-content { position: relative; z-index: 3; padding: 160px 0 64px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero .lede { color: rgba(255,255,255,0.85); max-width: 560px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero-foot {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 0 0 32px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { display: block; width: 1px; height: 40px; background: rgba(255,255,255,0.5); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 640px) { .hero-foot span:last-child { display: none; } }

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.page-hero { position: relative; padding: 176px 0 96px; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero.has-image { min-height: min(72svh, 640px); display: flex; align-items: flex-end; }
.page-hero .ph { position: absolute; inset: 0; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(22,29,46,0.55) 0%, rgba(22,29,46,0.25) 40%, rgba(22,29,46,0.85) 100%); }
.page-hero .inner { position: relative; z-index: 3; max-width: 800px; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: rgba(255,255,255,0.82); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero .deco {
  position: absolute; right: -80px; bottom: -120px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(217,194,148,0.18); pointer-events: none;
}
.page-hero .deco::after { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(217,194,148,0.12); }
.crumbs { display: flex; gap: 10px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.crumbs a:hover { color: #fff; }
@media (max-width: 640px) { .page-hero { padding: 136px 0 64px; } }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-text { grid-template-columns: 1.15fr 0.85fr; }
.split .media { max-width: 480px; }
.split .media.right { margin-left: auto; width: 100%; }
.split .media { width: 100%; }
.split.reverse .media { order: -1; }
@media (max-width: 860px) {
  .split, .split.wide-text { grid-template-columns: 1fr; gap: 40px; }
  .split .media, .split .media.right { max-width: 420px; margin: 0; }
  .split.reverse .media { order: 0; }
  .section { padding: 64px 0; }
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .grid-4, .grid-5, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card .ph { aspect-ratio: 4 / 3; }
.card-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.5rem; }
.card-body p { color: var(--muted); font-size: 0.98rem; }
.card-body .btn-link { margin-top: auto; padding-top: 8px; }
.card .num { font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.2em; color: var(--gold-dark); }

.value { padding: 32px 24px 8px; border-top: 1px solid var(--gold-soft); }
.value h4 { margin: 16px 0 8px; font-size: 1.4rem; }
.value p { font-size: 0.95rem; color: var(--muted); }
.value .glyph { width: 40px; height: 40px; color: var(--gold); }
.value .glyph svg { width: 100%; height: 100%; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px; }
.panel.dark { background: var(--navy-2); border-color: var(--line-dark); }
.panel h3 { margin-bottom: 12px; }
.panel .eyebrow { margin-bottom: 8px; }
@media (max-width: 640px) { .panel { padding: 32px 24px; } .card-body { padding: 24px; } }

/* --------------------------------------------------------------------------
   Quote / band / strip
   -------------------------------------------------------------------------- */
.quote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35; font-weight: 500;
  color: var(--ink); max-width: 820px; margin: 0 auto; position: relative; padding-top: 48px;
}
.quote::before { content: "\201C"; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 5rem; line-height: 1; color: var(--gold-soft); }
.dark .quote { color: #fff; }
.quote-src { margin-top: 24px; font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); }
.dark .quote-src { color: var(--gold-soft); }

.band { position: relative; overflow: hidden; background: var(--navy); }
.band .ph { position: absolute; inset: 0; }
.band .band-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,29,46,0.94) 0%, rgba(22,29,46,0.78) 45%, rgba(22,29,46,0.30) 100%); z-index: 2; }
.band .inner { position: relative; z-index: 3; padding: 128px 0; max-width: 620px; color: rgba(255,255,255,0.82); }
.band h2 { color: #fff; }
.band .lede { color: rgba(255,255,255,0.88); }
.band .ph::after { align-items: end; justify-items: end; font-size: 0.85rem; }
.band .eyebrow { color: var(--gold-soft); }
.band .eyebrow::before { background: var(--gold-soft); }
@media (max-width: 640px) { .band .inner { padding: 80px 0; } }

.strip { background: var(--navy); color: rgba(255,255,255,0.75); padding: 24px 0; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; }
.strip li { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.06em; padding: 0 32px; position: relative; }
.strip li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.strip a:hover { color: #fff; }
@media (max-width: 640px) { .strip li { padding: 0 16px; font-size: 1.05rem; } }

/* --------------------------------------------------------------------------
   Programme detail rows
   -------------------------------------------------------------------------- */
.prog { padding: 96px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.prog.first { border-top: 0; }
.prog.paper { background: var(--paper); }
.prog .num { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.24em; color: var(--gold-dark); margin-bottom: 16px; display: block; }
.facts { margin-top: 32px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.facts li span:first-child { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; padding-top: 4px; }
@media (max-width: 640px) { .prog { padding: 64px 0; } .facts li { grid-template-columns: 1fr; gap: 4px; } }

/* --------------------------------------------------------------------------
   Weekly schedule
   -------------------------------------------------------------------------- */
.sched { max-width: 960px; margin: 0 auto; border-top: 1px solid var(--line-dark); }
.sched-row { display: grid; grid-template-columns: 160px 200px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); align-items: start; }
.sched-day { font-family: var(--serif); font-size: 1.4rem; color: #fff; line-height: 1.2; }
.sched-time { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); padding-top: 6px; }
.sched-what { font-size: 0.98rem; color: rgba(255,255,255,0.72); }
.sched-what strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: #fff; margin-bottom: 4px; }
.sched-note { max-width: 960px; margin: 32px auto 0; font-size: 0.9rem; color: rgba(255,255,255,0.55); text-align: center; }
.sched-note a { color: var(--gold-soft); border-bottom: 1px solid currentColor; }
.section.dark .section-head.center { margin-inline: auto; }
@media (max-width: 760px) {
  .sched-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .sched-time { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   Editorial text (Faith page)
   -------------------------------------------------------------------------- */
.editorial { font-size: 1.12rem; line-height: 1.85; }
.editorial p + p { margin-top: 24px; }
.editorial .dropcap::first-letter {
  font-family: var(--serif); font-size: 4.4rem; line-height: 0.8; float: left; margin: 10px 14px 0 0; color: var(--gold);
}
.editorial h3 { margin-top: 56px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 16px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-faint); }
.field input::placeholder, .field textarea::placeholder { color: #A3A7B3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-status { display: none; padding: 16px 20px; border-radius: var(--r); font-size: 0.95rem; }
.form-status.ok { display: block; background: #EEF6EE; color: #255C2C; border: 1px solid #CFE5D0; }
.form-status.err { display: block; background: #FBEFEE; color: #7D2A24; border: 1px solid #F0CFCB; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--gold-soft); }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.contact-list a:hover { color: var(--gold-dark); }

.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.map iframe { display: block; width: 100%; height: 480px; border: 0; filter: saturate(0.75) contrast(1.02); }
.map.small { border-color: var(--line-dark); }
.map.small iframe { height: 220px; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; }
.cta .inner { position: relative; z-index: 2; padding: 112px 0; }
.cta .deco { position: absolute; left: 50%; top: 50%; width: 820px; height: 820px; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(217,194,148,0.14); pointer-events: none; }
.cta .deco::after { content: ""; position: absolute; inset: 80px; border-radius: 50%; border: 1px solid rgba(217,194,148,0.10); }
.cta .actions { justify-content: center; }
@media (max-width: 640px) { .cta .inner { padding: 80px 0; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #10151F; color: rgba(255,255,255,0.7); padding: 80px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue i { animation: none; }
  html { scroll-behavior: auto; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--gold); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 16px; }

/* ==========================================================================
   Polish pass
   ========================================================================== */

/* Navigation: small caps, letter-spaced */
.nav a { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.nav-cta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 960px) { .nav a { font-size: 0.9rem; letter-spacing: 0.12em; } }

/* Italic gold emphasis inside headings */
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--gold-dark); }
.dark h1 em, .dark h2 em, .dark h3 em, .hero h1 em, .page-hero h1 em, .band h2 em { color: var(--gold-soft); }

/* Ornamental rule: two hairlines and a diamond */
.gold-rule {
  width: 72px; height: 7px; margin: 28px 0; position: relative; background: none;
  background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
  background-size: 28px 1px, 28px 1px; background-position: left center, right center; background-repeat: no-repeat;
}
.gold-rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; background: var(--gold); transform: translate(-50%,-50%) rotate(45deg); }
.center .gold-rule { margin: 28px auto; }
.dark .gold-rule { background-image: linear-gradient(var(--gold-soft), var(--gold-soft)), linear-gradient(var(--gold-soft), var(--gold-soft)); }
.dark .gold-rule::after { background: var(--gold-soft); }
.eyebrow::before { width: 28px; }

/* Film grain on dark surfaces */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 160px 160px; mix-blend-mode: screen;
}
.hero.grain::after, .page-hero.grain::after, .band.grain::after { z-index: 2; }
.section.dark.grain > .container, .cta.grain .inner { position: relative; z-index: 3; }

/* Hero: slow zoom and staggered entrance */
.hero .ph img { transform-origin: 55% 45%; animation: kenburns 16s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-content > * { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.hero-content > :nth-child(1) { animation-delay: .25s; }
.hero-content > :nth-child(2) { animation-delay: .45s; }
.hero-content > :nth-child(3) { animation-delay: .65s; }
.hero-content > :nth-child(4) { animation-delay: .85s; }
.hero-foot { opacity: 0; animation: rise 1s var(--ease) 1.3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-content { padding-left: 32px; border-left: 1px solid rgba(217,194,148,0.45); }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); letter-spacing: -0.01em; }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(22,29,46,0.50) 0%, rgba(22,29,46,0.10) 30%, rgba(22,29,46,0.30) 60%, rgba(22,29,46,0.88) 100%),
    linear-gradient(90deg, rgba(22,29,46,0.65) 0%, rgba(22,29,46,0.15) 55%, rgba(22,29,46,0) 100%);
}
@media (max-width: 640px) { .hero-content { padding-left: 20px; } }

/* Parallax hook (JS moves the figure) */
.hero .ph, .page-hero .ph, .band .ph { inset: -12% 0; will-change: transform; }

/* Double frame around feature images */
.frame::before {
  content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(255,255,255,0.45); border-radius: 999px 999px calc(var(--r-lg) - 4px) calc(var(--r-lg) - 4px);
}
.frame.square::before { border-radius: calc(var(--r-lg) - 4px); }

/* Cards: image zoom, gold reveal line, big numeral */
.card { position: relative; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); z-index: 3; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover::before { transform: scaleX(1); }
.card .ph { aspect-ratio: 4 / 3; }
.card .ph img { transition: transform 1s var(--ease); }
.card:hover .ph img { transform: scale(1.06); }
.card .ph::before { background: linear-gradient(180deg, rgba(22,29,46,0) 55%, rgba(22,29,46,0.35) 100%); z-index: 2; }
.card .num { font-size: 0.8rem; letter-spacing: 0.3em; }
.card-body h3 { font-size: 1.55rem; line-height: 1.15; }

/* Values: numbered, hairline hover */
.value { position: relative; transition: border-color .3s; }
.value:hover { border-color: var(--gold); }
.value h4 { font-size: 1.5rem; }

/* Section eyebrow numerals */
.eyebrow .n { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.1em; font-weight: 500; }

/* This week strip (home) */
.week { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.week-item { display: grid; gap: 10px; padding: 40px 32px; border-left: 1px solid var(--line); color: inherit; transition: background .3s var(--ease); position: relative; }
.week-item:first-child { border-left: 0; }
.week-item:hover { background: var(--ivory); }
.week-item::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.week-item:hover::after { transform: scaleX(1); }
.week-day { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); }
.week-item strong { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--ink); line-height: 1.15; }
.week-item span:last-child { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 860px) { .week { grid-template-columns: 1fr; } .week-item { border-left: 0; border-top: 1px solid var(--line); padding: 28px 8px; } .week-item:first-child { border-top: 0; } .week-item::after { left: 8px; right: 8px; } }

/* Quote ornament */
.quote::before { font-family: var(--serif); }
.quote-src::before { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); margin: 0 auto 16px; }
.dark .quote-src::before { background: var(--gold-soft); }

/* Media reveal: soft scale */
.media.reveal { transform: translateY(24px) scale(1.02); }
.media.reveal.in { transform: none; }

/* Footer wordmark */
.site-footer { border-top: 1px solid rgba(179,142,74,0.35); overflow: hidden; }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 11vw, 10.5rem); line-height: 0.9; color: rgba(255,255,255,0.035); text-align: center; white-space: nowrap; margin: 40px 0 -24px; letter-spacing: -0.02em; pointer-events: none; }

/* Buttons: refined */
.btn { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; padding: 0 30px; min-height: 50px; }
.btn-primary { box-shadow: 0 8px 20px rgba(179,142,74,0.25); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(148,115,58,0.32); transform: translateY(-1px); }
.btn-link { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }

/* Page hero: bigger, airier */
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.page-hero .inner { padding-left: 28px; border-left: 1px solid rgba(217,194,148,0.45); }
@media (max-width: 640px) { .page-hero .inner { padding-left: 18px; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero .ph img, .hero-content > *, .hero-foot { animation: none; opacity: 1; transform: none; }
  .card .ph img, .media.reveal { transition: none; }
}
