/* ==========================================================================
   Lamb of God Presbyterian — shared stylesheet ("Manifesto")

   Every page links this file; page-specific rules stay in a <style> block
   on the page itself, after the <link>.
   ========================================================================== */

:root {
  --bg: oklch(0.972 0.012 78);
  --paper: oklch(0.99 0.005 78);
  --ink: oklch(0.13 0.012 50);
  --ink-soft: oklch(0.30 0.012 50);
  --muted: oklch(0.52 0.012 60);
  --rule: oklch(0.18 0.012 50);
  --rule-soft: oklch(0.82 0.012 70);
  --red: oklch(0.55 0.21 26);
  --red-deep: oklch(0.46 0.21 26);
  --gold: oklch(0.72 0.13 75);

  /* on the dark (ink) bands */
  --on-ink-rule: oklch(0.45 0.012 60);
  --on-ink-muted: oklch(0.72 0.012 70);

  --grotesk: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 4.5vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--grotesk);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: var(--paper); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* ============ TOP BAR ============ */
header.bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}
.bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand .name {
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand .name span {
  font-weight: 400;
  color: var(--muted);
}
nav.primary { display: flex; align-items: center; gap: clamp(13px, 1.6vw, 24px); }
nav.primary a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
nav.primary a:hover { color: var(--red-deep); }
nav.primary a.active { color: var(--red-deep); }
nav.primary .cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  transition: background 160ms ease;
}
nav.primary .cta:hover { background: var(--red-deep); color: var(--bg); }

.menu-toggle {
  display: none;
  border: 0; background: transparent; color: var(--ink);
  width: 40px; height: 40px; cursor: pointer; padding: 8px;
}
.menu-toggle svg { width: 22px; height: 22px; display: block; }
.menu-toggle .close { display: none; }
.menu-toggle[aria-expanded="true"] .open { display: none; }
.menu-toggle[aria-expanded="true"] .close { display: block; }

/* Mobile drawer — hidden on desktop, revealed by the toggle below 880px. */
nav.mobile { display: none; border-top: 1px solid var(--rule-soft); }
nav.mobile ul { list-style: none; margin: 0; padding: 8px var(--gutter) 18px; display: grid; gap: 2px; }
nav.mobile a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
nav.mobile a.active { color: var(--red-deep); }
nav.mobile a:hover { color: var(--red-deep); }

/* ============ HERO ============ */
.hero { padding: clamp(36px, 6vh, 64px) 0 clamp(48px, 8vh, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  grid-column: 1 / -1;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: clamp(28px, 5vh, 52px);
  flex-wrap: wrap;
}
.hero-meta .live {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red-deep);
  font-weight: 500;
}
.hero-meta .live::before {
  content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--red) 16%, transparent);
}
.hero-meta .sep { width: 1px; height: 12px; background: var(--rule-soft); }
.hero-meta .doc { margin-left: auto; }

h1.title {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(30px, 7.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: manual;
}
h1.title .red { color: var(--red); }
h1.title .nowrap { white-space: nowrap; }
h1.title .slash {
  display: inline-block;
  color: var(--red);
  transform: skew(-12deg);
  margin: 0 0.08em;
  font-weight: 700;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 12px;
}
.hero-mark {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
}
.hero-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-side .stamp {
  margin-left: auto;
  border: 2px solid var(--ink);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transform: rotate(-3deg);
  background: var(--paper);
}
.hero-side .stamp .red { color: var(--red); font-style: normal; }

.hero-foot {
  margin-top: clamp(28px, 6vh, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero-lede {
  font-family: var(--grotesk);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.32;
  color: var(--ink);
  margin: 0;
  max-width: 22em;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero-lede .red { font-style: normal; color: var(--red-deep); }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--bg);
  padding: 18px 26px;
  text-decoration: none;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: background 180ms ease, transform 180ms ease;
  justify-self: end;
  align-self: end;
}
.hero-cta:hover { background: var(--red-deep); transform: translate(2px,-2px); }
.hero-cta .arrow {
  display: inline-flex;
  width: 28px; height: 28px;
  border: 1px solid var(--bg);
  align-items: center; justify-content: center;
  transition: transform 200ms ease;
}
.hero-cta:hover .arrow { transform: rotate(-45deg); }

/* ============ CORE VALUES BAND ============ */
.values {
  background: var(--ink);
  color: var(--bg);
  border-block: 2px solid var(--ink);
}
.values-track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  /* gap + padding scale with viewport so the row keeps the same fit ratio
     at every width — the band always stays on one line. */
  gap: 1.5vw;
  padding: 22px 2vw;
  white-space: nowrap;
}
.values-track span {
  font-family: var(--grotesk);
  font-weight: 700;
  /* pure vw (capped on large screens) — no px floor, so it never outgrows
     the viewport on small phones. */
  font-size: min(2.3vw, 28px);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  white-space: nowrap;
}
.values-track .dot { color: var(--red); }

/* ============ SECTIONS ============ */
.section {
  padding: clamp(72px, 11vh, 128px) 0;
  position: relative;
}
.section.tight { padding: clamp(48px, 7vh, 88px) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-bottom: clamp(40px, 7vh, 80px);
  border-bottom: 2px solid var(--ink);
  margin-bottom: clamp(40px, 7vh, 80px);
}
.section-head.tight {
  padding-bottom: clamp(28px, 5vh, 56px);
  margin-bottom: clamp(28px, 5vh, 56px);
}
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-label .num { color: var(--red); margin-right: 10px; }
.section-title {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-title .red { color: var(--red); }

/* ============ ROW LIST (pillars, ways to give, beliefs) ============ */
.rows { display: grid; grid-template-columns: 1fr; gap: 0; }
.row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: 28px 0;
  border-top: 1px solid var(--rule-soft);
  align-items: start;
}
.row:last-child { border-bottom: 1px solid var(--rule-soft); }
.row h3 {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.row:hover h3 { color: var(--red-deep); }
.row .word {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
}
.row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 40ch;
  padding-top: 8px;
}
.row p a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
.row p a:hover { color: var(--red-deep); }

/* Slightly smaller headings — used on /give and /beliefs. */
.rows.compact .row h3 { font-size: clamp(28px, 3vw, 40px); }
.rows.compact .row .word { padding-top: 12px; }
.rows.compact .row p { padding-top: 6px; }

/* ============ PHOTOS ============ */

/* Full-width photo band, edge to edge, same 2px rules as the dark bands. */
.band {
  margin: 0;
  background: var(--ink);
  border-block: 2px solid var(--ink);
}
.band img {
  display: block;
  width: 100%;
  height: clamp(260px, 56vh, 620px);
  object-fit: cover;
}
.band figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px var(--gutter);
  max-width: 1280px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}
.band figcaption .red { color: var(--red); }

/* Framed photo used inside a column. */
.figure { margin: 0; border: 2px solid var(--ink); background: var(--ink); }
.figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.figure.portrait img { aspect-ratio: 4 / 5; }
.figure.landscape img { aspect-ratio: 4 / 3; }
.figure.wide img { aspect-ratio: 16 / 9; }
.figure figcaption {
  padding: 11px 14px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Text on one side, photo on the other. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.split.media-first .split-media { order: -1; }
/* Pair a tall photo with short text without leaving a hole beside it. */
.split.center { align-items: center; }

/* Mosaic of photos — one tall frame plus a stack of two. */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
.photo-grid img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo-grid .span-2 { grid-column: span 2; grid-row: span 2; }
.photo-grid .span-2 img { aspect-ratio: auto; min-height: 100%; }

/* ============ PROSE ============ */
.prose p {
  margin: 0 0 1.1em;
  color: var(--ink-soft);
  font-size: clamp(17.5px, 1.35vw, 20px);
  line-height: 1.62;
  max-width: 36em;
}
.prose p:last-child { margin-bottom: 0; }
.prose .lead {
  color: var(--ink);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.34;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.prose .red { color: var(--red-deep); font-style: normal; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose a:hover { color: var(--red-deep); }

/* ============ FACT LIST (service time, address, …) ============ */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.fact {
  padding: 22px clamp(18px, 2.4vw, 32px) 22px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.fact dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.fact dd {
  margin: 0;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.fact dd .sub {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink-soft);
}
/* …and the same list on a dark band. */
.on-ink .facts { border-top-color: var(--on-ink-rule); }
.on-ink .fact { border-bottom-color: var(--on-ink-rule); }
.on-ink .fact dt { color: var(--on-ink-muted); }
.on-ink .fact dd { color: var(--bg); }
.on-ink .fact dd .sub { color: var(--on-ink-muted); }

/* ============ WHERE (dark band) ============ */
.where {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(72px, 11vh, 128px) 0;
}
.where .section-head { border-bottom-color: var(--paper); padding-bottom: 32px; margin-bottom: 32px; }
.where .section-label { color: oklch(0.65 0.012 70); }
.where .section-title { color: var(--bg); }
.where .section-title .red { color: var(--red); }
.where-city {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 0;
  text-transform: uppercase;
  color: var(--bg);
}
.where-city .red { color: var(--red); }
.where-foot {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}
.where-foot .pill {
  border: 1px solid var(--on-ink-rule);
  padding: 8px 14px;
  color: var(--bg);
}
.where-foot .pill.red { background: var(--red); border-color: var(--red); }
.where .facts { margin-top: 40px; }
.where-map {
  margin-top: 48px;
  border: 1px solid var(--on-ink-rule);
}
.where-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  border: 0;
}
.where-map-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--on-ink-rule);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}
.where-map-foot a { color: var(--bg); text-decoration: none; border-bottom: 1px solid var(--red); }
.where-map-foot a:hover { color: var(--red); }

/* ============ CTA ============ */
.cta-block {
  padding: clamp(72px, 11vh, 128px) 0;
  background: var(--red);
  color: var(--bg);
}
.cta-block .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.cta-block h2 {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
  color: var(--bg);
  text-wrap: balance;
}
.cta-block h2 small {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: oklch(0.88 0.04 30);
  margin-bottom: 18px;
  text-transform: uppercase;
  font-weight: 400;
}
.cta-block .big-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--bg);
  padding: 22px 30px;
  text-decoration: none;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
  transition: transform 200ms ease, background 200ms ease;
}
.cta-block .big-btn:hover { background: var(--bg); color: var(--red-deep); transform: translate(2px,-2px); }
.cta-block .big-btn .arrow {
  display: inline-flex; width: 32px; height: 32px;
  border: 1px solid var(--bg);
  align-items: center; justify-content: center;
  transition: transform 220ms ease, border-color 200ms ease;
}
.cta-block .big-btn:hover .arrow { transform: rotate(-45deg); border-color: var(--red-deep); }

/* ============ FOOTER ============ */
footer.site {
  padding: 64px 0 32px;
  background: var(--bg);
  border-top: 2px solid var(--ink);
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule-soft);
}
.foot-brand img { width: 76px; height: 76px; object-fit: contain; margin-bottom: 14px; }
.foot-brand h4 {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.foot-brand p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 36ch;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 160ms ease;
}
.foot-col a:hover { color: var(--red-deep); }
.foot-col address {
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.foot-bot {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
  .hero-mark { max-width: 210px; margin: 0; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .hero-cta { justify-self: start; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.media-first .split-media { order: 0; }
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .row .word { padding-top: 0; }
  .row p { padding-top: 0; }
  .rows.compact .row .word { padding-top: 0; }
  .rows.compact .row p { padding-top: 0; }
  .cta-block .wrap { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid .span-2 { grid-column: span 2; grid-row: auto; }
  .photo-grid .span-2 img { aspect-ratio: 4 / 3; }
  /* The drawer carries every link, including "Get in touch" — so the whole
     desktop nav gives way to the toggle and the brand gets the room. */
  nav.primary { display: none; }
  .menu-toggle { display: block; }
  nav.mobile.open { display: block; }
}
