/* ============================================================
   KOPI TEMPUR — styles.css
   Brand: heritage coffee + modern performance product
   ============================================================ */

/* ---------- BRAND COLOR SYSTEM ---------- */
:root {
  --orange: #F36D21;
  --brown-dark: #432A14;
  --brown-medium: #5E402B;
  --earth: #CEAC80;
  --white: #FFFFFF;
  --black: #000000;

  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --grain-opacity: 0.06;
}

/* ---------- BASE ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  background: var(--brown-dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typography hierarchy helpers */
.font-light   { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-semibold{ font-weight: 600; }
.font-extrabold{ font-weight: 800; }

::selection {
  background: var(--orange);
  color: var(--white);
}

/* Dark scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--brown-dark); }
::-webkit-scrollbar-thumb {
  background: var(--brown-medium);
  border: 2px solid var(--brown-dark);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ---------- GRAIN / TEXTURE OVERLAY ---------- */
/* Applied to a full-viewport fixed layer OR per-section via a child */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background-color 0.45s var(--ease-premium),
              backdrop-filter 0.45s var(--ease-premium),
              padding 0.45s var(--ease-premium),
              box-shadow 0.45s var(--ease-premium);
  padding: 1.25rem 0;
  background: transparent;
}

.navbar.navbar-scrolled {
  background: rgba(67, 42, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.7rem 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.navbar .nav-logo {
  transition: height 0.45s var(--ease-premium), width 0.45s var(--ease-premium);
}
.navbar.navbar-scrolled .nav-logo {
  height: 40px;
}

/* Nav links */
.nav-link {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0%;
  background: var(--orange);
  transition: width 0.35s var(--ease-premium);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--brown-dark);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease-premium);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu .menu-link {
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
}
.mobile-menu.open .menu-link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .menu-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .menu-link:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.open .menu-link:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.open .menu-link:nth-child(4) { transition-delay: 0.32s; }
.mobile-menu.open .menu-link:nth-child(5) { transition-delay: 0.4s; }

body.menu-open { overflow: hidden; }

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 61;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--white);
  transition: transform 0.4s var(--ease-premium), opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- SECTION SHELL (shared horizontal gutter) ---------- */
.section-shell {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .section-shell { padding-inline: 2rem; }
}

/* ---------- SECTION LABELS ---------- */
.section-label {
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--earth);
}
.section-label.accent { color: var(--orange); }

/* ---------- OUTLINED TEXT ---------- */
.text-outline-dark {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(67, 42, 20, 0.55);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-premium), background-color 0.3s ease,
              color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.btn-solid {
  background: var(--orange);
  color: var(--white);
}
.btn-solid:hover {
  background: #ff7d33;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(243,109,33,0.5);
}
.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--brown-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--brown-medium); transform: translateY(-2px); }

/* ---------- SCROLL REVEAL SYSTEM ---------- */
/* Hidden state only applied when JS is active (html.js), so content
   stays visible if scripts fail to load. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
  will-change: opacity, transform;
}
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="left"]  { transform: translateX(-48px); }
html.js [data-reveal="right"] { transform: translateX(48px); }
html.js [data-reveal="scale"] { transform: scale(0.92); }

html.js [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
html.js [data-reveal].revealed[data-reveal="left"],
html.js [data-reveal].revealed[data-reveal="right"] { transform: translateX(0); }
html.js [data-reveal].revealed[data-reveal="scale"] { transform: scale(1); }

/* staggered delays */
.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.16s; }
.reveal-3 { transition-delay: 0.24s; }
.reveal-4 { transition-delay: 0.32s; }
.reveal-5 { transition-delay: 0.4s; }

/* ---------- CLIP / MASK REVEAL ---------- */
html.js .clip-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease-premium);
}
html.js .clip-reveal.revealed { clip-path: inset(0 0 0 0); }

/* ---------- IMAGE ZOOM REVEAL ---------- */
html.js .zoom-reveal img {
  transform: scale(1.05);
  transition: transform 1.4s var(--ease-premium);
}
html.js .zoom-reveal.revealed img { transform: scale(1); }

/* ---------- MARQUEE ---------- */
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- PRODUCT "6" PULSE ---------- */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.06); opacity: 0.2; }
}
.breathe { animation: breathe 6s ease-in-out infinite; }

/* ---------- MEDIA ---------- */
img.img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   05 — INGREDIENTS
   ============================================================ */

/* Two columns on desktop, one on mobile. minmax(0, 1fr) keeps the
   scrollable ingredient track from sizing the column to its content. */
.ingredients-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .ingredients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 6rem;
  }
}

.ingredients-list,
.ingredients-excerpt-wrap { min-width: 0; }

.ingredients-track-wrap { position: relative; }

/* Horizontal snap scroller on mobile; vertical list on desktop. */
.ingredients-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: -1.25rem;
  padding: 0 1.25rem 1rem;
}
.ingredients-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .ingredients-track {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
}

.ingredient {
  flex-shrink: 0;
  width: 80%;
  scroll-snap-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  padding: 0.75rem 0.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.ingredient:hover,
.ingredient.is-active { background: rgba(255, 255, 255, 0.05); }
.ingredient.is-active { border-color: var(--orange); }
@media (min-width: 768px) {
  .ingredient {
    width: auto;
    flex-shrink: 1;
    padding: 0.75rem;
  }
}

.ingredient-row { display: flex; align-items: center; gap: 0.75rem; }

.ingredient-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(243, 109, 33, 0.35);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-premium);
}
.ingredient:hover .ingredient-thumb {
  border-color: var(--orange);
  transform: scale(1.05);
}

.ingredient-name { font-weight: 600; font-size: 1.125rem; }
@media (min-width: 768px) {
  .ingredient-name { font-size: 1.25rem; }
}
.ingredient-note {
  display: block;
  margin-top: 0.125rem;
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--earth);
}

/* Mobile swipe affordances (fade + arrows) */
.ingredients-fade {
  position: absolute;
  inset-block: 0;
  right: -1.25rem;
  width: 4rem;
  pointer-events: none;
  background: linear-gradient(to left, var(--brown-medium), transparent);
}
.ing-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(67, 42, 20, 0.85);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.ing-arrow:hover { border-color: var(--orange); background: rgba(67, 42, 20, 0.95); }
.ing-arrow:disabled { opacity: 0.3; cursor: default; }
.ing-arrow-prev { left: -6px; }
.ing-arrow-next { right: -6px; }

.ingredients-hint { display: none; }
@media (min-width: 768px) {
  .ingredients-hint {
    display: block;
    margin-top: 1.5rem;
    font-weight: 300;
    font-size: 0.875rem;
    color: rgba(206, 172, 128, 0.7);
  }
  .ingredients-fade,
  .ing-arrow { display: none; }
}

/* Benefit excerpt panel */
.ingredient-excerpt {
  box-sizing: border-box;
  width: 100%;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  border-left: 2px solid var(--orange);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}
@media (min-width: 768px) {
  .ingredient-excerpt {
    max-width: 460px;
    margin-inline: auto;
  }
}
.ingredient-excerpt-number {
  display: block;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-size: clamp(56px, 9vw, 120px);
}
.ingredient-excerpt-text {
  margin-top: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.7;
  text-indent: 2.5rem;
}

/* Portrait side image in the Lifestyle "Work" row:
   fixed ratio on mobile, fills the row height on desktop. */
.lifestyle-portrait { aspect-ratio: 3 / 4; }
@media (min-width: 768px) {
  .lifestyle-portrait { aspect-ratio: auto; height: 100%; }
}

/* ---------- HORIZONTAL TEXT (Brand statement) ---------- */
.horiz-word {
  will-change: transform;
  display: inline-block;
}

/* ---------- DEALER FILTERS ---------- */
.dealer-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .dealer-filters {
    grid-template-columns: 1fr 1fr 1.4fr auto;
    align-items: end;
  }
}
.dealer-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dealer-filter-field label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth);
  font-weight: 300;
}
.dealer-select,
.dealer-input {
  min-height: 46px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
}
.dealer-select:focus,
.dealer-input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}
.dealer-select option { color: #111; }
.dealer-select:disabled { opacity: 0.5; }
.dealer-filter-actions { display: flex; gap: 0.6rem; }

/* ---------- DEALER GRID / CARDS ---------- */
.dealer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .dealer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .dealer-grid { grid-template-columns: repeat(3, 1fr); }
}

.dealer-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(243, 109, 33, 0.25);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-premium);
}
.dealer-card:hover {
  border-color: rgba(243, 109, 33, 0.6);
  transform: translateY(-3px);
}
.dealer-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}
.dealer-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.dealer-badge {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(243, 109, 33, 0.5);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  white-space: nowrap;
}
.dealer-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dealer-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  padding: 1.1rem 1.25rem;
}
.dealer-line {
  display: flex;
  gap: 0.6rem;
  font-weight: 300;
  color: var(--earth);
  font-size: 0.92rem;
  line-height: 1.5;
}
.dealer-line i {
  color: var(--orange);
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.dealer-line a { color: var(--earth); }
.dealer-line a:hover { color: var(--white); }
.dealer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.dealer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--earth);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.3rem 0.55rem;
  border-radius: 2px;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.dealer-link:hover {
  color: var(--white);
  border-color: var(--orange);
  background: rgba(243, 109, 33, 0.12);
}
.dealer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--orange);
}
.dealer-map-link:hover { color: #ff7d33; }
.dealer-card-map {
  width: 100%;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
}
.leaflet-container {
  background: #2b1a0d;
  font-family: inherit;
}
.dealer-notice {
  border: 1px solid rgba(243, 109, 33, 0.3);
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: 4px;
}

/* ---------- DEALER OVERVIEW MAP (Indonesia) ---------- */
.dealer-overview-map {
  width: 100%;
  height: 420px;
  border: 1px solid rgba(243, 109, 33, 0.35);
  border-radius: 4px;
  overflow: hidden;
  background: #2b1a0d;
  z-index: 1;
}
.dealer-overview-map .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(206, 172, 128, 0.8);
}
.dealer-overview-map .leaflet-control-attribution a { color: rgba(206, 172, 128, 0.9); }
@media (max-width: 767px) {
  .dealer-overview-map { height: 320px; }
}

/* Custom brand pin */
.dealer-pin-wrap { background: transparent; border: none; }
.dealer-pin {
  display: block;
  width: 18px;
  height: 18px;
  margin: 3px;
  border-radius: 9999px;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(243, 109, 33, 0.35), 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--ease-premium);
}
.leaflet-marker-icon:hover .dealer-pin,
.leaflet-marker-icon:focus .dealer-pin { transform: scale(1.25); }

/* Hover capsule (Leaflet tooltip restyled as mini-card) */
.dealer-capsule-tip {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.dealer-capsule-tip::before { display: none; }
.dealer-capsule {
  min-width: 200px;
  max-width: 250px;
  background: rgba(30, 18, 9, 0.96);
  border: 1px solid rgba(243, 109, 33, 0.6);
  border-radius: 14px;
  padding: 0.7rem 0.85rem 0.75rem;
  color: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}
.dealer-capsule-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  padding-right: 0.25rem;
}
.dealer-capsule-badge {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(243, 109, 33, 0.5);
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
}
.dealer-capsule-loc {
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--earth);
}
.dealer-capsule-addr,
.dealer-capsule-phone {
  margin-top: 0.2rem;
  font-weight: 300;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(206, 172, 128, 0.9);
}
.dealer-capsule-phone a { color: rgba(206, 172, 128, 0.9); text-decoration: underline; }
.dealer-capsule-cta {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.dealer-capsule-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.dealer-capsule-actions a {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(243, 109, 33, 0.6);
  color: var(--white);
  background: rgba(243, 109, 33, 0.18);
  white-space: nowrap;
}
.dealer-capsule-actions a:hover { background: var(--orange); }

/* Popup shell adopts the dark brand look */
.dealer-popup .leaflet-popup-content-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.dealer-popup .leaflet-popup-content {
  margin: 0;
  line-height: 1.4;
}
.dealer-popup .leaflet-popup-tip {
  background: rgba(30, 18, 9, 0.96);
  border: 1px solid rgba(243, 109, 33, 0.6);
}
.dealer-popup a.leaflet-popup-close-button {
  top: 6px !important;
  right: 10px !important;
  color: var(--earth);
  font-size: 16px;
  z-index: 10;
}

/* Card targeted from a map pin */
.dealer-card:target {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(243, 109, 33, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .dealer-pin { transition: none; }
}

/* ---------- HERO PARALLAX ---------- */
.hero-parallax {
  will-change: transform;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(44px, 17vw, 64px);
  }
}

/* ---------- REDUCED MOTION (global) ---------- */
@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;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .clip-reveal { clip-path: inset(0 0 0 0) !important; }
  .zoom-reveal img { transform: scale(1) !important; }
  .horiz-word { transform: none !important; }
  .hero-parallax { transform: none !important; }
}

/* ---------- LIFESTYLE vertical text ---------- */
.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

/* Prevent layout shift / focus styles */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
