/*
 * ICON Golf Carts of Tampa Bay — site stylesheet
 * Design system: Warm Gulf Coast neutrals (sand) · Deep Gulf Teal · single cognac-leather accent.
 * Fonts: Fraunces (display/serif) + Hanken Grotesk (body/UI).
 * Signature devices: the turquoise "shoreline rule" and the stitched cognac "leather price-tab".
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #0E4C57;        /* Deep Gulf Teal */
  --color-primary-dark: #08323A;
  --color-primary-light: #D5E6E6;  /* Shallow teal wash */
  --color-secondary: #2E9BA6;      /* Gulf Turquoise — large/UI only */
  --color-turquoise-text: #1F7F8A; /* AA-safe turquoise for text */
  --color-accent: #B5632E;         /* Cognac leather */
  --color-accent-dark: #98501F;
  --color-bg: #F7F1E7;             /* Warm sand */
  --color-surface: #FFFDF9;        /* Warm white */
  --color-text: #1E2A2D;          /* Warm charcoal */
  --color-text-secondary: #566064; /* Muted slate */
  --color-on-primary: #F7F1E7;     /* Sand on teal */
  --color-border: #E6DCCB;         /* Sand border */

  --font-primary: 'Fraunces', 'Hoefler Text', Georgia, serif;       /* display / headings */
  --font-secondary: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; /* body / UI */
  --font-size-base: 16px;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --shoreline: 2px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 18px 50px -28px rgba(20, 42, 47, 0.45);
  --shadow-leather: 0 8px 22px -10px rgba(101, 51, 18, 0.55);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: var(--font-size-base); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-secondary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 42px; /* required — partner banner reserve */
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--color-turquoise-text); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--color-accent); }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--color-accent); color: #fff; }

/* ============================================================
   Typography hierarchy
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-primary); color: var(--color-primary); font-weight: 600; }

.display {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
h1, .h1 { font-size: clamp(2.125rem, 4.6vw, 3rem); line-height: 1.06; letter-spacing: -0.015em; }
h2, .h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.01em; }
h3, .h3 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); line-height: 1.16; letter-spacing: -0.005em; font-weight: 500; }

.kicker {
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-turquoise-text);
  display: inline-block;
  margin-bottom: 1rem;
}
.kicker--sand { color: rgba(247, 241, 231, 0.82); }

.em { font-style: italic; color: var(--color-accent); }      /* cognac italic emphasis word */
.em--sand { color: #E8B98F; }                                 /* cognac emphasis on dark fields */

.lead {
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  line-height: 1.5;
  color: var(--color-text-secondary);
  max-width: 60ch;
}
p { max-width: 68ch; }
.tabular { font-variant-numeric: tabular-nums; }

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--sand { background: var(--color-bg); }
.section--surface { background: var(--color-surface); }
.section--teal { background: var(--color-primary); color: var(--color-on-primary); }
.section--teal h2, .section--teal h3 { color: var(--color-on-primary); }

/* The shoreline rule — a turquoise hairline a section sits above, like a dock meets water */
.shoreline-top { border-top: var(--shoreline) solid var(--color-secondary); }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Restrained CTA treatment — the design wins, not the button */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-secondary); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.01em; line-height: 1;
  padding: 0.95em 1.6em; border-radius: 4px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn i { font-size: 1.15em; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost-teal { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost-teal:hover { background: var(--color-primary); color: var(--color-on-primary); }
.btn--ghost-sand { background: transparent; color: var(--color-on-primary); border-color: rgba(247,241,231,0.5); }
.btn--ghost-sand:hover { background: var(--color-on-primary); color: var(--color-primary); border-color: var(--color-on-primary); }
.btn--lg { font-size: 1.0625rem; padding: 1.05em 2em; }

.link-quiet {
  font-family: var(--font-secondary); font-weight: 600; font-size: 0.95rem;
  color: var(--color-turquoise-text); display: inline-flex; align-items: center; gap: 0.4em;
}
.link-quiet i { transition: transform 0.2s var(--ease); }
.link-quiet:hover i { transform: translateX(4px); }

/* ============================================================
   The leather price-tab — the brand's signature material as price UI
   ============================================================ */
.leather-tab {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  background: linear-gradient(150deg, #C16E36 0%, #B5632E 48%, #9C5526 100%);
  color: #FBF1E6;
  padding: 0.7em 1.1em 0.62em;
  border-radius: 7px;
  box-shadow: var(--shadow-leather), inset 0 1px 0 rgba(255,255,255,0.18);
  font-variant-numeric: tabular-nums;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
/* faux top-stitch line, like seat upholstery */
.leather-tab::before {
  content: ""; position: absolute; inset: 5px 6px;
  border: 1.5px dashed rgba(251, 241, 230, 0.55);
  border-radius: 4px; pointer-events: none;
}
.leather-tab .tab-label {
  font-family: var(--font-secondary); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,241,230,0.85);
  position: relative; z-index: 1; margin-bottom: 0.1em;
}
.leather-tab .tab-price {
  font-family: var(--font-primary); font-weight: 600; line-height: 0.95;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); position: relative; z-index: 1;
}
.leather-tab--xl .tab-price { font-size: clamp(3rem, 11vw, 7rem); }
.leather-tab--xl { padding: 0.55em 0.85em 0.5em; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: transparent;
}
.site-header::after { /* legibility scrim while transparent over hero */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,50,58,0.55) 0%, rgba(8,50,58,0) 100%);
  opacity: 1; transition: opacity 0.3s var(--ease);
}
.site-header.scrolled { background: var(--color-surface); box-shadow: 0 8px 30px -16px rgba(20,42,47,0.32); }
.site-header.scrolled::after { opacity: 0; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 188px; height: auto; transition: filter 0.3s var(--ease); }
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); } /* white logo on dark hero */

.nav-links { display: flex; align-items: center; gap: clamp(0.6rem, 1.6vw, 1.65rem); list-style: none; }
.nav-links a {
  font-family: var(--font-secondary); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  color: var(--color-primary); padding: 0.4em 0; position: relative; white-space: nowrap;
}
.site-header:not(.scrolled) .nav-links a { color: var(--color-on-primary); text-shadow: 0 1px 8px rgba(8,50,58,0.5); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--color-secondary); transition: width 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.is-current:not(.nav-cta)::after { width: 100%; }
.nav-links a:hover { color: var(--color-accent); }
.site-header:not(.scrolled) .nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--color-accent); color: #fff !important; text-shadow: none !important;
  padding: 0.62em 1.15em !important; border-radius: 4px;
  transition: background 0.22s var(--ease);
}
.nav-cta:hover { background: var(--color-accent-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--color-primary); }
.site-header:not(.scrolled) .nav-toggle { color: var(--color-on-primary); }
.nav-toggle i { font-size: 1.75rem; display: block; }

/* ============================================================
   Hero — asymmetric split, locked teal type column over scrolling marina image
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: stretch;
  background: var(--color-primary);
}
.hero__media { position: absolute; inset: 0 0 0 34%; overflow: hidden; }
.hero__media img { width: 100%; height: 116%; object-fit: cover; object-position: center 38%; will-change: transform; }
.hero__media::after { /* teal gradient on the left edge so the type column blends into the photo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--color-primary) 0%, rgba(14,76,87,0.35) 14%, rgba(14,76,87,0) 38%);
}
.hero__col {
  position: relative; z-index: 2; width: 38%; min-width: 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary) 70%, rgba(14,76,87,0.92) 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 4vh) clamp(20px, 3vw, 52px) 16vh var(--gutter);
}
.hero__col .display { color: var(--color-on-primary); margin-block: 0.5rem 1.25rem; }
.hero__col .display .em { color: #E8B98F; }
.hero__lead { color: rgba(247,241,231,0.85); font-size: 1.125rem; line-height: 1.55; max-width: 34ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* the fixed turquoise waterline running through the hero */
.hero__shoreline { position: absolute; left: 0; right: 0; top: 64%; height: var(--shoreline); background: var(--color-secondary); z-index: 3; box-shadow: 0 0 16px rgba(46,155,166,0.6); }

/* coastal-credentials strip pinned to the bottom edge, half-overlapping the image base */
.hero__creds {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--color-secondary);
}
.hero__creds .cred {
  flex: 1 1 0; min-width: 200px;
  background: var(--color-primary-dark); color: var(--color-on-primary);
  padding: 1.15rem clamp(20px, 4vw, 3rem);
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-secondary); font-size: 0.95rem;
}
.hero__creds .cred i { font-size: 1.4rem; color: var(--color-secondary); flex: 0 0 auto; }
.hero__creds .cred strong { font-weight: 700; }
.hero__creds .cred span { color: rgba(247,241,231,0.78); }

/* ============================================================
   Pricing tiers — broadsheet rows, each wearing a leather price-tab
   ============================================================ */
.price-rows { display: flex; flex-direction: column; }
.price-row {
  display: grid; grid-template-columns: minmax(200px, 240px) 1fr auto; align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-bottom: 1px solid var(--color-border);
}
.price-row:first-child { border-top: 1px solid var(--color-border); }
.price-row__info { min-width: 0; }
.price-row__info .tier-name { font-family: var(--font-primary); font-size: 1.5rem; color: var(--color-primary); font-weight: 500; line-height: 1.15; }
.price-row__info .tier-models { font-size: 0.95rem; color: var(--color-text-secondary); margin-top: 0.3rem; }
.street-flag {
  display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.7rem;
  font-family: var(--font-secondary); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-turquoise-text);
}
.street-flag i { font-size: 1.05em; }
.price-row__action { justify-self: end; }
.price-row .leather-tab { justify-self: start; }
.price-row:hover .leather-tab { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(101,51,18,0.6), inset 0 1px 0 rgba(255,255,255,0.2); }
.price-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--color-text-secondary); }

/* ============================================================
   Models teaser — varied-width horizontal scroller, shoreline as scrollbar
   ============================================================ */
.scroller-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.scroller-head .anchor-line { font-family: var(--font-primary); font-size: clamp(1.75rem, 3.5vw, 2.6rem); color: var(--color-primary); max-width: 16ch; line-height: 1.08; }
.scroller-arrows { display: flex; gap: 0.6rem; }
.scroller-arrows button {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--color-border);
  background: var(--color-surface); color: var(--color-primary); cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.scroller-arrows button:hover { background: var(--color-primary); color: var(--color-on-primary); border-color: var(--color-primary); }
.scroller-arrows button i { font-size: 1.3rem; }

.model-scroller {
  display: grid; grid-auto-flow: column; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem;
  scrollbar-width: none;
}
.model-scroller::-webkit-scrollbar { display: none; }
.model-card { scroll-snap-align: start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-soft); }
.model-card .media { background: #EFE7D7; aspect-ratio: 16 / 10; }
.model-card .media img { width: 100%; height: 100%; object-fit: cover; }
.model-card .body { padding: 1.25rem 1.4rem 1.5rem; }
.model-card .body h3 { color: var(--color-primary); margin-bottom: 0.3rem; }
.model-card .body .spec { font-size: 0.9rem; color: var(--color-text-secondary); }
.model-card--wide { width: 460px; }
.model-card--mid { width: 360px; }
/* turquoise scroll progress rule — extension of the shoreline */
.scroll-progress { height: var(--shoreline); background: var(--color-border); border-radius: 2px; position: relative; }
.scroll-progress__bar { position: absolute; left: 0; top: 0; height: 100%; width: 20%; background: var(--color-secondary); border-radius: 2px; }

/* ============================================================
   Custom builds masonry — oversized cognac leather tile
   ============================================================ */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1.1rem; }
.tile { position: relative; overflow: hidden; border-radius: 8px; background: var(--color-primary); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.5rem 1.25rem 1.1rem; color: #fff;
  background: linear-gradient(0deg, rgba(8,50,58,0.85) 0%, rgba(8,50,58,0) 100%);
  font-family: var(--font-secondary); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem;
}
.tile__upgrade { display: block; font-family: var(--font-primary); text-transform: none; letter-spacing: -0.01em; font-size: 1.25rem; font-weight: 500; margin-top: 0.15rem; transform: translateY(8px); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.tile:hover .tile__upgrade { transform: translateY(0); opacity: 1; }
/* the leather tile is the largest object — signature material dominates */
.tile--leather { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }

/* ============================================================
   Service band — dark teal, tide-chart brand roster
   ============================================================ */
.service-band { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: stretch; }
.service-band__media { position: relative; min-height: 420px; }
.service-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-band__media::after { content: ""; position: absolute; inset: 0; background: rgba(14,76,87,0.45); mix-blend-mode: multiply; }
.service-band__body { padding: clamp(48px, 6vw, 86px) var(--gutter); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.service-band__body h2 { color: var(--color-on-primary); }
.service-band__body .lead { color: rgba(247,241,231,0.85); }

/* tide-chart roster: names separated by turquoise tick marks along one line */
.tide-roster { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 0.9rem; margin: 2rem 0; }
.tide-roster .brand {
  font-family: var(--font-secondary); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.9rem; color: var(--color-on-primary); transition: color 0.2s var(--ease);
}
.tide-roster .brand:hover { color: var(--color-secondary); }
.tide-roster .tick { width: 1px; height: 18px; background: var(--color-secondary); opacity: 0.8; }
/* oversized roster — capability stated larger than the task list */
.roster-xl { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; }
.roster-xl .brand { font-family: var(--font-secondary); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: clamp(1.35rem, 3.6vw, 2.6rem); line-height: 1.05; color: var(--color-on-primary); transition: color 0.2s var(--ease); }
.roster-xl .brand:hover { color: var(--color-secondary); }
.roster-xl .tick { width: 2px; height: clamp(22px, 4vw, 40px); background: var(--color-secondary); opacity: 0.85; }

/* ============================================================
   Testimonials — cards over a delivery-family band; leather-stitch quote glyph
   ============================================================ */
.testi { position: relative; }
.testi__bg { position: absolute; inset: 0; overflow: hidden; }
.testi__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0.16; }
.testi__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--color-bg) 0%, rgba(247,241,231,0.7) 50%, var(--color-bg) 100%); }
.testi .wrap { position: relative; z-index: 1; }
.testi-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.review-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px;
  padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-soft); position: relative;
}
.review-card__quote { font-family: var(--font-primary); font-size: 3.4rem; line-height: 0.6; color: var(--color-accent); display: block; height: 0.6em; }
.review-stars { color: var(--color-secondary); display: flex; gap: 0.15rem; margin: 1.1rem 0 0.9rem; font-size: 1.05rem; }
.review-card p { color: var(--color-text); font-size: 1.05rem; line-height: 1.6; }
.review-meta { margin-top: 1.4rem; display: flex; align-items: center; gap: 0.7rem; }
.review-meta .who { font-family: var(--font-primary); font-size: 1.2rem; color: var(--color-primary); font-weight: 500; }
.review-meta .src { font-size: 0.82rem; color: var(--color-text-secondary); display: inline-flex; align-items: center; gap: 0.35em; }
.testi-nav { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--color-border); cursor: pointer; padding: 0; }
.testi-dot.active { background: var(--color-accent); }

/* ============================================================
   About / lifestyle band
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { min-width: 0; }
.split__media img { width: 100%; border-radius: 10px; box-shadow: 0 26px 60px -34px rgba(101,51,18,0.5); }
.split__body { min-width: 0; }
.split__body p + p { margin-top: 1.1rem; }
.stat-row { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.2rem; }
.stat .n { font-family: var(--font-primary); font-size: 2.4rem; color: var(--color-accent); line-height: 1; font-weight: 600; }
.stat .l { font-size: 0.85rem; color: var(--color-text-secondary); letter-spacing: 0.04em; margin-top: 0.4rem; }

/* ============================================================
   Dusk band — full-bleed sunset; graphic shoreline meets the photographed horizon
   ============================================================ */
.dusk { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.dusk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.dusk::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,50,58,0.32) 0%, rgba(8,50,58,0.12) 45%, var(--color-primary) 100%); }
.dusk__inner { position: relative; z-index: 2; padding: 10vh var(--gutter) 12vh; max-width: 900px; }
.dusk__inner h2 { color: #FBF4E8; font-size: clamp(2rem, 5vw, 3.25rem); text-shadow: 0 2px 24px rgba(8,50,58,0.5); }
.dusk__inner h2 .em { color: #F0C49A; }
.dusk__inner p { color: rgba(251,244,232,0.92); margin: 1.25rem auto 2rem; max-width: 46ch; }
.loc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.5rem; }
.loc-chip { display: inline-flex; align-items: center; gap: 0.45em; background: rgba(251,244,232,0.14); border: 1px solid rgba(251,244,232,0.4); color: #FBF4E8; padding: 0.5em 1em; border-radius: 100px; font-size: 0.9rem; font-weight: 600; backdrop-filter: blur(2px); }
.loc-chip i { color: var(--color-secondary); }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; background: var(--color-primary); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,50,58,0.25) 0%, rgba(8,50,58,0.35) 40%, rgba(8,50,58,0.85) 100%); }
.page-hero__inner { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(2.5rem, 6vw, 4.5rem); width: 100%; max-width: var(--maxw); margin-inline: auto; }
.page-hero__inner h1 { color: #FBF4E8; max-width: 18ch; }
.page-hero__inner h1 .em { color: #F0C49A; }
.page-hero__inner .lead { color: rgba(251,244,232,0.9); margin-top: 1rem; }
.page-hero--ribbon { border-bottom: var(--shoreline) solid var(--color-secondary); }

/* persistent street-legal ribbon (inventory masthead) */
.ribbon {
  background: var(--color-secondary); color: #06343A;
  font-family: var(--font-secondary); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8rem;
  text-align: center; padding: 0.85rem 1rem; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.ribbon i { font-size: 1.1rem; }

/* ============================================================
   Cards / grids (inventory, services, models)
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.inv-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.inv-card .media { position: relative; background: #EFE7D7; aspect-ratio: 4 / 3; }
.inv-card .media img { width: 100%; height: 100%; object-fit: cover; }
.inv-card .badge { position: absolute; top: 12px; left: 12px; background: var(--color-secondary); color: #06343A; font-family: var(--font-secondary); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4em 0.7em; border-radius: 4px; display: inline-flex; align-items: center; gap: 0.3em; }
.inv-card .body { padding: 1.25rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.inv-card .body h3 { color: var(--color-primary); }
.inv-card .body .spec { font-size: 0.9rem; color: var(--color-text-secondary); margin-top: 0.3rem; }
.inv-card .body .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; color: var(--color-primary); background: var(--color-primary-light); padding: 0.3em 0.7em; border-radius: 100px; }
.inv-card .foot { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.inv-card:hover .leather-tab { transform: translateY(-2px); }

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.chip { font-family: var(--font-secondary); font-weight: 600; font-size: 0.9rem; color: var(--color-primary); background: var(--color-surface); border: 1.5px solid var(--color-border); padding: 0.5em 1.1em; border-radius: 100px; cursor: pointer; transition: all 0.2s var(--ease); }
.chip:hover { border-color: var(--color-secondary); }
.chip.active { background: var(--color-primary); color: var(--color-on-primary); border-color: var(--color-primary); }

/* service tiles */
.svc-card { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-soft); }
.svc-card .media { aspect-ratio: 4 / 3; background: #EFE7D7; overflow: hidden; }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-card:hover .media img { transform: scale(1.05); }
.svc-card .body { padding: 1.4rem 1.5rem 1.6rem; }
.svc-card .body h3 { color: var(--color-primary); }
.svc-card .body p { font-size: 0.95rem; color: var(--color-text-secondary); margin-top: 0.45rem; }
.svc-icon-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; padding: 1.6rem 1.5rem; }
.svc-icon-card i { font-size: 1.8rem; color: var(--color-accent); }
.svc-icon-card h3 { color: var(--color-primary); margin: 0.8rem 0 0.4rem; font-size: 1.25rem; }
.svc-icon-card p { font-size: 0.95rem; color: var(--color-text-secondary); }

/* ============================================================
   Spec tables (models)
   ============================================================ */
.chapter { margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.chapter__sign { display: flex; align-items: center; gap: 1rem; border-top: var(--shoreline) solid var(--color-secondary); padding-top: 1.1rem; margin-bottom: 2rem; }
.chapter__sign h2 { color: var(--color-primary); margin: 0; }
.chapter__sign .dock-tag { font-family: var(--font-secondary); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; color: var(--color-turquoise-text); }
.spec-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 1.25rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
.spec-table th { font-family: var(--font-secondary); font-weight: 700; color: var(--color-primary); width: 38%; }
.spec-table tr:hover td, .spec-table tr:hover th { background: var(--color-primary-light); }
.model-subnav { position: sticky; top: var(--nav-h); z-index: 40; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.warranty-quote { border-left: 3px solid var(--color-accent); padding: 0.4rem 0 0.4rem 1.4rem; font-family: var(--font-primary); font-size: 1.4rem; color: var(--color-primary); line-height: 1.3; margin: 1.5rem 0; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.25rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-primary); font-size: 1.15rem; font-weight: 500; color: var(--color-primary); }
.faq-q i { flex: 0 0 auto; transition: transform 0.3s var(--ease); color: var(--color-accent); font-size: 1.3rem; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a > div { padding: 0 1.4rem 1.4rem; color: var(--color-text-secondary); font-size: 1rem; }

/* ============================================================
   Financing page
   ============================================================ */
.apr-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.apr-terms { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.apr-terms li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 1.05rem; }
.apr-terms i { color: var(--color-secondary); font-size: 1.3rem; flex: 0 0 auto; margin-top: 0.1rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; padding: 1.8rem 1.6rem; position: relative; }
.step-card .num { font-family: var(--font-primary); font-size: 1.1rem; color: var(--color-secondary); font-weight: 600; letter-spacing: 0.1em; }
.step-card h3 { color: var(--color-primary); margin: 0.5rem 0 0.5rem; font-size: 1.3rem; }
.step-card p { font-size: 0.95rem; color: var(--color-text-secondary); }
.banner-img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-soft); }

/* ============================================================
   Commercial fleet CTA band (the single allowed dominant button)
   ============================================================ */
.fleet-band { background: var(--color-primary); color: var(--color-on-primary); text-align: center; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.fleet-band h2 { color: var(--color-on-primary); margin-bottom: 1rem; }
.fleet-band p { margin: 0 auto 2rem; color: rgba(247,241,231,0.85); max-width: 50ch; }
.fleet-band .btn--accent { font-size: 1.2rem; padding: 1.15em 2.4em; }

/* ============================================================
   Contact / locations
   ============================================================ */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.loc-card { background: var(--color-surface); border: 1px solid var(--color-border); border-top: var(--shoreline) solid var(--color-secondary); border-radius: 0 0 10px 10px; padding: 1.8rem 1.7rem; display: flex; flex-direction: column; }
.loc-card h3 { color: var(--color-primary); }
.loc-card .detail { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1rem; font-size: 0.98rem; color: var(--color-text-secondary); }
.loc-card .detail i { color: var(--color-accent); font-size: 1.2rem; flex: 0 0 auto; margin-top: 0.05rem; }
.loc-card .open-now { display: none; align-items: center; gap: 0.4em; color: var(--color-turquoise-text); font-weight: 700; font-size: 0.85rem; margin-top: 0.6rem; }
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.loc-card:hover .open-now { display: inline-flex; }
.loc-card .loc-actions { margin-top: auto; padding-top: 1.4rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 220px; border-radius: 8px; }

/* ============================================================
   Forms
   ============================================================ */
.contact-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label { font-family: var(--font-secondary); font-weight: 600; font-size: 0.9rem; color: var(--color-primary); }
.field input, .field select, .field textarea {
  font-family: var(--font-secondary); font-size: 1rem; color: var(--color-text);
  background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: 6px;
  padding: 0.8em 0.9em; width: 100%; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(46,155,166,0.18); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-soft); }
.trade-fields { display: none; }
.trade-fields.show { display: grid; gap: 1.2rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--color-primary-dark); color: rgba(247,241,231,0.82); border-top: var(--shoreline) solid var(--color-secondary); padding: clamp(48px, 6vw, 80px) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { width: 200px; filter: brightness(0) invert(1); margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(247,241,231,0.7); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-secondary); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; color: var(--color-secondary); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { color: rgba(247,241,231,0.82); font-size: 0.96rem; }
.footer-col a:hover { color: #fff; }
.footer-col .detail { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.95rem; color: rgba(247,241,231,0.82); margin-bottom: 0.7rem; }
.footer-col .detail i { color: var(--color-secondary); flex: 0 0 auto; margin-top: 0.1rem; }
.footer-bottom { border-top: 1px solid rgba(247,241,231,0.16); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem; color: rgba(247,241,231,0.6); }
.footer-bottom a { color: rgba(247,241,231,0.7); }

/* ============================================================
   Motion — entrance reveals (respecting reduced-motion)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .masonry { grid-template-columns: repeat(2, 1fr); }
  .tile--leather { grid-column: span 2; grid-row: span 2; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .service-band { grid-template-columns: 1fr; }
  .service-band__media { min-height: 300px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-surface); box-shadow: 0 20px 40px -20px rgba(20,42,47,0.4);
    padding: 0.5rem var(--gutter) 1.25rem; max-height: 0; overflow: hidden;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  }
  .nav-links.open { max-height: 70vh; padding-block: 1rem 1.5rem; }
  .nav-links a { color: var(--color-primary) !important; text-shadow: none !important; padding: 0.85rem 0; border-bottom: 1px solid var(--color-border); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; justify-content: center; margin-top: 0.8rem; }
  .nav-toggle { display: block; }

  .hero { min-height: auto; }
  .hero { display: block; }
  .hero__media { position: relative; inset: auto; height: 58vh; }
  .hero__media img { height: 100%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(8,50,58,0.2), rgba(8,50,58,0)); }
  .hero__col { width: 100%; padding: 2.5rem var(--gutter) 8rem; }
  .hero__col .display { font-size: 2.5rem; font-weight: 600; line-height: 1.05; }
  .hero__shoreline { top: 58vh; }
  .hero__creds .cred { min-width: 50%; }

  .price-row { grid-template-columns: 1fr; gap: 1rem; }
  .price-row .leather-tab { justify-self: start; }
  .price-row__action { justify-self: start; }

  .testi-track { grid-template-columns: 1fr; }
  .review-card[data-idx="1"] { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .apr-hero { grid-template-columns: 1fr; text-align: left; }
  .loc-grid { grid-template-columns: 1fr; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile--leather { grid-column: span 1; grid-row: span 1; min-height: 280px; }   /* leather still never demotes to a small square */
  .tile--wide { grid-column: span 1; }
  .hero__creds .cred { min-width: 100%; }
  .stat-row { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
