@import url("../fonts/fonts.css");

/* =========================================================
   Frontline Faith Missions
   Design system: editorial serif + civic condensed sans,
   ink/bone palette with a single ember accent.
   ========================================================= */

:root {
  --ink:        #0b0c0d;
  --ink-soft:   #15171a;
  --ink-line:   #26292d;
  --bone:       #f3efe7;
  --bone-deep:  #e6e0d3;
  --bone-line:  #d5cdbd;
  --ember:      #b23a24;
  --ember-lit:  #d0532e;
  --brass:      #b0873f;

  --fg-on-ink:      #f3efe7;
  --fg-on-ink-mut:  rgba(243, 239, 231, 0.62);
  --fg-on-bone:     #16181a;
  --fg-on-bone-mut: rgba(22, 24, 26, 0.66);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Barlow", "Helvetica Neue", Arial, sans-serif;
  --cond:  "Barlow Condensed", "Barlow", Arial Narrow, sans-serif;

  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --maxw: 78rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 720ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg-on-ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- grain overlay -------------------------------------------------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

/* ---- shared bits ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.815rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember-lit);
  margin: 0 0 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
  flex: none;
}
.section--bone .eyebrow { color: var(--ember); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.7rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem); line-height: 1.2; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  line-height: 1.52;
  color: var(--fg-on-ink-mut);
  font-weight: 300;
}
.section--bone .lede { color: var(--fg-on-bone-mut); }

/* ---- buttons -------------------------------------------------------- */
.btn {
  --btn-fg: #fff;
  --btn-bg: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: background 260ms var(--ease), color 260ms var(--ease),
              border-color 260ms var(--ease), transform 260ms var(--ease);
}
.btn:hover { background: var(--ember-lit); border-color: var(--ember-lit); transform: translateY(-2px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg-on-ink);
  border-color: rgba(243, 239, 231, 0.28);
}
.btn--ghost:hover {
  background: rgba(243, 239, 231, 0.07);
  border-color: rgba(243, 239, 231, 0.55);
}
.section--bone .btn--ghost { --btn-fg: var(--fg-on-bone); border-color: rgba(22, 24, 26, 0.24); }
.section--bone .btn--ghost:hover { background: rgba(22, 24, 26, 0.05); border-color: rgba(22, 24, 26, 0.5); }

.btn .arw { transition: transform 260ms var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background 420ms var(--ease), border-color 420ms var(--ease),
              backdrop-filter 420ms var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(11, 12, 13, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--ink-line);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 5.1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: auto; height: 2.5rem; }
.brand__txt {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.15;
}
.brand__txt span { display: block; color: var(--fg-on-ink-mut); letter-spacing: 0.2em; font-size: 0.76rem; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--fg-on-ink-mut);
  padding-block: 0.35rem;
  position: relative;
  transition: color 220ms var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ember-lit);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg-on-ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.hdr .btn { padding: 0.68rem 1.3rem; font-size: 0.93rem; }

.burger {
  display: none;
  width: 2.75rem; height: 2.75rem;
  background: none;
  border: 1px solid rgba(243,239,231,0.2);
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 1.15rem; height: 1.5px;
  margin-left: -0.575rem;
  background: var(--fg-on-ink);
  transition: transform 300ms var(--ease), opacity 200ms var(--ease);
}
.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(3) { transform: translateY(5px); }
body.nav-open .burger span:nth-child(1) { transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(100svh, 54rem);
  display: flex;
  align-items: center;
  /* Kristen's hero copy is a paragraph longer than the line it replaced, so the
     top padding gives a little back to keep the whole block above the fold on a
     short (720px) laptop screen. */
  padding-block: clamp(7rem, 15vh, 12rem) clamp(4rem, 9vh, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* ember light from the lower right, like a distant fire */
  content: "";
  position: absolute;
  z-index: -2;
  right: -18vw; bottom: -32vh;
  width: 92vw; height: 92vw;
  max-width: 70rem; max-height: 70rem;
  background: radial-gradient(circle closest-side,
              rgba(178, 58, 36, 0.4) 0%,
              rgba(178, 58, 36, 0.14) 38%,
              rgba(178, 58, 36, 0) 68%);
}
.hero__mark {
  position: absolute;
  z-index: -1;
  right: clamp(-8rem, -4vw, -2rem);
  top: 50%;
  translate: 0 -50%;
  height: min(78vh, 40rem);
  width: auto;
  opacity: 0.09;
  filter: blur(0.2px);
  pointer-events: none;
}
.hero__in { max-width: 52rem; }

.hero h1 {
  font-size: clamp(2.75rem, 1.6rem + 5.3vw, 6.1rem);
  line-height: 0.99;
  letter-spacing: -0.028em;
  margin-bottom: 1.9rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ember-lit);
}
.hero .lede { max-width: 41rem; }
.hero .note { margin-top: 1.8rem; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.6rem;
}

.hero__scroll {
  position: absolute;
  left: var(--pad);
  bottom: 2.2rem;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--fg-on-ink-mut);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__scroll i {
  display: block;
  width: 3.5rem; height: 1px;
  background: linear-gradient(90deg, var(--ember-lit), transparent);
  animation: sweep 2.8s var(--ease) infinite;
}
@keyframes sweep { 0%,100% { transform: scaleX(0.35); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } }

/* =========================================================
   Inner-page hero
   ========================================================= */
.phero {
  position: relative;
  padding-block: clamp(8.5rem, 17vh, 12rem) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.phero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -20vw; top: -60%;
  width: 80vw; height: 200%;
  max-width: 60rem;
  background: radial-gradient(circle closest-side, rgba(178,58,36,0.34) 0%, rgba(178,58,36,0.10) 46%, rgba(178,58,36,0) 78%);
}
.phero h1 {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem);
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: 1.6rem;
}
.phero .lede { max-width: 42rem; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
.section--bone { background: var(--bone); color: var(--fg-on-bone); }
.section--bone h1, .section--bone h2, .section--bone h3 { color: var(--fg-on-bone); }
.section--deep { background: var(--ink-soft); }

.rule { height: 1px; background: var(--ink-line); border: 0; margin: 0; }
.section--bone .rule { background: var(--bone-line); }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.grid-2--mid { align-items: center; }
.grid-2--foot { align-items: end; }

/* --- creed list (Who We Are) --- */
.creed { list-style: none; margin: 0; padding: 0; }
.creed li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: clamp(1.4rem, 3vw, 2.1rem);
  border-top: 1px solid var(--bone-line);
}
.creed li:last-child { border-bottom: 1px solid var(--bone-line); }
.creed .num {
  font-family: var(--cond);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ember);
  padding-top: 0.45rem;
}
.creed p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.72rem);
  line-height: 1.34;
  font-weight: 300;
  margin: 0;
  color: var(--fg-on-bone);
}
/* Kristen's copy gives each item a short label and a sentence of explanation,
   so the label takes the serif size the bare statement used to have and the
   sentence drops back to body text. `.creed__body` keeps the pair in the second
   grid column -- without the wrapper the h3 and p become separate grid items
   and the paragraph falls under the number. */
.creed__body { min-width: 0; }
.creed h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.72rem);
  line-height: 1.34;
  font-weight: 300;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}
.creed h3 + p {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
  font-weight: 400;
  color: var(--fg-on-bone-mut);
  max-width: 60ch;
}
.section--deep .creed li,
.section--deep .creed li:last-child { border-color: var(--ink-line); }
.section--deep .creed h3 { color: var(--fg-on-ink); }
.section--deep .creed h3 + p { color: var(--fg-on-ink-mut); }

/* --- do list --- */
.do-list { display: grid; gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); }
.do-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(1.8rem, 3.4vw, 2.6rem);
  border-top: 1px solid var(--ink-line);
  transition: background 400ms var(--ease), padding-inline 400ms var(--ease);
}
.do-item:last-child { border-bottom: 1px solid var(--ink-line); }
.do-item:hover { background: rgba(243, 239, 231, 0.035); }
.do-item .num {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--ember-lit);
  padding-top: 0.5rem;
}
.do-item h3 { font-weight: 400; }
.do-item p { color: var(--fg-on-ink-mut); margin: 0; font-size: 1rem; }

/* --- founders --- */
.founders__body { max-width: 34rem; }
.founders__body p + p { margin-top: 1.15rem; }
.dropcap::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 4.15em;
  line-height: 0.82;
  padding: 0.06em 0.14em 0 0;
  color: var(--ember);
  font-weight: 400;
}
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.35rem);
  line-height: 1.28;
  color: var(--fg-on-bone);
  border-left: 2px solid var(--ember);
  padding-left: clamp(1.2rem, 3vw, 2.2rem);
  margin: 0;
}
.pullquote cite {
  display: block;
  margin-top: 1.5rem;
  font: 600 0.83rem/1.5 var(--cond);
  font-style: normal;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--fg-on-bone-mut);
}

/* --- why it matters --- */
/* The cell gaps are the container background showing through, so any cell the
   items don't fill reads as a hole. Column counts are therefore explicit rather
   than auto-fit, and the last item spans two, which tiles the current SEVEN
   items exactly at 4, 2 and 1 columns. If the number of items ever changes,
   re-check this — auto-fit would silently leave a gap. */
.why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.why > div:last-child { grid-column: span 2; }
@media (min-width: 64rem) { .why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 34rem) {
  .why { grid-template-columns: 1fr; }
  .why > div:last-child { grid-column: auto; }
}
.why > div {
  background: var(--ink-soft);
  padding: clamp(1.9rem, 3vw, 2.75rem);
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.6rem;
  transition: background 380ms var(--ease);
}
.why > div:hover { background: #191c20; }
.why .num {
  font-family: var(--cond);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--brass);
}
.why p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.42rem);
  line-height: 1.32;
  font-weight: 300;
  margin: 0;
}
/* Same pattern as .creed: a serif label with a plain sentence beneath it. */
.why__body { display: grid; gap: 0.65rem; }
.why h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.42rem);
  line-height: 1.28;
  font-weight: 300;
  margin: 0;
}
.why h3 + p {
  font-family: var(--sans);
  font-size: 0.97rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--fg-on-ink-mut);
}

/* --- involvement --- */
.ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.way {
  padding-top: 1.5rem;
  border-top: 1px solid var(--bone-line);
}
.way h3 {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 600;
  font-size: 1.13rem;
  margin-bottom: 0.6rem;
}
.way p { color: var(--fg-on-bone-mut); font-size: 0.985rem; margin: 0; }

/* --- scripture + photograph band --- */
.verse {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  background: var(--ink-soft);
}
.verse__img { position: relative; overflow: hidden; min-height: 26rem; }
.verse__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.verse__img::after {
  /* seam the photograph into the ink panel beside it */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,12,13,0) 62%, rgba(11,12,13,0.85) 100%);
  pointer-events: none;
}
.verse__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
}
.verse__body blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 1.05rem + 1.35vw, 2.15rem);
  line-height: 1.34;
  color: var(--fg-on-ink);
  text-wrap: pretty;
}
.verse__body cite {
  font: 600 0.83rem/1.5 var(--cond);
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember-lit);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.verse__body cite::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }

/* --- next trip --- */
.trip { position: relative; overflow: hidden; }
.trip::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -14vw; top: -30%;
  width: 70vw; height: 160%;
  max-width: 52rem;
  background: radial-gradient(circle closest-side, rgba(178,58,36,0.3) 0%, rgba(178,58,36,0.09) 48%, rgba(178,58,36,0) 80%);
}
.trip .wrap { position: relative; z-index: 1; }
.trip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.trips { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; }
.trips li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: baseline;
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--ink-line);
}
.trips li:last-child { border-bottom: 1px solid var(--ink-line); }
.trips .when {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.15rem);
  line-height: 1.15;
  font-weight: 300;
}
.trips .where {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ember-lit);
}
.trip__emblem {
  width: min(100%, 24rem);
  margin-inline: auto;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}

.note {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--fg-on-ink-mut);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.note::before { content: ""; width: 1.5rem; height: 1px; background: var(--brass); }

/* --- give band --- */
.give {
  background:
    radial-gradient(120% 140% at 82% 12%, rgba(178, 58, 36, 0.55) 0%, rgba(178, 58, 36, 0) 58%),
    var(--ink);
  position: relative;
  overflow: hidden;
}
.give__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.give h2 { max-width: 16ch; }
.give__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.give__points li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 1rem;
  align-items: start;
  color: var(--fg-on-ink-mut);
  font-size: 1.02rem;
  line-height: 1.5;
}
.give__points li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 0.62rem;
  background: var(--ember-lit);
  transform: rotate(45deg);
}

/* --- contact --- */
.form-grid { display: grid; gap: 1.35rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 0.79rem;
  color: var(--fg-on-bone-mut);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg-on-bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bone-line);
  padding: 0.65rem 0.1rem;
  border-radius: 0;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--ember);
  background: rgba(178, 58, 36, 0.04);
}

/* --- long-form prose --- */
.prose { max-width: 40rem; }
.prose p { font-size: clamp(1.03rem, 1rem + 0.2vw, 1.12rem); line-height: 1.68; }
.prose h3 { margin: 2.75rem 0 0.9rem; }
.prose h3:first-child { margin-top: 0; }

/* Kristen's founding story runs long enough to want a centred measure of its
   own rather than the two-column treatment the shorter copy used. */
.prose--article { max-width: 42rem; margin-inline: auto; }
.prose--article p + p { margin-top: 1.25rem; }
.prose--article .pullquote {
  margin-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.95rem);
}
.prose__sign {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--bone-line);
  font: 600 0.83rem/1.6 var(--cond);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--fg-on-bone-mut);
}
.prose__sign span { display: block; color: var(--ember); }

/* closing line beneath a section — the sentence Kristen ends on */
.closer {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.2rem, 1.02rem + 0.8vw, 1.6rem);
  line-height: 1.42;
  max-width: 46rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  color: var(--fg-on-ink-mut);
}
.section--bone .closer { color: var(--fg-on-bone-mut); }

/* --- placeholder / coming-soon panel --- */
.soon {
  border: 1px dashed var(--bone-line);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}
.section:not(.section--bone) .soon { border-color: var(--ink-line); }
.soon h3 { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; font-size: 1.05rem; }
.soon p { color: var(--fg-on-bone-mut); max-width: 44ch; margin: 0; }
.section:not(.section--bone) .soon p { color: var(--fg-on-ink-mut); }

/* --- photo grid --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--ink-soft); }
/* height:100% makes a square photo fill a tile the grid has stretched taller,
   instead of leaving the figure background showing beneath it. On a single
   column the figure height is auto, so aspect-ratio takes over again. */
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.1rem 1rem;
  font: 500 0.86rem/1.4 var(--cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(0deg, rgba(11,12,13,0.9), rgba(11,12,13,0));
}
.gallery figure.is-wide { grid-column: span 2; }
/* until more photographs arrive, a lone image runs the full width */
.gallery figure:only-child { grid-column: 1 / -1; }
.gallery figure:only-child img { aspect-ratio: 16 / 9; object-position: 50% 38%; }
@media (max-width: 40rem) { .gallery figure.is-wide { grid-column: span 1; } }

/* --- give tiers --- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.tier {
  border: 1px solid var(--ink-line);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--ink-soft);
  transition: border-color 320ms var(--ease), transform 320ms var(--ease);
}
.tier:hover { border-color: rgba(208, 83, 46, 0.55); transform: translateY(-3px); }
.tier .amount {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
  line-height: 1;
  font-weight: 300;
}
.tier .amount span { color: var(--ember-lit); }
.tier p { color: var(--fg-on-ink-mut); margin: 0; font-size: 0.98rem; }

/* --- contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.detail { border-top: 1px solid var(--bone-line); padding-block: 1.35rem; }
.detail dt {
  font: 600 0.79rem/1.5 var(--cond);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-on-bone-mut);
  margin-bottom: 0.35rem;
}
.detail dd { margin: 0; font-size: 1.05rem; }
.detail dd a { color: var(--ember); text-decoration: none; border-bottom: 1px solid rgba(178,58,36,0.35); }
.detail dd a:hover { border-bottom-color: var(--ember); }

.form-note { font-size: 0.9rem; color: var(--fg-on-bone-mut); margin-top: 1.25rem; }
.form-status {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--ember);
  background: rgba(178,58,36,0.06);
  font-size: 0.97rem;
  display: none;
}
.form-status.is-shown { display: block; }
.form-status.is-ok { border-left-color: #2f7a4d; background: rgba(47,122,77,0.08); }

/* --- footer --- */
.ftr { background: var(--ink); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; border-top: 1px solid var(--ink-line); }
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.ftr h4 {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-on-ink-mut);
  margin: 0 0 1.25rem;
}
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ftr a { text-decoration: none; color: var(--fg-on-ink-mut); transition: color 220ms var(--ease); }
.ftr a:hover { color: var(--fg-on-ink); }
.ftr__base {
  border-top: 1px solid var(--ink-line);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(243, 239, 231, 0.45);
}

/* =========================================================
   Motion
   ========================================================= */
.rise { opacity: 0; transform: translateY(22px); }
.rise.in {
  opacity: 1;
  transform: none;
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.rise.in { transition-delay: var(--d, 0ms); }

.hero .rise { animation: heroIn 900ms var(--ease) both; opacity: 1; transform: none; }
.hero .rise:nth-child(1) { animation-delay: 80ms; }
.hero .rise:nth-child(2) { animation-delay: 200ms; }
.hero .rise:nth-child(3) { animation-delay: 320ms; }
.hero .rise:nth-child(4) { animation-delay: 440ms; }
.hero .rise:nth-child(5) { animation-delay: 560ms; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rise { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 62rem) {
  .grid-2, .give__grid, .ftr__grid, .verse, .trip__grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .verse__img { min-height: 20rem; max-height: 60vh; }
  .verse__img::after { background: linear-gradient(180deg, rgba(11,12,13,0) 55%, rgba(11,12,13,0.9) 100%); }
  .trip__emblem { width: min(100%, 18rem); }
  .do-item { grid-template-columns: 3rem minmax(0, 1fr); }
  .do-item p { grid-column: 2; }
}

@media (max-width: 52rem) {
  .nav {
    position: fixed;
    inset: 5.1rem 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(11, 12, 13, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ink-line);
    padding: 0.5rem var(--pad) 1.5rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 460ms var(--ease);
  }
  body.nav-open .nav { clip-path: inset(0 0 0 0); }
  .nav a { padding-block: 0.95rem; font-size: 1.15rem; width: 100%; border-bottom: 1px solid var(--ink-line); }
  .nav a::after { display: none; }
  .burger { display: block; order: 3; }
  .hdr__in .btn { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__mark { display: none; }
  .hero__scroll { display: none; }
}
