:root {
  --red: #d40011;
  --red-deep: #a8000d;
  --ink: #12151a;
  --bay: #1a1f27;
  --bay-2: #222831;
  --paper: #e8eaed;
  --mist: #c5cbd3;
  --muted: #9aa3ae;
  --chip: #f3f4f6;
  --google-star: #fbbc04;
  --wa: #25D366;
  --wa-deep: #1ebe57;
  --ig: #E1306C;
  --ig-deep: #c13584;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --nav: 72px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1280px;
  --z-nav: 25;
  --z-overlay: 20;
  --z-grain: 30;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

html,
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
}

body {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  min-height: 100dvh;
}

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

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

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.display {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* grain: fixed overlay only */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.07;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav);
  display: flex;
  align-items: center;
  background: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--chip);
}

.brand-mark {
  display: block;
  width: 58px;
  height: 50px;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--ink);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--chip);
}

.brand-name span {
  display: block;
  color: var(--chip);
  font-size: 1em;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--mist);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.82rem 1.2rem;
  transition: transform 160ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.btn-icon .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.btn-primary {
  background: var(--red);
  color: var(--chip);
}

.btn-primary:hover {
  background: var(--red-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--chip);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--paper) 28%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--paper) 8%, transparent);
}

.btn-wa {
  padding: 0.82rem;
  justify-content: center;
}

.btn-wa .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-end {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
}

.nav-wa {
  display: grid;
  place-items: center;
  width: 3.05rem;
  background: var(--wa);
  color: var(--chip);
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-wa:hover {
  background: var(--wa-deep);
}

.nav-wa:focus-visible {
  outline: 2px solid var(--wa);
  outline-offset: 3px;
}

.nav-wa .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.nav-ig {
  display: grid;
  place-items: center;
  width: 3.05rem;
  background: var(--ig);
  color: var(--chip);
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-ig:hover {
  background: var(--ig-deep);
}

.nav-ig:focus-visible {
  outline: 2px solid var(--ig);
  outline-offset: 3px;
}

.nav-ig .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--chip);
  padding: 0;
  place-items: center;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Hero: explosion first, then photo slab with drawing overlay */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.hero-blast {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--nav) - 3.2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3.5rem) var(--pad);
}

.hero-blast-brand {
  position: relative;
  z-index: 1;
}

.hero-blast-brand::before {
  content: "";
  position: absolute;
  inset: -28% -18%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgb(18 21 26 / 0.78) 0%, rgb(18 21 26 / 0.28) 46%, transparent 72%);
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 2vw, 1.5rem);
}

.hero-blast-logo {
  display: block;
  height: 7.6rem;
  width: auto;
}

.hero-blast-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.hero-blast-title {
  margin: 0;
  color: var(--chip);
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  text-align: left;
}

.hero-blast-title span {
  display: block;
}

.hero-blast-role {
  margin: 0.45rem 0 0;
  color: var(--chip);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-explosion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--ink);
}

.hero-explosion-inner {
  position: absolute;
  inset: 0 -6% -8%;
  animation: car-drift 18s linear infinite alternate;
}

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

.hero-car.is-exploded {
  opacity: 0;
  animation: car-explode 14s var(--ease-in-out) infinite;
}

.hero-explosion::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 18%, transparent) 0%, transparent 28%, color-mix(in srgb, var(--ink) 22%, transparent) 62%, color-mix(in srgb, var(--ink) 78%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 38%, transparent) 0%, transparent 48%);
}

@keyframes car-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes car-explode {
  0%,
  14% {
    opacity: 0;
  }
  38%,
  62% {
    opacity: 1;
  }
  86%,
  100% {
    opacity: 0;
  }
}

.hero-slab {
  position: relative;
  isolation: isolate;
  background: var(--ink);
}

.stack {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 38rem) minmax(18rem, 1fr);
  align-items: stretch;
}

.hero-street {
  position: relative;
  z-index: 3;
  width: 100%;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.05rem var(--pad);
  color: var(--chip);
  text-decoration: none;
  text-align: center;
}

.hero-street:hover {
  background: var(--red-deep);
  color: var(--chip);
}

.hero-street:focus-visible {
  outline: 2px solid var(--chip);
  outline-offset: -2px;
}

.box {
  position: relative;
}

.box-end.red,
.box-end.dark,
.tile:nth-child(1),
.tile:nth-child(6),
.about,
.contact {
  position: relative;
}

.box-end.red::before,
.tile:nth-child(1)::before,
.tile:nth-child(6)::before,
.about::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.about-visual,
.contact-copy {
  overflow: hidden;
}

.about-visual {
  position: relative;
  z-index: 1;
}

.box-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.contact-copy,
.about-copy,
.tile > *,
.box-end > * {
  position: relative;
  z-index: 1;
}

.box-end.red {
  background: var(--red);
  color: var(--chip);
}

.rating-bar {
  width: 100%;
  padding-inline: var(--pad);
  text-decoration: none;
  transition: background 200ms var(--ease);
}

.rating-bar:hover {
  background: var(--red-deep);
}

.rating-bar:focus-visible {
  outline-color: var(--chip);
}

.box-end.dark {
  background: var(--bay);
  color: var(--mist);
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stars .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.pull {
  overflow: hidden;
  background: #0e1116;
}

.pull img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1015 / 1024;
  object-fit: contain;
  object-position: center;
  max-height: min(72svh, 38rem);
  filter: contrast(1.04) saturate(0.96);
}

.hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  background: var(--ink);
  padding: clamp(1.5rem, 4vw, 2.6rem) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  min-height: 0;
}

.hero-lead {
  display: grid;
  gap: 0.85rem;
}

.hero-slogan {
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  max-width: 10ch;
  margin: 0;
}

.hero-slogan em {
  font-style: italic;
  color: var(--red);
  display: inline-block;
  padding-bottom: 0.08em;
  line-height: 1.1;
}

.lede {
  margin: 0;
  max-width: 34ch;
  color: var(--mist);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

/* Hours strip */
.hours-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bay);
  border-top: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  scroll-margin-top: var(--nav);
}

.hours-rail div {
  padding: 1rem 1.1rem 1.15rem;
  border-right: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
}

.hours-rail div:last-child {
  border-right: 0;
}

.hours-rail dt {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--paper) 68%, var(--bay));
  margin: 0 0 0.2rem;
}

.hours-rail dd {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: var(--chip);
}

/* About */
.about {
  background: var(--red);
  color: var(--chip);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.about-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 16rem);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.about-visual {
  display: grid;
  place-items: end center;
  min-height: 0;
}

.about-visual img {
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 28px color-mix(in srgb, #000 28%, transparent));
}

.about-copy {
  padding: 0;
}

.about-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 16ch;
  margin: 0 0 1.25rem;
  color: var(--chip);
}

.about-copy p {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--chip);
}

.about-copy p:last-of-type {
  margin-bottom: 0;
}

/* Services: stacked box wall */
.services {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: var(--bay);
}

.services h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 0 0 0.6rem;
}

.services .intro {
  margin: 0 0 2rem;
  max-width: 58ch;
  color: var(--mist);
}

.rack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.tile {
  background: var(--ink);
  color: var(--paper);
  min-height: 168px;
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transform: translateX(0);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.tile:nth-child(1),
.tile:nth-child(6) {
  background: var(--red);
  color: var(--chip);
  grid-column: span 2;
}

.tile:nth-child(3) {
  background: var(--bay-2);
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover {
    transform: translateX(10px);
  }
}

.tile h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.55rem;
  margin: 0.35rem 0 0.45rem;
  line-height: 1;
}

.tile p {
  margin: 0;
  color: inherit;
  opacity: 0.86;
  font-size: 0.95rem;
  max-width: 36ch;
}

.tile .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.more {
  margin-top: 2.4rem;
}

.more h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.1rem;
}

.groups h4 {
  margin: 0 0 0.55rem;
  padding: 0.7rem 0.85rem;
  background: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--red);
}

.groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.groups li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.05rem;
  padding: 0.65rem 0.8rem;
  background: var(--ink);
  color: var(--paper);
}

.groups li .icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: var(--red);
}

.groups li span {
  font-size: 0.98rem;
  line-height: 1.25;
}

/* Contact slab */
.contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--red);
  color: var(--chip);
}

.contact-copy {
  padding: clamp(1.35rem, 3vw, 2.1rem) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy address {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.contact h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 12ch;
  margin: 0 0 0.45rem;
}

.contact p {
  margin: 0 0 0.85rem;
  max-width: 42ch;
  color: color-mix(in srgb, var(--chip) 88%, transparent);
}

.contact-addr {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--chip);
  text-decoration: none;
  font-size: 1.0625rem;
  white-space: nowrap;
}

.contact-addr:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 4.4rem;
  padding: 0.65rem 0.35rem 0.55rem;
  background: color-mix(in srgb, #000 18%, transparent);
  color: var(--chip);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: background 200ms var(--ease), transform 160ms var(--ease);
}

.channel:hover {
  background: var(--ink);
}

.channel:focus-visible {
  outline: 2px solid var(--chip);
  outline-offset: 2px;
}

.channel:active {
  transform: scale(0.97);
}

.channel .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.map {
  position: relative;
  min-height: 280px;
  height: 100%;
  background: var(--ink);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.contact-route {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
}

.contact-route:focus-visible {
  outline-color: var(--chip);
}

.btn-on-red {
  background: var(--ink);
  color: var(--chip);
}

.btn-on-red:hover {
  background: #0a0c10;
}

.btn-on-red-ghost {
  color: var(--chip);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--chip) 55%, transparent);
}

.btn-on-red-ghost:hover {
  background: color-mix(in srgb, #000 16%, transparent);
}

/* Voices ticker */
.voices {
  background: var(--bay);
  border-top: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  padding: 1.6rem 0 1.4rem;
  overflow: hidden;
}

.voices-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.voices-head h2 {
  font-size: 1.55rem;
  margin: 0;
}

.voices-google {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--chip);
  text-decoration: none;
}

.voices-google:hover {
  color: var(--paper);
}

.google-g {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.voices-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.voices-track {
  display: flex;
  width: max-content;
  animation: voices-scroll 56s linear infinite;
}

.voices-set {
  display: flex;
  gap: 0.55rem;
  padding-right: 0.55rem;
}

.voice {
  flex: 0 0 auto;
  min-width: 18rem;
  max-width: 26rem;
  background: var(--ink);
  padding: 0.95rem 1.15rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.voice-stars {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  color: var(--google-star);
}

.voice-stars .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.voice blockquote {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--paper);
}

.voice cite {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--mist);
}

.voice cite::after {
  content: " · Google";
  color: var(--muted);
}

@keyframes voices-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (hover: hover) and (pointer: fine) {
  .voices-marquee:hover .voices-track {
    animation-play-state: paused;
  }
}

/* Footer */
.footer {
  background: var(--ink);
  padding: 1.25rem var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
}

.footer nav {
  display: flex;
  gap: 1.25rem;
}

.footer a {
  color: var(--mist);
  text-decoration: none;
}

.footer a:hover {
  color: var(--chip);
}

/* Legal pages */
.legal {
  padding: clamp(2.5rem, 6vw, 5rem) 0 4rem;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 1.5rem;
}

.legal h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal p,
.legal li {
  max-width: 68ch;
  color: var(--mist);
}

.legal a {
  color: var(--chip);
}

/* Overlay menu */
.overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--ink);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav) + 1.25rem) 1.5rem max(2rem, env(safe-area-inset-bottom, 0px));
  gap: 1.2rem;
}

.overlay.is-open {
  display: flex;
}

.overlay a {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 3rem);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* Tablet */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .groups ul {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .nav-cta {
    display: none;
  }

  .nav-inner {
    width: 100%;
    padding-inline: 0.85rem;
    gap: 0.65rem;
  }

  .nav-end {
    align-items: center;
    gap: 0.5rem;
  }

  .nav-wa,
  .nav-ig,
  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .nav-wa .icon,
  .nav-ig .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .brand-name {
    display: none;
  }

  .hero,
  .hero-stage,
  .about-inner,
  .contact,
  .rack,
  .groups {
    grid-template-columns: 1fr;
  }

  .hours-rail {
    grid-template-columns: 1fr 1fr;
  }

  .tile:nth-child(1),
  .tile:nth-child(6) {
    grid-column: span 1;
  }

  .hero-blast {
    min-height: 72svh;
    padding: 1.25rem var(--pad) 1.75rem;
  }

  .hero-lockup {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-blast-copy {
    align-items: center;
    min-width: 0;
    max-width: 100%;
  }

  .hero-blast-logo {
    height: 4.6rem;
  }

  .hero-blast-title {
    font-size: clamp(2rem, 10vw, 3.4rem);
    text-align: center;
  }

  .hero-blast-role {
    text-align: center;
  }

  .hero {
    min-height: unset;
    padding-top: 0;
  }

  .hero-car {
    object-position: 62% 16%;
  }

  .hero-explosion::after {
    background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 8%, transparent) 0%, color-mix(in srgb, var(--ink) 22%, transparent) 38%, var(--ink) 92%);
  }

  .hero-copy {
    min-height: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.25rem var(--pad) 1.45rem;
    gap: 0.65rem;
    grid-column: 1;
    grid-row: auto;
  }

  .hero-actions {
    width: 100%;
    max-width: 22rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost:not(.btn-wa) {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
  }

  .hero-actions .btn-wa {
    display: none;
  }

  .stack {
    min-height: unset;
    grid-column: 1;
    grid-row: auto;
  }

  .pull {
    min-height: 0;
  }

  .box-end {
    padding: 0.55rem 1rem;
  }

  .rating-bar {
    padding: 0.75rem var(--pad);
  }

  .hero-street {
    padding: 0.95rem var(--pad);
    flex-wrap: wrap;
    white-space: normal;
    line-height: 1.25;
    row-gap: 0.35rem;
  }

  .hero-slogan {
    max-width: none;
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }

  .lede {
    font-size: 0.98rem;
  }

  .groups ul {
    grid-template-columns: 1fr;
  }

  .contact-addr {
    white-space: normal;
  }

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

  .hours-rail div {
    border-bottom: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  }

  .hours-rail div:nth-child(2n) {
    border-right: 0;
  }

  .hours-rail div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .tile,
  .channel {
    transition: none;
  }

  .tile:hover {
    transform: none;
  }

  .channel:active {
    transform: none;
  }

  .voices-track {
    animation: none;
  }

  .voices-marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .hero-explosion-inner,
  .hero-car.is-exploded {
    animation: none;
  }

  .hero-car.is-exploded {
    opacity: 0;
  }
}
