/* J P Mobile Detailing — palette sampled from the logo: neon red on black */

:root {
  --black: #050505;
  --panel: #0d0d0f;
  --panel-2: #151517;
  --ember: #2a0906;
  --red: #e8281e;
  --red-lit: #ff5a48;
  --ice: #b8b8be;
  --chrome: #efefef;
  --text: #e4e4e6;
  --muted: #a0a0a8;
  --line: rgba(255, 90, 72, 0.24);
  --line-soft: rgba(255, 255, 255, 0.1);

  --display: 'Oxanium', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shell: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --radius: 16px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img,
video { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

h1 em, h2 em {
  font-style: normal;
  color: var(--red-lit);
  text-shadow: 0 0 34px rgba(232, 40, 30, 0.55);
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

[hidden] { display: none !important; }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

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

/* --- Buttons ------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}

.button svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.button-lg { min-height: 56px; padding: 0.85rem 1.6rem; font-size: 1.04rem; }

.button-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 160, 150, 0.3) inset, 0 10px 30px -10px rgba(232, 40, 30, 0.9);
}
.button-red:hover {
  background: #f5352a;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 160, 150, 0.55) inset, 0 14px 36px -8px rgba(255, 90, 72, 0.9);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--chrome);
  background: rgba(255, 255, 255, 0.04);
}
.button-outline:hover { border-color: var(--red-lit); color: #fff; transform: translateY(-2px); }

/* --- Header ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 5, 5, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
  text-decoration: none;
}
.brand img { width: 60px; height: 60px; }
.brand-name {
  display: grid;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--red-lit);
}
.brand-name b {
  margin-top: 0.3rem;
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--chrome);
}

.desktop-nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-left: auto;
}
.desktop-nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ice);
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.desktop-nav a:hover { color: #fff; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--chrome);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem var(--gutter) 1.4rem;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a:not(.button) {
  padding: 0.9rem 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .button { margin-top: 1rem; }

/* --- Video toggle ------------------------------------------------------- */

.video-toggle {
  position: absolute;
  z-index: 3;
  top: 0.6rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.video-toggle:hover { background: var(--red); border-color: var(--red-lit); }
.video-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.video-toggle .icon-play { fill: currentColor; stroke-width: 1; display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.6rem);
  background:
    radial-gradient(46% 60% at 82% 38%, rgba(232, 40, 30, 0.26), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(232, 40, 30, 0.12), transparent 70%),
    var(--black);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 0.98;
}
.hero h1 em { display: block; }

.hero-intro {
  max-width: 34rem;
  margin-top: 1.3rem;
  font-size: 1.12rem;
  color: var(--text);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.8rem; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  max-width: 36rem;
}
.hero-facts strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}
.hero-facts span { display: block; margin-top: 0.25rem; font-size: 0.86rem; line-height: 1.35; color: var(--muted); }

.hero-media {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
  padding: 0 0 2.2rem 3.2rem;
}
.hero-photo {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -34px rgba(232, 40, 30, 0.85);
}
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 62%; }

.hero-clip {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 43%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 2px solid var(--black);
  outline: 1px solid var(--line);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.95);
}
.hero-clip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; cursor: pointer; }
.hero-clip figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.7rem 0.55rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
}
.hero-clip .video-toggle { top: 0.4rem; right: 0.4rem; width: 32px; height: 32px; }
.hero-clip .video-toggle svg { width: 13px; height: 13px; }

/* --- Ticker ------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  background: var(--red);
  border-block: 1px solid rgba(255, 170, 160, 0.45);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  padding: 0.6rem 1.1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.ticker-track span::after { content: '//'; margin-left: 2.2rem; color: rgba(0, 0, 0, 0.55); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --- Sections ----------------------------------------------------------- */

.section { padding: clamp(3.6rem, 8vw, 6.4rem) 0; }

.section-panel {
  background: linear-gradient(180deg, var(--black) 0%, var(--panel) 12%, var(--panel) 88%, var(--black) 100%);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head > p:last-child { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; max-width: 38rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red-lit);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--red-lit);
  box-shadow: 0 0 10px var(--red-lit);
}

h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }

.lead { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; max-width: 34rem; }

/* --- What we detail ----------------------------------------------------- */

.rides {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ride {
  position: relative;
  aspect-ratio: 3 / 4.3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-soft);
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.ride:hover {
  border-color: rgba(255, 90, 72, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -26px rgba(232, 40, 30, 0.9);
}
.ride > img,
.ride > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.ride > video { cursor: pointer; }
.ride:hover > img { transform: scale(1.05); }
.ride-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 4.5rem 1.1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.94));
  pointer-events: none;
}
.ride-copy h3 { font-size: 1.35rem; }
.ride-copy h3::after {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 0.55rem;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-lit);
}
.ride-copy p { margin-top: 0.55rem; font-size: 0.93rem; line-height: 1.45; color: var(--text); }

.rides-note { margin-top: 1.4rem; color: var(--muted); }
.rides-note strong { color: #fff; }
.rides-note a { color: var(--red-lit); font-weight: 600; }

.covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
.cover {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.cover.is-featured {
  border-color: rgba(255, 90, 72, 0.55);
  background: linear-gradient(180deg, var(--ember), var(--panel));
}
.cover h3 { font-size: 1.35rem; }
.cover-flag {
  position: absolute;
  top: -0.7rem;
  right: 1.2rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.check-list { margin-top: 1.1rem; display: grid; gap: 0.55rem; }
.check-list li { position: relative; padding-left: 1.8rem; font-weight: 500; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.24em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat,
    var(--red);
}

/* --- Results ------------------------------------------------------------ */

.result + .result { margin-top: clamp(2.6rem, 6vw, 4rem); }

.result-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.6rem;
  margin-bottom: 1.1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red);
}
.result-copy h3 { font-size: 1.5rem; flex: none; }
.result-copy p { flex: 1 1 22rem; color: var(--muted); max-width: 44rem; }

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

.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-soft);
}
.shot img,
.shot video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.shot video { cursor: pointer; }
.shot figcaption {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}
.shot.is-after { border-color: rgba(255, 90, 72, 0.6); box-shadow: 0 0 44px -14px rgba(255, 90, 72, 0.85); }
.shot.is-after figcaption { background: var(--red); border-color: var(--red-lit); }

.result-cta {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.7rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 90, 72, 0.5);
  background: linear-gradient(160deg, var(--ember), var(--panel) 70%);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.result-cta:hover { border-color: var(--red-lit); transform: translateY(-3px); }
.result-cta strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
}
.result-cta span { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--red-lit); font-weight: 700; }
.result-cta svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.result-cta:hover svg { transform: translateX(4px); }

/* --- Work grid ---------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.chip {
  min-height: 42px;
  padding: 0.45rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: none;
  color: var(--ice);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.chip:hover { color: #fff; border-color: var(--red-lit); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: border-color 0.25s;
}
.tile:hover { border-color: rgba(255, 90, 72, 0.65); }
.tile img,
.tile video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile-video { cursor: default; }
.tile-video video { cursor: pointer; }
.tile > span,
.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 0.8rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.3;
  pointer-events: none;
}
.work-grid:not(.is-expanded) .tile.is-extra { display: none; }
.tile.is-filtered { display: none; }

.work-more { display: flex; justify-content: center; margin-top: 1.6rem; }

/* --- Lightbox ----------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.94);
}
.lightbox figure { display: grid; justify-items: center; gap: 0.8rem; min-width: 0; }
.lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 6.5rem);
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.lightbox figcaption { font-weight: 600; color: var(--chrome); text-align: center; }
.lightbox-nav,
.lightbox-close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.lightbox-nav:hover,
.lightbox-close:hover { background: var(--red); border-color: var(--red-lit); }
.lightbox-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2; font-size: 1.7rem; line-height: 1; }

/* --- Steps -------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.steps li {
  padding: 1.5rem 1.4rem 1.6rem;
  border-top: 2px solid var(--red);
  background: linear-gradient(180deg, rgba(232, 40, 30, 0.14), transparent 70%);
}
.step-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red-lit);
}
.steps h3 { margin-top: 0.9rem; font-size: 1.25rem; }
.steps p { margin-top: 0.5rem; color: var(--muted); }

/* --- About -------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.4rem);
  margin-top: clamp(3rem, 7vw, 5rem);
}
.about-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 90, 72, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ember), var(--panel) 65%);
  box-shadow: 0 30px 80px -40px rgba(232, 40, 30, 0.95);
}
.about-card h3 { font-size: 1.5rem; }
.about-card p { margin: 0.7rem 0 1.3rem; color: var(--muted); }
.about-card .button { width: 100%; }
.stars { display: flex; gap: 0.3rem; margin-bottom: 0.9rem; }
.stars svg { width: 22px; height: 22px; fill: var(--red-lit); filter: drop-shadow(0 0 8px rgba(255, 90, 72, 0.7)); }

/* --- Book --------------------------------------------------------------- */

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.4rem);
}

.contact-rows { margin-top: 2rem; border-top: 1px solid var(--line-soft); }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}
.contact-row span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  color: #fff;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}
a.contact-row:hover strong { color: var(--red-lit); }
.area-note { margin-top: 1.1rem; color: var(--muted); font-size: 0.95rem; }

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: linear-gradient(180deg, var(--ember), var(--panel) 70%);
  border: 1px solid rgba(255, 90, 72, 0.4);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(232, 40, 30, 0.95);
}
.quote-form h3 { grid-column: 1 / -1; font-size: 1.35rem; margin-bottom: 0.2rem; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--chrome); }
.field label small { font-weight: 400; font-size: 0.82rem; color: var(--muted); margin-left: 0.3rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  color: #fff;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a48' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.1rem; padding-right: 2.4rem; }
.field select option { background: #151517; color: #fff; }
.field ::placeholder { color: #7c7c86; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red-lit);
  box-shadow: 0 0 0 3px rgba(255, 90, 72, 0.25);
}
.field input.is-invalid { border-color: #ff9a8f; }

.form-error { grid-column: 1 / -1; color: #ffb4ab; font-size: 0.94rem; }
.form-done { color: var(--chrome); font-weight: 600; text-align: center; }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  padding: 3rem 0 2.4rem;
  border-top: 1px solid var(--line-soft);
  background: radial-gradient(50% 120% at 50% 0%, rgba(232, 40, 30, 0.18), transparent 70%), var(--black);
}
.footer-inner { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.footer-inner img { width: 170px; height: 170px; }
.footer-line {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--chrome);
}
.footer-contact a {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--red-lit); }
.footer-legal { color: var(--muted); font-size: 0.88rem; }

/* --- Mobile call bar ---------------------------------------------------- */

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(5, 5, 5, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.call-bar .button { flex: 1; padding-inline: 0.6rem; }
.call-bar .button-red { flex: 1.6; }

/* --- Toast -------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.4rem;
  z-index: 320;
  transform: translateX(-50%);
  max-width: calc(100vw - 2rem);
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  background: #fff;
  color: #111111;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8);
}

/* --- Reveal ------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .ride, .ride > img, .tile img { transition: none; }
  .ticker-track { animation: none; }
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-media { justify-self: center; width: min(100%, 400px); }

  .rides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .covers, .steps { grid-template-columns: minmax(0, 1fr); }
  .covers { gap: 1.3rem; }
  .about, .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .call-bar { display: flex; }
  body { padding-bottom: 4.6rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .brand img { width: 50px; height: 50px; }
  .brand-name { font-size: 1.25rem; }
  .brand-name b { font-size: 0.58rem; letter-spacing: 0.24em; }

  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 0.7rem; margin-top: 1.8rem; }
  .hero-facts span { font-size: 0.78rem; }
  .hero-media { padding: 0 0 1.8rem 2.2rem; }

  .rides { gap: 0.6rem; }
  .ride-copy { padding: 3rem 0.75rem 0.8rem; }
  .ride-copy h3 { font-size: 1.05rem; }
  .ride-copy p { font-size: 0.8rem; }

  /* Before and after stay side by side; the reel takes the full row */
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .result-grid .is-reel { grid-column: 1 / -1; order: 5; }
  .result-grid .result-cta { grid-column: 1 / -1; order: 6; }
  .shot figcaption { top: 0.5rem; left: 0.5rem; padding: 0.22rem 0.55rem; font-size: 0.64rem; }

  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .tile > span,
  .tile figcaption { padding: 1.8rem 0.6rem 0.55rem; font-size: 0.78rem; }

  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 0.6rem; }
  .lightbox-nav { position: absolute; bottom: 1rem; z-index: 2; }
  .lightbox-nav.is-prev { left: 1rem; }
  .lightbox-nav.is-next { right: 1rem; }
  .lightbox img { max-height: calc(100svh - 9rem); }

  .quote-form { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   AGENCY PREVIEW REMINDER — NOT part of the client's site.
   Delete this section, its markup, and its script once J P Mobile Detailing signs.
   ========================================================================== */

.agency-pop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}
.agency-pop[hidden] { display: none !important; }
.agency-pop.is-open { opacity: 1; pointer-events: auto; }

.agency-card {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem 1.6rem 1.4rem;
  background: linear-gradient(180deg, var(--ember), #0d0d0f 70%);
  border: 1px solid rgba(255, 90, 72, 0.55);
  border-radius: 18px;
  box-shadow: 0 40px 100px -20px rgba(232, 40, 30, 0.9);
  text-align: center;
}
.agency-card img { width: 120px; height: 120px; margin: 0 auto 0.8rem; }
.agency-card h2 { font-size: 1.35rem; }
.agency-card p { margin-top: 0.8rem; color: var(--text); }
.agency-card .agency-note { color: var(--muted); font-size: 0.96rem; }
.agency-card .agency-note strong { color: #fff; }
.agency-actions { display: grid; gap: 0.6rem; margin-top: 1.3rem; }
.agency-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--ice);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.agency-close:hover { color: #fff; }
.agency-dismiss {
  margin-top: 0.9rem;
  padding: 0.6rem;
  background: none;
  border: 0;
  color: var(--red-lit);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.agency-dismiss:hover { color: #fff; }
