/* Paddock Atlas — Quiet Performance. Motorsport engineering decor. */

@font-face {
  font-family: "Rajdhani";
  font-style: normal; font-weight: 300; font-display: swap;
  src: url("/assets/fonts/rajdhani-300.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/rajdhani-500.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/rajdhani-600.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/rajdhani-700.woff2") format("woff2");
}

:root {
  --ink: #0a0e16;
  --ink-2: #11161f;
  --graphite: #161c28;
  --line: #283044;
  --cream: #c5b99c;
  --cream-soft: #d9d0bd;
  --paper: #f4f1ea;
  --muted: #8a93a6;
  --blueprint: #1b3a6b;
  --display: "Rajdhani", "Oswald", "Bahnschrift", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Consolas", monospace;
  --wrap: 1180px;
  --pad: clamp(18px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream-soft);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; line-height: 1.05; color: #fff; margin: 0; }

/* ---------- header ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px var(--pad);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
  background: rgba(10,14,22,.86); backdrop-filter: blur(10px);
}
.wordmark {
  display: inline-flex; flex-direction: column; line-height: .92;
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: .34em; color: #fff; padding-left: .34em;
}
.wordmark span:last-child { color: var(--cream); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 30px); font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a { color: var(--cream-soft); transition: color .2s; }
.site-nav a:hover { color: #fff; }
.nav-shop { color: var(--cream) !important; border: 1px solid var(--line); padding: 7px 14px; border-radius: 2px; }
.nav-shop:hover { border-color: var(--cream); }
.nav-lang { color: var(--muted) !important; font-size: 13px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; font-size: 15px;
  padding: 14px 30px; border-radius: 2px; border: 1px solid var(--cream);
  transition: all .2s; cursor: pointer;
}
.btn-primary { background: var(--cream); color: var(--ink); }
.btn-primary:hover { background: #fff; border-color: #fff; }
.btn-buy { width: 100%; text-align: center; padding: 16px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  padding: clamp(56px, 11vw, 130px) var(--pad) clamp(40px, 7vw, 80px);
  max-width: var(--wrap); margin: 0 auto; text-align: center;
  background:
    radial-gradient(1200px 480px at 50% -10%, rgba(27,58,107,.34), transparent 70%);
}
.hero-kicker { font-family: var(--mono); letter-spacing: .5em; font-size: 12px; color: var(--cream); margin: 0 0 18px; text-indent: .5em; }
.hero-title { font-size: clamp(38px, 8vw, 86px); font-weight: 700; max-width: 14ch; margin: 0 auto; }
.hero-text { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); max-width: 56ch; margin: 22px auto 30px; }
.pillars { list-style: none; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 42px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }
.pillars li { position: relative; }
.pillars li + li::before { content: "·"; position: absolute; left: -16px; color: var(--line); }

/* ---------- bands ---------- */
.band { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--pad); border-top: 1px solid var(--line); }
.band-head h2 { font-size: clamp(26px, 4.5vw, 44px); }
.band-head p { color: var(--muted); max-width: 54ch; margin: 14px 0 0; }
.band.circuits .band-head, .band.editions .band-head { margin-bottom: 38px; }

/* editions */
.ed-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.ed-chip { background: var(--graphite); border: 1px solid var(--line); border-radius: 4px; padding: 22px; position: relative; overflow: hidden; }
.ed-chip::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--ed); }
.ed-swatch { display: block; width: 100%; height: 64px; border-radius: 3px; background: var(--ed); border: 1px solid rgba(255,255,255,.08); margin-bottom: 16px; }
.ed-name { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: .04em; }
.ed-role { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); margin: 4px 0 12px; }
.ed-desc { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- grid of circuits ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 26px); }
.grid-wide { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) clamp(56px, 9vw, 110px); }
.card { display: block; background: var(--graphite); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--cream); transform: translateY(-3px); }
.card-media { display: block; aspect-ratio: 4/5; background: var(--ink-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: block; padding: 16px 18px 18px; }
.card-name { font-family: var(--display); font-weight: 600; font-size: 21px; color: #fff; letter-spacing: .03em; }
.card-meta { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 3px 0 12px; }
.card-cta { font-family: var(--display); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--cream); }

/* studio band */
.studio { text-align: center; }
.studio-inner { max-width: 60ch; margin: 0 auto; }
.studio h2 { font-size: clamp(24px, 4vw, 40px); }
.studio p { color: var(--muted); margin-top: 16px; }

/* ---------- breadcrumbs ---------- */
.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--pad) 0; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--cream); }

/* ---------- collection head ---------- */
.collection-head { max-width: var(--wrap); margin: 0 auto; padding: 26px var(--pad) 40px; }
.collection-head h1 { font-size: clamp(32px, 6vw, 60px); }
.collection-head p { color: var(--muted); max-width: 56ch; margin-top: 14px; }

/* ---------- product ---------- */
.product {
  max-width: var(--wrap); margin: 18px auto 0; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start;
}
.product-gallery { position: sticky; top: 92px; }
.shots { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 4/5; }
.shot { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.shot.is-active { opacity: 1; position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); background: rgba(10,14,22,.6); padding: 4px 10px; border-radius: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumb { background: var(--graphite); border: 1px solid var(--line); border-radius: 4px; padding: 6px 6px 8px; cursor: pointer; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 5px; transition: border-color .2s, color .2s; }
.thumb img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.thumb span { width: 14px; height: 14px; border-radius: 50%; background: var(--ed); border: 1px solid rgba(255,255,255,.15); }
.thumb.is-active { border-color: var(--cream); color: var(--cream); }

.product-info h1 { font-size: clamp(30px, 5vw, 52px); }
.pt-sub { display: block; font-size: .42em; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); font-weight: 500; margin-top: 8px; }
.product-lead { color: var(--cream-soft); font-size: 18px; margin: 18px 0; }
.product-price { font-family: var(--display); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-price strong { color: #fff; font-size: 26px; }
.buy-note { color: var(--muted); font-size: 13px; margin: 12px 0 28px; }
.sec-title { font-size: 16px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); font-family: var(--display); font-weight: 600; margin: 30px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.edition-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.edition-list li { font-size: 14px; color: var(--muted); padding-left: 26px; position: relative; }
.edition-list strong { color: #fff; }
.edition-list .dot, .spec .dot { position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--ed); border: 1px solid rgba(255,255,255,.18); }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-table th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.size-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.size-table td:last-child { color: #fff; font-weight: 600; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 0; }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 2px 0 0; color: #fff; font-family: var(--display); font-weight: 500; font-size: 18px; }
.product-desc { margin-top: 26px; color: var(--muted); }
.product-desc p { margin: 0 0 14px; }

.band.related { border-top: 1px solid var(--line); margin-top: clamp(56px, 9vw, 100px); }

/* ---------- info pages ---------- */
.info { max-width: 760px; margin: 10px auto 0; padding: 26px var(--pad) clamp(56px, 9vw, 100px); }
.info h1 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 24px; }
.info p { color: var(--muted); margin: 0 0 18px; max-width: 66ch; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) var(--pad); display: grid; gap: 26px; max-width: var(--wrap); margin: 0 auto; }
.foot-brand { display: flex; flex-direction: column; gap: 4px; }
.foot-mark { font-family: var(--display); font-weight: 700; letter-spacing: .3em; color: #fff; font-size: 17px; }
.foot-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 24px; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.foot-links a { color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--cream); }
.foot-legal { color: var(--line); font-size: 13px; font-family: var(--mono); letter-spacing: .04em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .site-nav { gap: 14px; font-size: 13px; }
  .site-nav a:not(.nav-shop):not(.nav-lang) { display: none; }
}
@media (max-width: 520px) {
  .spec { grid-template-columns: 1fr; }
  .pillars { gap: 18px; }
}
