/* ==========================================================================
   Hilo Bike Hub — "Basalt & Ochre" design system
   --------------------------------------------------------------------------
   1. Tokens          6. Hero                11. Kūlani feature
   2. Reset / base    7. Marquee             12. Reviews
   3. Typography      8. Pro-Build           13. Visit / contact
   4. Layout          9. Island conditions   14. Forms
   5. Nav + buttons  10. Cards / tiers       15. Footer, 404, utilities
   Motion rule: only transform + opacity are ever animated.
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand (derived from client CSS: #996600 gold, #993300 rust, #F9DCA7 sand) */
  --gold: #C48A1C;
  --gold-light: #E0A93A;
  --gold-dark: #996600;
  --rust: #B4431A;
  --rust-light: #D4602F;
  --rust-dark: #8E3312;

  /* Dark surfaces: base → elevated → floating */
  --basalt: #12100D;
  --basalt-2: #1C1814;
  --basalt-3: #27211A;

  /* Light surfaces */
  --sand: #F4E9D4;
  --sand-2: #FBF5EA;
  --sand-3: #EADBC0;

  /* Text */
  --bone: #F4EDE2;        /* headings on dark */
  --bone-body: #CFC4B3;   /* body on dark */
  --bone-muted: #A39784;  /* captions on dark */
  --ink: #2A1D12;         /* headings on sand */
  --ink-body: #4A3B2C;    /* body on sand */
  --ink-muted: #6E5D4A;   /* captions on sand */

  --line-dark: rgba(244, 237, 226, 0.10);
  --line-dark-strong: rgba(244, 237, 226, 0.20);
  --line-light: rgba(42, 29, 18, 0.12);
  --line-light-strong: rgba(42, 29, 18, 0.22);

  /* Tinted shadows (rust/gold, never flat gray) */
  --shadow-sm: 0 2px 8px rgba(142, 51, 18, 0.10);
  --shadow-md: 0 10px 32px rgba(142, 51, 18, 0.14), 0 2px 8px rgba(42, 29, 18, 0.08);
  --shadow-lg: 0 28px 72px rgba(142, 51, 18, 0.20), 0 8px 24px rgba(42, 29, 18, 0.12);
  --shadow-glow: 0 10px 40px rgba(196, 138, 28, 0.35), 0 2px 10px rgba(180, 67, 26, 0.25);

  /* Type */
  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale (4px base) */
  --s-1: 0.25rem;  --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;     --s-10: 8rem;   --s-11: 10rem;
  --section-y: clamp(var(--s-9), 12vw, var(--s-11));
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Spring-style easing */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. RESET / BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--basalt);
  color: var(--bone-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--basalt); }

.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-4); z-index: 1000;
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  background: var(--gold); color: var(--basalt); font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--sand :focus-visible { outline-color: var(--rust-dark); }

/* Film grain over everything (SVG noise, very low opacity) */
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  /* Pre-rendered noise tile: an SVG feTurbulence here stalled first paint on mobile */
  background-image: url("../assets/img/grain.png");
  background-size: 128px 128px;
  opacity: 0.045;
}

/* 3. TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--bone); }
.display, h1, h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.display-xl { font-size: clamp(3.6rem, 13vw, 7.6rem); line-height: 0.9; }
@media (min-width: 1000px) { .display-xl { font-size: clamp(4.6rem, 6.4vw, 7.4rem); } }
h1, .h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2, .h2 { font-size: clamp(2.2rem, 5vw, 4.25rem); }
h3, .h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-4); max-width: 62ch; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--bone); opacity: 0.9; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  margin-bottom: var(--s-5);
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--sand .eyebrow { color: var(--rust-dark); }

.text-gold { color: var(--gold); }
.text-rust { color: var(--rust-light); }
.section--sand .text-rust { color: var(--rust-dark); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }

/* 4. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
@supports (overflow: clip) { .section { overflow: clip; } }
.section--dark { background: var(--basalt); }
.section--deep {
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(196, 138, 28, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(180, 67, 26, 0.14), transparent 60%),
    var(--basalt-2);
}
.section--sand {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(196, 138, 28, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(180, 67, 26, 0.08), transparent 60%),
    var(--sand);
  color: var(--ink-body);
}
.section--sand h1, .section--sand h2, .section--sand h3 { color: var(--ink); }
.section--sand .lead { color: var(--ink); }

/* Topographic contour texture (decorative) */
.contours {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600' fill='none' stroke='%23C48A1C' stroke-width='1.2'%3E%3Cpath d='M-20 420 C 80 360 160 470 280 400 S 480 300 620 360'/%3E%3Cpath d='M-20 460 C 90 400 170 510 290 440 S 490 340 620 400'/%3E%3Cpath d='M-20 500 C 100 440 180 550 300 480 S 500 380 620 440'/%3E%3Cpath d='M-20 380 C 70 320 150 430 270 360 S 470 260 620 320'/%3E%3Cpath d='M-20 340 C 60 280 140 390 260 320 S 460 220 620 280'/%3E%3Cpath d='M-20 120 C 120 60 200 170 330 110 S 520 40 620 80'/%3E%3Cpath d='M-20 160 C 130 100 210 210 340 150 S 530 80 620 120'/%3E%3Cpath d='M-20 200 C 140 140 220 250 350 190 S 540 120 620 160'/%3E%3C/svg%3E");
  background-size: 600px 600px;
}
.section--sand .contours { opacity: 0.12; filter: hue-rotate(-10deg) saturate(0.6); }

.section-head { display: grid; gap: var(--s-5); margin-bottom: var(--s-8); max-width: 820px; }
.section-head p { margin: 0; }
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }

/* 5. NAV + BUTTONS --------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: var(--s-4);
  transition: transform 0.5s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  max-width: calc(var(--max) + 2rem); margin-inline: auto;
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5);
  border-radius: var(--radius-pill);
}
/* Floating pill background fades in (opacity only) once scrolled */
.nav__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(39, 33, 26, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(142, 51, 18, 0.2);
  opacity: 0; transition: opacity 0.4s var(--ease-out);
}
.nav.is-scrolled .nav__inner::before { opacity: 1; }
@media (max-width: 899px) { .nav { padding-inline: var(--s-3); } }

.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--bone); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__word { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.01em; line-height: 1; text-transform: uppercase; }
.brand__word span { color: var(--gold); }
.brand { transition: opacity 0.2s; }
.brand:hover { opacity: 0.85; }
.brand:active { opacity: 0.7; }

.nav__links { display: none; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; display: block; padding: var(--s-2) var(--s-3);
  font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--bone-body);
  transition: opacity 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--bone); }
.nav__links a:active { opacity: 0.7; }
.nav__right { display: flex; align-items: center; gap: var(--s-3); }

.hours-chip {
  display: none; align-items: center; gap: var(--s-2);
  padding: var(--s-1) var(--s-3); border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 500; color: var(--bone-body);
  border: 1px solid var(--line-dark-strong); white-space: nowrap; text-decoration: none;
  transition: opacity 0.2s;
}
.hours-chip:hover { color: var(--bone); }
.hours-chip:active { opacity: 0.7; }
.hours-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bone-muted); }
.hours-chip.is-open .hours-chip__dot { background: #6FBF73; box-shadow: 0 0 0 4px rgba(111, 191, 115, 0.18); }
.hours-chip.is-closed .hours-chip__dot { background: var(--rust-light); }


@media (min-width: 1180px) { .hours-chip { display: inline-flex; } }

.nav__toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--basalt-3); border: 1px solid var(--line-dark-strong); cursor: pointer;
  transition: transform 0.3s var(--ease-spring);
}
.nav__toggle:hover { transform: scale(1.06); }
.nav__toggle:active { transform: scale(0.94); }
.nav__toggle-bars span { display: block; width: 18px; height: 2px; background: var(--bone); transition: transform 0.35s var(--ease-out), opacity 0.2s; }
.nav__toggle-bars span + span { margin-top: 5px; }
.nav__toggle-bars { display: grid; }
@media (min-width: 1000px) { .nav__links { display: flex; } .nav .nav__toggle { display: none; } }
.nav-open .nav__toggle-bars span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav__toggle-bars span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-10) var(--gutter) var(--s-7);
  background:
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(180, 67, 26, 0.25), transparent 60%),
    var(--basalt);
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease-out), visibility 0s 0.35s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease-out); }
.mobile-menu > ul { list-style: none; margin: 0 0 var(--s-7); padding: 0; }
.mobile-menu > ul > li > a {
  display: block; padding: var(--s-2) 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(2.6rem, 12vw, 4rem); text-transform: uppercase; line-height: 1.05; color: var(--bone);
  transform: translateY(20px); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.5s;
}
.mobile-menu > ul > li > a:hover { color: var(--gold); }
.mobile-menu > ul > li > a:active { opacity: 0.6; }
.nav-open .mobile-menu > ul > li > a { transform: none; opacity: 1; }
.nav-open .mobile-menu > ul > li:nth-child(2) > a { transition-delay: 0.04s; }
.nav-open .mobile-menu > ul > li:nth-child(3) > a { transition-delay: 0.08s; }
.nav-open .mobile-menu > ul > li:nth-child(4) > a { transition-delay: 0.12s; }
.nav-open .mobile-menu > ul > li:nth-child(5) > a { transition-delay: 0.16s; }
.mobile-menu__meta { display: grid; gap: var(--s-2); color: var(--bone-muted); font-size: 0.95rem; }
.mobile-menu__meta a { color: var(--bone); }
.nav-open { overflow: hidden; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 48px; padding: 0.85rem 1.5rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.35s var(--ease-spring), opacity 0.2s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease-spring); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.88rem; }

.btn--gold { background: var(--gold); color: var(--basalt); box-shadow: var(--shadow-glow); }
.btn--gold::after { /* brighter layer revealed on hover via opacity */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold)); opacity: 0; transition: opacity 0.25s;
}
.btn--gold:hover::after { opacity: 1; }
.btn > * { position: relative; z-index: 1; }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--line-dark-strong); }
.btn--ghost::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(244, 237, 226, 0.08); opacity: 0; transition: opacity 0.25s;
}
.btn--ghost:hover::after { opacity: 1; }
.section--sand .btn--ghost { color: var(--ink); border-color: var(--line-light-strong); }
.section--sand .btn--ghost::after { background: rgba(42, 29, 18, 0.06); }
.btn--ink { background: var(--ink); color: var(--sand-2); box-shadow: var(--shadow-md); }
.btn--ink::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--rust-dark); opacity: 0; transition: opacity 0.25s; }
.btn--ink:hover::after { opacity: 1; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 700; text-decoration: none; color: var(--gold);
  transition: opacity 0.2s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-spring); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:active { opacity: 0.7; }
.section--sand .link-arrow { color: var(--rust-dark); }

/* 6. HERO ------------------------------------------------------------------ */
.hero { position: relative; background: var(--basalt); }
/* The pin carries the visuals so it can stick while .hero.is-live scrolls */
.hero__pin {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--s-10) + var(--s-2)) 0 var(--s-7);
  background:
    radial-gradient(ellipse 50% 55% at 74% 52%, rgba(180, 67, 26, 0.42), transparent 66%),
    radial-gradient(ellipse 34% 40% at 76% 44%, rgba(224, 169, 58, 0.20), transparent 62%),
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(196, 138, 28, 0.08), transparent 60%),
    linear-gradient(180deg, #0D0B09 0%, var(--basalt) 60%, #0F0D0B 100%);
  overflow: hidden; isolation: isolate;
}
@supports (overflow: clip) { .hero__pin { overflow: clip; } }
.hero__content { position: relative; z-index: 2; }
.hero__content > * { max-width: 640px; }
@media (min-width: 1000px) { .hero__content .hero__sub { max-width: 38ch; } }
.hero__title { margin-bottom: var(--s-5); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.02em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--bone-body); max-width: 46ch; margin-bottom: var(--s-6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }

.trust {
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6);
  padding-top: var(--s-5); border-top: 1px solid var(--line-dark);
  list-style: none; margin: 0; padding-left: 0;
}
.trust li { display: grid; gap: 2px; }
.trust strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--bone); letter-spacing: 0.01em; }
.trust span { font-size: 0.78rem; color: var(--bone-muted); letter-spacing: 0.04em; }

/* Background bike sequence (transparent frames on a canvas) */
.hero__seq {
  position: absolute; z-index: 0; aspect-ratio: 1280 / 712;
  /* mobile: large, low, behind the copy */
  width: 108vw; left: 50%; bottom: 3%; transform: translateX(-50%);
  opacity: 0.6;
}
@media (min-width: 700px) { .hero__seq { width: 100vw; opacity: 0.65; } }
@media (min-width: 1000px) {
  .hero__seq { width: min(68vw, 1280px); left: auto; right: -5vw; bottom: auto; top: 52%; transform: translateY(-50%); opacity: 1; }
}
.hero__poster, .hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
}
.hero__canvas { opacity: 0; }
.hero.is-ready .hero__canvas { opacity: 1; }
.hero.is-ready .hero__poster { opacity: 0; }
/* Legibility scrim between the bike and the copy */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 11, 9, 0.85) 0%, rgba(13, 11, 9, 0.55) 45%, rgba(13, 11, 9, 0.1) 75%, transparent 100%);
}
@media (min-width: 1000px) {
  .hero__scrim { background: linear-gradient(90deg, rgba(13, 11, 9, 0.92) 0%, rgba(13, 11, 9, 0.7) 32%, rgba(13, 11, 9, 0) 55%); }
}
.hero__progress {
  position: absolute; z-index: 2; left: 50%; bottom: var(--s-4); transform: translateX(-50%);
  width: min(200px, 40vw); height: 2px; border-radius: 2px; background: var(--line-dark-strong); overflow: hidden;
  display: none;
}
.hero__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--rust)); transform: scaleX(0); transform-origin: left; }

/* Live (JS) mode: tall hero, sticky pin; scroll progress picks the frame */
.hero.is-live { height: 260vh; }
@media (max-width: 699px) { .hero.is-live { height: 220vh; } }
.hero.is-live .hero__pin { position: sticky; top: 0; }  /* JS lowers top when the pin is taller than the screen */
@media (min-width: 700px) { .hero.is-live .hero__progress { display: block; } }
.hero.is-live .scroll-cue { display: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: var(--s-5); transform: translateX(-50%);
  display: none; gap: var(--s-2); justify-items: center;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-muted);
}
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 1000px) and (min-height: 760px) { .scroll-cue { display: grid; } }

/* Sub-page hero */
.page-hero {
  position: relative; padding: calc(var(--s-10) + var(--s-7)) 0 var(--s-9);
  background:
    radial-gradient(ellipse 50% 60% at 90% 30%, rgba(180, 67, 26, 0.30), transparent 65%),
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(196, 138, 28, 0.10), transparent 60%),
    var(--basalt);
  overflow: hidden; isolation: isolate;
}
.page-hero h1 { max-width: 14ch; margin-bottom: var(--s-6); }
.page-hero .lead { max-width: 52ch; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.breadcrumb { display: flex; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-5); font-size: 0.82rem; color: var(--bone-muted); }
.breadcrumb a { color: var(--bone-body); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); opacity: 0.5; }

/* 7. MARQUEE --------------------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden; padding-block: var(--s-5);
  background: var(--gold); color: var(--basalt);
  border-block: 1px solid rgba(0, 0, 0, 0.2);
}
.marquee--rust { background: var(--rust); color: var(--bone); }
.marquee__track { display: flex; width: max-content; }
/* Start only after window load so the loop never competes with first paint */
.is-loaded .marquee__track { will-change: transform; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: var(--s-6); padding-right: var(--s-6); }
.marquee__item { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; white-space: nowrap; }
.marquee__sep { width: 14px; height: 14px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8. PRO-BUILD ------------------------------------------------------------- */
.probuild__layout { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) {
  .probuild__layout { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-9); align-items: start; }
  .probuild__sticky { position: sticky; top: calc(var(--s-10) + var(--s-2)); }
}
.value-card {
  position: relative; margin-top: var(--s-6); padding: var(--s-6);
  border-radius: var(--radius-lg); background: var(--ink); color: var(--sand);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.value-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(196, 138, 28, 0.35), transparent 60%);
}
.value-card > * { position: relative; }
.value-card__amount { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--gold-light); }
.value-card__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-3); margin-bottom: var(--s-3); }
.value-card p { color: var(--sand-3); margin: var(--s-3) 0 0; font-size: 0.95rem; }
.value-card__free {
  position: absolute; top: var(--s-5); right: var(--s-5);
  padding: var(--s-1) var(--s-3); border-radius: var(--radius-pill);
  background: var(--rust); color: var(--bone); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 var(--s-7); counter-reset: step; }
.steps__rail { position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: var(--line-light-strong); border-radius: 2px; }
.steps__rail-fill { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--rust)); transform-origin: top; transform: scaleY(0); }
.step {
  position: relative; padding: var(--s-6); margin-bottom: var(--s-5);
  border-radius: var(--radius-lg); background: var(--sand-2);
  border: 1px solid var(--line-light); box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-spring);
}
.step:hover { transform: translateX(6px); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: calc(-1 * var(--s-7) - 2px); top: var(--s-6);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--sand); border: 2px solid var(--gold-dark);
  font-size: 0.72rem; font-weight: 700; color: var(--ink);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { margin: 0; font-size: 0.98rem; }
.step__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); padding: 0; list-style: none; }
.step__tags li { padding: 2px var(--s-3); border-radius: var(--radius-pill); background: var(--sand-3); font-size: 0.78rem; font-weight: 500; color: var(--ink); }

/* 9. ISLAND CONDITIONS (stats + torque) ----------------------------------- */
.stats { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); margin-bottom: var(--s-9); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--s-6) var(--s-5); border-radius: var(--radius-lg);
  background: var(--basalt-2); border: 1px solid var(--line-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--bone); }
.stat__num small { font-size: 0.45em; color: var(--gold); margin-left: 4px; }
.stat__label { margin-top: var(--s-3); font-size: 0.9rem; color: var(--bone-muted); line-height: 1.5; }

.torque {
  display: grid; gap: var(--s-7); padding: clamp(var(--s-6), 5vw, var(--s-8));
  border-radius: var(--radius-lg); background: var(--basalt-3);
  border: 1px solid var(--line-dark); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 4px 20px rgba(142, 51, 18, 0.15);
}
@media (min-width: 900px) { .torque { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.torque h3 { color: var(--bone); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: var(--s-4); }
.bars { display: grid; gap: var(--s-5); }
.bar__head { display: flex; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-2); font-size: 0.9rem; }
.bar__head strong { color: var(--bone); font-weight: 700; }
.bar__head span { color: var(--bone-muted); }
.bar__track { height: 14px; border-radius: var(--radius-pill); background: rgba(244, 237, 226, 0.08); overflow: hidden; }
.bar__fill { height: 100%; border-radius: inherit; transform-origin: left; background: var(--bone-muted); }
.bar--hub .bar__fill { background: linear-gradient(90deg, var(--rust), var(--gold-light)); box-shadow: 0 0 24px rgba(224, 169, 58, 0.5); }
.bar__note { font-size: 0.8rem; color: var(--bone-muted); margin-top: var(--s-2); }

/* 10. CARDS / TIERS -------------------------------------------------------- */
.cards { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.bike-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 380px; padding: var(--s-6); border-radius: var(--radius-lg);
  background: var(--basalt-2); border: 1px solid var(--line-dark);
  text-decoration: none; color: var(--bone-body); overflow: hidden; isolation: isolate;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.55s var(--ease-spring);
  will-change: transform;
}
.bike-card:hover { transform: translateY(-6px); }
.bike-card:active { transform: translateY(-2px) scale(0.99); }
.bike-card::before { /* glow, revealed on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(196, 138, 28, 0.22), transparent 70%);
  opacity: 0; transition: opacity 0.45s;
}
.bike-card:hover::before { opacity: 1; }
.bike-card__icon { width: min(100%, 240px); height: 130px; margin-bottom: auto; padding-bottom: var(--s-6); color: var(--gold); opacity: 0.9; transition: transform 0.6s var(--ease-spring); }
.bike-card--wide .bike-card__icon { width: min(100%, 320px); height: 170px; }
.bike-card:hover .bike-card__icon { transform: translateX(10px) rotate(-2deg); }
.bike-card__icon svg { width: 100%; height: 100%; }
.bike-card__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-2); }
.bike-card h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; line-height: 1; margin-bottom: var(--s-3); letter-spacing: 0.005em; }
.bike-card p { font-size: 0.94rem; margin-bottom: var(--s-4); }
.bike-card--feature { background: linear-gradient(160deg, var(--rust-dark), #4A1A08 70%); border-color: rgba(224, 169, 58, 0.25); }
.bike-card--feature .bike-card__icon, .bike-card--feature .bike-card__tag { color: var(--gold-light); }
@media (min-width: 1000px) { .bike-card--wide { grid-column: span 2; } }

.tier {
  position: relative; display: flex; flex-direction: column; padding: var(--s-6);
  border-radius: var(--radius-lg); background: var(--sand-2);
  border: 1px solid var(--line-light); box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-spring);
}
.tier:hover { transform: translateY(-6px); }
.tier--pop { background: var(--ink); color: var(--sand-3); border-color: transparent; box-shadow: var(--shadow-lg); }
.tier--pop h3 { color: var(--sand-2) !important; }
.tier__flag { position: absolute; top: -12px; left: var(--s-6); padding: 2px var(--s-3); border-radius: var(--radius-pill); background: var(--gold); color: var(--basalt); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tier h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin-bottom: var(--s-2); }
.tier__price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--rust-dark); margin: var(--s-3) 0 var(--s-1); }
.tier--pop .tier__price { color: var(--gold-light); }
.tier__price small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--ink-muted); margin-right: 4px; }
.tier--pop .tier__price small { color: var(--sand-3); }
.tier__desc { font-size: 0.92rem; margin-bottom: var(--s-5); }
.tier ul { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-2); font-size: 0.92rem; }
.tier li { display: flex; gap: var(--s-3); align-items: flex-start; }
.tier li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--rust); }
.tier--pop li svg { color: var(--gold-light); }
.tier .btn { margin-top: auto; }

.feature-list { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-list--3 { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: var(--s-6); border-radius: var(--radius); background: var(--basalt-2);
  border: 1px solid var(--line-dark);
  transition: transform 0.5s var(--ease-spring);
}
.feature:hover { transform: translateY(-4px); }
.section--sand .feature { background: var(--sand-2); border-color: var(--line-light); box-shadow: var(--shadow-sm); }
.feature__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(196, 138, 28, 0.14); color: var(--gold); margin-bottom: var(--s-4); }
.section--sand .feature__icon { background: rgba(180, 67, 26, 0.10); color: var(--rust-dark); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: var(--s-2); }
.feature p { margin: 0; font-size: 0.95rem; }

.brands { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .brands { grid-template-columns: repeat(3, 1fr); } }
.brand-tile {
  padding: var(--s-6); border-radius: var(--radius-lg); background: var(--sand-2);
  border: 1px solid var(--line-light); box-shadow: var(--shadow-sm);
}
.brand-tile__name { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; text-transform: uppercase; color: var(--ink); margin-bottom: var(--s-3); }
.brand-tile p { font-size: 0.95rem; margin: 0; }

/* 11. KŪLANI FEATURE / PHOTOS --------------------------------------------- */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); isolation: isolate;
  background: var(--basalt-2); box-shadow: var(--shadow-lg);
}
.photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; filter: grayscale(0.2) contrast(1.1) brightness(1.08); }
.photo::before { /* rust color treatment */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(224, 169, 58, 0.30), rgba(180, 67, 26, 0.42));
  mix-blend-mode: multiply;
}
.photo::after { /* legibility gradient */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}
.photo figcaption {
  position: absolute; z-index: 3; left: var(--s-5); right: var(--s-5); bottom: var(--s-4);
  font-size: 0.8rem; color: var(--bone); opacity: 0.9;
}
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--parallax img { height: 124%; margin-top: -12%; }

.kulani__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1000px) { .kulani__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-9); } }
.kulani__photos { position: relative; }
.kulani__photos .photo:nth-child(2) {
  position: absolute; width: 52%; right: -4%; bottom: -14%; aspect-ratio: 1;
  border: 6px solid var(--basalt-2); box-shadow: var(--shadow-lg);
}
@media (max-width: 999px) { .kulani__photos { margin-bottom: var(--s-8); } }
.credits { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); }
.credits li { padding: var(--s-1) var(--s-3); border-radius: var(--radius-pill); border: 1px solid var(--line-dark-strong); font-size: 0.8rem; color: var(--bone-body); }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: var(--s-5); padding-block: var(--s-5); border-top: 1px solid var(--line-dark); }
.timeline li:last-child { border-bottom: 1px solid var(--line-dark); }
.timeline__year { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--gold); }
.timeline h3 { margin-bottom: var(--s-1); }
.timeline p { margin: 0; font-size: 0.95rem; }

/* 12. REVIEWS -------------------------------------------------------------- */
.reviews { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .reviews { grid-template-columns: 1.2fr 1fr 1fr; } }
.review {
  display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-6);
  border-radius: var(--radius-lg); background: var(--sand-2);
  border: 1px solid var(--line-light); box-shadow: var(--shadow-md);
}
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.review footer { margin-top: auto; font-size: 0.85rem; color: var(--ink-muted); }
.review footer strong { color: var(--ink); display: block; }
.review--award { background: var(--ink); color: var(--sand-3); justify-content: space-between; }
.review--award .award__num { font-family: var(--font-display); font-size: clamp(5rem, 10vw, 8rem); line-height: 0.85; color: var(--gold-light); }
.review--award p { color: var(--sand-3); margin: 0; }
.review--award strong { color: var(--sand-2); }
.stars { display: flex; gap: 2px; color: var(--gold-dark); }
.stars svg { width: 16px; height: 16px; }

/* Price-match band */
.band {
  position: relative; padding-block: clamp(var(--s-8), 9vw, var(--s-10));
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(224, 169, 58, 0.35), transparent 60%),
    linear-gradient(120deg, var(--rust-dark), var(--rust) 60%, #C2581F);
  color: var(--bone); overflow: hidden;
}
.band__inner { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .band__inner { grid-template-columns: 1.4fr auto; } }
.band h2 { color: var(--bone); }
.band p { color: rgba(244, 237, 226, 0.9); margin: var(--s-4) 0 0; }
.band .btn--gold { background: var(--basalt); color: var(--bone); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.band .btn--gold::after { background: var(--basalt-3); }

/* 13. VISIT / CONTACT ------------------------------------------------------ */
.visit { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .visit { grid-template-columns: 1fr 1.1fr; align-items: stretch; } }
.visit__card {
  padding: clamp(var(--s-6), 4vw, var(--s-7)); border-radius: var(--radius-lg);
  background: var(--basalt-2); border: 1px solid var(--line-dark); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}
.info-list { display: grid; gap: var(--s-5); margin: var(--s-6) 0; padding: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); align-items: start; }
.info-list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.info-list strong { display: block; color: var(--bone); font-weight: 700; }
.info-list a { color: var(--bone); text-decoration-color: rgba(196, 138, 28, 0.6); text-underline-offset: 3px; }
.info-list a:hover { color: var(--gold-light); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: var(--s-2) 0; border-bottom: 1px solid var(--line-dark); }
.hours td:last-child { text-align: right; color: var(--bone); }
.hours tr.is-today td { color: var(--gold-light); font-weight: 700; }
.map {
  position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--basalt-3); border: 1px solid var(--line-dark); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.9) invert(0.92) contrast(0.9) sepia(0.25); }
.map__load {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--s-4); text-align: center; padding: var(--s-6);
  background:
    radial-gradient(circle at 50% 45%, rgba(180, 67, 26, 0.25), transparent 50%),
    var(--basalt-3);
  color: var(--bone-body);
}
.map__pin { width: 56px; height: 56px; color: var(--gold); }

.faq { display: grid; gap: var(--s-3); max-width: 880px; }
.faq details {
  border-radius: var(--radius); background: var(--sand-2); border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) var(--s-6); cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--rust-dark); transition: transform 0.35s var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--rust-dark); }
.faq details p { padding: 0 var(--s-6) var(--s-5); margin: 0; }

/* 14. FORMS ---------------------------------------------------------------- */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--bone); }
.section--sand .field label { color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.8rem 1rem; border-radius: 12px;
  font: inherit; font-size: 1rem; color: var(--bone);
  background: var(--basalt); border: 1px solid var(--line-dark-strong);
  transition: opacity 0.2s;
}
.section--sand .field input, .section--sand .field select, .section--sand .field textarea {
  background: var(--sand-2); color: var(--ink); border-color: var(--line-light-strong);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.field__hint { font-size: 0.8rem; color: var(--bone-muted); }
.section--sand .field__hint { color: var(--ink-muted); }
.form__note { font-size: 0.82rem; color: var(--bone-muted); margin: 0; }
.section--sand .form__note { color: var(--ink-muted); }
.form__status { font-weight: 700; color: var(--gold-light); min-height: 1.5em; margin: 0; }
.section--sand .form__status { color: var(--rust-dark); }
.form-card {
  padding: clamp(var(--s-6), 4vw, var(--s-7)); border-radius: var(--radius-lg);
  background: var(--sand-2); border: 1px solid var(--line-light); box-shadow: var(--shadow-lg);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.newsletter { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.newsletter input {
  flex: 1 1 220px; min-height: 48px; padding: 0 var(--s-5); border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark-strong); background: var(--basalt); color: var(--bone); font: inherit;
}
.newsletter input:hover { border-color: var(--gold); }
.newsletter input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* 15. FOOTER, 404, UTILITIES ---------------------------------------------- */
.footer { position: relative; padding: var(--s-9) 0 var(--s-6); background: #0B0907; border-top: 1px solid var(--line-dark); overflow: hidden; }
.footer .footer__big {
  font-family: var(--font-display); text-transform: uppercase; line-height: 0.82;
  font-size: clamp(4rem, 17vw, 15rem); letter-spacing: -0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(196, 138, 28, 0.35);
  margin: var(--s-8) 0 0; white-space: nowrap; user-select: none;
}
.footer__grid { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer h2, .footer .footer__label { font-family: var(--font-body); text-transform: uppercase; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); margin-bottom: var(--s-4); line-height: 1.4; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer a { color: var(--bone-body); text-decoration: none; transition: opacity 0.2s; }
.footer a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.footer a:active { opacity: 0.7; }
.footer p { font-size: 0.95rem; }
.footer__logo { width: 190px; border-radius: var(--radius-sm); margin-bottom: var(--s-5); box-shadow: var(--shadow-md); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-6); margin-top: var(--s-6); border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--bone-muted); }
.social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-dark-strong); transition: transform 0.35s var(--ease-spring);
}
.social a:hover { transform: translateY(-3px); text-decoration: none; }
.social a:active { transform: scale(0.94); }
.social svg { width: 18px; height: 18px; }

.notfound { min-height: 100svh; display: grid; align-items: center; }
.notfound__code { font-family: var(--font-display); font-size: clamp(8rem, 30vw, 22rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 2px var(--gold); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.center { text-align: center; margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Placeholder review mode: add ?placeholders to any URL */
.show-placeholders [data-placeholder] { outline: 2px dashed #FF4FD8 !important; outline-offset: 2px; position: relative; }
.show-placeholders [data-placeholder]::after {
  content: "PLACEHOLDER: " attr(data-placeholder); position: absolute; left: 0; top: -1.6em; z-index: 50;
  background: #FF4FD8; color: #000; font: 700 10px/1.6 var(--font-body); padding: 0 6px; border-radius: 3px; white-space: nowrap;
  opacity: 1; mix-blend-mode: normal;
}

/* Reveal initial state — only when JS + motion are available (set in <head>) */
.js-motion [data-reveal] { opacity: 0; }

/* REDUCED MOTION ---------------------------------------------------------- */
@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; }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Hero entrance — pure CSS so first paint never waits on GSAP (LCP).
   Only transform + opacity. Disabled by .no-motion / reduced motion. */
@keyframes hbh-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes hbh-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hbh-fade-in { from { opacity: 0; } to { opacity: 1; } }
/* Desktop only: on throttled mobile CPUs the entrance delayed first paint (Lighthouse FCP 3.3s → see audit) */
@media (min-width: 1000px) {
  .js-motion .hero__title .line > span,
  .js-motion .page-hero h1 .line > span { animation: hbh-rise 1.1s var(--ease-out) both; }
  .js-motion .hero__title .line:nth-child(2) > span, .js-motion .page-hero h1 .line:nth-child(2) > span { animation-delay: 0.08s; }
  .js-motion .hero__title .line:nth-child(3) > span { animation-delay: 0.16s; }
  .js-motion .hero__title .line:nth-child(4) > span { animation-delay: 0.24s; }
  .js-motion [data-hero-fade] { animation: hbh-fade-up 0.9s var(--ease-out) 0.35s both; }
  .js-motion [data-hero-fade] ~ [data-hero-fade] { animation-delay: 0.45s; }
  .js-motion [data-hero-fade] ~ [data-hero-fade] ~ [data-hero-fade] { animation-delay: 0.55s; }
  .js-motion .hero__seq { animation: hbh-fade-in 1.6s var(--ease-out) 0.15s both; }
}
.checklist { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--rust-dark); }
.section--dark .checklist li, .section--deep .checklist li { color: var(--bone); }
.section--dark .checklist svg, .section--deep .checklist svg { color: var(--gold); }
ul.feature-list { list-style: none; margin: 0; padding: 0; }
@media (max-width: 999px) { .kulani__photos .photo:nth-child(2) { right: 0; width: 46%; bottom: -10%; } }

.brand__word { white-space: nowrap; }
@media (max-width: 420px) { .brand__word { font-size: 1.12rem; } .nav__right .btn--sm { padding-inline: 0.9rem; } }

/* Compact hero on phones so the pinned stage fits most screens */
@media (max-width: 699px) {
  .hero__pin { padding-top: calc(var(--s-9) + var(--s-3)); padding-bottom: 38vw; }
  .hero__sub { font-size: 1rem; line-height: 1.6; margin-bottom: var(--s-5); }
  .hero__ctas { flex-wrap: nowrap; margin-bottom: var(--s-5); }
  .hero__ctas .btn { padding-inline: 1.1rem; }
  .hero__ctas .btn--ghost { background: rgba(13, 11, 9, 0.6); }
  .trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); padding-top: var(--s-4); }
  .trust strong { font-size: 1.35rem; }
  .trust span { font-size: 0.7rem; line-height: 1.35; }
  .hide-sm { display: none; }
}

/* 16. PRODUCT CATALOG (Bikes page) -------------------------------------------
   Cards generated by tools/build_catalog.py. Product photos are shot on white,
   so the cards are white and float on the basalt section.                    */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); scroll-margin-top: 120px; }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 42px; padding: 0.45rem 1rem; border-radius: var(--radius-pill);
  background: transparent; border: 1px solid var(--line-dark-strong); color: var(--bone-body);
  font-size: 0.9rem; font-weight: 700; cursor: pointer; scroll-margin-top: 120px;
  transition: transform 0.3s var(--ease-spring), opacity 0.2s;
}
.chip span { font-size: 0.75rem; font-weight: 500; color: var(--bone-muted); }
.chip:hover { transform: translateY(-2px); color: var(--bone); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--basalt); }
.chip[aria-pressed="true"] span { color: rgba(18, 16, 13, 0.7); }

.products { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: #FFFFFF; color: var(--ink-body);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(142, 51, 18, 0.12);
  transition: transform 0.45s var(--ease-spring), opacity 0.3s;
}
.product:hover { transform: translateY(-5px); }
.product[hidden] { display: none; }
/* Fixed 4:3 frame: the image is positioned inside it, so no photo can stretch its card */
.product__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #FFFFFF; flex: none; }
.product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: var(--s-3); transition: transform 0.5s var(--ease-spring); }
/* Gear photos are pre-framed at exactly 800x600 (tools/catalog/frame_gear.py): fill the frame edge to edge */
.product[data-group="gear"] .product__img img { object-fit: cover; padding: 0; }
.product:hover .product__img img { transform: scale(1.04); }
.product__body {
  display: flex; flex-direction: column; flex: 1; gap: var(--s-2);
  padding: var(--s-4); background: var(--sand-2); border-top: 1px solid var(--line-light);
}
.product__tag { margin: 0; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-dark); }
.product__name { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; line-height: 1.3; color: var(--ink); text-transform: none; }
.product__specs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.product__specs li { padding: 1px 8px; border-radius: var(--radius-pill); background: var(--ink); color: var(--gold-light); font-size: 0.7rem; font-weight: 700; }
.product__blurb { margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-body);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2); margin-top: auto; padding-top: var(--s-2); }
.product__price { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--ink); }
.product .link-arrow { font-size: 0.85rem; color: var(--rust-dark); }
.catalog-note { margin: var(--s-6) 0 0; font-size: 0.88rem; color: var(--bone-muted); max-width: none; }
.catalog-note a { color: var(--gold-light); }
@media (max-width: 559px) {
  .product__body { padding: var(--s-3); }
  .product__blurb { display: none; }
  .product__name { font-size: 0.88rem; }
  .product__price { font-size: 1.15rem; }
  .product .link-arrow svg { display: none; }
}

/* 17. NAV DROPDOWN (Online Catalog) -------------------------------------------
   Opens on hover / keyboard focus (desktop) and via the ▾ toggle (touch,
   keyboard). Only opacity + transform animate.                             */
.has-menu { position: relative; display: flex; align-items: center; }
.submenu-toggle {
  display: grid; place-items: center; width: 28px; height: 32px; margin-left: -6px;
  background: none; border: 0; border-radius: 8px; color: var(--bone-muted); cursor: pointer;
  transition: transform 0.3s var(--ease-spring);
}
.submenu-toggle svg { width: 11px; height: 8px; transition: transform 0.3s var(--ease-out); }
.submenu-toggle:hover { color: var(--gold); }
.submenu-toggle:active { transform: scale(0.9); }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 14px); left: -12px; z-index: 120;
  display: grid; grid-template-columns: auto auto; gap: var(--s-2) var(--s-5);
  padding: var(--s-4); border-radius: var(--radius);
  background: rgba(39, 33, 26, 0.97); border: 1px solid var(--line-dark-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(142, 51, 18, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.22s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s 0.3s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.is-open .submenu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.22s var(--ease-out), transform 0.3s var(--ease-out);
}
.has-menu.is-closed .submenu { opacity: 0; visibility: hidden; transform: translateY(-6px); } /* Escape beats hover */
.submenu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.submenu__cats { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); }
.submenu ul.submenu__extra { padding-left: var(--s-5); border-left: 1px solid var(--line-dark); }
.nav__links .submenu a { display: block; padding: 0.4rem 0.6rem; border-radius: 8px; white-space: nowrap; font-size: 0.9rem; color: var(--bone-body); }
.nav__links .submenu a::after { display: none; }
.nav__links .submenu a:hover { background: rgba(196, 138, 28, 0.14); color: var(--bone); }
.nav__links .submenu__cats li:first-child a { color: var(--gold); font-weight: 700; }
.nav__links .submenu__extra a { color: var(--bone-muted); font-size: 0.85rem; }

/* Mobile menu: catalog categories as a compact sub-list */
.mobile-menu { overflow-y: auto; justify-content: flex-start; } /* tall menu scrolls instead of clipping its top */
.mobile-menu__sub {
  list-style: none; margin: var(--s-1) 0 var(--s-4); padding: 0 0 0 var(--s-1);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--s-4);
  opacity: 0; transition: opacity 0.5s 0.15s;
}
.nav-open .mobile-menu__sub { opacity: 1; }
.mobile-menu__sub a { display: block; padding: 0.35rem 0; font-size: 1rem; font-weight: 500; color: var(--bone-body); text-decoration: none; }
.mobile-menu__sub a:hover { color: var(--gold); }
.mobile-menu__sub a:active { opacity: 0.6; }

/* Kahakō fix: animated headline lines are masked (overflow: hidden) and the
   macron on capitals (Ū, Ō, Ā) sits above cap height, so it was clipped
   ("HŪLŌ" showed as "HULO"). Extra top padding widens the mask; the equal
   negative margin keeps the layout exactly where it was. */
.hero__title .line, .page-hero h1 .line { padding-top: 0.16em; margin-top: -0.16em; }

/* Kahakō centering: Anton's "ccmp" feature has a contextual rule that knocks the
   macron off-centre when Ō follows L (HŪLŌ showed the bar hanging right, over the "!").
   All Hawaiian text on the site uses precomposed letters (ā ē ī ō ū, ʻokina), so ccmp
   is not needed; turning it off draws every macron centred over its letter. */
body { font-feature-settings: "ccmp" 0; }

/* Catalog pricing detail (2026-11): out-the-door total, then MSRP/freight and special-order terms.
   Sale cards strike through the old price; badges mark specials. */
.product__foot { align-items: flex-end; }
.product__pricing { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.product__was { margin-right: 4px; font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--ink-body); opacity: 0.75; text-decoration-thickness: 1.5px; }
.product__terms { font-size: 0.72rem; line-height: 1.35; color: var(--ink-body); }
.product__terms + .product__terms { color: var(--rust-dark); font-weight: 700; }
.product__badge {
  position: absolute; top: var(--s-2); left: var(--s-2); z-index: 1;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--rust); color: #FFF8EC;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(180, 67, 26, 0.22), 0 8px 18px -8px rgba(18, 16, 13, 0.35);
}
@media (max-width: 759px) { .product__terms { font-size: 0.66rem; } .product__badge { font-size: 0.58rem; padding: 2px 7px; } }

/* One-off special hours (filled + shown by main.js only in the week before the date) */
.special-hours { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: var(--s-2) var(--s-3);
  border: 1px solid rgba(196, 138, 28, 0.45); border-radius: var(--radius-sm, 10px); background: rgba(196, 138, 28, 0.1);
  color: var(--bone); font-size: 0.9rem; line-height: 1.5; }
.special-hours[hidden] { display: none; }
.special-hours strong { color: var(--gold-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.special-hours--footer { margin-top: var(--s-3); font-size: 0.85rem; }
.hours__special { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }

/* Out-of-stock catalog items (products.json "stock": "out") */
.product__badge--out { background: #3A332B; }
.product--out .product__img img { opacity: 0.55; }
.product__terms--out { color: var(--rust); font-weight: 600; }
