/* ============================================================
   JL GADDY — Site Styles
   Family-owned convenience-store distributor · NC & SC · Since 1953
   ============================================================ */

/* ---------- 0. SELF-HOSTED FONTS ----------
   Served from our own domain: no extra DNS/TLS handshakes to Google before text can paint,
   which matters most on high-latency rural connections. Latin subsets only (covers Spanish).
   The Gujarati face carries a Gujarati-only unicode-range, so English and Spanish visitors
   never download it. font-display: swap keeps text visible while fonts load. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/manrope-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/manrope-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Noto Sans Gujarati'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/noto-sans-gujarati-gujarati-400-normal.woff2) format('woff2'); unicode-range: U+0951-0952,U+0964-0965,U+0A80-0AFF,U+200C-200D,U+20B9,U+25CC,U+A830-A839; }
@font-face { font-family: 'Noto Sans Gujarati'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/noto-sans-gujarati-gujarati-600-normal.woff2) format('woff2'); unicode-range: U+0951-0952,U+0964-0965,U+0A80-0AFF,U+200C-200D,U+20B9,U+25CC,U+A830-A839; }
@font-face { font-family: 'Noto Sans Gujarati'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/noto-sans-gujarati-gujarati-700-normal.woff2) format('woff2'); unicode-range: U+0951-0952,U+0964-0965,U+0A80-0AFF,U+200C-200D,U+20B9,U+25CC,U+A830-A839; }

/* Metric-matched fallbacks: while the web fonts download (seconds on a weak signal),
   text renders in Arial resized to occupy exactly the same space, so nothing jumps
   when the real font swaps in. Values computed from the font files themselves. */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 107.48%; ascent-override: 90.14%; descent-override: 22.44%; line-gap-override: 0.00%; }
@font-face { font-family: 'Manrope Fallback'; font-weight: 700 800;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Helvetica Bold');
  size-adjust: 103.15%; ascent-override: 103.35%; descent-override: 29.08%; line-gap-override: 0.00%; }


/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand color */
  --brand-blue:        #1BA0E2;
  --brand-blue-deep:   #0E84BC;  /* large text / UI on white */
  --brand-blue-text:   #0B6E9E;  /* small text on white — 5:1+ */
  --blue-fill:         #0D6FA0;  /* fills carrying white text — 5.5:1 */
  --navy:              #0E1E3A;  /* dark navigation blue */
  --navy-2:            #16294A;

  /* Action */
  --cta:               #0D6FA0;  /* primary CTA — refined steel blue, 5.5:1 with white */
  --cta-dark:          #0A5E87;
  --accent-red:        #C8102E;  /* small accents only (markers, asterisks) */
  --gold:              #FFC83D;  /* small highlights only */
  --gold-text:         #8C5C00;

  /* Neutrals */
  --white:             #FFFFFF;
  --off-white:         #FAFAF7;  /* warm page background */
  --cream:             #F5F1E8;  /* light section background */
  --border:            #E3E6EB;
  --text:              #1A2333;
  --muted:             #545F6E;

  /* States */
  --success:           #1E7A3C;
  --success-bg:        #EAF6EE;
  --warning:           #92400E;
  --warning-bg:        #FDF3E3;
  --error:             #B42318;
  --error-bg:          #FCEEEC;
  --focus-ring:        #0E84BC;

  /* Typography */
  --font-display: 'Manrope', 'Manrope Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid type scale */
  --fs-h1:       clamp(2.375rem, 1.45rem + 3.2vw, 4.25rem);   /* 38 → 68 */
  --fs-h1-hero:  clamp(2.5rem, 1.4rem + 3.9vw, 4.75rem);      /* 40 → 76 */
  --fs-h2:       clamp(1.875rem, 1.35rem + 1.9vw, 3.125rem);  /* 30 → 50 */
  --fs-h3:       clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);  /* 22 → 30 */
  --fs-h4:       1.125rem;
  --fs-body-lg:  clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); /* 18 → 21 */
  --fs-body:     1.0625rem;                                    /* 17 */
  --fs-small:    0.9375rem;                                    /* 15 */
  --fs-caption:  0.875rem;                                     /* 14 — floor */

  /* Spacing — 8px system */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Layout */
  --max-width: 1200px;
  --measure: 68ch;                 /* body line-length target */
  --radius: 12px;
  --radius-lg: 16px;
  --header-h: 72px;
  --utility-h: 40px;
  --shadow-1: 0 1px 2px rgba(14,30,58,0.08);
  --shadow-2: 0 10px 30px rgba(14,30,58,0.08);
  --speed: 200ms;                  /* functional animation 150–250ms */
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s-4)); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
ul[role="list"], ol[role="list"] { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; }
p  { color: var(--muted); max-width: var(--measure); }
p strong { color: var(--text); }

/* Visible keyboard focus — WCAG 2.2 */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-header :focus-visible { outline-color: var(--gold); }

/* Skip link */
.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 300;
  background: var(--navy); color: #fff; font-weight: 700;
  padding: var(--s-3) var(--s-5); border-radius: 0 0 8px 8px;
  transition: top var(--speed);
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--s-5); }
.section       { padding-block: clamp(var(--s-7), 8vw, var(--s-9)); }
.section-tight { padding-block: clamp(var(--s-6), 5vw, var(--s-8)); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark  { background: var(--navy); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-dark a { color: #9AD6F3; }
.section-dark a:hover { color: #fff; }
.section-dark .btn-on-dark { color: var(--navy); }
.section-dark .btn-on-dark:hover { color: var(--navy); }
.section-dark .btn-ghost-dark { color: #fff; }
.section-dark .btn-primary, .section-dark .btn-primary:hover { color: #fff; }

.section-header { margin-bottom: var(--s-7); max-width: 760px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header p { font-size: var(--fs-body-lg); margin-top: var(--s-4); }
.section-header.center p { margin-inline: auto; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-blue-text); margin-bottom: var(--s-3);
}
.eyebrow-light { color: #7CC7EC; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(var(--s-6), 5vw, 80px); align-items: center;
}
.two-col.flip .col-content { order: 2; }
.two-col.flip .col-media   { order: 1; }
.col-media img { width: 100%; border-radius: var(--radius); }
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: var(--s-6); }
  .two-col.flip .col-content, .two-col.flip .col-media { order: initial; }
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: var(--s-3) var(--s-5);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: background var(--speed), color var(--speed), border-color var(--speed),
              box-shadow var(--speed), transform 150ms;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--cta-dark); color: #fff; box-shadow: 0 6px 16px rgba(13,111,160,0.3); }
/* Definition against dark/navy backgrounds */
.hero .btn-primary, .section-dark .btn-primary, .cta-panel .btn-primary {
  border-color: rgba(255,255,255,0.30);
}
.hero .btn-primary:hover, .section-dark .btn-primary:hover, .cta-panel .btn-primary:hover {
  border-color: rgba(255,255,255,0.55);
}
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-blue { background: var(--blue-fill); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--cream); color: var(--navy); }
.btn-lg { min-height: 56px; padding: var(--s-4) var(--s-6); font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: var(--s-2) var(--s-4); font-size: var(--fs-small); }

.text-link {
  font-weight: 700; color: var(--brand-blue-text);
  text-decoration: underline; text-underline-offset: 3px;
}
.text-link:hover { color: var(--navy); }
.text-link .arrow { display: inline-block; transition: transform var(--speed); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- 5. HEADER ---------- */
.utility-bar {
  background: var(--navy); color: #fff; height: var(--utility-h);
  display: flex; align-items: center; font-size: 0.8125rem;
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); }
.utility-note { color: rgba(255,255,255,0.72); font-weight: 500; }
.utility-links { display: flex; gap: var(--s-5); align-items: center; }
.utility-links a {
  color: rgba(255,255,255,0.88); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; padding: var(--s-2) 0;
}
.utility-links a:hover { color: var(--gold); text-decoration: underline; }
.utility-links svg { width: 13px; height: 13px; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white); border-bottom: 1px solid var(--border);
  height: var(--header-h); display: flex; align-items: center;
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); width: 100%; }
.brand-link { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.site-logo { height: 54px; width: auto; }
.brand-fallback {
  font-family: var(--font-display); font-weight: 800; font-size: 1.375rem;
  color: var(--navy); letter-spacing: -0.02em;
}
.brand-fallback .accent { color: var(--brand-blue-deep); }

.main-nav {
  display: flex; align-items: center; justify-content: center;
  flex: 1 1 auto; min-width: 0;
  gap: clamp(0px, 1.1vw, var(--s-4));
}
.main-nav a {
  position: relative;
  font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700;
  line-height: 1; text-align: center;
  color: var(--navy); text-decoration: none; white-space: nowrap;
  padding: var(--s-4) 9px; border-radius: 6px;
  transition: color var(--speed), background var(--speed);
}
.main-nav a:hover { color: var(--brand-blue-text); background: rgba(27,160,226,0.08); }
.main-nav a[aria-current="page"] { color: var(--brand-blue-text); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 5px;
  height: 3px; border-radius: 2px; background: var(--brand-blue-deep);
}

.header-cta { display: flex; gap: var(--s-4); align-items: center; flex-shrink: 0; }
.phone-link {
  font-family: var(--font-display); font-weight: 700; font-size: 0.875rem;
  color: var(--muted); text-decoration: none; white-space: nowrap;
  border-left: 1px solid var(--border);
  padding: var(--s-2) 0 var(--s-2) var(--s-4);
}
.phone-link:hover { color: var(--brand-blue-text); }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; padding: var(--s-3);
  border-radius: 8px; line-height: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform var(--speed), opacity var(--speed); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; z-index: 190;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--white); overflow-y: auto;
  padding: var(--s-5) var(--s-5) var(--s-8);
}
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav > a {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
  color: var(--navy); text-decoration: none;
  padding: var(--s-4) var(--s-2); border-bottom: 1px solid var(--border);
}
.mobile-menu nav > a[aria-current="page"] { color: var(--brand-blue-text); }
.mobile-menu .mobile-cta { margin: var(--s-5) 0; display: grid; gap: var(--s-3); }
.mobile-menu .mobile-logins h2 {
  font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin: var(--s-5) 0 var(--s-3);
}
.mobile-menu .mobile-logins a {
  display: flex; align-items: center; gap: var(--s-3);
  font-weight: 700; color: var(--navy); text-decoration: none;
  padding: var(--s-3) var(--s-2); border-bottom: 1px solid var(--border);
}
.mobile-menu .mobile-logins a:hover { color: var(--brand-blue-text); }
body.menu-open { overflow: hidden; }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .utility-links a span.label-long { display: none; }
}
/* Squeezed range just above the mobile breakpoint: tighten and drop the phone */
@media (min-width: 1181px) and (max-width: 1300px) {
  .main-nav a { padding-inline: 7px; font-size: 0.9rem; }
  .header-cta .phone-link { display: none; }
}
@media (max-width: 560px) {
  .header-cta .phone-link { display: none; }
  .utility-note { display: none; }
  .utility-links { width: 100%; justify-content: space-between; gap: var(--s-3); }
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding-block: clamp(var(--s-8), 10vw, 120px) clamp(var(--s-7), 9vw, var(--s-9));
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 22% 28%, rgba(27,160,226,0.20), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(27,160,226,0.10), transparent 50%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}
.hero .container { position: relative; }
.hero h1 { color: #fff; font-size: var(--fs-h1-hero); line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch; margin-bottom: var(--s-5); }
.hero h1 .accent { color: var(--brand-blue); }
.hero h1 .accent-gold { color: var(--gold); }
.hero-lead { font-size: var(--fs-body-lg); color: rgba(255,255,255,0.85); max-width: 56ch; margin-bottom: var(--s-6); }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-tagline { margin-top: var(--s-6); font-family: var(--font-display); font-weight: 600; font-style: italic; color: rgba(255,255,255,0.55); font-size: var(--fs-small); }

/* Compact hero for interior pages */
.hero-sm { padding-block: clamp(var(--s-7), 7vw, var(--s-9)) clamp(var(--s-6), 6vw, var(--s-8)); }
.hero-sm h1 { font-size: var(--fs-h1); }

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-caption); margin-bottom: var(--s-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,0.4); margin-right: var(--s-2); }
.breadcrumb [aria-current="page"] { color: rgba(255,255,255,0.95); font-weight: 600; }

/* ---------- 7. PROOF / STATS ---------- */
.proof-strip { background: var(--white); border-bottom: 1px solid var(--border); padding-block: var(--s-6); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.stat { display: flex; flex-direction: column; gap: var(--s-1); text-align: center; }
.stat-value {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1; color: var(--navy);
}
.stat-value .unit { color: var(--brand-blue-deep); }
.stat-label { font-size: var(--fs-caption); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
@media (max-width: 720px) { .proof-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); } }

/* ---------- 8. CARDS ---------- */
.card-grid { display: grid; gap: var(--s-5); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color var(--speed), box-shadow var(--speed), transform var(--speed);
}
.card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card .icon-wrap { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-2); }
.card .icon-wrap img { max-width: 100%; max-height: 100%; }
.card h3 { font-size: 1.1875rem; }
.card p { font-size: var(--fs-small); }
.card .card-cta { margin-top: auto; padding-top: var(--s-3); }

.card-link { text-decoration: none; color: inherit; }
.card-link h3 { transition: color var(--speed); }
.card-link:hover h3 { color: var(--brand-blue-text); }

/* Program / product category card */
.category-card { text-align: left; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-2); }
.brand-chip {
  background: var(--cream); border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 10px; font-family: var(--font-display); font-weight: 700;
  font-size: 0.75rem; color: var(--navy); white-space: nowrap;
}

/* Tags */
.tag {
  display: inline-block; font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 4px;
  background: rgba(27,160,226,0.12); color: var(--brand-blue-text);
}
.tag-gold { background: rgba(255,200,61,0.22); color: var(--gold-text); }
.tag-red  { background: rgba(13,111,160,0.10); color: var(--brand-blue-text); }
.tag-green{ background: var(--success-bg); color: var(--success); }

/* Status badges for events / promotions */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 4px 12px; border-radius: 999px; border: 1px solid transparent;
}
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-active    { background: var(--success-bg); color: var(--success); border-color: rgba(30,122,60,0.3); }
.status-upcoming  { background: rgba(27,160,226,0.10); color: var(--brand-blue-text); border-color: rgba(27,160,226,0.35); }
.status-completed { background: #EEF0F3; color: var(--muted); border-color: var(--border); }
.section-dark .status-active { background: rgba(30,122,60,0.22); color: #7ED99A; }
.section-dark .status-upcoming { background: rgba(27,160,226,0.18); color: #7CC7EC; }
.section-dark .status-completed { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }

/* ---------- 9. TESTIMONIALS & CASE STUDIES ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-6) var(--s-5) var(--s-5); position: relative;
  display: flex; flex-direction: column; gap: var(--s-4);
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 6px; left: 18px;
  font-family: Georgia, serif; font-size: 4.5rem; line-height: 1;
  color: var(--brand-blue); opacity: 0.2;
}
.quote-card blockquote { font-size: var(--fs-small); font-style: italic; color: var(--muted); line-height: 1.65; }
.quote-attr { border-top: 1px solid var(--border); padding-top: var(--s-3); }
.quote-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: var(--fs-small); }
.quote-store { font-size: var(--fs-caption); color: var(--muted); }

.pull-quote {
  border-left: 4px solid var(--brand-blue); padding-left: var(--s-5);
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  color: var(--navy); line-height: 1.35; max-width: 34ch;
}
.pull-quote cite { display: block; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: var(--fs-caption); color: var(--muted); margin-top: var(--s-3); }

.case-study { display: grid; gap: var(--s-5); }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.case-fact { background: var(--white); padding: var(--s-4) var(--s-4); }
.case-fact dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; }
.case-fact dd { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: var(--fs-small); }
@media (max-width: 620px) { .case-facts { grid-template-columns: 1fr; } }

/* ---------- 10. TIMELINE ---------- */
.timeline { position: relative; padding-left: 52px; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: var(--s-7); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute; left: -52px; top: 0; width: 38px; height: 38px;
  background: var(--navy); border-radius: 50%; color: #fff;
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 800; text-align: center;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--off-white); box-sizing: content-box; margin-left: -3px;
}
.timeline-marker.current { background: var(--blue-fill); }
.timeline-content h3 { font-size: 1.3125rem; margin-bottom: var(--s-2); }
.timeline-content p { font-size: var(--fs-small); }
.timeline-img { margin-top: var(--s-4); border-radius: 8px; overflow: hidden; max-width: 420px; }

/* ---------- 11. TEAM ---------- */
.leader-card { align-items: flex-start; }
.leader-photo {
  width: 152px; height: 152px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-fill) 0%, #0A5E87 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem;
  flex-shrink: 0; align-self: center;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-role { font-size: var(--fs-small); color: var(--brand-blue-text); font-weight: 700; margin-bottom: var(--s-2); }

/* Tribute */
.tribute { background: var(--navy); color: #fff; }
.tribute-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.tribute blockquote {
  font-family: var(--font-display); font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; margin-bottom: var(--s-5);
}
.tribute blockquote .accent { color: var(--brand-blue); }
.tribute p { margin-inline: auto; }

/* ---------- 12. SERVICE-AREA MAP ---------- */
.map-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(var(--s-5), 4vw, var(--s-7)); }
.carolina-map { width: 100%; height: auto; }
.map-legend { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); margin-top: var(--s-5); font-size: var(--fs-caption); font-weight: 600; color: var(--muted); }
.map-legend li { display: flex; align-items: center; gap: var(--s-2); list-style: none; }
.legend-swatch { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(14,30,58,0.25); flex-shrink: 0; }
.legend-star { color: var(--accent-red); font-size: 1.1rem; line-height: 1; }
.route-line { stroke-dasharray: 1 9; animation: route-dash 26s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -520; } }
.hq-pulse {
  transform-box: fill-box; transform-origin: center;
  animation: hq-pulse 2.6s ease-out infinite;
}
.hq-pulse-2 { animation-delay: 1.3s; }
@keyframes hq-pulse {
  0% { transform: scale(0.55); opacity: 0.55; }
  80% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- 13. STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-6) var(--s-5); position: relative;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-4);
}
.step h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.step p { font-size: var(--fs-small); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 14. CHECKLIST ---------- */
.check-list { list-style: none; display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.check-list li { position: relative; padding-left: 30px; font-size: var(--fs-small); line-height: 1.55; color: var(--muted); }
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  background-color: var(--brand-blue-deep);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-dark .check-list li { color: rgba(255,255,255,0.82); }
.section-dark .check-list li strong { color: #fff; }
.section-dark .check-list li::before { background-color: var(--brand-blue); }

/* ---------- 15. FAQ ACCORDION ---------- */
.faq-list { display: grid; gap: var(--s-3); max-width: 820px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--navy);
  padding: var(--s-4) var(--s-5); min-height: 56px;
}
.faq-trigger:hover { color: var(--brand-blue-text); }
.faq-trigger .chevron { flex-shrink: 0; transition: transform var(--speed); }
.faq-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.faq-panel { padding: 0 var(--s-5) var(--s-5); }
.faq-panel[hidden] { display: none; }
.faq-panel p { font-size: var(--fs-small); }
.faq-panel p + p { margin-top: var(--s-3); }

/* ---------- 16. FORMS ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(var(--s-5), 4vw, var(--s-7)); }
.form-grid { display: grid; gap: var(--s-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: var(--fs-caption); font-weight: 700; color: var(--navy); }
.req { color: var(--accent-red); }
.optional { font-weight: 500; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem; color: var(--text); background: var(--white);
  transition: border-color 150ms, box-shadow 150ms;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand-blue-deep);
  box-shadow: 0 0 0 3px rgba(27,160,226,0.2);
}
.form-field input[aria-invalid="true"], .form-field select[aria-invalid="true"], .form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
}
.form-help { font-size: var(--fs-caption); color: var(--muted); }
.field-error { display: none; font-size: var(--fs-caption); font-weight: 600; color: var(--error); }
.field-error.visible { display: block; }

.form-error-summary {
  display: none; background: var(--error-bg); border: 1.5px solid var(--error);
  border-radius: var(--radius); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-4);
}
.form-error-summary.visible { display: block; }
.form-error-summary h3 { color: var(--error); font-size: 1rem; margin-bottom: var(--s-2); }
.form-error-summary ul { margin-left: var(--s-5); font-size: var(--fs-caption); color: var(--text); }
.form-error-summary a { color: var(--error); font-weight: 600; }

.alert { border-radius: var(--radius); padding: var(--s-4) var(--s-5); font-size: var(--fs-small); border: 1.5px solid; }
.alert-info { background: rgba(27,160,226,0.08); border-color: rgba(27,160,226,0.4); color: var(--text); }
.alert-warning { background: var(--warning-bg); border-color: rgba(146,64,14,0.4); color: var(--warning); }
.alert p { color: inherit; }

.privacy-note { font-size: var(--fs-caption); color: var(--muted); margin-top: var(--s-4); max-width: var(--measure); }

/* Two-step form */
fieldset { border: 0; min-inline-size: 0; }
fieldset legend { font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; color: var(--navy); margin-bottom: var(--s-4); }

/* ---------- 17. CTA PANEL ---------- */
.cta-panel {
  background: linear-gradient(135deg, var(--navy) 0%, #14335C 100%);
  color: #fff; text-align: center;
  padding-block: clamp(var(--s-7), 8vw, var(--s-9));
}
.cta-panel h2 { color: #fff; max-width: 26ch; margin-inline: auto; }
.cta-panel p { color: rgba(255,255,255,0.8); max-width: 52ch; margin: var(--s-4) auto var(--s-6); }
.cta-actions { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }

/* Login card */
.login-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3);
}
.login-card h3 { font-size: 1.125rem; }
.login-card p { font-size: var(--fs-caption); }
.login-card .btn { margin-top: auto; }

/* Logo strip */
.logo-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-6); align-items: center; }
.logo-strip img { max-height: 52px; width: auto; margin-inline: auto; filter: none; opacity: 1; }
.logo-strip.cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 720px) { .logo-strip, .logo-strip.cols-6 { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }

/* ---------- 18. FOOTER ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); font-size: var(--fs-small); }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: var(--s-6); padding-block: var(--s-8) var(--s-7);
}
.footer-brand p { color: rgba(255,255,255,0.7); font-size: var(--fs-caption); margin-top: var(--s-4); max-width: 30ch; }
.footer-brand .footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; text-decoration: none; }
.footer-brand .footer-wordmark .accent { color: var(--brand-blue); }
.footer-col h2 { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--s-2); }
.footer-col a { color: rgba(255,255,255,0.85); text-decoration: none; padding-block: 2px; display: inline-block; }
.footer-col a:hover { color: var(--gold); text-decoration: underline; }
.footer-contact address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,0.85); }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-hours { margin-top: var(--s-3); font-size: var(--fs-caption); color: rgba(255,255,255,0.65); }
.social-links { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.social-links a {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  transition: background var(--speed);
}
.social-links a:hover { background: var(--brand-blue-deep); }
.social-links svg { width: 18px; height: 18px; fill: #fff; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  font-size: var(--fs-caption); color: rgba(255,255,255,0.6);
}
.footer-bar a { color: rgba(255,255,255,0.75); }
.footer-bar a:hover { color: #fff; }
.footer-legal-links { display: flex; gap: var(--s-4); flex-wrap: wrap; }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- 19. MOTION ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms ease, transform 400ms ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 350ms ease, transform 350ms ease; }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > :nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.in > :nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.in > :nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.in > :nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.in > :nth-child(6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .route-line, .hq-pulse { animation: none; }
  .hq-pulse { opacity: 0; }
}

/* No-JS fallbacks */
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }
.no-js .faq-panel[hidden] { display: block; }

/* ---------- 20. UTILITIES ---------- */
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.center { text-align: center; }
.measure { max-width: var(--measure); }
.lead { font-size: var(--fs-body-lg); }

@media print {
  .utility-bar, .site-header, .site-footer, .cta-panel, .nav-toggle { display: none; }
}

/* ---------- 21. FEATURED PROGRAM TILES ---------- */
.program-logo-box {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: var(--s-4); margin-bottom: var(--s-2);
}
.program-logo-box img { max-height: 118px; width: auto; max-width: 100%; object-fit: contain; }
.doc-list {
  display: grid; gap: var(--s-2); margin-top: auto;
  padding-top: var(--s-3); border-top: 1px solid var(--border);
  font-size: var(--fs-caption);
}
.doc-list a { font-weight: 600; }

/* ---------- 22. HERO ROTATOR ---------- */
.hero h1 .accent-gold { color: var(--gold); }
.hero-rotator, .lead-rotator { display: grid; }
/* Inactive lines sit at 0.1% opacity, not 0: invisible to people, but painted at load.
   Chrome skips opacity:0 text when measuring Largest Contentful Paint, then counts it as
   a brand-new paint when it fades in 8s later, which reports a false ~10s LCP to Google.
   Painting everything up front keeps the metric honest to what visitors actually see. */
.hero-rotator .hero-line, .lead-rotator .lead-line {
  grid-area: 1 / 1; opacity: 0.001; transition: opacity 700ms ease; pointer-events: none;
}
.hero-rotator .hero-line.is-active, .lead-rotator .lead-line.is-active { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .hero-rotator .hero-line, .lead-rotator .lead-line { transition: none; }
}

/* Rotator controls — make the second message discoverable */
.hero-dots { display: flex; gap: var(--s-2); align-items: center; margin-top: var(--s-6); }
.hero-dot {
  width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255,255,255,0.28); cursor: pointer; position: relative; overflow: hidden;
  transition: background var(--speed);
}
.hero-dot:hover { background: rgba(255,255,255,0.5); }
.hero-dot[aria-current="true"] { background: rgba(255,255,255,0.32); }
.hero-dot[aria-current="true"]::after {
  content: ""; position: absolute; inset: 0; transform-origin: left;
  background: var(--gold); animation: dot-fill 8000ms linear forwards;
}
.hero-rotator-paused .hero-dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-dot[aria-current="true"]::after { animation: none; transform: scaleX(1); }
}

/* ---------- 23. TAGLINE STRIP + GOLD STATS BANNER ---------- */
.tagline-strip {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding-block: var(--s-4); text-align: center;
}
.tagline-strip p {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-small);
  color: var(--navy); letter-spacing: 0.02em; max-width: none; margin-inline: auto;
}
.stats-gold { background: var(--gold); padding-block: var(--s-6); }
.stats-gold .stat-value { color: var(--navy); }
.stats-gold .stat-label { color: rgba(14,30,58,0.75); }

/* ---------- 24. ROUTE CHECK ---------- */
.route-check-panel {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(var(--s-5), 4vw, var(--s-7));
}
.rc-form { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: flex-end; }
.rc-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 190px; min-width: 0; }
.rc-field label { font-size: var(--fs-caption); font-weight: 700; color: var(--navy); }
.rc-field input {
  min-height: 52px; padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--text); background: var(--white);
  transition: border-color 150ms, box-shadow 150ms;
}
.rc-field input:focus {
  outline: none; border-color: var(--brand-blue-deep);
  box-shadow: 0 0 0 3px rgba(27,160,226,0.2);
}
.rc-form .btn { min-height: 52px; flex: 0 0 auto; }
.rc-hint { font-size: var(--fs-caption); color: var(--muted); margin-top: var(--s-3); }

.rc-result {
  margin-top: var(--s-5); padding: var(--s-5);
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--off-white); scroll-margin-top: 90px;
}
.rc-result:focus { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.rc-result[hidden] { display: none; }
.rc-yes  { background: var(--success-bg); border-color: rgba(30,122,60,0.35); }
.rc-no   { background: var(--cream);      border-color: var(--border); }
.rc-warn { background: var(--warning-bg); border-color: rgba(146,64,14,0.35); }

.rc-head { margin: 0 0 var(--s-3); max-width: none; }
.rc-head.rc-plain { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.rc-badge {
  display: inline-block; font-family: var(--font-display);
  font-size: var(--fs-small); font-weight: 800; letter-spacing: 0.02em;
  padding: 6px 14px; border-radius: 999px;
}
.rc-badge-yes { background: var(--success); color: #fff; }
.rc-badge-no  { background: var(--navy);    color: #fff; }
.rc-lede { font-size: var(--fs-small); color: var(--text); margin: 0; }

.rc-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin: var(--s-4) 0 0;
}
.rc-fact { background: var(--white); padding: var(--s-4); }
.rc-fact dt {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 3px;
}
.rc-fact dd {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  color: var(--navy); font-size: var(--fs-small);
}
.rc-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }

/* Compact homepage variant */
.rc-inline { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-5); }
.rc-inline input {
  min-height: 48px; width: 150px; padding: var(--s-2) var(--s-4);
  border: 1.5px solid var(--border); border-radius: 8px; background: var(--white);
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text);
}
.rc-inline input:focus {
  outline: none; border-color: var(--brand-blue-deep);
  box-shadow: 0 0 0 3px rgba(27,160,226,0.2);
}

/* ---------- 25. RENDERING PERFORMANCE ---------- */
/* Skip layout+paint for off-screen sections. contain-intrinsic-size keeps the
   scrollbar honest so this costs nothing in layout stability. */
.section, .section-tight, .cta-panel {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
/* Never defer anything in the first viewport — it would delay LCP. */
.hero, .site-header, .utility-bar, .proof-strip, .stats-gold, .tagline-strip {
  content-visibility: visible;
}
/* Reserve space for remote CMS logos so the strip can't reflow on arrival. */
.logo-strip img { aspect-ratio: 160 / 52; object-fit: contain; }

/* ---------- 26. LANGUAGE SWITCH & i18n ---------- */
.lang-switch {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 2px;
  margin-right: var(--s-2);
  flex: 0 0 auto;
}
.lang-btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 700; line-height: 1;
  letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: 999px;
  transition: background var(--speed), color var(--speed);
  min-height: 24px;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,0.10); }
.lang-btn.is-active {
  background: var(--white); color: var(--navy);
  box-shadow: 0 1px 2px rgba(0,0,0,0.20);
}
.lang-btn[lang="gu"] {
  font-family: 'Noto Sans Gujarati', var(--font-body);
  font-size: 0.8125rem; line-height: 1.6; padding-block: 2px;
}
.lang-btn:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* Gujarati typography — Latin faces have no Gujarati glyphs */
html[lang="gu"] body,
html[lang="gu"] .btn,
html[lang="gu"] input,
html[lang="gu"] select,
html[lang="gu"] textarea { font-family: 'Noto Sans Gujarati', var(--font-body); }
html[lang="gu"] h1, html[lang="gu"] h2, html[lang="gu"] h3,
html[lang="gu"] h4, html[lang="gu"] .hero-rotator {
  font-family: 'Noto Sans Gujarati', var(--font-display);
  letter-spacing: 0;              /* Gujarati must not be letter-spaced */
  line-height: 1.32;              /* matras need vertical room */
}
html[lang="gu"] .eyebrow { letter-spacing: 0.04em; }

/* Spanish runs ~20% longer than English — protect the nav from wrapping */
html[lang="es"] .main-nav a { padding-inline: 9px; font-size: 0.925rem; }
html[lang="es"] .lang-btn,
html[lang="gu"] .lang-btn { letter-spacing: 0; }

/* Notice shown on pages whose body copy is still English-only */
.lang-notice {
  display: none;
  background: var(--warning-bg);
  border-bottom: 1px solid #E8D4AE;
  color: var(--warning);
  font-size: var(--fs-small);
  line-height: 1.5;
  padding: var(--s-3) 0;
}
html[lang="es"] .lang-notice,
html[lang="gu"] .lang-notice { display: block; }
.lang-notice .container { display: flex; gap: var(--s-3); align-items: flex-start; }
.lang-notice > .container > svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.lang-notice p { margin: 0; max-width: 78ch; }
.lang-notice a { color: var(--warning); font-weight: 700; }
.lang-notice-x {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  color: var(--warning); opacity: 0.7; padding: 4px; margin-left: auto;
  flex: 0 0 auto; border-radius: 6px; line-height: 0;
}
.lang-notice-x svg { width: 16px; height: 16px; }
.lang-notice-x:hover { opacity: 1; background: rgba(146,64,14,0.10); }
.lang-notice-x:focus-visible { outline: 2px solid var(--warning); outline-offset: 1px; opacity: 1; }
html.lang-notice-dismissed .lang-notice { display: none !important; }
@media (max-width: 560px) {
  .lang-notice { font-size: var(--fs-caption); padding: var(--s-2) 0; }
  .lang-notice > .container > svg { display: none; }
}

/* Utility bar gets crowded once the switch is in it */
@media (max-width: 720px) {
  .utility-links a[data-analytics="employee_login_click"],
  .utility-links a[href="careers.html"] { display: none; }
}
@media (max-width: 560px) {
  .utility-links { gap: var(--s-2); }
  .lang-switch { margin-right: 0; }
  .lang-btn { padding: 5px 8px; }
}

/* ---------- 27. MAP FACADE (Contact) ----------
   Google's embedded map pulls ~0.5 MB+ of scripts. It now loads only on request. */
.map-facade {
  aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(0deg, rgba(14,30,58,0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(14,30,58,0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--cream);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.map-facade-inner { padding: var(--s-5); max-width: 420px; }
.map-facade-pin { width: 34px; height: 34px; color: var(--accent-red); margin: 0 auto var(--s-2); display: block; }
.map-facade-addr { margin: 0 0 var(--s-4); color: var(--text); font-size: var(--fs-small); line-height: 1.5; }
.map-facade-actions { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }
.map-facade-note { margin: var(--s-3) 0 0; font-size: var(--fs-caption); color: var(--muted); }
.map-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-facade.is-live { background: var(--cream); }
@media (max-width: 420px) { .map-facade { aspect-ratio: auto; min-height: 260px; } }

/* =====================================================================
   28. v4 BRAND STORY COMPONENTS
   Stops route · people promise · outcomes · switching steps · photo
   slots · transparency promise · family story chapters · annual rebate
   track · brand thread. All built from the tokens above.
   ===================================================================== */

.as-h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.12; }
.as-h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
.ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75;
       stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---- 28a. The stops (homepage emotional story) ---- */
.stops { background: var(--white); overflow: hidden; }
.stops .section-header { max-width: 860px; }
.stops-title {
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); font-weight: 700;
  line-height: 1.28; letter-spacing: -0.015em;
}
.stops-route {
  list-style: none; position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-5);
  margin: var(--s-7) 0 var(--s-8);
}
/* the road: a dashed route line running through every stop */
.stops-route::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 35px; height: 0;
  border-top: 3px dashed #BFD6E6;
}
.stop { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.stop-pin {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--stop-bg); color: var(--stop-fg);
  box-shadow: 0 0 0 6px var(--white), 0 8px 20px rgba(14,30,58,0.12);
  position: relative; z-index: 1; flex-shrink: 0;
}
.stop-pin .ico { width: 30px; height: 30px; }
.stop p {
  font-family: var(--font-display); font-weight: 700; color: var(--navy);
  font-size: 1.0625rem; line-height: 1.4; max-width: 19ch; margin-inline: auto;
}
/* the day runs left to right: morning gold through to late-night navy */
.stop:nth-child(1) { --stop-bg: var(--gold);       --stop-fg: var(--navy); }
.stop:nth-child(2) { --stop-bg: #9AD6F3;           --stop-fg: var(--navy); }
.stop:nth-child(3) { --stop-bg: var(--brand-blue); --stop-fg: #fff; }
.stop:nth-child(4) { --stop-bg: var(--blue-fill);  --stop-fg: #fff; }
.stop:nth-child(5) { --stop-bg: var(--navy);       --stop-fg: var(--gold); }
.stops-behind { max-width: 820px; margin-inline: auto; text-align: center; }
.stops-behind-1 { font-size: var(--fs-body-lg); color: var(--muted); margin-inline: auto; max-width: 52ch; }
.stops-behind-2 {
  font-family: var(--font-display); font-weight: 800; color: var(--navy);
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.875rem); line-height: 1.12; letter-spacing: -0.02em;
  margin: var(--s-3) auto var(--s-5); max-width: 22ch; text-wrap: balance;
}
.stops-behind-2 span { color: var(--brand-blue-deep); }
.stops-behind-3 { margin-inline: auto; max-width: 58ch; }
@media (max-width: 900px) {
  .stops-route { grid-template-columns: 1fr; gap: var(--s-6); max-width: 460px; margin-inline: auto; }
  .stops-route::before { left: 35px; right: auto; top: 36px; bottom: 36px; height: auto; border-top: 0; border-left: 3px dashed #BFD6E6; }
  .stop { flex-direction: row; text-align: left; gap: var(--s-5); }
  .stop p { margin-inline: 0; max-width: none; }
}

/* ---- 28b. A distributor that shows up (people promise) ---- */
.promise-head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6) clamp(var(--s-6), 5vw, 80px);
  align-items: end; margin-bottom: var(--s-7);
}
.promise-head h2 { margin: 0; }
.promise-sub {
  font-family: var(--font-display); font-weight: 700; color: var(--muted);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); line-height: 1.35; margin: 0;
}
.promise-sub strong { color: var(--navy); }
.promise-trio { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.promise {
  border-top: 4px solid var(--promise-c, var(--brand-blue));
  padding-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3);
}
.promise:nth-child(1) { --promise-c: var(--gold); }
.promise:nth-child(2) { --promise-c: var(--brand-blue); }
.promise:nth-child(3) { --promise-c: var(--navy); }
.promise .ico { width: 34px; height: 34px; color: var(--brand-blue-deep); }
.promise h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.promise p { font-size: var(--fs-body); }
.promise-close {
  margin: var(--s-7) auto 0; max-width: 40ch; text-align: center;
  font-family: var(--font-display); font-weight: 700; color: var(--navy);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); line-height: 1.35; text-wrap: balance;
}
.promise-close span { color: var(--brand-blue-deep); white-space: nowrap; }
@media (max-width: 860px) {
  .promise-head, .promise-trio { grid-template-columns: 1fr; }
  .promise-head { align-items: start; }
}
/* compact stacked version for the Become a Customer sidebar */
.promise-trio.compact { grid-template-columns: 1fr; gap: var(--s-4); }
.promise-trio.compact .promise { border-top: 0; border-left: 4px solid var(--promise-c); padding: 2px 0 2px var(--s-4); gap: 2px; }
.promise-trio.compact .promise h3 { font-size: 1.1875rem; }
.promise-trio.compact .promise p { font-size: var(--fs-small); }
.promise-trio.compact .ico { display: none; }

/* ---- 28c. Outcomes: Save Money / Grow Sales / Make Running Your Store Easier ---- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.outcome {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3);
  position: relative; overflow: hidden;
}
.outcome::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--outcome-c); }
.outcome:nth-child(1) { --outcome-c: var(--gold); }
.outcome:nth-child(2) { --outcome-c: var(--brand-blue); }
.outcome:nth-child(3) { --outcome-c: var(--navy); }
.outcome-top { display: flex; align-items: center; gap: var(--s-3); }
.outcome-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--navy);
}
.outcome-num { font-family: var(--font-display); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--muted); }
.outcome h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.015em; }
.outcome-list { list-style: none; display: grid; gap: 0; margin-top: var(--s-2); border-top: 1px solid var(--border); }
.outcome-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: 12px 2px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: var(--fs-small); color: var(--navy); text-decoration: none;
  transition: color var(--speed), padding var(--speed);
}
.outcome-list a::after { content: "\2192"; color: var(--brand-blue-deep); font-weight: 700; transition: transform var(--speed); }
.outcome-list a:hover { color: var(--brand-blue-text); padding-left: 6px; }
.outcome-list a:hover::after { transform: translateX(3px); }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Products & Programs: outcome chapter bands */
.outcome-band { background: var(--navy); color: #fff; padding-block: clamp(var(--s-6), 5vw, var(--s-7)); scroll-margin-top: var(--header-h); }
.outcome-band .container { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.outcome-band-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  color: var(--band-c, var(--gold)); line-height: 1;
}
.outcome-band h2 { color: #fff; font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); margin: 0; }
.outcome-band p { color: rgba(255,255,255,0.72); margin: 0; font-size: var(--fs-small); flex-basis: 100%; }
@media (min-width: 900px) { .outcome-band .container { flex-wrap: nowrap; } .outcome-band h2 { flex: 0 1 auto; } .outcome-band p { flex: 1 1 240px; min-width: 0; margin-left: auto; text-align: right; max-width: 56ch; text-wrap: balance; } }
.outcome-band.grow  { --band-c: #56C8ED; }
.outcome-band.easy  { --band-c: #9AD6F3; background: var(--navy-2); }

/* ---- 28d. Switching steps (Become a Customer) ---- */
.switch-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); position: relative; }
/* dashed route joining the three numbers on wide screens */
.switch-steps::before { content: ""; position: absolute; left: calc(var(--s-5) + 28px); right: calc(33.333% - 28px); top: calc(var(--s-5) + 28px);
  border-top: 2px dashed rgba(14,30,58,0.18); z-index: 0; }
.switch-step { display: flex; flex-direction: column; gap: var(--s-3); position: relative; z-index: 1;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); }
.switch-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-1); }
.switch-num {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); color: var(--navy); box-shadow: 0 0 0 6px var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.switch-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(27,160,226,0.10); color: var(--brand-blue-deep); }
.switch-ico .ico { width: 26px; height: 26px; }
.switch-step h3 { font-size: 1.375rem; font-weight: 800; }
.switch-step p { max-width: none; }
.switch-step .check-list { margin-top: var(--s-1); }
@media (max-width: 900px) { .switch-steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .switch-steps::before { display: none; } }

/* Photo slot: holds the space for real JLG photography and names the asset owed */
.photo-slot {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue-fill) 120%);
  color: rgba(255,255,255,0.86); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--s-3); text-align: center; padding: var(--s-5);
}
.photo-slot::after {
  content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(255,255,255,0.28);
  border-radius: calc(var(--radius-lg) - 6px); pointer-events: none;
}
.photo-slot .ico { width: 44px; height: 44px; color: rgba(255,255,255,0.7); }
.photo-slot-label { font-family: var(--font-display); font-weight: 800; font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.photo-slot-desc { font-size: var(--fs-caption); color: rgba(255,255,255,0.8); max-width: 28ch; line-height: 1.45; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- 28e. Transparency promise ---- */
.transparency { background: var(--navy); color: #fff; padding-block: clamp(var(--s-7), 6vw, var(--s-8)); }
.transparency-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(var(--s-5), 4vw, var(--s-7)); align-items: center; max-width: 960px; }
.transparency-seal {
  width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--navy);
  box-shadow: 0 0 0 8px rgba(255,200,61,0.14);
}
.transparency-seal .ico { width: 52px; height: 52px; stroke-width: 1.6; }
.transparency h2 { color: #fff; font-size: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem); }
.transparency p { color: rgba(255,255,255,0.84); font-size: var(--fs-body-lg); margin-top: var(--s-3); }
.transparency .eyebrow { color: var(--gold); }
@media (max-width: 620px) { .transparency-inner { grid-template-columns: 1fr; } .transparency-seal { width: 84px; height: 84px; } }

/* ---- 28f. Application layout with a human sidebar ---- */
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(var(--s-6), 4vw, var(--s-7)); align-items: start; }
.apply-aside { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.apply-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); }
.apply-card h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.apply-card p { font-size: var(--fs-small); }
.apply-card dl { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.apply-card dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.apply-card dd { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
@media (max-width: 980px) { .apply-grid { grid-template-columns: 1fr; } .apply-aside { position: static; } }

/* ---- 28g. Family story chapters (About) ---- */
.chapter {
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: var(--s-5) clamp(var(--s-6), 5vw, 72px);
  padding-block: var(--s-7); border-top: 1px solid var(--border);
}
.chapter:first-of-type { border-top: 0; padding-top: 0; }
.chapter-year {
  font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); color: var(--brand-blue-deep);
  padding: 4px 6px 6px 0;
  position: sticky; top: calc(var(--header-h) + var(--s-5)); align-self: start;
}
.chapter-year small { display: block; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: var(--s-2); font-weight: 800; }
.chapter-body { max-width: 68ch; display: grid; gap: var(--s-4); }
.chapter-body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; }
.chapter-body p { max-width: none; }
.chapter-turn { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.25rem; }
.chapter-photo { margin-top: var(--s-2); max-width: 460px; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.chapter-photo img { width: 100%; height: auto; }
.chapter-photo figcaption { font-size: var(--fs-caption); color: var(--muted); padding: var(--s-2) var(--s-3); }
.story-quote {
  margin: var(--s-3) 0; padding: var(--s-5) 0 var(--s-5) var(--s-5); border-left: 4px solid var(--gold);
  font-family: var(--font-display); font-weight: 800; color: var(--navy);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.3; letter-spacing: -0.015em;
}
.story-quote cite { display: block; margin-top: var(--s-3); font-family: var(--font-body); font-style: normal;
  font-weight: 600; font-size: var(--fs-caption); letter-spacing: 0; color: var(--muted); }
.story-aside {
  background: var(--cream); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5);
  display: grid; gap: var(--s-3); margin-block: var(--s-3);
}
.story-aside .eyebrow { margin: 0; }
.story-aside h4 { font-size: 1.375rem; font-weight: 800; }
.story-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-2); }
.story-person { display: flex; align-items: center; gap: var(--s-4); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-4); }
.story-person .leader-photo { width: 72px; height: 72px; font-size: 1.125rem; }
.story-person strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.0625rem; }
.story-person span { font-size: var(--fs-caption); color: var(--brand-blue-text); font-weight: 700; }
@media (max-width: 820px) {
  .chapter { grid-template-columns: 1fr; gap: var(--s-3); }
  .chapter-year { position: static; font-size: 2rem; }
  .story-people { grid-template-columns: 1fr; }
}

/* Values grid: tighter, icon left on wide screens */
.values-mission { margin-top: var(--s-7); display: grid; grid-template-columns: 200px 1fr; gap: var(--s-5); align-items: start;
  border-top: 1px solid rgba(14,30,58,0.12); padding-top: var(--s-6); }
.values-mission .eyebrow { margin: 0; padding-top: 6px; }
.values-mission p { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: var(--fs-body-lg); max-width: 48ch; }
@media (max-width: 620px) { .values-mission { grid-template-columns: 1fr; gap: var(--s-2); } }

/* ---- 28h. Closing brand lockup (About + reusable) ---- */
.brand-close { background: var(--navy); color: #fff; text-align: center; }
.brand-close h2 { color: #fff; }
.brand-close p { color: rgba(255,255,255,0.82); margin-inline: auto; }
.brand-lockup {
  margin: var(--s-7) auto 0; padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,0.16);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.5rem);
  line-height: 1.15; letter-spacing: -0.02em; color: #fff;
}
.brand-lockup span:nth-child(2) { color: #7CC7EC; }
.brand-lockup span:nth-child(3) { color: var(--gold); }
.brand-lockup-sub { margin-top: var(--s-4); font-size: var(--fs-body-lg); }

/* ---- 28i. Annual rebate track ---- */
.rebate-year {
  max-width: 900px; margin: 0 auto var(--s-7);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg);
  padding: var(--s-6) clamp(var(--s-5), 4vw, var(--s-6));
}
.ry-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-5); }
.ry-head h4 { color: #fff; font-size: 1.125rem; }
.ry-track { display: grid; grid-template-columns: minmax(0,12fr) minmax(0,2fr) minmax(30px,1fr); gap: 6px; align-items: center; }
.ry-earn { height: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ry-seg { border-radius: 7px; background: rgba(255,255,255,0.14); overflow: hidden; }
.ry-seg.is-current { box-shadow: 0 0 0 2px rgba(86,200,237,0.45); }
.ry-periods { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,6fr) minmax(0,2fr) minmax(30px,1fr); column-gap: 5px; margin-bottom: var(--s-2); }
.ry-period { margin: 0; max-width: none; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); white-space: nowrap; }
.ry-period.is-current { color: #fff; }
.ry-period span { display: block; font-weight: 600; letter-spacing: 0.04em; opacity: 0.8; }
.ry-periods { align-items: end; }
.ry-period-pay { text-align: center; color: var(--gold); }
.ry-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-blue), #56C8ED); border-radius: 7px; transition: width 700ms ease; }
.ry-gap { height: 0; border-top: 2px dashed rgba(255,255,255,0.25); }
.ry-pay {
  width: 30px; height: 30px; border-radius: 50%; justify-self: center;
  background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px rgba(255,200,61,0.18);
}
.ry-pay .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.ry-labels { display: grid; grid-template-columns: minmax(0,12fr) minmax(0,2fr) minmax(30px,1fr); gap: 6px; margin-top: var(--s-2);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.ry-labels .ry-months { display: flex; justify-content: space-between; min-width: 0; }
.ry-labels .ry-paylabel { text-align: center; color: var(--gold); white-space: nowrap; }
.ry-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: var(--s-5);
  background: rgba(255,255,255,0.12); border-radius: var(--radius); overflow: hidden; }
.ry-facts div { background: var(--navy); padding: var(--s-4); }
.ry-facts dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.ry-facts dd { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.125rem; }
.ry-now { margin: var(--s-4) 0 0; font-size: var(--fs-small); color: rgba(255,255,255,0.75); }
@media (max-width: 560px) {
  .ry-labels .ry-months span:nth-child(even) { display: none; }
  .ry-period { font-size: 0.6875rem; letter-spacing: 0.03em; }
  .ry-period-pay { visibility: hidden; }
  .ry-labels { font-size: 0.6875rem; letter-spacing: 0.03em; }
  .ry-facts { grid-template-columns: 1fr; }
}

/* ---- 28j. New items + Friday Fillup ---- */
.fe-badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); background: var(--gold); padding: 6px 12px; border-radius: 999px;
}

/* ordering trio on Products & Programs */
.mini-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.mini-link { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-5); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: border-color var(--speed), box-shadow var(--speed); }
.mini-link:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-2); }
.mini-link .ico { color: var(--brand-blue-deep); }
.mini-link strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.0625rem; }
.mini-link span { font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 860px) { .mini-links { grid-template-columns: 1fr; } }

.chapter-year-word { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); color: var(--muted); }
@media (max-width: 620px) {
  #values .card { flex-direction: row; align-items: flex-start; gap: var(--s-4); padding: var(--s-4); }
  #values .card .icon-wrap { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
  #values .card h3 { font-size: 1.0625rem; margin-bottom: 2px; }
  #values .card > h3, #values .card > p { grid-column: 2; }
  #values .card-grid { gap: var(--s-3); }
}

/* headings demoted inside Products & Programs outcome groups keep their card/step sizing */
.card h4, .step h4 { font-size: 1.1875rem; line-height: 1.3; }
.step h4 { margin-bottom: var(--s-2); }

/* Phones: logo + "Become a Customer" + menu toggle must fit without sideways scroll (was 7px over at 390px) */
@media (max-width: 440px) {
  .header-bar { gap: var(--s-3); }
  .header-cta { gap: var(--s-2); }
  .header-cta .btn-sm { padding-inline: var(--s-3); font-size: 0.875rem; }
  .site-logo { height: 44px; }
}
@media (max-width: 350px) {
  /* the mobile menu carries Become a Customer at these widths */
  .header-cta .btn-sm { display: none; }
}
.two-col > *, .apply-grid > *, .chapter > * { min-width: 0; }
@media (max-width: 360px) { .btn { white-space: normal; text-align: center; } }
@media (max-width: 380px) { .rc-form .btn { flex: 1 1 100%; } .rc-field input { min-width: 0; width: 100%; } }

/* demoted section headings keep the h2 rhythm */
.as-h2 + p { margin-top: var(--s-4); }
.logo-fallback { display: block; text-align: center; font-family: var(--font-display); font-weight: 800;
  font-size: 1.0625rem; letter-spacing: 0.02em; color: var(--navy); opacity: 0.7; }
.photo-slot--fallback { width: 100%; aspect-ratio: 3 / 2; }
.hero-lead-strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3; letter-spacing: -0.01em; margin-bottom: var(--s-3); }

/* ---- First Edition items (Products & Programs) ---- */
.fe-list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-5);
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border); }
.fe-list-title { font-size: 1.125rem; font-weight: 800; }
.fe-list-sub { font-size: var(--fs-small); margin: 0; }
.fe-items { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-4); }
.fe-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease; }
.fe-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14,30,58,.10); }
.fe-item img { width: 100%; height: auto; aspect-ratio: 400 / 480; object-fit: contain; display: block; }
.fe-name { font-size: 0.875rem; font-weight: 700; line-height: 1.3; padding: var(--s-3) var(--s-3) 0; letter-spacing: 0; }
.fe-date { font-size: var(--fs-caption); font-weight: 700; color: var(--brand-blue-text); padding: 4px var(--s-3) var(--s-3); margin: auto 0 0; }
@media (max-width: 1100px) { .fe-items { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .fe-items { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s-3);
    margin-inline: calc(-1 * var(--s-5)); padding: 0 var(--s-5) var(--s-3); scrollbar-width: thin; }
  .fe-item { flex: 0 0 44%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .fe-item, .fe-item:hover { transition: none; transform: none; } }

/* Homepage variant: the promise sits on the cream 1-2-3 band as a card, so it doesn't stack two navy bands before the CTA */
.transparency-light { background: var(--cream); color: var(--navy); padding-top: 0; }
.transparency-light .transparency-inner { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(var(--s-5), 4vw, var(--s-7)); margin-inline: auto; width: min(960px, calc(100% - 2 * var(--s-5))); box-shadow: 0 12px 32px rgba(14,30,58,0.06); }
.transparency-light h2 { color: var(--navy); }
.transparency-light p { color: var(--muted); }
.transparency-light .eyebrow { color: var(--brand-blue-text); }
.transparency-light .transparency-seal { box-shadow: 0 0 0 8px rgba(255,200,61,0.22); }

/* ---- v6: supplied promo art + testimonial ---- */
.promo-flyer { margin: 0; max-width: 420px; margin-inline: auto; transform: rotate(1.5deg); }
.promo-flyer img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(14,30,58,0.18), 0 2px 6px rgba(14,30,58,0.08); }
.fs-card { align-items: center; padding: var(--s-6) var(--s-5); }
.fs-art { width: 100%; max-width: 380px; height: auto; margin-block: var(--s-3); }
.fillup-logo { margin: 0; }
.fillup-logo img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(14,30,58,0.10); }
.testimonial { max-width: 780px; margin: clamp(var(--s-7), 6vw, var(--s-8)) auto 0; text-align: center; }
.testimonial blockquote { margin: 0; position: relative; padding-top: 44px; }
.testimonial blockquote::before { content: "\201C"; position: absolute; left: 50%; top: -14px; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: 5.5rem; line-height: 1; color: var(--gold); }
.testimonial blockquote p { max-width: none; margin: 0; font-family: var(--font-display); font-weight: 800; color: var(--navy);
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.testimonial figcaption { margin-top: var(--s-4); font-weight: 700; color: var(--brand-blue-text); font-size: var(--fs-small); letter-spacing: 0.04em; }
.testimonial figcaption::before { content: ""; display: block; width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0 auto var(--s-3); }
@media (prefers-reduced-motion: reduce) { .promo-flyer { transform: none; } }

/* ---- v7: photo hero — one store photo per message, text stays on a navy field ---- */
.hero-photos { min-height: clamp(560px, 64vh, 760px); display: grid; align-items: center; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media .hero-photo { position: absolute; top: 0; bottom: 0; right: 0; left: 36%; opacity: 0.001; transition: opacity 900ms ease; }
.hero-media .hero-photo.is-active { opacity: 1; }
.hero-media .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; display: block; }
.hero-scrim { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 36%, rgba(14,30,58,0.94) 48%, rgba(14,30,58,0.62) 60%, rgba(14,30,58,0.22) 76%, rgba(14,30,58,0.12) 100%),
    linear-gradient(180deg, rgba(14,30,58,0.45) 0%, rgba(14,30,58,0) 35%, rgba(14,30,58,0) 70%, rgba(14,30,58,0.55) 100%); }
.hero-photos .container { position: relative; z-index: 1; }
.hero-photos h1 { max-width: 20ch; }
.hero-photos .hero-line { max-width: 19ch; }
.hero-photos .hero-lead, .hero-photos .hero-actions, .hero-photos .hero-dots, .hero-photos .eyebrow { position: relative; }
@media (max-width: 899px) {
  .hero-photos { min-height: 0; }
  .hero-media .hero-photo { left: 0; }
  .hero-scrim { background: linear-gradient(180deg, rgba(14,30,58,0.88) 0%, rgba(14,30,58,0.86) 60%, rgba(14,30,58,0.72) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero-media .hero-photo { transition: none; } }


/* ---- v7: Friday Fillup sign-up ---- */
.fillup-grid { align-items: start; }
.fillup-grid .fillup-logo { margin-top: var(--s-6); max-width: 520px; }
.fillup-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(var(--s-5), 3vw, var(--s-6));
  box-shadow: 0 18px 44px rgba(14,30,58,0.10); position: relative; overflow: hidden; }
.fillup-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #D7262D 0 50%, var(--brand-blue) 50% 100%); }
.fillup-card form { display: grid; gap: var(--s-4); }
.fillup-card-title { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.01em; }
.fillup-card-sub { margin: calc(-1 * var(--s-2)) 0 0; color: var(--muted); font-size: var(--fs-small); }
.fillup-card .form-error-summary { margin-bottom: 0; }
.fillup-card .form-field input { font-size: 1.0625rem; min-height: 52px; }
.fillup-submit { width: 100%; justify-content: center; position: relative; }
.fillup-submit-busy { display: none; }
.is-busy .fillup-submit-label { display: none; }
.is-busy .fillup-submit-busy { display: inline; }
.fillup-fine { margin: 0; font-size: var(--fs-caption); color: var(--muted); max-width: none; }
.fillup-success { display: grid; gap: var(--s-3); outline: none; }
.fillup-success[hidden], .fillup-card form[hidden] { display: none; }
.fillup-success p { max-width: none; }
.fillup-check { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.fillup-check .ico { width: 30px; height: 30px; stroke-width: 2.4; }
@media (max-width: 899px) { .fillup-grid .fillup-logo { max-width: 420px; } }


/* ---- v13: partner logos (hosted locally), tradeshow photos, flyer page ---- */
.logo-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.logo-wall.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.logo-wall li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: var(--s-4); height: 116px; min-width: 0; }
.logo-wall img { max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) { .logo-wall, .logo-wall.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); } }
@media (max-width: 420px) { .logo-wall, .logo-wall.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-wall li { padding: var(--s-3); height: 96px; } .logo-wall img { max-height: 60px; } }
.show-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-content: center; }
.show-photos img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.tech-photo { width: 100%; height: auto; border-radius: var(--radius-lg); }
.flyer { max-width: 900px; margin-inline: auto; display: grid; gap: var(--s-5); }
.flyer-page { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(14,30,58,0.12); }
.flyer-page img { width: 100%; height: auto; display: block; }
