/* Real Auto — colours come from the shop itself:
   night  = asphalt / roll-up shutter at closing time
   tile   = white workshop floor tiles
   signal = orange stripe on the window sign
   lane   = yellow chevrons painted at the entrance */
:root {
  --night: #1B1F23;
  --night-2: #23282D;
  --steel: #343A40;
  --tile: #EEF0EE;
  --tile-2: #DDE1DE;
  --ink: #15181B;
  --signal: #FF5F1F;
  --signal-2: #E2490C;
  --lane: #F7C51E;
  --soft: rgba(238, 240, 238, .66);
  --faint: rgba(238, 240, 238, .14);
  --muted: #59616A;
  --line: rgba(21, 24, 27, .14);

  --font: "Archivo", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1360px;
  --header-h: 76px;
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--tile);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain over everything — keeps the graded photos and flat colours from looking digital */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: .95; font-variation-settings: "wdth" 125; }
h2 { font-size: clamp(2.3rem, 5.4vw, 5rem); font-weight: 850; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--signal); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; position: relative; overflow: hidden; isolation: isolate;
  font: inherit; font-weight: 750; font-variation-settings: "wdth" 112; letter-spacing: -.005em;
  text-decoration: none; border: 2px solid transparent; border-radius: 100px; cursor: pointer;
  transition: color .3s, border-color .3s;
}
.btn::before { /* fill wipes in from the bottom on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--signal { background: var(--signal); color: #fff; }
.btn--signal::before { background: var(--ink); }
.btn--ghost { border-color: rgba(238,240,238,.55); color: var(--tile); }
.btn--ghost::before { background: var(--tile); }
.btn--ghost:hover { color: var(--ink); border-color: var(--tile); }
.magnetic { will-change: transform; }

/* ---------- Shutter intro ---------- */
.shutter {
  position: fixed; inset: 0; z-index: 250;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 8%, transparent 92%, rgba(0,0,0,.45)),
    repeating-linear-gradient(180deg, #6f767c 0, #8f969b 6px, #aeb4b8 11px, #848a8f 17px, #4f555a 21px, #3d4247 22px);
  display: grid; place-items: center;
  animation: shutter-fallback 1s var(--ease) 3.5s forwards; /* if JS never runs, it still opens */
}
.shutter.is-up { animation: none; transform: translateY(-102%); transition: transform 1.25s var(--ease); }
.shutter.is-gone { display: none; }
@keyframes shutter-fallback { to { transform: translateY(-102%); } }
.shutter__paint { display: grid; justify-items: center; gap: 8px; color: rgba(250,250,248,.95); text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.shutter__mark { width: clamp(120px, 18vw, 220px); color: var(--signal); }
.shutter__name { font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2.8rem, 9vw, 7.5rem); letter-spacing: .01em; line-height: .9; }
.shutter__sub { font-weight: 600; font-size: clamp(.9rem, 1.5vw, 1.15rem); background: var(--signal); color: #fff; padding: 5px 12px; text-shadow: none; }
.shutter__bar { position: absolute; left: 50%; bottom: 96px; width: 180px; height: 3px; margin-left: -90px; background: rgba(0,0,0,.3); overflow: hidden; }
.shutter__bar span { display: block; height: 100%; background: var(--lane); transform-origin: left; animation: load 1.3s ease-out forwards; }
@keyframes load { from { transform: scaleX(0); } }
.shutter__handle { position: absolute; bottom: 40px; left: 50%; width: 120px; height: 16px; margin-left: -60px; background: linear-gradient(#3a3f44, #1e2124); border-radius: 3px; box-shadow: 0 3px 0 rgba(0,0,0,.3); }

/* ---------- Header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  transition: transform .45s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(27, 31, 35, .82); backdrop-filter: blur(14px); border-bottom-color: var(--faint); }
.top.is-hidden { transform: translateY(-100%); }
.brand { display: grid; text-decoration: none; line-height: 1; color: var(--tile); }
.brand__mark { width: 92px; height: 16px; color: var(--signal); margin-bottom: 2px; }
.brand__name { font-weight: 900; font-variation-settings: "wdth" 125; font-size: 1.35rem; letter-spacing: .02em; }
.brand__sub { font-size: .7rem; color: var(--soft); margin-top: 3px; font-variation-settings: "wdth" 90; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: block; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--tile);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }
.top__call { min-height: 46px; padding: 0 20px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; align-items: end;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(32px, 6vh, 72px);
}
.hero__media { position: absolute; inset: -4%; }
@media (min-width: 921px) {
  /* the clips are portrait: keep them sharp as a tall panel on the right instead of stretching them */
  .hero__media { left: auto; right: 0; width: min(52vw, 820px); inset-block: 0; overflow: hidden; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(27,31,35,.6) 30%, transparent 65%); }
  .hero { background: radial-gradient(80% 70% at 20% 80%, rgba(255,95,31,.12), transparent 60%), var(--night); }
}
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.12) saturate(.78) brightness(.8); transform: scale(1.12); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 75% 30%, transparent 30%, rgba(27,31,35,.65) 100%),
    linear-gradient(180deg, rgba(27,31,35,.55) 0%, transparent 25%, transparent 45%, rgba(27,31,35,.95) 100%),
    linear-gradient(90deg, rgba(27,31,35,.75) 0%, transparent 60%),
    linear-gradient(0deg, rgba(255,95,31,.10), rgba(255,95,31,.10));
}
.hero__content { position: relative; z-index: 2; max-width: var(--max); width: 100%; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 13px; border-radius: 40px; font-size: .9rem; font-weight: 600;
  background: rgba(238,240,238,.1); border: 1px solid rgba(238,240,238,.2); backdrop-filter: blur(8px);
  margin-bottom: 24px;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--soft); }
.status.is-open .status__dot { background: #2BD07A; animation: ping 2.2s infinite; }
.status.is-closed .status__dot { background: var(--signal); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(43,208,122,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(43,208,122,0); } }

.hero__title {
  font-size: clamp(3.2rem, 10.5vw, 10.5rem);
  font-weight: 900; letter-spacing: -.05em; line-height: .86;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
.hero__title em {
  font-style: italic; font-variation-settings: "wdth" 125; color: var(--signal);
  -webkit-text-stroke: 0;
}
.hero__bottom { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-top: 36px; max-width: 900px; }
.hero__lead { max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* tachometer: the rating as a rev gauge */
.gauge {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(40px, 8vh, 96px);
  width: clamp(190px, 17vw, 250px); margin: 0; text-align: center;
}
.gauge svg { width: 100%; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(238,240,238,.18); stroke-width: 10; stroke-linecap: round; }
.gauge__hot { fill: none; stroke: url(#hot); stroke-width: 10; stroke-linecap: round; }
.gauge__ticks line { stroke: rgba(238,240,238,.55); stroke-width: 2; }
.gauge__ticks line.major { stroke: var(--tile); stroke-width: 3; }
.gauge__ticks text { fill: var(--soft); font: 700 11px var(--font); text-anchor: middle; dominant-baseline: middle; }
.gauge__needle line { stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.gauge__needle circle { fill: var(--tile); stroke: var(--signal); stroke-width: 3; }
.gauge figcaption { margin-top: -38px; display: grid; }
.gauge figcaption strong { font-size: 2.4rem; font-weight: 900; font-variation-settings: "wdth" 125; line-height: 1; }
.gauge figcaption span { font-size: .82rem; color: var(--soft); }

.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 26px; height: 44px; margin-left: -13px;
  border: 2px solid rgba(238,240,238,.5); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--signal); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Logo strip ---------- */
.logos {
  background: var(--night-2); border-block: 1px solid var(--faint);
  overflow: hidden; padding: 30px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__set { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); list-style: none; margin: 0; padding: 0 clamp(24px, 3vw, 44px); }
.logos__set img {
  height: clamp(30px, 3.4vw, 44px); width: auto;
  filter: invert(1) brightness(1.4); opacity: .5; transition: opacity .3s, transform .3s;
}
.logos__set li:hover img { opacity: 1; transform: scale(1.12); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--tile); color: var(--ink); padding: clamp(80px, 12vw, 180px) var(--gutter); }
.about > * { max-width: var(--max); margin-inline: auto; }
.about__statement {
  font-size: clamp(2rem, 4.8vw, 4.6rem); font-weight: 800; font-variation-settings: "wdth" 118;
  letter-spacing: -.035em; line-height: 1.02; max-width: 22ch; margin-left: 0;
}
.about__statement .w { opacity: .14; transition: opacity .2s; }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: end; margin-top: clamp(56px, 8vw, 120px); }
.about__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; }
.about__photo img, .masters__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.about__stats { display: grid; gap: 0; }
.stat { display: grid; grid-template-columns: clamp(160px, 17vw, 260px) 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); }
.stat__num { font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -.05em; line-height: .9; color: var(--ink); }
.stat:first-child .stat__num { color: var(--signal-2); }
.stat__label { color: var(--muted); max-width: 26ch; }
.about__text { padding-top: 26px; border-top: 1px solid var(--line); font-size: 1.15rem; max-width: 50ch; }
.reveal-clip { clip-path: inset(0 0 0 0); }

/* ---------- Work: horizontal gallery ---------- */
.work { position: relative; background: var(--night); }
.work__pin { min-height: 100vh; display: flex; align-items: center; gap: clamp(32px, 4vw, 72px); padding: 100px 0 60px var(--gutter); overflow: hidden; }
.work__head { flex: 0 0 clamp(260px, 26vw, 380px); align-self: center; }
.work__head h2 { margin-bottom: 22px; }
.work__head p { color: var(--soft); max-width: 30ch; }
.work__count { margin-top: 28px !important; font-weight: 800; font-variation-settings: "wdth" 125; font-size: 1.1rem; color: var(--tile) !important; }
.work__count span:first-child { color: var(--signal); font-size: 2.4rem; }
.work__track { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); padding-right: var(--gutter); }

.panel {
  flex: none; position: relative; display: grid; gap: 12px; padding: 0; border: 0; background: none;
  color: var(--tile); font: inherit; text-align: left; cursor: zoom-in;
}
.panel__img {
  position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--steel);
  height: 54vh; aspect-ratio: 3 / 4;
}
.panel--tall .panel__img { height: 68vh; }
.panel--wide .panel__img { height: 50vh; aspect-ratio: 4 / 3; }
.panel--square .panel__img { height: 52vh; aspect-ratio: 1; }
.panel__img img { position: absolute; top: 0; left: -10%; width: 120%; max-width: none; height: 100%; object-fit: cover; transition: filter .5s, scale .7s var(--ease); }
.panel:hover .panel__img img { scale: 1.05; filter: saturate(1.25) contrast(1.05); }
/* diagnostic scan line sweeping over the photo on hover */
.panel__img::after {
  content: ""; position: absolute; left: 0; right: 0; top: -20%; height: 18%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,95,31,.0) 40%, rgba(255,95,31,.55) 96%, #FFB089 100%);
  mix-blend-mode: screen; opacity: 0;
}
.panel:hover .panel__img::after, .panel:focus-visible .panel__img::after { animation: scan 1.4s var(--ease) infinite; }
@keyframes scan { 0% { top: -20%; opacity: 1; } 85% { opacity: 1; } 100% { top: 105%; opacity: 0; } }
.panel__img::before { /* corner brackets like a camera viewfinder */
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s, inset .4s var(--ease);
  background:
    linear-gradient(var(--tile), var(--tile)) top left / 22px 2px, linear-gradient(var(--tile), var(--tile)) top left / 2px 22px,
    linear-gradient(var(--tile), var(--tile)) top right / 22px 2px, linear-gradient(var(--tile), var(--tile)) top right / 2px 22px,
    linear-gradient(var(--tile), var(--tile)) bottom left / 22px 2px, linear-gradient(var(--tile), var(--tile)) bottom left / 2px 22px,
    linear-gradient(var(--tile), var(--tile)) bottom right / 22px 2px, linear-gradient(var(--tile), var(--tile)) bottom right / 2px 22px;
  background-repeat: no-repeat;
}
.panel:hover .panel__img::before { opacity: 1; inset: 20px; }
.panel__cap { font-size: .92rem; font-weight: 600; color: var(--soft); display: flex; gap: 10px; }
.panel__cap::before { content: attr(data-n); color: var(--signal); font-weight: 800; }

/* ---------- Reels ---------- */
.reels { background: var(--night-2); padding: clamp(80px, 10vw, 150px) var(--gutter); overflow: hidden; }
.reels__head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.reels__head p { color: var(--soft); max-width: 34ch; }
.reels__cols { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.reels__col { display: grid; gap: clamp(14px, 2vw, 28px); }
.reels__col:nth-child(2) { margin-top: 120px; }
.reels__col:nth-child(3) { margin-top: 40px; }
.reel {
  position: relative; display: block; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 9 / 16; background: var(--steel); color: var(--tile); font: inherit; text-align: left;
  box-shadow: 0 0 0 1px var(--faint);
}
.reel video { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) saturate(.85); transition: transform .7s var(--ease); }
.reel:hover video { transform: scale(1.05); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,31,35,.4), transparent 22%, transparent 70%, rgba(27,31,35,.85)); }
.reel__rec { position: absolute; z-index: 2; top: 14px; left: 14px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; display: flex; align-items: center; gap: 6px; }
.reel__rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.reel__cap { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; font-weight: 700; font-size: .95rem; }

/* ---------- Process: car on the road ---------- */
.process { background: var(--night); }
.process__pin { min-height: 100vh; display: grid; align-content: center; gap: clamp(48px, 7vh, 88px); padding: 110px var(--gutter) 70px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.road { position: relative; --p: 0; }
.road__asphalt {
  position: relative; height: 84px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, #2a2f34, #22272b); box-shadow: inset 0 3px 0 rgba(255,255,255,.04), inset 0 -3px 0 rgba(0,0,0,.25);
}
.road__asphalt::before, .road__asphalt::after { /* kerbs */
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--tile) 0 26px, var(--signal) 26px 52px); opacity: .85;
}
.road__asphalt::before { top: 0; }
.road__asphalt::after { bottom: 0; }
.road__line { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--lane) 0 34px, transparent 34px 64px); }
.car { position: absolute; top: 14px; left: 0; width: 120px; height: 56px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); transform: translateX(calc(var(--p) * (100cqw - 120px))); }
.road { container-type: inline-size; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.step { opacity: .32; transition: opacity .4s, transform .4s var(--ease); transform: translateY(10px); }
.step.is-on { opacity: 1; transform: none; }
.step__n {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%;
  border: 2px solid var(--lane); color: var(--lane); font-weight: 900; font-variation-settings: "wdth" 120; transition: background .3s, color .3s, border-color .3s;
}
.step.is-on .step__n { background: var(--signal); border-color: var(--signal); color: #fff; }
.step h3 { margin-bottom: 10px; font-size: 1.35rem; }
.step p { color: var(--soft); font-size: .98rem; max-width: 26ch; }

/* ---------- Reviews ---------- */
.reviews { background: var(--tile); color: var(--ink); padding: clamp(80px, 11vw, 160px) var(--gutter); }
.reviews > * { max-width: var(--max); margin-inline: auto; }
.reviews__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.reviews__score p { color: var(--muted); margin-top: 8px; }
.reviews__score strong { color: var(--ink); font-size: 1.4rem; font-weight: 900; margin-right: 6px; }
.stars { display: flex; gap: 6px; }
.stars i {
  width: 30px; height: 30px; background: var(--signal);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.carousel { position: relative; border-top: 3px solid var(--ink); padding-top: clamp(32px, 4vw, 56px); }
.carousel__slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide p { font-size: clamp(1.6rem, 3.6vw, 3.3rem); font-weight: 650; font-variation-settings: "wdth" 110; letter-spacing: -.025em; line-height: 1.12; max-width: 30ch; }
.slide p::before { content: "“"; color: var(--signal); }
.slide p::after { content: "”"; color: var(--signal); }
.slide footer { margin-top: 24px; font-weight: 700; color: var(--muted); }
.slide footer::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--signal); vertical-align: middle; margin-right: 12px; }
.carousel__nav { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.carousel__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: none; color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background .25s, color .25s;
}
.carousel__btn:hover { background: var(--ink); color: var(--tile); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 44px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--tile-2); cursor: pointer; position: relative; overflow: hidden; }
.carousel__dots button::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.carousel__dots button[aria-selected="true"]::after { animation: progress 6s linear forwards; }
.carousel.is-paused .carousel__dots button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

.masters { margin: clamp(72px, 9vw, 130px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.masters__img { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 6px; }
.masters__img img { object-position: 50% 30%; }
.masters h3 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-weight: 850; letter-spacing: -.03em; }
.masters p { margin-top: 18px; color: var(--muted); max-width: 40ch; font-size: 1.15rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 750; text-decoration: none; border-bottom: 2px solid var(--signal); padding-bottom: 4px; }
.link-arrow::after { content: ""; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s; }
.link-arrow:hover::after { transform: translateX(4px) rotate(45deg); }


/* ---------- FAQ ---------- */
.faq { background: var(--night-2); padding: clamp(72px, 9vw, 130px) var(--gutter); }
.faq > * { max-width: 980px; margin-inline: auto; }
.faq h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.faq__list { border-top: 1px solid var(--faint); }
.faq__item { border-bottom: 1px solid var(--faint); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-weight: 750; font-variation-settings: "wdth" 112; font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--signal); border-bottom: 2.5px solid var(--signal);
  transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__item summary:hover { color: var(--signal); }
.faq__item p { color: var(--soft); max-width: 62ch; padding: 0 0 26px; }

/* ---------- Call band ---------- */
.callband { display: block; overflow: hidden; background: var(--signal); color: var(--ink); text-decoration: none; padding: clamp(18px, 2.4vw, 30px) 0; transition: background .35s, color .35s; }
.callband:hover { background: var(--ink); color: var(--signal); }
.callband__track { display: flex; width: max-content; align-items: center; animation: marquee 22s linear infinite; }
.callband span, .callband b {
  font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -.04em; line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.callband span { font-style: italic; }
.callband b { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.callband:hover b { -webkit-text-stroke-color: var(--signal); }
.callband span::after, .callband b::after {
  content: ""; width: .32em; height: .32em; margin: 0 .5em; border-top: .09em solid currentColor; border-right: .09em solid currentColor; transform: rotate(45deg);
  -webkit-text-stroke: 0;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--night); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  padding: clamp(80px, 10vw, 150px) max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.contact h2 { margin-bottom: 32px; }
.contact address { font-style: normal; font-size: 1.25rem; line-height: 1.5; color: var(--soft); }
.phones { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 14px; }
.phones a { display: grid; width: fit-content; text-decoration: none; font-weight: 850; font-variation-settings: "wdth" 122; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.02em; transition: color .25s; }
.phones a:hover { color: var(--signal); }
.phones span { font-size: .85rem; font-weight: 500; font-variation-settings: "wdth" 100; color: var(--soft); letter-spacing: 0; }
.hours { border-collapse: collapse; min-width: 290px; }
.hours caption { text-align: left; font-weight: 750; margin-bottom: 10px; }
.hours th, .hours td { padding: 8px 28px 8px 0; border-bottom: 1px solid var(--faint); font-weight: 400; text-align: left; color: var(--soft); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--lane); font-weight: 750; }

.booking {
  background: var(--night-2); border: 1px solid var(--faint); border-radius: 14px; padding: clamp(24px, 3vw, 44px);
  display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden;
}
.booking::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: repeating-linear-gradient(-45deg, var(--lane) 0 12px, var(--night) 12px 24px); }
.booking h3 { font-size: 2rem; font-weight: 850; margin-top: 6px; }
.booking__hint { color: var(--soft); font-size: .95rem; margin-bottom: 6px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--tile); background: transparent; resize: vertical;
  border: 0; border-bottom: 2px solid rgba(238,240,238,.25); padding: 22px 0 10px; transition: border-color .25s;
}
.field textarea { min-height: 96px; }
.field span { position: absolute; left: 0; top: 22px; color: var(--soft); pointer-events: none; transition: transform .25s var(--ease), color .25s, font-size .25s; transform-origin: left; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-20px) scale(.78); color: var(--signal); }
.field [aria-invalid="true"] { border-color: #FF8A5C; }
.when { border: 0; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.when legend { padding: 0; margin-bottom: 10px; color: var(--soft); font-size: .92rem; }
.when label { cursor: pointer; }
.when input { position: absolute; opacity: 0; }
.when span { display: inline-block; padding: 9px 16px; border-radius: 40px; border: 1.5px solid var(--faint); font-weight: 600; font-size: .92rem; transition: background .2s, border-color .2s, color .2s; }
.when input:checked + span { background: var(--tile); color: var(--ink); border-color: var(--tile); }
.when input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.booking__error { color: #FF8A5C; font-weight: 600; }
.booking .btn { margin-top: 10px; }

.map { grid-column: 1 / -1; position: relative; height: 420px; border-radius: 14px; overflow: hidden; background: var(--steel); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9) hue-rotate(180deg); }
.map__btn { position: absolute; right: 20px; bottom: 20px; }

/* ---------- Footer ---------- */
.foot { background: var(--night); padding: 0 var(--gutter) 32px; overflow: hidden; }
.foot__giant {
  font-size: clamp(3rem, 12.5vw, 15rem); font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -.05em; line-height: .8;
  text-align: center; white-space: nowrap; padding-top: 40px;
  color: transparent; -webkit-text-stroke: 1.5px rgba(238,240,238,.25);
  background: linear-gradient(90deg, var(--signal) 0 var(--fill, 0%), transparent var(--fill, 0%)) ; -webkit-background-clip: text; background-clip: text;
}
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--faint); color: var(--soft); font-size: .9rem; }

.actionbar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15,17,19,.97); color: var(--tile); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; animation: lb-in .3s ease; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lightbox__media { width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 80px 8px; min-height: 0; }
.lightbox__media img, .lightbox__media video { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 6px; animation: lb-zoom .45s var(--ease); }
@keyframes lb-zoom { from { transform: scale(.94); opacity: 0; } }
.lightbox__cap { padding: 12px 16px 26px; text-align: center; color: var(--soft); }
.lightbox__btn, .lightbox__close { position: absolute; background: rgba(238,240,238,.1); color: var(--tile); border: 0; cursor: pointer; font: inherit; border-radius: 50px; transition: background .2s; }
.lightbox__btn:hover, .lightbox__close:hover { background: var(--signal); }
.lightbox__btn { top: 50%; width: 56px; height: 56px; margin-top: -28px; font-size: 2rem; line-height: 1; }
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }
.lightbox__close { top: 16px; right: 16px; padding: 10px 20px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .gauge { display: none; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; border-radius: 50%;
    background: rgba(238,240,238,.1); border: 1px solid var(--faint); cursor: pointer;
  }
  .nav__toggle span:not(.sr) { width: 20px; height: 2px; background: var(--tile); transition: transform .3s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav ul {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; justify-content: center; gap: 4px;
    background: var(--night); padding: 24px var(--gutter) 120px;
    clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease);
  }
  .nav ul.is-open { clip-path: inset(0 0 0 0); }
  .nav a { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 850; font-variation-settings: "wdth" 125; letter-spacing: -.03em; padding: 6px 0; }
  .nav a::after { display: none; }
  .top__call { display: none; }

  .hero { padding-bottom: 96px; }
  .hero__bottom { margin-top: 24px; }

  .about__grid, .masters, .contact { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr; gap: 8px; }

  .work__pin { flex-direction: column; align-items: stretch; padding: 90px 0 70px; min-height: 0; }
  .work__head { flex: none; padding: 0 var(--gutter); }
  .work__count { display: none; }
  .work__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .work__track::-webkit-scrollbar { display: none; }
  .panel { scroll-snap-align: center; }
  .panel__img, .panel--tall .panel__img, .panel--square .panel__img { height: 58vh; }
  .panel--wide .panel__img { height: 40vh; }

  .reels__cols { grid-template-columns: 1fr 1fr; }
  .reels__col:nth-child(2) { margin-top: 60px; }
  .reels__col:nth-child(3) { display: none; }

  .process__pin { min-height: 0; padding-block: 90px 80px; }
  .road { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; container-type: normal; }
  .road__asphalt { grid-row: 1; grid-column: 1; height: auto; }
  .road__asphalt::before, .road__asphalt::after { top: 0; bottom: 0; left: auto; right: auto; width: 5px; height: auto; background: repeating-linear-gradient(180deg, var(--tile) 0 22px, var(--signal) 22px 44px); }
  .road__asphalt::before { left: 0; }
  .road__asphalt::after { right: 0; }
  .road__line { top: 0; bottom: 0; left: 50%; right: auto; width: 4px; height: auto; margin: 0 0 0 -2px; background: repeating-linear-gradient(180deg, var(--lane) 0 26px, transparent 26px 50px); }
  /* svg stays 120×56 and is turned to face down the road */
  .car { top: 32px; left: -28px; transform: translateY(calc(var(--p) * (var(--road-h, 600px) - 120px))) rotate(90deg); }
  .steps { grid-row: 1; grid-column: 2; grid-template-columns: 1fr; gap: 40px; margin: 0; padding: 20px 0; }
  .step__n { margin-bottom: 10px; }

  .callband span, .callband b { font-size: clamp(2.2rem, 12vw, 4rem); }
  .map { height: 340px; }
  .foot { padding-bottom: 100px; }

  .actionbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90;
    background: rgba(27,31,35,.9); backdrop-filter: blur(12px); border: 1px solid var(--faint); border-radius: 100px; overflow: hidden;
    margin-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a { display: grid; place-items: center; min-height: 54px; text-decoration: none; font-weight: 750; border-right: 1px solid var(--faint); }
  .actionbar a:first-child { background: var(--signal); color: #fff; }
  .actionbar a:last-child { border-right: 0; }
}

@media (max-width: 560px) {
  .brand__sub { display: none; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; }
  .logos { padding: 22px 0; }
  .reels__cols { gap: 10px; }
  .reels__col { gap: 10px; }
  .reel { border-radius: 12px; }
  .lightbox__media { padding: 64px 8px 8px; }
  .lightbox__btn { top: auto; bottom: 16px; margin: 0; }
  .contact { padding-inline: var(--gutter); }
  .hours { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .shutter, body::after { display: none; }
  .logos__track, .callband__track { animation: none; }
  .about__statement .w { opacity: 1; }
  .step { opacity: 1; transform: none; }
}
