/* ===========================================================
   DADAS MOTORLAND — Luxury Design System
   Derived directly from the brand artwork (black / white /
   metallic gold, angular geometry, editorial hierarchy).
   =========================================================== */

:root {
  /* Colour */
  --black: #0b0b0b;
  --charcoal: #141414;
  --ink: #060606;
  --white: #ffffff;
  --bone: #f4f2ef;
  --gold: #c69214;
  --gold-2: #d4a017;
  --gold-3: #e3b341;
  --grey: #b9b9b9;
  --grey-dim: #6f6f6f;

  --metal: linear-gradient(100deg, #8a6410 0%, #c69214 18%, #f0d68b 38%, #e3b341 52%, #b8860f 70%, #f4e2ac 86%, #c69214 100%);
  --metal-soft: linear-gradient(120deg, #c69214, #e3b341 45%, #a97a10);

  /* Type */
  --display: "Exo 2", "Eurostile", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, "Liberation Sans", sans-serif;

  /* Space */
  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1560px;
  --rule: 1px solid rgba(198, 146, 20, 0.34);
  --hairline: 1px solid rgba(255, 255, 255, 0.1);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: #000; padding: 12px 20px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

.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;
}

/* ---------- Ambient background system ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1%, -2%); }
  60% { transform: translate(-1%, -1%); }
  80% { transform: translate(2%, 2%); }
}

.spotlight {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 40%),
    rgba(227, 179, 65, 0.09), rgba(198, 146, 20, 0.035) 42%, transparent 68%);
  transition: background .35s linear;
}

#dust { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55; }

/* ---------- Luxury cursor ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; border-radius: 50%; }
.cursor { width: 6px; height: 6px; background: var(--gold-3); margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(227, 179, 65, .55);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s;
}
.cursor-ring.is-hot {
  width: 74px; height: 74px; margin: -37px 0 0 -37px;
  background: rgba(227, 179, 65, .1); border-color: var(--gold-3);
}
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- Preloader / door reveal ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: #000; }
.pre-line {
  position: absolute; left: 50%; top: 50%; width: 0; height: 1px;
  transform: translate(-50%, -50%); background: var(--metal);
  box-shadow: 0 0 26px rgba(227, 179, 65, .8);
  animation: preLine 1.15s var(--ease) forwards;
}
@keyframes preLine { to { width: min(560px, 72vw); } }

.pre-logo {
  position: absolute; left: 50%; top: 50%; width: min(430px, 66vw);
  transform: translate(-50%, -50%); opacity: 0;
  -webkit-mask-image: linear-gradient(100deg, transparent 0 34%, #000 46% 54%, transparent 66% 100%);
  mask-image: linear-gradient(100deg, transparent 0 34%, #000 46% 54%, transparent 66% 100%);
  -webkit-mask-size: 320% 100%; mask-size: 320% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: preLogo 1.5s .95s var(--ease-io) forwards;
}
@keyframes preLogo {
  0% { opacity: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  35% { opacity: 1; }
  75% { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0; }
  100% {
    opacity: 1;
    -webkit-mask-image: linear-gradient(100deg, #000 0 100%); mask-image: linear-gradient(100deg, #000 0 100%);
  }
}
.pre-tag {
  position: absolute; left: 0; right: 0; top: calc(50% + 74px); text-align: center;
  font-size: 10px; letter-spacing: .58em; text-transform: uppercase; color: rgba(255,255,255,.5);
  opacity: 0; animation: fadeUp .9s 1.9s var(--ease) forwards;
}
.door {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: linear-gradient(180deg, #101010, #000 55%, #0d0b06);
  box-shadow: inset 0 0 140px rgba(198,146,20,.14);
}
.door::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px;
  background: var(--metal); opacity: .9;
}
.door-l { left: 0; } .door-l::after { right: 0; }
.door-r { right: 0; } .door-r::after { left: 0; }
.preloader.is-open .door-l { transform: translateX(-101%); transition: transform 1.5s var(--ease); }
.preloader.is-open .door-r { transform: translateX(101%); transition: transform 1.5s var(--ease); }
.preloader.is-open .pre-logo,
.preloader.is-open .pre-line,
.preloader.is-open .pre-tag { opacity: 0; transition: opacity .5s ease; }
.preloader.is-done { display: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px var(--gutter);
  transition: padding .5s var(--ease), background .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  padding: 12px var(--gutter);
  background: rgba(8, 8, 8, .72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(198, 146, 20, .28);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: clamp(132px, 13vw, 186px); height: auto; }

.nav-main ul { display: flex; gap: clamp(14px, 2vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav-main a {
  position: relative; display: inline-block; padding: 6px 2px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .74); transition: color .35s;
}
.nav-main a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--metal); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: #fff; }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none; width: 46px; height: 40px; background: none;
  border: 1px solid rgba(198,146,20,.42); cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { bottom: 15px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: clamp(62px, 13vw, 82px); right: var(--gutter); z-index: 890;
  width: min(258px, calc(100vw - var(--gutter) * 2));
  display: flex; flex-direction: column; gap: 2px; padding: 8px;
  background: rgba(11, 11, 11, .94);
  border: 1px solid rgba(198, 146, 20, .34);
  border-radius: 4px 16px 4px 16px;
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  transform-origin: top right;
  opacity: 0; transform: translateY(-10px) scale(.96);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .35s;
  visibility: hidden; pointer-events: none;
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0) scale(1); visibility: visible; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display); font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; padding: 11px 14px;
  color: rgba(255, 255, 255, .82); border-radius: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: color .3s, background .3s, padding-left .3s var(--ease);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] {
  color: var(--gold-3); background: rgba(198, 146, 20, .1); padding-left: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px; font-size: 11px; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; border: 1px solid rgba(198, 146, 20, .55);
  background: transparent; color: #fff; cursor: pointer; overflow: hidden;
  border-radius: 3px 10px 3px 10px;
  transition: color .4s var(--ease), border-color .4s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--metal);
  transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1;
}
.btn > * { position: relative; z-index: 2; }
.btn:hover { color: #0b0b0b; border-color: var(--gold-3); }
.btn:hover::before { transform: translateY(0); }
.btn-solid { background: var(--metal); color: #0b0b0b; border-color: transparent; }
.btn-solid::before { background: #0b0b0b; }
.btn-solid:hover { color: var(--gold-3); }
.btn-ghost { border-color: rgba(255,255,255,.28); }
.btn-light { border-color: rgba(11,11,11,.3); color: #0b0b0b; }
.btn-light:hover { color: #0b0b0b; }
.btn-sm { padding: 12px 22px; font-size: 10px; }

/* ---------- Typography primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-size: 10px; font-weight: 700; letter-spacing: .48em; text-transform: uppercase;
  color: var(--gold-3);
}
.eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--metal); }
.eyebrow.no-rule::before { display: none; }

.display {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 8.2vw, 128px); line-height: .92; letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h1 { font-size: clamp(34px, 6.4vw, 92px); }
.h2 {
  margin: 0 0 24px; font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 3.9vw, 60px); line-height: 1.02; text-transform: uppercase;
}
.h3 {
  margin: 0 0 14px; font-size: clamp(17px, 1.5vw, 23px); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.gold {
  background: var(--metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.lede { max-width: 62ch; font-size: clamp(15px, 1.15vw, 18px); color: rgba(255,255,255,.72); }
.muted { color: rgba(255,255,255,.6); }
.on-light .lede, .on-light .muted { color: rgba(11, 11, 11, .68); }

.rule { height: 1px; background: var(--metal); opacity: .55; border: 0; margin: 0; }
.rule-anim { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.is-in .rule-anim, .rule-anim.is-in { transform: scaleX(1); }

/* ---------- Layout ---------- */
.section { position: relative; z-index: 2; padding: clamp(72px, 10vw, 168px) var(--gutter); }
.section-tight { padding-block: clamp(56px, 7vw, 110px); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.on-light { background: var(--bone); color: var(--black); }
.on-light .h2, .on-light .display { color: var(--black); }
.on-black { background: var(--black); }

.grid { display: grid; gap: clamp(24px, 3.2vw, 56px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-editorial { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.g-side { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

/* Angular frame used throughout (mirrors flyer geometry) */
.cut { border-radius: 2px 14px 2px 14px; }
.cut-sm { border-radius: 2px 14px 2px 14px; }
.cut-tr { border-radius: 2px 22px 2px 2px; }

.goldframe { position: relative; }
.goldframe::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  border: 1px solid rgba(198, 146, 20, .45);
  border-radius: 2px 14px 2px 14px;
}

/* ---------- Reveal / split text ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }

.split { display: block; overflow: hidden; }
.split > span {
  display: inline-block; transform: translateY(115%) rotateX(-45deg); opacity: 0;
  transition: transform 1.05s var(--ease), opacity .8s var(--ease);
}
.split.is-in > span { transform: none; opacity: 1; }

.mask-img { overflow: hidden; position: relative; }
.mask-img img { transform: scale(1.04); transition: transform 1.4s var(--ease); }
.mask-img.is-in img { transform: scale(1); }
.mask-img::after {
  content: ""; position: absolute; inset: 0; background: var(--black);
  transform-origin: right; transition: transform 1.25s var(--ease);
}
.mask-img.is-in::after { transform: scaleX(0); }

/* Gold light sweep */
.sweep { position: relative; overflow: hidden; }
.sweep::after {
  content: ""; position: absolute; top: -60%; bottom: -60%; width: 42%;
  left: -60%; z-index: 4; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 200, .16), transparent);
  transform: skewX(-18deg); transition: left .95s var(--ease);
}
.sweep:hover::after { left: 125%; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-media img.is-active { opacity: 1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,6,6,.94) 0%, rgba(6,6,6,.72) 38%, rgba(6,6,6,.18) 72%, rgba(6,6,6,.7) 100%),
    linear-gradient(0deg, rgba(6,6,6,.96), transparent 52%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 7vw, 96px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; margin-top: 30px; }
.hero-meta span { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-aside {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 96px); z-index: 4;
  width: min(300px, 34vw); padding: 22px 24px;
  background: rgba(12, 12, 12, .5); backdrop-filter: blur(14px);
  border: 1px solid rgba(198, 146, 20, .3);
  border-radius: 2px 9px 2px 9px;
}
.hero-aside p { margin: 0; font-size: 12px; letter-spacing: .05em; color: rgba(255,255,255,.72); }
.hero-aside strong { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 8px; }

.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 26px; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  font-size: 9px; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.45);
}
.scroll-cue i { display: block; width: 54px; height: 1px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--metal); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: var(--rule); padding: 22px 0; background: #0d0d0d; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--display); font-size: clamp(14px, 1.5vw, 22px);
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.34);
  display: flex; align-items: center; gap: 60px; white-space: nowrap;
}
.marquee span::after { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Exhibit (vehicle) ---------- */
.exhibits { display: grid; gap: clamp(28px, 3vw, 44px); grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.exhibit {
  position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #131313, #0a0a0a 70%);
  border: 1px solid rgba(255,255,255,.07); transform-style: preserve-3d; will-change: transform;
  transition: border-color .5s, box-shadow .6s var(--ease);
  border-radius: 2px 14px 2px 14px;
}
.exhibit:hover { border-color: rgba(198,146,20,.5); box-shadow: 0 40px 90px -50px rgba(198,146,20,.55); }
.exhibit-stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0d0d0d; }
.exhibit-stage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exhibit:hover .exhibit-stage img { transform: scale(1.07); }
.exhibit-stage::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(0deg, rgba(10,10,10,.94), transparent);
}
.exhibit-badge {
  position: absolute; top: 0; left: 0; z-index: 3; padding: 8px 16px;
  background: var(--metal); color: #0b0b0b; font-size: 9px; font-weight: 800;
  letter-spacing: .26em; text-transform: uppercase;
}
.exhibit-body { position: relative; z-index: 2; padding: 26px 28px 30px; margin-top: -34px; }
.exhibit-year { font-size: 10px; letter-spacing: .4em; color: var(--gold-3); text-transform: uppercase; }
.exhibit h3 { margin: 10px 0 16px; font-family: var(--display); font-size: clamp(16px, 1.35vw, 21px); line-height: 1.2; text-transform: uppercase; font-weight: 800; }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09); }
.spec-row li { list-style: none; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.exhibit-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.price { font-family: var(--display); font-size: clamp(15px, 1.3vw, 19px); }
.exhibit-link { position: absolute; inset: 0; z-index: 6; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: rgba(198,146,20,.25); border: 1px solid rgba(198,146,20,.25); }
.stat { background: #0b0b0b; padding: clamp(26px, 3.2vw, 46px); }
.stat b { display: block; font-family: var(--display); font-size: clamp(30px, 4.6vw, 66px); line-height: 1; }
.stat span { display: block; margin-top: 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---------- Feature panels ---------- */
.panel {
  position: relative; padding: clamp(28px, 3vw, 44px);
  background: rgba(255,255,255,.028); border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px 14px 2px 14px;
  transition: background .5s, border-color .5s, transform .6s var(--ease);
}
.panel:hover { background: rgba(198,146,20,.07); border-color: rgba(198,146,20,.45); transform: translateY(-6px); }
.panel .num { font-family: var(--display); font-size: 12px; color: var(--gold-3); letter-spacing: .2em; }
.panel p { margin: 0; font-size: 14px; color: rgba(255,255,255,.62); }
.on-light .panel { background: rgba(11,11,11,.03); border-color: rgba(11,11,11,.12); }
.on-light .panel p { color: rgba(11,11,11,.66); }
.on-light .panel:hover { background: rgba(198,146,20,.1); border-color: rgba(198,146,20,.5); }

.icon-badge {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px;
  border: 1px solid rgba(198,146,20,.5); color: var(--gold-3);
  border-radius: 2px 9px 2px 9px;
}
.icon-badge svg { width: 20px; height: 20px; }

/* ---------- Gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.mosaic figure { position: relative; margin: 0; overflow: hidden; background: #101010; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92) contrast(1.04); }
.mosaic figure:hover img { transform: scale(1.06); filter: saturate(1.05) contrast(1.08); }
.mosaic figcaption {
  position: absolute; left: 0; bottom: 0; padding: 12px 16px; z-index: 2;
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  background: linear-gradient(0deg, rgba(0,0,0,.86), transparent); width: 100%; color: rgba(255,255,255,.82);
}
.m-6 { grid-column: span 6; } .m-4 { grid-column: span 4; } .m-3 { grid-column: span 3; }
.m-8 { grid-column: span 8; } .m-12 { grid-column: span 12; }
.ar-wide { aspect-ratio: 3/2; } .ar-sq { aspect-ratio: 1/1; } .ar-tall { aspect-ratio: 3/4; } .ar-4x3 { aspect-ratio: 1/1; }

/* ---------- Testimonials ---------- */
.quote { padding: clamp(26px, 3vw, 44px); border: 1px solid rgba(255,255,255,.09); background: #0e0e0e; }
.quote blockquote { margin: 0 0 22px; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.65; color: rgba(255,255,255,.86); }
.quote figcaption { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-3); }
.stars { display: flex; gap: 5px; margin-bottom: 20px; color: var(--gold-3); }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 20px; }
.field span { display: block; margin-bottom: 9px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14); color: #fff; transition: border-color .35s, background .35s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-3); background: rgba(198,146,20,.07); outline: none; }
.on-light .field span { color: rgba(11,11,11,.6); }
.on-light .field input, .on-light .field select, .on-light .field textarea { background: #fff; border-color: rgba(11,11,11,.16); color: #0b0b0b; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 2; background: #070707; border-top: 1px solid rgba(198,146,20,.32); padding: clamp(56px, 7vw, 100px) var(--gutter) 34px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,4fr) repeat(3, minmax(0,2fr)); gap: clamp(28px, 3vw, 56px); }
.site-footer h4 { margin: 0 0 20px; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { font-size: 13px; color: rgba(255,255,255,.62); transition: color .3s, padding-left .35s var(--ease); }
.site-footer a:hover { color: var(--gold-3); padding-left: 6px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  margin-top: clamp(38px, 5vw, 70px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4);
}
.tagline { font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.tagline em { font-style: normal; color: var(--gold-3); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; overflow: hidden; padding: 150px var(--gutter) clamp(46px, 6vw, 84px); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,6,6,.95), rgba(6,6,6,.55) 60%, rgba(6,6,6,.85)), linear-gradient(0deg, #0b0b0b, transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.crumbs { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold-3); }

/* ---------- Vehicle detail ---------- */
.vd-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.vd-main { grid-column: span 12; aspect-ratio: 1 / 1; overflow: hidden; background: #0f0f0f; }
.vd-main img { width: 100%; height: 100%; object-fit: cover; }
.vd-thumbs { grid-column: span 12; display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.vd-thumbs button { padding: 0; border: 1px solid rgba(255,255,255,.12); background: none; cursor: pointer; overflow: hidden; aspect-ratio: 1/1; border-radius: 2px; }
.vd-thumbs button[aria-current="true"] { border-color: var(--gold-3); }
.vd-thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .4s, transform .8s var(--ease); }
.vd-thumbs button:hover img, .vd-thumbs button[aria-current="true"] img { opacity: 1; transform: scale(1.05); }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 15px 0; text-align: left; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.spec-table th { color: rgba(255,255,255,.45); font-weight: 500; width: 46%; }
.spec-table td { color: #fff; font-weight: 600; }

.glass-panel {
  position: sticky; top: 110px; padding: clamp(24px, 2.4vw, 36px);
  background: rgba(16,16,16,.72); backdrop-filter: blur(16px);
  border: 1px solid rgba(198,146,20,.34);
  border-radius: 2px 14px 2px 14px;
}

/* ===========================================================
   CAREERS — direct HTML translation of the hiring flyer
   =========================================================== */
.flyer {
  position: relative; max-width: 1180px; margin: 0 auto; background: #0b0b0b;
  border: 1px solid rgba(198,146,20,.35); overflow: hidden;
}
.flyer-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); background: #f4f2ef; color: #0b0b0b; }
.flyer-copy { position: relative; z-index: 3; padding: clamp(26px, 3.4vw, 52px) clamp(24px, 3vw, 48px) clamp(26px, 3vw, 44px); }
.flyer-copy .brandmark { width: clamp(180px, 20vw, 250px); margin-bottom: clamp(20px, 3vw, 40px); }
.flyer-weare { font-size: clamp(20px, 2.6vw, 40px); font-weight: 800; letter-spacing: .04em; color: #4a4a4a; line-height: 1; }
.flyer-hiring {
  font-family: var(--display); font-size: clamp(52px, 9.4vw, 138px); line-height: .82;
  letter-spacing: -.02em; margin: 6px 0 18px; background: var(--metal);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.flyer-role {
  display: inline-block; background: #0b0b0b; color: #fff; padding: 10px 20px;
  font-size: clamp(11px, 1.16vw, 17px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.flyer-role b { color: var(--gold-3); font-weight: 800; }
.flyer-copy > p { max-width: 46ch; margin: clamp(18px, 2.2vw, 30px) 0 0; font-size: clamp(12px, .96vw, 14.5px); line-height: 1.72; color: #3d3d3d; }
.flyer-copy strong.g { color: var(--gold); }
.flyer-photo { position: relative; overflow: hidden; }
.flyer-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) contrast(1.12); }
.flyer-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(96deg, #f4f2ef 0 4%, transparent 26%);
}
.flyer-photo::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -6%; width: 26%; z-index: 3;
  background: var(--metal); transform: skewX(-11deg); opacity: .96;
  clip-path: polygon(0 0, 46% 0, 100% 100%, 54% 100%);
}

.flyer-bar {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  background: #0b0b0b; border-block: 1px solid rgba(198,146,20,.4);
}
.flyer-bar > div { display: flex; align-items: center; gap: 18px; padding: clamp(18px, 2vw, 30px) clamp(24px, 3vw, 48px); }
.flyer-bar > div + div { border-left: 1px solid rgba(198,146,20,.3); }
.flyer-pin {
  flex: none; display: grid; place-items: center; width: clamp(40px, 4vw, 58px); height: clamp(40px, 4vw, 58px);
  border-radius: 50%; background: var(--metal); color: #0b0b0b;
}
.flyer-pin svg { width: 55%; height: 55%; }
.flyer-bar h3 { margin: 0 0 4px; font-size: clamp(10px, 1vw, 13px); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-3); }
.flyer-bar p { margin: 0; font-size: clamp(12px, 1.02vw, 15px); color: #fff; line-height: 1.4; }

.flyer-lists { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; background: #0b0b0b; }
.flyer-lists > section { padding: clamp(26px, 3vw, 46px) clamp(24px, 3vw, 44px); }
.flyer-lists > section + section { border-left: 1px solid rgba(198,146,20,.28); }
.flyer-lists h2 {
  display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(20px, 2.4vw, 32px);
  font-size: clamp(14px, 1.5vw, 22px); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff;
}
.flyer-lists h2 em { font-style: normal; color: var(--gold-3); }
.flyer-lists h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.flyer-lists ul { list-style: none; margin: 0; padding: 0; }
.flyer-lists li { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; padding: clamp(11px, 1.3vw, 17px) 0; border-bottom: 1px solid rgba(255,255,255,.08); transition: background .4s, padding-left .4s var(--ease); }
.flyer-lists li:last-child { border-bottom: 0; }
.flyer-lists li:hover { background: rgba(198,146,20,.07); padding-left: 10px; }
.flyer-lists li i {
  flex: none; display: grid; place-items: center; width: clamp(30px, 3.1vw, 42px); height: clamp(30px, 3.1vw, 42px);
  border: 1px solid rgba(198,146,20,.55); border-radius: 50%; color: var(--gold-3);
}
.flyer-lists li i svg { width: 50%; height: 50%; }
.flyer-lists h4 { margin: 0 0 4px; font-size: clamp(11px, 1.05vw, 15px); font-weight: 800; color: #fff; letter-spacing: .01em; }
.flyer-lists p { margin: 0; font-size: clamp(10.5px, .92vw, 13px); line-height: 1.6; color: rgba(255,255,255,.62); }

.flyer-apply {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(18px, 2vw, 34px);
  margin: 0 clamp(20px, 2.6vw, 40px) clamp(20px, 2.6vw, 36px); padding: clamp(18px, 2.2vw, 30px);
  border: 1px solid rgba(198,146,20,.5);
}
.flyer-apply-copy { display: flex; align-items: center; gap: 16px; }
.flyer-apply h3 { margin: 0 0 6px; font-size: clamp(15px, 1.7vw, 26px); font-weight: 800; text-transform: uppercase; color: #fff; }
.flyer-apply h3 em { font-style: normal; color: var(--gold-3); }
.flyer-apply p { margin: 0; font-size: clamp(10.5px, .92vw, 13px); color: rgba(255,255,255,.62); max-width: 32ch; }
.flyer-mail {
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.6vw, 24px);
  padding: clamp(12px, 1.5vw, 20px) clamp(16px, 2vw, 30px); background: var(--metal); color: #0b0b0b;
  font-family: var(--display); font-size: clamp(15px, 2.3vw, 34px); letter-spacing: -.01em;
  transition: filter .4s, transform .5s var(--ease);
}
.flyer-mail:hover { filter: brightness(1.1); transform: translateX(6px); }
.flyer-mail svg { width: clamp(22px, 2.4vw, 38px); height: auto; flex: none; }
.flyer-foot {
  padding: 14px 20px 18px; text-align: center; background: #0b0b0b;
  font-size: clamp(8px, .8vw, 11px); font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.flyer-foot em { font-style: normal; color: var(--gold-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .nav-main { display: none; }
  .burger { display: block; }
  .header-cta .btn { display: none; }
  .g-2, .g-3, .g-editorial, .g-side { grid-template-columns: minmax(0, 1fr); }
  .hero-aside { position: static; width: auto; margin-top: 30px; }
  .m-6, .m-4, .m-3, .m-8 { grid-column: span 6; }
  .flyer-top { grid-template-columns: minmax(0,1fr); }
  .flyer-photo { min-height: 300px; order: -1; }
  .flyer-photo::before { background: linear-gradient(180deg, transparent 60%, #f4f2ef); }
  .flyer-photo::after { display: none; }
  .flyer-lists { grid-template-columns: minmax(0,1fr); }
  .flyer-lists > section + section { border-left: 0; border-top: 1px solid rgba(198,146,20,.28); }
  .flyer-apply { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  .g-4, .stats, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .exhibits { grid-template-columns: minmax(0,1fr); }
  .m-6, .m-4, .m-3, .m-8, .m-12 { grid-column: span 12; }
  .flyer-bar { grid-template-columns: minmax(0,1fr); }
  .flyer-bar > div + div { border-left: 0; border-top: 1px solid rgba(198,146,20,.3); }
  .hero { min-height: 92svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .split > span, .mask-img img { opacity: 1 !important; transform: none !important; }
  .mask-img::after { display: none; }
}

@media print {
  .site-header, .preloader, .cursor, .cursor-ring, #dust, .grain, .spotlight { display: none !important; }
}

/* --- light-surface corrections --- */
.on-light .spec-table{border-top:1px solid rgba(11,11,11,.18)}
.on-light .spec-table th,
.on-light .spec-table td{color:#0B0B0B;border-bottom:1px solid rgba(11,11,11,.12)}
.on-light .spec-table th{color:rgba(11,11,11,.55)}
.on-light .spec-table thead th{color:rgba(11,11,11,.45)}
.on-light .spec-table tbody tr:hover td,
.on-light .spec-table tbody tr:hover th{background:rgba(198,146,20,.08)}
.on-light .spec-table .gold{color:#8a6410}
.on-light .muted{color:rgba(11,11,11,.55)}
.on-light .field span{color:rgba(11,11,11,.55)}
.on-light .panel{background:rgba(11,11,11,.035);border-color:rgba(11,11,11,.12)}
.on-light .panel p{color:rgba(11,11,11,.68)}
.on-light .panel .h3,.on-light .panel h3{color:#0B0B0B}
.on-light .panel .num{color:#8a6410}
.on-light .icon-badge{color:#8a6410;border-color:rgba(11,11,11,.18)}

.vd-layout{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(320px,1fr);gap:clamp(24px,3vw,54px);align-items:start}
@media (max-width:980px){.vd-layout{grid-template-columns:1fr}}
.vd-layout .vd-main img{width:100%;height:auto;display:block}


/* =================================================================
   REVISION PASS — scroll, image framing, softened geometry, wordmark
   ================================================================= */

/* --- 1. Scrolling ------------------------------------------------
   Native scroll only. Anchor jumps get the browser's own smoothing,
   which stays locked to the compositor and never drifts. */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Anything that animates on scroll is promoted once, up front, so the
   compositor never has to re-rasterise mid-scroll. */
[data-parallax], .mask-img img, .hero-media img,
.exhibit-stage img, .mosaic img { will-change: transform; }
.reveal, .split span { will-change: transform, opacity; }

/* The full-bleed grain and spotlight layers were repainting on every
   frame. Pin them to their own compositor layer and stop them from
   ever intercepting scroll. */
.grain, .spotlight, #dust {
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* --- 2. Image framing --------------------------------------------
   Every photograph in the library is a 1440 × 1440 square. Frames that
   were wider than the source were magnifying the car to fill them.
   These rules keep the whole vehicle in shot at every breakpoint. */
.mask-img img,
.goldframe img { width: 100%; height: auto; display: block; object-fit: contain; }

.exhibit-stage img { object-position: center 52%; }

.hero-media img { object-position: center 46%; }
@media (max-width: 900px) { .hero-media img { object-position: center 40%; } }

.page-hero img { object-position: center 48%; }
@media (max-width: 900px) {
  .page-hero { min-height: 54svh; }
  .page-hero img { object-position: center 42%; }
}

/* Mobile: square frames throughout so nothing is ever cropped in. */
@media (max-width: 640px) {
  .exhibit-stage,
  .ar-wide, .ar-4x3, .ar-sq { aspect-ratio: 1 / 1; }
  .ar-tall { aspect-ratio: 4 / 5; }
  .vd-main { aspect-ratio: 1 / 1; }
  .mosaic img { object-position: center 50%; }
}

.vd-main img { object-fit: contain; background: #0d0d0d; }
.flyer-photo img { object-position: center 55%; }

/* --- 3. Softened geometry ----------------------------------------
   The wordmark is drawn with cut corners and open curves, not hard
   90° boxes. Surfaces now carry the same asymmetric radius: tight on
   the leading corner, opened on the trailing corner, the way the gold
   mark tapers. */
:root { --r-sm: 3px; --r-md: 10px; --r-lg: 16px; }

.btn { border-radius: var(--r-sm) var(--r-md) var(--r-sm) var(--r-md); }
.btn-sm { border-radius: 2px 8px 2px 8px; }
.panel, .quote, .glass-panel, .hero-aside, .exhibit,
.stat, .mosaic figure, .field input, .field textarea, .chip {
  border-radius: var(--r-sm) var(--r-lg) var(--r-sm) var(--r-lg);
}
.exhibit-stage { border-radius: var(--r-sm) var(--r-lg) 0 0; }
.exhibit-badge { border-radius: 2px 9px 2px 9px; }
.icon-badge { border-radius: 50%; }
.spec-table { border-radius: 0; }
.vd-main, .goldframe, .mask-img { border-radius: var(--r-sm) var(--r-lg) var(--r-sm) var(--r-lg); overflow: hidden; }
.vd-thumbs button { border-radius: 2px 7px 2px 7px; }

/* --- 4. The gold mark as a system motif ---------------------------
   The sweep from the logo, redrawn as an inline SVG shape, reused as a
   list bullet, a section marker and a hover tell. */
.swoosh {
  display: inline-block;
  width: 1.15em; height: .62em;
  background: var(--metal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 62'><path d='M4 58C30 20 66 2 112 2c6 0 8 4 5 9-13 22-38 38-70 46-8 2-14 3-19 3-4 0-6-1-4-2z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 62'><path d='M4 58C30 20 66 2 112 2c6 0 8 4 5 9-13 22-38 38-70 46-8 2-14 3-19 3-4 0-6-1-4-2z'/></svg>") no-repeat center / contain;
  vertical-align: -.04em;
}

.eyebrow::before { border-radius: 2px; }

/* section markers pick up the sweep instead of a plain rule */
.h2::after {
  content: "";
  display: block;
  width: 62px; height: 10px;
  margin-top: 22px;
  background: var(--metal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 62'><path d='M4 58C30 20 66 2 112 2c6 0 8 4 5 9-13 22-38 38-70 46-8 2-14 3-19 3-4 0-6-1-4-2z'/></svg>") no-repeat left center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 62'><path d='M4 58C30 20 66 2 112 2c6 0 8 4 5 9-13 22-38 38-70 46-8 2-14 3-19 3-4 0-6-1-4-2z'/></svg>") no-repeat left center / contain;
  opacity: .9;
}
.flyer-hiring::after, .page-hero .h2::after { display: none; }

/* --- 5. Wordmark-matched display type -----------------------------
   Exo 2 carries the same wide geometric skeleton and cut terminals as
   the DADAS lettering, where the previous face was a hard square grid. */
.display, .h2, .h3, .flyer-hiring, .stat b, .price,
.exhibit h3, .hero-aside strong, .panel .num, .mobile-menu a {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .012em;
}
.display { letter-spacing: -.005em; }
.flyer-hiring { letter-spacing: -.01em; }
.eyebrow, .exhibit-year, .spec-row, .footer-bottom, .breadcrumb {
  font-family: var(--sans);
}


/* =================================================================
   TWEAK PASS — footer mark, statistics, badges, full screen viewer
   ================================================================= */

/* --- Footer wordmark: same optical size as the navigation mark, and
   never distorted (the width/height attributes were forcing a stretch). */
.footer-mark {
  display: block;
  width: clamp(132px, 13vw, 186px);
  height: auto;
  margin: 0 0 26px;
}

/* --- Statistics: one size, one finish, all four counting. */
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -.02em;
  background: linear-gradient(96deg, #E3B341, #F4E2AC 40%, #D4A017 66%, #F0D68B);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat b.gold, .stat .gold { color: transparent; }
.stat span {
  display: block; margin-top: 16px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* --- Exhibit badge: the metallic fill disappeared against the gold
   showroom walls behind it. Dark plate, gold lettering, thin gold edge. */
.exhibit-badge {
  background: rgba(9,9,9,.88);
  color: var(--gold-3);
  border: 1px solid rgba(198,146,20,.55);
  border-left: 0; border-top: 0;
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
          backdrop-filter: blur(8px) saturate(1.2);
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

/* --- Zoom affordance on exhibit photographs --- */
.exhibit-zoom {
  position: absolute; z-index: 4; top: 10px; right: 10px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(9,9,9,.72); color: var(--gold-3); cursor: pointer;
  border: 1px solid rgba(198,146,20,.4); border-radius: 2px 10px 2px 10px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s, color .3s;
}
.exhibit:hover .exhibit-zoom,
.exhibit:focus-within .exhibit-zoom,
.exhibit-zoom:focus-visible { opacity: 1; transform: translateY(0); }
.exhibit-zoom:hover { background: var(--metal); color: #0b0b0b; }
@media (hover: none) { .exhibit-zoom { opacity: 1; transform: none; } }

/* --- Anything that opens full screen says so on hover --- */
.is-zoomable { cursor: zoom-in; }
.is-zoomable:focus-visible { outline: 1px solid var(--gold-3); outline-offset: 4px; }

/* --- The viewer itself --- */
.lb-locked, .lb-locked body { overflow: hidden; }

dialog.lightbox {
  position: fixed; inset: 0; width: 100%; max-width: 100%;
  height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: rgba(6,6,6,.96);
  color: #fff;
}
dialog.lightbox::backdrop { background: rgba(4,4,4,.9); }
dialog.lightbox:not([open]) { display: none; }

.lb-track {
  height: 100%; width: 100%;
  overflow-y: auto; overflow-x: hidden;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.lb-track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.lb-slide {
  height: 100%; width: 100%; box-sizing: border-box;
  scroll-snap-align: center; scroll-snap-stop: always;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(22px, 4vh, 48px) clamp(18px, 5vw, 88px);
}
.lb-slide img {
  max-width: min(94vw, 1300px);
  max-height: 88vh;
  max-height: 88dvh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  opacity: 0; transform: scale(.99);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.lb-slide img.is-in { opacity: 1; transform: scale(1); }
.lb-hud {
  position: fixed; left: 0; right: 0; bottom: clamp(14px, 3vh, 30px);
  z-index: 6; pointer-events: none;
  display: flex; gap: 20px; align-items: baseline; justify-content: center; flex-wrap: wrap;
  padding: 0 16px; text-align: center;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.lb-count { color: var(--gold-3); font-variant-numeric: tabular-nums; }

.lb-close, .lb-nav {
  position: absolute; display: grid; place-items: center; cursor: pointer;
  background: rgba(16,16,16,.72); color: #fff;
  border: 1px solid rgba(198,146,20,.34);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: var(--metal); color: #0b0b0b; border-color: transparent; }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 1px solid var(--gold-3); outline-offset: 3px; }
.lb-close {
  top: clamp(16px, 2.4vh, 30px); right: clamp(16px, 2.4vw, 34px);
  width: 46px; height: 46px; border-radius: 2px 12px 2px 12px;
}
.lb-nav {
  top: 50%; margin-top: -28px; width: 46px; height: 56px;
  border-radius: 2px 12px 2px 12px;
}
.lb-prev { left: clamp(10px, 1.8vw, 26px); }
.lb-next { right: clamp(10px, 1.8vw, 26px); }
.lb-nav[hidden] { display: none; }

@media (max-width: 640px) {
  .lb-slide { padding: 60px 10px; }
  .lb-nav { width: 40px; height: 48px; margin-top: -24px; }
  .lb-hud { font-size: 9px; letter-spacing: .2em; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-slide img { transition: none; transform: none; }
  .lb-track { scroll-behavior: auto; }
}


/* --- Progressive enhancement guard -------------------------------
   Scroll-reveal start states are scoped to html.js, which the script
   sets as its very first action. Without scripting — or if a script
   throws — every section renders fully visible instead of blank. */
html:not(.js) .reveal,
html:not(.js) .split,
html:not(.js) .mask-img img,
html:not(.js) .rule-anim {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  visibility: visible !important;
}
html:not(.js) .preloader { display: none !important; }


/* =================================================================
   TWEAK PASS 3 — card overflow, mobile hero, overscroll, viewer
   ================================================================= */

/* --- Long uppercase headings were spilling out of the step cards.
   Let words break instead of overflowing the panel. */
.h3 { overflow-wrap: break-word; }
.panel { min-width: 0; }
.panel .h3 {
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* --- Mobile hero: content was colliding with the fixed logo/menu.
   Anchor it to the top and clear the header. */
@media (max-width: 980px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: auto;
  }
  .hero-inner {
    padding-top: clamp(122px, 27vw, 172px);
    padding-bottom: clamp(40px, 10vw, 72px);
  }
  .hero-meta { margin-top: 22px; }
  .hero-aside {
    width: auto;
    margin: 0 var(--gutter) clamp(44px, 12vw, 80px);
  }
}

/* --- The "blank space" below the footer is the mobile rubber-band
   overscroll showing the page background. Match it to the footer and
   damp the bounce so nothing reads as an empty gap. */
html { background: #070707; overscroll-behavior-y: none; }
body { overscroll-behavior-y: none; }
