/* ==========================================================================
   Phoenix Performance Alignment — site styles
   Tokens mirror assets/tw-config.js. Only transform + opacity are animated.
   ========================================================================== */

:root {
  --navy-950: #06122a;
  --navy-900: #0c1f40;
  --navy-800: #132c57;
  --navy-700: #1e3c6e;
  --navy-500: #3e5c8f;
  --navy-300: #a8b8d4;
  --navy-100: #dde5f1;
  --paper: #eef2f8;
  --ink: #0b0b0d;
  --ink-soft: #2a2f3a;
  --steel: #56617a;
  --white: #ffffff;
  --laser: #ff3b2f;
  --cobalt: #0a3cb4; /* the logo's blue: action color on light backgrounds */

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'Martian Mono', ui-monospace, monospace;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* depth: base → elevated → floating */
  --shadow-elevated: 0 1px 1px rgba(12, 31, 64, 0.04), 0 2px 6px rgba(12, 31, 64, 0.05),
    0 14px 32px -14px rgba(12, 31, 64, 0.24);
  --shadow-floating: 0 2px 4px rgba(6, 18, 42, 0.14), 0 22px 48px -16px rgba(6, 18, 42, 0.5);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --gutter: 1rem;
  --space-section: clamp(4rem, 7.5vw, 6.5rem);
  --header-h: 4rem;
}
@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 2rem; --header-h: 4.5rem; }
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--laser); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--laser); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; left: 1rem; top: 0.75rem; z-index: 100;
  background: var(--white); color: var(--navy-900);
  padding: 0.75rem 1rem; border-radius: var(--radius-md);
  font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

.container-x { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type ---------- */
.display,
.slogan,
.h-page,
.h-section {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0;
}
.slogan { display: block; font-weight: 900; font-size: clamp(2.6rem, 8.6vw, 6.75rem); line-height: 0.9; }
.h-page { font-size: clamp(2rem, 6.2vw, 4.25rem); line-height: 0.95; }
.h-section { font-size: clamp(1.75rem, 4.4vw, 3.1rem); line-height: 1; }
.h-page, .h-section { text-wrap: balance; }
.h-card {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 750;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 1.75rem;
  height: 2px;
  background: var(--laser);
  box-shadow: 0 0 8px rgba(255, 59, 47, 0.55);
}
.eyebrow--light { color: var(--navy-300); }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.65; color: var(--ink-soft); margin: 0; }
.lede--light { color: var(--navy-100); }
.prose-body { color: var(--ink-soft); }
.prose-body > * { margin: 0; }
.prose-body > * + * { margin-top: 1.1em; }
.text-light { color: var(--white); }
.muted-light { color: var(--navy-300); }

/* ---------- buttons & links ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.45s var(--ease-spring);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: var(--shadow-floating);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }
.btn:active::after { opacity: 0.4; }
.btn:focus-visible { outline: 2px solid var(--laser); outline-offset: 3px; }
.btn-sm { min-height: 2.625rem; padding: 0 1.125rem; font-size: 0.9375rem; }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-dark { background: var(--cobalt); color: var(--white); }
.btn-dark::after { box-shadow: 0 2px 4px rgba(10, 60, 180, 0.2), 0 18px 36px -14px rgba(10, 60, 180, 0.6); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.04); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.34); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.8); }
.btn-ghost-dark { background: transparent; color: var(--navy-900); box-shadow: inset 0 0 0 1.5px rgba(12, 31, 64, 0.28); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--navy-900); }
.btn-ghost-dark::after, .btn-ghost-light::after { display: none; }
.btn .icon { width: 1.125rem; height: 1.125rem; flex: none; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  text-decoration: none;
  border-radius: 2px;
}
.link-arrow::after {
  content: '→';
  font-family: var(--font-body);
  transition: transform 0.45s var(--ease-spring);
}
.link-arrow:hover::after,
a:hover .link-arrow::after { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.link-arrow:active::after { transform: translateX(2px); }
.link-arrow--light { color: var(--white); }
.link-ext { font-size: 0.9375rem; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgba(168, 184, 212, 0.55); }
.link-ext:hover { text-decoration-color: currentColor; }
.link-ext:active { opacity: 0.7; }
.link-inline { color: var(--navy-900); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: rgba(12, 31, 64, 0.35); }
.link-inline:hover { text-decoration-color: var(--laser); }
.link-inline:active { opacity: 0.7; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 31, 64, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--white);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: var(--shadow-floating);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.wordmark { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--white); border-radius: var(--radius-sm); margin-right: auto; }
.wordmark-logo { flex: none; display: block; width: 2.75rem; height: 2.75rem; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 4px 14px -4px rgba(0, 0, 0, 0.6); transition: transform 0.5s var(--ease-spring); }
.wordmark:hover .wordmark-logo { transform: scale(1.06); }
.wordmark:active .wordmark-logo { transform: scale(0.94); }
.wordmark--footer .wordmark-logo { width: 4.5rem; height: 4.5rem; }
@media (max-width: 400px) {
  .header-inner { gap: 1rem; }
  .wordmark { gap: 0.625rem; }
  .wordmark-logo { width: 2.375rem; height: 2.375rem; }
  .site-header .wordmark-text { font-size: 0.6875rem; }
  .menu-toggle { gap: 0.5rem; padding: 0 0.75rem; }
}
@media (max-width: 340px) {
  .menu-toggle [data-menu-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.wordmark-text { display: flex; flex-direction: column; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; font-size: 0.8125rem; }
.wordmark-text span { white-space: nowrap; }
.wordmark-text span:last-child { color: var(--navy-300); font-weight: 700; letter-spacing: 0.02em; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; display: inline-block; padding: 0.5rem 0; font-size: 0.9375rem; font-weight: 500; color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: opacity 0.2s; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.125rem; height: 2px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); }
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:active { opacity: 0.7; }
.nav-link[aria-current='page'] { color: var(--white); }
.nav-link[aria-current='page']::after { transform: scaleX(1); background: var(--laser); box-shadow: 0 0 8px rgba(255, 59, 47, 0.6); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: none; font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--white); text-decoration: none; padding: 0.5rem 0; border-radius: 2px; }
.header-phone:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.header-phone:active { opacity: 0.7; }
.header-book { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.625rem;
  min-height: 2.75rem; padding: 0 0.875rem;
  background: rgba(255, 255, 255, 0.06); color: var(--white);
  border: 0; border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring);
}
.menu-toggle:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); }
.menu-toggle:active { transform: scale(0.95); }
.menu-toggle-bars { position: relative; width: 1rem; height: 0.625rem; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.4s var(--ease-out); }
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars::after { bottom: 0; }
.menu-toggle[aria-expanded='true'] .menu-toggle-bars::before { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle-bars::after { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: 2rem var(--gutter) 2rem;
  background: var(--navy-950);
  color: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.75rem);
  transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.mobile-menu[data-open='true'] { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-out); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-menu-link { display: flex; justify-content: space-between; align-items: center; padding: 1.125rem 0; font-family: var(--font-display); font-stretch: 118%; font-weight: 750; font-size: 1.375rem; text-transform: uppercase; letter-spacing: -0.02em; color: var(--white); text-decoration: none; border-radius: 2px; }
.mobile-menu-link::after { content: '→'; font-family: var(--font-body); font-weight: 400; color: var(--navy-300); transition: transform 0.4s var(--ease-spring); }
.mobile-menu-link:hover::after { transform: translateX(4px); }
.mobile-menu-link:active { opacity: 0.7; }
.mobile-menu-link[aria-current='page'] { color: var(--laser); }
.mobile-menu-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.75rem; }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
  .header-book { display: inline-flex; }
}
@media (min-width: 1240px) {
  .header-phone { display: inline-block; }
}

/* ---------- surfaces ---------- */
.section { position: relative; padding-block: var(--space-section); }
.bg-paper { background: var(--paper); }
.bg-navy {
  position: relative;
  isolation: isolate;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(60rem 30rem at 85% 0%, rgba(10, 60, 180, 0.55), transparent 70%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(10, 60, 180, 0.4), transparent 70%),
    radial-gradient(30rem 12rem at 50% 50%, rgba(255, 59, 47, 0.05), transparent 70%);
  color: var(--white);
}
.bg-ink {
  position: relative;
  isolation: isolate;
  background-color: var(--ink);
  background-image:
    radial-gradient(50rem 24rem at 100% 100%, rgba(19, 44, 87, 0.55), transparent 70%),
    radial-gradient(30rem 20rem at 0% 0%, rgba(30, 60, 110, 0.25), transparent 70%);
  color: var(--white);
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.blueprint-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 65%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 65%, #000 20%, transparent 80%);
}

/* laser rule — full-bleed red line used as a divider */
.laser-rule { position: relative; height: 2px; background: var(--laser); box-shadow: 0 0 10px rgba(255, 59, 47, 0.6), 0 0 2px rgba(255, 59, 47, 0.9); }

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
}

/* ---------- hero ---------- */
.hero { overflow: hidden; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-top { display: grid; gap: 2rem; }
.hero-title { margin: 0; }
.hero-title .eyebrow { margin-bottom: 1.5rem; }
.hero-aside { display: grid; gap: 1.75rem; }
@media (max-width: 639px) {
  .hero-aside .btn { width: 100%; }
}
.trust-line { display: flex; flex-wrap: wrap; gap: 0.625rem 1.75rem; list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-100); }
.trust-line li { display: inline-flex; align-items: center; gap: 0.625rem; }
.trust-line li::before { content: ''; flex: none; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--laser); box-shadow: 0 0 8px rgba(255, 59, 47, 0.7); }
@media (min-width: 1024px) {
  .hero-aside .trust-line { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .hero-aside { grid-template-columns: minmax(0, 34rem) auto; justify-content: space-between; align-items: end; column-gap: 3rem; }
}

.diagram-band { margin: clamp(2.5rem, 5vw, 3.75rem) 0 0; }
.diagram { position: relative; }
.diagram-frame { overflow: visible; }
.dg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 767px) {
  .diagram-frame { margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
  .dg { width: 140%; margin-left: -20%; }
  .dg-callouts, .dg-ruler { display: none; }
}
.diagram-caption { display: block; margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.7; letter-spacing: 0.02em; color: var(--navy-300); max-width: 46rem; }

.dg-part { fill: var(--navy-800); stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dg-body { fill: #102650; stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dg-tire { fill: var(--ink); stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dg-tread { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dg-thin { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dg-hidden { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.1; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.dg-bar { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dg-grip { fill: var(--ink); stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dg-iso circle:first-child { fill: var(--navy-900); stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dg-iso circle:last-child { fill: rgba(255, 255, 255, 0.85); }
.dg-link line { stroke: rgba(255, 255, 255, 0.9); stroke-width: 2.5; stroke-linecap: round; }
.dg-link circle { fill: var(--navy-900); stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dg-heading { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.2; stroke-dasharray: 18 5 3 5; vector-effect: non-scaling-stroke; }
.dg-laser-core { stroke: var(--laser); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dg-laser-glow { stroke: var(--laser); stroke-width: 9; stroke-opacity: 0.16; }
.dg-laser-glow2 { stroke: var(--laser); stroke-width: 4; stroke-opacity: 0.3; }
.dg-target { fill: none; stroke: var(--laser); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dg-dot { fill: var(--laser); }
.dg-callouts path { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dg-callouts circle { fill: var(--white); }
.dg-callouts text { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; fill: rgba(255, 255, 255, 0.78); }
.dg-callouts .dg-text-laser { fill: #ff6a60; }
.dg-ruler path { stroke: #fff; }

/* the alignment moment */
.dg-pt { transform-box: view-box; transform-origin: 722px 200px; transform: rotate(-4deg); }
.dg-laser { transform-box: view-box; transform-origin: 1200px 200px; }
.dg-rear-target { opacity: 0; }
.readout {
  position: relative;
  min-width: 12.5rem;
  display: grid;
  gap: 0.375rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(6, 18, 42, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), var(--shadow-floating);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.readout-label { color: var(--navy-300); }
.readout-states { display: grid; }
.readout-state { grid-area: 1 / 1; display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 500; color: var(--white); }
.readout-state::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; flex: none; }
.state-off::before { background: var(--laser); box-shadow: 0 0 8px var(--laser); }
.state-on::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.state-on { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .dg-laser { transform: scaleX(0); animation: laser-fire 0.9s var(--ease-out) 0.35s forwards; }
  .dg-pt { animation: powertrain-settle 1.6s cubic-bezier(0.3, 0.7, 0.4, 1) 1.7s forwards; }
  .dg-rear-target { animation: fade-in 0.4s ease-out 3s forwards; }
  .state-off { animation: fade-out 0.25s ease-out 2.85s forwards; }
  .state-on { animation: fade-in 0.35s ease-out 3s forwards; }
  .state-off::before { animation: blink 0.9s steps(2, jump-none) 1.2s 2; }
}
@media (prefers-reduced-motion: reduce) {
  .dg-pt { transform: none; }
  .dg-rear-target, .state-on { opacity: 1; }
  .state-off { opacity: 0; }
}
/* interactive diagram: drag the rear wheel / slider / "Straighten it" (driven by site.js) */
.dg-wedge { fill: rgba(255, 59, 47, 0.18); opacity: 0; pointer-events: none; }
.dg-handle { fill: transparent; cursor: grab; touch-action: none; }
.diagram.is-dragging .dg-handle { cursor: grabbing; }
/* hover / dragging feedback on the rear tire (works before and after the first interaction) */
.diagram:has(.dg-handle:hover) .dg-pt .dg-tire,
.diagram.is-dragging .dg-pt .dg-tire { stroke: var(--laser); }
/* the isolator callout points at a part that moves; hide it while the powertrain is out of line */
.dg-callout-iso { transition: opacity 0.3s var(--ease-out); }
.diagram.is-interactive[data-state='off'] .dg-callout-iso { opacity: 0; }
.dg-hint { opacity: 0; pointer-events: none; }
.dg-hint ellipse { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.dg-hint path { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.diagram:has(.dg-handle:hover) .dg-hint { animation: none; opacity: 1; }
.diagram.is-interactive .dg-hint { display: none; }
.diagram.is-interactive .dg-pt,
.diagram.is-interactive .dg-rear-target,
.diagram.is-interactive .readout-state,
.diagram.is-interactive .state-off::before { animation: none; }
.diagram.is-interactive .dg-rear-target { opacity: 1; }
.diagram.is-interactive .readout-state { opacity: 0; }
.diagram.is-interactive[data-state='off'] .state-off,
.diagram.is-interactive[data-state='on'] .state-on { opacity: 1; }
.diagram.is-smooth .dg-pt { transition: transform 1.1s var(--ease-spring); }
.diagram.is-smooth .dg-wedge { transition: opacity 0.35s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .dg-hint { animation: hint-pulse 2.2s ease-in-out 3.4s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .dg-hint { opacity: 0.8; }
  .diagram.is-smooth .dg-pt, .diagram.is-smooth .dg-wedge { transition: none; }
}
@keyframes hint-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }

.dg-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.25rem; }
.dg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.dg-slider { display: flex; align-items: center; gap: 1rem; }
.dg-slider .label { color: var(--navy-300); white-space: nowrap; }
.dg-range { -webkit-appearance: none; appearance: none; width: clamp(10rem, 22vw, 15rem); height: 2.25rem; margin: 0; background: transparent; cursor: pointer; }
.dg-range::-webkit-slider-runnable-track {
  height: 12px;
  background:
    linear-gradient(var(--laser), var(--laser)) center / 2px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)) center / 100% 2px no-repeat;
}
.dg-range::-moz-range-track {
  height: 12px;
  background:
    linear-gradient(var(--laser), var(--laser)) center / 2px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)) center / 100% 2px no-repeat;
}
.dg-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -5px; border-radius: 50%; background: var(--white); border: 3px solid var(--laser); box-shadow: 0 0 12px rgba(255, 59, 47, 0.6); transition: transform 0.3s var(--ease-spring); }
.dg-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--laser); box-shadow: 0 0 12px rgba(255, 59, 47, 0.6); transition: transform 0.3s var(--ease-spring); }
.dg-range:hover::-webkit-slider-thumb { transform: scale(1.12); }
.dg-range:hover::-moz-range-thumb { transform: scale(1.12); }
.dg-range:active::-webkit-slider-thumb { transform: scale(0.95); }
.dg-range:active::-moz-range-thumb { transform: scale(0.95); }
.dg-range:focus-visible { outline: 2px solid var(--laser); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 767px) {
  .dg-controls { flex-direction: column; align-items: flex-start; }
  .dg-actions { width: 100%; }
  .dg-slider { flex: 1 1 100%; flex-wrap: wrap; gap: 0.25rem 1rem; }
  .dg-slider .label { flex: 1 1 100%; }
  .dg-range { flex: 1 1 auto; width: auto; }
}

@keyframes laser-fire { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes powertrain-settle {
  0% { transform: rotate(-4deg); }
  58% { transform: rotate(0.5deg); }
  80% { transform: rotate(-0.15deg); }
  100% { transform: rotate(0deg); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: 0.2; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { overflow: hidden; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.page-hero .h-page { max-width: 24ch; }
.page-hero .hero-aside { margin-top: clamp(2rem, 4vw, 2.75rem); }
.page-hero-rule { position: absolute; left: 0; right: 0; bottom: 0; }
.breadcrumb { margin: 0 0 2rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-300); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumb a { color: var(--navy-100); text-decoration: none; border-radius: 2px; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.breadcrumb a:active { opacity: 0.7; }

/* ---------- photos (placeholder-ready) ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-800); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--navy-700); mix-blend-mode: multiply; opacity: 0.22; pointer-events: none; }
.photo::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 45%); opacity: 0.75; pointer-events: none; }
.photo-tag { position: absolute; left: 1rem; bottom: 0.875rem; z-index: 3; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); }

/* ---------- home: wobble ---------- */
.signs { padding: clamp(1.5rem, 3vw, 2.25rem); }
.signs .label { color: var(--steel); margin-bottom: 1.25rem; }
.sign-list { list-style: none; margin: 0; padding: 0; }
.sign-list li { position: relative; padding: 0.875rem 0 0.875rem 1.75rem; border-top: 1px solid var(--navy-100); line-height: 1.5; font-weight: 500; }
.sign-list li:first-child { border-top: 0; padding-top: 0; }
.sign-list li::before { content: ''; position: absolute; left: 0; top: calc(0.875rem + 0.55em); width: 0.875rem; height: 2px; background: var(--laser); }
.sign-list li:first-child::before { top: 0.55em; }

/* ---------- home: services ---------- */
.service-grid { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
.service-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.5s var(--ease-spring); }
.service-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 30px 60px -24px rgba(12, 31, 64, 0.38); opacity: 0; transition: opacity 0.4s var(--ease-out); pointer-events: none; }
.service-card:hover { transform: translateY(-4px); }
.service-card:hover::after { opacity: 1; }
.service-card:hover .photo img { transform: scale(1.04); }
.service-card:active { transform: translateY(-1px) scale(0.99); transition-duration: 0.15s; }
.service-card:focus-visible { outline: 2px solid var(--laser); outline-offset: 4px; border-radius: var(--radius-lg); }
.service-card .photo { border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 16 / 10; }
.service-card-body { display: grid; gap: 0.75rem; padding: clamp(1.5rem, 3vw, 2rem); flex: 1; align-content: start; }
.service-card-body p { margin: 0; color: var(--ink-soft); }
.service-card-body .label { color: var(--steel); }
.service-card-body .link-arrow { margin-top: 0.5rem; }
.service-card--minor { flex-direction: row; }
.service-card--minor .photo { flex: none; width: 38%; min-height: 10rem; aspect-ratio: auto; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.service-card--minor .photo img { position: absolute; inset: 0; }
@media (max-width: 479px) {
  .service-card--minor .photo { width: 32%; }
  .service-card--minor .service-card-body { padding: 1.25rem; }
}

/* ---------- equipment ---------- */
.tool-grid { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.tool { position: relative; padding: 1.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 0.75rem; align-content: start; }
.tool .label, .tool-card .label { color: var(--navy-300); display: flex; align-items: center; gap: 0.625rem; }
.tool .label::before, .tool-card .label::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--laser); box-shadow: 0 0 8px rgba(255, 59, 47, 0.7); }
.tool-name { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-transform: uppercase; }
.tool p { margin: 0; }
.tool-desc { color: var(--navy-100); font-size: 1rem; line-height: 1.65; }
@media (min-width: 640px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .tool-grid > .tool:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .tool-grid > .tool:last-child:nth-child(odd) { grid-column: auto; }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .tool { padding: 2rem 1.75rem 2.25rem; border-bottom: 0; }
  .tool + .tool { border-left: 1px solid rgba(255, 255, 255, 0.14); }
  .tool:first-child { padding-left: 0; }
  .tool:last-child { padding-right: 0; }
}
.tm { font-size: 0.55em; vertical-align: super; font-weight: 600; letter-spacing: 0; }

/* ---------- rates / hours / location ---------- */
.facts { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr 1.15fr; gap: 1.5rem; }
}
.fact { padding: clamp(1.5rem, 3vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.fact .label { color: var(--steel); }
.fact .rate { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 6vw, 4.25rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--navy-900); margin: 0; }
.rate small { font-size: 0.36em; font-weight: 700; letter-spacing: -0.01em; color: var(--steel); margin-left: 0.15em; }
.fact p { margin: 0; color: var(--ink-soft); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: 0.625rem 0; border-top: 1px solid var(--navy-100); vertical-align: top; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; padding-top: 0; }
.hours th { font-weight: 600; padding-right: 1rem; white-space: nowrap; }
.hours td { color: var(--ink-soft); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin-top: 0.5rem; }
.price-table caption { caption-side: top; text-align: left; padding: 0 0 0.75rem; color: var(--steel); }
.price-table th, .price-table td { padding: 0.625rem 0; border-top: 1px solid var(--navy-100); vertical-align: top; text-align: left; line-height: 1.45; }
.price-table tr:first-child th, .price-table tr:first-child td { border-top: 0; padding-top: 0; }
.price-table th { font-weight: 500; color: var(--ink-soft); padding-right: 1rem; }
.price-table td { font-weight: 700; color: var(--navy-900); text-align: right; white-space: nowrap; }
.price-table .td-note { font-weight: 500; color: var(--ink-soft); white-space: normal; }
.open-status { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.02em; color: var(--ink-soft); min-height: 1.25rem; }
.open-status::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--steel); }
.open-status[data-state='open']::before { background: #19a35b; box-shadow: 0 0 0 3px rgba(25, 163, 91, 0.18); }
.open-status[data-state='appt']::before { background: var(--navy-500); }
.open-status--light { color: var(--navy-100); }
address { font-style: normal; }
.address { font-size: 1.125rem; font-weight: 600; line-height: 1.5; color: var(--ink); }

/* ---------- video ---------- */
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px -30px rgba(0, 0, 0, 0.75); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: radial-gradient(circle at center, rgba(6, 18, 42, 0.5), rgba(6, 18, 42, 0.2) 55%, rgba(6, 18, 42, 0.35));
  color: var(--white);
  cursor: pointer;
}
.video-play[hidden] { display: none; }
.video-play-icon {
  position: relative;
  width: clamp(4rem, 8vw, 5.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--laser);
  box-shadow: 0 0 0 6px rgba(255, 59, 47, 0.25), 0 0 32px rgba(255, 59, 47, 0.55);
  transition: transform 0.45s var(--ease-spring);
}
.video-play-icon::after { content: ''; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 0.8em 0 0.8em 1.35em; border-color: transparent transparent transparent var(--white); font-size: clamp(0.85rem, 1.6vw, 1.1rem); }
.video-play .label { color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.video-play:hover .video-play-icon { transform: scale(1.07); }
.video-play:active .video-play-icon { transform: scale(0.95); transition-duration: 0.12s; }
.video-play:focus-visible { outline: none; }
.video-play:focus-visible .video-play-icon { outline: 3px solid var(--white); outline-offset: 5px; }
.video-caption { max-width: none; color: var(--steel); }
video::cue { font-family: var(--font-body); font-size: 1.05em; background: rgba(6, 18, 42, 0.78); }

/* ---------- reviews ---------- */
.review-score { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.stars { display: inline-flex; gap: 0.25rem; color: var(--cobalt); }
.stars svg { width: 1.375rem; height: 1.375rem; display: block; }
.review-score .label { color: var(--steel); }
.review-quote { margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1rem; }
.review-quote blockquote { margin: 0; }
.review-quote blockquote p { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; font-size: clamp(1.75rem, 3.6vw, 2.75rem); color: var(--navy-900); text-wrap: balance; }
.review-quote figcaption { color: var(--steel); }
.bbb-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; text-decoration: none; color: inherit; transition: transform 0.45s var(--ease-spring); }
.bbb-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 24px 48px -24px rgba(12, 31, 64, 0.35); opacity: 0; transition: opacity 0.4s var(--ease-out); pointer-events: none; }
.bbb-card:hover { transform: translateY(-2px); }
.bbb-card:hover::after { opacity: 1; }
.bbb-card:active { transform: translateY(0) scale(0.99); transition-duration: 0.12s; }
.bbb-card:focus-visible { outline: 2px solid var(--laser); outline-offset: 3px; }
.bbb-grade { flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: var(--radius-md); background: var(--cobalt); color: var(--white); font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 1.375rem; letter-spacing: -0.03em; }
.bbb-card strong { display: block; font-family: var(--font-display); font-stretch: 108%; font-weight: 750; font-size: 1.125rem; line-height: 1.3; }
.bbb-card .label { display: block; margin-top: 0.25rem; color: var(--steel); }

/* ---------- shops band ---------- */
.shops-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .shops-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; align-items: end; }
}

/* ---------- steps (real sequences only) ---------- */
.steps { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 960px) {
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.step { counter-increment: step; padding: clamp(1.5rem, 3vw, 1.75rem); display: grid; gap: 0.75rem; align-content: start; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--laser); }
.step h3 { margin: 0; }
.step p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.step .step-price { margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; color: var(--navy-900); }

/* ---------- content blocks ---------- */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; align-items: start; }
  .split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
.model-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.model-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--navy-100); }
.model-list li:first-child { border-top: 0; padding-top: 0; }
.model-list .label { color: var(--steel); padding-top: 0.2rem; }
.model-list span:last-child { color: var(--ink-soft); line-height: 1.55; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.check-list li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); line-height: 1.55; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 0.875rem; height: 2px; background: var(--laser); }
.check-list--light li { color: var(--navy-100); }
.callout { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--navy-100); }
.callout > * { margin: 0; }
.callout > * + * { margin-top: 0.75rem; }

/* ---------- jump links (inner page hero) ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
.jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 0.875rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.4s var(--ease-spring);
}
.jump-nav a::after { content: '↓'; font-family: var(--font-body); color: var(--laser); }
.jump-nav a:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65); transform: translateY(-1px); }
.jump-nav a:active { transform: scale(0.96); }

/* ---------- equipment cards ---------- */
.equipment-photo { margin-top: clamp(2.5rem, 5vw, 3.5rem); aspect-ratio: 1600 / 687; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.equipment-photo img { object-position: 60% center; }
@media (max-width: 767px) {
  .equipment-photo { aspect-ratio: 4 / 3; }
}
/* white fade from the left, eased so it doesn't band */
.photo--fade-left::after {
  opacity: 1;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 12%, rgba(255, 255, 255, 0.78) 24%, rgba(255, 255, 255, 0.52) 36%, rgba(255, 255, 255, 0.24) 48%, rgba(255, 255, 255, 0.07) 58%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) 35%);
}
@media (max-width: 767px) {
  .photo--fade-left::after {
    background:
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.8) 14%, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 0.1) 42%, rgba(255, 255, 255, 0) 50%),
      linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) 35%);
  }
}
.tool-cards { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 700px) {
  .tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .tool-cards > .tool-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .tool-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-cards > .tool-card:last-child:nth-child(odd) { grid-column: auto; }
}
.tool-card { overflow: hidden; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 48px -28px rgba(0, 0, 0, 0.6); }
.tool-card-body { display: grid; gap: 0.875rem; align-content: start; padding: 1.5rem; }
.tool-card .tool-name { font-size: 1.3125rem; }
.tool-card .check-list li { font-size: 0.9375rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; margin-top: clamp(2rem, 4vw, 3rem); }
.faq details { border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-elevated); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem clamp(1.25rem, 3vw, 1.75rem); cursor: pointer; font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; border-radius: var(--radius-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--paper); font-family: var(--font-body); font-weight: 400; font-size: 1.25rem; color: var(--navy-900); transition: transform 0.45s var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { transform: scale(1.1); }
.faq details[open] summary:hover::after { transform: rotate(45deg) scale(1.1); }
.faq summary:active { opacity: 0.8; }
.faq summary:focus-visible { outline: 2px solid var(--laser); outline-offset: 2px; }
.faq-answer { padding: 0 clamp(1.25rem, 3vw, 1.75rem) 1.5rem; color: var(--ink-soft); max-width: 48rem; }
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 0.9em; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .cta-band { grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; gap: 4rem; }
}

/* ---------- booking ---------- */
.book-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .book-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
}
.book-panel { padding: clamp(1.5rem, 4vw, 2.5rem); }
.cal-embed { min-height: 38rem; width: 100%; overflow: auto; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}
.field { display: grid; gap: 0.5rem; }
.field label, .field legend { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); padding: 0; }
.field .optional { color: var(--steel); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 0.8125rem; }
.input {
  width: 100%;
  box-sizing: border-box;
  min-height: 3.125rem;
  padding: 0.75rem 0.9375rem;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px #c9d3e3;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.input:hover { box-shadow: inset 0 0 0 1.5px var(--navy-500); }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--navy-900), 0 0 0 4px rgba(12, 31, 64, 0.1); }
.input:focus-visible { outline: 2px solid var(--laser); outline-offset: 2px; }
textarea.input { min-height: 7.5rem; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230C1F40' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.input[aria-invalid='true'] { box-shadow: inset 0 0 0 2px #c62a1f; }
.field-error { font-size: 0.875rem; color: #b3261e; margin: 0; }
.check-group { border: 0; margin: 0; padding: 0; min-width: 0; gap: 0.25rem; }
.check-group legend { margin-bottom: 0.5rem; }
.check-group .check { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; font-family: var(--font-body); font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.check-group .check:hover { color: var(--navy-900); }
.check-group .check input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--navy-900); cursor: pointer; transition: transform 0.3s var(--ease-spring); }
.check-group .check:hover input { transform: scale(1.08); }
.check-group .check:active input { transform: scale(0.92); }
.form-note { font-size: 0.9375rem; color: var(--steel); margin: 0; }
.form-status { margin: 0; padding: 1rem 1.25rem; border-radius: var(--radius-md); font-weight: 500; }
.form-status[data-tone='ok'] { background: #e7f5ee; color: #0f5132; box-shadow: inset 0 0 0 1px #b7e0c9; }
.form-status[data-tone='error'] { background: #fdecea; color: #8a1c14; box-shadow: inset 0 0 0 1px #f4c7c2; }
.form-status[data-tone='info'] { background: var(--paper); color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-100); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; }
.contact-list li { padding: 1rem 0; border-top: 1px solid var(--navy-100); display: grid; gap: 0.25rem; }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .label { color: var(--steel); }
.contact-list a { font-weight: 600; color: var(--navy-900); text-decoration: none; border-radius: 2px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.contact-list a:active { opacity: 0.7; }
.map-frame { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-elevated); }

/* ---------- footer ---------- */
.site-footer { position: relative; isolation: isolate; background: var(--navy-950); color: var(--navy-100); }
.footer-cta { padding-block: clamp(4rem, 8vw, 6.5rem); }
.footer-main { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4rem); }
@media (min-width: 768px) {
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.footer-main h2 { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-300); margin: 0 0 1rem; }
.footer-main * + h2 { margin-top: 2rem; }
.footer-main p, .footer-main address { margin: 0; font-size: 0.9375rem; line-height: 1.7; }
.footer-main .footer-ig { display: inline-flex; align-items: flex-start; gap: 0.5rem; }
.icon-ig { flex: none; margin-top: 0.3em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9375rem; }
.footer-links a, .footer-main a { color: var(--white); text-decoration: none; border-radius: 2px; }
.footer-links a:hover, .footer-main a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer-links a:active, .footer-main a:active { opacity: 0.7; }
.footer-main .footer-slogan { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; font-size: 1.5rem; line-height: 0.95; color: var(--white); margin: 1.5rem 0 0.75rem; }
.footer-legal { position: relative; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; padding-block: 1.5rem 2rem; font-size: 0.8125rem; color: var(--navy-300); }
.footer-legal::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, 0.1); }
.footer-legal p { margin: 0; }

/* ---------- mobile action bar (floating layer) ---------- */
.action-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(6, 18, 42, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), var(--shadow-floating);
}
.action-bar .btn { min-height: 3rem; font-size: 0.9375rem; padding: 0 1rem; }
body.has-action-bar { padding-bottom: 5.5rem; }
@media (min-width: 768px) {
  .action-bar { display: none; }
  body.has-action-bar { padding-bottom: 0; }
}
body.menu-open .action-bar { opacity: 0; pointer-events: none; }
.page-book .action-bar { display: none; } /* already on the booking page */

/* show only on phones/tablets (e.g. "Text us" buttons) */
.only-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .only-touch { display: inline-flex; }
}
