/* ============================================================
   brand.css — Cali K9® Shared Design System
   All 7 pages link to this single stylesheet.
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS — loaded via <link> in each HTML file (non-blocking)
   ============================================================ */

/* ============================================================
   2. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --blue:       #1A3FAB;
  --blue-hover: #1E4BC4;
  --blue-tint:  #E8EEFF;
  --bd:         #122E85;
  --bl:         #6A9FFF;
  --bll:        #7DAAFF;
  --ink:        #111111;
  --g70:        #3D3D3D;
  --g50:        #6B6B6B;
  --g30:        #A8A8A8;
  --w:          #FFFFFF;
  --bo:         #F8F9FC;
  --cream:      #EEF1F8;
  --green:      #059669;
  --amber:      #F59E0B;
  --red:        #DC2626;
  --font-display: 'Bebas Neue', sans-serif;
  --font-ui:      'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.14);
  --shadow-blue: 0 12px 40px rgba(26,63,171,0.15);

  /* Brand gradient — use for all dark hero/CTA blocks */
  --grad-brand: linear-gradient(135deg, #122E85 0%, #122E85 50%, #1A3FAB 100%);

  /* Announcement banner height — 0px until scroll triggers banner reveal */
  --banner-h: 0px;
}
@media (max-width: 600px) {
  :root { --banner-h: 0px; }
}

/* ============================================================
   3. BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--w);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */

/* Skip link */
/* ── SITE BANNER ── */
.site-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 40px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--w);
  padding: 8px 48px 8px 16px;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-banner.banner-visible {
  transform: translateY(0);
}
.site-banner-text {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--w);
  line-height: 1.3;
  text-align: center;
}
.site-banner-link {
  color: #c2d9ff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.site-banner-link:hover { text-decoration: underline; }
.site-banner-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  transition: color .15s;
}
.site-banner-close:hover { color: var(--w); }
@media (max-width: 600px) {
  .site-banner { padding: 8px 40px 8px 12px; }
  .site-banner-text { font-size: 12px; letter-spacing: 0; line-height: 1.5; }
  .site-banner-link { white-space: normal; }
}
/* Utility for pages with no hero — accounts for fixed banner + nav */
.page-main-offset { padding-top: calc(var(--banner-h) + 68px); }

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--blue);
  color: var(--w);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Dark section grid overlay — applied via .dark-grid class or ::before on known dark components */
.dark-grid {
  position: relative;
  overflow: hidden;
}
.dark-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.dark-grid > .wrap,
.dark-grid > .hero-content,
.dark-grid > .eval-hero-grid {
  position: relative;
  z-index: 1;
}

/* Layout utilities */
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.sec {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

.sec-sm {
  padding: 48px 0;
}

.section-alt {
  background: var(--bo);
}

/* Typography utilities */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
/* Eyebrow on dark/blue backgrounds */
.hero .eyebrow,
.jas-hero .eyebrow,
.cta-dark .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.hdg {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 0.93;
  color: var(--ink);
}

.hdg-lg {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 1px;
}

/* Home hero gets larger treatment */
.jas-hero .hdg-lg {
  font-size: clamp(64px, 9vw, 112px);
  line-height: 0.9;
}

/* Superscript sizing */
sup {
  font-size: 0.48em;
  line-height: 0;
  vertical-align: super;
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Button base */
.btn {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

/* Button variants */
.btn-blue {
  background: var(--blue);
  color: var(--w);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,63,171,0.3);
}

.btn-white {
  background: var(--w);
  color: var(--blue);
  border-color: var(--w);
}
.btn-white:hover {
  background: #e8eaf0;
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,63,171,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-tint);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,63,171,0.2);
}

.btn-sm {
  font-size: 12px;
  padding: 8px 16px;
  min-height: 44px; /* WCAG 2.5.5 minimum touch target */
}

/* ============================================================
   5. NAVIGATION COMPONENT
   ============================================================ */
.site-nav {
  position: fixed;
  top: var(--banner-h, 0px);
  left: 0;
  right: 0;
  height: 68px;
  background: var(--w);
  border-bottom: 2px solid var(--blue);
  z-index: 1000;
  transition: box-shadow 0.2s, top 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.logo-cali {
  color: var(--blue);
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links li a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--g50);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links li a:hover {
  color: var(--blue);
}

.nav-links li a.nav-active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
}

/* ── Nav dropdown submenu ── */
.nav-has-sub {
  position: relative;
}
.nav-sub {
  position: absolute;
  /* Start at 100% — no gap so hover zone is continuous.
     Visual offset is created by transparent top border trick. */
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--w);
  background-clip: padding-box;
  /* Transparent top border bridges hover gap between nav item and dropdown */
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 10px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 36px rgba(0,0,0,0.14);
  padding: 6px 0;
  min-width: 190px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  transform: translateX(-50%) translateY(-4px);
  z-index: 200;
}
.nav-sub::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: rgba(0,0,0,0.08);
}
.nav-sub::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top: none;
  border-bottom-color: var(--w);
}
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub,
.nav-has-sub.nav-sub-open .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sub li a {
  display: block;
  padding: 10px 18px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  border-bottom: none !important;
}
.nav-sub li a:hover {
  color: var(--blue) !important;
  background: var(--blue-tint);
}
.nav-sub li a.nav-active {
  color: var(--blue) !important;
  border-bottom: none !important;
  padding-bottom: 10px;
}
/* Mobile drawer: show sub-nav inline, not as floating dropdown */
.nav-drawer .nav-has-sub .nav-sub {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow: none;
  border: none;
  border-left: 2px solid rgba(26,63,171,0.2);
  border-radius: 0;
  padding: 4px 0 4px 16px;
  margin: 4px 0 0 8px;
  background: transparent;
  min-width: auto;
}
.nav-drawer .nav-has-sub .nav-sub::before,
.nav-drawer .nav-has-sub .nav-sub::after { display: none; }
.nav-drawer .nav-sub li a {
  color: var(--g50) !important;
  font-size: 12px !important;
  padding: 7px 8px !important;
  background: transparent !important;
  border-bottom: none !important;
}
.nav-drawer .nav-sub li a:hover { color: var(--blue) !important; }

.nav-links li a.nav-cta,
.nav-drawer ul li a.nav-cta {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--w);
  border: 2px solid var(--blue);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-links li a.nav-cta:hover,
.nav-drawer ul li a.nav-cta:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
}
/* Prevent nav-active underline/color from bleeding onto the CTA button */
.nav-links li a.nav-cta.nav-active,
.nav-links li a.nav-cta.active {
  color: var(--w);
  border-bottom: none;
  padding-bottom: 7px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: calc(var(--banner-h) + 68px);
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--w);
  border-left: 2px solid var(--blue);
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.nav-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer ul li a {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink);
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-drawer ul li a:hover {
  color: var(--blue);
}

body.nav-open .nav-drawer {
  transform: translateX(0);
}

/* ============================================================
   6. FOOTER COMPONENT
   ============================================================ */
.site-footer {
  background: #0D111C;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  margin-bottom: 8px;
  display: block;
}

.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  display: block;
}

.footer-netflix {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.5);
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--w);
  margin-bottom: 16px;
  display: block;
}

.footer-col ul li {
  padding: 6px 0;
}

.footer-col ul li a,
.footer-col ul li .footer-text,
.footer-col ul li.footer-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--w); }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bar p {
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
}

.footer-policies {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}

.footer-policies a {
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-policies a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  background: var(--grad-brand);
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: calc(var(--banner-h) + 96px) 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 36px;
}

.hero .hdg-lg {
  color: var(--w);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 0 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero .btn-outline,
.btn-outline-white {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.8);
}
.hero .btn-outline:hover,
.btn-outline-white:hover {
  border-color: var(--w);
  color: var(--w);
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.1);
}

/* ============================================================
   8. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bo);
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.trust-bar .wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-stat {
  text-align: center;
  padding: 16px 24px;
}

.trust-stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--blue);
  display: block;
  line-height: 1;
}

.trust-stat-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--g50);
  display: block;
  margin-top: 4px;
}

/* ============================================================
   9. CARD STYLES
   ============================================================ */
.card,
.testimonial-card {
  background: var(--w);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #D1FAE5;
  color: #059669;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: 16px;
}
.card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(26,63,171,0.12);
}

.card-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.card-body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--g50);
  line-height: 1.6;
}

/* ============================================================
   10. TESTIMONIAL CARD
   ============================================================ */
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.stars span {
  color: var(--amber);
  font-size: 14px;
  line-height: 1;
}

/* Inline rating badge — matches home proof strip style */
.rating-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.rating-inline .ri-score {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink);
  line-height: 1;
}
.rating-inline .ri-star {
  color: var(--amber);
  font-size: 22px;
  line-height: 1;
  align-self: center;
}
.rating-inline .ri-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g50);
}

.quote-text {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--g70);
  line-height: 1.7;
  margin-bottom: 16px;
}

.reviewer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 8px;
}

.reviewer-name {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
}

.reviewer-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--g50);
}

/* ============================================================
   11. CTA BLOCK
   ============================================================ */
.cta-block {
  background: var(--cream);
  padding: 80px 0;
  text-align: center;
}

.cta-block-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-block .hdg {
  margin-bottom: 16px;
}

.cta-block-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--g70);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-block.cta-dark {
  background: var(--bd);
}

.cta-block.cta-dark .hdg {
  color: var(--w);
}

.cta-block.cta-dark .cta-block-sub {
  color: rgba(255,255,255,0.7);
}

.cta-block.cta-dark p {
  color: rgba(255,255,255,0.75);
}

/* Override generic eyebrow rule — use accent blue on dark CTA */
.cta-block.cta-dark .eyebrow {
  color: var(--bl);
  opacity: 1;
}

/* ============================================================
   12. FORMS
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--g70);
}

.form-input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--w);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,63,171,0.15);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* ============================================================
   13. FAQ ACCORDION
   ============================================================ */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 20px 0;
  cursor: pointer;
  transition: color 0.15s;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--blue);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] {
  border-left: 3px solid var(--blue);
  padding-left: 16px;
}

.faq-item[open] summary {
  color: var(--blue);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--g50);
  line-height: 1.7;
  padding: 0 0 20px;
}

/* ============================================================
   14. SECTION DIVIDER
   ============================================================ */
.sec-divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 16px 0 32px;
}

.sec-divider.center {
  margin: 16px auto 32px;
}

/* ============================================================
   15. RESPONSIVE RULES
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 48px 0; }
  .wrap { padding: 0 24px; }
  .hero { min-height: auto; padding: calc(var(--banner-h) + 116px) 0 48px; }
  .hero-orb { width: 360px; height: 360px; }
  .hero-content { text-align: left; padding: 0 20px; }
  .hero-subtitle { margin-left: 0; margin-right: 0; text-align: left; }
  .hero-eyebrow-row { justify-content: flex-start !important; flex-wrap: wrap; }
  .hero-ctas { align-items: stretch; }
  .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-drawer { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full-width { grid-column: 1; }
  .trust-bar .wrap { justify-content: center; }
  .trust-stat { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 32px 0; }
  .hdg-lg { font-size: clamp(32px, 10vw, 52px); }
  .btn { width: 100%; text-align: center; }
  .hero-ctas, .cta-btns { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--banner-h) + 108px) 0 40px; }
  .hero-orb { width: 220px; height: 220px; }
}

/* ============================================================
   TEAM — CERTIFICATION STACK
   ============================================================ */
.cert-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cert-row {
  display: flex;
  gap: 32px;
  align-items: stretch;
}
.cert-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 80px;
}
.cert-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--blue);
  flex-shrink: 0;
  background: var(--w);
  position: relative;
  z-index: 1;
}
.cert-num--filled {
  background: var(--blue);
  color: var(--w);
  border-color: var(--blue);
}
.cert-connector {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), rgba(26,63,171,0.15));
  margin: 8px 0;
  min-height: 40px;
}
.cert-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--w);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.cert-content:hover {
  box-shadow: 0 8px 32px rgba(26,63,171,0.1);
}
.cert-content--dark {
  background: var(--bd);
  border-color: rgba(255,255,255,0.06);
}
.cert-content--dark:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.cert-icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--blue-tint);
  border: 1px solid rgba(26,63,171,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.cert-icon-wrap--light {
  background: rgba(106,159,255,0.15);
  border-color: rgba(106,159,255,0.25);
  color: var(--bl);
}
.cert-text {
  flex: 1;
}
.cert-title {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.cert-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--g50);
  line-height: 1.7;
}
.cert-stat {
  flex-shrink: 0;
  text-align: center;
  min-width: 80px;
  padding-left: 24px;
  border-left: 1px solid rgba(0,0,0,0.07);
}
.cert-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}
.cert-stat-lbl {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g30);
}
@media (max-width: 768px) {
  .cert-row { gap: 16px; }
  .cert-num-col { width: 48px; }
  .cert-num { width: 48px; height: 48px; font-size: 18px; }
  .cert-content { flex-wrap: wrap; padding: 24px 20px; gap: 16px; }
  .cert-stat { border-left: none; border-top: 1px solid rgba(0,0,0,0.07); padding-left: 0; padding-top: 12px; width: 100%; display: flex; gap: 12px; align-items: center; }
  .cert-icon-wrap { display: none; }
}

/* ============================================================
   ABOUT — CREDENTIALS SECTION
   ============================================================ */
.about-cred-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-cred-panel {
  padding: 56px 48px;
  background: rgba(255,255,255,0.03);
}
.about-cred-panel--awards {
  background: rgba(26,63,171,0.12);
}
.about-cred-divider {
  background: rgba(255,255,255,0.07);
  width: 1px;
}
.about-cred-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: rgba(26,63,171,0.4);
  border: 1px solid rgba(26,63,171,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.cred-tag {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--w);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}
.about-award-callout {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(106,159,255,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .about-cred-grid { grid-template-columns: 1fr; }
  .about-cred-divider { width: 100%; height: 1px; }
  .about-cred-panel { padding: 40px 24px; }
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(26,63,171,0.6);
}
.product-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-name {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--w);
}
.product-cta {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--bl);
  text-transform: uppercase;
}

/* ============================================================
   5-PILLAR CARDS
   ============================================================ */
.pillar-card {
  background: var(--w);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.22);
}
.pillar-img {
  position: relative;
  height: 180px;
  background-size: cover;
  overflow: hidden;
}
.pillar-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.52) 100%);
}
.pillar-svg-wrap {
  background: linear-gradient(145deg, #091852 0%, #122E85 55%, #1A3FAB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-svg-wrap::after { display: none; }
.pillar-svg { width: 100%; height: 100%; display: block; }
.pillar-img-num {
  position: absolute;
  bottom: 8px;
  right: 14px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 72px;
  color: rgba(255,255,255,0.22);
  line-height: 1;
  pointer-events: none;
}
.pillar-body {
  padding: 20px 22px 24px;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pillar-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--g50);
  line-height: 1.68;
}
/* outcomes card — solid Royal Blue accent */
.pillar-outcomes {
  background: var(--blue);
  border-color: var(--blue-hover);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pillar-outcomes-lbl {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--w);
  margin-bottom: 20px;
}
.pillar-outcomes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pillar-outcomes li {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--w);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pillar-outcomes li:last-child { border-bottom: none; }
.pillar-outcomes li span { color: var(--bll); flex-shrink: 0; font-weight: 700; }

/* ============================================================
   HOME PAGE — Jas split hero + marquee + proof strip + seen-on
   ============================================================ */

/* --- Hero --- */
.jas-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.jas-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-image:
    linear-gradient(to right, rgba(10,26,92,0.97) 0%, rgba(10,26,92,0.92) 30%, rgba(18,46,133,0.60) 58%, rgba(10,26,92,0.15) 100%),
    url('../images/hero-background.webp');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,159,255,0.16) 0%, transparent 70%);
  top: -100px;
  left: 28%;
  pointer-events: none;
  z-index: 0;
}

.jas-hero-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--banner-h) + 96px) 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.nfx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229,9,20,0.12);
  border: 1px solid rgba(229,9,20,0.35);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--w);
}

.nfx-n {
  color: #E50914;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.hero-eyebrow-tag {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7B8CC4;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--w);
}

/* Left-align badge row inside standard (non-jas) hero sections */
.hero .hero-eyebrow-row,
.hero-content .hero-eyebrow-row {
  justify-content: flex-start;
}

.jas-hero-left .hero-subtitle {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 36px;
  max-width: 560px;
}

/* Cap text content width so it doesn't stretch across full container */
.jas-hero-left > *:not(.hero-stats) {
  max-width: 640px;
}

.jas-hero-left .hero-ctas {
  justify-content: flex-start;
}
.jas-hero-left .hero-ctas .btn {
  min-width: 240px;
  text-align: center;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.hs-stat { text-align: left; }

.hs-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--w);
  line-height: 1;
}

.hs-lbl {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-top: 5px;
}

.jas-hero-right {
  position: relative;
  overflow: hidden;
}

.jas-hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #122E85 0%,
    rgba(18,46,133,0.92) 12%,
    rgba(18,46,133,0.72) 25%,
    rgba(18,46,133,0.42) 42%,
    rgba(18,46,133,0.15) 60%,
    transparent 75%
  );
  z-index: 1;
  pointer-events: none;
}

.jas-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* --- Marquee --- */
.marquee {
  background: var(--blue);
  overflow: hidden;
  padding: 13px 0;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.mq-item {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 0 28px;
  white-space: nowrap;
}

.mq-dot {
  color: rgba(255,255,255,0.3);
  margin-left: 28px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Proof strip --- */
.proof-strip {
  background: var(--w);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 36px 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.pf-stat {
  text-align: center;
  padding: 8px 44px;
}

.pf-n {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink);
  line-height: 1;
}

.pf-l {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g50);
  margin-top: 6px;
}

.pf-div {
  width: 1px;
  height: 44px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}

/* --- Seen On --- */
.seen-on {
  background: var(--bo);
  padding: 44px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.so-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.so-lbl {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--g30);
}

.so-sep {
  display: none;
}

.so-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}

.so-logo {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--g50);
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.so-logo:hover {
  opacity: 1;
  color: var(--ink);
  transform: translateY(-2px);
}

.so-logo.nfx {
  color: #E50914;
  font-size: 26px;
  opacity: 0.85;
}

.so-logo.nfx:hover {
  opacity: 1;
  color: #E50914;
  transform: translateY(-2px);
}

/* ─── Media Logos Strip ─────────────────────────────────── */
.media-strip {
  background: #fff;
  padding: 48px 0 44px;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* "As Featured In" rule + label */
.ms-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.ms-rule {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.ms-label {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #5a5a5a;
  white-space: nowrap;
}

/* Logo rows */
.ms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 8px;
}
.ms-row-1 { margin-bottom: 8px; }

/* Individual logo image */
.ms-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: filter 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
  cursor: default;
  padding: 8px 12px;
}
.ms-img-wide  { height: 64px; }    /* wide-aspect logos (SF Chronicle) */
.ms-img-text  { height: 88px; filter: none; opacity: 1; }    /* tall text logos (LA Times, Washington Post) */
.ms-img-xwide { height: 52px; }    /* very wide logos (Access Hollywood) */

.ms-img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.07);
}

@media (max-width: 768px) {
  .ms-img       { height: 48px; padding: 6px 10px; }
  .ms-img-wide  { height: 48px; }
  .ms-img-text  { height: 64px; }
  .ms-img-xwide { height: 40px; }
}

/* --- Featured card variant --- */
.card.featured {
  border-color: var(--blue);
  position: relative;
}

.card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--blue);
  color: var(--w);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-bottom-left-radius: var(--radius-sm);
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.28s; }
.reveal-d4 { transition-delay: 0.38s; }

/* Auto-stagger grid children that carry .reveal */
.grid-3 > .reveal:nth-child(2),
.grid-4 > .reveal:nth-child(2),
.press-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }

.grid-3 > .reveal:nth-child(3),
.grid-4 > .reveal:nth-child(3),
.press-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }

.grid-4 > .reveal:nth-child(4),
.press-grid > .reveal:nth-child(4) { transition-delay: 0.3s; }

/* --- Hero entrance (CSS-only, no JS needed) --- */
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: heroEnter 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.jas-hero-left {
  animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.jas-hero-right {
  animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* --- Card image zoom on hover --- */
.press-card { overflow: hidden; }
.press-card-img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.press-card:hover .press-card-img {
  transform: scale(1.06);
}

/* Card hover: deeper shadow + border accent */
.card:hover,
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

/* --- Nav link sliding underline on hover --- */
.nav-links li a:not(.nav-cta) {
  position: relative;
  padding-bottom: 2px;
}
.nav-links li a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: width 0.2s ease;
}
.nav-links li a:not(.nav-cta):hover::after,
.nav-links li a.nav-active::after {
  width: 100%;
}
/* Clean up old border-bottom active style */
.nav-links li a.nav-active {
  border-bottom: none;
  padding-bottom: 2px;
}

/* --- Desktop submenu chevron indicator --- */
.nav-links .nav-has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
/* Replace underline ::after with a rotating chevron */
.nav-links .nav-has-sub > a::after {
  content: '';
  position: static !important;
  width: 5px !important;
  height: 5px !important;
  background: transparent !important;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0 !important;
  transform: rotate(45deg) translateY(-2px) !important;
  transition: transform 0.18s ease !important;
  flex-shrink: 0;
  opacity: 0.7;
}
.nav-links .nav-has-sub:hover > a::after,
.nav-links .nav-has-sub:focus-within > a::after,
.nav-links .nav-has-sub.nav-sub-open > a::after {
  transform: rotate(225deg) translateY(2px) !important;
  opacity: 1;
}

/* --- Button active press state --- */
.btn:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: none !important;
  transition-duration: 0.08s !important;
}

/* --- Social icon link lift on hover --- */
.social-icon-link {
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.social-icon-link:hover {
  transform: translateY(-2px);
}

/* --- Location card + hours block lift --- */
.location-card,
.hours-block {
  transition: transform 0.25s, box-shadow 0.25s;
}
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* --- Footer link hover --- */
.site-footer a {
  transition: color 0.15s;
}
.site-footer a:hover {
  color: var(--bl);
}

/* --- Button large variant --- */
.btn-lg {
  font-size: 15px;
  padding: 18px 36px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .jas-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    /* Full solid blue tint on mobile for readability */
    background-image: linear-gradient(rgba(10,26,92,0.97), rgba(10,26,92,0.97)),
      url('../images/hero-background.webp');
  }
  .jas-hero-right { display: none; }
  .jas-hero-left {
    padding: calc(var(--banner-h) + 116px) 24px 48px;
    margin: 0 auto;
    max-width: 100%;
  }
  .jas-hero-left .hero-ctas { justify-content: center; }
  .jas-hero-left .hero-subtitle { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-eyebrow-row { justify-content: center; }
  .jas-hero-left .hdg-lg { text-align: center; }
  .hero-stats { justify-content: center; }
  .hs-stat { text-align: center; }
  .pf-stat { padding: 8px 24px; }
}

/* Mobile: left-align jas-hero (home/about) */
@media (max-width: 768px) {
  .jas-hero {
    background-image:
      linear-gradient(to bottom, rgba(10,26,92,0.15) 0%, rgba(10,26,92,0.55) 50%, rgba(10,26,92,0.93) 78%, rgba(10,26,92,0.97) 100%),
      url('../images/hero-jas.jpg');
    background-position: center top;
  }
  .jas-hero-left { text-align: left; padding-left: 24px; padding-right: 24px; }
  .jas-hero-left .hdg-lg { text-align: left; }
  .jas-hero-left .hero-subtitle { text-align: left; margin-left: 0; margin-right: 0; }
  .jas-hero-left .hero-ctas { justify-content: flex-start; flex-direction: column; align-items: stretch; }
  .jas-hero-left .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { justify-content: flex-start; }
  .hs-stat { text-align: left; }
}

@media (max-width: 600px) {
  .pf-div { display: none; }
  .pf-stat { min-width: 45%; padding: 12px 16px; }
  .so-sep { display: none; }
  .so-inner { justify-content: center; }
  .hero-stats { gap: 20px; }
}

/* ── Celebrity Testimonial Cards (editorial image-card layout) ── */
.celeb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.celeb-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
}
.celeb-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.celeb-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.celeb-card:hover .celeb-card-img {
  transform: scale(1.04);
}
.celeb-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,10,30,0.96) 0%,
    rgba(5,10,30,0.75) 35%,
    rgba(5,10,30,0.15) 65%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px;
}
.celeb-card-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}
.celeb-card-stars span {
  color: var(--amber);
  font-size: 12px;
  line-height: 1;
}
.celeb-card-quote {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.celeb-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.celeb-card-meta {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 900px) {
  .celeb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .celeb-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .celeb-card-quote { -webkit-line-clamp: 2; font-size: 12px; }
  .celeb-card-name { font-size: 18px; }
}

/* ── Service Image Cards ── */

.svc-section {
  padding: 72px 0;
  background: var(--w);
  scroll-margin-top: 80px;
}

.svc-section.svc-alt {
  background: var(--cream);
}

.svc-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.svc-section-sub {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--g30);
  margin-top: 8px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}

.svc-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(45deg, #fff 0px, #fff 1px, transparent 1px, transparent 14px);
  pointer-events: none;
}

.svc-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  min-height: 300px;
}

.svc-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 20px;
}

.svc-card-tag {
  display: inline-flex;
  width: fit-content;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
}

.svc-card-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  color: #fff;
  line-height: 0.88;
  margin: 0 0 10px;
  letter-spacing: 1px;
}

.svc-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.svc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  transition: gap 0.2s, border-color 0.2s;
}

.svc-card:hover .svc-card-cta {
  gap: 14px;
  border-color: rgba(255, 255, 255, 0.8);
}

.svc-card.svc-vip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 25%, rgba(212, 175, 55, 0.08) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ── Testimonial Block ── */

.svc-testimonial {
  background: var(--bd);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.svc-testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.svc-testimonial > .wrap {
  position: relative;
  z-index: 1;
}

.svc-testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.svc-testimonial-deco {
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--w);
  opacity: 0.25;
  line-height: 1;
  display: block;
  margin-bottom: -20px;
  user-select: none;
}

.svc-testimonial-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 28px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin: 0 0 32px;
}

.svc-testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 10px 28px 10px 10px;
}

.svc-testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.svc-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.svc-testimonial-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--w);
  line-height: 1;
  letter-spacing: 1px;
}

.svc-testimonial-stars {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 2px;
}

.svc-testimonial-attr {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .svc-testimonial-quote { font-size: 18px; }
  .svc-testimonial-source { padding: 8px 20px 8px 8px; }
  .svc-testimonial-avatar { width: 52px; height: 52px; }
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card-inner { padding: 18px; min-height: 240px; }
  .svc-card-body { margin-top: 14px; }
  .svc-card-name { font-size: 24px; }
  .svc-card-desc { font-size: 13px; }
}

@media (max-width: 400px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ── Locations List ── */

.locations-list {
  list-style: none;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 8px;
}

.locations-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.locations-name-col {
  flex-shrink: 0;
  width: 280px;
}

.locations-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.locations-pin {
  color: var(--blue);
  flex-shrink: 0;
}

.locations-name {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

.locations-address {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--g50);
  padding-left: 24px;
}

.locations-desc {
  font-size: 15px;
  color: var(--g50);
  line-height: 1.5;
  padding-top: 2px;
}

@media (max-width: 600px) {
  .locations-item { flex-direction: column; gap: 6px; }
  .locations-name-col { min-width: unset; width: 100%; }
}

/* ============================================================
   COACHING — TIER CARDS
   ============================================================ */

.coaching-tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.coaching-tier {
  background: var(--w);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.coaching-tier::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(26,63,171,0.3);
}

.coaching-tier--featured {
  border-color: var(--blue);
  box-shadow: 0 8px 40px rgba(26,63,171,0.18);
}

.coaching-tier--featured::before {
  background: linear-gradient(90deg, var(--blue) 0%, #4A7AFF 100%);
  height: 5px;
}

.coaching-tier-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--blue);
  color: var(--w);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.coaching-tier-eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.coaching-tier-name {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}

.coaching-tier-price {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.coaching-tier-price-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--g50);
  margin-bottom: 24px;
}

.coaching-tier-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0 0 20px;
}

.coaching-tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.coaching-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--g70);
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.4;
}

.coaching-tier-features li:last-child { border-bottom: none; }

.coaching-tier-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(26,63,171,0.1);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.coaching-tier-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: auto;
}

/* COACHING — CURRICULUM LIST */

.curriculum-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--w);
  border: 1px solid rgba(0,0,0,0.06);
}

.curriculum-item:hover {
  background: rgba(26,63,171,0.03);
}

.curriculum-icon {
  width: 40px;
  height: 40px;
  background: rgba(26,63,171,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.curriculum-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 4px;
}

.curriculum-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--g50);
  line-height: 1.55;
}

/* COACHING — CREDIBILITY CARDS WITH ICON BG */

.coaching-cred-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.coaching-cred-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,63,171,0.1);
  border-color: var(--blue);
}

.coaching-cred-card-icon {
  position: absolute;
  bottom: -8px;
  right: -8px;
  opacity: 0.05;
  pointer-events: none;
  color: var(--ink);
}

@media (max-width: 700px) {
  .coaching-tier-grid { grid-template-columns: 1fr; }
  .curriculum-list { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================
   SERVICES: HELP STRIP + SECONDARY CTA LINK
   ============================================================ */

.svc-help-strip {
  background: var(--off);
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 20px 0;
  text-align: center;
}
.svc-help-strip p {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--g50);
}
.svc-help-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  margin-left: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}
.svc-help-link:hover { text-decoration: underline; }

/* Secondary text link inside dark CTA blocks */
.cta-secondary-link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}
.cta-secondary-link:hover { color: rgba(255,255,255,0.75); }

/* ============================================================
   FLOATING EVAL WIDGET
   ============================================================ */

@keyframes ck9-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

@keyframes ck9-nudge {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(-10px); }
  60%  { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* ============================================================
   FRAMED PHOTO — editorial images with blue offset shadow
   ============================================================ */
.framed-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--blue);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: block;
}
.framed-photo-wrap:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--blue);
}
.framed-photo-wrap img {
  display: block;
  width: 100%;
  transition: transform 0.45s ease;
}
.framed-photo-wrap:hover img {
  transform: scale(1.03);
}
.framed-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  padding: 28px 18px 16px;
  pointer-events: none;
}
.framed-photo-caption-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bll);
  margin: 0 0 4px;
}
.framed-photo-caption-text {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--w);
  letter-spacing: 0.03em;
  margin: 0;
}

/* ============================================================
   POPUP — Lead Capture Modal
   ============================================================ */
#ck9-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 60, 0.76);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
#ck9-popup-overlay.ck9-popup-visible {
  opacity: 1;
}
#ck9-popup-overlay.ck9-popup-hiding {
  opacity: 0;
}
#ck9-popup-modal {
  background: var(--w);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(18, 46, 133, 0.32);
  max-width: 560px;
  width: 100%;
  padding: 48px 44px 40px;
  position: relative;
  text-align: center;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}
#ck9-popup-overlay.ck9-popup-visible #ck9-popup-modal {
  transform: translateY(0);
}
#ck9-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bo);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--g50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
#ck9-popup-close:hover {
  background: var(--cream);
  color: var(--ink);
}
#ck9-popup-logo-wrap {
  margin-bottom: 16px;
}
#ck9-popup-logo {
  height: 56px;
  width: auto;
}
#ck9-popup-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 6px;
}
#ck9-popup-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.04em;
  color: var(--bd);
  margin: 0 0 12px;
  line-height: 1.05;
}
#ck9-popup-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--g70);
  line-height: 1.55;
  margin: 0 0 24px;
}
#ck9-popup-form-wrap {
  margin: 0 -8px;
  min-height: 400px;
  contain: layout;
}
@media (max-width: 600px) {
  #ck9-popup-overlay {
    padding: 12px;
    align-items: flex-start;
  }
  #ck9-popup-modal {
    padding: 44px 20px 28px;
    margin: auto;
  }
}
@media (max-width: 400px) {
  #ck9-popup-modal {
    padding: 44px 14px 24px;
  }
}

