/* =========================================================
   Fathers Who Leave a Mark — editorial landing page
   ========================================================= */

:root {
  --ink: #1a1410;
  --ink-soft: #2a2218;
  --copper: #b8612e;
  --copper-deep: #8f4520;
  --sand: #d4a574;
  --cream: #f5ede0;
  --paper: #faf6ee;
  --muted: #6b5b4a;
  --rule: #d9cdb8;
  --rule-soft: #e8dfcb;

  --serif-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --serif-body: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --maxw: 1280px;
  --read: 680px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-color: var(--copper);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ----------- Typography utilities ----------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
}
.eyebrow-ink { color: var(--ink); }
.eyebrow-muted { color: var(--muted); }

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.h-display {
  font-family: var(--serif-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

.h1 { font-size: clamp(56px, 9vw, 132px); }
.h2 { font-size: clamp(40px, 5.6vw, 84px); }
.h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; }
.h4 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; font-weight: 500; }

.italic { font-style: italic; }
em.copper, .copper { color: var(--copper); font-style: italic; }

.body-lead {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-family: var(--serif-body);
  font-weight: 300;
  text-wrap: pretty;
}

p { text-wrap: pretty; }

/* ----------- Layout ----------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
  padding: clamp(80px, 10vw, 160px) 0;
}

.section-tight { padding: clamp(60px, 7vw, 110px) 0; }

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ----------- Top bar ----------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.brand-text { display: flex; flex-direction: row; gap: 0.3em; }
.brand-text em { font-style: italic; color: var(--copper); }
@media (max-width: 700px) {
  .brand-text em { display: none; }
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--copper);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--cream);
  border-radius: 50%;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--copper); }
.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 10px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--copper); color: var(--cream) !important; }

@media (max-width: 800px) {
  .nav .hide-sm { display: none; }
}

/* ----------- Hero ----------- */
.hero {
  padding: clamp(40px, 5vw, 60px) 0 clamp(60px, 7vw, 100px);
  border-bottom: 1px solid var(--rule);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.hero-meta > div { display: flex; gap: 10px; align-items: center; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-title {
  font-family: var(--serif-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.018em;
  font-size: clamp(64px, 11vw, 168px);
  margin: 0 0 28px;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}
.hero-deck {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--copper); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-copper {
  background: var(--copper);
  color: var(--cream);
}
.btn-copper:hover { background: var(--copper-deep); }
.btn .arrow { font-family: var(--serif-display); font-size: 16px; letter-spacing: 0; }

/* ----------- Image placeholders ----------- */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(184, 97, 46, 0.07) 0 10px,
      rgba(184, 97, 46, 0.03) 10px 20px
    ),
    linear-gradient(180deg, var(--sand) 0%, #c79560 100%);
  color: var(--ink);
  overflow: hidden;
  border-radius: 2px;
}

/* Sunset-Coahuila evocation for hero placeholder */
.placeholder.sunset {
  background:
    /* dust particles */
    radial-gradient(2px 2px at 18% 62%, rgba(245,237,224,0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 78%, rgba(245,237,224,0.3), transparent 60%),
    radial-gradient(1px 1px at 44% 70%, rgba(245,237,224,0.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 55%, rgba(245,237,224,0.3), transparent 60%),
    radial-gradient(1px 1px at 30% 80%, rgba(245,237,224,0.25), transparent 60%),
    /* sun glow */
    radial-gradient(ellipse 60% 30% at 52% 58%, rgba(255, 200, 130, 0.55), transparent 70%),
    /* desert floor */
    linear-gradient(
      180deg,
      #2a1810 0%,
      #4a2818 22%,
      #8b4422 42%,
      #c46a2e 58%,
      #e89858 70%,
      #b86d3a 80%,
      #6b3a20 92%,
      #2a1810 100%
    );
  color: var(--cream);
}
.placeholder.sunset::after {
  /* faint horizon haze line */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 67%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,237,224,0.18), transparent);
}
.placeholder.dark {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(245, 237, 224, 0.05) 0 10px,
      rgba(245, 237, 224, 0.02) 10px 20px
    ),
    linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
  color: var(--cream);
}
.placeholder.cream {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(26, 20, 16, 0.05) 0 10px,
      rgba(26, 20, 16, 0.02) 10px 20px
    ),
    var(--cream);
  color: var(--ink);
}
.ph-label {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  opacity: 0.85;
}
.ph-label .tag {
  background: rgba(26, 20, 16, 0.55);
  color: var(--cream);
  padding: 4px 8px;
  border-radius: 2px;
}
.placeholder.cream .ph-label .tag { background: rgba(26, 20, 16, 0.85); }
.ph-body {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.25;
  opacity: 0.85;
  text-wrap: balance;
}
.ph-aspect-3x4 { aspect-ratio: 3/4; }
.ph-aspect-4x3 { aspect-ratio: 4/3; }
.ph-aspect-16x9 { aspect-ratio: 16/9; }
.ph-aspect-1x1 { aspect-ratio: 1/1; }
.ph-aspect-5x7 { aspect-ratio: 5/7; }
.ph-aspect-21x9 { aspect-ratio: 21/9; }

.hero-image {
  position: relative;
}
.hero-image .placeholder { aspect-ratio: 4/5; }
.hero-image .hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink);
}
.hero-image .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image .caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

/* ----------- Section header ----------- */
.section-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: start;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}
.section-head .num span { color: var(--muted); }
.section-head h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--copper); }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ----------- Article column ----------- */
.article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
}
.article .aside {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}
.article-body {
  max-width: var(--read);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.article-body p { margin: 0 0 1.2em; }
.article-body p.drop::first-letter {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  color: var(--copper);
  float: left;
  font-size: 5.4em;
  line-height: 0.85;
  padding: 0.05em 0.12em 0 0;
}
@media (max-width: 800px) {
  .article { grid-template-columns: 1fr; }
  .article .aside { order: 2; }
}

/* ----------- Story / opening ----------- */
.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.story-hero .placeholder { aspect-ratio: 4/5; }
.story-hero .story-photo {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/5;
  background: var(--ink);
}
.story-hero .story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 800px) { .story-hero { grid-template-columns: 1fr; } }

/* ----------- Pull quote ----------- */
.pullquote {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(40px, 5vw, 64px) 0;
  margin: clamp(40px, 5vw, 64px) 0;
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pullquote blockquote::before {
  content: "\201C";
  display: block;
  font-size: 1.5em;
  line-height: 0.5;
  color: var(--copper);
  margin-bottom: 0.3em;
}
.pullquote cite {
  display: block;
  margin-top: 28px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------- The Need / stats ----------- */
.need {
  background: var(--ink);
  color: var(--cream);
}
.need .section-head .num { color: var(--sand); }
.need .section-head .num span { color: rgba(245, 237, 224, 0.5); }
.need .section-head h2 { color: var(--cream); }
.need .section-head h2 em { color: var(--sand); }
.need .article-body { color: rgba(245, 237, 224, 0.85); }
.need .pullquote { border-color: rgba(245, 237, 224, 0.15); }
.need .pullquote blockquote { color: var(--cream); }
.need .pullquote blockquote::before { color: var(--sand); }
.need .pullquote cite { color: rgba(245, 237, 224, 0.55); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 237, 224, 0.15);
  border-top: 1px solid rgba(245, 237, 224, 0.15);
  border-bottom: 1px solid rgba(245, 237, 224, 0.15);
  margin-top: clamp(40px, 5vw, 64px);
}
.stat {
  background: var(--ink);
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px);
}
.stat .num {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  color: var(--sand);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.stat .num em { font-style: italic; color: var(--copper); }
.stat .desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(245, 237, 224, 0.7);
  max-width: 32ch;
}
@media (max-width: 800px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ----------- 12 sessions ----------- */
.sessions {
  background: var(--paper);
}
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.session {
  background: var(--paper);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: background 0.2s;
}
.session:hover { background: var(--cream); }
.session .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--copper);
  display: flex;
  justify-content: space-between;
}
.session .num span { color: var(--muted); }
.session .title {
  font-family: var(--serif-display);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: auto;
}
.session .scripture {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .sessions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sessions-grid { grid-template-columns: 1fr; }
}

/* ----------- Methodology / pillars ----------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.pillar {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.pillar .roman {
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--copper);
  font-size: 22px;
  margin-bottom: 10px;
}
.pillar h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 14px;
}
.pillar p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* ----------- Transformation arc ----------- */
.arc {
  background: var(--cream);
}
.arc-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.arc-row {
  display: grid;
  grid-template-columns: 100px 1fr auto 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
}
.arc-row .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--copper);
}
.arc-row .from, .arc-row .to {
  font-family: var(--serif-display);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.arc-row .from { color: var(--muted); font-style: italic; }
.arc-row .to { color: var(--ink); }
.arc-row .arrow {
  font-family: var(--serif-display);
  font-size: 32px;
  color: var(--copper);
}
@media (max-width: 800px) {
  .arc-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 0;
  }
  .arc-row .arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ----------- Resources ----------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(26, 20, 16, 0.25);
}
.resource-card .placeholder {
  aspect-ratio: 4/3;
  border-radius: 0;
}
.resource-card .resource-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}
.resource-card .resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.resource-card .resource-image--contain img {
  object-fit: contain;
  padding: 18px;
}
.resource-card .body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.resource-card .kind {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}
.resource-card h3 {
  font-family: var(--serif-display);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.resource-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.resource-card .meta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.resource-card .meta .download { color: var(--ink); }
@media (max-width: 900px) {
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .resources-grid { grid-template-columns: 1fr; }
}

/* ----------- Camino San José ----------- */
.camino {
  background: var(--ink);
  color: var(--cream);
}
.camino .section-head .num { color: var(--sand); }
.camino .section-head .num span { color: rgba(245, 237, 224, 0.5); }
.camino .section-head h2 { color: var(--cream); }
.camino .section-head h2 em { color: var(--sand); }
.camino-intro {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  color: rgba(245, 237, 224, 0.92);
  max-width: 38ch;
}

.route-frame {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--cream);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(245, 237, 224, 0.15);
}
.route-frame .top-strip {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.route-frame .top-strip strong { color: var(--ink); font-weight: 500; }
.route-frame img {
  width: 100%;
  height: auto;
}
.route-frame .bottom-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
}
.route-frame .stop {
  background: var(--cream);
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.route-frame .stop strong {
  display: block;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-top: 6px;
}
@media (max-width: 700px) {
  .route-frame .bottom-strip { grid-template-columns: repeat(2, 1fr); }
}

.camino-cta {
  margin-top: clamp(40px, 5vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}

/* ----------- Testimonials ----------- */
.testimonies {
  background: var(--paper);
}
.testimony-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 80px);
}
.testimony {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(20px, 2vw, 32px);
  align-items: start;
}
.testimony .placeholder .ph-body { display: none; }
.testimony .placeholder { aspect-ratio: 4/5; }
.testimony .testimony-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink, #1a1410);
  border-radius: 2px;
}
.testimony .testimony-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.testimony .who {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.testimony .who span { color: var(--muted); }
.testimony blockquote {
  margin: 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.testimony cite {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 900px) {
  .testimony-grid { grid-template-columns: 1fr; }
}

/* ----------- Adopt / Donate side-by-side ----------- */
.cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink);
}
.cta-block {
  padding: clamp(48px, 6vw, 88px) clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-adopt {
  background: var(--cream);
  color: var(--ink);
}
.cta-donate {
  background: var(--copper);
  color: var(--cream);
}
.cta-block .eyebrow { color: inherit; opacity: 0.8; }
.cta-block h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.012em;
  margin: 0;
  color: inherit;
  text-wrap: balance;
}
.cta-block h2 em { font-style: italic; }
.cta-adopt h2 em { color: var(--copper); }
.cta-donate h2 em { color: var(--ink); }
.cta-block p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 44ch;
}
.cta-adopt p { color: var(--ink-soft); }
.cta-donate p { color: rgba(245, 237, 224, 0.92); }
.cta-block .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cta-donate .btn-primary {
  background: var(--ink);
}
.cta-donate .btn-primary:hover { background: var(--ink-soft); }
.cta-donate .btn-ghost {
  border-color: var(--cream);
  color: var(--cream);
}
.cta-donate .btn-ghost:hover { background: var(--cream); color: var(--copper); }
@media (max-width: 900px) {
  .cta-pair { grid-template-columns: 1fr; }
}

/* ----------- Partners ----------- */
.partners {
  background: var(--paper);
  padding: clamp(60px, 6vw, 100px) 0;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.partner {
  background: var(--paper);
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}
.partner .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}
.partner .name {
  font-family: var(--serif-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.partner p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  margin-top: auto;
}
@media (max-width: 900px) { .partners-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .partners-grid { grid-template-columns: 1fr; } }

/* ----------- Lang toggle ----------- */
.lang-toggle {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  margin-right: 4px;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  padding: 8px 12px;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--ink);
  cursor: pointer;
}
.lang-toggle button.active {
  background: var(--ink);
  color: var(--cream);
}

/* ----------- Footer ----------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 6vw, 96px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: clamp(48px, 5vw, 72px);
}
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; font-size: 15px; }
.footer ul li a { color: rgba(245, 237, 224, 0.78); text-decoration: none; }
.footer ul li a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--copper); }
.footer-brand {
  font-family: var(--serif-display);
  font-size: 32px;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.footer-brand em { font-style: italic; color: var(--sand); }
.footer-tagline {
  color: rgba(245, 237, 224, 0.7);
  font-size: 15px;
  line-height: 1.55;
  max-width: 38ch;
}
.footer-bottom {
  border-top: 1px solid rgba(245, 237, 224, 0.15);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.5);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ----------- Tweaks panel ----------- */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 20px 40px -16px rgba(26, 20, 16, 0.4);
  display: none;
}
.tweaks.open { display: block; }
.tweaks h5 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
.tweaks h5 button {
  background: none;
  border: none;
  color: rgba(245, 237, 224, 0.6);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 14px;
  padding: 0;
}
.tweaks .group {
  margin-bottom: 18px;
}
.tweaks .group-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.55);
  margin-bottom: 8px;
}
.tweaks .swatches {
  display: flex;
  gap: 8px;
}
.tweaks .swatch {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  overflow: hidden;
}
.tweaks .swatch.active { border-color: var(--sand); }
.tweaks .swatch span { flex: 1; }
.tweaks .toggle {
  display: flex;
  gap: 6px;
}
.tweaks .toggle button {
  flex: 1;
  background: transparent;
  color: rgba(245, 237, 224, 0.7);
  border: 1px solid rgba(245, 237, 224, 0.2);
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
}
.tweaks .toggle button.active {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--sand);
}

/* ===================================================
   MOBILE MENU (hamburger + slide-down overlay)
   =================================================== */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-btn span {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s, top 0.2s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 26px; }
body.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.01em;
  padding: 80px 24px;
  text-align: center;
}
.mobile-menu-inner a {
  text-decoration: none;
  color: var(--ink);
}
.mobile-menu-inner a:hover { color: var(--copper); }
.mobile-menu-inner .mobile-menu-donate {
  margin-top: 16px;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 36px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mobile-menu-inner .mobile-menu-donate:hover {
  background: var(--copper);
  color: var(--cream);
}
body.menu-open {
  overflow: hidden;
}

/* ===================================================
   TABLET — ≤900px
   =================================================== */
@media (max-width: 900px) {
  :root { --maxw: 100%; }
  section { padding: clamp(60px, 8vw, 110px) 0; }
}

/* ===================================================
   MOBILE — ≤640px (phones)
   =================================================== */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding: 0 20px; }
  section { padding: 64px 0; }

  /* Topbar — show hamburger, hide section links AND lang toggle (lang inside mobile menu? no — keep it visible, just smaller) */
  .topbar-inner {
    padding: 12px 16px;
    gap: 10px;
  }
  .brand { font-size: 17px; max-width: 56%; gap: 10px; }
  .brand-mark { width: 22px; height: 22px; }
  .brand-mark::after { inset: 6px; }
  .nav { gap: 10px; }
  .nav-cta { display: none; }
  .menu-btn { display: block; width: 40px; height: 40px; }
  .menu-btn span { left: 10px; right: 10px; }
  .menu-btn span:nth-child(1) { top: 14px; }
  .menu-btn span:nth-child(2) { top: 19px; }
  .menu-btn span:nth-child(3) { top: 24px; }
  body.menu-open .menu-btn span:nth-child(1),
  body.menu-open .menu-btn span:nth-child(3) { top: 19px; }
  .lang-toggle { font-size: 10px; }
  .lang-toggle button { padding: 7px 9px; }

  /* Hero */
  .hero { padding: 32px 0 56px; }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 20px;
    margin-bottom: 36px;
    font-size: 10px;
  }
  .hero-grid { gap: 32px; }
  .hero-title { font-size: 56px !important; line-height: 0.95; }
  .hero-deck { font-size: 17px; line-height: 1.45; margin-bottom: 24px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { justify-content: center; padding: 14px 22px; }
  .hero-image .caption { font-size: 9px; flex-direction: column; gap: 4px; }

  /* Section heads */
  .section-head { gap: 16px; margin-bottom: 36px; }
  .section-head .num { font-size: 10px; }
  .section-head h2 { font-size: 36px !important; }

  /* Story */
  .story-hero { gap: 28px; margin-bottom: 36px; }
  .story-hero .story-photo { aspect-ratio: 4/5; }
  .article { gap: 20px; }
  .article .aside { font-size: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-soft); }
  .article-body { font-size: 16px; line-height: 1.6; }
  .article-body p.drop::first-letter { font-size: 4.4em; }

  /* Pull quote */
  .pullquote { padding: 32px 0; margin: 32px 0; }
  .pullquote blockquote { font-size: 24px; line-height: 1.2; }
  .pullquote cite { margin-top: 18px; font-size: 10px; }

  /* Need / stats */
  .need .article-body { font-size: 16px; }
  .stat { padding: 28px 22px; }
  .stat .num { font-size: 56px; }
  .stat .desc { font-size: 14px; line-height: 1.5; }

  /* Program / sessions */
  .sessions p.body-lead { font-size: 17px; margin-bottom: 32px; }
  .session { padding: 22px 22px; min-height: 140px; gap: 10px; }
  .session .title { font-size: 22px; }
  .session .num { font-size: 10px; }
  .session .scripture { font-size: 12px; }

  /* Pillars */
  .pillars { gap: 24px; }
  .pillar { padding-top: 14px; }
  .pillar h3 { font-size: 22px; }
  .pillar p { font-size: 14px; }
  .pillar .roman { font-size: 18px; margin-bottom: 6px; }

  /* Arc — stack vertically */
  .arc-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding: 22px 0 !important;
    text-align: center;
  }
  .arc-row .num { font-size: 10px; }
  .arc-row .from, .arc-row .to { font-size: 28px !important; }
  .arc-row .arrow { font-size: 22px; padding: 2px 0; transform: rotate(90deg); }

  /* Resources */
  .resource-card .body { padding: 20px 22px 24px; gap: 10px; }
  .resource-card h3 { font-size: 22px; }
  .resource-card p { font-size: 14px; }
  .resource-card .kind { font-size: 10px; }
  .resource-card .meta { font-size: 10px; }

  /* Camino */
  .camino-intro { font-size: 19px; line-height: 1.4; }
  .route-frame .top-strip {
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    font-size: 10px;
  }
  .route-frame .bottom-strip { grid-template-columns: 1fr; }
  .route-frame .stop { padding: 14px 18px; font-size: 10px; }
  .route-frame .stop strong { font-size: 16px; }
  .camino-cta { flex-direction: column; align-items: stretch; gap: 24px; }
  .camino-cta .btn { justify-content: center; }

  /* Testimonies */
  .testimony { grid-template-columns: 1fr; gap: 16px; }
  .testimony .placeholder { aspect-ratio: 4/5; max-height: 360px; }
  .testimony .testimony-photo { aspect-ratio: 4/5; max-height: 360px; }
  .testimony blockquote { font-size: 19px; line-height: 1.3; }
  .testimony .who { font-size: 10px; }
  .testimony cite { font-size: 10px; margin-top: 12px; }
  .testimony-grid { gap: 36px; }

  /* CTA pair */
  .cta-block { padding: 40px 24px; gap: 16px; }
  .cta-block h2 { font-size: 32px !important; }
  .cta-block p { font-size: 15px; }
  .cta-block .actions { flex-direction: column; align-items: stretch; }
  .cta-block .btn { justify-content: center; }

  /* Partners */
  .partner { padding: 24px 22px; min-height: 0; }
  .partner .name { font-size: 22px; }
  .partner p { font-size: 14px; }

  /* Footer */
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px; }
  .footer-brand { font-size: 24px; }
  .footer-tagline { font-size: 14px; }
  .footer h4 { margin-bottom: 12px; font-size: 10px; }
  .footer ul li { font-size: 14px; margin-bottom: 8px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 9px;
    padding-top: 22px;
  }

  /* Tweaks panel — make it smaller on phones */
  .tweaks {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-width: 280px;
  }
}

/* ===================================================
   SMALL MOBILE — ≤400px
   =================================================== */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .brand-text em { display: none; }
  .brand { font-size: 16px; max-width: 50%; }
  .hero-title { font-size: 48px !important; }
  .section-head h2 { font-size: 30px !important; }
  .stat .num { font-size: 48px; }
  .mobile-menu-inner { gap: 22px; font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Touch-friendly minimum tap targets */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .lang-toggle button { min-height: 36px; }
}

/* ===================================================
   JOIN / REGISTRATION FORM
   =================================================== */
.join {
  background: var(--paper);
}
.join-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 880px;
}
.join-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.join-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.join-field.full { grid-column: 1 / -1; }
.join-field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.join-field input,
.join-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.join-field input:focus,
.join-field textarea:focus {
  outline: none;
  border-bottom-color: var(--copper);
}
.join-field textarea {
  border: 1px solid var(--rule);
  padding: 14px 16px;
  min-height: 120px;
  font-size: 17px;
}
.join-field textarea:focus { border-color: var(--copper); }
.join-field input::placeholder,
.join-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
  font-style: italic;
}

.join-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.join-fineprint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  max-width: 48ch;
  font-family: var(--serif-body);
}
.join-fineprint strong { color: var(--ink); font-weight: 500; }

#join-submit { cursor: pointer; border: 0; }
#join-submit:disabled { opacity: 0.6; cursor: wait; }

.join-status {
  margin-top: 8px;
  padding: 0;
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  display: none;
}
.join-status.show { display: block; padding: 20px 24px; border-radius: 4px; }
.join-status.success {
  background: var(--cream);
  border-left: 3px solid var(--copper);
  color: var(--ink);
}
.join-status.error {
  background: #fff0e8;
  border-left: 3px solid #c84a2a;
  color: #6f2814;
}

@media (max-width: 640px) {
  .join-row { grid-template-columns: 1fr; gap: 18px; }
  .join-form { gap: 18px; }
  .join-field input, .join-field textarea { font-size: 17px; }
  .join-submit-row { flex-direction: column; align-items: stretch; }
  .join-submit-row .btn { justify-content: center; }
  .join-fineprint { font-size: 12px; }
  .join-status.show { padding: 16px 18px; font-size: 15px; }
}

/* =========================================================
   Accessibility — skip-to-content link
   ========================================================= */
.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
