/* ═══════════════════════════════════════════════════════════
   Johnson Joy Insurance Services — design tokens
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #101013;
  --bg-raise: #16161a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f4f1;
  --muted: #a7a8a3;
  --gold: #c9900a;      /* brand gold from JJ logo */
  --gold-soft: #e6b53c;
  --blue: #0d3b6f;      /* brand blue */
  --blue-soft: #155087;
  --blue-light: #8fb8e0; /* readable blue for text/icons on dark */

  /* Adobe Fonts kit auz0ael — ITC Avant Garde Gothic Pro (300/500/600/700) */
  --font-display: "itc-avant-garde-gothic-pro", "Century Gothic", sans-serif;
  --font-body: "itc-avant-garde-gothic-pro", "Century Gothic", sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 104px;

  --radius: 14px;
  --radius-lg: 22px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 116px;
}

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

/* NOTE: no CSS smooth scrolling — it fights GSAP's ScrollToPlugin;
   in-page anchors are animated in JS instead */

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300; /* kit has 300/500/600/700 — no 400 */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle vignette + grain for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 10%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
}

::selection { background: rgba(21, 80, 135, 0.6); }

img, svg { display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.01em;
}

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

/* ═══════════ Buttons ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn--blue {
  background: linear-gradient(160deg, var(--blue-soft), var(--blue));
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(13, 59, 111, 0.7);
}
.btn--blue:hover {
  background: linear-gradient(160deg, #1a5f9e, var(--blue-soft));
  box-shadow: 0 14px 34px -12px rgba(13, 59, 111, 0.85);
}

.btn--gold {
  background: linear-gradient(160deg, var(--gold-soft), var(--gold));
  color: #17130a;
  font-weight: 600;
  box-shadow: 0 12px 32px -12px rgba(217, 162, 39, 0.55);
}
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(217, 162, 39, 0.8); }

.btn--block { width: 100%; }

/* ═══════════ Preloader ═══════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: var(--bg);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__umbrella { animation: bob 1.4s ease-in-out infinite; }
.preloader__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ═══════════ Navigation ═══════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(16, 16, 19, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  height: var(--nav-h);
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__links {
  display: flex;
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.nav__links--left { justify-content: flex-end; padding-right: clamp(36px, 6vw, 96px); }
.nav__links--right { justify-content: flex-start; padding-left: clamp(36px, 6vw, 96px); }
.nav__links a {
  position: relative;
  padding: 6px 2px;
  color: var(--muted);
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { right: 0; }
.nav__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}
.nav__brand .brand-mark { width: 46px; height: 50px; }
.nav__brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5px;
}
.nav__brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.04em; /* matches the tight tracking of the logo wordmark */
  display: block;
}
.nav__brand-text small {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 8.5px;
  letter-spacing: 0.35em;
  margin-top: 3px;
  color: var(--muted);
}

.nav__burger {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav__burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(16, 16, 19, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
}
.mobile-menu__cta { color: var(--gold) !important; }

/* ═══════════ Hero ═══════════ */
.hero { position: relative; }
.hero__stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  /* storm-sky: a faint brand-blue wash above the umbrella */
  background:
    radial-gradient(75% 55% at 50% 0%, rgba(13, 59, 111, 0.3), transparent 62%),
    radial-gradient(90% 70% at 50% 42%, #1d1e24 0%, var(--bg) 68%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
}
/* distant lightning — driven by JS, stays at opacity 0 otherwise */
.hero__flash {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(120% 90% at 50% 0%,
    rgba(196, 218, 246, 0.9), rgba(160, 195, 238, 0.28) 45%, transparent 75%);
}

/* bottom scrim grounds the info panel over the 3D scene */
.hero__stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(16, 16, 19, 0.82));
  pointer-events: none;
  z-index: 2;
}
.hero__canvas.is-dragging { cursor: grabbing; }

.hero__intro {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: calc(clamp(88px, 13vh, 130px) + 80px); /* clears the arrows below it */
  max-width: min(44vw, 560px);
  text-align: right;
  pointer-events: none;
  z-index: 3;
}
.hero__title {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
}
.hero__subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 17px);
}

/* projected labels */
.hero__labels {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.node-label {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  background: none;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(12px, 1.15vw, 16px);
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
  transition: color 0.3s;
  will-change: transform, opacity;
}
.node-label::after {
  content: "";
  display: block;
  margin: 5px auto 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}
.node-label.is-active { color: var(--gold); }
.node-label.is-active::after { width: 70%; }
.node-label:hover { color: var(--gold-soft); }

/* info panel */
.hero__panel {
  position: absolute;
  left: clamp(20px, 6vw, 96px);
  bottom: clamp(88px, 13vh, 130px);
  z-index: 5;
  max-width: min(400px, 78vw);
}
.hero__panel-kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.hero__panel-title {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.hero__panel-text {
  color: var(--gold-soft);
  opacity: 0.92;
  margin: 0 0 24px;
  font-size: 15.5px;
  max-width: 44ch;
}

/* dots */
.hero__dots {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.hero__dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.hero__dot.is-active i {
  background: var(--gold);
  transform: scale(1.5);
}
.hero__dot:hover i { background: var(--gold-soft); }

/* arrows */
.hero__arrows {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: clamp(88px, 13vh, 130px);
  z-index: 5;
  display: flex;
  gap: 12px;
}
.hero__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}
.hero__arrow:hover {
  background: var(--surface-strong);
  border-color: rgba(91, 143, 199, 0.55);
  transform: translateY(-2px);
}
.hero__arrow:active { transform: scale(0.94); }

/* hint */
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero__hint svg { animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* ═══════════ Sections ═══════════ */
.section { padding: var(--space-6) 0; position: relative; z-index: 2; }
.section--tint { background: var(--bg-raise); }

.section__kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 46px);
  max-width: 18ch;
}
.section__title em {
  font-style: normal;
  color: var(--gold);
}
.section__lead {
  color: var(--muted);
  max-width: 62ch;
  font-size: 17px;
  margin: 20px 0 0;
}

/* ═══════════ Coverage grid ═══════════ */
.coverage-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.coverage-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s;
  cursor: pointer;
  overflow: hidden;
}
.coverage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140px 140px at var(--mx, 50%) var(--my, 0%), rgba(63, 118, 181, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.coverage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 143, 199, 0.45);
}
.coverage-card:hover::before { opacity: 1; }
.coverage-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(13, 59, 111, 0.32);
  color: var(--gold);
  margin-bottom: 20px;
}
.coverage-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.coverage-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}
.coverage-card__go {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-light);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.coverage-card:hover .coverage-card__go {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════ Why Us / simplicity ═══════════ */
.section__kicker--center { text-align: center; }
.section__title--center {
  text-align: center;
  margin-inline: auto;
  max-width: 22ch;
}
.section__lead--center {
  text-align: center;
  margin-inline: auto;
}

.journey {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.journey__steps {
  display: grid;
  gap: 14px;
}
.journey__step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
  padding: 22px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  color: inherit;
  font: inherit;
  overflow: hidden;
  opacity: 0.7;
  transition: border-color 0.3s, background 0.3s, opacity 0.3s;
}
.journey__step:hover {
  border-color: rgba(91, 143, 199, 0.35);
  opacity: 1;
}
.journey__step.is-active {
  background: var(--surface-strong);
  border-color: rgba(91, 143, 199, 0.5);
  opacity: 1;
}
.journey__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--blue-light);
  background: rgba(13, 59, 111, 0.28);
  border: 1px solid rgba(90, 140, 190, 0.4);
  border-radius: 999px;
  padding: 6px 13px;
}
.journey__body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 6px;
}
.journey__body span {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.journey__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
}
.journey__stage {
  position: relative;
  aspect-ratio: 34 / 28;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(13, 59, 111, 0.18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.journey__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* ═══════════ Testimonials ═══════════ */
.quotes {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  margin: 0;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.quote:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 143, 199, 0.4);
}
.quote__mark path { fill: var(--blue-light); }
.quote blockquote {
  margin: 0;
  font-size: 15.5px;
  color: var(--text);
  flex: 1;
}
.quote figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
}
.quote figcaption span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ═══════════ Who we are ═══════════ */
.who {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.who__photo {
  margin: 0;
  position: relative;
  border-radius: 30px; /* the generous curved edges from the reference */
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.8);
}
.who__photo::after {
  /* subtle brand tint so the studio-gray backdrop sits in the palette */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 59, 111, 0.28));
  pointer-events: none;
}
.who__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.who__name { margin-bottom: 8px; }
.who__role {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--gold);
  margin: 0 0 22px;
}
.who__bio p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 14px;
  max-width: 56ch;
}
.who__bio p:last-child { margin-bottom: 0; }

/* ═══════════ Contact ═══════════ */
#contact {
  /* quiet brand-blue ambience behind the quote form */
  background:
    radial-gradient(55% 45% at 82% 30%, rgba(13, 59, 111, 0.22), transparent 70%),
    radial-gradient(40% 35% at 8% 85%, rgba(13, 59, 111, 0.12), transparent 70%);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__details {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact__details li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.contact__details a { transition: color 0.25s; }
.contact__details a:hover { color: var(--gold); }

.contact__form {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
/* Hidden from people (off-screen, unfocusable), but present for bots that
   blindly fill every field on a page. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { display: flex; flex-direction: column; gap: 7px; grid-column: 1 / -1; }
.field--half { grid-column: auto / span 1; }
.field label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.field label span { color: var(--gold); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  min-height: 48px;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(167, 168, 163, 0.55); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(21, 80, 135, 0.35);
}
.field.is-invalid input,
.field.is-invalid select { border-color: #e05252; }
.field__error {
  color: #e88;
  font-size: 13px;
  min-height: 0;
  display: none;
}
.field.is-invalid .field__error { display: block; }
/* Shown when the send itself fails, above the button so the retry is the
   next thing in reach. Warm red is the one place outside the brand pair
   where a colour carries meaning, so it also ships an icon and wording. */
.form-error {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(199, 78, 78, 0.14);
  border: 1px solid rgba(226, 122, 122, 0.42);
  color: #f4bcbc;
  font-size: 14.5px;
  line-height: 1.55;
}
.form-error svg { flex: none; margin-top: 1px; }
.form-error a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.contact__form .btn { grid-column: 1 / -1; margin-top: 4px; }
.contact__form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.contact__form-note a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact__form-note a:hover { color: var(--gold-soft); }
.contact__form.is-sent { position: relative; }
.form-success {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: rgba(16, 16, 19, 0.94);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 30px;
  z-index: 2;
}
.form-success h3 { font-size: 24px; color: var(--gold); }
.form-success p { color: var(--muted); margin: 0; max-width: 34ch; }

/* ═══════════ Footer ═══════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-5) 0 var(--space-4);
  background: var(--bg-raise);
  position: relative;
  z-index: 2;
}
.footer__inner {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.footer__brand p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
}
.footer__brand small {
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-body);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 4vw, 40px);
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--muted);
}
.footer__nav a:hover { color: var(--gold); }
.footer__states {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.footer__legal {
  color: rgba(167, 168, 163, 0.6);
  font-size: 13px;
  margin: 0;
}

/* ═══════════ Reveal defaults (JS animates in) ═══════════ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1024px) {
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey__stage {
    order: -1;
    width: min(460px, 100%);
    margin-inline: auto;
  }
  .contact { grid-template-columns: 1fr; }
  /* stack founder photo above the copy, like the reference */
  .who { grid-template-columns: 1fr; gap: 28px; }
  .who__photo { width: min(320px, 82%); }
}

@media (max-width: 820px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__brand { grid-column: 1; flex-direction: row; gap: 10px; }
  .nav__brand .brand-mark { width: 33px; height: 36px; }
  .nav__brand-text { align-items: flex-start; text-align: left; margin-top: 0; }
  .nav__brand-text strong { font-size: 16px; }
  .nav__brand-text small { font-size: 8px; letter-spacing: 0.26em; margin-top: 2px; }
  .nav__burger { display: flex; }

  /* small screens: tagline back to top-center, where the umbrella can't reach */
  .hero__intro {
    top: calc(var(--nav-h) + clamp(8px, 4vh, 36px));
    left: 20px;
    right: 20px;
    bottom: auto;
    max-width: none;
    text-align: center;
  }
  .hero__panel {
    left: 20px;
    right: 20px;
    bottom: 96px;
    max-width: none;
  }
  .hero__panel-text { font-size: 14px; max-width: none; }
  .hero__dots { display: none; }
  .hero__arrows {
    right: 20px;
    bottom: 24px;
  }
  .hero__arrow { width: 46px; height: 46px; }
  .hero__hint {
    left: 20px;
    right: 140px;
    transform: none;
    bottom: 38px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 560px) {
  .coverage-grid { grid-template-columns: 1fr; }
  .contact__form { padding: 26px 20px; }
  .field--half { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}

/* ═══════════ Reduced motion ═══════════ */
@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;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
