/* Shared look for both 3D pieces. Colors and fonts match hitchcockdetailing.com:
   black and white, brass only for small highlights, Cabinet Grotesk headlines, Outfit text. */

@font-face { font-family: 'Cabinet Grotesk'; src: url('fonts/CabinetGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('fonts/CabinetGrotesk-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('fonts/Outfit-latin.woff2') format('woff2'); font-weight: 300 600; font-display: swap; }

:root {
  --night: #0b0b0c;
  --night-2: #1c1c1e;
  --snow: #f5f5f7;
  --snow-2: #a1a1a6;
  --line: rgba(245, 245, 247, 0.14);
  --brass: #cfae74;
  --display: 'Cabinet Grotesk', system-ui, sans-serif;
  --text: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #000;
  color: var(--snow);
  font: 400 1rem/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
h1 strong, h2 strong, h3 strong { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
/* Phones: no double-tap zoom or tap delay on controls, no long-press callout on them. */
button, a, [role="radio"], [role="tab"] { touch-action: manipulation; -webkit-touch-callout: none; }
button { -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* The dark studio behind the car: black with a low warm glow, like the site's dark photo sections. */
.studio {
  background:
    radial-gradient(90% 46% at 50% 64%, rgba(207, 174, 116, 0.13) 0%, rgba(207, 174, 116, 0.04) 45%, transparent 75%),
    linear-gradient(180deg, #050505 0%, #0b0b0c 55%, #000 100%);
}

.brand { font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; color: var(--snow); text-decoration: none; white-space: nowrap; }
.brand strong { font-weight: 700; }

/* Buttons: pills, white on dark, like the site. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: #fff; color: #1d1d1f; font: 500 1.0625rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:hover { background: #e8e8ed; }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.linkish { background: none; border: 0; padding: 12px 8px; color: var(--snow-2); font: 400 .9375rem/1 var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; touch-action: manipulation; }
.linkish:hover { color: var(--snow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
