/* ============================================================
   site.css — Global base styles on top of tokens + brand
   Imported after tokens.css and brand.css so vars resolve.
   ============================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; border-radius: var(--r-sm); }

/* Base */
body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-text); color: var(--color-bg);
  padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
  z-index: 1000;
}
.skip-link:focus { left: var(--s-3); top: var(--s-3); }

/* Layout helpers */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--s-4); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--s-3);
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: var(--t-hero); font-weight: 800; }
h2 { font-size: var(--t-xl);  font-weight: 700; }
h3 { font-size: var(--t-md);  font-weight: 600; }
p  { color: var(--color-text-2); max-width: var(--content-width); }

.text-2 { color: var(--color-text-2); }
.text-3 { color: var(--color-text-3); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  font-weight: 600;
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn-lg    { padding: var(--s-3) var(--s-5); font-size: var(--t-sm); }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand-primary); color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand-primary) 45%, transparent);
}
.btn-primary:hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--brand-primary) 55%, transparent); }
.btn-ghost {
  background: transparent; color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { background: var(--color-surface); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-3) 0;
}
.nav-brand  { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.nav-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-4);
  min-width: 0;
}

/* Oval logo frame — mirrors the two-ring design in the logo artwork */
.nav-logo-oval {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  padding: 3px;
  box-shadow: 0 0 0 2px #666, 0 0 0 4px #a3e635;
  background: #080a0f;
  transition: box-shadow var(--dur-base) var(--ease);
  flex-shrink: 0;
}
[data-theme="light"] .nav-logo-oval { background: #080a0f; box-shadow: 0 0 0 2px #555, 0 0 0 4px #5a9900; }
.nav-brand:hover .nav-logo-oval {
  box-shadow: 0 0 0 2px #888, 0 0 0 4px #a3e635, 0 0 16px rgba(163,230,53,0.35);
}
.nav-logo {
  height: 68px; width: 68px;
  object-fit: contain; border-radius: 50%;
  display: block;
}
.footer-logo-oval {
  padding: 2px;
  box-shadow: 0 0 0 1px #555, 0 0 0 2px #a3e635;
}
.footer-logo { height: 32px; width: 32px; }
[data-theme="light"] .footer-logo-oval { background: #fff; box-shadow: 0 0 0 1px #888, 0 0 0 2px #5a9900; }

/* Theme toggle */
.nav-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--r-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface); color: var(--color-text-2);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-theme-toggle:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.nav-theme-toggle .icon-moon { display: none; }
[data-theme="light"] .nav-theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .nav-theme-toggle .icon-moon { display: block; }
.nav-links  { display: flex; justify-content: center; gap: var(--s-5); font-size: var(--t-sm); }
.nav-links a { color: var(--color-text-2); transition: color var(--dur-base) var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-text); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Sections */
main > section { padding: var(--s-8) 0; position: relative; }
.section-title { margin-bottom: var(--s-5); max-width: 18ch; }

/* Hero */
.hero {
  min-height: min(92vh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-8) var(--s-4);
  max-width: var(--max-width); margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-title    { font-size: var(--t-hero); max-width: 16ch; margin-bottom: var(--s-3); }
.hero-subtitle { font-size: var(--t-md); color: var(--color-text-2); max-width: 46ch; margin-bottom: var(--s-5); }
.hero-ctas     { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* Features */
.features-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: var(--s-6);
}
.feature-card {
  padding: var(--s-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
}
.feature-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--brand-primary) 18%, transparent);
  color: var(--brand-primary);
  margin-bottom: var(--s-3);
}

/* CTA band */
.cta-band { text-align: center; }
.cta-inner {
  padding: var(--s-8) var(--s-4);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand-primary) 18%, var(--color-surface)),
    color-mix(in srgb, var(--brand-secondary) 18%, var(--color-surface)));
  border: 1px solid var(--color-border);
}
.cta-inner h2 { margin-bottom: var(--s-3); }
.cta-inner p  { margin: 0 auto var(--s-5); }

/* Footer */
.footer { border-top: 1px solid var(--color-border); padding: var(--s-7) 0 var(--s-4); margin-top: var(--s-8); }
.footer-inner {
  display: grid; gap: var(--s-5);
  /* Brand column wider than the link columns; link columns share the rest evenly. */
  grid-template-columns: minmax(220px, 1.6fr) repeat(auto-fit, minmax(140px, 1fr));
}
@media (min-width: 1024px) {
  /* Pin to 6 explicit columns at desktop so 5 link groups + brand always fit on one row. */
  .footer-inner { grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); }
}
.footer-col h4 { font-size: var(--t-sm); margin-bottom: var(--s-3); }
.footer-col li { margin-bottom: var(--s-2); font-size: var(--t-sm); color: var(--color-text-2); }
.footer-col a:hover { color: var(--color-text); }
.footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: center;
  padding-top: var(--s-4);
  margin-top: var(--s-5);
  border-top: 1px solid var(--color-border);
}
.footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-3);
  color: var(--color-text-3);
}
.footer-credit {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.footer-credit-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  opacity: 0.88;
  line-height: 1;
  transition: color var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.footer-credit-card:hover {
  color: var(--color-text);
  opacity: 1;
}
.footer-credit-label {
  color: var(--color-text-3);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-credit-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.footer-credit-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--brand-accent);
  opacity: 0.95;
}
.footer-credit-logo svg {
  width: 16px;
  height: 16px;
}
.footer-credit-name {
  color: color-mix(in srgb, var(--brand-accent) 84%, var(--color-text));
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Live background mount */
.live-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1200px 600px at 50% 0%,
              color-mix(in srgb, var(--brand-primary) 14%, transparent), transparent 60%);
}

/* XS Wheels premium treatment */
body {
  background:
    radial-gradient(circle at top left, rgba(20, 119, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(140, 198, 63, 0.10), transparent 22%),
    linear-gradient(180deg, rgba(4, 7, 11, 0.98), rgba(4, 7, 11, 1));
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(10, 132, 255, 0.10), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(136, 195, 68, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(244, 247, 251, 1), rgba(232, 239, 247, 1));
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.55;
}

body::before {
  top: 72px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: rgba(20, 119, 255, 0.16);
}

body::after {
  top: 180px;
  left: -90px;
  width: 240px;
  height: 240px;
  background: rgba(140, 198, 63, 0.12);
}

.nav {
  margin: 10px 12px 0;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 18%, var(--color-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  min-height: 88px;
  padding: 0 var(--s-4);
}

.nav-center {
  gap: clamp(16px, 2.4vw, 32px);
}

.nav-logo-oval {
  padding: 4px;
  box-shadow: 0 0 0 1px rgba(185, 192, 201, 0.6), 0 0 0 4px rgba(140, 198, 63, 0.95), var(--xs-accent-glow);
}

.nav-brand:hover .nav-logo-oval {
  box-shadow: 0 0 0 1px rgba(220, 227, 236, 0.7), 0 0 0 4px rgba(140, 198, 63, 1), var(--xs-accent-glow);
}

.nav-logo {
  height: 72px;
  width: 72px;
}

.nav-links a {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-accent), color-mix(in srgb, var(--brand-accent) 58%, var(--brand-primary)));
  color: #071018;
  box-shadow: var(--xs-accent-glow);
}

.btn-ghost {
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
}

.hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: var(--s-6);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-title {
  max-width: 10ch;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 52ch;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 30%, var(--color-border));
  background: color-mix(in srgb, var(--color-surface) 80%, transparent);
  color: var(--color-text);
  font-size: var(--t-sm);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 20px);
  padding-left: clamp(0px, 2vw, 32px);
}

.hero-brandcard {
  position: relative;
  width: 100%;
  padding: var(--s-5);
  border-radius: 32px;
  background: var(--xs-panel);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 24%, var(--color-border));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  z-index: 0;
}

.hero-brand-ring {
  display: grid;
  place-items: center;
  width: clamp(180px, 24vw, 250px);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 12px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(185, 193, 201, 0.55)) padding-box,
    linear-gradient(145deg, var(--brand-accent), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2), var(--brand-accent)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--xs-accent-glow);
}

.hero-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #020508;
}

.hero-phone,
.hero-brand-tagline {
  text-align: center;
}

.hero-phone {
  margin-top: var(--s-4);
  color: var(--brand-primary);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-brand-tagline {
  margin: var(--s-2) auto 0;
  color: var(--color-text);
  font-size: var(--t-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-wheel-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
}

.hero-wheel-card {
  padding: var(--s-2);
  border-radius: 22px;
  background: var(--xs-panel);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 24%, var(--color-border));
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.24);
}

/* Staggered arc + independent float — each card bobs at its own rhythm */
@keyframes xs-float-1 {
  0%, 100% { transform: translateY(-10px); }
  50%       { transform: translateY(-18px); }
}
@keyframes xs-float-2 {
  0%, 100% { transform: translateY(10px); }
  50%       { transform: translateY(2px);  }
}
@keyframes xs-float-3 {
  0%, 100% { transform: translateY(-4px); }
  50%       { transform: translateY(-12px); }
}

.hero-wheel-card:nth-child(1) { animation: xs-float-1 3.2s ease-in-out infinite; }
.hero-wheel-card:nth-child(2) { animation: xs-float-2 3.8s ease-in-out infinite 0.5s; }
.hero-wheel-card:nth-child(3) { animation: xs-float-3 3.5s ease-in-out infinite 1.1s; }

@media (prefers-reduced-motion: reduce) {
  .hero-wheel-card:nth-child(1) { transform: translateY(-10px); animation: none; }
  .hero-wheel-card:nth-child(2) { transform: translateY(10px);  animation: none; }
  .hero-wheel-card:nth-child(3) { transform: translateY(-4px);  animation: none; }
}

.hero-wheel-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
}

.hero-wheel-card span {
  display: block;
  margin-top: 10px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-fitment-slot {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.nav-fitchip {
  max-width: min(100%, 260px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-highlights {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-3);
}

.hero-highlight {
  padding: var(--s-4);
  border-radius: 22px;
  background: var(--xs-panel);
  border: 1px solid var(--color-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-highlight-title {
  color: var(--color-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-highlight-body {
  margin-top: 8px;
  font-size: var(--t-sm);
}

.feature-card,
.cta-inner,
.fitment,
.brand-tile,
.cat-tile,
.vm-card,
.co-summary,
.cart-summary,
.admin-card {
  background: var(--xs-panel);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.18);
}

.home-trust {
  gap: var(--s-4);
  border: none;
}

.trust-cell {
  border-radius: 24px;
  background: var(--xs-panel);
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
}

.vm-section {
  background: linear-gradient(180deg, rgba(9, 14, 20, 0.9), rgba(9, 14, 20, 0.72));
  border: none;
}

.vm-card,
.cat-tile,
.feature-card {
  border-color: color-mix(in srgb, var(--brand-primary) 18%, var(--color-border));
}

.ship-note--estimated {
  color: var(--brand-primary);
  font-weight: 600;
}

@media (max-width: 980px) {
  .nav {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .nav-center {
    grid-template-columns: 1fr;
    gap: var(--s-2);
  }

  .nav-fitment-slot {
    justify-content: center;
  }

  .hero--split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding-left: 0;
    gap: var(--s-4);
  }

  .hero-brandcard { max-width: 420px; margin: 0 auto; }
  .hero-wheel-grid { max-width: 480px; margin: 0 auto; }
  .hero-wheel-card.is-primary { transform: none; }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--s-8) + 24px);
  }

  .hero-title {
    max-width: 12ch;
  }

  .hero-brandcard {
    padding: var(--s-4);
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }
  .footer-legal {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .footer-meta {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-credit {
    justify-content: flex-start;
  }
  .footer-credit-card {
    width: auto;
    justify-content: center;
  }
}

/* ============================================================
   Mobile menu — hamburger button + off-canvas drawer.
   Default state: button hidden on desktop, shown ≤ 720px.
   Drawer: full-height slide-in from the left, focus-trapped via JS.
   ============================================================ */
.nav-menu-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0; margin-right: var(--s-2);
  border: 1px solid var(--color-border);
  border-radius: var(--r-full);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-menu-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.nav-menu-btn:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }

.nav-drawer {
  position: fixed; inset: 0;
  z-index: 250;
  display: block;
}
.nav-drawer[hidden] { display: none; }
.nav-drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(2, 5, 9, 0.6);
  opacity: 0; transition: opacity 0.22s ease;
  cursor: pointer;
}
.nav-drawer-panel {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: var(--s-5) var(--s-5) var(--s-4);
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  display: flex; flex-direction: column; gap: var(--s-4);
  overflow-y: auto;
}
.nav-drawer.is-open .nav-drawer-overlay { opacity: 1; }
.nav-drawer.is-open .nav-drawer-panel  { transform: translateX(0); }
.nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--color-border);
}
.nav-drawer-title {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-drawer-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}
.nav-drawer-close:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.nav-drawer-list {
  display: flex; flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-drawer-list a {
  display: block;
  padding: 14px 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--r-md);
  transition: background var(--dur-fast) var(--ease);
}
.nav-drawer-list a:hover,
.nav-drawer-list a:focus-visible { background: color-mix(in srgb, var(--brand-primary) 12%, transparent); }
.nav-drawer-list a[aria-current="page"] {
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 16%, transparent);
}
.nav-drawer-list .nav-drawer-cta { margin-top: var(--s-3); }
.nav-drawer-list .nav-drawer-cta .btn { width: 100%; justify-content: center; }
.nav-drawer-contact {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.95rem;
}
.nav-drawer-contact a { color: var(--color-text-2); padding: 6px 0; }
.nav-drawer-contact a:hover { color: var(--color-text); }

body.is-menu-open { overflow: hidden; }

@media (max-width: 720px) {
  .nav-menu-btn { display: inline-flex; }
  /* hide the language toggle text on small screens (icon stays) */
  .nav-lang span:last-child { display: none; }
  /* hide the inline CTA in nav — drawer carries it */
  .nav-cta { display: none; }
}

/* ============================================================
   Footer — contact column + tighter mobile stacking.
   ============================================================ */
.footer-address {
  font-style: normal;
  font-size: var(--t-sm);
  color: var(--color-text-2);
  margin-top: var(--s-3);
  line-height: 1.6;
}
.footer-contact ul { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 6px; }
.footer-contact a {
  color: var(--color-text-2);
  font-size: var(--t-sm);
  transition: color var(--dur-fast) var(--ease);
}
.footer-contact a:hover { color: var(--color-text); }
.footer-hours { margin-top: var(--s-3); font-size: 0.86rem; color: var(--color-text-2); }
.footer-hours summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--color-text);
}
.footer-hours summary::-webkit-details-marker { display: none; }
.footer-hours ul { list-style: none; padding: 8px 0 0; margin: 0; }
.footer-hours li {
  display: flex; justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--color-border) 60%, transparent);
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5) var(--s-4);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Hero density — mobile-first tightening. Trims the long dark
   tail by reducing min-height + bottom padding under 720px.
   ============================================================ */
@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: calc(var(--s-6) + 12px) var(--s-4) var(--s-5);
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 1.06;
    max-width: 14ch;
    margin-bottom: var(--s-3);
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--s-4);
  }
  main > section { padding: var(--s-6) 0; }
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
}
