@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,700;1,9..144,900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ══════════════════════════════════════════════════════════
   HOMEWARD BOUND NORMAN · CIVIC SUNRISE REDESIGN
   App Shell: fixed header · scrollable main · pinned footer
══════════════════════════════════════════════════════════ */

:root {
  --navy:         #0B3D2E;
  --navy-mid:     #114D39;
  --navy-light:   #195C46;
  --gold:         #FFB700;
  --gold-bright:  #FFC93C;
  --gold-pale:    #FFF8DC;
  --gold-border:  #FFE08A;
  --coral:        #FF4F28;
  --coral-hover:  #E83C18;
  --teal:         #00B4D8;
  --teal-hover:   #009AB8;
  --bg:           #FAFDF7;
  --surface:      #FFFFFF;
  --surface-2:    #F0F9F4;
  --border:       #D1E8DA;
  --divider:      #DFF0E6;
  --text:         #0F1F18;
  --text-muted:   #3D5C4A;
  --text-faint:   #6B8C7A;
  --text-inv:     #FFFFFF;
  --radius-sm:    5px;
  --radius-md:    10px;
  --radius-lg:    18px;
  --radius-xl:    28px;
  --shadow-sm:    0 1px 4px rgba(11,61,46,.07);
  --shadow-md:    0 8px 28px rgba(11,61,46,.11);
  --shadow-lg:    0 24px 56px rgba(11,61,46,.16);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', Arial, sans-serif;
  --max-w:        1120px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }

/* ══ APP SHELL ══ */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
main::-webkit-scrollbar { width: 5px; }
main::-webkit-scrollbar-track { background: transparent; }
main::-webkit-scrollbar-thumb { background: rgba(11,61,46,.18); border-radius: 3px; }
main::-webkit-scrollbar-thumb:hover { background: rgba(11,61,46,.30); }

img, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font: inherit; border: none; background: none; cursor: pointer; }
ul { list-style: none; }

.container {
  width: min(calc(100% - 2.5rem), var(--max-w));
  margin-inline: auto;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  flex-shrink: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,183,0,.20);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,183,0,.45);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,183,0,.10);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text span:first-child {
  font-family: var(--font-body);
  font-size: 0.60rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); opacity: .9;
}
.brand-text span:last-child {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 900; color: #fff; letter-spacing: .01em;
}
.nav { display: flex; align-items: center; gap: 0.1rem; }
.nav-link {
  font-size: 0.70rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.58);
  padding: 0.42rem 0.75rem; border-radius: 6px;
  transition: color .18s, background .18s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-link.active { color: var(--gold); background: rgba(255,183,0,.12); }
.nav-cta {
  font-size: 0.70rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  padding: 0.48rem 1rem; border-radius: 50px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(255,183,0,.28);
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 5px 14px rgba(255,183,0,.38); }
.mobile-menu-btn { display: none; color: #fff; font-size: 1.5rem; padding: .25rem .5rem; }
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,183,0,.15);
  padding: 0.5rem 1rem 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .18s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.active { color: var(--gold); }
.mobile-nav a:hover { color: var(--gold-bright); }

/* ══════════════════════════════════════════
   FOOTER — SLIM PINNED BAR
══════════════════════════════════════════ */
.site-footer {
  flex-shrink: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,183,0,.18);
}
.footer-slim-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.footer-brand-mini { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.footer-logo-mini {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid rgba(255,183,0,.45); object-fit: cover;
}
.footer-name-mini {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700; color: #fff; white-space: nowrap;
}
.footer-contact-mini {
  display: flex; align-items: center; gap: 1.25rem;
  font-size: 0.72rem; color: rgba(255,255,255,.48);
}
.footer-contact-mini a { color: var(--gold); transition: color .18s; }
.footer-contact-mini a:hover { color: var(--gold-bright); }
.footer-copy-mini {
  font-size: 0.66rem; color: rgba(255,255,255,.27); white-space: nowrap; text-align: right;
}
.footer-copy-mini em { color: var(--gold); font-style: normal; opacity: .75; }

/* ══════════════════════════════════════════
   SHARED COMPONENTS
══════════════════════════════════════════ */
.eyebrow {
  display: inline-block;
  font-size: 0.66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  padding: 0.30rem 0.82rem; border-radius: 50px;
  background: var(--gold-pale); color: #7A5300; border: 1px solid var(--gold-border);
}
.eyebrow.light { background: rgba(255,183,0,.14); color: var(--gold); border-color: rgba(255,183,0,.30); }

.section-head { margin-bottom: 2.5rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem,3.2vw,2.6rem);
  font-weight: 900; color: var(--navy); line-height: 1.05;
  margin-top: 0.65rem; max-width: 22ch;
}
.section-head p { margin-top: 0.7rem; color: var(--text-muted); max-width: 62ch; font-size: 0.93rem; line-height: 1.75; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; }
h3 { font-size: 1.15rem; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.78rem 1.5rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 0.77rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  transition: all .20s; cursor: pointer;
}
.btn-gold    { background: var(--gold); color: var(--navy); box-shadow: 0 4px 14px rgba(255,183,0,.30); }
.btn-gold:hover    { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,183,0,.40); }
.btn-coral   { background: var(--coral); color: #fff; box-shadow: 0 4px 14px rgba(255,79,40,.26); }
.btn-coral:hover   { background: var(--coral-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,79,40,.34); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--navy); background: var(--gold-pale); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.42); }
.btn-outline-white:hover { background: rgba(255,255,255,.10); border-color: #fff; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.7rem;
  box-shadow: var(--shadow-sm); transition: box-shadow .22s, transform .22s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.card p  { color: var(--text-muted); font-size: 0.88rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-pale); display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1rem; border: 1px solid var(--gold-border);
}
.card-accent       { border-top: 4px solid var(--gold); }
.card-accent-coral { border-top: 4px solid var(--coral); }
.card-accent-teal  { border-top: 4px solid var(--teal); }
.card-accent-navy  { border-top: 4px solid var(--navy); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

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

.tag {
  display: inline-block;
  font-size: 0.67rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 0.22rem 0.68rem; border-radius: 50px;
  background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border);
}
.tag-gold  { background: var(--gold-pale);  color: #7A5300;      border-color: var(--gold-border); }
.tag-coral { background: #FFF0EB;            color: #8B2200;      border-color: #FFCBB8; }
.tag-teal  { background: #E0F7FC;            color: #005C70;      border-color: #80D4E4; }
.tag-navy  { background: #EAF4EE;            color: var(--navy);  border-color: #B8D8C8; }

.stat-big  { font-family: var(--font-display); font-size: clamp(1.9rem,4.5vw,2.9rem); font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 0.3rem; line-height: 1.45; }

.cta-band {
  background: var(--navy); border-radius: var(--radius-xl);
  padding: 2.75rem 3rem; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 58% 80% at 82% 50%, rgba(255,183,0,.12) 0%, transparent 65%),
              radial-gradient(ellipse 40% 60% at 5% 80%, rgba(0,180,216,.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.4rem,2.8vw,2.1rem); color: #fff; line-height: 1.12; max-width: 20ch; }
.cta-band p  { color: rgba(255,255,255,.58); font-size: 0.87rem; margin-top: 0.45rem; max-width: 42ch; line-height: 1.7; }
.cta-band-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; align-items: center; }

.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th { background: var(--navy); color: var(--gold); font-size: 0.70rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 0.9rem 1.2rem; text-align: left; }
.data-table td { padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--divider); font-size: 0.87rem; vertical-align: top; color: var(--text-muted); }
.data-table td:first-child { font-weight: 600; color: var(--text); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-2); }

.gold-rule { display: flex; align-items: center; gap: 1rem; margin: 1.75rem 0; }
.gold-rule::before, .gold-rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,183,0,.42), transparent); }
.gold-rule span { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

.partner-pill {
  display: inline-block; padding: 0.38rem 0.9rem; border-radius: 50px;
  font-size: 0.77rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-muted);
  transition: all .2s;
}
.partner-pill:hover { border-color: var(--gold); color: var(--navy); background: var(--gold-pale); transform: translateY(-1px); }

.page-hero { background: var(--navy); padding: 3rem 0 2.75rem; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 80% at 100% 50%, rgba(255,183,0,.10) 0%, transparent 58%),
              radial-gradient(ellipse 45% 65% at 0% 100%, rgba(0,180,216,.08) 0%, transparent 58%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; color: #fff; line-height: 1.05; margin-top: 0.8rem; }
.page-hero p  { font-size: clamp(0.88rem,1.3vw,1rem); color: rgba(255,255,255,.58); margin-top: 0.85rem; max-width: 58ch; line-height: 1.75; }

.title-underline { position: relative; display: inline-block; }
.title-underline::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 55%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--coral)); border-radius: 2px; }

.numbered-list { display: flex; flex-direction: column; gap: 1.2rem; counter-reset: items; }
.numbered-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.numbered-item::before { counter-increment: items; content: counter(items, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; color: var(--gold); flex-shrink: 0; line-height: 1.2; min-width: 2rem; }
.numbered-item-text h4 { font-family: var(--font-display); font-size: 0.98rem; color: var(--navy); margin-bottom: .28rem; }
.numbered-item-text p  { font-size: 0.87rem; color: var(--text-muted); }

.section     { padding: 3.5rem 0; }
.section-alt { background: var(--surface-2); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .section-head h2 { color: #fff; }
.section-navy .section-head p  { color: rgba(255,255,255,.58); }

.pull-quote { border-left: 4px solid var(--gold); padding: 0.9rem 1.5rem; margin: 1.5rem 0; background: var(--gold-pale); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.pull-quote p { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--navy); line-height: 1.55; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.reveal    { animation: fadeUp .55s cubic-bezier(.22,.68,0,1.2) both; }
.reveal-d1 { animation-delay: .08s; }
.reveal-d2 { animation-delay: .16s; }
.reveal-d3 { animation-delay: .25s; }
.reveal-d4 { animation-delay: .34s; }

.breadcrumb { font-size: 0.70rem; color: rgba(255,255,255,.40); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 0.4rem; }
.breadcrumb a { color: rgba(255,255,255,.40); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.52); margin: 0 .4rem; }

@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 2rem 1.6rem; }
  .cta-band-actions { justify-content: center; }
  .footer-contact-mini { display: none; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-hero { padding: 2rem 0 1.75rem; }
  .section { padding: 2.5rem 0; }
  .footer-copy-mini { display: none; }
}
