/* ==========================================================================
   Elite Auto Spa — "2040" layer
   Obsidian / Metallic Silver / Signature Red / Snow White
   Loaded after styles.css on every page. Pure CSS, no dependencies.
   Respects prefers-reduced-motion. Every effect is decorative: the site is
   fully usable with this file (or future.js) missing.
   --------------------------------------------------------------------------
   1. Tokens & atmosphere      6. Telemetry strip / ticker
   2. Typography               7. Services (cards)
   3. Buttons                  8. Protocol
   4. Header & brand           9. Gallery / split / testimonial
   5. Hero                    10. Promo banner / footer / inner pages
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* 1. TOKENS & ATMOSPHERE                                              */
/* ------------------------------------------------------------------ */
:root {
  --obsidian: #0a0a0a;
  --silver: #c0c0c0;
  --red: #d32f2f;
  --red-hot: #ff4d4d;
  --snow: #ffffff;
  --red-glow: rgba(211, 47, 47, 0.55);
  --chrome: linear-gradient(180deg, #ffffff 0%, #b9b9b9 38%, #f2f2f2 52%, #7d7d7d 100%);
  --hud-line: rgba(192, 192, 192, 0.18);
  --hud-line-strong: rgba(192, 192, 192, 0.38);
  --cut: 14px; /* angled corner size used across panels */
  --bg: var(--obsidian);
  --color-black: var(--obsidian);
  --color-line: #262626;
  --color-line-strong: #3a3a3a;
  --color-graphite: #151515;
  --color-graphite-2: #1d1d1d;
  --color-charcoal: #101010;
  --radius: 2px;
  --radius-lg: 4px;
  --header-h: 80px;
}

body {
  letter-spacing: 0.005em;
}

/* Page-wide: carbon grain + red/silver ambient glow + faint HUD grid. */
body::before {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(211, 47, 47, 0.16), transparent 62%),
    radial-gradient(900px 520px at -5% 105%, rgba(192, 192, 192, 0.07), transparent 58%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 4px),
    var(--obsidian);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--hud-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hud-line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.12;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
}

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

/* Thin brand scrollbar */
html {
  scrollbar-color: #3a3a3a var(--obsidian);
  scrollbar-width: thin;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #7a1010, var(--red), var(--red-hot));
  box-shadow: 0 0 14px var(--red-glow);
}

/* ------------------------------------------------------------------ */
/* 2. TYPOGRAPHY                                                       */
/* ------------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
h1 { font-style: italic; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.08; }
h3 { letter-spacing: -0.005em; }

.text-gradient {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.55));
}

/* Mono HUD label: "// SECTION" */
.eyebrow,
.experience-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.eyebrow::before {
  content: "//";
  width: auto;
  height: auto;
  background: none;
  color: var(--red);
  margin-right: 0.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.section-head h2 {
  position: relative;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 0.9rem;
  background: linear-gradient(90deg, var(--red), transparent);
  box-shadow: 0 0 12px var(--red-glow);
}
.section-head[style*="center"] h2::after {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* ------------------------------------------------------------------ */
/* 3. BUTTONS                                                          */
/* ------------------------------------------------------------------ */
.btn {
  position: relative;
  border-radius: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0;
  isolation: isolate;
}
/* Border for clipped shapes: inset ring via pseudo-element */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-bg);
}
.btn--ghost {
  --btn-bg: rgba(10, 10, 10, 0.55);
  color: var(--snow);
  box-shadow: inset 0 0 0 1px var(--hud-line-strong);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--silver), 0 0 24px -8px rgba(192, 192, 192, 0.5);
}
.btn--primary {
  --btn-bg: linear-gradient(180deg, #e04141 0%, var(--red) 45%, #a51f1f 100%);
  box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.4) inset, 0 10px 34px -10px var(--red-glow);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn--primary:hover::after {
  transform: translateX(120%);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 150, 150, 0.6) inset, 0 16px 44px -8px rgba(255, 60, 60, 0.7);
}

/* ------------------------------------------------------------------ */
/* 4. HEADER & BRAND                                                   */
/* ------------------------------------------------------------------ */
.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: transparent;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hud-line-strong) 20%, var(--red) 50%, var(--hud-line-strong) 80%, transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::after {
  opacity: 1;
}

.brand--logo {
  display: inline-flex;
  align-items: center;
}
.brand__logo {
  display: block;
  height: 66px;
  width: calc(66px * 384 / 188);
  flex: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}
.brand--logo:hover .brand__logo {
  filter: drop-shadow(0 0 16px var(--red-glow));
  transform: scale(1.04);
}
.footer-brand .brand__logo {
  height: 100px;
  width: calc(100px * 384 / 188);
}
.footer-brand .brand__word { display: none; }

.brand__word {
  display: none;
  flex: none;
  white-space: nowrap;
  margin-left: 0.7rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--snow);
}
.brand__word small {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: var(--silver);
}
@media (min-width: 1100px) {
  .brand__word { display: block; }
}

.primary-nav a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--snow);
}
.primary-nav a::after {
  height: 2px;
  bottom: 0.15rem;
  box-shadow: 0 0 10px var(--red-glow);
}

.header-actions .btn {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  white-space: nowrap;
}

/* Live studio status chip (computed from real hours in JS) */
.live-chip {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--hud-line);
  background: rgba(10, 10, 10, 0.5);
  white-space: nowrap;
}
.live-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6b6b6b;
}
.live-chip[data-state="open"] i {
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 2s ease-in-out infinite;
}
.live-chip[data-state="closed"] i {
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}
@media (min-width: 1560px) {
  .live-chip { display: inline-flex; }
}

.mobile-nav {
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(18px);
}
.mobile-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* ------------------------------------------------------------------ */
/* 5. HERO                                                             */
/* ------------------------------------------------------------------ */
.hero--future {
  position: relative;
  min-height: min(100svh, 980px);
  overflow: hidden;
  isolation: isolate;
}
.hero--future .hero__media::after {
  background:
    radial-gradient(120% 90% at 50% 55%, transparent 35%, rgba(10, 10, 10, 0.7) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 38%, rgba(10, 10, 10, 0.1) 70%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, transparent 28%, transparent 70%, var(--obsidian) 100%);
}

/* Perspective floor grid */
.hero__grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 46%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(211, 47, 47, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.35) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(0deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 85%);
  opacity: 0.55;
  animation: gridflow 6s linear infinite;
}
@keyframes gridflow {
  to { background-position: 0 70px, 70px 0; }
}

.hero__motes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

/* Scan line sweeping the hero */
.hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  top: -120px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(211, 47, 47, 0.12) 60%, rgba(255, 90, 90, 0.35) 99%, transparent 100%);
  animation: scan 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes scan {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(calc(min(100svh, 980px) + 120px)); opacity: 0; }
}

/* Targeting-reticle corner brackets */
.hud-corners {
  position: absolute;
  inset: calc(var(--header-h) + 10px) clamp(10px, 2vw, 28px) clamp(10px, 2vw, 28px);
  z-index: 1;
  pointer-events: none;
}
.hud-corners i {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 0 solid var(--silver);
  opacity: 0.55;
}
.hud-corners i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hud-corners i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hud-corners i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hud-corners i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-color: var(--red); opacity: 0.9; }

/* Layout: copy left, console right */
.hero--future > .container {
  position: relative;
  z-index: 2;
}
.hero__layout {
  display: grid;
  gap: 2.5rem;
  width: 100%;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem);
}
.hero--future .hero__inner {
  align-items: flex-start;
  text-align: left;
  margin-inline: 0;
  max-width: 640px;
  padding-block: 0;
}
.hero--future h1 {
  font-size: clamp(2.5rem, 7.4vw, 5.6rem);
  line-height: 0.98;
}
.hero--future .lead {
  margin-inline: 0;
  max-width: 540px;
  color: #d9d9d9;
}
.hero--future .btn-row {
  justify-content: flex-start;
}
.hero--future .trust-line {
  margin-top: 2.25rem;
  justify-content: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Headline word-by-word reveal (JS wraps words in .w) */
[data-split] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) skewX(-8deg);
  filter: blur(8px);
  animation: wordin 0.9s var(--ease) forwards;
  animation-delay: calc(0.25s + var(--i, 0) * 0.14s);
}
@keyframes wordin {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero__console {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}
.badge-stage {
  width: min(78vw, 360px);
  perspective: 900px;
}
.badge {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(211, 47, 47, 0.25));
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform 0.18s ease-out;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.telemetry {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hud-line);
  border: 1px solid var(--hud-line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.telemetry > div {
  padding: 0.7rem 0.85rem;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(10px);
}
.telemetry dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-hot);
}
.telemetry dd {
  margin: 0.2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--snow);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
}
.scroll-cue i {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--red), transparent);
  animation: cue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); }
  60% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 3rem;
  }
}
@media (max-width: 959px) {
  .badge-stage { width: min(62vw, 260px); }
  .hero--future { min-height: auto; }
  .scroll-cue { display: none; }
}

/* ------------------------------------------------------------------ */
/* 6. TICKER & TELEMETRY STRIP                                         */
/* ------------------------------------------------------------------ */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--hud-line);
  background: linear-gradient(90deg, #0d0d0d, #141414 50%, #0d0d0d);
  position: relative;
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 1;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--obsidian), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--obsidian), transparent); }
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker__track span {
  padding: 0.95rem 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver);
  white-space: nowrap;
}
.ticker__track span::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 2.2rem;
  background: var(--red);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--red-glow);
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

.telemetry-strip {
  padding-block: clamp(2rem, 5vw, 3.2rem);
}
.telemetry-strip ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hud-line);
  border: 1px solid var(--hud-line);
  list-style: none;
  padding: 0;
  margin: 0;
}
.telemetry-strip li {
  padding: 1.5rem 1.25rem;
  background: linear-gradient(160deg, #141414, #0b0b0b);
  position: relative;
}
.telemetry-strip li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}
.telemetry-strip strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.telemetry-strip span {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}
.telemetry-strip li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .telemetry-strip ul { grid-template-columns: repeat(3, 1fr); }
  .telemetry-strip li:last-child:nth-child(odd) { grid-column: auto; }
}

/* ------------------------------------------------------------------ */
/* 7. SERVICES / CARDS                                                 */
/* ------------------------------------------------------------------ */
.card {
  position: relative;
  border-radius: 0;
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(12, 12, 12, 0.95));
  border: 1px solid var(--hud-line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  transform-style: preserve-3d;
}
.card::after {
  /* cursor-tracked spotlight (JS sets --mx/--my) */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(211, 47, 47, 0.2), transparent 70%);
  transition: opacity 0.3s var(--ease);
}
.card:hover::after { opacity: 1; }
.card:hover {
  border-color: rgba(211, 47, 47, 0.7);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 40px -16px var(--red-glow);
}

/* Auto-numbered service matrix */
#services .grid { counter-reset: svc; }
#services .service-card { counter-increment: svc; }
#services .service-card::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 1.15rem;
  right: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--red);
  opacity: 0.9;
}
.service-card h3 {
  font-size: 1.05rem;
}
.service-card__icon {
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: rgba(211, 47, 47, 0.12);
  color: var(--red-hot);
  box-shadow: inset 0 0 0 1px rgba(211, 47, 47, 0.4);
}
.service-card__link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* 8. PROTOCOL                                                         */
/* ------------------------------------------------------------------ */
.protocol__steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}
.protocol__steps::before {
  /* track line, filled by JS via --fill */
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 33px;
  width: 2px;
  background: linear-gradient(var(--red) calc(var(--fill, 0) * 100%), var(--hud-line) calc(var(--fill, 0) * 100%));
  box-shadow: 0 0 14px rgba(211, 47, 47, 0.35);
}
.protocol__step {
  position: relative;
  padding: 0.25rem 0 0.25rem 5.5rem;
  min-height: 68px;
}
.protocol__node {
  position: absolute;
  left: 0;
  top: 0;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--snow);
  background: #0c0c0c;
  border: 2px solid var(--hud-line-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--obsidian);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}
.protocol__step.is-visible .protocol__node {
  border-color: var(--red);
  color: var(--red-hot);
  box-shadow: 0 0 0 6px var(--obsidian), 0 0 24px var(--red-glow);
}
.protocol__step h3 {
  margin: 0.35rem 0 0.3rem;
  font-size: 1.15rem;
}
.protocol__step p {
  color: var(--text-muted);
  max-width: 44ch;
}
@media (min-width: 900px) {
  .protocol__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .protocol__steps::before {
    top: 33px;
    bottom: auto;
    left: 34px;
    right: 34px;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--red) calc(var(--fill, 0) * 100%), var(--hud-line) calc(var(--fill, 0) * 100%));
  }
  .protocol__step { padding: 5rem 0 0; }
}

/* ------------------------------------------------------------------ */
/* 9. GALLERY / SPLIT / TESTIMONIAL / FILM                             */
/* ------------------------------------------------------------------ */
.gallery-item {
  border-radius: 0;
  position: relative;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--silver), var(--silver)) top left / 20px 1px no-repeat,
    linear-gradient(var(--silver), var(--silver)) top left / 1px 20px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom right / 20px 1px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom right / 1px 20px no-repeat;
  opacity: 0;
  transition: opacity 0.3s var(--ease), inset 0.35s var(--ease);
}
.gallery-item:hover::after {
  opacity: 0.9;
  inset: 16px;
}
.gallery-item__caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-item__check {
  color: var(--red-hot);
  background: rgba(211, 47, 47, 0.12);
  border-color: rgba(211, 47, 47, 0.45);
}

.split__media video,
.split__media img {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  border-radius: 0;
}

.testimonial {
  border-radius: 0;
  border: 1px solid var(--hud-line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* Cinematic film section: restate accents in brand red */
.experience-film h2 {
  text-transform: uppercase;
  font-style: italic;
}
.experience-film h2 span {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.experience-text-link {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* 10. PROMO BANNER, FOOTER, INNER PAGES                               */
/* ------------------------------------------------------------------ */
.promo-banner {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(120deg, #050505 0%, #0b0b0b 55%, #151515 100%);
  border: 1px solid var(--hud-line);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 0% 50%, rgba(211, 47, 47, 0.18), transparent 65%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 4px);
}
.promo-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent 60%);
  box-shadow: 0 0 20px var(--red-glow);
}
.promo-banner__brand {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
}
.promo-banner__logo {
  width: min(100%, 300px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
}
.promo-banner__sig {
  font-family: "Mrs Saint Delafield", cursive;
  font-size: 2.1rem;
  line-height: 1;
  color: #e8e8e8;
}
.promo-banner__copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin: 0.6rem 0 1.4rem;
}
.promo-banner .btn-row {
  justify-content: flex-start;
}
.promo-banner__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  z-index: -1;
  display: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.promo-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Current-offer cards deliberately stay compact: the offer is the message,
   while the service page or quote flow supplies package specifics. */
.offers {
  background: linear-gradient(180deg, transparent, rgba(211, 47, 47, 0.06), transparent);
}
.offer-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 2px solid var(--red);
}
.offer-card__label {
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.offer-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}
@media (min-width: 900px) {
  .promo-banner {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 3rem;
  }
  .promo-banner__copy { max-width: 52%; }
  .promo-banner__media { display: block; }
}

.cta-band {
  border-radius: 0;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a, #050505);
  border-top: 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 30%, var(--silver) 50%, var(--red) 70%, transparent);
  box-shadow: 0 0 18px var(--red-glow);
}
.footer-col h3,
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.footer-col h3::before,
.footer-col h4::before {
  content: "// ";
  color: var(--red);
}

/* Inner-page hero */
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 16px var(--red-glow);
}
.page-hero { position: relative; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* Forms / modal */
.modal__dialog {
  border-radius: 0;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  border: 1px solid var(--hud-line-strong);
  background: linear-gradient(170deg, #161616, #0a0a0a);
}
.input, .select, .textarea { border-radius: 0; }
.chip span { border-radius: 0; }

/* ------------------------------------------------------------------ */
/* Reveal polish: slide + de-blur                                      */
/* ------------------------------------------------------------------ */
.reveal {
  filter: blur(6px);
  transition-property: opacity, transform, filter;
}
.reveal.is-visible {
  filter: none;
}

/* ------------------------------------------------------------------ */
/* Reduced motion & no-JS safety                                       */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .hero__grid, .hero__scan, .ticker__track, .badge, .scroll-cue i, .live-chip i { animation: none !important; }
  [data-split] .w { animation: none; opacity: 1; transform: none; filter: none; }
  .reveal { filter: none; }
  .hero__motes { display: none; }
  .ticker { overflow-x: auto; }
}
@media (max-width: 640px) {
  .hud-corners { display: none; }
  .brand__logo { height: 52px; width: calc(52px * 384 / 188); }
  .ticker__track span { padding-inline: 1.4rem; }
}
.no-js [data-split] .w { opacity: 1; }

/* Split headline: gradient lives on each word so transforms/filters can animate */
[data-split].is-split .text-gradient {
  background: none;
  -webkit-text-fill-color: initial;
  color: inherit;
  filter: none;
}
[data-split] .w {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: 0.08em; /* italic overhang so clipped gradient isn't cut */
}

/* Cursor ring */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: normal;
  box-shadow: 0 0 14px rgba(211, 47, 47, 0.45), inset 0 0 8px rgba(211, 47, 47, 0.25);
  transition: opacity 0.3s, width 0.25s var(--ease), height 0.25s var(--ease), background-color 0.25s;
}
.cursor-ring.is-on { opacity: 0.85; visibility: visible; }
.cursor-ring.is-hot {
  width: 54px;
  height: 54px;
  background: rgba(211, 47, 47, 0.12);
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-ring { display: none; }
}

/* Brand grade: pull the cool/teal cast out of the placeholder imagery toward obsidian + red accents */
.gallery-item img,
.split__media video,
.split__media img,
.page-hero__media img,
.hero__media img,
.experience-film__first {
  filter: saturate(0.72) contrast(1.06) brightness(0.96);
}
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(10, 10, 10, 0.75) 100%),
    radial-gradient(120% 80% at 100% 100%, rgba(211, 47, 47, 0.16), transparent 60%);
  mix-blend-mode: normal;
}
.gallery-item__caption { z-index: 2; }
