:root {
  --ink: #0d0d0d;
  --black: #070707;
  --paper: #f4f2ee;
  --white: #ffffff;
  --muted: #77736d;
  --red: #d32727;
  --line: rgba(13, 13, 13, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --header-h: 76px;
  --max: 1260px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.04);
}

img[data-parallax] {
  --parallax-y: 0px;
  height: calc(100% + 44px);
  transform: translate3d(0, var(--parallax-y), 0) scale(1.04);
  transition: transform 120ms linear;
  will-change: transform;
}

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

button,
input {
  font: inherit;
}

section[id],
footer[id] {
  scroll-margin-top: 86px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(24px, 5vw, 74px);
  color: var(--white);
  background: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wordmark,
.hero-logo,
.footer-logo {
  display: inline-grid;
  color: var(--white);
  font-style: italic;
  line-height: 0.82;
  text-transform: uppercase;
}

.wordmark span,
.hero-logo span,
.footer-logo span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.wordmark strong,
.hero-logo strong,
.footer-logo strong {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4.5vw, 64px);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.9);
}

.main-nav a:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  color: var(--white);
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero picture {
  position: absolute;
  inset: 0;
}

.hero picture img {
  object-position: 50% 44%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  padding-top: clamp(170px, 22vh, 235px);
}

.hero-logo {
  margin: 0 0 26px;
}

.hero-logo span {
  font-size: clamp(23px, 3vw, 42px);
  letter-spacing: 9px;
}

.hero-logo strong {
  font-size: clamp(64px, 10vw, 132px);
}

.hero h1 {
  margin: 0;
  max-width: 540px;
  font-size: clamp(27px, 4vw, 48px);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.red-rule {
  display: block;
  width: 50px;
  height: 3px;
  margin: 24px 0;
  background: var(--red);
}

.hero-copy {
  margin: 0 0 42px;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.55;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 27px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
}

.button svg,
.text-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.button.outline {
  border: 1px solid currentColor;
  color: var(--white);
  background: transparent;
}

.button.dark {
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
}

.button.primary {
  border: 1px solid var(--red);
  color: var(--white);
  background: var(--red);
}

.text-link {
  min-height: auto;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--red);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.section-pad {
  padding: clamp(72px, 9vw, 118px) clamp(22px, 5.5vw, 80px);
}

.section-label {
  margin: 0;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

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

.vehicles.section-pad {
  padding-bottom: clamp(72px, 9vw, 118px);
}

.vehicles-head {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.vehicles-head h2,
.newsletter h2 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: 0;
}

.vehicles-head p:not(.section-label) {
  margin: 0;
  max-width: 520px;
  color: #5f5b55;
  font-size: 16px;
  line-height: 1.7;
}

.vehicle-showcase {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(560px, 57vw, 720px);
  background: var(--ink);
}

.vehicle-stage {
  position: relative;
  min-height: inherit;
  overflow: hidden;
  background: var(--black);
}

.vehicle-stage img {
  transition:
    opacity 170ms ease,
    transform 120ms linear;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  color: var(--white);
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-arrow.prev {
  left: clamp(16px, 5vw, 80px);
}

.gallery-arrow.next {
  right: clamp(16px, 5vw, 80px);
}

.gallery-arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.slide-count {
  position: absolute;
  right: 22px;
  top: 22px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.vehicle-panel {
  position: absolute;
  left: clamp(16px, 5vw, 80px);
  bottom: 32px;
  z-index: 3;
  width: min(410px, calc(100% - 64px));
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3.5vw, 38px);
  color: var(--white);
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(14px);
}

.vehicle-status {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.vehicle-panel h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 760;
  line-height: 1;
}

.vehicle-panel p:not(.vehicle-status) {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.vehicle-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.vehicle-meta div {
  padding: 15px 14px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.vehicle-meta dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 820;
  text-transform: uppercase;
}

.vehicle-meta dd {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 760;
}

.button.light-panel {
  border: 1px solid var(--white);
  color: var(--ink);
  background: var(--white);
}

.vehicle-rail {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.vehicle-tile {
  position: relative;
  height: clamp(118px, 11vw, 152px);
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: pointer;
  opacity: 0.86;
  overflow: hidden;
  color: var(--white);
  text-align: left;
}

.vehicle-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent);
}

.vehicle-tile span {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 1;
  font-size: 13px;
  font-weight: 780;
}

.vehicle-tile.is-active {
  outline: 4px solid var(--red);
  outline-offset: -4px;
  opacity: 1;
}

.vehicle-list {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
}

.vehicle-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(18px, 2.2vw, 28px) 0;
  border-top: 1px solid var(--line);
}

.vehicle-row:last-child {
  border-bottom: 1px solid var(--line);
}

.vehicle-row-media {
  position: relative;
  display: block;
  height: clamp(190px, 18vw, 260px);
  overflow: hidden;
  background: var(--ink);
}

.vehicle-row-media img {
  transition:
    filter 420ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vehicle-row:hover .vehicle-row-media img {
  filter: saturate(1.38) brightness(1.08) contrast(1.06);
  transform: translate3d(0, var(--parallax-y), 0) scale(1.08);
}

.vehicle-row-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.vehicle-row-main h3 {
  margin: 8px 0 9px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.vehicle-row-main p:not(.vehicle-status) {
  margin: 0;
  color: #5f5b55;
  font-size: 16px;
  line-height: 1.5;
}

.vehicle-row-main .vehicle-origin {
  display: inline-block;
  width: fit-content;
  margin: 8px 0 0;
  color: var(--red);
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.8px;
  line-height: 1.2;
  text-transform: uppercase;
}

.vehicle-row-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.vehicle-row-meta div {
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vehicle-row-meta dt {
  color: #77736d;
  font-size: 10px;
  font-weight: 820;
  text-transform: uppercase;
}

.vehicle-row-meta dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
}

.vehicle-row-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
  min-width: 190px;
}

.contact-request {
  padding: clamp(70px, 8vw, 112px) clamp(22px, 5.5vw, 80px);
  background: #ebe8e2;
  border-top: 4px solid var(--red);
}

.contact-request-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: 0;
}

.contact-copy p:not(.section-label) {
  margin: 24px 0 0;
  max-width: 500px;
  color: #4e4b45;
  font-size: 17px;
  line-height: 1.72;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  font-size: 18px;
  font-weight: 760;
}

.contact-direct a {
  width: fit-content;
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding-top: 6px;
}

.contact-request .contact-form {
  padding-left: clamp(24px, 4vw, 58px);
  border-left: 1px solid rgba(13, 13, 13, 0.22);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0 0 13px;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.4;
  outline: none;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 44%,
    calc(100% - 10px) 44%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 118px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--red);
}

.contact-form .button {
  justify-self: start;
  min-width: 230px;
}

.contact-form .contact-note {
  color: #6b665f;
}

.about {
  color: var(--white);
  background: var(--black);
  padding: clamp(70px, 8vw, 112px) clamp(22px, 5.5vw, 80px);
}

.about-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.84fr) minmax(360px, 1fr);
  grid-template-areas:
    "portrait copy"
    "portrait wide";
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
}

.about-portrait,
.about-wide {
  margin: 0;
  overflow: hidden;
}

.about-portrait {
  grid-area: portrait;
  height: clamp(620px, 63vw, 820px);
}

.about-portrait img {
  object-position: center top;
}

.about-copy {
  grid-area: copy;
  display: grid;
  gap: 26px;
  padding-top: clamp(18px, 2.5vw, 36px);
}

.about-merge {
  margin: 0;
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: 0;
}

.about-copy p:not(.about-merge) {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.about-button {
  justify-self: start;
  margin-top: 10px;
}

.about-wide {
  grid-area: wide;
  height: clamp(230px, 24vw, 340px);
}

.tim-profile {
  padding: clamp(70px, 8vw, 110px) clamp(22px, 5.5vw, 80px);
  background: var(--white);
}

.tim-profile-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.tim-copy h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(34px, 3.9vw, 56px);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: 0;
}

.tim-copy p:not(.section-label) {
  margin: 0 0 22px;
  max-width: 640px;
  color: #46423d;
  font-size: 17px;
  line-height: 1.72;
}

.tim-copy p:last-child {
  margin-bottom: 0;
}

.tim-signoff {
  margin-top: 28px;
  padding-left: 22px;
  border-left: 3px solid var(--red);
  color: var(--ink) !important;
  font-weight: 760;
}

.tim-photo {
  position: relative;
  aspect-ratio: 1069 / 1600;
  min-height: clamp(540px, 52vw, 760px);
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.tim-photo img {
  object-position: 50% 44%;
}

.tim-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 560px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  transition: grid-template-columns 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 18px;
  padding: clamp(26px, 4vw, 58px);
  overflow: hidden;
  isolation: isolate;
  transition:
    padding 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  filter: saturate(1.28) contrast(1.1);
  transform: scale(1.02);
  transition:
    filter 360ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.12);
  transition: background 360ms ease;
}

.service-feature {
  justify-content: space-between;
}

.service-bottom {
  display: grid;
  gap: 18px;
}

.service-card h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-copy {
  max-width: 460px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.62;
  opacity: 0;
  transform: translateY(12px);
  transition:
    max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover::before,
.service-card:focus-visible::before,
.service-card.is-active::before {
  filter: saturate(1.85) brightness(1.16) contrast(1.1);
  transform: scale(1.08);
}

.service-card:hover::after,
.service-card:focus-visible::after,
.service-card.is-active::after {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.04)),
    rgba(0, 0, 0, 0.02);
}

.service-card:hover h2,
.service-card:focus-visible h2,
.service-card.is-active h2 {
  transform: translateY(-8px);
}

.service-card:hover .service-copy,
.service-card:focus-visible .service-copy,
.service-card.is-active .service-copy {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.service-card:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -3px;
}

@media (hover: hover) and (min-width: 1061px) {
  .services:has(.service-card:nth-child(1):hover) {
    grid-template-columns: 1.42fr 0.86fr 0.86fr 0.86fr;
  }

  .services:has(.service-card:nth-child(2):hover) {
    grid-template-columns: 0.86fr 1.42fr 0.86fr 0.86fr;
  }

  .services:has(.service-card:nth-child(3):hover) {
    grid-template-columns: 0.86fr 0.86fr 1.42fr 0.86fr;
  }

  .services:has(.service-card:nth-child(4):hover) {
    grid-template-columns: 0.86fr 0.86fr 0.86fr 1.42fr;
  }

  .services:has(.service-card:nth-child(1).is-active) {
    grid-template-columns: 1.42fr 0.86fr 0.86fr 0.86fr;
  }

  .services:has(.service-card:nth-child(2).is-active) {
    grid-template-columns: 0.86fr 1.42fr 0.86fr 0.86fr;
  }

  .services:has(.service-card:nth-child(3).is-active) {
    grid-template-columns: 0.86fr 0.86fr 1.42fr 0.86fr;
  }

  .services:has(.service-card:nth-child(4).is-active) {
    grid-template-columns: 0.86fr 0.86fr 0.86fr 1.42fr;
  }
}

.workshop-request {
  padding: clamp(76px, 9vw, 124px) clamp(22px, 5.5vw, 80px);
  color: var(--white);
  background: var(--ink);
}

.workshop-request-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 8vw, 108px);
  align-items: start;
}

.workshop-request-copy h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 780;
  line-height: 1.04;
}

.workshop-request-copy > p:not(.section-label) {
  max-width: 500px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.workshop-form {
  display: grid;
  gap: 24px;
  padding-top: 8px;
}

.workshop-form label {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.workshop-form input,
.workshop-form select,
.workshop-form textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 0 0 13px;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
}

.workshop-form input::placeholder,
.workshop-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.workshop-form select {
  appearance: none;
  color-scheme: dark;
}

.workshop-form textarea {
  min-height: 124px;
  resize: vertical;
}

.workshop-form input:focus,
.workshop-form select:focus,
.workshop-form textarea:focus {
  border-bottom-color: var(--red);
}

.workshop-form .button {
  justify-self: start;
}

.content-feature {
  padding: clamp(62px, 8vw, 108px) clamp(22px, 5.5vw, 80px);
  background: var(--white);
}

.content-feature-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  grid-template-areas:
    "primary title"
    "text secondary";
  gap: clamp(30px, 5vw, 74px) clamp(38px, 7vw, 96px);
  align-items: start;
}

.content-feature figure {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.content-image-primary {
  grid-area: primary;
  height: clamp(500px, 52vw, 720px);
}

.content-image-secondary {
  grid-area: secondary;
  height: clamp(280px, 30vw, 420px);
}

.content-title {
  grid-area: title;
  align-self: end;
}

.content-title h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(36px, 4.1vw, 58px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
}

.content-cta {
  margin-top: 34px;
}

.content-text {
  grid-area: text;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.content-text p {
  margin: 0;
  color: #3f3d39;
  font-size: 17px;
  line-height: 1.72;
}

.content-text strong {
  color: var(--ink);
  font-weight: 820;
}

.newsletter {
  position: relative;
  color: var(--white);
  background: var(--black) url("assets/images/red-leather.jpg") center / cover;
}

.vehicle-detail-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.vehicle-detail-hero picture {
  position: absolute;
  inset: 0;
}

.vehicle-detail-hero img {
  object-position: 52% 52%;
}

.vehicle-detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1) 58%, rgba(0, 0, 0, 0.24)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.18));
}

.vehicle-detail-intro {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  padding-top: clamp(180px, 24vh, 250px);
}

.detail-back {
  display: inline-flex;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.vehicle-detail-intro h1 {
  max-width: 1120px;
  margin: 18px 0 16px;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: 0;
}

.vehicle-detail-intro > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 680;
}

.detail-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 18;
  overflow-x: auto;
  color: #56514b;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.detail-tabs > div {
  width: min(var(--max), calc(100% - 44px));
  min-width: max-content;
  margin: 0 auto;
  display: flex;
  gap: clamp(24px, 4vw, 52px);
}

.detail-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  font-size: 13px;
  font-weight: 720;
}

.detail-tabs a::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  content: "";
  background: var(--red);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.detail-tabs a:hover::after,
.detail-tabs a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

#ueberblick,
#galerie,
#fahrzeugdetails,
#fahrzeugdaten,
#anfrage {
  scroll-margin-top: calc(var(--header-h) + 60px);
}

.detail-market {
  padding: clamp(62px, 7vw, 94px) clamp(22px, 5.5vw, 80px);
  background: var(--white);
}

.detail-market-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(300px, 1.08fr) minmax(260px, 0.7fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
}

.detail-market-primary h2 {
  margin: 0;
  font-size: clamp(36px, 3.7vw, 54px);
  font-weight: 790;
  line-height: 1.02;
}

.detail-market-teaser {
  margin: 12px 0 0;
  color: #6b665f;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.5;
}

.detail-sale-type {
  width: fit-content;
  margin: 0 0 14px;
  color: var(--red);
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.detail-highlights {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 13, 13, 0.2);
}

.detail-highlight-panel {
  margin-top: 36px;
  padding: 24px;
  background: var(--paper);
}

.detail-highlight-panel h3 {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 780;
}

.detail-highlights span {
  position: relative;
  padding-left: 24px;
  color: #3f3b36;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.detail-highlights span::before {
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 14px;
  height: 14px;
  content: "";
  border: 2px solid var(--red);
}

.detail-highlights span::after {
  position: absolute;
  left: 4px;
  top: 0.42em;
  width: 6px;
  height: 3px;
  content: "";
  border: solid var(--red);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.detail-market-copy {
  padding-top: 28px;
}

.detail-market-copy h3 {
  margin: 16px 0 18px;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 760;
  line-height: 1.15;
}

.detail-market-copy > p:last-child {
  margin: 0;
  color: #4a4641;
  font-size: 16px;
  line-height: 1.8;
}

.detail-inquiry {
  position: sticky;
  top: calc(var(--header-h) + 84px);
  padding: 26px 0 0;
  color: var(--ink);
  border-top: 4px solid var(--red);
}

.detail-price-label {
  margin: 0 0 8px;
  color: #77736d;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.detail-price {
  margin: 0 0 24px;
  font-size: clamp(27px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.08;
}

.detail-inquiry .button,
.detail-inquiry .detail-call-button {
  width: 100%;
}

.detail-call-button {
  margin-top: 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.detail-seller {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.detail-seller span {
  color: #77736d;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.detail-seller strong {
  font-size: 17px;
}

.detail-seller small {
  color: #6b665f;
  font-size: 13px;
}

.detail-gallery-wrap {
  padding: clamp(58px, 7vw, 92px) clamp(12px, 3vw, 44px);
  background: var(--paper);
}

.detail-gallery-head {
  width: min(var(--max), calc(100% - 20px));
  margin: 0 auto clamp(32px, 4vw, 48px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.detail-gallery-head h2 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 770;
  line-height: 1.05;
}

.detail-gallery {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 19vw, 290px);
  gap: 12px;
}

.detail-gallery figure {
  grid-column: span 6;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.detail-gallery figure:first-child {
  grid-column: span 8;
  grid-row: span 2;
}

.detail-gallery figure:nth-child(2),
.detail-gallery figure:nth-child(3) {
  grid-column: span 4;
}

.detail-gallery figure:last-child:nth-child(2) {
  grid-row: span 2;
}

.detail-gallery img {
  transition: filter 320ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-gallery figure:hover img {
  filter: saturate(1.35) brightness(1.04);
  transform: translate3d(0, var(--parallax-y), 0) scale(1.07);
}

.detail-description,
.detail-facts,
.detail-cta {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 96px);
  padding: clamp(76px, 9vw, 124px) 0;
}

.detail-description h2,
.detail-facts-head h2,
.detail-cta h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(34px, 3.7vw, 54px);
  font-weight: 760;
  line-height: 1.06;
}

.detail-description {
  align-items: start;
}

.detail-story-copy {
  display: grid;
  gap: 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-story-copy p {
  max-width: 760px;
  margin: 0;
  color: #4a4641;
  font-size: 17px;
  line-height: 1.8;
}

.detail-facts {
  width: 100%;
  max-width: none;
  padding:
    clamp(76px, 9vw, 124px)
    max(clamp(22px, 5.5vw, 80px), calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-specs div {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: baseline;
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
}

.detail-specs dt {
  color: #77736d;
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.detail-specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
}

.detail-cta {
  align-items: center;
  border-top: 1px solid var(--line);
}

.detail-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.newsletter-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.92)),
    rgba(63, 0, 0, 0.34);
}

.newsletter-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: end;
  padding: clamp(62px, 8vw, 96px) clamp(22px, 5.5vw, 80px);
}

.newsletter p {
  color: rgba(255, 255, 255, 0.76);
}

.newsletter-form {
  display: grid;
  gap: 14px;
}

.newsletter-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.form-row {
  display: flex;
  gap: 8px;
}

.form-row input {
  min-width: 0;
  flex: 1;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 0 20px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
}

.form-row input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.form-note {
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.whatsapp-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding:
    clamp(42px, 5vw, 70px)
    max(clamp(22px, 5.5vw, 80px), calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--red);
}

.whatsapp-footer-cta .section-label {
  color: rgba(255, 255, 255, 0.68);
}

.whatsapp-footer-cta h2 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 760;
  line-height: 1.08;
}

.whatsapp-button {
  flex: 0 0 auto;
  color: var(--red);
  background: var(--white);
}

.site-footer {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.94), rgba(12, 12, 12, 0.98)),
    var(--black);
}

.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: clamp(62px, 8vw, 88px) clamp(22px, 5.5vw, 80px);
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid strong {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-logo {
  margin: 0 0 18px;
}

.footer-logo strong {
  font-size: 46px;
}

address {
  display: grid;
  align-content: start;
  font-style: normal;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-weight: 760;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(22px, 5.5vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 29;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 78px;
  min-height: 178px;
  padding: 18px 8px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
}

.whatsapp-float span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 1061px) and (max-width: 1360px) {
  .detail-market {
    padding-right: 100px;
  }
}

@media (max-width: 1060px) {
  .vehicles-head,
  .newsletter-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "copy"
      "wide";
  }

  .content-feature-inner,
  .content-text,
  .contact-request-inner,
  .workshop-request-inner,
  .detail-market-grid,
  .detail-facts,
  .detail-description,
  .tim-profile-inner {
    grid-template-columns: 1fr;
  }

  .content-feature-inner {
    grid-template-areas:
      "primary"
      "title"
      "text"
      "secondary";
  }

  .about-portrait {
    height: 520px;
  }

  .vehicle-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .vehicle-row {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  }

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

  .vehicle-row-actions {
    grid-column: 2;
    justify-items: start;
  }

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

  .detail-inquiry {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 62px;
  }

  .site-header {
    height: var(--header-h);
    padding: 0 16px;
  }

  .wordmark span {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .wordmark strong {
    font-size: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0;
    padding: 14px 20px 22px;
    background: rgba(8, 8, 8, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(-100% - var(--header-h)));
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

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

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 19px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero picture img {
    object-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.14)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.06));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 120px;
  }

  .hero-logo span {
    font-size: 17px;
    letter-spacing: 5px;
  }

  .hero-logo strong {
    font-size: clamp(54px, 19vw, 76px);
  }

  img[data-parallax] {
    height: calc(100% + 26px);
    transform: translate3d(0, calc(var(--parallax-y) * 0.55), 0) scale(1.03);
  }

  .button,
  .text-link {
    width: 100%;
  }

  .section-pad {
    padding: 56px 16px;
  }

  .vehicles-head {
    gap: 28px;
  }

  .vehicles-head h2 {
    font-size: clamp(30px, 8.4vw, 38px);
  }

  .about {
    padding: 56px 16px;
  }

  .about-layout {
    gap: 28px;
  }

  .about-portrait {
    height: 520px;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-copy h2 {
    font-size: clamp(31px, 8.6vw, 38px);
  }

  .about-wide {
    height: 230px;
  }

  .tim-profile {
    padding: 56px 16px;
  }

  .tim-profile-inner {
    gap: 30px;
  }

  .tim-copy h2 {
    font-size: clamp(31px, 8.6vw, 38px);
  }

  .tim-photo {
    min-height: 360px;
    order: -1;
  }

  .vehicle-showcase {
    min-height: 0;
  }

  .vehicle-stage {
    height: 440px;
    min-height: 0;
  }

  .vehicle-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: 24px 18px;
    background: var(--ink);
  }

  .vehicle-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .vehicle-rail {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .vehicle-tile {
    flex: 0 0 62vw;
    height: 105px;
  }

  .vehicle-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .vehicle-row-media {
    height: 260px;
  }

  .vehicle-row-main {
    gap: 18px;
  }

  .vehicle-row-main h3 {
    font-size: clamp(30px, 9vw, 40px);
  }

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

  .vehicle-row-actions {
    grid-column: auto;
    justify-items: stretch;
    min-width: 0;
  }

  .contact-request {
    padding: 58px 16px;
  }

  .contact-request .contact-form {
    padding-left: 0;
    border-left: 0;
  }

  .contact-copy h2 {
    font-size: clamp(31px, 8.6vw, 38px);
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form .button {
    width: 100%;
  }

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

  .service-card {
    min-height: 340px;
  }

  .service-card.is-active {
    min-height: 420px;
  }

  .workshop-request {
    padding: 58px 16px;
  }

  .workshop-request-copy h2 {
    font-size: clamp(31px, 8.6vw, 38px);
  }

  .workshop-form .button {
    width: 100%;
  }

  .content-feature {
    padding: 56px 16px;
  }

  .content-feature-inner {
    gap: 32px;
  }

  .content-image-primary {
    height: 440px;
  }

  .content-image-secondary {
    height: 280px;
  }

  .content-title h2 {
    font-size: clamp(31px, 8.6vw, 38px);
  }

  .content-cta {
    width: 100%;
    margin-top: 26px;
  }

  .content-text {
    padding-top: 24px;
  }

  .newsletter-content {
    padding: 54px 16px;
  }

  .vehicle-detail-hero {
    min-height: 88svh;
  }

  .vehicle-detail-intro {
    width: calc(100% - 32px);
    padding-top: 132px;
  }

  .vehicle-detail-intro h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .detail-facts,
  .detail-description,
  .detail-cta {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 0;
  }

  .detail-tabs > div {
    width: calc(100% - 32px);
  }

  .detail-tabs a {
    min-height: 52px;
    font-size: 12px;
  }

  .detail-market {
    padding: 52px 16px;
  }

  .detail-market-grid {
    width: 100%;
    gap: 40px;
    padding: 0;
  }

  .detail-market-primary h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .detail-market-copy {
    padding-top: 0;
  }

  .detail-facts {
    width: 100%;
    padding: 56px 16px;
  }

  .detail-facts-head h2,
  .detail-description h2,
  .detail-gallery-head h2,
  .detail-cta h2 {
    font-size: clamp(31px, 8.6vw, 38px);
  }

  .detail-specs,
  .detail-story-copy {
    grid-template-columns: 1fr;
  }

  .detail-gallery-wrap {
    padding: 48px 8px 8px;
  }

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

  .detail-gallery figure,
  .detail-gallery figure:first-child,
  .detail-gallery figure:nth-child(2),
  .detail-gallery figure:nth-child(3),
  .detail-gallery-wide {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 320px !important;
  }

  .detail-cta-actions {
    justify-content: stretch;
  }

  .detail-gallery-head {
    width: calc(100% - 32px);
    display: block;
  }

  .detail-gallery-head h2 {
    margin-top: 10px;
  }

  .whatsapp-footer-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 44px 16px;
  }

  .whatsapp-button {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-grid {
    padding: 54px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 18px 16px 92px;
  }

  .whatsapp-float {
    top: auto;
    right: 14px;
    bottom: 14px;
    flex-direction: row;
    width: auto;
    min-height: 52px;
    padding: 0 17px;
    border-radius: 999px;
    background: #22a45d;
  }

  .whatsapp-float span {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
