:root {
  --black: #020303;
  --ink: #0a0d0f;
  --panel: #0e1215;
  --panel-2: #14191d;
  --line: rgba(255, 255, 255, 0.14);
  --text: #e8ecef;
  --muted: #9aa5ab;
  --accent: #d92719;
  --accent-dark: #7f0b08;
  --red: #e43b2f;
  --white: #ffffff;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open,
body.overlay-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(217, 39, 25, 0.92);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 16px clamp(18px, 3vw, 44px);
  background: linear-gradient(180deg, rgba(2, 3, 3, 0.86), rgba(2, 3, 3, 0.18));
  backdrop-filter: blur(10px);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(2, 3, 3, 0.94);
  border-bottom: 1px solid rgba(217, 39, 25, 0.24);
}

.brand,
.nav,
.header-actions,
.gallery-controls,
.social-icons,
.marquee div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  width: fit-content;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.nav {
  justify-content: center;
  gap: clamp(22px, 3vw, 48px);
}

.nav a {
  color: rgba(232, 236, 239, 0.74);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

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

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.phone-pill,
.quote-pill,
.service-cards button,
.quote-form button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: var(--white);
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
}

.quote-pill {
  padding: 0 24px;
}

.quote-pill.outline {
  border: 1px solid var(--accent);
  background: rgba(2, 3, 3, 0.54);
  color: #f3b2aa;
}

.phone-pill:hover,
.quote-pill:hover,
.service-cards button:hover,
.quote-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(217, 39, 25, 0.34);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(217, 39, 25, 0.14);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 120px clamp(18px, 3vw, 44px) 36px;
  overflow: hidden;
}

.hero-media,
.hero-car-motion,
.hero-overlay {
  position: absolute;
  pointer-events: none;
}

.hero-media {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(178, 20, 12, 0.42),
      transparent 28%
    ),
    linear-gradient(90deg, #020303, #250302 42%, #020303),
    linear-gradient(180deg, #050303, #020303);
}

.hero-car-motion {
  inset: -6% -5% -2%;
  z-index: 1;
  background-image: url("https://images.unsplash.com/photo-1544829099-b9a0c07fad1a?auto=format&fit=crop&w=1800&q=84");
  background-position: 53% center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.18) brightness(0.82);
  opacity: 0.84;
  transform: translate3d(0, 0, 0) scale(1.04);
  transform-origin: center;
  will-change: transform;
}

.hero-overlay {
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(2, 3, 3, 0.9),
      rgba(2, 3, 3, 0.24) 48%,
      rgba(2, 3, 3, 0.86)
    ),
    radial-gradient(
      circle at 54% 50%,
      rgba(218, 28, 18, 0.34),
      rgba(42, 4, 4, 0.5) 36%,
      rgba(2, 3, 3, 0.74) 78%
    ),
    linear-gradient(180deg, rgba(2, 3, 3, 0.18), rgba(2, 3, 3, 0.98) 92%);
}

.hero-content,
.hero-foot {
  position: relative;
  z-index: 3;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(300px, 760px) minmax(260px, 420px);
  gap: 40px;
  align-items: end;
  margin-top: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1,
.section-intro h2,
.artisan-copy h2,
.gallery-head h2,
.process h2,
.testimonials h2,
.contact-band h2,
.booking-card h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(72px, 8.2vw, 150px);
  line-height: 0.92;
}

.hero h1 span {
  color: #ff3c2f;
}

.hero-copy {
  max-width: 390px;
  justify-self: end;
  padding-bottom: 18px;
}

.hero-copy p {
  margin: 0 0 28px;
  color: rgba(232, 236, 239, 0.76);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.48;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 76px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-foot p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.hero-foot a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(217, 39, 25, 0.34);
  border-radius: 50%;
}

.section-shell {
  padding: clamp(84px, 9vw, 150px) clamp(18px, 3vw, 44px);
  border-top: 1px solid rgba(217, 39, 25, 0.12);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(300px, 1.1fr);
  gap: clamp(26px, 5vw, 90px);
  align-items: start;
  margin-bottom: 88px;
}

.section-intro h2,
.gallery-head h2,
.artisan-copy h2,
.contact-band h2 {
  color: rgba(232, 236, 239, 0.8);
  font-size: clamp(44px, 5vw, 82px);
  line-height: 0.98;
}

.section-intro.compact {
  display: block;
  max-width: 850px;
}

.service-cards,
.process-list,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(217, 39, 25, 0.18);
}

.service-cards article,
.process-list article,
.testimonial-grid article {
  min-height: 360px;
  padding: clamp(28px, 4vw, 54px);
  background: linear-gradient(180deg, #050606, #020303);
}

.service-cards article:hover,
.process-list article:hover,
.testimonial-grid article:hover {
  background: linear-gradient(180deg, rgba(92, 10, 8, 0.28), #020303);
}

.service-cards span,
.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 54px;
  font-weight: 300;
}

.service-cards h3,
.process-list h3,
.testimonial-grid h3 {
  margin: 0 0 22px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-cards p,
.process-list p,
.testimonial-grid p,
.footer p,
.booking-card p {
  color: var(--muted);
  line-height: 1.7;
}

.service-cards p {
  min-height: 116px;
}

.service-cards button {
  padding: 0 32px;
}

.artisan {
  position: relative;
  display: grid;
  min-height: auto;
  align-items: start;
  padding: clamp(88px, 9vw, 140px) clamp(18px, 3vw, 44px);
  overflow: hidden;
  border-top: 1px solid rgba(217, 39, 25, 0.12);
  background:
    radial-gradient(circle at 80% 55%, rgba(129, 12, 8, 0.24), transparent 34%),
    var(--black);
}

.artisan-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.artisan-image {
  position: relative;
  justify-self: end;
  width: min(86vw, 1180px);
  height: 420px;
  margin-top: 80px;
  background-image:
    linear-gradient(90deg, rgba(2, 3, 3, 0.06), rgba(64, 4, 4, 0.3)),
    url("https://images.unsplash.com/photo-1541348263662-e068662d82af?auto=format&fit=crop&w=1600&q=84");
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 110px rgba(217, 39, 25, 0.24);
}

.marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(118px, 9vw, 150px);
  z-index: 3;
  overflow: hidden;
  color: rgba(232, 236, 239, 0.88);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 72px);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.marquee div {
  width: max-content;
  gap: 18px;
  animation: marquee 22s linear infinite;
}

.marquee svg {
  width: 0.9em;
  height: 0.9em;
  color: var(--accent);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 64px;
}

.gallery-head h2 {
  max-width: 760px;
}

.gallery-controls {
  gap: 10px;
}

.gallery-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 92px);
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.gallery-grid figcaption {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 16px;
}

.gallery-grid span {
  color: var(--muted);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 44px;
  font-weight: 300;
}

.gallery-grid b {
  padding-bottom: 8px;
  color: rgba(232, 236, 239, 0.76);
  font-size: 17px;
  font-weight: 500;
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list article {
  min-height: 430px;
}

.testimonial-grid article {
  min-height: 280px;
}

.testimonial-grid p {
  margin: 0 0 34px;
  color: rgba(232, 236, 239, 0.86);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.testimonial-grid h3 {
  color: var(--accent);
  font-size: 22px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 540px);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(64px, 8vw, 110px) clamp(18px, 3vw, 44px);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 70, 54, 0.38),
      transparent 32%
    ),
    linear-gradient(135deg, #1a0303, #8a100b 48%, #0a0303);
  color: var(--white);
}

.contact-band .eyebrow,
.contact-band h2 {
  color: var(--white);
}

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

.quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 226, 223, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-form input {
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 245, 244, 0.92);
  color: #170302;
}

.quote-form button {
  width: fit-content;
  padding: 0 34px;
  background: #020303;
  color: var(--white);
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(250px, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 58px clamp(18px, 3vw, 44px) 44px;
  background: #050202;
  color: var(--text);
  border-top: 1px solid rgba(217, 39, 25, 0.28);
}

.footer .brand,
.footer .brand svg,
.footer p {
  color: var(--text);
}

.footer p {
  margin: 0 0 8px;
}

.social-icons {
  gap: 12px;
}

.social-icons a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 39, 25, 0.18);
  color: #ffb5ae;
  border: 1px solid rgba(217, 39, 25, 0.34);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(217, 39, 25, 0.22);
  font-size: 14px;
}

.booking-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: rgba(2, 3, 3, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.booking-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.booking-card {
  width: min(460px, 100%);
  padding: 42px;
  background: #0b0505;
  color: var(--text);
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
}

.booking-drawer.open .booking-card {
  transform: translateX(0);
}

.booking-card > button:first-child {
  float: right;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.booking-card h2 {
  clear: both;
  margin: 62px 0 22px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.95;
}

[data-motion],
[data-motion-group] > * {
  opacity: 0;
  transform: translateY(34px);
}

[data-motion="zoom"] {
  transform: translateY(20px) scale(0.96);
}

.is-visible[data-motion],
.is-visible[data-motion-group] > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 740ms var(--ease-out),
    transform 740ms var(--ease-out);
}

.is-visible[data-motion-group] > *:nth-child(2) {
  transition-delay: 80ms;
}

.is-visible[data-motion-group] > *:nth-child(3) {
  transition-delay: 160ms;
}

.is-visible[data-motion-group] > *:nth-child(4) {
  transition-delay: 240ms;
}

.is-visible[data-motion-group] > *:nth-child(5) {
  transition-delay: 320ms;
}

.is-visible[data-motion-group] > *:nth-child(6) {
  transition-delay: 400ms;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

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

  [data-motion],
  [data-motion-group] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 18px;
    background: rgba(2, 3, 3, 0.96);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0s linear 180ms;
  }

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

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .phone-pill {
    display: none;
  }

  .hero-content,
  .section-intro,
  .contact-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    justify-self: start;
  }

  .service-cards,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding: 12px 16px;
  }

  .brand span {
    font-size: 15px;
  }

  .quote-pill.outline {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 104px 18px 26px;
  }

  .hero-media {
    background-position: center;
  }

  .hero-car-motion {
    inset: -2% -60% 0 -20%;
    background-position: 56% center;
    opacity: 0.76;
  }

  .hero-content {
    gap: 24px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-foot {
    align-items: flex-start;
    margin-top: 46px;
  }

  .section-shell {
    padding: 72px 18px;
  }

  .section-intro {
    margin-bottom: 46px;
  }

  .section-intro h2,
  .gallery-head h2,
  .artisan-copy h2,
  .contact-band h2 {
    font-size: 38px;
  }

  .service-cards article,
  .process-list article,
  .testimonial-grid article {
    min-height: auto;
    padding: 28px 22px;
  }

  .artisan {
    min-height: auto;
    padding: 72px 18px 112px;
  }

  .artisan-image {
    width: 100%;
    height: 260px;
    margin-top: 36px;
  }

  .marquee {
    bottom: 148px;
    font-size: 34px;
  }

  .gallery-head {
    display: block;
  }

  .gallery-controls {
    margin-top: 24px;
  }

  .gallery-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .gallery-grid figure {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 56px 18px;
  }

  .footer {
    padding: 42px 18px;
  }
}
