/* ============================================================
   Planet Auto Hub — Dakar
   Composition: cafe warmth · kinetic weight shift · one-shot
   page-load orchestration · museum wall labels · diagonal split
   with opposing scroll · soft light-source glow.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg: #f4ead8;
  --bg-2: #efe2cb;
  --surface: #fbf5e9;
  --ink: #3a2415;
  --ink-soft: #6b5540;
  --accent: #6b1f1a;
  --accent-soft: #8d3229;
  --secondary: #5a5e3a;
  --line: rgba(58, 36, 21, 0.16);
  --line-strong: rgba(58, 36, 21, 0.32);
  --warm-light: rgba(255, 214, 150, 0.55);
  --shadow: 0 18px 50px -28px rgba(58, 36, 21, 0.55);
  --glow-y: 18%;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.15rem, 4.5vw, 4rem);
  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c130c;
    --bg-2: #241810;
    --surface: #2a1d13;
    --ink: #f2e4cf;
    --ink-soft: #c3ab90;
    --accent: #e08a6f;
    --accent-soft: #f0a98c;
    --secondary: #b6bb84;
    --line: rgba(242, 228, 207, 0.16);
    --line-strong: rgba(242, 228, 207, 0.34);
    --warm-light: rgba(214, 132, 62, 0.28);
    --shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.8);
  }
}

:root[data-theme="dark"] {
  --bg: #1c130c;
  --bg-2: #241810;
  --surface: #2a1d13;
  --ink: #f2e4cf;
  --ink-soft: #c3ab90;
  --accent: #e08a6f;
  --accent-soft: #f0a98c;
  --secondary: #b6bb84;
  --line: rgba(242, 228, 207, 0.16);
  --line-strong: rgba(242, 228, 207, 0.34);
  --warm-light: rgba(214, 132, 62, 0.28);
  --shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.8);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 50% var(--glow-y), var(--warm-light) 0, transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: scroll, fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  text-wrap: pretty;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-underline-offset: 0.22em; }
a:hover { color: var(--accent-soft); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); }
p { margin: 0 0 1em; max-width: var(--measure); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 0.7rem 1rem;
  font-size: 0.85rem; text-decoration: none;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fdf6ec;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent-soft); color: #fff; }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--surface); color: var(--ink); }

.btn-lg { font-size: 1.05rem; padding: 1rem 1.9rem; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem var(--pad);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  animation: slide-down 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fdf6ec;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; }
.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav a {
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.55rem 0.15rem;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.topbar-actions { display: flex; align-items: center; gap: 0.6rem; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.theme-toggle:hover { background: var(--surface); }
.theme-icon { font-size: 0.95rem; }

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fdf6ec;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.call-btn:hover { background: var(--accent-soft); color: #fff; }
.call-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f6d9a0;
  box-shadow: 0 0 0 0 rgba(246, 217, 160, 0.7);
  animation: pulse 2.6s ease-out infinite;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.6rem, 7vw, 6rem) var(--pad) clamp(2.4rem, 6vw, 5rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background: radial-gradient(circle at 50% var(--glow-y), var(--warm-light) 0, transparent 58%);
  pointer-events: none;
  z-index: -1;
}

.hero-title {
  font-size: clamp(2.6rem, 1.4rem + 8vw, 6.2rem);
  font-weight: 300;
  font-variation-settings: "wght" 300, "SOFT" 40, "WONK" 1;
  margin-bottom: 0.5em;
}
.hero-title .line { display: block; }

.kinetic {
  display: inline-block;
  font-variation-settings: "wght" 200, "SOFT" 60, "WONK" 1;
  transition: font-variation-settings 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.45s ease;
  cursor: default;
}
.hero-title:hover .kinetic,
.kinetic:hover {
  font-variation-settings: "wght" 900, "SOFT" 0, "WONK" 1;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 2.2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem 1.4rem;
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.hero-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}
.hero-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
}

.hero-figure {
  margin: 0;
  position: relative;
  align-self: start;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);
  filter: saturate(0.94) contrast(1.03);
}

/* ---------- museum wall labels ---------- */
.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}
.label-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.label-meta {
  display: block;
  color: var(--secondary);
  font-size: 0.7rem;
}
.label-desc {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.7rem 0 0.6rem;
  max-width: 34ch;
}
.price {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}

.hero-figure .label {
  margin-top: 0.9rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent);
}

.label-float {
  position: absolute;
  left: -0.6rem;
  bottom: -1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.6rem 0.85rem;
  box-shadow: var(--shadow);
  max-width: 15rem;
}

/* ---------- diagonal split with opposing scroll ---------- */
.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin: clamp(2rem, 6vw, 5rem) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.split-panel {
  padding: clamp(2.2rem, 6vw, 4.5rem) var(--pad);
  will-change: transform;
}
.split-a {
  background: linear-gradient(160deg, var(--surface) 0%, color-mix(in srgb, var(--secondary) 12%, var(--surface)) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5rem), 0 100%);
  padding-bottom: calc(clamp(2.2rem, 6vw, 4.5rem) + 3.5rem);
}
.split-b {
  background: linear-gradient(200deg, color-mix(in srgb, var(--accent) 9%, var(--surface)) 0%, var(--surface) 100%);
  clip-path: polygon(0 3.5rem, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(clamp(2.2rem, 6vw, 4.5rem) + 3.5rem);
  margin-top: -3.5rem;
}
.split-inner { max-width: 46ch; }
.split-b .split-inner { margin-left: auto; }

.tick {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.tick li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.tick li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 0.7rem; height: 2px;
  background: var(--accent);
}

/* ---------- services ---------- */
.services {
  padding: clamp(3rem, 8vw, 6.5rem) var(--pad);
  max-width: 1320px;
  margin: 0 auto;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-lede { color: var(--ink-soft); }

.wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 4vw, 3.4rem) clamp(1.4rem, 3vw, 2.6rem);
}

.work {
  margin: 0;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.work img {
  width: 100%;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(0.92) contrast(1.04);
  transition: filter 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.work:hover img { filter: saturate(1.05) contrast(1.06); transform: translateY(-3px); }
.work .label { border-top: 1px solid var(--line); padding-top: 0.85rem; }

/* ---------- atelier ---------- */
.atelier {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 8vw, 6.5rem) var(--pad);
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}
.atelier-media { position: relative; margin: 0; }
.atelier-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow);
}
.atelier-text { max-width: 62ch; }
.atelier-text p { color: var(--ink-soft); }

.atelier-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.atelier-stats dt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}
.atelier-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

/* ---------- avis ---------- */
.avis {
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.avis .section-head { max-width: 1320px; margin-inline: auto; }

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 1320px;
  margin: 0 auto;
}
.quote {
  margin: 0;
  padding: 1.6rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  display: grid;
  align-content: start;
}
.quote p { color: var(--ink-soft); font-size: 0.96rem; }
.quote .stars {
  color: var(--accent);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}
.quote footer {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 0.4rem;
}
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); }

/* ---------- horaires ---------- */
.horaires {
  padding: clamp(3rem, 8vw, 6.5rem) var(--pad);
  max-width: 1320px;
  margin: 0 auto;
}
.horaires-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.horaires-text p { color: var(--ink-soft); }
.horaires-text .btn { margin-top: 1rem; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: var(--surface);
  border: 1px solid var(--line);
}
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.hours-table th {
  font-weight: 600;
  font-family: var(--serif);
  font-size: 1.02rem;
  width: 42%;
}
.hours-table td {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table .closed td { color: var(--accent); font-weight: 600; }
.hours-table .split-day td { color: var(--ink); }

/* ---------- trouver ---------- */
.trouver {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 8vw, 6.5rem) var(--pad);
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}
.trouver-text { max-width: 62ch; }
.trouver-text > p { color: var(--ink-soft); }

.contact-block {
  font-style: normal;
  margin: 1.8rem 0;
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-block p { margin: 0; max-width: 44ch; }
.contact-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}
.contact-block a { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }

.trouver-media { margin: 0; position: relative; }
.trouver-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow);
}
.trouver-media .label {
  margin-top: 0.9rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent);
}

/* ---------- bandeau ---------- */
.bandeau {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 10%, transparent));
  border-top: 1px solid var(--line);
}
.bandeau h2 { margin-bottom: 0.5em; }
.bandeau p {
  margin: 0 auto 1.8rem;
  max-width: 52ch;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */
.site-footer {
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
.footer-brand strong { font-family: var(--serif); font-size: 1.2rem; }
.footer-brand p { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 0.92rem; }
.footer-brand a { font-weight: 600; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-nav a {
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.5rem 0;
}
.footer-nav a:hover { color: var(--accent); }

.footer-hours {
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 0;
}

.claim-wrap {
  max-width: 1320px;
  margin: 2.2rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.claim-banner {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--secondary) 12%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  text-decoration: none;
}
.claim-banner:hover { color: var(--accent); border-color: var(--line-strong); }

.attribution {
  max-width: 1320px;
  margin: 1.2rem auto 0;
  font-size: 0.7rem;
  opacity: 0.55;
}
.attribution a { color: inherit; }

/* ---------- one-shot page-load orchestration ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes type-in {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(246, 217, 160, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(246, 217, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(246, 217, 160, 0); }
}

.reveal { animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
.r1 { animation-delay: 0.05s; }
.r2 { animation-delay: 0.17s; }
.r3 { animation-delay: 0.29s; }
.r4 { animation-delay: 0.41s; }
.r5 { animation-delay: 0.53s; }
.r6 { animation-delay: 0.65s; }

.hero-title .line:first-child {
  animation: type-in 0.85s steps(14, end) 0.2s both;
}
.hero-title .line:last-child {
  animation: type-in 0.85s steps(16, end) 0.42s both;
}

/* ---------- responsive ---------- */
@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
  .atelier { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .horaires-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trouver { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .footer-inner { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .footer-hours { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .split-a {
    clip-path: polygon(0 0, 100% 0, calc(100% - 5rem) 100%, 0 100%);
    padding-bottom: clamp(2.2rem, 6vw, 4.5rem);
  }
  .split-b {
    clip-path: polygon(5rem 0, 100% 0, 100% 100%, 0 100%);
    padding-top: clamp(2.2rem, 6vw, 4.5rem);
    margin-top: 0;
  }
  .split-b .split-inner { margin-left: 4rem; }
}

@media (max-width: 620px) {
  .nav { display: none; }
  .theme-label { display: none; }
  .brand-text em { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .hero-title .line, .topbar { opacity: 1; transform: none; clip-path: none; }
  .split-panel { transform: none !important; }
  .call-dot { animation: none; }
  .btn:hover, .work:hover img { transform: none; }
}
