/* ==========================================================================
   Worship School — Dwelling Place Anaheim
   Sans-led premium design — Strive / Heva / Threshold aesthetic
   Fonts: PP Neue Montreal (display+body), PP Editorial New Italic (accent),
          PP Fraktion Mono (meta). Drop .woff2 files into /fonts.
   ========================================================================== */

/* -- Fonts ---------------------------------------------------------------- */
/* Reckless Neue (trial) — display + italic emphasis */
@font-face {
  font-family: "Reckless Neue";
  src: url("fonts/RecklessNeueTRIAL-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Reckless Neue";
  src: url("fonts/RecklessNeueTRIAL-BookItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* PP Neue York — Normal width (primary display) */
@font-face {
  font-family: "PP Neue York";
  src: url("fonts/PPNeueYork-NormalLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue York";
  src: url("fonts/PPNeueYork-NormalLightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue York";
  src: url("fonts/PPNeueYork-NormalMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue York";
  src: url("fonts/PPNeueYork-NormalMediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue York";
  src: url("fonts/PPNeueYork-NormalExtrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* PP Neue York Condensed — held for potential display accent */
@font-face {
  font-family: "PP Neue York Condensed";
  src: url("fonts/PPNeueYork-CondensedLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue York Condensed";
  src: url("fonts/PPNeueYork-CondensedMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue York Condensed";
  src: url("fonts/PPNeueYork-CondensedExtrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Editorial New";
  src: url("fonts/PPEditorialNew-UltralightItalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "PP Editorial New";
  src: url("fonts/PPEditorialNew-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "PP Fraktion Mono";
  src: url("fonts/PPFraktionMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -- Tokens --------------------------------------------------------------- */
:root {
  /* Palette — warm, sacred, premium */
  --bone:           #F8F2E6;
  --parchment:      #F3ECDF;
  --parchment-soft: #EADFCC;
  --stone:          #D7C9AF;
  --stone-line:     #C9BA9B;
  --ink:            #2B241D;
  --muted:          #72635350;
  --muted-text:     #6A5B4C;
  --night:          #16120E;
  --amber:          #C07B3E;
  --amber-deep:     #8E5222;
  --amber-light:    #E6B677;
  --umber:          #5A3A1E;
  --gold:           #C69B5B;

  /* Type */
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Reckless Neue", "PP Neue York", "Instrument Serif", "Times New Roman", serif;
  --sans-condensed: "PP Neue York Condensed", "PP Neue York", "Didot", serif;
  --serif: "Reckless Neue", "Instrument Serif", "PP Editorial New", "Times New Roman", serif;
  --mono: "PP Fraktion Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 9rem;
  --space-8: 12rem;

  --max: 1360px;
  --max-narrow: 900px;
  --measure: 60ch;

  --radius-sm: 4px;
  --radius-md: 8px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-emph: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--parchment);
  overflow-x: hidden;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

h1, h2, h3,
.prose, .pillar p, .give__item p, .course__title, .course__desc,
.instructor__title, .instructor__quote,
.stepping__line, .stepping__kicker, .presence__line, .plate__quote,
.closing__stamp p, .give__cta-line, .reveal-line > span {
  text-wrap: pretty;
}

.hero__title, .section__title, .closing__stamp p, .plate__quote,
.give__cta-line {
  text-wrap: balance;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
em { font-style: italic; }

/* -- Global grain --------------------------------------------------------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  mix-blend-mode: multiply;
  opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* -- Intro curtain -------------------------------------------------------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.curtain__panel {
  background: var(--night);
  transform: translateY(0);
  animation: curtainUp 1.2s 0.3s var(--ease-io) forwards;
}
.curtain__panel:nth-child(2) { animation-delay: 0.4s; }
@keyframes curtainUp {
  to { transform: translateY(-101%); }
}

/* -- Custom cursor (desktop only) ---------------------------------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 150;
  mix-blend-mode: difference;
}
.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
}
.cursor__dot {
  width: 6px;
  height: 6px;
  background: #fff;
}
.cursor__ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.cursor.is-hover .cursor__ring {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.06);
}
@media (pointer: coarse), (max-width: 820px) {
  .cursor { display: none; }
}

/* -- Navigation ----------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: 1.1rem clamp(1.25rem, 3.5vw, 2.5rem);
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out),
              padding 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
  color: var(--bone);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--parchment) 92%, transparent);
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
  border-bottom-color: color-mix(in srgb, var(--stone-line) 50%, transparent);
  color: var(--night);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.nav__logo {
  display: block;
  width: clamp(130px, 12vw, 170px);
  aspect-ratio: 685 / 167;
  background-color: currentColor;
  -webkit-mask: url("assets/dp-wordmark.svg") left center / contain no-repeat;
          mask: url("assets/dp-wordmark.svg") left center / contain no-repeat;
  transition: background-color 0.5s var(--ease-out);
}
.nav__links {
  justify-self: center;
  display: flex;
  gap: var(--space-4);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  opacity: 0.75;
  transition: opacity 0.3s var(--ease-out);
}
.nav__links a:hover { opacity: 1; }
.nav__links a > span {
  display: inline-block;
  transition: transform 0.5s var(--ease-emph);
}
.nav__links a::after {
  content: attr(data-label);
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
}

/* -- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out), transform 0.5s var(--ease-emph);
  white-space: nowrap;
  will-change: transform;
}
.btn--primary {
  background: var(--night);
  color: var(--bone);
}
.btn--primary:hover {
  background: var(--amber-deep);
}
.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
  opacity: 0.85;
}
.nav.is-scrolled .btn--ghost {
  color: var(--night);
}
.btn--ghost:hover {
  opacity: 1;
  background: currentColor;
  color: var(--parchment);
}
.nav.is-scrolled .btn--ghost:hover {
  background: var(--night);
  color: var(--parchment);
}
.btn--link-light {
  padding: 0.85rem 0;
  background: transparent;
  color: var(--bone);
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 35%, transparent);
}
.btn--link-light svg {
  transition: transform 0.45s var(--ease-emph);
}
.btn--link-light:hover {
  color: var(--amber-light);
  border-bottom-color: var(--amber-light);
}
.btn--link-light:hover svg { transform: translateX(4px); }

/* Dark text-link button — for use on parchment / light backgrounds */
.btn--link-dark {
  padding: 0.85rem 0;
  background: transparent;
  color: var(--night);
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--night) 35%, transparent);
}
.btn--link-dark svg { transition: transform 0.45s var(--ease-emph); }
.btn--link-dark:hover {
  color: var(--amber-deep);
  border-bottom-color: var(--amber-deep);
}
.btn--link-dark:hover svg { transform: translateX(4px); }
.btn--large {
  padding: 1.05rem 1.6rem;
  font-size: 0.88rem;
}
.btn svg { transition: transform 0.45s var(--ease-emph); }
.btn--primary:hover svg { transform: translate(2px, -2px); }

/* -- Layout primitives ---------------------------------------------------- */
.section {
  padding: clamp(5rem, 10vw, var(--space-7)) clamp(1.25rem, 4vw, 3rem);
  position: relative;
}
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section__inner--narrow { max-width: var(--max-narrow); }
.section__header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  align-items: start;
}
@media (max-width: 820px) {
  .section__header { grid-template-columns: 1fr; gap: var(--space-3); margin-bottom: var(--space-4); }
}

/* Meta / eyebrow — mono */
.meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-text);
}
.meta--right { margin-left: auto; }
.meta--light { color: color-mix(in srgb, var(--night) 75%, transparent); }
.meta__num {
  font-weight: 400;
  color: var(--amber);
}
.meta__divider {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* Section titles — sans with italic serif emphasis */
.section__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: var(--night);
  margin: 0;
}
.section__title em,
.prose em,
.give__cta-line em,
.hero__title em,
.closing__stamp em,
.plate__quote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.section__title--light { color: var(--night); }

.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
}
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-emph);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}
.is-visible > .reveal-line:nth-child(1) > span,
.is-visible.reveal-line > span { transition-delay: 0ms; transform: translateY(0); }
.is-visible > .reveal-line:nth-child(2) > span { transition-delay: 120ms; transform: translateY(0); }
.is-visible > .reveal-line:nth-child(3) > span { transition-delay: 240ms; transform: translateY(0); }
.is-visible > .reveal-line:nth-child(4) > span { transition-delay: 360ms; transform: translateY(0); }
.is-visible > .reveal-line:nth-child(5) > span { transition-delay: 480ms; transform: translateY(0); }

/* Prose */
.prose {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--night);
  max-width: var(--measure);
  margin: 0 0 var(--space-3);
}
.prose--lead {
  font-size: clamp(1.65rem, 2.9vw, 2.6rem);
  font-weight: 500;
}
.prose--emphasis {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--amber-deep);
  margin-top: var(--space-3);
  letter-spacing: -0.015em;
}

/* -- HERO ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  color: var(--bone);
  display: flex;
  flex-direction: column;
}
.hero__media {
  position: absolute;
  inset: -10%;
  z-index: -1;
  will-change: transform;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 2.6s var(--ease-out) 0.9s forwards;
  filter: saturate(1.05);
}
@keyframes heroZoom {
  to { transform: scale(1.02); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,18,14,0.45) 0%, rgba(22,18,14,0) 35%, rgba(22,18,14,0) 55%, rgba(22,18,14,0.75) 100%),
    linear-gradient(90deg, rgba(22,18,14,0.35) 0%, rgba(22,18,14,0) 50%);
}
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--space-6) + 1rem) clamp(1.25rem, 4vw, 3rem) var(--space-5);
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.hero__top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: color-mix(in srgb, var(--bone) 80%, transparent);
}
.hero__top .meta { color: color-mix(in srgb, var(--bone) 70%, transparent); }
.hero__top .meta__num { color: var(--amber-light); }

.hero__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--bone);
  margin: auto 0 0;
  max-width: 18ch;
}
.hero__title em {
  text-transform: none;
  letter-spacing: 0;
}
.hero__title em {
  color: var(--amber-light);
}

.hero__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-5);
  margin-top: var(--space-5);
}
@media (max-width: 820px) {
  .hero__foot { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero__top { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero__top .meta--right { margin-left: 0; }
}
.hero__scripture {
  margin: 0;
  max-width: 42ch;
  padding-left: var(--space-3);
  border-left: 1px solid color-mix(in srgb, var(--bone) 30%, transparent);
}
.hero__scripture blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.45;
  color: color-mix(in srgb, var(--bone) 92%, transparent);
  letter-spacing: -0.005em;
}
.hero__scripture figcaption {
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bone) 60%, transparent);
}
.hero__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.hero__ctas .btn--primary {
  background: var(--bone);
  color: var(--night);
}
.hero__ctas .btn--primary:hover {
  background: var(--amber-light);
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  right: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bone) 65%, transparent);
  z-index: 3;
}
.hero__scroll-line {
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bone) 45%, transparent), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber-light);
  transform: translateY(-100%);
  animation: scrollPulse 2.4s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}
@media (max-width: 720px) {
  .hero__scroll { display: none; }
}

/* -- Invitation ----------------------------------------------------------- */
.section--invitation {
  background: var(--parchment);
  padding-top: clamp(6rem, 12vw, var(--space-8));
}
.section--invitation .meta { margin-bottom: var(--space-4); }
.section--invitation .prose--lead { margin-bottom: var(--space-3); }

/* -- Building ------------------------------------------------------------- */
.section--building {
  background: var(--parchment-soft);
  border-top: 1px solid color-mix(in srgb, var(--stone-line) 50%, transparent);
}
.pillars {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--stone-line);
}
.pillar {
  padding: var(--space-4) var(--space-3);
  border-right: 1px solid var(--stone-line);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child {
  padding-right: 0;
  border-right: 0;
}
.pillar__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-3);
}
.pillar h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.75rem;
  color: var(--night);
}
.pillar p {
  margin: 0;
  font-family: var(--body);
  color: var(--muted-text);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 32ch;
}
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar {
    border-right: 0;
    border-bottom: 1px solid var(--stone-line);
    padding: var(--space-4) 0;
  }
  .pillar:last-child { border-bottom: 0; }
}

/* Presence lines */
.presence {
  border-top: 1px solid var(--stone-line);
  padding-top: var(--space-4);
}
.presence__line {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--night);
  margin: 0;
  padding: 0.4rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--stone-line) 60%, transparent);
}
.presence__line:last-child { border-bottom: 0; }
.presence__line em {
  color: var(--amber);
  font-weight: 200;
}

/* -- Instructors --------------------------------------------------------- */
.section--instructors {
  background: var(--bone);
  border-top: 1px solid color-mix(in srgb, var(--stone-line) 50%, transparent);
}
.instructors {
  list-style: none;
  padding: var(--space-5) 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(3.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--stone-line);
}
.instructor {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1rem;
  position: relative;
}
.instructor__media {
  margin: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--parchment-soft);
  cursor: pointer;
  isolation: isolate;
}
.instructor__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-emph), filter 1.2s var(--ease-emph);
  filter: saturate(0.9) contrast(1.02) brightness(0.96) sepia(0.12);
  z-index: 1;
  position: relative;
}
.instructor__media:hover img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.04) brightness(0.98) sepia(0.18);
}
/* Warm gradient overlay */
.instructor__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(230, 182, 119, 0.08) 0%,
      rgba(140, 82, 34, 0.12) 50%,
      rgba(42, 30, 18, 0.3) 100%),
    radial-gradient(80% 60% at 30% 20%,
      rgba(245, 215, 156, 0.18) 0%,
      rgba(245, 215, 156, 0) 60%);
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: opacity 0.8s var(--ease-emph);
}
.instructor__media:hover::before { opacity: 0.75; }

/* Film grain overlay */
.instructor__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.8 0 0 0 0 0.65 0 0 0 0 0.45 0 0 0 0.85 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  transition: opacity 0.8s var(--ease-emph);
}
.instructor__media:hover::after { opacity: 0.2; }
.instructor__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  background: color-mix(in srgb, var(--night) 75%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-emph) 0.3s, transform 0.6s var(--ease-emph) 0.3s;
}
.instructor.is-visible .instructor__badge {
  opacity: 1;
  transform: translateY(0);
}
.instructor__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-light);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber-light) 30%, transparent);
}
.instructor__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.35rem;
}
.instructor__name {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--night);
  margin: 0;
  letter-spacing: -0.005em;
}
.instructor__role {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin: 0;
}

@media (max-width: 960px) {
  .instructors {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2.25rem, 5vw, 3rem) clamp(1rem, 3vw, 1.75rem);
  }
}

/* -- Courses accordion --------------------------------------------------- */
.section--courses {
  background: var(--parchment-soft);
  border-top: 1px solid color-mix(in srgb, var(--stone-line) 50%, transparent);
}
.courses {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--stone-line);
}
.course {
  border-bottom: 1px solid var(--stone-line);
  position: relative;
}
.course::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-emph);
}
.course.is-visible::before { transform: scaleX(1); }

.course__head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--space-3);
  padding: clamp(1.5rem, 2.8vw, 2.25rem) 0;
  text-align: left;
  cursor: pointer;
  color: var(--night);
  transition: color 0.4s var(--ease-out);
}
.course__head:hover .course__title { color: var(--amber-deep); }
.course__head:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
  border-radius: 4px;
}
.course__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  align-self: start;
  padding-top: 0.65rem;
}
.course__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--night);
  transition: color 0.4s var(--ease-out);
}
.course__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
}
.course__tags {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
  padding-top: 0.35rem;
  align-self: start;
}
.course__bullet {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.course__icon {
  position: relative;
  width: 22px;
  height: 22px;
  align-self: start;
  margin-top: 0.5rem;
}
.course__icon-line {
  position: absolute;
  background: var(--night);
  transition: transform 0.5s var(--ease-emph), background 0.4s var(--ease-out);
}
.course__icon-line--h {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  margin-top: -0.75px;
}
.course__icon-line--v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  margin-left: -0.75px;
  transform-origin: center;
}
.course.is-open .course__icon-line--v {
  transform: scaleY(0);
}
.course.is-open .course__head .course__title {
  color: var(--amber-deep);
}

.course__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease-emph);
}
.course.is-open .course__body {
  grid-template-rows: 1fr;
}
.course__body-inner {
  overflow: hidden;
  min-height: 0;
}
.course__body-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-5);
  padding: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  padding-left: calc(2.5rem + var(--space-3));
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.6s var(--ease-emph) 0.15s, transform 0.6s var(--ease-emph) 0.15s;
}
.course.is-open .course__body-grid {
  opacity: 1;
  transform: translateY(0);
}
.course__desc {
  font-family: var(--body);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  max-width: 48ch;
}
.course__desc-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 48ch;
}
.course__topics {
  list-style: none;
  padding: 0;
  margin: 0;
  align-self: start;
}
.course__topics li {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-text);
  padding: 0.65rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--stone-line) 70%, transparent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.course__topics li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--amber);
}
.course__topics li:last-child { border-bottom: 0; }

@media (max-width: 820px) {
  .course__head {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem var(--space-2);
  }
  .course__num { grid-column: 1; grid-row: 1; padding-top: 0.25rem; }
  .course__title { grid-column: 2; grid-row: 1; font-size: clamp(1.35rem, 5vw, 2rem); }
  .course__icon { grid-column: 3; grid-row: 1; }
  .course__tags { grid-column: 2 / -1; grid-row: 2; padding-top: 0.25rem; }
  .course__body-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding-left: 0;
  }
}

.courses__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-top: var(--space-4);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin: 0;
}
.courses__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--night);
  border-bottom: 1px solid var(--night);
  padding-bottom: 3px;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.courses__link svg { transition: transform 0.4s var(--ease-emph); }
.courses__link:hover {
  color: var(--amber-deep);
  border-bottom-color: var(--amber-deep);
}
.courses__link:hover svg { transform: translateX(3px); }

/* -- Details (the essentials) — 3x2 expandable card grid ----------------- */
.section--details {
  background: var(--parchment);
  border-top: 1px solid color-mix(in srgb, var(--stone-line) 50%, transparent);
}
.details-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone-line);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.detail-card {
  background: var(--bone);
  display: flex;
  flex-direction: column;
  transition: background 0.4s var(--ease-out);
}
.detail-card.is-open {
  background: var(--parchment);
}
.detail-card__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: var(--space-2);
  align-items: start;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  color: var(--night);
  transition: background 0.3s var(--ease-out);
}
.detail-card__head:hover { background: rgba(192, 123, 62, 0.04); }
.detail-card__head:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}
.detail-card__label {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 0.65rem;
}
.detail-card__value {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--night);
}
.detail-card__icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.detail-card__icon-line {
  position: absolute;
  background: var(--night);
  transition: transform 0.5s var(--ease-emph);
}
.detail-card__icon-line--h {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  margin-top: -0.75px;
}
.detail-card__icon-line--v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  margin-left: -0.75px;
  transform-origin: center;
}
.detail-card.is-open .detail-card__icon-line--v { transform: scaleY(0); }

.detail-card__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-emph);
}
.detail-card.is-open .detail-card__body { grid-template-rows: 1fr; }
.detail-card__body-inner {
  overflow: hidden;
  min-height: 0;
}
.detail-card__sub {
  margin: 0;
  padding: 0 clamp(1.5rem, 2.2vw, 2rem) clamp(1.5rem, 2.2vw, 2rem);
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted-text);
}
.detail-card__sub strong {
  font-weight: 500;
  color: var(--night);
}
.detail-card__plans {
  list-style: none;
  margin: 0 clamp(1.5rem, 2.2vw, 2rem) 0.85rem;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--stone-line) 50%, transparent);
}
.detail-card__plans li {
  font-family: var(--body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
  padding: 0.55rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--stone-line) 50%, transparent);
}
.detail-card__plans li strong {
  font-weight: 500;
  color: var(--night);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 960px) {
  .details-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .details-grid { grid-template-columns: 1fr; }
}

/* -- FAQ accordion ------------------------------------------------------- */
.section--faq {
  background: var(--parchment);
  border-top: 1px solid color-mix(in srgb, var(--stone-line) 50%, transparent);
}
.faqs {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--stone-line);
}
.faq {
  border-bottom: 1px solid var(--stone-line);
  position: relative;
}
.faq__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding: clamp(1.25rem, 2.4vw, 1.75rem) 0;
  text-align: left;
  cursor: pointer;
  color: var(--night);
  background: none;
  border: 0;
  transition: color 0.4s var(--ease-out);
}
.faq__head:hover .faq__title { color: var(--amber-deep); }
.faq__head:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--night);
  transition: color 0.4s var(--ease-out);
  max-width: 36ch;
}
.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  align-self: center;
  flex-shrink: 0;
}
.faq__icon-line {
  position: absolute;
  background: var(--night);
  transition: transform 0.5s var(--ease-emph);
}
.faq__icon-line--h {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  margin-top: -0.75px;
}
.faq__icon-line--v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  margin-left: -0.75px;
  transform-origin: center;
}
.faq.is-open .faq__icon-line--v { transform: scaleY(0); }
.faq.is-open .faq__title { color: var(--amber-deep); }

.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-emph);
}
.faq.is-open .faq__body { grid-template-rows: 1fr; }
.faq__body-inner {
  overflow: hidden;
  min-height: 0;
}
.faq__body-content {
  padding: 0 0 clamp(1.5rem, 2.5vw, 2rem) 0;
  max-width: 64ch;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s var(--ease-emph) 0.1s, transform 0.5s var(--ease-emph) 0.1s;
}
.faq.is-open .faq__body-content {
  opacity: 1;
  transform: translateY(0);
}
.faq__body-content p {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1rem;
}
.faq__body-content p:last-child { margin-bottom: 0; }
.faq__body-content p strong {
  font-weight: 500;
  color: var(--night);
}
.faq__body-content a {
  color: var(--amber-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.3s var(--ease-out);
}
.faq__body-content a:hover { color: var(--amber); }
.faq__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-top: 1px solid color-mix(in srgb, var(--stone-line) 60%, transparent);
}
.faq__list li {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  padding: 0.65rem 0 0.65rem 1.6rem;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--stone-line) 60%, transparent);
}
.faq__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 10px;
  height: 1px;
  background: var(--amber);
}
.faq__list li strong {
  font-weight: 500;
  color: var(--night);
}

/* -- Photo plate break ---------------------------------------------------- */
.plate {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--bone);
}
.plate__media {
  position: absolute;
  inset: -8%;
  z-index: 0;
  will-change: transform;
}
.plate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plate__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,18,14,0.3), rgba(22,18,14,0.55));
}
.plate__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  padding: var(--space-5) clamp(1.25rem, 4vw, 3rem);
  width: 100%;
}
.plate__quote {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--bone);
  margin: 0;
  max-width: 18ch;
}
.plate__quote em {
  color: var(--amber-light);
}

/* Scripture plate variant — replaces Instructors section pre-launch */
.plate--scripture { min-height: 100vh; overflow: hidden; }

/* Larger inset gives the parallax JS room to translate without revealing
   the section background. Inner img is upscaled slightly so any vertical
   drift never exposes a hard edge. No CSS animation here — JS owns
   the transform. */
.plate__media--scripture {
  inset: -25%;
}
.plate__media--scripture img {
  transform: scale(1.08);
}

/* Cities & nations plate variant */
.plate--cities { min-height: 90vh; overflow: hidden; }
.plate__media--cities { inset: -25%; }
.plate__media--cities img {
  transform: scale(1.08);
  filter: grayscale(1) contrast(1.05);
}
.plate__veil--cities {
  background:
    linear-gradient(180deg,
      rgba(22,18,14,0.55) 0%,
      rgba(22,18,14,0.65) 50%,
      rgba(22,18,14,0.78) 100%);
}

.plate__veil--scripture {
  background:
    linear-gradient(180deg,
      rgba(22,18,14,0.35) 0%,
      rgba(22,18,14,0.45) 40%,
      rgba(22,18,14,0.7) 100%);
}
.plate__content--scripture {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.plate__quote--scripture {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 4.5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--bone);
  max-width: 22ch;
  text-align: center;
  margin: 0 auto;
}
.plate__quote--scripture em {
  color: var(--amber-light);
  font-style: italic;
}
.plate__cite {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bone) 70%, transparent);
}

/* -- Give ----------------------------------------------------------------- */
.section--give { background: var(--parchment); }
.give__grid {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone-line);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.give__item {
  background: var(--bone);
  padding: var(--space-4) var(--space-3);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  transition: background 0.5s var(--ease-out), transform 0.5s var(--ease-emph);
}
.give__item:hover {
  background: var(--parchment-soft);
}
.give__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.give__item p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--night);
}
@media (max-width: 820px) {
  .give__grid { grid-template-columns: 1fr; }
  .give__item { min-height: auto; }
}

.give__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.give__ctas {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.give__cta-line {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--night);
  margin: 0;
}
.give__cta-line em { color: var(--amber); }

/* -- Stepping Into — warm amber block ------------------------------------ */
.section--stepping {
  background: var(--amber-light);
  color: var(--night);
  position: relative;
  overflow: hidden;
}
.section--stepping::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 90% 0%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(90,58,30,0.2), transparent 65%);
  pointer-events: none;
}
.section--stepping .section__inner { position: relative; }
.section--stepping .meta__num { color: var(--amber-deep); }
.section__header--stepping {
  margin-bottom: var(--space-5);
}

/* Scripture blockquote at top of stepping section */
.stepping__scripture {
  margin: 0 0 var(--space-5);
  max-width: 64ch;
  padding-left: var(--space-3);
  border-left: 1px solid rgba(22,18,14,0.25);
}
.stepping__scripture blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: rgba(22,18,14,0.85);
}
.stepping__scripture figcaption {
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

/* Prose stack — sermon-style paragraphs */
.stepping__prose {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.6vw, 1.5rem);
  border-top: 1px solid rgba(22,18,14,0.18);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.stepping__line {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--night);
  max-width: 30ch;
}
.stepping__line:nth-child(2) { max-width: 24ch; }
.stepping__line:nth-child(3),
.stepping__line:nth-child(5) { max-width: 38ch; }
.stepping__line em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--amber-deep);
}

/* Kicker line — emphatic close */
.stepping__kicker {
  margin: 0;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(22,18,14,0.18);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--night);
  max-width: 30ch;
}
.stepping__kicker em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--amber-deep);
}

/* -- Closing -------------------------------------------------------------- */
.section--closing {
  background: var(--parchment);
  text-align: center;
  padding: clamp(6rem, 14vw, var(--space-8)) clamp(1.25rem, 4vw, 3rem);
}
.closing__stamp {
  max-width: none;
  margin: 0 auto var(--space-5);
  padding: var(--space-4) 0;
}
.closing__stamp p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.5rem, 4.2vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--night);
  margin: 0.4rem 0;
  overflow: hidden;
}
.closing__stamp em {
  color: var(--amber);
  text-transform: none;
  letter-spacing: 0;
}
@media (max-width: 720px) {
  .closing__stamp p { white-space: normal; }
}

/* -- Footer --------------------------------------------------------------- */
.footer {
  background: var(--night);
  color: color-mix(in srgb, var(--bone) 78%, transparent);
  padding: var(--space-6) clamp(1.25rem, 4vw, 3rem) var(--space-4);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* Top row: wordmark left | contact info right */
.footer__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: end;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 12%, transparent);
}
.footer__brand {
  display: block;
  color: var(--bone);
}
.footer__logo {
  display: block;
  width: clamp(160px, 18vw, 220px);
  aspect-ratio: 685 / 167;
  background-color: currentColor;
  -webkit-mask: url("assets/dp-wordmark.svg") left center / contain no-repeat;
          mask: url("assets/dp-wordmark.svg") left center / contain no-repeat;
  transition: opacity 0.3s var(--ease-out);
}
.footer__brand:hover .footer__logo { opacity: 0.78; }

.footer__contact {
  justify-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__line {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bone) 65%, transparent);
  line-height: 1.4;
}
.footer__line a {
  color: color-mix(in srgb, var(--bone) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 30%, transparent);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.footer__line a:hover {
  color: var(--amber-light);
  border-color: var(--amber-light);
}

/* Bottom row: © left | url right */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__copy {
  margin: 0;
  color: color-mix(in srgb, var(--bone) 45%, transparent);
}
.footer__url {
  color: color-mix(in srgb, var(--bone) 60%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 25%, transparent);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.footer__url:hover {
  color: var(--amber-light);
  border-color: var(--amber-light);
}

@media (max-width: 720px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    align-items: start;
  }
  .footer__contact {
    justify-self: start;
    text-align: left;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* -- Scroll reveal (generic) --------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease-emph), transform 1.1s var(--ease-emph);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children (pillars, give grid, stepping list) */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-emph), transform 1s var(--ease-emph);
}
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms;   opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 120ms; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 360ms; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 480ms; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 600ms; opacity: 1; transform: translateY(0); }

/* Reveal line used as standalone (hero + plate) — animate on load/visible */
.hero .reveal-line > span,
.plate .reveal-line > span,
.prose .reveal-line > span,
.section__title .reveal-line > span,
.presence__line .reveal-line > span,
.closing__stamp .reveal-line > span {
  transform: translateY(110%);
}
.hero .reveal-line > span {
  animation: reveal 1.2s var(--ease-emph) forwards;
  animation-delay: calc(1.2s + var(--d, 0ms));
}
.hero__title .reveal-line:nth-child(1) > span { --d: 0ms; }
.hero__title .reveal-line:nth-child(2) > span { --d: 140ms; }

@keyframes reveal {
  to { transform: translateY(0); }
}

/* When a container with data-reveal gets .is-visible,
   cascade reveal to its internal .reveal-line children */
[data-reveal].is-visible .reveal-line > span,
.is-visible .reveal-line > span { transform: translateY(0); }

/* For wrapper elements (.prose, .section__title, .closing__stamp, .plate__quote),
   watch them directly */
.prose, .section__title, .closing__stamp, .plate__quote,
.presence__line, .hero__title {
  /* nothing — they already scope their lines; visibility handled via JS */
}

/* Custom line observers target any element with .reveal-line children via JS */
[data-line-group] .reveal-line > span {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-emph);
  transition-delay: var(--d, 0ms);
}
[data-line-group].is-visible .reveal-line > span { transform: translateY(0); }
[data-line-group].is-visible .reveal-line:nth-child(1) > span { transition-delay: 0ms; }
[data-line-group].is-visible .reveal-line:nth-child(2) > span { transition-delay: 120ms; }
[data-line-group].is-visible .reveal-line:nth-child(3) > span { transition-delay: 240ms; }
[data-line-group].is-visible .reveal-line:nth-child(4) > span { transition-delay: 360ms; }

/* -- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .curtain { display: none; }
  [data-reveal], [data-stagger] > *, .reveal-line > span {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__img { animation: none; transform: none; }
}
