/* ============================================================
   HOME PAGE (redesign) — loaded only by index.html, after styles.css.
   Every rule is scoped to body.home, so no other page changes.
   Calm, light, lots of space. Gold only for buttons and small accents.
   ============================================================ */

body.home {
  /* Brand kit colors come from styles.css: --navy #0E1825, --navy-mid #1E2A42,
     --gold #B08D57, --gold-light #BFA170, --gold-deep #7C5E2E. */
  --page:       #F8F7F4;   /* neutral off-white */
  --tint:       #EEECE7;   /* soft band */
  --line:       rgba(14, 24, 37, .12);
  --text:       #1E2836;   /* dark navy-gray body text */
  --text-soft:  #3A4555;   /* secondary text, still high contrast */

  --h-gutter: clamp(20px, 5vw, 72px);
  --h-max: 1240px;
  --h-gap: clamp(120px, 15vw, 210px);
  --h-radius: 28px;

  background: var(--page);
  color: var(--text);
}

.home .h-wrap { max-width: var(--h-max); margin: 0 auto; padding: 0 var(--h-gutter); }
.home .h-section { padding: var(--h-gap) 0 0; }
.home .h-section-flush { padding-top: var(--h-gap); }

/* ── Type ─────────────────────────────────────────────────── */
.home .h-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--navy);
  max-width: 18ch;
}
.home .h-h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
  color: var(--navy);
}
.home .h-lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
  max-width: 54ch;
  margin-top: 26px;
}
.home .h-head { margin-bottom: clamp(48px, 6vw, 80px); }
.home .h-head-center { text-align: center; }
.home .h-head-center .h-h2,
.home .h-head-center .h-lead { margin-left: auto; margin-right: auto; }

.home .h-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: border-color .2s ease;
}
.home .h-link:hover { border-color: var(--navy); }
.home .h-after { margin-top: 44px; }
.home .h-after-center { text-align: center; }

/* Buttons on this page: gold pill, navy text, no shine or lift */
.home .btn {
  margin-top: 0;
  border-radius: 999px;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  transition: background .2s ease, border-color .2s ease;
}
.home .btn::before { display: none; }
.home .btn:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px var(--navy);
  background: var(--gold);
  border-color: var(--navy);
  color: var(--navy);
  letter-spacing: .02em;
}
.home a:focus-visible,
.home button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}

/* ── Floating menu bar ───────────────────────────────────── */
.home .nav {
  top: 14px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(1280px, calc(100% - 28px));
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(14, 24, 37, .06);
  box-shadow: 0 12px 40px rgba(14, 24, 37, .08);
}
.home .nav-topbar { display: none; }
.home .nav-inner {
  max-width: none;
  min-height: 70px;
  padding: 10px 14px 10px 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.home .nav-links  { grid-column: 1; grid-row: 1; justify-self: start; gap: clamp(16px, 1.6vw, 28px); }
.home .brand-link { grid-column: 2; grid-row: 1; justify-self: center; gap: 12px; }
.home .nav-actions { grid-column: 3; grid-row: 1; justify-self: end; gap: 18px; }
.home .nav-links a {
  font-size: 13.5px;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--navy);
}
.home .nav-links a::after { display: none; }
.home .nav-links a { white-space: nowrap; } /* one line in Spanish too (A Quién Servimos) */
.home .nav-links a:hover { color: var(--gold-deep); }
.home .nav-dropdown-arrow { font-size: 7px; }
.home .dropdown-menu { border-radius: 14px; }
.home .h-nav-lang { font-size: 12px; letter-spacing: .02em; text-transform: none; }
.home .h-nav-lang .lang-btn { letter-spacing: .02em; text-transform: none; }
.home .nav-cta {
  border-radius: 999px;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
}
.home .nav-cta::before { display: none; }
.home .nav-cta:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px var(--navy);
  background: var(--gold);
  border-color: var(--navy);
  letter-spacing: .01em;
}
.home .hamburger { border-radius: 12px; border-color: var(--line); background: transparent; }
.home .mobile-menu {
  top: 96px;
  left: 14px;
  right: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  max-height: calc(100vh - 110px);
}
.home .mobile-menu .mobile-schedule { border-radius: 999px; }

/* ── 1. Hero: full-width background video ────────────────── */
.home .h-hero {
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100svh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(150px, 14vw, 190px) 0 clamp(90px, 10vw, 130px);
  text-align: center;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.home .h-hero-media,
.home .h-hero-shade { position: absolute; inset: 0; z-index: -1; }
.home .h-hero-still,
.home .h-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home .h-hero-video { opacity: 0; transition: opacity 1.2s ease; }
.home .is-playing .h-hero-video { opacity: 1; }
/* Soft dark overlay so the white headline and button read clearly */
.home .h-hero-shade {
  background:
    linear-gradient(180deg, rgba(14, 24, 37, .66) 0%, rgba(14, 24, 37, .63) 45%, rgba(14, 24, 37, .72) 100%);
  /* At least 63% navy everywhere behind the text: white text stays above
     4.5:1 contrast even over the brightest foam in any of the clips. */
}
.home .h-hero .h-hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: #FAF8F4;
  max-width: 18ch;
  margin: 0 auto;
  text-shadow: 0 2px 24px rgba(14, 24, 37, .35);
}
.home .h-hero-desc {
  margin: 30px auto 40px;
  max-width: 60ch;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.75;
  color: #F3F1EC;
  text-shadow: 0 1px 12px rgba(14, 24, 37, .45);
}

/* ── Rounded photos ──────────────────────────────────────── */
.home .h-photo {
  border-radius: var(--h-radius);
  overflow: hidden;
  background: var(--tint);
}
.home .h-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home .h-photo-tall { aspect-ratio: 4 / 5; }
.home .h-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px;
  background:
    repeating-linear-gradient(135deg, rgba(176, 141, 87, .09) 0 14px, transparent 14px 28px),
    var(--tint);
  border: 1px dashed rgba(138, 100, 22, .45);
  border-radius: inherit;
  color: var(--gold-deep);
  font-size: 13px;
  line-height: 1.55;
}
.home .h-ph strong { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--navy); }

/* ── Alternating text / photo sections ───────────────────── */
.home .h-split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
}
.home .h-split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.home .h-split-rev .h-split-text { order: 2; }
.home .h-split-rev .h-photo { order: 1; }

.home .h-points {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 36px;
}
.home .h-point h3,
.home .h-group h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 8px;
}
.home .h-point p,
.home .h-group p,
.home .h-steps p,
.home .h-tabpanel p,
.home .h-quote-more p {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}
.home .h-point .h-link { margin-top: 12px; font-size: 13px; }

.home .h-groups { margin-top: 44px; border-top: 1px solid var(--line); }
.home .h-group { padding: 24px 0; border-bottom: 1px solid var(--line); }

/* ── Stats: full-width navy band ─────────────────────────── */
.home .h-stats {
  margin-top: var(--h-gap);
  background: var(--navy);
  padding: clamp(80px, 9vw, 120px) 0;
}
.home .h-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home .h-stat { padding: 0 clamp(18px, 2.4vw, 40px); border-left: 1px solid rgba(255, 255, 255, .12); }
.home .h-stat:first-child { border-left: 0; padding-left: 0; }
.home .h-stat-num {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 6.4vw, 92px);
  line-height: 1;
  color: #FFFFFF;
  white-space: nowrap;
}
.home .h-stat-label {
  display: block;
  margin-top: 18px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
  max-width: 24ch;
}
.home .h-stat-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 16px;
}

/* ── The Crossing (a real sequence, so it is numbered) ───── */
.home .h-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 56px);
  counter-reset: step;
}
.home .h-steps li { counter-increment: step; border-top: 2px solid var(--gold); padding: 28px 0 44px; }
.home .h-steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 16px;
}
.home .h-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--navy); margin-bottom: 6px; }
#process .h-after { text-align: center; margin-top: 20px; }

/* ── Tabs (Services, FAQ) ────────────────────────────────── */
.home .h-tabs { margin-top: 44px; }
.home .h-tablist { display: none; }
.home .h-tabpanel { padding: 22px 0; border-top: 1px solid var(--line); }
.home .h-tabpanel h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.home .h-tabpanel p + p { margin-top: 14px; }
.home .h-tabpanel .h-link { margin-top: 18px; }
/* When the tab script runs, show the tab buttons and one panel at a time */
.home .h-tabs.is-tabbed .h-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
  border-bottom: 1px solid var(--line);
}
.home .h-tabs.is-tabbed .h-tabpanel { border-top: 0; padding: 28px 0 0; }
.home .h-tabs.is-tabbed .h-tabpanel h3 { display: none; }
.home .h-tablist [role='tab'] {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 14px 0 13px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-soft);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.home .h-tablist [role='tab']:hover { color: var(--navy); }
.home .h-tablist [role='tab'][aria-selected='true'] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
/* FAQ: questions in a column on the left, answer on the right */
.home .h-tabs-faq.is-tabbed {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.home .h-tabs-faq.is-tabbed .h-tablist {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  width: auto;
  border-top: 1px solid var(--line);
}
.home .h-tabs-faq.is-tabbed .h-tablist [role='tab'] {
  text-align: left;
  border-radius: 0;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-soft);
}
.home .h-tabs-faq.is-tabbed .h-tablist [role='tab'][aria-selected='true'] {
  background: none;
  box-shadow: none;
  color: var(--navy);
  box-shadow: inset 2px 0 0 var(--gold);
  padding-left: 18px;
}
.home .h-tabs-faq.is-tabbed .h-tabpanel { padding: 22px 0 0; }
.home .h-tabs-faq.is-tabbed .h-tabpanel p { font-size: 15.5px; color: var(--text); }

/* ── Quote band ──────────────────────────────────────────── */
.home .h-quote-band {
  margin-top: var(--h-gap);
  background: var(--tint);
  padding: clamp(90px, 10vw, 140px) 0;
}
.home .h-quote {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
}
.home .h-quote blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.22;
  color: var(--navy);
  max-width: 24ch;
}
.home .h-quote-sig { margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.home .h-sig-name { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--navy); }
.home .h-sig-title { font-size: 13px; color: var(--text-soft); }
.home .h-quote-more { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); max-width: 56ch; }
.home .h-quote-more p { margin-top: 14px; }
.home .h-quote-more .h-link { margin-top: 22px; }
.home .h-quote-photo { aspect-ratio: 4 / 5; }
.home .h-quote-photo img { object-position: 50% 20%; }

/* ── Private Briefing (form: colors and spacing only) ────── */
.home .h-brief {
  background: #FFFFFF;
  border-radius: var(--h-radius);
  padding: clamp(40px, 6vw, 84px) clamp(24px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  box-shadow: 0 20px 60px rgba(14, 24, 37, .05);
}
.home .h-brief .h-h2 { font-size: clamp(32px, 3.6vw, 48px); }
.home .h-brief .h-lead { margin-top: 18px; }
.home .h-brief .briefing-form { max-width: none; margin: 0; }
.home .h-brief .briefing-form-label {
  font-size: 12.5px;
  letter-spacing: .01em;
  text-transform: none;
  font-weight: 400;
  color: var(--navy);
}
.home .h-brief .briefing-form input[type='text'],
.home .h-brief .briefing-form input[type='email'] {
  background: var(--page);
  border: 1px solid rgba(14, 24, 37, .16);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--navy);
}
.home .h-brief .briefing-form input[type='text']:focus,
.home .h-brief .briefing-form input[type='email']:focus {
  background: #FFFFFF;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .25);
}
.home .h-brief .briefing-form-submit {
  margin-top: 8px;
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}
.home .h-brief .briefing-form-submit::after { display: none; }
.home .h-brief .briefing-form-submit:hover { background: var(--navy-mid); letter-spacing: .02em; }
.home .h-brief .briefing-form-error { color: #9B3B2A; }
.home .h-brief .briefing-form-success { color: var(--navy); }
.home .h-brief-fine { margin-top: 18px; font-size: 12.5px; font-weight: 400; line-height: 1.6; color: var(--text-soft); }

/* ── Closing soft band ───────────────────────────────────── */
.home #contact { padding-bottom: var(--h-gap); }
.home .h-close {
  background: var(--tint);
  border-radius: var(--h-radius);
  padding: clamp(64px, 8vw, 110px) 24px;
  text-align: center;
}
.home .h-close-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  margin: 0 auto 28px;
}
.home .h-close .h-h2 { margin: 0 auto; }
.home .h-close .h-lead { margin: 16px auto 34px; text-align: center; }
.home .h-close-phone { margin-top: 20px; font-size: 14px; font-weight: 400; }
.home .h-close-phone a { color: var(--navy); }

/* ── Gentle fade-in (only for sections below the first screen,
      added by home.js; everything shows without it) ─────── */
@media (prefers-reduced-motion: no-preference) {
  .home .h-hero-inner { animation: hFadeIn .9s ease both; }
  .home .h-fade { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
  .home .h-fade.is-in { opacity: 1; transform: none; }
}
@keyframes hFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .home .nav-inner { grid-template-columns: 1fr auto 1fr; padding: 8px 12px 8px 20px; min-height: 64px; }
  .home .brand-link { grid-column: 2; }
  .home .h-nav-lang { font-size: 11.5px; }
}
@media (max-width: 960px) {
  .home .h-split,
  .home .h-quote,
  .home .h-brief,
  .home .h-tabs-faq.is-tabbed { grid-template-columns: 1fr; }
  .home .h-split-rev .h-split-text { order: 1; }
  .home .h-split-rev .h-photo { order: 2; }
  .home .h-photo-tall,
  .home .h-quote-photo { aspect-ratio: 4 / 3; }
  .home .h-quote-photo { max-width: 460px; aspect-ratio: 4 / 5; }
  .home .h-steps { grid-template-columns: 1fr 1fr; }
  .home .h-stats-grid { grid-template-columns: 1fr 1fr; gap: 52px 0; }
  .home .h-stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .home .nav-actions { position: static; transform: none; }
  .home .nav-inner { grid-template-columns: auto 1fr auto; }
  .home .brand-link { grid-column: 1; justify-self: start; }
  .home .nav-actions { grid-column: 3; }
  .home .mobile-menu { top: 86px; }
  .home .h-hero { padding-top: 140px; }
  .home .h-points,
  .home .h-steps { grid-template-columns: 1fr; }
  .home .h-steps li { padding-bottom: 28px; }
  .home .h-stats-grid { grid-template-columns: 1fr; }
  .home .h-stat { border-left: 0; padding-left: 0; }
  .home .h-tabs.is-tabbed .h-tablist { border-radius: 18px; }
  .home .h-tablist [role='tab'] { padding: 10px 14px; }
}

/* ── Photo row (three rounded photos, no captions) ───────── */
.home .h-photo-row {
  margin-top: clamp(72px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.home .h-photo-row .h-photo { aspect-ratio: 4 / 5; }
@media (max-width: 560px) {
  .home .h-photo-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .home .h-photo-row { grid-template-columns: 1fr 1fr; }
}

/* ── Second video band (mid-page) ─────────────────────────── */
.home .h-band-video {
  position: relative;
  margin-top: var(--h-gap);
  min-height: clamp(440px, 68vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.home .h-band-video + .h-section { padding-top: var(--h-gap); }
.home .h-band-inner { padding-top: 60px; padding-bottom: 60px; }
.home .h-band-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.1;
  color: #FAF8F4;
  max-width: 16ch;
  margin: 0 auto 36px;
  text-shadow: 0 2px 24px rgba(14, 24, 37, .35);
}

/* Short sections: centered text blocks */
.home .h-head-center { text-align: center; }
.home .h-head-center .h-h2,
.home .h-head-center .h-lead { margin-left: auto; margin-right: auto; }
.home .h-quote-text .h-after { margin-top: 30px; }

/* Keep the English | Español switch visible in the menu bar on every width */
@media (max-width: 560px) {
  .home .h-nav-lang { font-size: 11px; gap: 4px; }
  .home .nav-actions { gap: 10px; }
  .home .nav-inner { gap: 8px; padding-left: 14px; padding-right: 10px; }
  .home .brand-link { gap: 8px; }
}

/* ── Short FAQ list (Spanish home: four questions, answers unchanged) ── */
.home .h-faq-short { max-width: 860px; }
.home .h-faq-short .h-h2 { margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.home .h-faq-list { border-top: 1px solid var(--line); }
.home .h-faq-list details { border-bottom: 1px solid var(--line); }
.home .h-faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
}
.home .h-faq-list summary::-webkit-details-marker { display: none; }
.home .h-faq-list summary::after { content: '+'; color: var(--gold-deep); font-family: var(--sans); font-size: 18px; transition: transform .2s ease; }
.home .h-faq-list details[open] summary::after { transform: rotate(45deg); }
.home .h-faq-list details p { padding: 0 4px 24px; font-size: 15px; line-height: 1.75; color: var(--text-soft); max-width: 70ch; }

/* Hero: the H1 is the short search line above the big slogan */
.home .h-hero .h-hero-kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #FAF8F4;
  max-width: 64ch;
  margin: 0 auto 22px;
  text-wrap: balance;
  text-shadow: 0 1px 12px rgba(14, 24, 37, .5);
}

/* ── The Crossing: bridge line drawing (six arches, one per phase) ──
   Drawn in SVG. home.js adds .is-ready then .is-drawn once, when it
   scrolls into view. Without the script, or with reduced motion, the
   finished bridge simply shows. */
.home .h-bridge { max-width: 1080px; margin: clamp(44px, 5vw, 68px) auto 0; }
.home .h-bridge-art { display: block; width: 100%; height: auto; overflow: visible; }
.home .h-bridge-art path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home .h-bridge-art .hb-pier { stroke-width: 1.2; }
.home .h-bridge-art .hb-soft { opacity: .55; }
.home .h-bridge-art .hb-water { opacity: .45; }
.home .h-bridge-phases {
  list-style: none;
  margin: 14px 0 0;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  text-align: center;
}
.home .h-bridge-phases li { padding: 0 4px; }
.home .h-bridge-num {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.home .h-bridge-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.2;
  color: var(--navy);
}
#process .h-bridge + .h-after,
.home .h-bridge + .h-after { margin-top: clamp(36px, 4vw, 52px); }

.home .h-bridge.is-ready path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.home .h-bridge.is-ready li { opacity: 0; transform: translateY(6px); }
.home .h-bridge.is-drawn path {
  animation: hbDraw var(--t, .45s) cubic-bezier(.45, 0, .25, 1) var(--d, 0s) forwards;
}
.home .h-bridge.is-drawn .hb-deck,
.home .h-bridge.is-drawn .hb-water { --t: 2s; animation-timing-function: linear; }
.home .h-bridge.is-drawn li { animation: hbLabel .6s ease calc(var(--d, 0s) + .25s) forwards; }
@keyframes hbDraw { to { stroke-dashoffset: 0; } }
@keyframes hbLabel { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .home .h-bridge.is-ready path { stroke-dashoffset: 0; animation: none; }
  .home .h-bridge.is-ready li { opacity: 1; transform: none; animation: none; }
}

/* Phones: thicker lines so they stay visible, labels in two rows of three */
@media (max-width: 560px) {
  .home .h-bridge-art path { stroke-width: 3; }
  .home .h-bridge-art .hb-pier { stroke-width: 2.4; }
  .home .h-bridge-phases { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; padding: 0; margin-top: 18px; }
  .home .h-bridge-name { font-size: 17px; }
}
