/* =========================================================
   Priska's Auto — cinematic luxury showroom theme
   ========================================================= */

:root {
  /* surfaces */
  --obsidian: #0c0c0e;
  --graphite: #15151a;
  --graphite-2: #1e1e25;
  --hairline: #2c2c34;
  /* gold */
  --gold: #c9a24b;
  --gold-bright: #e4c77e;
  --gold-deep: #9a7a33;
  /* text */
  --ivory: #f4f0e6;
  --silver: #a7a7b0;
  --muted: #6b6b74;
  /* signal */
  --amg-red: #b11226;
  --success: #3fa66a;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--ivory);
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--obsidian); }

.display { font-family: "Bodoni Moda", serif; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.32s var(--ease), background 0.32s var(--ease),
    color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1a1407;
  box-shadow: 0 10px 30px -10px rgba(201, 162, 75, 0.55);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(201, 162, 75, 0.7); }

.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }

.btn-block { width: 100%; }

/* ============ top nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(12, 12, 14, 0.92), rgba(12, 12, 14, 0.55));
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Bodoni Moda", serif; font-weight: 700; font-size: 1.25rem;
  color: var(--obsidian);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 6px 18px -6px rgba(201, 162, 75, 0.6);
}
.brand-name { font-family: "Bodoni Moda", serif; font-size: 1.2rem; font-weight: 600; line-height: 1; }
.brand-name span { display: block; font-family: "Manrope", sans-serif; font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--silver); transition: color 0.25s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav-fav { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-fav .count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: var(--obsidian);
  font-size: 0.7rem; font-weight: 800; display: grid; place-items: center;
}
.nav-toggle { display: none; }

/* ============ hero (home) ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--obsidian) 4%, rgba(12, 12, 14, 0.35) 45%, rgba(12, 12, 14, 0.7) 100%);
}
.hero-glow {
  position: absolute; z-index: 0; width: 60vw; height: 60vw; top: -20%; right: -10%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.22), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 110px); max-width: 760px; }
.hero h1 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.98; font-weight: 600; letter-spacing: -0.02em;
  margin: 1rem 0 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--silver); max-width: 540px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline);
  padding: 1.6rem 0;
}
.hero-stats .stat strong { font-family: "Bodoni Moda", serif; font-size: clamp(1.6rem, 3vw, 2.4rem); display: block; }
.hero-stats .stat span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); }

/* ============ section heading ============ */
.section { padding: clamp(64px, 10vw, 130px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(32px, 5vw, 60px); flex-wrap: wrap; }
.section-head h2 { font-family: "Bodoni Moda", serif; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 600; line-height: 1.02; }
.section-head p { color: var(--silver); max-width: 420px; }

/* ============ car grid + cards ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: clamp(20px, 2.5vw, 34px); }

.card {
  position: relative;
  background: var(--graphite);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 75, 0.5); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 14, 0.85), transparent 45%);
}
.card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(12, 12, 14, 0.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 75, 0.5); color: var(--gold-bright);
}
.card-price-chip {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--ivory);
}
.card-price-chip small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

/* favourite heart */
.fav {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12, 12, 14, 0.55); backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.fav:hover { transform: scale(1.1); border-color: var(--amg-red); }
.fav svg { width: 19px; height: 19px; fill: none; stroke: var(--ivory); stroke-width: 2; transition: fill 0.25s, stroke 0.25s, transform 0.25s; }
.fav.active svg { fill: var(--amg-red); stroke: var(--amg-red); }
.fav.active { border-color: var(--amg-red); }
.fav.pop svg { animation: pop 0.4s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card-body h3 { font-family: "Bodoni Moda", serif; font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.card-sub { color: var(--silver); font-size: 0.85rem; margin: 0.3rem 0 1rem; }
.card-specs { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hairline); margin-bottom: 1.1rem; }
.card-specs li { list-style: none; font-size: 0.8rem; color: var(--silver); display: flex; align-items: center; gap: 0.4rem; }
.card-specs li b { color: var(--ivory); font-weight: 600; }
.card-specs svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.7; }
.card-actions { display: flex; gap: 0.7rem; }
.card-actions .btn { flex: 1; padding: 0.8rem 1rem; font-size: 0.74rem; }

/* ============ marquee strip ============ */
.strip { border-block: 1px solid var(--hairline); overflow: hidden; padding: 1.1rem 0; background: var(--graphite); }
.strip-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 28s linear infinite; }
.strip-track span { font-family: "Bodoni Moda", serif; font-style: italic; font-size: 1.3rem; color: var(--silver); display: inline-flex; align-items: center; gap: 3rem; }
.strip-track span::after { content: "✦"; color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ feature / why us ============ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.feature { background: var(--graphite); border: 1px solid var(--hairline); border-radius: 16px; padding: 2rem 1.8rem; transition: border-color 0.4s, transform 0.4s var(--ease); }
.feature:hover { border-color: rgba(201, 162, 75, 0.4); transform: translateY(-5px); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 162, 75, 0.1); color: var(--gold); margin-bottom: 1.1rem; }
.feature .ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.feature h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.feature p { color: var(--silver); font-size: 0.9rem; }

/* ============ filters (listing) ============ */
.toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 2.4rem; }
.chip {
  padding: 0.6rem 1.15rem; border-radius: 999px; border: 1px solid var(--hairline);
  background: var(--graphite); color: var(--silver);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  transition: all 0.25s var(--ease);
}
.chip:hover { color: var(--ivory); border-color: var(--gold-deep); }
.chip.active { background: var(--gold); color: var(--obsidian); border-color: var(--gold); }
.toolbar .spacer { flex: 1; }
.select { position: relative; }
.select select {
  appearance: none; background: var(--graphite); color: var(--ivory);
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 0.6rem 2.4rem 0.6rem 1.15rem; font-family: inherit; font-size: 0.78rem; font-weight: 600;
}
.select::after { content: "▾"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.results-count { color: var(--silver); font-size: 0.82rem; margin-bottom: 1.4rem; }

/* ============ detail page ============ */
.crumbs { color: var(--silver); font-size: 0.8rem; padding-top: 1.6rem; }
.crumbs a:hover { color: var(--gold); }
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); padding: 2rem 0 0; align-items: start; }

.gallery-main { position: relative; border-radius: 16px; overflow: hidden; background: var(--graphite); border: 1px solid var(--hairline); aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .badge-float { position: absolute; top: 16px; left: 16px; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(12,12,14,0.6); backdrop-filter: blur(8px); border: 1px solid rgba(201,162,75,0.5); color: var(--gold-bright); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.gallery-nav { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; opacity: 0; transition: opacity 0.3s; }
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(12,12,14,0.6); backdrop-filter: blur(8px); border: 1px solid var(--hairline); font-size: 1.2rem; color: var(--ivory); transition: background 0.25s, border-color 0.25s; }
.gallery-nav button:hover { border-color: var(--gold); color: var(--gold-bright); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--hairline); opacity: 0.55; transition: opacity 0.3s, border-color 0.3s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.active { opacity: 1; border-color: var(--gold); }
.thumbs button:hover { opacity: 1; }

.detail-info .eyebrow { margin-bottom: 0.6rem; }
.detail-info h1 { font-family: "Bodoni Moda", serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; line-height: 1.02; }
.detail-info .sub { color: var(--silver); margin: 0.5rem 0 1.4rem; }
.price-row { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 0; border-block: 1px solid var(--hairline); margin-bottom: 1.4rem; }
.price-row .price { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--gold); }
.price-row .deposit { color: var(--silver); font-size: 0.85rem; }
.price-row .deposit b { color: var(--ivory); }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 1.6rem; }
.spec-tile { background: var(--graphite); border: 1px solid var(--hairline); border-radius: 12px; padding: 0.9rem 1rem; display: flex; gap: 0.7rem; align-items: center; }
.spec-tile svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.7; flex-shrink: 0; }
.spec-tile .lbl { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.spec-tile .val { font-weight: 700; font-size: 0.98rem; }

.detail-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.7rem; }
.detail-cta-fav { display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; padding: 0.9rem; border-radius: 12px; border: 1px solid var(--hairline); background: var(--graphite); color: var(--silver); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.3s; }
.detail-cta-fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.detail-cta-fav.active { color: var(--amg-red); border-color: var(--amg-red); }
.detail-cta-fav.active svg { fill: var(--amg-red); stroke: var(--amg-red); }

.detail-block { margin-top: 2.6rem; }
.detail-block h3 { font-family: "Bodoni Moda", serif; font-size: 1.5rem; margin-bottom: 0.9rem; }
.detail-block p { color: var(--silver); max-width: 60ch; }
.highlight-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 0.6rem; margin-top: 1.2rem; }
.highlight-list li { display: flex; align-items: center; gap: 0.6rem; color: var(--ivory); font-size: 0.92rem; }
.highlight-list li::before { content: "✦"; color: var(--gold); }

.dealer-card { display: flex; gap: 1rem; align-items: center; background: var(--graphite); border: 1px solid var(--hairline); border-radius: 16px; padding: 1.4rem; margin-top: 1.6rem; }
.dealer-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: var(--obsidian); display: grid; place-items: center; font-family: "Bodoni Moda", serif; font-weight: 700; font-size: 1.5rem; }
.dealer-card .who { font-weight: 700; }
.dealer-card .who small { display: block; font-weight: 400; color: var(--silver); font-size: 0.78rem; }

/* ============ modal ============ */
.modal-scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(6,6,8,0.7); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.3s; }
.modal-scrim.open { display: flex; opacity: 1; }
.modal { width: 100%; max-width: 520px; background: var(--graphite); border: 1px solid var(--hairline); border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); transform: translateY(18px) scale(0.98); transition: transform 0.4s var(--ease); max-height: 92vh; overflow-y: auto; }
.modal-scrim.open .modal { transform: none; }
.modal .eyebrow { margin-bottom: 0.5rem; }
.modal h3 { font-family: "Bodoni Moda", serif; font-size: 1.8rem; line-height: 1.05; margin-bottom: 0.3rem; }
.modal .modal-sub { color: var(--silver); font-size: 0.88rem; margin-bottom: 1.5rem; }
.modal-close { position: absolute; }
.modal-veh { display: flex; gap: 0.9rem; align-items: center; background: var(--graphite-2); border: 1px solid var(--hairline); border-radius: 12px; padding: 0.7rem; margin-bottom: 1.4rem; }
.modal-veh img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.modal-veh .mv-name { font-family: "Bodoni Moda", serif; font-size: 1.05rem; }
.modal-veh .mv-price { color: var(--gold); font-weight: 700; font-size: 0.85rem; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); margin-bottom: 0.45rem; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--graphite-2); border: 1px solid var(--hairline);
  border-radius: 10px; padding: 0.8rem 0.9rem; color: var(--ivory); font-family: inherit; font-size: 0.92rem;
  transition: border-color 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

.modal-success { text-align: center; padding: 1.5rem 0; }
.modal-success .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(63,166,106,0.12); color: var(--success); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.modal-success .check svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.modal-success h3 { margin-bottom: 0.5rem; }
.modal-success p { color: var(--silver); margin-bottom: 1.4rem; }

/* ============ favourites empty / page ============ */
.empty { text-align: center; padding: clamp(40px, 8vw, 90px) 0; }
.empty .ico { width: 70px; height: 70px; border-radius: 50%; background: var(--graphite); border: 1px solid var(--hairline); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.empty .ico svg { width: 30px; height: 30px; stroke: var(--silver); fill: none; stroke-width: 1.6; }
.empty h3 { font-family: "Bodoni Moda", serif; font-size: 1.8rem; margin-bottom: 0.5rem; }
.empty p { color: var(--silver); margin-bottom: 1.6rem; }

/* ============ footer ============ */
.footer { border-top: 1px solid var(--hairline); padding: clamp(48px, 7vw, 90px) 0 2.4rem; margin-top: 3rem; background: linear-gradient(to bottom, transparent, rgba(201,162,75,0.03)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-grid h5 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-grid a, .footer-grid p { display: block; color: var(--silver); font-size: 0.9rem; margin-bottom: 0.6rem; transition: color 0.25s; }
.footer-grid a:hover { color: var(--ivory); }
.footer .lead { color: var(--silver); max-width: 38ch; margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--hairline); padding-top: 1.6rem; color: var(--muted); font-size: 0.78rem; }

/* ============ reveal animation ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(24px); animation: fadeUp 0.7s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--obsidian); border-bottom: 1px solid var(--hairline); padding: 1rem var(--gutter); transform: translateY(-130%); transition: transform 0.4s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 0.9rem 0; width: 100%; border-bottom: 1px solid var(--hairline); }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--hairline); }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ivory); position: relative; }
  .nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-cta { grid-template-columns: 1fr; }
}
