/* Aurelia Automobili — design system
   ivory paper, deep ink, brass; Cormorant for voice, Manrope for precision */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f1ede4;
  --paper-2: #e9e4d7;
  --paper-3: #dfd8c8;
  --ink: #1c1a16;
  --ink-soft: #57503f;
  --ink-faint: #8a8171;
  --line: #d5cdba;
  --line-soft: #e2dcc9;
  --brass: #9c7a44;
  --brass-deep: #7c6136;
  --deep: #141210;
  --deep-2: #1d1a16;
  --deep-line: #35301f;
  --ivory-on-deep: #ece7da;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.22, 0.61, 0.21, 1);
  --ease-lux: cubic-bezier(0.16, 0.84, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

::selection { background: var(--brass); color: var(--paper); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- shared type ---------- */
.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.kicker.on-deep { color: var(--brass); }
.serif { font-family: var(--serif); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; }

.display {
  font-size: clamp(46px, 7.2vw, 108px);
  letter-spacing: -0.01em;
  font-weight: 480;
}
.headline {
  font-size: clamp(34px, 4.4vw, 64px);
  letter-spacing: -0.005em;
}
.subhead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(19px, 2vw, 25px);
  color: var(--ink-soft);
  line-height: 1.45;
}
.body-copy { color: var(--ink-soft); max-width: 56ch; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 34px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out), border-color 0.45s;
  position: relative;
}
.btn::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: width 0.45s var(--ease-out);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:hover::after { width: 40px; }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.btn.on-deep { border-color: rgba(236, 231, 218, 0.55); color: var(--ivory-on-deep); }
.btn.on-deep:hover { background: var(--ivory-on-deep); color: var(--deep); border-color: var(--ivory-on-deep); }
.btn.ghost { border-color: transparent; padding-left: 0; padding-right: 0; }
.btn.ghost:hover { background: transparent; color: var(--brass-deep); }
.btn.ghost.on-deep:hover { color: var(--brass); background: transparent; }

.link-quiet {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  transition: color 0.3s, border-color 0.3s;
}
.link-quiet:hover { color: var(--brass-deep); border-color: var(--brass); }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 4vw, 56px);
  transition: background 0.5s, padding 0.5s, box-shadow 0.5s;
}
.site-head .wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 27px;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--ivory-on-deep);
  transition: color 0.5s;
}
.site-head nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
}
.site-head nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(236, 231, 218, 0.82);
  transition: color 0.4s;
  position: relative;
  padding: 4px 0;
}
.site-head nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}
.site-head nav a:hover::after { width: 100%; }
.site-head nav a.cta {
  border: 1px solid rgba(236, 231, 218, 0.5);
  padding: 10px 20px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.site-head nav a.cta::after { display: none; }
.site-head nav a.cta:hover { background: var(--ivory-on-deep); color: var(--deep); }
.site-head.scrolled {
  background: rgba(241, 237, 228, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-head.scrolled .wordmark,
.site-head.scrolled nav a { color: var(--ink); }
.site-head.scrolled nav a.cta { border-color: var(--ink); }
.site-head.scrolled nav a.cta:hover { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(120% 90% at 50% -10%, #2b2620 0%, #191611 52%, #100e0b 100%);
  color: var(--ivory-on-deep);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 130px 24px 0;
}
.hero-kicker { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(52px, 8.6vw, 128px);
  font-weight: 460;
  letter-spacing: 0.01em;
  line-height: 0.98;
}
.hero h1 em {
  font-style: italic;
  font-weight: 420;
}
.hero-sub {
  margin: 26px auto 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(236, 231, 218, 0.66);
  font-weight: 350;
  letter-spacing: 0.02em;
}
.hero-cta {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-car {
  position: relative;
  z-index: 1;
  margin: 10px auto -6px;
  width: min(1080px, 96vw);
  pointer-events: none;
}
.hero-car svg { width: 100%; height: auto; }
.hero-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: radial-gradient(58% 90% at 50% 100%, rgba(156, 122, 68, 0.16), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-beam {
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 36%;
  left: 32%;
  background: linear-gradient(100deg, transparent, rgba(236, 231, 218, 0.045), transparent);
  transform: skewX(-14deg);
  z-index: 1;
  pointer-events: none;
  animation: beam 11s var(--ease-lux) infinite;
}
@keyframes beam {
  0% { left: -40%; opacity: 0; }
  18% { opacity: 1; }
  46% { left: 108%; opacity: 0; }
  100% { left: 108%; opacity: 0; }
}
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(236, 231, 218, 0.13);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}
.hero-stats div {
  padding: 22px 16px 26px;
  text-align: center;
  border-right: 1px solid rgba(236, 231, 218, 0.09);
}
.hero-stats div:last-child { border-right: none; }
.hero-stats .num {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 480;
}
.hero-stats .lbl {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(236, 231, 218, 0.44);
}

/* ---------- intro statement ---------- */
.intro {
  padding: clamp(90px, 12vw, 170px) clamp(22px, 6vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.intro .statement {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 460;
  line-height: 1.28;
  letter-spacing: -0.005em;
}
.intro .statement em { font-style: italic; color: var(--brass-deep); }
.intro .cols {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  text-align: left;
}
.intro .cols p { color: var(--ink-soft); font-size: 15.5px; }
.hairline {
  width: 64px;
  height: 1px;
  background: var(--brass);
  margin: 34px auto 0;
}

/* ---------- the range ---------- */
.range { padding-bottom: clamp(60px, 8vw, 120px); }
.section-head {
  padding: 0 clamp(22px, 6vw, 80px);
  max-width: 1280px;
  margin: 0 auto clamp(46px, 6vw, 90px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.model-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 70px);
  padding: clamp(40px, 5vw, 80px) clamp(22px, 6vw, 80px);
  max-width: 1380px;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
}
.model-row:nth-child(even) { direction: rtl; }
.model-row:nth-child(even) > * { direction: ltr; }
.model-visual {
  background: linear-gradient(175deg, var(--paper-2), var(--paper-3));
  padding: clamp(18px, 3vw, 44px) clamp(8px, 2vw, 30px) 0;
  position: relative;
  overflow: hidden;
}
.model-visual svg { width: 100%; height: auto; position: relative; z-index: 1; }
.model-copy .mname {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 470;
}
.model-copy .msub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--brass-deep);
  margin-top: 2px;
}
.model-copy .mchar {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 46ch;
}
.model-specs {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(18px, 3vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.model-specs .v {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}
.model-specs .k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}
.model-price {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.model-price strong {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0;
  font-weight: 550;
  color: var(--ink);
  margin-left: 8px;
}
.model-actions { margin-top: 26px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ---------- craft ---------- */
.craft {
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  color: var(--ivory-on-deep);
  padding: clamp(90px, 12vw, 170px) clamp(22px, 6vw, 80px);
}
.craft-inner { max-width: 1180px; margin: 0 auto; }
.craft h2 { font-size: clamp(36px, 4.6vw, 66px); font-weight: 460; max-width: 16ch; }
.craft h2 em { font-style: italic; color: var(--brass); }
.craft-grid {
  margin-top: clamp(50px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 6vw, 80px) clamp(30px, 5vw, 90px);
}
.craft-item { border-top: 1px solid rgba(236, 231, 218, 0.16); padding-top: 24px; }
.craft-item .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--brass);
  letter-spacing: 0.1em;
}
.craft-item h3 {
  margin-top: 12px;
  font-size: 27px;
  font-weight: 500;
}
.craft-item p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(236, 231, 218, 0.6);
  font-weight: 350;
}
.craft-quote {
  margin-top: clamp(60px, 9vw, 110px);
  text-align: center;
}
.craft-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 420;
  line-height: 1.4;
  max-width: 26ch;
  margin: 0 auto;
  color: rgba(236, 231, 218, 0.9);
}
.craft-quote cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- commission invitation ---------- */
.invite {
  padding: clamp(100px, 13vw, 180px) clamp(22px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.invite h2 { font-size: clamp(38px, 5vw, 72px); font-weight: 470; }
.invite .subhead { margin: 20px auto 0; max-width: 46ch; }
.invite .btn { margin-top: 40px; }
.invite .steps {
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 54px);
  flex-wrap: wrap;
  max-width: 900px;
}
.invite .steps span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 12px;
}
.invite .steps span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- footer ---------- */
.site-foot {
  background: var(--deep);
  color: rgba(236, 231, 218, 0.62);
  padding: clamp(60px, 8vw, 100px) clamp(22px, 6vw, 80px) 40px;
}
.foot-inner { max-width: 1180px; margin: 0 auto; }
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(236, 231, 218, 0.12);
}
.foot-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: var(--ivory-on-deep);
}
.foot-note { max-width: 40ch; font-size: 13.5px; line-height: 1.8; font-weight: 350; }
.foot-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 231, 218, 0.34);
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-beam { animation: none; display: none; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .model-row { grid-template-columns: 1fr; gap: 20px; }
  .craft-grid { grid-template-columns: 1fr; }
  .intro .cols { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(2) { border-right: none; }
  .hero-stats div:nth-child(1), .hero-stats div:nth-child(2) { border-bottom: 1px solid rgba(236,231,218,0.09); }
  .site-head nav a:not(.cta) { display: none; }
}
