/* ============================================================
   GB AUTO REPAIR & SERVICE — "Precision Garage" design system
   Brand palette: RED, BLACK and WHITE (per client).
   Aesthetic: industrial / motorsport workshop, blueprint-technical.
   ============================================================ */

/* ---- 1. TOKENS -------------------------------------------- */
:root {
  /* surfaces (black) */
  --coal:      #0C0C0D;
  --coal-2:    #131315;
  --coal-3:    #1B1B1E;
  --coal-4:    #242428;
  /* ink (white) */
  --bone:      #F5F5F4;
  --bone-dim:  #C9C9C8;
  --ash:       #8E8E8C;
  /* signal (brand red) */
  --signal:    #E10600;
  --signal-2:  #FF3B36;
  --ember:     #A30400;
  /* paper (inverted sections — white) */
  --paper:     #F2F2F1;
  --paper-2:   #E7E7E5;
  --paper-ink: #121212;
  --paper-ash: #5F5F5D;
  /* lines */
  --line:      rgba(245, 245, 244, 0.13);
  --line-soft: rgba(245, 245, 244, 0.06);
  --line-dark: rgba(18, 18, 18, 0.16);

  --container: 1300px;
  --gutter:    clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* ---- 2. RESET --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--coal);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--signal); color: var(--coal); }

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

/* ---- 3. TEXTURES / ATMOSPHERE ----------------------------- */
/* faint blueprint grid + grain, fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 35%, transparent 85%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* keep real content above textures */
.site-header, main, .site-footer { position: relative; z-index: 2; }

/* ---- 4. LAYOUT PRIMITIVES --------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--signal);
  color: var(--coal);
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  z-index: 999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* eyebrow / section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--signal);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--signal);
}

/* shared headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.h-display { font-size: clamp(3rem, 8.6vw, 8.4rem); line-height: 0.92; }
.h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.62;
  color: var(--bone-dim);
  font-weight: 400;
}
.text-signal { color: var(--signal); }
.text-stroke {
  -webkit-text-stroke: 1.4px var(--bone-dim);
  color: transparent;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}

/* section header block */
.section-head {
  display: grid;
  gap: 1.4rem;
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
@media (min-width: 880px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 2rem 4rem;
  }
  .section-head--split .lead { margin-bottom: 0.4rem; }
}

/* ---- 5. BUTTONS ------------------------------------------- */
.btn {
  --bg: var(--signal);
  --fg: var(--coal);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease);
  overflow: hidden;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--signal { --bg: var(--signal); --fg: var(--coal); }
.btn--signal:hover { background: var(--signal-2); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--bone);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--bone); background: rgba(245,245,244,0.04); }

.btn--lg { padding: 1.2rem 2rem; font-size: 0.86rem; }
.btn--block { display: flex; justify-content: center; width: 100%; }

/* inline arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bone);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--signal); border-color: var(--signal); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---- 6. HEADER / NAV -------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 12, 13, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
}

/* logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  flex-shrink: 0;
}
.logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.35rem;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--signal); }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-phone {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}
.nav-phone .mono-tag { font-size: 0.62rem; }
.nav-phone strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bone);
}

/* burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 18px; height: 1.6px;
  background: var(--bone);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
body.menu-open .burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--coal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.mobile-menu a.m-link {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 11vw, 4rem);
  text-transform: uppercase;
  color: var(--bone);
  padding: 0.35rem 0;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  transition: color 0.25s var(--ease);
}
.mobile-menu a.m-link span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--signal);
}
.mobile-menu a.m-link:hover { color: var(--signal); }
.mobile-menu .m-foot {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}

/* ---- 7. HERO ---------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(7.5rem, 15vh, 12rem);
  padding-bottom: clamp(4.5rem, 9vh, 7.5rem);
  overflow: hidden;
  background: var(--coal);
  isolation: isolate;
}

/* ---- background media: real footage from the bay ---- */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(1.06) contrast(1.06) brightness(0.92);
}
/* directional scrim — opaque over the headline, footage breathing on the right */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.86) 30%, rgba(10,10,11,0.46) 62%, rgba(10,10,11,0.20) 100%),
    linear-gradient(0deg, var(--coal) 1%, rgba(10,10,11,0) 36%),
    radial-gradient(125% 85% at 8% 26%, rgba(225,6,0,0.18), transparent 55%);
}
/* fine scanlines for a telemetry-feed texture */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

/* ---- diagonal corner brackets (brand framing) ---- */
.hero-brackets span {
  position: absolute;
  z-index: 3;
  width: clamp(24px, 3vw, 44px);
  height: clamp(24px, 3vw, 44px);
  border: 2px solid var(--signal);
  pointer-events: none;
}
.hero-brackets span:nth-child(1) {
  top: clamp(6.5rem, 12vh, 8.5rem);
  left: clamp(1.25rem, 4vw, 3rem);
  border-right: 0; border-bottom: 0;
}
.hero-brackets span:nth-child(2) {
  bottom: clamp(1.5rem, 5vh, 3rem);
  right: clamp(1.25rem, 4vw, 3rem);
  border-left: 0; border-top: 0;
}

/* ---- live "REC" telemetry tag ---- */
.hero-rec {
  position: absolute;
  top: clamp(6.4rem, 12vh, 8.4rem);
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bone-dim);
  background: rgba(12,12,13,0.5);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.hero-rec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  animation: recPulse 1.9s ease-out infinite;
}
.hero-rec-sep { color: var(--ash); }
@keyframes recPulse {
  0%   { box-shadow: 0 0 0 0 rgba(225,6,0,0.55); opacity: 1; }
  70%  { box-shadow: 0 0 0 9px rgba(225,6,0,0); opacity: 0.6; }
  100% { box-shadow: 0 0 0 0 rgba(225,6,0,0); opacity: 1; }
}

/* ---- content ---- */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
}
.hero-eyebrow { margin-bottom: 1.6rem; }
.hero-title {
  font-size: clamp(3.1rem, 9.4vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.45);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; }
.hero-title em {
  font-style: normal;
  color: var(--signal);
}
.hero-sub {
  max-width: 46ch;
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--bone-dim);
  text-shadow: 0 1px 20px rgba(0,0,0,0.5);
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- scroll cue ---- */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.3rem, 4vh, 2.4rem);
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.hero-scroll:hover { color: var(--bone); }
.hero-scroll-line {
  position: relative;
  width: 1px;
  height: clamp(30px, 5vh, 48px);
  background: rgba(245, 245, 244, 0.18);
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -60%;
  width: 100%; height: 60%;
  background: linear-gradient(transparent, var(--signal));
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%   { top: -60%; }
  100% { top: 110%; }
}

/* ---- mobile: bottom-weighted scrim, headline rides low over footage ---- */
@media (max-width: 760px) {
  .hero { justify-content: flex-end; min-height: 88svh; }
  .hero-video { object-position: 50% 35%; }
  .hero-scroll { display: none; }
  .hero-scrim {
    background:
      linear-gradient(0deg, var(--coal) 3%, rgba(10,10,11,0.55) 40%, rgba(10,10,11,0.28) 68%, rgba(10,10,11,0.6) 100%),
      radial-gradient(130% 55% at 50% 102%, rgba(225,6,0,0.16), transparent 62%);
  }
}
@media (max-width: 460px) {
  .hero-rec { font-size: 0.56rem; letter-spacing: 0.14em; padding: 0.42rem 0.6rem; gap: 0.4rem; }
}

/* inline button row (process CTA, etc.) */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

/* process CTA: from tablet up, align buttons right on a single row;
   below that they wrap so the second button can't overflow the screen */
@media (min-width: 880px) {
  #process .section-head--split {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  #process .btn-row {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

/* hero illustration */
.hero-figure {
  position: relative;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(225,6,0,0.05), transparent 55%),
    var(--coal-2);
  padding: clamp(1.2rem, 3vw, 2.4rem);
}
.hero-figure::before,
.hero-figure::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1.5px solid var(--signal);
}
.hero-figure::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-figure::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero-figure svg { width: 100%; height: auto; }
.fig-meta {
  position: absolute;
  bottom: clamp(1.2rem, 3vw, 2.4rem);
  left: clamp(1.2rem, 3vw, 2.4rem);
  right: clamp(1.2rem, 3vw, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ash);
}
.fig-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.fig-meta span::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--signal);
}

/* hero blueprint draw-in */
.draw {
  stroke-dasharray: var(--len, 2600);
  stroke-dashoffset: var(--len, 2600);
  animation: draw 2.4s var(--ease-out) forwards;
  animation-delay: 0.5s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.fade-svg { opacity: 0; animation: fadeSvg 1s ease forwards; animation-delay: 2.2s; }
@keyframes fadeSvg { to { opacity: 1; } }

/* ---- 8. MARQUEE ------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--coal-2);
  padding-block: 1.05rem;
  overflow: hidden;
  display: flex;
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 0;
  animation: scroll 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 100%; height: 8px;
  background: var(--signal);
  transform: rotate(45deg);
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- 9. STATS --------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}
.stat {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1;
  color: var(--bone);
}
.stat-num .unit { color: var(--signal); }
.stat-label {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* ---- 10. SERVICE SPEC GRID -------------------------------- */
.spec-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 680px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }

.spec-card {
  position: relative;
  background: var(--coal);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: background-color 0.4s var(--ease);
  overflow: hidden;
}
.spec-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.spec-card:hover { background: var(--coal-2); }
.spec-card:hover::before { transform: scaleX(1); }
.spec-index {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--signal);
}
.spec-icon {
  width: 46px; height: 46px;
  color: var(--bone);
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.spec-card:hover .spec-icon { color: var(--signal); transform: translateY(-2px); }
.spec-card h3 { font-size: 1.4rem; }
.spec-card p { color: var(--bone-dim); font-size: 0.97rem; line-height: 1.62; }
.spec-card .spec-foot {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.spec-card .spec-foot::before {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---- 11. WHY / FEATURE SPLIT ------------------------------ */
.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; }
  .split--reverse > :first-child { order: 2; }
}

.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.3rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.feature-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--signal);
  padding-top: 0.2rem;
}
.feature-item h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.feature-item p { color: var(--bone-dim); font-size: 0.96rem; }

/* big bordered statement panel */
.panel {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background:
    linear-gradient(160deg, rgba(225,6,0,0.06), transparent 60%),
    var(--coal-2);
}
.panel .corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--signal);
}
.panel .corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel .corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.panel .corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.panel .corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* sticky media column */
.split-sticky { position: sticky; top: 110px; }

/* ---- 12. PROCESS ------------------------------------------ */
.process {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--coal);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 230px;
  transition: background-color 0.4s var(--ease);
}
.step:hover { background: var(--coal-2); }
.step-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.8;
  color: var(--coal-4);
  -webkit-text-stroke: 1px var(--signal);
  transition: color 0.4s var(--ease);
}
.step:hover .step-num { color: var(--signal); -webkit-text-stroke: 1px var(--signal); }
.step h3 { font-size: 1.32rem; }
.step p { color: var(--bone-dim); font-size: 0.95rem; }
.step .step-tag { margin-top: auto; }

/* ---- 13. TESTIMONIALS (paper section) --------------------- */
.section--paper {
  background: var(--paper);
  color: var(--paper-ink);
}
.section--paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  pointer-events: none;
}
.section--paper { position: relative; }
.section--paper > .container { position: relative; z-index: 1; }
.section--paper h2, .section--paper h3 { color: var(--paper-ink); }
.section--paper .eyebrow { color: var(--ember); }
.section--paper .eyebrow::before,
.section--paper .eyebrow--center::after { background: var(--ember); }
.section--paper .lead { color: var(--paper-ash); }
.section--paper .mono-tag { color: var(--paper-ash); }
.section--paper .btn--ghost { --fg: var(--paper-ink); border-color: var(--line-dark); }
.section--paper .btn--ghost:hover {
  border-color: var(--paper-ink);
  background: rgba(18, 18, 18, 0.05);
}
/* process steps keep their dark cards on the paper section */
.section--paper .process { position: relative; z-index: 1; }
.section--paper .step h3 { color: var(--bone); }
.section--paper .step .step-tag { color: var(--ash); }

.quote-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  transition: transform 0.4s var(--ease);
}
.quote:hover { transform: translateY(-5px); }
.quote-stars { display: flex; gap: 3px; color: var(--signal); }
.quote-stars svg { width: 17px; height: 17px; }
.quote blockquote {
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--paper-ink);
}
.quote figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.1rem;
}
.quote-avatar {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: var(--paper-ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.quote-who strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
}
.quote-who span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-ash);
}

/* rating summary strip */
.rating-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line-dark);
}
.rating-score {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
}
.rating-score .unit { color: var(--ember); }

/* ---- 13B. GALLERY (paper section) ------------------------- */
.section--gallery { border-top: 1px solid var(--line-dark); }

.gallery {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (min-width: 960px) {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: clamp(118px, 12.2vw, 168px);
  }
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--coal-2);
  border: 1px solid var(--line-dark);
  cursor: pointer;
  isolation: isolate;
}
@media (min-width: 600px) {
  .gallery-item--feature { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .gallery-item--full-sm { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .gallery-item { aspect-ratio: auto; }
  .gallery-item--feature { grid-column: span 3; grid-row: span 2; }
  .gallery-item--wide    { grid-column: span 3; }
  .gallery-item--cell,
  .gallery-item--full-sm { grid-column: span 2; }
}

/* placeholder slot — swap for a real <img> at go-live */
.gallery-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: var(--coal-2);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.gallery-item--feature .gallery-ph { font-size: clamp(0.82rem, 1.6vw, 1.05rem); }
.gallery-item:hover .gallery-ph,
.gallery-item:focus-visible .gallery-ph {
  color: var(--signal);
  background-color: var(--coal-3);
}

/* signal frame on hover / focus */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--signal);
  transition: box-shadow 0.3s var(--ease);
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after { box-shadow: inset 0 0 0 3px var(--signal); }

/* caption */
.gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 2.6rem 1.1rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: left;
  background: linear-gradient(transparent, rgba(13, 11, 8, 0.88) 64%);
}
.gallery-cap-k { color: var(--signal); font-weight: 700; }
.gallery-cap-t { color: var(--bone-dim); transition: color 0.3s var(--ease); }
.gallery-item:hover .gallery-cap-t,
.gallery-item:focus-visible .gallery-cap-t { color: var(--bone); }

/* zoom badge */
.gallery-zoom {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  color: var(--bone);
  background: rgba(13, 11, 8, 0.6);
  border: 1px solid rgba(245, 245, 244, 0.18);
  backdrop-filter: blur(3px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.gallery-zoom svg { width: 17px; height: 17px; }
.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: scale(1); }
.gallery-item:hover .gallery-zoom {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--coal);
}
@media (hover: none) {
  .gallery-zoom { opacity: 1; transform: scale(1); }
}

/* ---- 13C. GALLERY LIGHTBOX -------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 9, 6, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 30%, transparent 78%);
}

.lightbox-stage {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
}
.lightbox.open .lightbox-stage { transform: scale(1); }
.lightbox-stage .corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 1.5px solid var(--signal);
  z-index: 2;
}
.lightbox-stage .corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.lightbox-stage .corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.lightbox-stage .corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.lightbox-stage .corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.lightbox-ph {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  height: min(72vh, 67.5vw);
  max-width: 90vw;
  background-color: var(--coal-2);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.35rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
}
.lightbox-bar {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--coal-2);
}
.lightbox-count {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--signal);
}
.lightbox-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* lightbox controls */
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--bone);
  background: rgba(12, 12, 13, 0.82);
  border: 1px solid var(--line);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--coal);
}
.lightbox-close {
  top: clamp(1rem, 3.5vw, 2.2rem);
  right: clamp(1rem, 3.5vw, 2.2rem);
  width: 50px; height: 50px;
}
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav {
  top: 50%;
  width: 52px; height: 52px;
  transform: translateY(-50%);
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: clamp(0.6rem, 2.5vw, 2rem); }
.lightbox-next { right: clamp(0.6rem, 2.5vw, 2rem); }
@media (max-width: 600px) {
  .lightbox-close { width: 44px; height: 44px; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-ph { height: min(64vh, 67.5vw); }
}

/* ---- 14. BOOKING CTA BAND --------------------------------- */
.cta-band {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(225,6,0,0.22), transparent 60%),
    var(--coal-2);
  padding: clamp(2.6rem, 6vw, 5rem);
  overflow: hidden;
}
.cta-band::after {
  content: "↗";
  position: absolute;
  right: -2rem; bottom: -3rem;
  font-size: 16rem;
  line-height: 1;
  color: var(--signal);
  opacity: 0.08;
  font-family: var(--font-display);
}
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 18ch; }
.cta-band .lead { margin-block: 1.2rem 2rem; max-width: 48ch; }

/* ---- 15. FOOTER ------------------------------------------- */
.site-footer {
  background: var(--coal-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}
.footer-grid {
  display: grid;
  gap: 2.6rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }

.footer-brand .logo { margin-bottom: 1.3rem; }
.footer-brand .logo-img { height: 54px; }
.footer-brand p { color: var(--ash); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--signal);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a, .footer-col address {
  color: var(--bone-dim);
  font-size: 0.95rem;
  font-style: normal;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--signal); }
.footer-col address { line-height: 1.65; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-social a:hover { border-color: var(--signal); background: var(--signal); color: var(--coal); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bar {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bar p, .footer-bar a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}
.footer-bar a:hover { color: var(--signal); }
.footer-bar .legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---- 16. PAGE HERO (interior pages) ----------------------- */
.page-hero {
  position: relative;
  padding-top: clamp(9rem, 16vh, 13rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(225,6,0,0.16), transparent 65%);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1.6rem;
}
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb span[aria-current] { color: var(--bone-dim); }
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 0.92;
  max-width: 16ch;
}
.page-hero .lead { margin-top: 1.5rem; max-width: 54ch; }

/* ---- 17. ACCORDION / FAQ ---------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--signal);
  flex-shrink: 0;
}
.faq summary .q-icon {
  margin-left: auto;
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
}
.faq summary .q-icon::before,
.faq summary .q-icon::after {
  content: "";
  position: absolute;
  background: var(--signal);
  transition: transform 0.3s var(--ease);
}
.faq summary .q-icon::before { top: 11px; left: 2px; right: 2px; height: 2px; }
.faq summary .q-icon::after { left: 11px; top: 2px; bottom: 2px; width: 2px; }
.faq details[open] summary .q-icon::after { transform: scaleY(0); }
.faq summary:hover { color: var(--signal); }
.faq-answer { padding: 0 0 1.6rem; }
.faq-answer p {
  color: var(--bone-dim);
  max-width: 70ch;
  padding-left: clamp(0, 2vw, 2.6rem);
}

/* ---- 18. CONTACT ------------------------------------------ */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

.info-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.info-row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.info-row:hover {
  border-color: var(--signal);
  transform: translateY(-4px);
}
.info-icon {
  align-self: flex-start;
  color: var(--signal);
}
.info-icon svg { width: 26px; height: 26px; }
.info-row h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.info-row a, .info-row p, .info-row address {
  color: var(--bone-dim);
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.6;
}
.info-row a:hover { color: var(--signal); }

/* hours table */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.hours-table th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.hours-table td {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--bone);
}
.hours-table tr.is-today th { color: var(--signal); }
.hours-table tr.is-today td { color: var(--signal); }
.hours-table td.closed { color: var(--ash); }

/* form */
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.field label .req { color: var(--signal); }
.field input, .field select, .field textarea {
  background: var(--coal-2);
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: var(--coal-3);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ash); }
.form-row { display: grid; gap: 1.3rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ash);
  line-height: 1.6;
}

/* booking embed */
.booking-embed {
  position: relative;
  border: 1px solid var(--line);
  background: var(--coal-2);
}
.booking-embed::before,
.booking-embed::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--signal);
  z-index: 2;
}
.booking-embed::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.booking-embed::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.booking-embed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.booking-embed-head .mono-tag { color: var(--bone-dim); }
.booking-embed-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}
.booking-embed-head .live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(225,6,0,0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 7px rgba(225,6,0,0); }
}
.booking-embed iframe {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
  background: var(--coal);
}
.booking-embed-foot {
  padding: 0.9rem 1.3rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ash);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.booking-embed-foot a { color: var(--signal); }

/* map placeholder */
.map-frame {
  position: relative;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--coal-3) 0%, var(--coal-2) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-pin {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  padding: 1.5rem;
}
.map-pin svg { width: 38px; height: 38px; color: var(--signal); }
.map-pin .mono-tag { color: var(--bone-dim); }

/* ---- 19. ABOUT bits --------------------------------------- */
.value-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 680px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
.value {
  background: var(--coal);
  padding: clamp(1.7rem, 3vw, 2.4rem);
  display: grid;
  gap: 0.8rem;
  transition: background-color 0.4s var(--ease);
}
.value:hover { background: var(--coal-2); }
.value .value-k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--signal);
  text-transform: uppercase;
}
.value h3 { font-size: 1.5rem; }
.value p { color: var(--bone-dim); font-size: 0.97rem; }

/* big blueprint emblem */
.emblem {
  position: relative;
  border: 1px solid var(--line);
  background: var(--coal-2);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.emblem svg { width: 100%; height: auto; max-width: 360px; }

/* timeline */
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tl-item {
  display: grid;
  gap: 0.4rem 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 680px) { .tl-item { grid-template-columns: 140px 1fr; } }
.tl-year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--signal);
}
.tl-item h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.tl-item p { color: var(--bone-dim); font-size: 0.96rem; }

/* ---- 20. SERVICE DETAIL LIST ------------------------------ */
.service-detail {
  display: grid;
  gap: 1.6rem 3rem;
  padding: clamp(2.2rem, 4vw, 3.4rem) 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:first-child { border-top: 1px solid var(--line); }
@media (min-width: 860px) {
  .service-detail { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.sd-index {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.8;
  color: var(--coal-4);
  -webkit-text-stroke: 1px var(--signal);
}
.sd-main h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.7rem; }
.sd-main p { color: var(--bone-dim); }
.sd-includes { display: grid; gap: 0.7rem; }
.sd-includes li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--bone-dim);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-soft);
}
.sd-includes li svg { width: 16px; height: 16px; color: var(--signal); margin-top: 0.28rem; }

/* ---- 20B. INLINE SERVICE EMBED ----------------------------
   "See the full service list" expands this module in place
   instead of leaving the page. ------------------------------ */
.service-toggle { cursor: pointer; }
.service-toggle-icon { transform: rotate(90deg); }
.service-toggle.is-open .service-toggle-icon { transform: rotate(-90deg); }
.service-toggle:hover .service-toggle-icon { transform: rotate(90deg) translateX(4px); }
.service-toggle.is-open:hover .service-toggle-icon { transform: rotate(-90deg) translateX(4px); }

/* collapsible shell — 0fr/1fr grid row animates to content height */
.service-embed {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.55s var(--ease), visibility 0s linear 0.55s;
}
.service-embed.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.6s var(--ease), visibility 0s linear 0s;
}
.service-embed:focus { outline: none; }
.service-embed-inner { overflow: hidden; min-height: 0; }

/* the module itself — blueprint panel, matches .booking-embed */
.service-embed-panel {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(225,6,0,0.06), transparent 38%),
    var(--coal-2);
}
.service-embed-panel::before,
.service-embed-panel::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--signal);
  z-index: 2;
}
.service-embed-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.service-embed-panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.service-embed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.service-embed-head .mono-tag { color: var(--bone-dim); }
.service-embed-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}
.service-embed-count::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--signal);
}

.service-embed-body { padding: 0 clamp(1.3rem, 3vw, 2.6rem); }
/* the panel supplies the outer rules — drop the borrowed ones */
.service-embed-body .service-detail:first-child { border-top: 0; }
.service-embed-body .service-detail:last-child { border-bottom: 0; }

/* each row eases in, staggered, when the panel opens */
.service-embed .service-detail {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.service-embed.is-open .service-detail {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.12s + var(--i, 0) * 65ms);
}

.service-embed-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1rem 1.3rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ash);
}
.service-embed-foot a {
  color: var(--signal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.service-embed-foot a:hover { color: var(--signal-2); }

/* ---- 21. MISC / 404 --------------------------------------- */
.error-wrap {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 6rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(7rem, 26vw, 20rem);
  line-height: 0.82;
  color: var(--coal-2);
  -webkit-text-stroke: 1.5px var(--signal);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border: 1px solid var(--line);
  padding: 0.45rem 0.8rem;
}

/* ---- 22. REVEAL ANIMATIONS -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-hero > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroRise 0.95s var(--ease-out) forwards;
}
.reveal-hero > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-hero > *:nth-child(2) { animation-delay: 0.16s; }
.reveal-hero > *:nth-child(3) { animation-delay: 0.27s; }
.reveal-hero > *:nth-child(4) { animation-delay: 0.38s; }
.reveal-hero > *:nth-child(5) { animation-delay: 0.49s; }
.reveal-hero > *:nth-child(6) { animation-delay: 0.60s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* ---- 23. RESPONSIVE NAV ----------------------------------- */
@media (min-width: 1041px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1040px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 600px) {
  .nav { height: 72px; }
  .btn { padding: 0.9rem 1.3rem; }
}

/* utilities */
.flow > * + * { margin-top: 1.1rem; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.center { text-align: center; }
.divider-x {
  height: 1px;
  background: var(--line);
  border: 0;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ---- PRICING & SERVICE AREAS ------------------------------- */
.price-cols { display: grid; gap: 0 3rem; }
@media (min-width: 760px) {
  .price-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.price-table td { white-space: nowrap; }
.price-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
  background: var(--coal-2);
}
.price-note h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.price-note p { color: var(--bone-dim); font-size: 0.98rem; }

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.area-list li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border: 1px solid var(--line);
  padding: 0.55rem 1rem;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.area-list li:hover { border-color: var(--signal); color: var(--bone); }

/* ---- 20. WORKSHOP CLIPS — looping video tiles in the gallery bento --- */
/* Two real shop-floor clips sit inside the .gallery grid as plain video
   tiles: same frame, hover and caption as the photo tiles, no overlays. */
.gallery-item--clip {
  cursor: default;
  aspect-ratio: 4 / 5;            /* portrait, matching the vertical phone clips */
}
.gallery-clip-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.04) contrast(1.03) brightness(0.95);
  z-index: 0;
}
.gallery-item--clip:hover .gallery-clip-video,
.gallery-item--clip:focus-within .gallery-clip-video {
  filter: saturate(1.1) contrast(1.05) brightness(1);
}

/* desktop bento: asymmetric, flush-bottom. The tire clip (01) is a medium
   pillar top-left; the engine clip (04) is the tall anchor down the right,
   starting a row lower. No two clips share a size or a starting row, and the
   numbers run in reading order. */
@media (min-width: 960px) {
  .gallery-item--clip { aspect-ratio: auto; }   /* grid rows size the clips */
  .gv-tl { grid-column: 1 / span 2; grid-row: 1 / span 3; }  /* 01 tire — medium */
  .gv-tm { grid-column: 3 / span 2; grid-row: 1 / span 3; }  /* 02 */
  .gv-tr { grid-column: 5 / span 2; grid-row: 1; }           /* 03 */
  .gv-r  { grid-column: 5 / span 2; grid-row: 2 / span 4; }  /* 04 engine — tall */
  .gv-bl { grid-column: 1 / span 2; grid-row: 4 / span 2; }  /* 05 */
  .gv-bm { grid-column: 3 / span 2; grid-row: 4 / span 2; }  /* 06 */
}
