@import url('page.css');

/* ============================================================
   Homepage.
   Editorial split hero on a deep field — not text floated over a
   photograph, which is the template default this site is leaving.
   ============================================================ */

.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
@media (max-width: 62rem) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

.hero__eyebrow {
  display: flex; align-items: center; gap: var(--s-3);
  color: var(--sky);
  margin-bottom: var(--s-6);
}
.hero__eyebrow img { width: 2rem; height: 2rem; filter: brightness(0) invert(1); opacity: .9; }

.hero h1 {
  font-size: var(--t-7);
  font-weight: 300;
  /* Fraunces has tall ascenders and deep descenders. A line-height below 1
     makes the line box shorter than the glyphs, so the cap of the Y clipped
     and the g of "message" collided with the line beneath. */
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 14ch;
  /* Descenders sit outside the line box; give them somewhere to go. */
  padding-bottom: .08em;
}
/* The one word the whole page turns on, set apart by weight and colour
   rather than by a different family. */
.hero h1 b {
  display: block;
  font-weight: 600;
  font-style: italic;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  color: var(--sky);
  /* The italic sits optically low against the roman above it. */
  margin-top: .06em;
}
.hero__mission {
  color: rgba(255,255,255,.74);
  font-size: var(--t-1);
  line-height: 1.55;
  max-width: 44ch;
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* The hero image is a framed, cropped object with a deliberate ratio —
   it does not dictate the height of the section. */
.hero__fig {
  position: relative;
  box-shadow: 0 2rem 4rem rgba(0,0,0,.35);
}
.hero__fig.fig--portrait { aspect-ratio: 4 / 5; }
@media (max-width: 62rem) {
  /* A 16:10 crop of a portrait photograph decapitates the subject.
     Keep it close to the source ratio and bias the crop upward. */
  .hero__fig.fig--portrait { aspect-ratio: 5 / 6; }
  .hero__fig img { object-position: 50% 22%; }
}

/* Proof bar: three facts, set as facts. */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 48rem) { .hero__facts { grid-template-columns: 1fr; gap: var(--s-4); } }
.hero__facts b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-3);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero__facts span { color: rgba(255,255,255,.58); font-size: var(--t--1); }

/* ---------- scripture: the still moment, now at full weight ---------- */
.scripture { padding-block: clamp(5rem, 12vw, 10rem); }
.scripture blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: 'SOFT' 50, 'WONK' 1;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 20ch;
  color: #fff;
  text-wrap: balance;
}
.scripture cite {
  display: block; margin-top: var(--s-6); font-style: normal;
  color: var(--sky); font-size: var(--t-0);
}


