/* Hallmark · pre-emit critique: P5 H4 E5 S4 R5 V4 */

/* ==========================================================================
   Prestige Watercars — Base Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

/* Screen-reader-only text — pairs with aria-hidden decorative badges/icons
   so the equivalent information still reaches assistive tech. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-style: normal;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

p { margin: 0; }

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-wide {
  max-width: var(--container-max-wide);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
  transition: none;
}

@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;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--weight-body-semibold);
  font-size: var(--text-small);
  letter-spacing: var(--tracking-normal);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              opacity var(--dur-base) var(--ease-out);
}

.btn-solid {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  box-shadow: 0 10px 24px -12px var(--color-accent-wash-strong);
}
.btn-solid:hover { background: var(--color-accent-strong); transform: translateY(-2px); }
.btn-solid:active { transform: translateY(0); box-shadow: none; }
.btn-solid.is-loading { opacity: 0.7; pointer-events: none; }

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn-outline:hover {
  border-color: var(--color-accent-strong);
  color: var(--color-accent-strong);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
}

.btn-lg { padding: 1em 2em; font-size: var(--text-body); }

.btn-icon {
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-sm { padding: 0.65em 1.3em; font-size: var(--text-nano); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.btn-block { width: 100%; }

.btn-light {
  background: var(--color-accent-contrast);
  color: var(--color-accent);
}
.btn-light:hover {
  background: color-mix(in srgb, var(--color-accent-contrast) 88%, black 12%);
  transform: translateY(-2px);
}
.btn-light:active { transform: translateY(0); }

/* ==========================================================================
   Top bar — scam warning
   ========================================================================== */

.topbar {
  background: var(--color-bg-raised);
  border-bottom: 1px solid var(--color-border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  height: var(--topbar-h);
  text-align: center;
}

.topbar-icon { color: var(--color-accent-strong); flex-shrink: 0; }

.topbar-text {
  font-size: var(--text-micro);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.topbar-link {
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: var(--weight-body-semibold);
  transition: color var(--dur-fast) var(--ease-out);
}
.topbar-link:hover { color: var(--color-text); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-slow) var(--ease-out),
              border-color var(--dur-slow) var(--ease-out),
              backdrop-filter var(--dur-slow) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--space-5);
  height: var(--header-h);
  transition: height var(--dur-base) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-header-scrolled);
}

.site-header.is-scrolled .header-inner { height: var(--header-h-scrolled); }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: var(--logo-h);
  width: auto;
  transition: transform var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .logo-img {
  transform: scale(var(--logo-scroll-scale));
  transform-origin: left center;
}

.main-nav { grid-column: 2; justify-self: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-small);
  font-weight: var(--weight-body-semibold);
  /* Brighter than plain muted text so the links read clearly at rest,
     not only on hover. */
  color: color-mix(in srgb, var(--color-text) 72%, var(--color-text-muted) 28%);
  white-space: nowrap;
  padding: var(--space-1) 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-list a:hover { color: var(--color-text); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-actions-mobile { display: none; }

/* ----------------------------------------------------------------------
   Models dropdown (desktop: hover/focus reveal · mobile: expanded inline)
   ---------------------------------------------------------------------- */
.nav-item.has-dropdown { position: relative; }

/* Invisible hover "bridge": the dropdown sits var(--space-2) below the
   trigger link (for the floating card look + pointer triangle). Without
   this, that gap is genuinely empty — no element lives there — so the
   mouse's :hover state drops the instant it crosses it, the dropdown
   hides, and it can never be reached. This pseudo-element belongs to
   .nav-item itself (pseudo-content keeps the host's :hover alive), has
   no visible paint, and simply plugs the dead zone. */
.nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 404px;
  height: 24px;
  z-index: 19;
}

.nav-caret {
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 4px);
  width: 404px;
  margin-top: var(--space-2);
  padding: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Hover (and keyboard focus) is the ONLY trigger — no click/toggle state
     exists anywhere in the JS, so this is purely CSS-driven. */
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility 0s linear 0s;
  z-index: 20;
}

/* Small pointer triangle connecting the dropdown back to "Models" —
   a 45deg-rotated square whose top/left borders form the visible edges,
   so it matches the panel's background and border color exactly. */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  transform: translateX(-50%) rotate(45deg);
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--color-surface-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  text-align: center;
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}

.nav-dropdown a::after { display: none; }

.nav-dropdown a:hover {
  background: color-mix(in srgb, var(--color-surface-2) 85%, white 15%);
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.nav-dropdown-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.nav-dropdown-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-1);
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-dropdown a:hover .nav-dropdown-thumb img { transform: scale(1.06); }

.nav-dropdown-label { font-weight: var(--weight-body-semibold); }

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-small);
  font-weight: var(--weight-body-semibold);
  color: var(--color-text);
  transition: color var(--dur-fast) var(--ease-out);
}
.phone-link:hover { color: var(--color-accent-strong); }
.phone-link svg { flex-shrink: 0; }

.nav-toggle {
  grid-column: 4;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.42) 38%, rgba(11,11,13,0.88) 100%),
    radial-gradient(120% 90% at 50% 45%, rgba(11,11,13,0.1) 0%, rgba(11,11,13,0.55) 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .hero-content {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-body-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Thin gradient hairlines flank the kicker text — the accent red stays
   sparse (per brief) instead of painting the whole label red. */
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent, var(--color-accent-strong));
}

.hero-eyebrow-line:last-child {
  background: linear-gradient(90deg, var(--color-accent-strong), transparent);
}

@media (max-width: 480px) {
  .hero-eyebrow-line { width: 18px; }
  .hero-eyebrow { font-size: var(--text-micro); gap: var(--space-1); }
}

.hero-title {
  max-width: 20ch;
  font-size: var(--text-hero);
  line-height: 1;
  font-weight: var(--weight-display-black);
  overflow-wrap: anywhere;
  min-width: 0;
}

.hero-text {
  margin-top: var(--space-3);
  max-width: 48ch;
  margin-inline: auto;
  font-size: var(--text-lead);
  font-weight: var(--weight-body-medium);
  color: var(--color-text);
  line-height: var(--line-relaxed);
}

.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-4);
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: var(--color-border-strong);
  z-index: 1;
}
.hero-scroll-cue span {
  position: absolute;
  left: -2.5px;
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-strong);
  animation: scrollCue 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollCue {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 50px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue span { animation: none; top: 0; opacity: 1; }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust {
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-5);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.trust-label {
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-text-faint);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.trust-logos img {
  height: 26px;
  width: auto;
  filter: invert(1) grayscale(1) opacity(0.68);
  transition: filter var(--dur-base) var(--ease-out);
}
.trust-logos img:hover {
  filter: invert(1) grayscale(1) opacity(1);
}

/* ==========================================================================
   Section heads (shared: models + features)
   ========================================================================== */

.section-head {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-6);
}

.section-title {
  font-size: var(--text-h2);
  line-height: var(--line-tight);
  overflow-wrap: anywhere;
  min-width: 0;
}

.section-subtitle {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: var(--text-h3);
  color: var(--color-accent);
}

.section-text {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: var(--line-relaxed);
}

/* ==========================================================================
   Models grid
   ========================================================================== */

.models {
  padding-block-start: var(--space-8);
  padding-block-end: var(--space-6);
}

.models .section-head {
  max-width: 64rem;
}

.models-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}

.buy-steps {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.buy-steps-label {
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-body-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
}

.buy-steps-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  max-width: 1100px;
  margin-inline: auto;
}

.buy-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
  min-width: 0;
}

.buy-step-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-accent);
}

.buy-step-node svg {
  width: 24px;
  height: 24px;
}

.buy-step-num {
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: var(--text-h3);
  font-style: normal;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  line-height: 1;
  margin-top: var(--space-1);
}

.buy-step-title {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: var(--weight-body-semibold);
  font-style: normal;
  letter-spacing: var(--tracking-normal);
  overflow-wrap: anywhere;
}

.buy-step-text {
  max-width: 32ch;
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: var(--line-relaxed);
}

@media (min-width: 900px) {
  .buy-steps-list {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .buy-steps-list::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: var(--color-border-strong);
    pointer-events: none;
  }

  .buy-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    right: calc(-1 * var(--space-4));
    z-index: 2;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--color-accent);
    border-top: 1.5px solid var(--color-accent);
    transform: rotate(45deg);
  }
}

@media (min-width: 640px) {
  .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
}
@media (min-width: 1024px) {
  .models-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
  .models-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.model-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: clip;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}

.model-card:hover {
  transform: translateY(-6px) scale(1.015);
  /* Neutral, not red — the pointer-tracking glow ring is the hover accent
     now, so the static border stays subtle instead of competing with it. */
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
}

.model-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(120% 120% at 50% 20%, var(--color-surface-2) 0%, var(--color-surface) 70%);
  /* Extra top padding keeps the car off the card's top edge; sides/bottom
     stay tighter so the vehicle still reads large within the frame. */
  padding: var(--space-5) var(--space-3) var(--space-3);
}

/* "New" callout — shared base, two size contexts (product card / dropdown
   thumbnail). Deliberately uses the brand accent red: a single, sparse
   highlight the "avoid an all-red page" rule still allows, and exactly
   the kind of genuine status flag red should be reserved for. */
.badge-new {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.model-badge {
  top: var(--space-2);
  left: var(--space-2);
  padding: 5px 11px;
  font-size: var(--text-nano);
  letter-spacing: var(--tracking-widest);
  box-shadow: 0 6px 16px -4px var(--color-accent-wash-strong);
}

.nav-dropdown-badge {
  top: 4px;
  right: 4px;
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: var(--tracking-wide);
}

/* Two images stacked in the same box — a subtle colorway swap crossfades
   in on hover instead of a hard cut. inset: 0 sits on the padding edge of
   the positioned .model-media ancestor, so both images inherit the same
   breathing room as the original single-image layout. */
.model-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.model-media-img--base { opacity: 1; }
.model-media-img--hover { opacity: 0; }

.model-card:hover .model-media-img--base { opacity: 0; }
.model-card:hover .model-media-img--hover { opacity: 1; }
.model-card:hover .model-media-img { transform: scale(1.04); }

.model-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.model-name {
  font-size: var(--text-h4);
}

.model-price {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.model-price span {
  color: var(--color-accent);
  font-weight: var(--weight-body-bold);
}

.model-actions {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  gap: var(--space-2);
}

.model-actions .btn {
  flex: 1;
  padding-inline: var(--space-1);
}

/* ==========================================================================
   About Us — full-bleed media, text column padded independently.
   Deliberately NOT wrapped in .container/.container-wide: the image needs
   to touch the real viewport edge, so only .about-content carries padding.
   ========================================================================== */
.about {
  border-top: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-7) var(--container-pad) var(--space-6);
}

.about-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-body-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--color-accent-strong), transparent);
}

.about-title {
  font-size: var(--text-h2);
  line-height: var(--line-tight);
  overflow-wrap: anywhere;
}

.about-text {
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: var(--line-relaxed);
}

.about-text a {
  color: var(--color-accent);
  font-weight: var(--weight-body-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-base) var(--ease-out);
}

.about-text a:hover { color: var(--color-accent-strong); }

.about-media {
  position: relative;
  min-height: 320px;
}

.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .about-grid {
    /* Left (text) +20%, right (image) -20% vs. the previous 40%/60%
       split (2fr/3fr) — works out to an even 50% / 50%. */
    grid-template-columns: 2.4fr 2.4fr;
    align-items: stretch;
    min-height: 600px;
  }
  .about-content {
    padding: var(--space-7) var(--space-6) var(--space-7) var(--container-pad);
  }
  .about-media { min-height: 0; }
}

/* ==========================================================================
   Features
   ========================================================================== */

.features {
  padding-block-start: var(--space-8);
  padding-block-end: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.features .section-head { max-width: 56rem; }

.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.feature-item {
  padding: var(--space-4) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.feature-item:hover {
  border-color: var(--color-accent-wash-strong);
  transform: translateY(-4px);
}

.feature-index {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: var(--text-h4);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.feature-title {
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.feature-text {
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: var(--line-relaxed);
}

.feature-quote {
  margin: var(--space-5) 0 0;
  padding: 0 var(--space-4);
  text-align: center;
}

.feature-quote p {
  max-width: var(--measure-reading);
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: var(--text-quote);
  line-height: var(--line-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

/* ==========================================================================
   CTA Banner — contained accent-red card at 90% of the viewport width
   (NOT full-bleed, but wider than the standard .container), sits right
   above the footer.
   ========================================================================== */
.cta-banner {
  padding-block-start: var(--space-3);
  padding-block-end: var(--space-4);
}

.cta-banner-card {
  width: 90%;
  max-width: 1500px;
  margin-inline: auto;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.cta-banner-content {
  padding: var(--space-2) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.cta-banner-title {
  font-size: var(--text-h2);
  line-height: var(--line-tight);
  color: var(--color-accent-contrast);
}

.cta-banner-subtitle {
  margin-top: calc(-1 * var(--space-2));
  max-width: 48ch;
  font-size: var(--text-body);
  line-height: var(--line-relaxed);
  color: color-mix(in srgb, var(--color-accent-contrast) 88%, transparent);
}

.cta-banner-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-banner-list li {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-small);
  font-weight: var(--weight-body-semibold);
  color: var(--color-accent-contrast);
  white-space: nowrap;
}

.cta-banner-list svg {
  flex-shrink: 0;
  color: var(--color-accent-contrast);
}

.cta-banner-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-5) var(--space-2);
}

.cta-banner-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.28));
}

@media (min-width: 900px) {
  .cta-banner-grid {
    /* Text column 44% (+10% vs. the previous 40%) / image column 56%. */
    grid-template-columns: 44fr 56fr;
    gap: var(--space-4);
    min-height: 420px;
  }
  .cta-banner-content { padding: var(--space-4) 0 var(--space-4) var(--space-6); }
  .cta-banner-media {
    align-self: stretch;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
  }
  .cta-banner-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

/* ==========================================================================
   Purchase info — 3 cards (Pricing, Build Time, Shipping)
   ========================================================================== */
.info-blocks {
  padding-block-start: var(--space-5);
  padding-block-end: var(--space-5);
}

.info-blocks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-width: 0;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.info-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: var(--weight-body-bold);
  font-style: normal;
  letter-spacing: var(--tracking-normal);
  line-height: var(--line-snug);
  overflow-wrap: anywhere;
}

.info-card-title svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.info-card-text {
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: var(--line-relaxed);
}

@media (min-width: 768px) {
  .info-blocks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .info-blocks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   FAQs — collapsed accordion
   ========================================================================== */
.faqs {
  padding-block-start: var(--space-4);
  padding-block-end: var(--space-7);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  max-width: 920px;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body-semibold);
  font-style: normal;
  letter-spacing: var(--tracking-normal);
  line-height: var(--line-snug);
  color: var(--color-text);
  overflow-wrap: anywhere;
  transition: color var(--dur-base) var(--ease-out);
}

.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { content: ""; }

.faq-summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  border-right: 1.5px solid var(--color-text-muted);
  border-bottom: 1.5px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.faq-summary:hover { color: var(--color-accent-contrast); }
.faq-summary:hover::after { border-color: var(--color-accent); }

.faq-item[open] .faq-summary::after {
  transform: rotate(225deg);
  margin-top: 6px;
}

.faq-panel {
  padding: 0 0 var(--space-4);
}

.faq-panel p {
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: var(--line-relaxed);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-7);
  background: var(--color-bg-raised);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  padding-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr 0.9fr; gap: var(--space-4); }
}

.footer-logo-img { height: 54px; width: auto; margin-bottom: var(--space-2); }

.footer-tagline {
  max-width: 34ch;
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: var(--line-relaxed);
}

.footer-social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

.footer-social a:hover {
  color: var(--color-accent-strong);
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-body);
  font-weight: var(--weight-body-semibold);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

/* More breathing room between the three contact lines than the nav links
   get — this block reads as data points, not a dense list. */
.footer-contact p + p {
  margin-top: var(--space-2);
}

.footer-nav a,
.footer-contact a {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--color-accent-strong); }

.footer-contact p {
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: var(--line-relaxed);
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 0.2em;
  color: var(--color-text-faint);
}

.footer-certs-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.cert-logo {
  width: auto;
  max-width: 100%;
  display: block;
}

.cert-logo--nmma { height: 56px; }

/* The USCG seal reads visually lighter than the NMMA wordmark at the same
   pixel height (thin circular badge vs. a bold wordmark block), so it
   needs extra height to carry equal visual weight in the column. */
.cert-logo--uscg { height: 92px; }

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-micro);
  color: var(--color-text-faint);
}

.footer-alert-link {
  color: var(--color-text-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-alert-link:hover { color: var(--color-accent-strong); }

/* Oversized brand watermark — sits as a background layer BEHIND the
   footer columns (z-index: 0, under .footer-inner/.footer-bottom at
   z-index: 1), barely-there ghost type, not a bold statement. Vertical
   fade, top to bottom. Sized in pure vw (not clamp) so the fixed string
   "PRESTIGE" scales in lockstep with the viewport and keeps spanning
   edge-to-edge at every width; min()/max() just guard the extremes. */
.footer-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
  user-select: none;
}

.footer-watermark span {
  width: 100%;
  font-family: var(--font-display);
  font-weight: var(--weight-display-black);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
  font-size: min(max(20.2vw, 3.5rem), 60rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Mobile nav + responsive breakpoints
   ========================================================================== */

@media (max-width: 1099px) {
  .main-nav {
    position: fixed;
    inset: var(--topbar-h) 0 auto 0;
    top: calc(var(--topbar-h) + var(--header-h));
    grid-column: auto;
    justify-self: auto;
    background: rgba(11, 11, 13, 0.92);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4) var(--container-pad) var(--space-5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-out),
                visibility 0s linear var(--dur-base);
    max-height: calc(100svh - var(--topbar-h) - var(--header-h));
    overflow-y: auto;
  }

  .site-header.is-scrolled .main-nav { top: calc(var(--header-h-scrolled)); }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-out),
                visibility 0s linear 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }
  .nav-list a {
    display: block;
    padding: var(--space-2) 0;
    font-size: var(--text-lead);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list a::after { display: none; }

  /* No hover on touch — the Models submenu is simply expanded in place,
     indented under its parent link, instead of relying on :hover. */
  .nav-item.has-dropdown > a { border-bottom: none; }
  .nav-item.has-dropdown::after { display: none; }
  .nav-caret { display: none; }
  .nav-dropdown::before { display: none; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 var(--space-2);
    padding: 0 0 0 var(--space-3);
    background: transparent;
    border: none;
    box-shadow: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-2);
  }
  .nav-dropdown a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) 0;
    font-size: var(--text-body);
    color: var(--color-text-muted);
    border-bottom: none;
    text-align: left;
  }
  .nav-dropdown-thumb { display: none; }

  .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-4);
  }
  .nav-actions-mobile .phone-link {
    justify-content: center;
    padding: var(--space-2) 0;
    font-size: var(--text-lead);
  }

  .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: var(--space-4);
  bottom: max(var(--space-4), env(safe-area-inset-bottom));
  z-index: 90;
  width: var(--space-5);
  height: var(--space-5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  box-shadow: var(--shadow-card-hover);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility 0s linear var(--dur-base),
              background-color var(--dur-base) var(--ease-out);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.back-to-top:hover {
  background: var(--color-accent-strong);
  transform: translateY(-2px);
}

.back-to-top:active { transform: translateY(0); }

@media (max-width: 640px) {
  :root { --header-h: 92px; --header-h-scrolled: 70px; --logo-h: 46px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
}
