/* ==========================================================================
   Redman’s Garage — first-version design system
   Replace placeholder imagery and copy where marked in index.html/README.md.
   ========================================================================== */

:root {
  --ink: #0a0a09;
  --ink-soft: #171715;
  --paper: #f2eadc;
  --paper-deep: #e1d4c0;
  --red: #b5231d;
  --red-bright: #da342b;
  --muted: #8e887f;
  --line-dark: rgba(10, 10, 9, 0.18);
  --line-light: rgba(242, 234, 220, 0.2);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Condensed", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(88rem, calc(100% - 3rem));
  --section-space: clamp(5.75rem, 10vw, 10rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 4px;
}

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--paper);
  background: var(--red);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section-space);
}

.kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: var(--red);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker::before {
  width: 2.2rem;
  height: 0.14rem;
  background: currentColor;
  content: "";
}

.kicker-light {
  color: #e6574f;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    transform 300ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(242, 234, 220, 0.12);
  background: rgba(10, 10, 9, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  min-height: 5.25rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.site-header > .header-inner > .brand {
  position: relative;
  z-index: 102;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--paper);
  background: var(--red);
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: -0.16em;
  line-height: 1;
  transform: rotate(-3deg);
  box-shadow: inset 0 0 0 2px rgba(242, 234, 220, 0.16);
}

.brand-mark::after {
  position: absolute;
  inset: 0.25rem;
  border: 1px solid rgba(242, 234, 220, 0.35);
  content: "";
}

.brand-mark span:first-child {
  transform: translateX(-0.22rem);
}

.brand-mark span:last-child {
  transform: translateX(0.02rem);
}

.brand-name {
  display: grid;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-name strong {
  font-family: var(--display);
  font-size: 1.18rem;
  font-style: italic;
  letter-spacing: 0.025em;
}

.brand-name > span {
  color: #c4bcaf;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.35em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.7vw, 3.1rem);
}

.site-nav a {
  position: relative;
  color: rgba(242, 234, 220, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--red-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}

.site-nav a:hover {
  color: var(--paper);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 0.72rem 1rem;
  color: var(--paper) !important;
  border: 1px solid rgba(242, 234, 220, 0.42);
}

.nav-contact:hover {
  border-color: var(--red);
  background: var(--red);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.65rem;
  height: 2px;
  margin: 0.35rem auto;
  background: currentColor;
  transition: transform 240ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
}

.hero-image,
.hero-shade,
.hero-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 52% 58%;
  animation: hero-settle 1.4s var(--ease-out) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 4, 3, 0.92) 0%, rgba(4, 4, 3, 0.68) 38%, rgba(4, 4, 3, 0.16) 74%),
    linear-gradient(180deg, rgba(5, 5, 4, 0.52) 0%, transparent 25%, transparent 62%, rgba(5, 5, 4, 0.78) 100%);
}

.hero-grain {
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6.5rem;
}

.hero-eyebrow {
  color: var(--paper-deep);
  animation: rise-in 900ms 180ms var(--ease-out) both;
}

.hero-eyebrow span {
  width: 2.4rem;
  height: 2px;
  background: var(--red-bright);
}

.hero h1,
.section-heading h2,
.watch h2,
.garage-heading h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 59rem;
  font-size: clamp(4.5rem, 10.6vw, 10.5rem);
  text-shadow: 0 5px 35px rgba(0, 0, 0, 0.28);
  animation: rise-in 1s 260ms var(--ease-out) both;
}

.hero h1 em {
  color: var(--red-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96em;
  font-weight: 400;
  text-transform: lowercase;
}

.hero-copy {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  color: rgba(242, 234, 220, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  animation: rise-in 900ms 400ms var(--ease-out) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
  animation: rise-in 900ms 500ms var(--ease-out) both;
}

.button {
  display: inline-flex;
  min-height: 3.65rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 0.8rem 0.9rem 0.8rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    color 250ms ease,
    background-color 250ms ease,
    border-color 250ms ease,
    transform 250ms var(--ease-out);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--paper);
  background: var(--red);
}

.button-primary:hover {
  background: var(--red-bright);
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(242, 234, 220, 0.42);
  background: rgba(8, 8, 7, 0.2);
}

.button-ghost:hover {
  border-color: var(--paper);
  background: rgba(8, 8, 7, 0.55);
}

.button-arrow {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 1rem;
}

.photo-label {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  bottom: 1.5rem;
  margin: 0;
  padding: 0.45rem 0.65rem;
  color: rgba(242, 234, 220, 0.62);
  border: 1px solid rgba(242, 234, 220, 0.18);
  background: rgba(10, 10, 9, 0.55);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: max(1.5rem, calc((100% - min(88rem, 100% - 3rem)) / 2));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(242, 234, 220, 0.55);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 3.3rem;
  background: rgba(242, 234, 220, 0.4);
}

.story {
  position: relative;
  background:
    linear-gradient(rgba(10, 10, 9, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 3rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.58fr 0.62fr;
  grid-template-areas:
    "head copy copy"
    "photo photo quote";
  gap: clamp(3rem, 7vw, 7rem) clamp(2rem, 6vw, 6rem);
}

.section-heading {
  grid-area: head;
}

.section-heading h2,
.garage-heading h2 {
  font-size: clamp(3.5rem, 6.7vw, 7rem);
}

.story-copy {
  grid-area: copy;
  max-width: 43rem;
}

.story-copy p {
  max-width: 40rem;
  color: #4c4943;
}

.story-copy .story-lede {
  margin-top: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--red);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link span:last-child {
  transition: transform 250ms var(--ease-out);
}

.text-link:hover span:last-child {
  transform: translateX(0.4rem);
}

.story-portrait {
  grid-area: photo;
  min-height: clamp(26rem, 48vw, 42rem);
  margin: 0;
}

.photo-placeholder {
  position: relative;
  overflow: hidden;
  background: #292824;
}

.placeholder-art {
  position: absolute;
  inset: 0;
}

.portrait-art {
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.4), transparent 50%),
    linear-gradient(180deg, #272720 0 32%, #151614 32% 67%, #474137 67%);
}

.portrait-sun {
  position: absolute;
  top: 13%;
  right: 14%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c34831;
  filter: blur(0.2px);
  opacity: 0.7;
}

.portrait-door {
  position: absolute;
  right: 7%;
  bottom: 16%;
  width: 59%;
  height: 54%;
  border: clamp(0.75rem, 1.5vw, 1.4rem) solid #12120f;
  background:
    linear-gradient(110deg, transparent 0 50%, rgba(241, 174, 89, 0.1) 50%),
    #292a26;
}

.portrait-person {
  position: absolute;
  right: 29%;
  bottom: 9%;
  width: 14%;
  height: 54%;
  border-radius: 48% 48% 12% 12% / 17% 17% 7% 7%;
  background: #0d0d0c;
  transform: rotate(-3deg);
}

.portrait-person::before {
  position: absolute;
  top: -12%;
  left: 22%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0d0d0c;
  content: "";
}

.photo-placeholder figcaption,
.card-photo-label {
  position: absolute;
  z-index: 3;
  bottom: 1.25rem;
  left: 1.25rem;
  margin: 0;
  color: rgba(242, 234, 220, 0.68);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.photo-placeholder figcaption span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--red-bright);
}

.story-quote {
  position: relative;
  grid-area: quote;
  align-self: end;
  margin: 0 0 clamp(2rem, 5vw, 5rem);
  padding: 4rem 0 0;
}

.quote-mark {
  position: absolute;
  top: -0.5rem;
  left: -0.35rem;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 6.5rem;
  line-height: 1;
}

.story-quote p {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  line-height: 1.35;
}

.story-quote cite {
  color: #69645b;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.garage-stripe {
  overflow: hidden;
  padding-block: 0.95rem;
  color: var(--paper);
  background: var(--red);
  transform: rotate(-1deg) scale(1.02);
}

.garage-stripe > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  animation: stripe-move 24s linear infinite;
}

.garage-stripe span {
  font-family: var(--display);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-style: italic;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.garage-stripe i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--paper);
}

.cars {
  background: var(--paper);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-note {
  max-width: 23rem;
  margin: 0 0 0.5rem;
  color: #68635b;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}

.car-card {
  grid-column: span 5;
  margin-bottom: 3rem;
}

.car-card-wide {
  grid-column: span 7;
}

.car-card:nth-child(2) {
  margin-top: 8rem;
}

.car-card:nth-child(4) {
  margin-top: 3rem;
}

.car-media {
  position: relative;
  overflow: hidden;
  min-height: clamp(21rem, 35vw, 34rem);
  background: #1a1a18;
}

.car-card:not(.car-card-wide) .car-media {
  min-height: clamp(20rem, 31vw, 30rem);
}

.car-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-photo-hearse {
  object-position: 51% center;
}

.car-photo-z06 {
  object-position: 53% center;
}

.car-art {
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 22%, rgba(201, 61, 46, 0.32), transparent 20%),
    linear-gradient(165deg, #32332f 0%, #161715 45%, #090a09 100%);
}

.car-art::before {
  position: absolute;
  right: -5%;
  bottom: 24%;
  left: -5%;
  height: 2px;
  background: rgba(242, 234, 220, 0.14);
  content: "";
  transform: rotate(-7deg);
}

.car-silhouette {
  position: absolute;
  right: 8%;
  bottom: 23%;
  left: 7%;
  height: 24%;
  border-radius: 35% 28% 14% 12% / 55% 48% 22% 18%;
  background: var(--red);
  box-shadow:
    0 1.35rem 2rem rgba(0, 0, 0, 0.45),
    inset 0 0.3rem 0 rgba(255, 255, 255, 0.08);
  transform: skewX(-8deg);
}

.car-silhouette::before {
  position: absolute;
  top: -72%;
  right: 18%;
  width: 52%;
  height: 80%;
  border-radius: 65% 38% 0 0 / 80% 50% 0 0;
  background: #8e201c;
  clip-path: polygon(17% 100%, 36% 4%, 77% 9%, 100% 100%);
  content: "";
}

.car-silhouette::after {
  position: absolute;
  top: -56%;
  right: 25%;
  width: 33%;
  height: 48%;
  background: #282f31;
  clip-path: polygon(10% 100%, 28% 0, 77% 4%, 100% 100%);
  content: "";
}

.car-wheel {
  position: absolute;
  z-index: 2;
  bottom: 17%;
  width: 11%;
  aspect-ratio: 1;
  border: 0.65rem solid #080908;
  border-radius: 50%;
  background: radial-gradient(circle, #8d887c 0 18%, #292a28 19% 43%, #111 44%);
  box-shadow: 0 0.8rem 1.2rem rgba(0, 0, 0, 0.5);
}

.wheel-one {
  left: 18%;
}

.wheel-two {
  right: 18%;
}

.hearse-art .car-silhouette {
  height: 27%;
  border-radius: 15% 8% 9% 8% / 35% 25% 20% 20%;
}

.hearse-art .car-silhouette::before {
  top: -78%;
  right: 12%;
  width: 70%;
  clip-path: polygon(8% 100%, 18% 0, 90% 0, 100% 100%);
}

.deville-art {
  background:
    radial-gradient(circle at 18% 24%, rgba(236, 142, 63, 0.3), transparent 23%),
    linear-gradient(155deg, #4a4237, #1c1b18 58%, #0a0a09);
}

.deville-art .car-silhouette {
  background: #a52620;
}

.z06-art {
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(242, 234, 220, 0.08) 34% 35%, transparent 35% 66%, rgba(242, 234, 220, 0.08) 66% 67%, transparent 67%),
    #191a1a;
}

.z06-art .car-silhouette {
  height: 19%;
  border-radius: 55% 35% 12% 15% / 78% 68% 24% 24%;
  background: #d12d25;
}

.xlr-art {
  background:
    radial-gradient(circle at 75% 18%, rgba(166, 53, 40, 0.35), transparent 20%),
    linear-gradient(#22201d 0 62%, #423a31 62%);
}

.xlr-art .car-silhouette::before {
  top: -45%;
  height: 53%;
}

.car-number {
  position: absolute;
  top: 0.75rem;
  right: 1.2rem;
  color: rgba(242, 234, 220, 0.18);
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 7rem);
  font-style: italic;
  line-height: 1;
}

.car-info {
  position: relative;
  padding: 1.4rem 0 0;
  border-top: 3px solid var(--ink);
}

.car-year {
  margin: 0 0 0.15rem;
  color: var(--red);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.car-info h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.car-info > p:not(.car-year) {
  max-width: 32rem;
  margin: 1rem 0;
  color: #5d5952;
}

.story-status {
  color: #777168;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery {
  position: relative;
  background: var(--paper-deep);
}

.gallery::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 10, 9, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 9, 0.025) 1px, transparent 1px);
  background-size: 3rem 3rem;
  content: "";
  pointer-events: none;
}

.gallery .page-shell {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.4rem);
}

.gallery-item {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  place-items: center;
  background: var(--ink-soft);
  box-shadow: 0 1.1rem 2.4rem rgba(10, 10, 9, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    filter 350ms ease,
    transform 500ms var(--ease-out);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242, 234, 220, 0.16);
  box-shadow: inset 0 0 0 0 rgba(181, 35, 29, 0.55);
  content: "";
  pointer-events: none;
  transition: box-shadow 350ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.gallery-item:hover::after {
  box-shadow: inset 0 0 0 0.25rem rgba(181, 35, 29, 0.72);
}

.watch {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 0%, rgba(181, 35, 29, 0.18), transparent 28rem),
    var(--ink);
}

.watch::after {
  position: absolute;
  right: -8rem;
  bottom: -9rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(242, 234, 220, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(242, 234, 220, 0.02),
    0 0 0 6rem rgba(242, 234, 220, 0.015);
  content: "";
}

.watch-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(17rem, 0.55fr) minmax(30rem, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.watch h2 {
  max-width: 41rem;
  font-size: clamp(3.5rem, 6vw, 6.7rem);
}

.watch-copy > p:not(.kicker) {
  max-width: 32rem;
  margin: 1.6rem 0 2rem;
  color: rgba(242, 234, 220, 0.64);
}

.video-shell {
  position: relative;
  border: 1px solid rgba(242, 234, 220, 0.15);
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.42);
}

.video-shell::before {
  position: absolute;
  z-index: -1;
  inset: -0.75rem 1.5rem 0.75rem -0.75rem;
  border: 2px solid var(--red);
  content: "";
}

.video-placeholder {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 20rem;
  place-content: center;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(125deg, transparent 0 45%, rgba(181, 35, 29, 0.22) 45% 58%, transparent 58%),
    radial-gradient(circle at 74% 36%, rgba(235, 90, 68, 0.24), transparent 20%),
    linear-gradient(160deg, #292723, #10100f 66%);
  text-align: center;
}

.video-placeholder::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 5.9rem, rgba(242, 234, 220, 0.025) 6rem);
  content: "";
}

.video-brow,
.video-caption {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-brow {
  top: 1.25rem;
  color: var(--paper);
}

.video-caption {
  bottom: 1.25rem;
  color: rgba(242, 234, 220, 0.45);
}

.play-button {
  position: relative;
  z-index: 3;
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  padding: 0 0 0 0.25rem;
  place-items: center;
  color: var(--paper);
  border: 0;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  transition:
    transform 300ms var(--ease-out),
    background-color 180ms ease;
}

.play-button:hover {
  background: var(--red-bright);
  transform: scale(1.08);
}

.video-placeholder > p {
  position: relative;
  z-index: 2;
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  font-style: italic;
  text-transform: uppercase;
}

.garage {
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(10, 10, 9, 0.04) 50%, transparent 50.05%),
    var(--paper);
}

.garage .page-shell {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(32rem, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.garage-heading {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.garage-heading > p:last-child {
  max-width: 28rem;
  color: #5f5a52;
}

.garage-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.garage-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-dark);
  transition:
    padding 300ms var(--ease-out),
    color 200ms ease;
}

.garage-list li:first-child {
  border-top: 1px solid var(--line-dark);
}

.garage-list li:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  color: var(--red);
}

.garage-index {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 700;
}

.garage-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.garage-list p {
  margin: 0.45rem 0 0;
  color: #68635b;
  font-size: 0.89rem;
}

.garage-icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    transform 300ms var(--ease-out);
}

.garage-list li:hover .garage-icon {
  color: var(--paper);
  background: var(--red);
  transform: rotate(45deg);
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--red);
}

.contact::before {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(30deg, transparent 20%, rgba(255, 255, 255, 0.16) 21%, transparent 22%),
    linear-gradient(150deg, transparent 66%, rgba(255, 255, 255, 0.1) 67%, transparent 68%);
  background-size: 6rem 6rem;
  content: "";
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 57rem;
  text-align: center;
}

.contact .kicker {
  justify-content: center;
  color: var(--paper);
}

.contact h2 {
  font-size: clamp(4.3rem, 9vw, 9rem);
}

.contact-inner > p:not(.kicker, .form-note, .direct-contact) {
  max-width: 42rem;
  margin: 2rem auto;
  color: rgba(242, 234, 220, 0.8);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.signup-form {
  display: flex;
  max-width: 43rem;
  margin: 2.4rem auto 0;
  border-bottom: 2px solid var(--paper);
}

.signup-form input {
  flex: 1;
  min-width: 0;
  padding: 1.2rem 0;
  color: var(--paper);
  border: 0;
  background: transparent;
  font-size: clamp(1rem, 2vw, 1.2rem);
  outline: none;
}

.signup-form input::placeholder {
  color: rgba(242, 234, 220, 0.62);
}

.signup-form button {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.8rem 0 0.8rem 1rem;
  color: var(--paper);
  border: 0;
  background: transparent;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.signup-form button span {
  font-size: 1.25rem;
  transition: transform 250ms var(--ease-out);
}

.signup-form button:hover span {
  transform: translateX(0.4rem);
}

.form-note {
  margin: 0.75rem 0 0;
  color: rgba(242, 234, 220, 0.55);
  font-size: 0.64rem;
}

.form-note.is-success {
  color: var(--paper);
  font-weight: 800;
}

.direct-contact {
  margin: 3rem 0 0;
  font-size: 0.79rem;
}

.direct-contact a {
  margin-left: 0.25rem;
  border-bottom: 1px solid rgba(242, 234, 220, 0.68);
  font-weight: 800;
}

.contact-stamp {
  position: absolute;
  right: clamp(-4rem, -1vw, -1rem);
  bottom: -4.5rem;
  display: grid;
  width: clamp(13rem, 22vw, 20rem);
  aspect-ratio: 1;
  place-content: center;
  place-items: center;
  color: rgba(242, 234, 220, 0.17);
  border: 2px solid rgba(242, 234, 220, 0.17);
  border-radius: 50%;
  font-family: var(--display);
  line-height: 0.8;
  text-transform: uppercase;
  transform: rotate(-12deg);
}

.contact-stamp::before,
.contact-stamp::after {
  position: absolute;
  border: 1px solid rgba(242, 234, 220, 0.17);
  border-radius: 50%;
  content: "";
}

.contact-stamp::before {
  inset: 0.65rem;
}

.contact-stamp::after {
  inset: 1.15rem;
}

.contact-stamp span {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.12em;
}

.contact-stamp strong {
  font-size: clamp(4rem, 7vw, 7rem);
  font-style: italic;
}

.site-footer {
  color: var(--paper);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand domain social"
    "meta meta meta";
  align-items: center;
  gap: 2rem;
  padding-block: 3.5rem 1.75rem;
}

.brand-footer {
  grid-area: brand;
}

.footer-domain {
  grid-area: domain;
  margin: 0;
  color: rgba(242, 234, 220, 0.42);
  font-family: Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
}

.social-links {
  display: flex;
  grid-area: social;
  gap: 1.5rem;
}

.social-links a {
  color: rgba(242, 234, 220, 0.7);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-links a span {
  color: var(--red-bright);
}

.social-links a:hover {
  color: var(--paper);
}

.footer-meta {
  display: flex;
  grid-area: meta;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  color: rgba(242, 234, 220, 0.38);
  border-top: 1px solid var(--line-light);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-meta p {
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 1rem;
  bottom: 1rem;
  max-width: min(24rem, calc(100% - 2rem));
  padding: 0.85rem 1rem;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition:
    opacity 200ms ease,
    transform 300ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition:
    opacity 700ms ease,
    transform 850ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
}

@keyframes hero-settle {
  from {
    opacity: 0.65;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes stripe-move {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 70rem) {
  .story-grid {
    grid-template-columns: 0.8fr 1.2fr;
    grid-template-areas:
      "head copy"
      "photo quote";
    column-gap: 3.5rem;
  }

  .story-portrait {
    min-height: 34rem;
  }

  .watch-grid {
    grid-template-columns: 1fr;
  }

  .watch-copy {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    align-items: end;
    gap: 0 3rem;
  }

  .watch-copy .kicker,
  .watch-copy h2 {
    grid-column: 1;
  }

  .watch-copy > p:not(.kicker),
  .watch-copy > .button {
    grid-column: 2;
  }

  .watch-copy > p:not(.kicker) {
    grid-row: 2;
    margin-top: 0;
  }

  .watch-copy > .button {
    grid-row: 3;
    justify-self: start;
  }
}

@media (max-width: 58rem) {
  :root {
    --shell: min(100% - 2rem, 48rem);
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(0.24rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-0.24rem) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    z-index: 101;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    padding: 6rem 1rem 2rem;
    background:
      radial-gradient(circle at 50% 80%, rgba(181, 35, 29, 0.2), transparent 30%),
      var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition:
      opacity 250ms ease,
      transform 350ms var(--ease-out);
  }

  .site-header.menu-open {
    height: 100svh;
    border-color: transparent;
    background: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--display);
    font-size: clamp(2.1rem, 8vw, 4rem);
    font-style: italic;
    letter-spacing: 0;
  }

  .nav-contact {
    margin-top: 1rem;
    font-family: var(--body) !important;
    font-size: 0.7rem !important;
    font-style: normal !important;
    letter-spacing: 0.14em !important;
  }

  .hero {
    min-height: 52rem;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 15vw, 7.5rem);
  }

  .hero-content {
    padding-bottom: 6rem;
  }

  .hero-image {
    object-position: 58% 55%;
  }

  .hero-scroll,
  .photo-label {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "copy"
      "photo"
      "quote";
    gap: 2.5rem;
  }

  .story-portrait {
    min-height: min(42rem, 110vw);
  }

  .story-quote {
    max-width: 36rem;
    margin-bottom: 0;
  }

  .section-heading-row {
    display: block;
  }

  .section-note {
    margin-top: 1.5rem;
  }

  .car-grid {
    display: block;
  }

  .car-card,
  .car-card:nth-child(2),
  .car-card:nth-child(4) {
    margin: 0 0 4rem;
  }

  .car-media,
  .car-card:not(.car-card-wide) .car-media {
    min-height: min(32rem, 95vw);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-copy {
    display: block;
  }

  .watch-copy > p:not(.kicker) {
    margin-top: 1.5rem;
  }

  .garage .page-shell {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .garage-heading {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand domain"
      "social social"
      "meta meta";
  }

  .footer-domain {
    text-align: right;
  }
}

@media (max-width: 38rem) {
  :root {
    --shell: calc(100% - 1.5rem);
  }

  .section-pad {
    padding-block: 5.5rem;
  }

  .hero {
    min-height: 49rem;
  }

  .hero-image {
    object-position: 62% 52%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 4, 3, 0.92), rgba(4, 4, 3, 0.25)),
      linear-gradient(180deg, rgba(4, 4, 3, 0.45), transparent 30%, rgba(4, 4, 3, 0.82));
  }

  .hero-content {
    align-self: end;
    padding-top: 8rem;
    padding-bottom: 4.25rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 6rem);
  }

  .hero-copy {
    max-width: 28rem;
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-heading h2,
  .garage-heading h2,
  .watch h2 {
    font-size: clamp(3.3rem, 15vw, 5rem);
  }

  .story-copy .story-lede {
    font-size: 1.35rem;
  }

  .story-portrait {
    min-height: 29rem;
  }

  .story-quote {
    padding-top: 3.5rem;
  }

  .car-media,
  .car-card:not(.car-card-wide) .car-media {
    min-height: 23rem;
  }

  .car-photo-hearse {
    object-position: 50% center;
  }

  .car-photo-z06 {
    object-position: 52% center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .car-wheel {
    border-width: 0.45rem;
  }

  .watch-grid {
    gap: 3.5rem;
  }

  .video-placeholder {
    min-height: 0;
  }

  .video-shell::before {
    inset: -0.4rem 0.65rem 0.4rem -0.4rem;
  }

  .play-button {
    width: 4.2rem;
    height: 4.2rem;
  }

  .garage-list li {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
  }

  .garage-icon {
    display: none;
  }

  .garage-list p {
    font-size: 0.82rem;
  }

  .contact h2 {
    font-size: clamp(4rem, 18.5vw, 6rem);
  }

  .signup-form {
    display: grid;
    border: 0;
  }

  .signup-form input {
    border-bottom: 2px solid var(--paper);
  }

  .signup-form button {
    justify-content: space-between;
    margin-top: 0.75rem;
    padding: 1rem;
    color: var(--ink);
    background: var(--paper);
  }

  .direct-contact {
    display: grid;
    gap: 0.2rem;
  }

  .contact-stamp {
    opacity: 0.55;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "domain"
      "social"
      "meta";
    justify-items: start;
  }

  .footer-domain {
    text-align: left;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .footer-meta {
    display: grid;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
