/* ==========================================================================
   Johnson Autovolt — design system
   ========================================================================== */

:root {
  --blue: #1677ff;
  --cyan: #00d9ff;
  --navy: #071426;
  --navy-2: #0b1d36;
  --white: #ffffff;
  --graphite: #171b24;
  --lime: #c6ff3d;
  --ice: #eef8ff;

  --text: #171b24;
  --text-muted: #4a5568;
  --text-on-dark: #e8f1ff;
  --text-on-dark-muted: #a9bad3;
  --line: rgba(7, 20, 38, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  --grad: linear-gradient(110deg, var(--blue) 0%, var(--cyan) 100%);
  --glow: 0 10px 40px -10px rgba(22, 119, 255, 0.6);

  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --section: clamp(72px, 10vw, 140px);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--ice { background: var(--ice); }
.section--dark { background: var(--navy); color: var(--text-on-dark); }
.section--graphite { background: var(--graphite); color: var(--text-on-dark); }
.section--dark p, .section--graphite p { color: var(--text-on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .eyebrow, .section--graphite .eyebrow, .hero .eyebrow, .banner .eyebrow { color: var(--cyan); }

.h-display { font-size: clamp(2.6rem, 7.2vw, 6.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.h-1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); text-transform: uppercase; letter-spacing: -0.025em; }
.h-2 { font-size: clamp(1.9rem, 4vw, 3.3rem); text-transform: uppercase; }
.h-3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.01em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text-muted); max-width: 62ch; }
.section--dark .lead, .section--graphite .lead { color: var(--text-on-dark-muted); }
.subhead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 600; color: var(--blue); margin: 14px 0 22px; }
.section--dark .subhead { color: var(--cyan); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 18px; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--wide-media { grid-template-columns: 1.15fr 0.85fr; }
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  --bg: var(--grad);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  background: var(--bg); color: var(--white); box-shadow: var(--glow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s, color 0.35s;
  isolation: isolate; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(0, 217, 255, 0.7); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,0.14); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(7,20,38,0.25); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.btn--lime { background: var(--lime); color: var(--navy); box-shadow: 0 10px 40px -12px rgba(198, 255, 61, 0.7); }
.btn--sm { min-height: 42px; padding: 10px 20px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--cyan); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s, color 0.4s, backdrop-filter 0.4s;
}
.site-header.is-solid {
  background: rgba(7, 20, 38, 0.86); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-light {
  background: rgba(255, 255, 255, 0.9); color: var(--navy); box-shadow: 0 1px 0 var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo__mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__word strong { font-size: 1rem; font-weight: 800; letter-spacing: 0.16em; }
.logo__word span { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.42em; margin-top: 5px; opacity: 0.85; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 10px 14px; text-decoration: none;
  font-size: 0.92rem; font-weight: 600; opacity: 0.86; transition: opacity 0.25s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 0; border-radius: 12px; background: rgba(255,255,255,0.08); cursor: pointer; color: inherit;
}
.is-light .menu-toggle { background: rgba(7,20,38,0.06); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

@media (min-width: 1120px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; padding: 0 var(--gutter) 32px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  overflow-y: auto;
}
/* Become visible instantly on open so focus can move into the menu straight away. */
.mobile-menu.is-open { transition: opacity 0.35s var(--ease), visibility 0s; }
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 90% 0%, rgba(22,119,255,0.35), transparent 70%),
              radial-gradient(50% 40% at 0% 100%, rgba(0,217,255,0.18), transparent 70%);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__top { position: relative; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-close {
  width: 48px; height: 48px; border-radius: 12px; border: 0; background: rgba(255,255,255,0.08);
  color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.menu-close svg { width: 22px; height: 22px; }
.mobile-menu nav { position: relative; margin-top: 28px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  font-size: clamp(1.35rem, 6vw, 1.9rem); font-weight: 800; text-decoration: none; letter-spacing: -0.01em;
  transform: translateY(14px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s, color 0.2s;
}
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu nav a[aria-current="page"] { color: var(--cyan); }
.mobile-menu__foot { position: relative; margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__foot a.tel { color: var(--text-on-dark-muted); text-decoration: none; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ---------- Media placeholder ---------- */
.media { position: relative; overflow: hidden; background: var(--navy-2); }
.media > img, .media > video, .media > picture, .media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.media--missing::after {
  content: attr(data-placeholder-label);
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 18px 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' fill='none' stroke='%2300D9FF' stroke-opacity='.45' stroke-width='2'%3E%3Cpath d='M30 112h340M58 112c0-14 10-24 24-24s24 10 24 24M294 112c0-14 10-24 24-24s24 10 24 24M106 112h188M40 112c-6-4-8-12-6-22 2-10 14-14 30-18l60-12c22-18 52-30 92-30 36 0 60 10 86 30l40 8c14 4 22 10 24 22 2 8 0 16-6 22'/%3E%3Cpath d='M140 60h176M190 34v26'/%3E%3C/svg%3E") center 42% / min(70%, 360px) no-repeat,
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 14px, transparent 14px 28px),
    radial-gradient(80% 70% at 70% 20%, rgba(22,119,255,0.45), transparent 70%),
    radial-gradient(70% 60% at 10% 100%, rgba(0,217,255,0.22), transparent 70%),
    var(--navy-2);
  border: 1.5px dashed rgba(0,217,255,0.35);
  border-radius: inherit;
}
.media--missing > img, .media--missing > video, .media--missing > picture { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; background: var(--navy);
}
.hero--page { min-height: 72vh; min-height: 72svh; }
.hero__media { position: absolute; inset: 0; z-index: 0; border-radius: 0; }
.hero__media > img, .hero__media > video { transform: scale(1.04); }
/* Keep the car (centre-right of the frame) in view when narrow screens crop the sides. */
.hero__media > video { object-position: 62% 50%; }
/* Phones: video fills the top of the screen and fades into navy, so the copy sits below the car instead of over it. */
@media (max-width: 600px) {
  .hero--video .hero__media, .hero--video .hero__tint { bottom: auto; height: 42svh; }
  .hero--video .hero__overlay {
    background: linear-gradient(180deg, rgba(7,20,38,0.6) 0%, rgba(7,20,38,0) 22%, rgba(7,20,38,0) 29svh, var(--navy) 42svh);
  }
  .hero--video .hero__content { padding-top: calc(42svh - 48px); padding-bottom: 96px; }
  .hero--video .lead { margin-top: 18px; font-size: 1.02rem; }
  .hero--video .btn-row { margin-top: 24px; }
}
.hero__media.media--missing::after { align-items: flex-start; padding-top: calc(var(--header-h) + 18px); justify-content: flex-end; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,20,38,0.72) 0%, rgba(7,20,38,0.15) 32%, rgba(7,20,38,0.35) 58%, rgba(7,20,38,0.94) 100%),
    linear-gradient(90deg, rgba(7,20,38,0.78) 0%, rgba(7,20,38,0.2) 62%, transparent 100%),
    radial-gradient(60% 50% at 85% 20%, rgba(0,217,255,0.16), transparent 70%);
  mix-blend-mode: normal;
}
.hero__tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(22,119,255,0.18), rgba(0,217,255,0.06)); mix-blend-mode: color; pointer-events: none; }
.hero__content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(96px, 14vh, 150px); }
.hero--page .hero__content { padding-bottom: clamp(56px, 9vh, 96px); }
.hero__content > * { max-width: 920px; }
.hero h1 { text-shadow: 0 2px 30px rgba(7,20,38,0.45); }
.hero p.lead { color: rgba(232, 241, 255, 0.9); margin-top: 26px; max-width: 640px; text-shadow: 0 1px 16px rgba(7,20,38,0.6); }
.hero .h-display .line { display: block; }

.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: 0.86rem; font-weight: 600; color: var(--text-on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { text-decoration: none; color: var(--white); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current] { color: var(--cyan); }

.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.75);
}
.scroll-cue__track { width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); position: relative; }
.scroll-cue__track::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--cyan); animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.video-toggle {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 28px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.12); color: var(--white); cursor: pointer; backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center;
}
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle[hidden] { display: none; }

/* ---------- Image frame ---------- */
.frame { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: 0 40px 80px -40px rgba(7,20,38,0.45); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame-wrap { position: relative; }
.frame-wrap::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: var(--radius-lg);
  background: var(--grad); opacity: 0.9; z-index: -1; filter: blur(0.5px);
}
.frame-wrap--right::before { inset: 14px -14px -14px 14px; }
.frame-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 12px 16px; border-radius: 14px;
  background: rgba(7,20,38,0.72); color: var(--white); backdrop-filter: blur(10px);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.frame-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

/* ---------- Vehicle cards / gallery ---------- */
.vehicle-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .vehicle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .vehicle-grid { grid-template-columns: repeat(3, 1fr); }
  .vehicle-grid--feature { grid-template-columns: repeat(6, 1fr); }
  .vehicle-grid--feature > :nth-child(1) { grid-column: span 4; }
  .vehicle-grid--feature > :nth-child(2) { grid-column: span 2; }
  .vehicle-grid--feature > :nth-child(n+3) { grid-column: span 2; }
  .vehicle-grid--feature > :nth-child(1) .vcard__media { aspect-ratio: 16 / 9; }
  .vehicle-grid--feature > :nth-child(2) .vcard__media { aspect-ratio: auto; height: 100%; min-height: 0; }
}

.vcard {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(7,20,38,0.4);
  display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.vcard:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -36px rgba(22,119,255,0.5); }
.vcard__media { aspect-ratio: 4 / 3; position: relative; border-radius: 0; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }
.vcard__media > img { transition: transform 1.1s var(--ease); }
.vcard:hover .vcard__media > img { transform: scale(1.06); }
.vcard__media.media--missing { cursor: default; }
.vcard__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  background: rgba(7,20,38,0.7); color: var(--white); backdrop-filter: blur(8px);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.vcard__tag--lime { background: var(--lime); color: var(--navy); }
.vcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vcard__body p { color: var(--text-muted); font-size: 0.97rem; margin: 0; }
.vcard__actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vcard--feature-1, .vcard--feature-2 { }
.vehicle-grid--feature > :nth-child(2) { display: flex; flex-direction: column; }
.vehicle-grid--feature > :nth-child(2) .vcard__media { flex: 1; min-height: 260px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--white); color: var(--navy); font-weight: 700; font-size: 0.9rem;
  box-shadow: inset 0 0 0 1.5px rgba(7,20,38,0.14); transition: all 0.25s;
}
.filter-btn:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: none; }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(22,119,255,0.07); border: 1px solid rgba(22,119,255,0.22); color: var(--navy);
  font-size: 0.93rem; line-height: 1.55;
}
.notice svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); margin-top: 1px; }
.notice--warn { background: rgba(198,255,61,0.16); border-color: rgba(120,160,20,0.4); }
.notice--warn svg { color: #5a7a00; }
.section--dark .notice { background: rgba(255,255,255,0.05); border-color: var(--line-dark); color: var(--text-on-dark); }

/* Editorial gallery rows */
.editorial { display: grid; gap: 22px; }
@media (min-width: 900px) { .editorial { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; } .editorial > :first-child { grid-row: span 2; } }
.editorial .media { border-radius: var(--radius); min-height: 260px; }
.editorial .media button { all: unset; position: absolute; inset: 0; cursor: zoom-in; }

/* Mobile swipe */
@media (max-width: 679px) {
  .swipe { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { scroll-snap-align: start; }
}

/* ---------- Feature blocks ---------- */
.features { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features--4 { grid-template-columns: repeat(4, 1fr); } .features--3 { grid-template-columns: repeat(3, 1fr); } .features--5 { grid-template-columns: repeat(5, 1fr); } }
.feature {
  position: relative; padding: 34px 28px 32px; border-radius: var(--radius); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 260px; height: 260px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(0,217,255,0.22), transparent 70%); opacity: 0; transition: opacity 0.5s;
}
.feature:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(22,119,255,0.35), 0 30px 60px -36px rgba(22,119,255,0.55); }
.feature:hover::before { opacity: 1; }
.feature__num { position: absolute; top: 24px; right: 26px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: rgba(7,20,38,0.25); }
.feature__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px;
  background: linear-gradient(140deg, rgba(22,119,255,0.12), rgba(0,217,255,0.18)); color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(22,119,255,0.2);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--text-muted); font-size: 0.97rem; }
.feature--accent .feature__icon { background: var(--lime); color: var(--navy); box-shadow: none; }

.section--dark .feature, .section--graphite .feature { background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px var(--line-dark); }
.section--dark .feature p { color: var(--text-on-dark-muted); }
.section--dark .feature__num { color: rgba(255,255,255,0.25); }
.section--dark .feature__icon { color: var(--cyan); background: rgba(0,217,255,0.08); box-shadow: inset 0 0 0 1px rgba(0,217,255,0.25); }

/* ---------- Banner / full-bleed ---------- */
.banner { position: relative; overflow: hidden; color: var(--white); background: var(--navy); isolation: isolate; }
.banner__media { position: absolute; inset: -8% 0; z-index: -2; border-radius: 0; }
.banner__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,20,38,0.94) 0%, rgba(7,20,38,0.7) 45%, rgba(7,20,38,0.25) 100%); }
.banner--glow .banner__overlay {
  background:
    radial-gradient(60% 80% at 15% 50%, rgba(22,119,255,0.45), transparent 70%),
    radial-gradient(40% 60% at 85% 30%, rgba(0,217,255,0.3), transparent 70%),
    linear-gradient(180deg, rgba(7,20,38,0.82), rgba(7,20,38,0.92));
}
.banner--gradient .banner__overlay { background: linear-gradient(110deg, rgba(22,119,255,0.92) 0%, rgba(0,140,220,0.78) 45%, rgba(0,217,255,0.45) 100%); }
.banner__inner { padding: clamp(96px, 14vw, 180px) 0; max-width: 820px; }
.banner--center .banner__inner { margin: 0 auto; text-align: center; }
.banner--center .eyebrow { justify-content: center; }
.banner--center .btn-row { justify-content: center; }
.banner p { color: rgba(232,241,255,0.88); font-size: 1.15rem; margin-top: 22px; }

/* ---------- Values ---------- */
.value { padding: 30px 26px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; transition: transform 0.5s var(--ease); }
.value::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
.value:hover { transform: translateY(-6px); }
.value .feature__icon { width: 50px; height: 50px; margin-bottom: 20px; }
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { color: var(--text-muted); font-size: 0.95rem; }
@keyframes shimmer { to { background-position: 200% 0; } }

/* ---------- Leadership ---------- */
.leaders { display: grid; gap: 24px; grid-template-columns: 1fr; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px) { .leaders { grid-template-columns: 1fr 1fr; } }
.leader { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(7,20,38,0.4); }
.leader__media { aspect-ratio: 4 / 4.2; border-radius: 0; }
.leader__media.media--missing::after {
  content: attr(data-placeholder-label);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%2300D9FF' stroke-opacity='.5' stroke-width='1.5'%3E%3Ccircle cx='50' cy='38' r='16'/%3E%3Cpath d='M18 92c4-18 16-28 32-28s28 10 32 28'/%3E%3C/svg%3E") center 40% / 38% no-repeat,
    radial-gradient(80% 70% at 70% 10%, rgba(22,119,255,0.5), transparent 70%),
    linear-gradient(160deg, var(--navy-2), var(--navy));
}
.leader__body { padding: 26px 28px 30px; }
.leader__role { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.leader h3 { font-size: 1.5rem; }

/* ---------- Process ---------- */
.process { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px var(--line-dark); }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--white); font-weight: 800; margin-bottom: 20px; box-shadow: var(--glow); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--white); }
.step p { font-size: 0.93rem; }
@media (min-width: 900px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -18px; width: 18px; height: 2px; background: var(--grad); }
}

.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--grad) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm5.3 8.7-6 6.5a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4l2.3 2.2 5.3-5.7a1 1 0 0 1 1.4 1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm5.3 8.7-6 6.5a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4l2.3 2.2 5.3-5.7a1 1 0 0 1 1.4 1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Image cards (supply page) */
.icard { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.icard:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(22,119,255,0.3), 0 30px 60px -36px rgba(22,119,255,0.5); }
.icard .media { aspect-ratio: 16 / 10; border-radius: 0; }
.icard .media > img { transition: transform 1s var(--ease); }
.icard:hover .media > img { transform: scale(1.06); }
.icard__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.icard__body p { color: var(--text-muted); font-size: 0.97rem; }
.icard__body .link-arrow { margin-top: auto; padding-top: 8px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(7,20,38,0.5); }
.section--dark .form-card { color: var(--text); }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 700; color: var(--navy); }
.field label .opt { font-weight: 500; color: var(--text-muted); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(7,20,38,0.16);
  background: #fbfdff; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071426' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(22,119,255,0.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d92d4b; }
.field__error { font-size: 0.84rem; color: #c21f3f; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; accent-color: var(--blue); }
.consent a { color: var(--blue); font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { border-radius: 12px; padding: 16px 18px; font-weight: 600; font-size: 0.95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: rgba(198,255,61,0.25); color: #2c3d00; border: 1px solid rgba(120,160,20,0.5); }
.form-status--error { background: rgba(217,45,75,0.08); color: #9b1530; border: 1px solid rgba(217,45,75,0.35); }
.form-status--info { background: rgba(22,119,255,0.07); color: var(--navy); border: 1px solid rgba(22,119,255,0.25); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-setup { margin-bottom: 22px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.contact-cards { display: grid; gap: 16px; }
.ccard { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.ccard__icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: var(--white); box-shadow: var(--glow); }
.ccard__icon svg { width: 24px; height: 24px; }
.ccard h3 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; font-weight: 800; }
.ccard a, .ccard address { font-style: normal; font-weight: 700; font-size: 1.08rem; color: var(--navy); text-decoration: none; display: block; overflow-wrap: anywhere; }
.ccard a:hover { color: var(--blue); }
.ccard a + a { margin-top: 6px; }
.ccard p { font-size: 0.95rem; color: var(--text-muted); }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--ice); position: relative; }
.map-wrap iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: saturate(0.9); }
.map-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 24px; background: var(--white); }
.map-meta address { font-style: normal; font-weight: 700; }
.map-meta small { display: block; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow 0.3s; }
.faq details[open] { box-shadow: inset 0 0 0 1.5px rgba(22,119,255,0.4), 0 20px 40px -30px rgba(22,119,255,0.5); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ice); position: relative; transition: background 0.3s, transform 0.4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); border-radius: 2px; transition: transform 0.4s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--grad); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { padding: 0 26px 24px; color: var(--text-muted); }
.faq__body a { color: var(--blue); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-on-dark-muted); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--grad); opacity: 0.8; }
.site-footer::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(22,119,255,0.18), transparent); pointer-events: none; }
.footer-top { position: relative; z-index: 1; display: grid; gap: 44px; padding: clamp(64px, 8vw, 100px) 0 56px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr; } }
.site-footer .logo { color: var(--white); }
.footer-slogan { color: var(--white); font-weight: 700; margin: 22px 0 10px; font-size: 1.05rem; }
.footer-desc { font-size: 0.95rem; max-width: 40ch; }
.site-footer h2 { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--cyan); }
.site-footer address { font-style: normal; }
.footer-ctas { display: grid; gap: 12px; }
.footer-ctas .btn { width: 100%; }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); padding: 26px 0 34px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 0.88rem; }
.footer-bottom ul { display: flex; gap: 22px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4, 10, 20, 0.94); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox.is-open { display: flex; animation: fade 0.3s var(--ease); }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: var(--text-on-dark); font-weight: 600; text-align: center; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,0.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 0.6em; text-transform: none; }
.prose p, .prose li { color: var(--text-muted); }
.prose a { color: var(--blue); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .hero__content > * { animation: rise 1.1s var(--ease) both; }
.hero .hero__content > :nth-child(2) { animation-delay: 0.12s; }
.hero .hero__content > :nth-child(3) { animation-delay: 0.24s; }
.hero .hero__content > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

/* Page transitions */
@view-transition { navigation: auto; }

/* Misc */
.stack-sm > * + * { margin-top: 14px; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, rgba(0,217,255,0.6), transparent); }
.label-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(198,255,61,0.18); color: #3e5500; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.section--dark .label-pill { background: rgba(198,255,61,0.14); color: var(--lime); }
.mission-quote { font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; color: var(--navy); border-left: 4px solid; border-image: var(--grad) 1; padding-left: clamp(18px, 3vw, 32px); }
.vision-text { font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: var(--white); }
.vision-text em { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media > img, .hero__media > video { transform: none; }
  @view-transition { navigation: none; }
}
