/* ============================================
   CAR GUYS COLLISION — Bugatti-style one-pager
   ============================================ */

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

:root {
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --fg: #f3eee5;
  --fg-dim: #a8a39a;
  --fg-faint: #5a564f;
  --accent: #c9a76a;       /* warm bronze, like Bugatti's gold */
  --rule: rgba(243, 238, 229, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad-x: clamp(20px, 5vw, 80px);
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }

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

/* ---------- Reusable typography ---------- */
.panel__label,
.contact__label,
.footer__label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 400;
}

/* ============================================
   NAV
============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px var(--pad-x);
  border-bottom-color: var(--rule);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: opacity 0.3s ease;
}
.nav__brand:hover { opacity: 0.85; }

.nav__mark {
  display: inline-block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.08em;
  color: var(--fg);
  line-height: 1;
  flex-shrink: 0;
  padding-right: 4px;
}
.nav__mark-rev {
  display: inline-block;
  transform: scaleX(-1);
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--sans);
}
.nav__brand-line1 {
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--fg);
}
.nav__brand-line2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  margin-top: 4px;
}

.nav__menu {
  display: flex;
  gap: 38px;
  align-items: center;
}
.nav__menu a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.25s ease;
}
.nav__menu a:hover { color: var(--fg); }

.nav__cta {
  color: var(--fg) !important;
  padding: 10px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease !important;
}
.nav__cta:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg) !important;
}

.nav__toggle {
  display: none;
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 102;
}
.nav__toggle span {
  display: block;
  height: 1px;
  background: var(--fg);
  margin: 7px 0;
  width: 28px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh; /* iOS Safari — avoid URL-bar jump */
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background: #000;
}
@supports (height: 100dvh) {
  .hero { height: 100dvh; }
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.85) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.65) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--pad-x);
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--fg-dim);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s 0.2s forwards ease;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeUp 1.2s 0.4s forwards ease;
}

.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--fg);
  margin-bottom: 36px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards ease;
}

.hero__meta {
  display: flex; gap: 16px;
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--fg-dim);
  margin-bottom: 56px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s 1s forwards ease;
}
.hero__meta .dot { color: var(--fg-faint); }

.hero__cta {
  display: inline-block;
  padding: 16px 36px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  color: var(--fg);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, letter-spacing 0.4s ease;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards ease;
}
.hero__cta:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  letter-spacing: 0.4em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--fg-dim);
  opacity: 0;
  animation: fadeUp 1s 1.6s forwards ease;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--fg-dim), transparent);
  animation: scrollDrop 2.2s infinite ease-in-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDrop {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.3); transform-origin: top; }
}

/* ============================================
   PINNED / SCROLL ANIMATION
============================================ */
.pinned {
  position: relative;
  /* tall so we can scrub through panels */
  height: 500vh;
  background: #000;
}
.pinned__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.pinned__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.pinned__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.85));
  z-index: 2;
}

.panel {
  position: absolute; inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 var(--pad-x);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  max-width: 1400px;
  margin: 0 auto;
  inset: 0;
}
.panel.is-active {
  opacity: 1;
  visibility: visible;
}

.panel__label {
  margin-bottom: 28px;
}
.panel__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 14ch;
}
.panel__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--fg-dim);
  max-width: 38ch;
  font-weight: 300;
}

.panel__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 60px;
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 300;
}
.panel__list li {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}

.panel__why {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  max-width: 700px;
}
.panel__why li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
}
.panel__why li span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  min-width: 32px;
}

.carriers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
  max-width: 680px;
}
.carriers span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

/* ============================================
   TESTIMONIALS / STORIES
============================================ */
.stories {
  background: var(--bg);
  padding: 140px 0 0 0;
}
.stories__intro {
  text-align: center;
  padding: 0 var(--pad-x);
  margin-bottom: 100px;
}
.stories__intro .panel__label { margin-bottom: 28px; }
.stories__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
}

.story {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.story__bg {
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.6s ease;
}
.story__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}
.story:nth-child(odd) .story__overlay {
  background:
    linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.story__body {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x);
  max-width: 720px;
  margin-left: 0;
}
.story__body--right {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.story__num {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 28px;
}
.story__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.25;
  margin-bottom: 36px;
  color: var(--fg);
}
.story__author {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
}
.story__body--right .story__author { align-items: flex-end; }
.story__name { color: var(--fg); text-transform: uppercase; }
.story__meta { color: var(--fg-dim); }

/* ============================================
   CONTACT
============================================ */
.contact {
  background: var(--bg);
  padding: 160px 0 120px;
  border-top: 1px solid var(--rule);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 0 var(--pad-x);
  max-width: 1500px;
  margin: 0 auto;
  align-items: start;
}
.contact__col--text { padding-top: 8px; }
.contact__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  margin: 24px 0 28px;
}
.contact__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--fg-dim);
  margin-bottom: 48px;
}

.contact__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 52px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.contact__details > div { display: flex; flex-direction: column; gap: 8px; }
.contact__details a:hover { color: var(--accent); }
.contact__details p, .contact__details a {
  font-size: 15px;
  color: var(--fg);
  font-weight: 300;
  line-height: 1.5;
}

.contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__btn {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
  border: 1px solid var(--rule);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, color 0.35s ease;
}
.contact__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateX(6px);
}
.contact__btn svg {
  width: 24px; height: 24px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.contact__btn:hover svg { transform: scale(1.1); }
.contact__btn span {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  letter-spacing: 0.04em;
  font-weight: 400;
  font-family: var(--sans);
}
.contact__btn em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 4px;
  transition: color 0.35s ease;
}
.contact__btn:hover em { color: rgba(0,0,0,0.6); }

.contact__map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 1px solid var(--rule);
  overflow: hidden;
  filter: grayscale(0.7) contrast(1.1) brightness(0.45) invert(0.05);
  transition: filter 0.5s ease;
}
.contact__map:hover { filter: grayscale(0.3) contrast(1.05) brightness(0.7); }
.contact__map iframe {
  width: 100%; height: 100%;
  min-height: 540px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: #000;
  border-top: 1px solid var(--rule);
  padding: 80px var(--pad-x) 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule);
}
.footer__brand {
  display: flex; align-items: center; gap: 18px;
}
.footer__mark {
  display: inline-block;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.08em;
  color: var(--fg);
  line-height: 1;
  flex-shrink: 0;
}
.footer__name {
  font-size: 13px;
  letter-spacing: 0.28em;
  margin-bottom: 8px;
}
.footer__addr {
  font-size: 13px;
  color: var(--fg-dim);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__label { margin-bottom: 14px; }
.footer__cols p {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.7;
  font-weight: 300;
}
.footer__cols a:hover { color: var(--accent); }

.footer__bottom {
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-faint);
  text-transform: uppercase;
}

/* ============================================
   RESPONSIVE — TABLET + MOBILE (≤1024px)
   Hamburger menu, stacked contact, tighter spacing
============================================ */
@media (max-width: 1024px) {
  .nav {
    padding: 18px var(--pad-x);
    padding-top: max(18px, env(safe-area-inset-top));
  }
  .nav.is-scrolled { padding: 12px var(--pad-x); }

  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 380px);
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: env(safe-area-inset-top) 36px env(safe-area-inset-bottom);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
    border-left: 1px solid var(--rule);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu li { width: 100%; }
  .nav__menu a {
    font-size: 16px;
    letter-spacing: 0.18em;
    display: block;
    padding: 14px 0;
    min-height: 44px;
    border-bottom: 1px solid var(--rule);
  }
  .nav__cta {
    text-align: center;
    border-radius: 0;
    padding: 18px 18px !important;
    margin-top: 14px;
    min-height: 56px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Hero — readable, tighter */
  .hero__eyebrow { margin-bottom: 22px; }
  .hero__title { margin-bottom: 24px; }
  .hero__tagline { margin-bottom: 30px; }
  .hero__meta { gap: 10px; font-size: 10px; margin-bottom: 44px; }
  .hero__cta {
    padding: 16px 30px;
    font-size: 11px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  /* Pinned section — shorter scroll on small screens */
  .pinned { height: 420vh; }
  .panel { padding: 0 var(--pad-x); align-items: flex-start; }
  .panel__title { max-width: 16ch; }
  .panel__list { grid-template-columns: 1fr; gap: 0; max-width: 100%; }
  .panel__list li { padding: 14px 0; font-size: clamp(20px, 3vw, 28px); }
  .panel__why li { gap: 16px; font-size: clamp(18px, 2.6vw, 24px); }
  .carriers { gap: 8px 12px; margin-top: 28px; }
  .carriers span { padding: 7px 12px; font-size: 11px; }

  /* Stories */
  .stories { padding-top: 100px; }
  .stories__intro { margin-bottom: 70px; }
  .story { min-height: 70vh; height: auto; padding: 90px 0; }
  .story__body, .story__body--right {
    margin: 0;
    text-align: left;
    max-width: 100%;
  }
  .story__body--right .story__author { align-items: flex-start; }
  .story__overlay,
  .story:nth-child(odd) .story__overlay {
    background:
      linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.9) 100%);
  }

  /* Contact — stack */
  .contact { padding: 110px 0 90px; }
  .contact__inner { grid-template-columns: 1fr; gap: 60px; }
  .contact__details { gap: 28px; padding-bottom: 40px; margin-bottom: 40px; }
  .contact__btn { min-height: 64px; }
  .contact__map, .contact__map iframe { min-height: 380px; }

  /* Footer */
  .footer { padding: 70px var(--pad-x) 28px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================
   TABLET ONLY (768–1024) — refinements
============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  :root { --pad-x: 48px; }

  .panel__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 48px;
  }
  .panel__list li { font-size: 24px; }

  .contact__details { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr; gap: 44px; padding-bottom: 50px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 36px; }

  /* Stories — bigger breathing room */
  .story { min-height: 75vh; padding: 110px 0; }
  .story__body, .story__body--right { max-width: 600px; }
}

/* ============================================
   MOBILE ONLY (≤767px) — tightest layout
============================================ */
@media (max-width: 767px) {
  :root { --pad-x: 22px; }

  .nav__mark { font-size: 26px; }
  .nav__brand-line1 { font-size: 10px; letter-spacing: 0.26em; }
  .nav__brand-line2 { font-size: 11px; margin-top: 3px; }

  /* Hero */
  .hero__title { font-size: clamp(48px, 13.5vw, 92px); }
  .hero__tagline { font-size: clamp(16px, 4.6vw, 22px); }
  .hero__meta { font-size: 9.5px; gap: 8px; letter-spacing: 0.26em; }
  .hero__scroll-hint { bottom: 22px; font-size: 9.5px; }
  .hero__scroll-line { height: 34px; }

  /* Pinned section */
  .pinned { height: 360vh; }
  .panel__label { font-size: 10px; margin-bottom: 22px; }
  .panel__title { font-size: clamp(34px, 9vw, 56px); margin-bottom: 18px; }
  .panel__sub { font-size: clamp(16px, 4.4vw, 20px); }
  .panel__list li { font-size: 19px; padding: 12px 0; }
  .panel__why { gap: 14px; }
  .panel__why li { font-size: 17px; gap: 14px; padding-bottom: 10px; }

  /* Stories */
  .stories { padding-top: 80px; }
  .stories__intro { margin-bottom: 50px; }
  .story { min-height: 65vh; padding: 70px 0; }
  .story__num { margin-bottom: 22px; }
  .story__quote { font-size: clamp(20px, 5.6vw, 28px); margin-bottom: 28px; line-height: 1.3; }

  /* Contact */
  .contact { padding: 80px 0 70px; }
  .contact__title { font-size: clamp(36px, 9.5vw, 56px); }
  .contact__sub { font-size: 15px; margin-bottom: 36px; }
  .contact__details { grid-template-columns: 1fr; gap: 22px; }
  .contact__btn { padding: 18px 20px; gap: 16px; min-height: 60px; }
  .contact__btn span { font-size: 14px; }
  .contact__btn em { font-size: 9px; }
  .contact__map, .contact__map iframe { min-height: 320px; }

  /* Footer */
  .footer { padding: 56px var(--pad-x) 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ============================================
   EXTRA-SMALL MOBILE (≤400px) — iPhone SE etc
============================================ */
@media (max-width: 400px) {
  :root { --pad-x: 18px; }

  .nav__mark { font-size: 24px; }
  .nav__brand-line1 { font-size: 9.5px; letter-spacing: 0.22em; }
  .nav__brand-line2 { font-size: 10px; }

  .hero__title { font-size: clamp(42px, 13vw, 72px); }
  .hero__meta { font-size: 9px; letter-spacing: 0.22em; }

  .panel__list li { font-size: 17px; }
  .panel__why li { font-size: 16px; }

  .footer__cols { grid-template-columns: 1fr; gap: 22px; }
}

/* Hide Collision sublabel only on truly tiny screens */
@media (max-width: 340px) {
  .nav__brand-line2 { display: none; }
}

/* ============================================
   SHORT VIEWPORTS / ACCESSIBILITY
============================================ */
@media (max-height: 640px) {
  .hero__scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__scroll-line { animation: none; }
}
