﻿/* ============================================================
   Gil Hodges Freedom â€” new site
   Design system: warm, premium, modern. Phoenix + Golden Infinity.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--base); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink-dark); }

/* ---------- Tokens ---------- */
:root {
  /* ============================================================
     PEARL ICONIC PALETTE â€” anchored to the real Pearl property.
     WHY these exact hexes: extracted from Gils own photos of the
     land (yellow farmhouse / red barn / green tiny house). Do NOT
     swap for "more modern" colors without Gils explicit go.
     Source of truth: project_pearl_iconic_palette.md.
       yellow #ECD584  red #BB3A2E  green #234A39  cream #FAF6EC
     Existing --gold/--bronze/--ink-dark/--base tokens are remapped
     onto the trio so all component CSS inherits it unchanged.
     ============================================================ */
  --pearl-yellow:#ECD584; --pearl-red:#BB3A2E; --pearl-green:#234A39;
  --pearl-cream:#FAF6EC; --pearl-green-deep:#15301F;
  --base:        #FAF6EC;   /* pearl-cream â€” page bg (NOT pure white) */
  --base-alt:    #FDFBF5;   /* pearl bg-elevated â€” card surfaces */
  --ink:         #2B2420;   /* dark warm gray, body text */
  --ink-dark:    #1B3A2D;   /* pearl-green-text â€” headings (WCAG AA on cream) */
  --gold:        #ECD584;   /* pearl-yellow â€” warmth surfaces */
  --gold-deep:   #D9BD63;   /* pearl-yellow-deep â€” hover/pressed */
  --bronze:      #BB3A2E;   /* pearl-red â€” rare action accent (max 1 on screen) */
  --taupe:       #A89885;   /* soft / muted text */
  --line:        rgba(35,74,57,0.12); /* green-tinted hairline */
  --shadow-sm:   0 1px 2px rgba(26, 22, 20, 0.06);
  --shadow-md:   0 6px 24px rgba(26, 22, 20, 0.08);
  --shadow-lg:   0 20px 60px rgba(26, 22, 20, 0.14);

  --container:   1200px;
  --container-sm: 880px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-tight { padding: 32px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } .section-sm { padding: 40px 0; } }

/* ---------- Typography scale ---------- */
.eyebrow { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
h1.display, .h-display { font-size: clamp(44px, 6.5vw, 92px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; }
h1 { font-size: clamp(36px, 4.5vw, 60px); }
h2 { font-size: clamp(30px, 3.5vw, 48px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
h4 { font-size: 20px; }
.lede { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink); line-height: 1.55; max-width: 58ch; }
.muted { color: var(--taupe); }
.fade-italic { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; color: var(--bronze); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(250, 247, 242, 0.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 12px; font-family: 'Fraunces', serif; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-dark); }
.nav-brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink); font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--ink-dark); color: #fff !important; padding: 11px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; transition: background .2s; }
.nav-cta:hover { background: var(--bronze); color: #fff !important; }
.nav-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink-dark); position: relative; transition: all .2s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink-dark); transition: all .2s; }
.nav-burger span::before { top: -7px; }
.nav-burger span::after { top: 7px; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--base); border-bottom: 1px solid var(--line); padding: 24px; gap: 20px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; transition: all .2s ease; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--ink-dark); color: #fff; }
.btn-primary:hover { background: var(--bronze); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--ink-dark); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink-dark); border-color: var(--ink-dark); }
.btn-outline:hover { background: var(--ink-dark); color: #fff; }
.btn-ghost { padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; transition: color .2s, border-color .2s; }
.btn-ghost:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn .arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 96px; overflow: hidden; background: linear-gradient(180deg, var(--base) 0%, var(--base-alt) 100%); }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 60%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lede { margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual img { max-height: 560px; width: auto; filter: drop-shadow(0 30px 60px rgba(201, 169, 110, 0.3)); }
@media (max-width: 900px) {
  .hero { padding: 72px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 340px; }
}

/* ---------- Sections ---------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lede { max-width: 58ch; }
.section-dark { background: var(--ink-dark); color: var(--base); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-cream { background: var(--base-alt); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4 / 3; background: var(--base-alt); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }

/* ---------- Real Pearl photo layouts ---------- */
.photo-strip { display: grid; grid-template-columns: 1.4fr .9fr .9fr; gap: 14px; }
.photo-strip img, .photo-grid img, .mini-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-sm); }
.photo-strip img { min-height: 260px; }
.photo-strip img:first-child { grid-row: span 2; min-height: 540px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-grid img { aspect-ratio: 4 / 3; }
.stay-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 28px; align-items: stretch; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.stay-feature + .stay-feature { margin-top: 28px; }
.stay-feature-copy { display: flex; flex-direction: column; justify-content: center; }
.mini-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini-gallery img { aspect-ratio: 4 / 3; }
.mini-gallery img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.mini-gallery figure { position: relative; margin: 0; min-width: 0; }
.mini-gallery figure:first-child { grid-column: span 2; }
.mini-gallery figure:first-child img { aspect-ratio: 16 / 9; }
.mini-gallery-label { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 7px 10px; border-radius: 999px; background: rgba(16, 52, 39, .9); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
@media (max-width: 900px) {
  .photo-strip, .photo-grid, .stay-feature { grid-template-columns: 1fr; }
  .photo-strip img:first-child { grid-row: auto; min-height: 260px; }
}
@media (max-width: 640px) { .mini-gallery { grid-template-columns: 1fr; } .mini-gallery img:first-child, .mini-gallery figure:first-child { grid-column: auto; } }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; font-size: 22px; }
.card-body p { color: var(--taupe); font-size: 15px; line-height: 1.55; flex: 1; margin-bottom: 16px; }
.card-price { font-size: 22px; font-weight: 600; color: var(--gold-deep); font-family: 'Fraunces', serif; margin-bottom: 16px; }

/* ---------- Product / book ---------- */
.book-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .book-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 600px) { .book-row { grid-template-columns: 1fr; } }
.book { text-align: center; }
.book-cover { aspect-ratio: 2 / 3; max-width: 260px; margin: 0 auto 20px; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform .3s; }
.book:hover .book-cover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book h3 { font-size: 22px; margin-bottom: 4px; }
.book .book-meta { font-size: 14px; color: var(--taupe); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-forthcoming { display: inline-block; background: var(--gold); color: var(--ink-dark); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 12px; text-transform: uppercase; }

/* ---------- Quote / Testimonial ---------- */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: 'Fraunces', serif; font-size: 64px; color: var(--gold); line-height: 0.5; margin-bottom: 24px; display: inline-block; }
.quote p { font-family: 'Fraunces', serif; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; font-weight: 400; color: var(--ink-dark); margin-bottom: 20px; font-style: italic; }
.quote-cite { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); font-weight: 500; }

/* ---------- Three Doors ---------- */
.door-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .door-grid { grid-template-columns: 1fr; gap: 20px; } }
.door { padding: 40px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: all .25s; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.door::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.door:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.door:hover::before { transform: scaleX(1); }
.door-icon { font-size: 34px; margin-bottom: 20px; }
.door h3 { font-size: 26px; margin-bottom: 14px; }
.door p { color: var(--taupe); flex: 1; margin-bottom: 24px; }
.supporter-credit-card { max-width: 980px; margin: -18px auto 40px; padding: 34px 40px; border: 1px solid rgba(201,169,110,.7); border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(236,213,132,.18)); box-shadow: var(--shadow-md); text-align: center; }
.supporter-credit-card h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 14px; }
.supporter-credit-card p { max-width: 78ch; margin-left: auto; margin-right: auto; }
.supporter-credit-card .muted { margin-bottom: 0; }

/* ---------- Funding tracker ---------- */
.funding-head { margin-left: auto; margin-right: auto; }
.funding-hero-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--ink-dark); color: rgba(255,255,255,.84); border-radius: var(--radius-md); padding: 44px; box-shadow: var(--shadow-md); }
.funding-hero-card h3 { color: #fff; font-size: clamp(30px, 3vw, 46px); margin-bottom: 16px; }
.funding-hero-card p { max-width: 58ch; }
.funding-kicker { display: inline-flex; margin-bottom: 16px; padding: 7px 11px; border-radius: 999px; background: rgba(236,213,132,.15); color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.funding-note { color: rgba(255,255,255,.78); font-size: 15px; margin: 16px 0 22px; }
.fund-meter { height: 16px; background: rgba(35,74,57,.12); border-radius: 999px; overflow: hidden; border: 1px solid rgba(35,74,57,.12); }
.funding-hero-card .fund-meter { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.2); }
.fund-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); border-radius: inherit; min-width: 4px; }
.fund-meter-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink-dark); }
.funding-hero-card .fund-meter-row { color: #fff; }
.funding-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 26px 0 64px; }
.funding-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.funding-stat span { display: block; font-family: 'Fraunces', Georgia, serif; color: var(--ink-dark); font-size: clamp(28px, 3vw, 42px); line-height: 1.05; margin-bottom: 10px; }
.funding-stat p { color: var(--taupe); font-size: 15px; line-height: 1.5; }
.funding-block { margin-top: 64px; }
.funding-block-copy { max-width: 760px; margin-bottom: 28px; }
.funding-block-copy h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 14px; }
.funding-help-line { margin-top: 18px; color: var(--ink-dark); font-size: 18px; line-height: 1.55; }
.funding-applied-note { margin-top: 12px; color: var(--bronze); font-size: 14px; font-weight: 700; }
.accomplishment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.accomplishment-card, .need-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.accomplishment-card h4 { font-family: 'Inter', sans-serif; color: var(--ink-dark); font-size: 18px; line-height: 1.35; margin: 10px 0; }
.accomplishment-card strong { display: block; color: var(--bronze); margin-bottom: 10px; }
.accomplishment-card p { color: var(--taupe); font-size: 15px; line-height: 1.55; }
.done-label { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--pearl-green); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.need-group { margin-top: 34px; }
.need-group h4 { font-family: 'Inter', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--bronze); margin-bottom: 14px; }
.priority-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.priority-heading h4 { margin-bottom: 0; }
.priority-heading span { color: var(--taupe); font-size: 14px; font-weight: 700; }
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.need-topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--taupe); }
.need-topline span { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.need-topline strong { color: var(--ink-dark); }
.need-card h5 { font-family: 'Inter', sans-serif; color: var(--ink-dark); font-size: 17px; line-height: 1.35; min-height: 46px; margin-bottom: 16px; }
.funding-item-link { display: inline-flex; margin-top: 14px; color: var(--gold-deep); font-size: 14px; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.funding-item-link:hover { color: var(--ink-dark); }
.year-three-block { margin-top: 56px; padding: 34px; border: 1px solid rgba(201,169,110,.45); border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(20,66,46,.06), rgba(236,213,132,.12)); box-shadow: var(--shadow-sm); }
.year-three-header { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; padding-bottom: 24px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.year-three-header h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 12px; }
.year-three-header p { max-width: 68ch; color: var(--taupe); }
.year-three-total { min-width: 240px; padding: 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); text-align: center; }
.year-three-total span { display: block; color: var(--taupe); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.year-three-total strong { display: block; color: var(--ink-dark); font-family: 'Fraunces', Georgia, serif; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.year-three-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.year-three-card { background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.year-three-card h5 { font-family: 'Inter', sans-serif; color: var(--ink-dark); font-size: 17px; line-height: 1.35; margin: 0; }
.year-three-card p { margin: 12px 0 0; color: var(--taupe); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) {
  .funding-hero-card, .funding-summary-grid, .accomplishment-grid, .need-grid, .year-three-header, .year-three-grid { grid-template-columns: 1fr; }
  .funding-hero-card { padding: 32px 24px; }
  .need-card h5 { min-height: 0; }
  .priority-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .year-three-block { padding: 24px; }
  .year-three-total { min-width: 0; text-align: left; }
}

/* ---------- Newsletter block ---------- */
.newsletter { background: var(--ink-dark); color: var(--base); padding: 80px 40px; border-radius: var(--radius-lg); text-align: center; max-width: 900px; margin: 0 auto; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201, 169, 110, 0.25) 0%, transparent 60%); }
.newsletter h2 { color: #fff; margin-bottom: 16px; position: relative; }
.newsletter p { max-width: 520px; margin: 0 auto 32px; color: rgba(250, 247, 242, 0.8); position: relative; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; position: relative; }
.newsletter-form input { flex: 1; padding: 15px 20px; border-radius: var(--radius-sm); border: 0; font-size: 15px; background: rgba(255,255,255,0.95); color: var(--ink-dark); font-family: inherit; }
.newsletter-form input:focus { outline: 2px solid var(--gold); }
@media (max-width: 640px) { .newsletter { padding: 56px 24px; } .newsletter-form { flex-direction: column; } }

/* ---------- The Pearl Letter ---------- */
.pearl-letter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.pearl-letter-copy { max-width: 720px; }
.pearl-letter-copy h2 { margin-bottom: 14px; }
.pearl-letter-copy .lede { margin-bottom: 0; }
.footer-letter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 28px 32px;
  margin-bottom: 42px;
  background: rgba(236, 213, 132, 0.06);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
}
.footer-letter .eyebrow { color: var(--gold); display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.footer-letter h3 { color: #fff; font-size: 30px; margin-bottom: 10px; font-family: var(--serif, Fraunces), Georgia, serif; }
.footer-letter p { max-width: 68ch; color: rgba(250, 247, 242, 0.82); }
.footer-letter .btn { flex: 0 0 auto; }
.footer-letter .btn-gold { color: var(--ink-dark); background: var(--gold); border-color: var(--gold); }
.footer-letter .btn-gold:hover { color: var(--ink-dark); background: var(--gold-deep); border-color: var(--gold-deep); }
@media (max-width: 760px) {
  .pearl-letter-inner, .footer-letter { flex-direction: column; align-items: flex-start; }
  .footer-letter .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink-dark); color: rgba(250, 247, 242, 0.75); padding: 72px 0 32px; font-size: 15px; }
.footer a { color: rgba(250, 247, 242, 0.85); transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-brand-copy { max-width: 320px; color: rgba(250, 247, 242, 0.7); line-height: 1.7; }
.footer-brand img { height: 44px; margin-bottom: 20px; }
.footer-signoff { border-top: 1px solid rgba(250, 247, 242, 0.12); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: rgba(250, 247, 242, 0.5); }
.footer-signoff .tagline { font-family: 'Fraunces', serif; font-style: italic; font-size: 16px; color: var(--gold); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; } .mt-8 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; } .mb-6 { margin-bottom: 48px; } .mb-8 { margin-bottom: 64px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 80px 0; }
.divider-gold { height: 2px; width: 60px; background: var(--gold); border: 0; margin: 24px 0; }

/* ---------- Page-specific helpers ---------- */
.breadcrumb { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--gold-deep); }

/* Product detail page */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; gap: 40px; } }
.product-img { aspect-ratio: 4 / 5; background: var(--base-alt); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info .price-lg { font-family: 'Fraunces', serif; font-size: 42px; color: var(--gold-deep); margin: 16px 0 28px; }
.product-info .desc { font-size: 17px; line-height: 1.7; margin-bottom: 28px; color: var(--ink); }
.product-info ul { padding-left: 20px; margin-bottom: 28px; }
.product-info ul li { margin-bottom: 6px; }
.product-meta { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; font-size: 14px; color: var(--taupe); display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }

/* Events list */
.event-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: center; }
.event-row:last-child { border-bottom: 0; }
.event-date { font-family: 'Fraunces', serif; }
.event-date .dow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-family: 'Inter', sans-serif; font-weight: 600; }
.event-date .day { font-size: 38px; line-height: 1; margin: 4px 0; }
.event-date .time { font-size: 14px; color: var(--taupe); }
.event-body h3 { font-size: 22px; margin-bottom: 4px; }
.event-body .location { font-size: 14px; color: var(--taupe); }
@media (max-width: 700px) {
  .event-row { grid-template-columns: 80px 1fr; gap: 20px; }
  .event-row .btn { grid-column: 2; justify-self: start; margin-top: 10px; }
  .event-date .day { font-size: 28px; }
}

/* brand-family link to the GHF ministry */
.gil-link{font-size:14px;color:var(--ink-dark);opacity:.72;}.gil-link:hover{opacity:1;color:var(--bronze);}


/* ---------- Phone layout hardening (Sarah live fix 2026-05-24) ---------- */
html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 700px) {
  body { font-size: 16px; line-height: 1.6; }
  .container, .container-sm { padding-left: 18px; padding-right: 18px; }
  .nav-inner { height: 64px; }
  .nav-brand { font-size: 18px; min-width: 0; }
  .nav-brand img { height: 32px; }
  .nav-links { top: 64px; align-items: stretch; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-links li, .nav-links a { width: 100%; }
  .nav-links a { display: block; padding: 6px 0; }
  .nav-cta { display: block; text-align: center; }

  h1.display, .h-display { font-size: clamp(38px, 12vw, 52px) !important; line-height: 1.03 !important; max-width: 100% !important; }
  h1 { font-size: clamp(34px, 10vw, 46px) !important; }
  h2 { font-size: clamp(28px, 8.5vw, 38px) !important; }
  .lede { font-size: 17px !important; max-width: 100% !important; }
  .mt-6 { margin-top: 32px; }
  .section { padding: 52px 0; }
  .section-sm { padding: 34px 0; }

  /* Ralf's home hero uses inline styles; override them for phones. */
  body > section:first-of-type {
    height: auto !important;
    min-height: 0 !important;
  }
  body > section:first-of-type > img {
    position: absolute !important;
    height: 100% !important;
  }
  body > section:first-of-type > .container {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 88px !important;
    padding-bottom: 44px !important;
    justify-content: flex-start !important;
  }
  body > section:first-of-type .eyebrow { font-size: 11px; letter-spacing: .13em; }
  body > section:first-of-type .lede { margin-top: 16px !important; }

  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn, .btn-lg { width: 100%; justify-content: center; padding: 15px 18px; text-align: center; }

  /* Collapse inline desktop grids used on the photo strip and forms. */
  .grid[style*="grid-template-columns"],
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .grid[style*="grid-template-columns"] > *,
  div[style*="grid-template-columns"] > * {
    grid-column: auto !important;
    grid-row: auto !important;
    min-width: 0 !important;
  }
  .grid[style*="grid-template-columns"] img {
    height: auto !important;
    min-height: 220px;
    max-height: 360px;
  }

  .door { padding: 28px 22px; }
  .supporter-credit-card, .funding-hero-card, .year-three-block { padding: 24px 18px; }
  form[style] { padding: 24px 18px !important; }
  .footer { padding-top: 48px; }
}
