/* HADEN – House of Hope · shared stylesheet
   Colours sampled from the logo: navy #13294B, gold #C69A3A.
   Gold is decorative only on light backgrounds; text uses --gold-ink (5:1 on white). */

:root {
  --navy: #13294b;
  --navy-deep: #0c1c35;
  --navy-soft: #2a4067;
  --gold: #c69a3a;
  --gold-light: #e7cf96;
  --gold-ink: #85601c;
  --cream: #faf6ee;
  --cream-deep: #f2ebdc;
  --white: #ffffff;
  --text: #1d2433;
  --muted: #4a5468;
  --line: #e3dccb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 41, 75, 0.08);
  --max: 1160px;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-brand: "Cinzel", "Trajan Pro", Georgia, serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.75rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #e9edf5; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-brand); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.85rem; color: var(--gold-ink); margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
.section--navy .eyebrow { color: var(--gold-light); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--navy .lead { color: #cdd5e3; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; text-align: center;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #d6ac4f; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.7); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; min-width: 0; min-height: 48px; }
.brand img { width: 54px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-brand); font-weight: 700; font-size: 1.35rem; color: var(--navy); letter-spacing: 0.06em; }
.brand-sub { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }

.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; min-width: 48px; padding: 0 0.9rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--navy);
  font: 700 1rem var(--font-body); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 20px; height: 2px; background: currentColor; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.8rem;
  text-decoration: none; font-weight: 600; color: var(--navy); border-radius: 8px;
}
.site-nav a:hover { color: var(--gold-ink); }
.site-nav a[aria-current="page"] { color: var(--gold-ink); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.site-nav .btn { margin-left: 0.5rem; min-height: 48px; padding: 0.6rem 1.2rem; }
.site-nav a.btn, .site-nav a.btn:hover { color: var(--navy-deep); }
.site-nav a.btn[aria-current="page"] { box-shadow: none; border-radius: 999px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem 1.25rem 1.25rem; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 1rem; }
  .site-nav a { width: 100%; min-height: 54px; padding: 0 0.25rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 0.9rem; }
  .site-nav .btn { margin: 0; width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .brand img { width: 44px; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: 0.68rem; letter-spacing: 0.1em; }
  .nav-toggle-label { display: none; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 0.5em; }
.hero h1 .accent { color: var(--gold-ink); }
.hero .lead { margin-bottom: 1.75rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 524 / 310; object-fit: cover; }
.hero-badge {
  position: absolute; left: -14px; bottom: -22px; display: flex; align-items: center; gap: 0.7rem;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 0.75rem 1rem; max-width: calc(100% - 10px);
}
.hero-badge img { width: 46px; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
.hero-badge strong { display: block; color: var(--navy); line-height: 1.2; }
.hero-badge span { font-size: 0.9rem; color: var(--muted); }
.hero-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--muted); font-size: 1rem; }
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points li::before { content: "✓"; color: var(--gold-ink); font-weight: 800; }

@media (max-width: 767px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; }
  .hero-badge { left: 10px; bottom: -18px; }
}

/* Page banner (inner pages) */
.page-banner { background: var(--navy); color: #dfe5f0; padding: clamp(2.5rem, 1.75rem + 3vw, 4rem) 0; position: relative; overflow: hidden; }
.page-banner::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 320px; height: 320px; transform: translateY(-50%);
  border: 3px solid rgba(198, 154, 58, 0.35); border-radius: 50%; pointer-events: none;
}
.page-banner h1 { color: var(--white); margin-bottom: 0.3em; position: relative; z-index: 1; }
.page-banner p { max-width: 640px; font-size: 1.15rem; margin: 0; position: relative; z-index: 1; }
.page-banner .eyebrow { color: var(--gold-light); position: relative; z-index: 1; }

/* Cards & grids */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow); min-width: 0;
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-deep); color: var(--navy); margin-bottom: 1rem;
}
.card-icon svg { width: 28px; height: 28px; }
.section--cream .card { box-shadow: none; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.feature-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.feature-list li::before {
  content: ""; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1c35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.section--navy .feature-list li::before { background-color: var(--gold-light); }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Grocery promise */
.promise {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center;
  background: var(--white); border: 2px solid var(--gold); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.5rem);
}
.promise-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--navy-deep); }
.promise-icon svg { width: 38px; height: 38px; }
.promise h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin-bottom: 0.35em; }
.promise p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .promise { grid-template-columns: minmax(0, 1fr); text-align: center; } .promise-icon { margin: 0 auto; } }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.5rem; min-width: 0; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--gold-light);
  font: 700 1.2rem var(--font-head);
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Reviews */
.review { display: flex; flex-direction: column; gap: 1rem; margin: 0; }
.review-stars { color: var(--gold); letter-spacing: 0.15em; font-size: 1.1rem; }
.review blockquote { margin: 0; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.6; color: var(--text); flex: 1; }
.review-who { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light); font-weight: 700;
}
.review-who strong { display: block; color: var(--navy); line-height: 1.2; }
.review-who span { font-size: 0.92rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--navy); color: #dfe5f0; border-radius: 22px; padding: clamp(2rem, 4vw, 3.25rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* Pricing */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card--featured { border: 2px solid var(--gold); }
.price-tag {
  position: absolute; top: -14px; right: 1.25rem; background: var(--gold); color: var(--navy-deep);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px;
}
.price { font-family: var(--font-head); color: var(--navy); font-size: clamp(2.2rem, 1.8rem + 1.5vw, 2.8rem); font-weight: 700; line-height: 1; margin: 0.6rem 0 0.25rem; }
.price small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-from { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.price-card .feature-list { margin: 1.25rem 0 1.75rem; flex: 1; }
.price-card .btn { width: 100%; }
.fine-print { font-size: 0.98rem; color: var(--muted); margin-top: 1.5rem; }

/* Accordions (program & policies) */
.accordion { display: grid; gap: 0.85rem; }
.accordion details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: 1rem 1.25rem; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-deep); font-family: var(--font-body); font-size: 1.3rem; line-height: 1;
}
.accordion details[open] summary::after { content: "–"; }
.accordion .acc-body { padding: 0 1.25rem 1.25rem; }
.accordion .acc-body ul { margin: 0; padding-left: 1.2rem; }
.accordion .acc-body li { margin-bottom: 0.4rem; }

.notice {
  border-left: 4px solid var(--gold); background: var(--cream); padding: 1.1rem 1.25rem; border-radius: 0 10px 10px 0; color: var(--text);
}

/* Form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; color: var(--navy); font-size: 1rem; }
.field .req { color: #a3301f; }
.field .hint { font-size: 0.92rem; color: var(--muted); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.7rem 0.9rem; border: 1.5px solid #c9c2b2; border-radius: 10px;
  font: 1.05rem var(--font-body); color: var(--text); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(198, 154, 58, 0.45); outline-offset: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #a3301f; }
.field-error { color: #a3301f; font-size: 0.92rem; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0.5rem 1rem;
  border: 1.5px solid #c9c2b2; border-radius: 999px; font-weight: 600; color: var(--text); cursor: pointer;
}
.radio-row input { width: 20px; height: 20px; min-height: 0; accent-color: var(--navy); margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--navy); background: var(--cream); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-actions .btn { min-width: 220px; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 12px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #e8f3ea; color: #1d5a2c; border: 1px solid #b9dcc1; }
.form-status--err { background: #fbecea; color: #8a2417; border: 1px solid #efc3bc; }
.btn[disabled] { opacity: 0.65; cursor: wait; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
}

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0.9rem; align-items: center; }
.contact-list .card-icon { margin: 0; width: 48px; height: 48px; }
.contact-list .card-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { word-break: break-word; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3cbda; padding: 3.5rem 0 1.5rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 1rem; }
.footer-tagline { font-family: var(--font-brand); letter-spacing: 0.08em; font-size: 0.85rem; color: var(--gold-light); }
.site-footer h2 { font-family: var(--font-brand); color: var(--white); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: #e3e8f1; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.92rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Utilities */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.rounded-img { border-radius: 20px; box-shadow: var(--shadow); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Motion
   Everything below is skipped for visitors who ask for reduced motion.
   Scroll reveals are opt-in: main.js only tags elements that start below the fold,
   so nothing is hidden if JavaScript doesn't run. Transforms are vertical/scale only
   so nothing can push the page sideways. */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(19, 41, 75, 0.1); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes fd-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes fd-zoom { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: none; } }
  @keyframes fd-pop { 0% { opacity: 0; transform: translateY(14px) scale(0.9); } 70% { opacity: 1; transform: translateY(-3px) scale(1.02); } 100% { opacity: 1; transform: none; } }
  @keyframes fd-ring { from { opacity: 0; transform: translateY(-50%) scale(0.6); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
  @keyframes fd-float { 0%, 100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-50%) scale(1.06); } }
  @keyframes fd-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @keyframes fd-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(198, 154, 58, 0.45); } 50% { box-shadow: 0 0 0 14px rgba(198, 154, 58, 0); } }

  /* Home hero: staggered entrance */
  .hero .eyebrow, .hero h1, .hero .lead, .hero .btn-row, .hero-points li { animation: fd-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .hero .eyebrow { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.15s; }
  .hero .lead { animation-delay: 0.3s; }
  .hero .btn-row { animation-delay: 0.45s; }
  .hero-points li:nth-child(1) { animation-delay: 0.6s; }
  .hero-points li:nth-child(2) { animation-delay: 0.7s; }
  .hero-points li:nth-child(3) { animation-delay: 0.8s; }
  .hero-media > img { animation: fd-zoom 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards; }
  .hero-badge { animation: fd-pop 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.75s backwards; }

  /* Inner page banners */
  .page-banner .eyebrow, .page-banner h1, .page-banner p { animation: fd-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .page-banner h1 { animation-delay: 0.1s; }
  .page-banner p:not(.eyebrow) { animation-delay: 0.22s; }
  .page-banner::after { animation: fd-ring 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both, fd-float 9s ease-in-out 1.1s infinite; }

  /* Scroll reveal */
  [data-reveal] {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
  .promise.is-in .promise-icon { animation: fd-glow 1.6s ease-out 0.5s 2; }
  .steps li[data-reveal]::before { transform: scale(0.4); transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) calc(var(--reveal-delay, 0s) + 0.2s); }
  .steps li.is-in::before { transform: none; }

  /* Hover (mouse/trackpad only; touch screens keep things still) */
  @media (hover: hover) {
    .btn { transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.2s ease, box-shadow 0.2s ease; }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(19, 41, 75, 0.15); }
    .btn:active { transform: none; box-shadow: none; }
    .site-nav a.btn:hover { box-shadow: 0 6px 14px rgba(19, 41, 75, 0.12); }
    .card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
    .card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(19, 41, 75, 0.13); border-color: var(--gold-light); }
    [data-reveal].is-in.card { transition: opacity 0.7s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; transition-delay: 0s; }
    .card-icon { transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease; }
    .card:hover .card-icon { background: var(--gold); color: var(--navy-deep); transform: rotate(-6deg) scale(1.06); }
    .hero-media > img { transition: transform 0.5s ease; }
    .hero-media:hover > img { transform: scale(1.015); }
  }

  /* Mobile menu and accordions */
  .site-nav.is-open { animation: fd-drop 0.22s ease-out; }
  .accordion summary::after { transition: transform 0.25s ease, background 0.25s ease; }
  .accordion details[open] summary::after { transform: rotate(180deg); background: var(--gold-light); }
  .accordion details[open] .acc-body { animation: fd-drop 0.3s ease-out; }
  .form-status:not([hidden]) { animation: fd-drop 0.3s ease-out; }
}

/* Audit fixes (2026-10-03) */
.page-banner .banner-call { margin-top: 1rem; font-size: 1.05rem; }
.page-banner .banner-call a { color: var(--gold-light); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 641px) and (max-width: 700px) {
  .grid--3 > :nth-child(odd):last-child { grid-column: 1 / -1; }
}
/* iPad / small laptop: ring tucked into the corner so it never crosses the heading */
@media (max-width: 1280px) {
  .page-banner::after { width: 260px; height: 260px; right: -160px; top: -20px; transform: translateY(-50%); }
}
@media (min-width: 641px) and (max-width: 1280px) {
  .page-banner h1 { max-width: calc(100% - 110px); }
}
@media (max-width: 640px) {
  .page-banner::after { width: 170px; height: 170px; right: -115px; top: -14px; transform: translateY(-50%); border-color: rgba(198, 154, 58, 0.22); }
}
@media (max-width: 480px) {
  .hero .btn-row .btn, .cta-band .btn-row .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .radio-row label { flex: 1 1 100%; }
}

/* Re-audit fixes, iPad + phone (2026-10-03) */
/* .review-who span was greying the initials out on the navy circle */
.review-who .review-avatar { color: var(--gold-light); font-size: 1rem; }
/* iOS Safari collapses an empty date input; give it the same box as other fields */
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-height: 52px; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
@media (max-width: 480px) {
  .hero-points { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 360px) {
  .page-banner::after { right: -128px; top: -24px; }
}

/* Footer + form polish (2026-10-03) */
.footer-brand img { width: 190px; }
.footer-about { max-width: 34ch; margin: 0; color: #c3cbda; line-height: 1.6; }
h1, h2, h3 { text-wrap: balance; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .brand-sub { font-size: 0.75rem; letter-spacing: 0.06em; }
}
.footer-addr { padding: 0.6rem 0; line-height: 1.6; }
.contact-list address { font-style: normal; }
.site-footer a[href^="mailto:"], .contact-list a { overflow-wrap: anywhere; }
