/* ============================================================
   Focus Detailing — design tokens + styles
   Dark luxury : ink / cream / silver, accents mono.
   ============================================================ */

:root {
  /* Palette */
  --ink: #111111;
  --ink-deep: #050505;
  --cream: #f5f4f1;
  --silver: #e0e0e0;
  --white-04: rgba(255, 255, 255, 0.04);
  --white-06: rgba(255, 255, 255, 0.06);
  --white-10: rgba(255, 255, 255, 0.10);
  --white-20: rgba(255, 255, 255, 0.20);
  --cream-70: rgba(245, 244, 241, 0.70);
  --cream-55: rgba(245, 244, 241, 0.55);
  --cream-35: rgba(245, 244, 241, 0.35);

  /* Typography */
  --font-sans: 'Urbanist', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --text-hero: clamp(2.75rem, 1rem + 7vw, 6.5rem);
  --text-h2: clamp(2rem, 1.2rem + 2.6vw, 3rem);
  --text-h3: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem);
  --text-lede: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);

  /* Spacing & layout */
  --max: 80rem;
  --pad-x: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --radius: 24px;
  --radius-sm: 14px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 320ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* L'attribut hidden doit toujours primer sur les display: flex/grid des composants */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.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-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 200; background: var(--silver); color: #000;
  padding: 10px 18px; border-radius: 0 0 12px 12px; font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

::selection { background: var(--silver); color: #000; }

/* ---------- Intro caméra-diaphragme (chargement de page) ---------- */
@property --iris {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
#intro-bg {
  position: fixed; inset: 0; z-index: 9997;
  background:
    radial-gradient(circle at center, rgba(224,224,224,0.07) 0%, rgba(224,224,224,0.02) 30%, transparent 58%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 11px),
    var(--ink-deep);
}
#intro {
  position: fixed; inset: 0; z-index: 9998; background: var(--ink-deep);
  -webkit-mask: radial-gradient(circle at center, transparent var(--iris), #000 calc(var(--iris) + 0.6%));
          mask: radial-gradient(circle at center, transparent var(--iris), #000 calc(var(--iris) + 0.6%));
  animation: irisOpen 1.4s cubic-bezier(0.65, 0, 0.2, 1) 0.3s both;
}
@keyframes irisOpen { 0% { --iris: 0%; } 100% { --iris: 120%; } }
#intro-mark {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; color: var(--silver);
  animation: markOut 1.55s cubic-bezier(0.65, 0, 0.2, 1) 0.28s both;
}
#intro-mark svg {
  width: clamp(96px, 16vmin, 160px); height: clamp(96px, 16vmin, 160px);
  filter: drop-shadow(0 0 24px rgba(224,224,224,0.25));
}
@keyframes markOut {
  0%   { opacity: 0; transform: scale(0.55) rotate(-120deg); }
  22%  { opacity: 1; transform: scale(0.9) rotate(-60deg); }
  55%  { opacity: 1; transform: scale(1.05) rotate(0deg); }
  100% { opacity: 0; transform: scale(2.4) rotate(35deg); }
}
/* Le contenu reste masqué jusqu'à l'ouverture du diaphragme, puis apparaît. */
#page { opacity: 0; }
#page.is-revealed { opacity: 1; transition: opacity 0.85s ease; }

/* ---------- Shared bits ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--cream-70);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.35em;
}
.eyebrow-line { display: inline-block; width: 2rem; height: 1px; background: rgba(224,224,224,0.4); }

.tag {
  display: inline-block; width: fit-content;
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.tag-dark { border: 1px solid rgba(0,0,0,0.15); background: rgba(0,0,0,0.05); color: rgba(0,0,0,0.6); }
.tag-silver { border: 1px solid rgba(224,224,224,0.3); background: rgba(224,224,224,0.1); color: var(--silver); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; flex: none;
  border: 1px solid var(--white-10); background: var(--white-06);
  border-radius: var(--radius-sm); color: var(--silver);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.icon-badge.dark { width: 3.5rem; height: 3.5rem; background: #000; color: var(--silver); border: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  padding: 0.95rem 1.6rem; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn svg { transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-solid { background: var(--silver); color: #000; }
.btn-solid:hover { background: var(--cream); box-shadow: 0 0 40px -8px rgba(224,224,224,0.55); }

.btn-ghost { border-color: var(--white-20); color: var(--cream-70); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: var(--cream); }

.btn-outline { border-color: var(--white-20); color: var(--cream); }
.btn-outline:hover { border-color: var(--silver); background: var(--white-04); }

.btn-dark { background: #000; color: var(--cream); }
.btn-dark:hover { background: #1a1a1a; }

.btn-pill { padding: 0.65rem 1.25rem; font-size: 0.9rem; border: 1px solid rgba(224,224,224,0.3); background: var(--white-04); color: var(--cream); backdrop-filter: blur(6px); }
.btn-pill:hover { border-color: var(--silver); background: var(--silver); color: #000; }

.btn-block { width: 100%; padding-block: 1.1rem; font-size: 1rem; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(5,5,5,0.6);
  border-bottom-color: var(--white-10);
  backdrop-filter: blur(18px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin-inline: auto;
  padding: 1rem var(--pad-x);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { color: var(--silver); transition: transform 700ms var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-name { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.22em; color: var(--cream); }
.brand-name span { color: var(--cream-70); }

.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links > a:not(.btn) {
  position: relative; font-size: 0.9rem; font-weight: 500; color: var(--cream-70);
  transition: color var(--dur) var(--ease);
}
.nav-links > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--silver); transition: width var(--dur) var(--ease);
}
.nav-links > a:not(.btn):hover { color: var(--cream); }
.nav-links > a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; color: var(--cream); cursor: pointer; }

/* ---------- Hero ---------- */

.hero {
  position: relative; display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 11px);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7) 55%, var(--ink));
}
.hero-spotlight {
  position: absolute; left: 50%; top: 50%; width: 140vh; height: 140vh;
  transform: translate(-50%, -50%); opacity: 0.6; pointer-events: none;
  background: radial-gradient(circle, rgba(224,224,224,0.10) 0%, rgba(224,224,224,0.03) 30%, transparent 60%);
}
.hero-inner { position: relative; padding-top: 7rem; }

/* Entrée du hero au chargement (staggered) */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: none; }
}
.hero-in {
  opacity: 0;
  animation: heroIn 1s var(--ease) both;
  animation-delay: var(--hero-delay, 0ms);
}
.hero-title {
  margin-top: 1.75rem; max-width: 18ch;
  font-size: var(--text-hero); font-weight: 800; line-height: 1.02;
  letter-spacing: -0.02em; color: var(--cream);
}
.hero-title .accent { color: var(--silver); }
.hero-lede { margin-top: 2rem; max-width: 38rem; font-size: var(--text-lede); color: var(--cream-55); }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Sections ---------- */

.section { padding-block: var(--space-section); position: relative; }
.services, .contact {
  background: linear-gradient(to bottom, var(--ink-deep), var(--ink) 12%, var(--ink) 88%, var(--ink-deep));
}
.pricing { background: var(--ink); }

.section-head { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.section-head--row { flex-direction: column; gap: 1.5rem; }
.section-title { font-size: var(--text-h2); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; max-width: 22ch; }

.card {
  border: 1px solid var(--white-10); background: var(--white-04);
  border-radius: var(--radius); backdrop-filter: blur(10px);
}

/* ---------- Signature service ---------- */

.signature {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, #f6f6f6, #e6e6e6 50%, #c9c9c9);
  padding: clamp(1.75rem, 1rem + 3vw, 3rem); color: #000;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.signature::before {
  content: ''; position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, #000 0 1px, transparent 1px 14px);
}
.signature:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -20px rgba(224,224,224,0.4); }
.signature-head { position: relative; display: flex; align-items: center; gap: 0.75rem; }
.signature-body { position: relative; display: flex; flex-direction: column; gap: 2rem; margin-top: 1.5rem; }
.signature-title { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.25rem); font-weight: 800; color: #000; line-height: 1.1; }
.signature-text { margin-top: 0.75rem; color: rgba(0,0,0,0.65); max-width: 40ch; }
.signature-points { display: flex; flex-direction: column; gap: 0.85rem; font-size: 0.92rem; font-weight: 500; color: rgba(0,0,0,0.75); }
.signature-points > li { display: flex; align-items: center; gap: 0.65rem; }
.signature-points > li::before {
  content: ''; width: 16px; height: 16px; flex: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.signature-points > li:last-child::before { display: none; }
.signature-points .btn-dark { margin-top: 0.5rem; }

@media (min-width: 900px) {
  .signature-body { flex-direction: row; align-items: center; justify-content: space-between; }
  .signature-body > div:first-child { max-width: 34rem; }
}

/* ---------- Pricing ---------- */

.price-grid { margin-top: 3rem; display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; } }

.price-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.price-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.price-card-head h3 { font-size: var(--text-h3); font-weight: 700; letter-spacing: 0.01em; }
.price-card-head > div { display: flex; flex-direction: column; gap: 0.5rem; }

.price-card--signature { border-color: rgba(224,224,224,0.4); background: rgba(255,255,255,0.05); box-shadow: 0 30px 70px -30px rgba(224,224,224,0.45); }
.signature-glow { position: absolute; inset: 0; border-radius: var(--radius); opacity: 0.6; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, rgba(224,224,224,0.08) 0%, transparent 55%); }
.price-card--signature > * { position: relative; }

.chip {
  display: inline-flex; align-items: center; gap: 0.45rem; flex: none;
  font-size: 0.78rem; font-weight: 500; color: var(--cream-70);
  border: 1px solid var(--white-10); background: var(--white-06);
  padding: 0.4rem 0.7rem; border-radius: 999px;
}
.chip svg { color: var(--silver); }

.card-lede { margin-top: 0.75rem; color: var(--cream-55); font-size: 0.95rem; }

.price-table { width: 100%; margin-top: 1.75rem; border-collapse: collapse; border: 1px solid var(--white-10); border-radius: var(--radius-sm); overflow: hidden; }
.price-table tr + tr th, .price-table tr + tr td { border-top: 1px solid var(--white-10); }
.price-table th { text-align: left; padding: 0.85rem 1.25rem; font-weight: 600; font-size: 0.9rem; color: var(--cream); }
.price-table th span { display: block; font-weight: 400; font-size: 0.78rem; color: var(--cream-35); }
.price-table td { text-align: right; padding: 0.85rem 1.25rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price-table--big tr { background: rgba(255,255,255,0.04); }
.price-table--big td { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); }

.included {
  display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 1.75rem;
  padding: 0.85rem 1rem; border: 1px solid rgba(224,224,224,0.2);
  background: rgba(224,224,224,0.06); border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
}
.included svg { color: var(--silver); flex: none; margin-top: 1px; }

.feature-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--cream-70); }
.feature-list li::before {
  content: ''; width: 16px; height: 16px; flex: none; margin-top: 2px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9b9b9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.price-card .btn { margin-top: auto; }
.feature-list + .btn { margin-top: 2rem; }

.options { margin-top: 1.25rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.options-label { display: block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(224,224,224,0.7); margin-bottom: 1.25rem; }
.options-list { display: grid; gap: 0.85rem 2rem; }
.options-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: var(--cream-70); }
.opt-price { flex: none; font-weight: 600; color: var(--silver); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .options-list { grid-template-columns: 1fr 1fr; } }

.categories-note { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.9; letter-spacing: 0.02em; color: var(--cream-35); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-intro { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-lede { font-size: var(--text-lede); color: var(--cream-55); max-width: 28rem; }
.contact-info { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-info li, .contact-info a { display: flex; align-items: center; gap: 1rem; color: var(--cream-70); transition: color var(--dur) var(--ease); }
.contact-info a:hover { color: var(--cream); }
.contact-info a:hover .icon-badge { border-color: rgba(224,224,224,0.4); }

.contact-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; border: none; }
.field > span, .field > legend { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--cream-55); }
.field legend { padding: 0; margin-bottom: 0.5rem; }

.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; color: var(--cream);
  border: 1px solid var(--white-10); background: var(--white-04);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(245,244,241,0.3); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: rgba(224,224,224,0.5); background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(224,224,224,0.1);
}
.contact-form .invalid { border-color: rgba(248,113,113,0.6); }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.choice {
  font: inherit; font-size: 0.78rem; font-weight: 500; line-height: 1.2; cursor: pointer;
  text-align: center; padding: 0.8rem 0.5rem; border-radius: var(--radius-sm);
  border: 1px solid var(--white-10); background: var(--white-04); color: var(--cream-70);
  transition: all var(--dur) var(--ease);
}
.choice:hover { border-color: var(--white-20); }
.choice.is-active { border-color: var(--silver); background: var(--silver); color: #000; }

/* Honeypot — hidden from humans, visible to bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { font-size: 0.88rem; color: #f87171; }

.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 26rem; gap: 0.5rem; }
.success-mark { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 999px; background: var(--silver); color: #000; margin-bottom: 1rem; }
.form-success h3 { font-size: var(--text-h3); font-weight: 700; }
.form-success p { color: var(--cream-55); max-width: 22rem; }
.link-btn { margin-top: 1.25rem; background: none; border: none; cursor: pointer; font: inherit; font-size: 0.9rem; color: var(--silver); text-underline-offset: 4px; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--white-10); background: var(--ink); }
.footer-grid { display: flex; flex-direction: column; gap: 2.5rem; padding-block: 3.5rem 0; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 24rem; }
.footer-brand p { font-size: 0.9rem; color: var(--cream-55); }
.footer-brand .icon-badge { width: 2.5rem; height: 2.5rem; border-radius: 999px; }
.footer-brand .icon-badge:hover { border-color: rgba(224,224,224,0.4); color: var(--cream); }
.footer-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-head { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(224,224,224,0.7); }
.footer-col a, .footer-muted { font-size: 0.9rem; color: var(--cream-70); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--white-10); }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cream-35); }

@media (min-width: 720px) {
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-bottom { flex-direction: row; }
}
@media (min-width: 900px) { .section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile nav ---------- */

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: rgba(5,5,5,0.92); border-top: 1px solid var(--white-10); backdrop-filter: blur(18px);
    padding: 1rem var(--pad-x); max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease), padding var(--dur) var(--ease);
  }
  .nav-links:not(.open) { max-height: 0; padding-block: 0; border-top-color: transparent; }
  .nav-links.open { max-height: 22rem; }
  .nav-links > a:not(.btn) { padding: 0.85rem 0.5rem; border-radius: 10px; }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 0.5rem; justify-content: center; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal, .hero-in { opacity: 1; transform: none; }
  #intro, #intro-bg, #intro-mark { display: none !important; }
  #page { opacity: 1; }
}
