/* Prestige Carpet Cleaning: all site styles (merged from 8 files, same order). */


/* =========================================================
   Prestige Carpet Cleaning — Theme
   Palette sampled from the logo: black / crimson / charcoal / white
   ========================================================= */
:root {
  --red: #960101;
  --red-bright: #c0141a;
  --red-dark: #6b0000;
  --grey-800: #484848;
  --white: #fafcfc;
  --bg: #0b0b0b;
  --surface-1: #121212;
  --surface-2: #1a1a1a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #fafcfc;
  --text-muted: #b5b5b5;
  --text-dim: #8a8a8a;
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 140px);
  --radius: 4px;
  --slant: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.05; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
body.menu-open { overflow: hidden; }
main, .site-footer { overflow-x: clip; }

/* visually hidden but still read by screen readers (form labels) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* placeholder text in all forms */
.field input::placeholder,
.field textarea::placeholder,
.ff input::placeholder,
.ff textarea::placeholder {
  color: var(--text-dim);
  opacity: 1;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; position: relative; }
.text-red { color: var(--red-bright); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  transform: skewX(-30deg);
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.01em;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
  flex-wrap: wrap;
}
.section-head__aside { max-width: 380px; color: var(--text-muted); margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --cut: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-bright); }
.btn--ghost { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: #000; }
.btn--line {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  clip-path: none;
}
.btn--line:hover { background: var(--white); color: #000; }
.btn--block { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.link-arrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red-bright);
  transition: width var(--dur) var(--ease);
}
.link-arrow:hover::after { width: 38px; }

/* Live status dot (header + quick quote) */
.pulse-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  position: relative;
  background: #2ecc71;
}

/* ring scales out with transform (composited) instead of animating box-shadow */
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(3); opacity: 0; }
}

/* Form fields (shared) */
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c0141a' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-size: 20px;
  background-repeat: no-repeat;
}
.field select:invalid { color: var(--text-dim); }
.field select option { color: var(--white); background: var(--surface-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red-bright);
  background: rgba(255, 255, 255, 0.07);
}


/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust { background: var(--bg); padding: 28px 0 8px; }
.trust__row {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
  gap: 18px 28px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
}
.trust__item svg {
  width: 26px;
  height: 26px;
  fill: var(--red-bright);
  flex-shrink: 0;
}


/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--surface-1); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--red-bright);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.service-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 28px;
}

/* service icon badge (sits on the photo's slanted edge) */
.service-card__icon {
  position: absolute;
  top: -34px;
  right: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--red-bright), var(--red-dark));
  box-shadow: 0 0 0 5px var(--surface-2), 0 14px 30px rgba(150, 1, 1, 0.45);
}
.service-card__icon svg { width: 26px; height: 26px; fill: #fff; }
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 110%;
  margin-bottom: 12px;
}
.service-card p {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
}


/* =========================================================
   PORTFOLIO — bento grid
   ========================================================= */
.work { background: var(--surface-1); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, clamp(170px, 17vw, 240px));
  grid-template-areas: "a a b c" "a a d c" "e e f g";
  gap: 14px;
}
.tile--a { grid-area: a; }
.tile--b { grid-area: b; }
.tile--c { grid-area: c; }
.tile--d { grid-area: d; }
.tile--e { grid-area: e; }
.tile--f { grid-area: f; }
.tile--g { grid-area: g; }
.tile {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--white);
  text-align: left;
  cursor: zoom-in;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.9s var(--reveal-ease), opacity 0.5s;
}

/* soft bottom shade so captions stay readable */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  opacity: 0.6;
  transition: opacity 0.5s;
}

/* thin red frame on hover */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--red-bright);
  opacity: 0;
  transition: opacity 0.4s;
}
.tile__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  opacity: 0.9;
  transition: transform 0.5s var(--reveal-ease), opacity 0.4s;
}
.tile__cap small {
  align-self: flex-start;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--red);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}
.tile__cap strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  font-stretch: 108%;
}
.tile--a .tile__cap strong { font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
.tile__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}
.tile__zoom svg { width: 18px; height: 18px; fill: var(--white); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); opacity: 1; }
.tile:hover::before,
.tile:focus-visible::before,
.tile:hover::after,
.tile:focus-visible::after {
  opacity: 1;
}
.tile:hover .tile__cap,
.tile:focus-visible .tile__cap,
.tile:hover .tile__zoom,
.tile:focus-visible .tile__zoom {
  transform: none;
  opacity: 1;
}
.tile:focus-visible { outline: none; }

/* beat the reveal rule's img transform so the hover zoom still works */
.js .tile[data-reveal].is-in:hover img,
.js .tile[data-reveal].is-in:focus-visible img {
  transform: scale(1.07);
}

/* red highlight tile */
.tile--stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  cursor: pointer;
  background: linear-gradient(140deg, var(--red) 0%, var(--red-dark) 70%, #2a0000 100%);
}
.tile--stat::before { display: none; }
.tile--stat::after { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); }
.tile__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 900;
  font-stretch: 115%;
  line-height: 1;
}
.tile__stat sup { font-size: 0.5em; }
.tile__stat > span {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}
.tile--stat .link-arrow { font-size: 0.72rem; }
.tile--stat .link-arrow::after { background: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 70px 24px 40px;
  background: rgba(0, 0, 0, 0.95);
  opacity: 0;
  transition: opacity 0.35s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--line);
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.5s var(--reveal-ease), opacity 0.35s;
}
.lightbox.is-open .lightbox__img.is-ready { transform: none; opacity: 1; }
.lightbox__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 18px;
  text-align: center;
}
.lightbox__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.lightbox__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 110%;
}
.lightbox__count { font-size: 0.8rem; color: var(--text-dim); }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.lightbox__btn svg { width: 22px; height: 22px; fill: var(--white); }
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { position: absolute; top: 18px; right: 20px; }
@media (max-width: 760px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 150px;
    grid-template-areas: "a a" "a a" "b c" "d c" "e e" "f g";
    gap: 10px;
  }
  .tile__cap { transform: none; opacity: 1; }

  /* no hover on touch */
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 100px; }
  .lightbox__nav { position: absolute; bottom: 28px; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}


/* =========================================================
   CTA BAND — cinematic triptych
   ========================================================= */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 80vh, 760px);
  padding: clamp(90px, 11vw, 150px) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: #000;
}

/* slanted photo panels (same angle as the logo swoosh) */
.cta-band__panels {
  position: absolute;
  inset: 0;
  z-index: -4;
  display: flex;
  justify-content: center;
}
.cta-panel {
  position: relative;
  flex: 0 0 40%;
  height: 100%;
  margin: 0 -3.2%;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.cta-panel img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  opacity: 0.55;
}
.cta-panel--mid img { opacity: 0.7; }

/* keeps the headline readable and frames the panels */
.cta-band__shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.2) 100%), linear-gradient(90deg, #000 0%, transparent 18%, transparent 82%, #000 100%), linear-gradient(0deg, rgba(110, 0, 0, 0.55) 0%, transparent 45%), linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 30%);
}

/* giant outlined words */
.cta-band__words {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2vw;
  pointer-events: none;
}
.cta-row {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 12rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.85;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}
.cta-row--a { translate: -10% 0; }
.cta-row--b { translate: -30% 0; -webkit-text-stroke-color: rgba(192, 20, 26, 0.35); }

/* light streak sweeping across now and then (transform only) */
.cta-band__streak {
  position: absolute;
  top: -20%;
  left: 0;
  z-index: -1;
  width: 120px;
  height: 140%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0.08) 55%, transparent);
  transform: translateX(-200px) rotate(18deg);
  animation: ctaStreak 7s cubic-bezier(0.65, 0, 0.35, 1) 1.5s infinite;
}
@keyframes ctaStreak {
  0% { transform: translateX(-200px) rotate(18deg); }
  45%, 100% { transform: translateX(calc(100vw + 200px)) rotate(18deg); }
}
.cta-band__inner { position: relative; }
.cta-band__eyebrow { justify-content: center; }
.cta-band h2 {
  max-width: 960px;
  margin: 0 auto 18px;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 900;
  font-stretch: 115%;
  letter-spacing: -0.015em;
  line-height: 1;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.cta-band__lead { margin: 0 auto 34px; font-size: 1.05rem; color: var(--text-muted); }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
@media (max-width: 760px) {
  .cta-panel { flex-basis: 56%; margin: 0 -6%; }
  .cta-band__shade { background: rgba(0, 0, 0, 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band__streak { display: none; }
}


/* =========================================================
   CONTACT — split console
   ========================================================= */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--section-y) + clamp(50px, 7vw, 100px));
  background: radial-gradient(ellipse 60% 55% at 22% 55%, rgba(150, 1, 1, 0.3), transparent 70%), radial-gradient(ellipse 45% 40% at 85% 30%, rgba(255, 255, 255, 0.04), transparent 70%), linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
}

/* swoosh flipped upside-down so its dark edge melts into the FAQ above */
.contact__swoosh {
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 0;
  width: 100%;
  height: clamp(50px, 7vw, 100px);
  transform: scaleY(-1);
}

/* faint dot grid that fades out towards the edges */
.contact__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 30%, transparent 75%);
}
.contact .container { position: relative; z-index: 1; }
.console {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

/* ---------- Left: info ---------- */
.console__info {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(150deg, #7a0000 0%, #3a0000 55%, #140000 100%);
}
.console__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

/* angled light + soft glow */
.console__info::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 15% 10%, rgba(255, 90, 90, 0.35), transparent 45%), linear-gradient(115deg, transparent 62%, rgba(255, 255, 255, 0.06) 62%, rgba(255, 255, 255, 0.06) 66%, transparent 66%);
}
.console__info-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(28px, 4vw, 52px);
}
.console__info .eyebrow { color: rgba(255, 255, 255, 0.75); }
.console__info .eyebrow::before { background: var(--white); }
.console__title {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.console__title span { display: block; color: #ff6b6f; }
.console__lead { max-width: 380px; margin-bottom: 30px; color: rgba(255, 255, 255, 0.78); }

/* big tap-to-call */
.console__call {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--reveal-ease);
}
.console__call:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.console__call-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
}
.console__call-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--red);
  animation: ring 4s ease-in-out 1s infinite;
}
.console__call-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: ripple 4s ease-out 1s infinite;
}
.console__call-text { display: flex; flex-direction: column; line-height: 1.15; }
.console__call-text small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.console__call-text strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  font-stretch: 112%;
}
.console__call-arrow {
  width: 22px;
  height: 22px;
  margin-left: auto;
  fill: var(--white);
  transition: transform 0.4s var(--reveal-ease);
}
.console__call:hover .console__call-arrow { transform: translateX(5px); }
.console__cards { display: grid; gap: 10px; margin-bottom: 28px; }
.console__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  font-weight: 500;
  word-break: break-word;
  transition: background 0.3s, border-color 0.3s;
}
.console__card:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); }
.console__card svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: #ff8a8d;
}
.console__card small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.console__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.console__trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.console__trust svg { width: 16px; height: 16px; fill: #ff8a8d; }

/* ---------- Right: form ---------- */
.console__form { padding: clamp(28px, 4vw, 52px); }
.console__form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 24px;
}
.console__form-head h3 { font-size: 1.5rem; font-weight: 800; font-stretch: 110%; }
.console__form-head span { font-size: 0.78rem; color: var(--text-dim); }
.console__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

/* floating-label fields */
.ff { position: relative; }
.ff--full { grid-column: 1 / -1; }
.ff input, .ff textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.ff textarea { min-height: 120px; resize: vertical; }
.ff label {
  position: absolute;
  top: 17px;
  left: 17px;
  pointer-events: none;
  font-size: 0.95rem;
  color: var(--text-dim);
  transform-origin: left top;
  transition: transform 0.25s var(--reveal-ease), color 0.25s;
}
.ff label em { font-style: normal; font-size: 0.8em; opacity: 0.7; }
.ff input:focus + label,
.ff input:not(:placeholder-shown) + label,
.ff textarea:focus + label,
.ff textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(0.74);
  color: var(--text-muted);
}
.ff input:focus, .ff textarea:focus {
  border-color: var(--red-bright);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(192, 20, 26, 0.15);
}
.ff input:focus + label, .ff textarea:focus + label { color: #ff6b6f; }

/* dropdown inside the floating-label style */
.ff select {
  width: 100%;
  padding: 16px 46px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  appearance: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.035) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c0141a' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 14px center / 22px;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.ff select:invalid { color: var(--text-dim); }
.ff select option { background: var(--surface-2); color: var(--white); }
.ff select:focus {
  border-color: var(--red-bright);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(192, 20, 26, 0.15);
}

/* a select always shows text, so its label always sits in the raised position */
.ff select + label { transform: translateY(-10px) scale(0.74); color: var(--text-muted); }
.ff select:focus + label { color: #ff6b6f; }
.ff.is-invalid select { border-color: #ff4d52; background-color: rgba(192, 20, 26, 0.08); }
.ff__err {
  display: block;
  min-height: 0;
  margin-top: 6px;
  font-size: 0.76rem;
  color: #ff6b6f;
}
.ff__err:empty { display: none; }
.ff.is-invalid input { border-color: #ff4d52; background: rgba(192, 20, 26, 0.08); }
.console__submit {
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.95rem;
}
.console__submit svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.4s var(--reveal-ease);
}
.console__submit:hover svg { transform: translateX(5px); }
.console__note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.console__note a { color: var(--white); font-weight: 700; }
.console__note a:hover { color: var(--red-bright); }
@media (max-width: 1000px) {
  .console { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .console__fields { grid-template-columns: 1fr; }
}


/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 70px;
  background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(150, 1, 1, 0.28), transparent 70%), #050505;
}

/* faint grid texture, fading out towards the bottom */
.footer__texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

/* ---------- giant wordmark ---------- */
.footer__word {
  margin: 10px 0 -0.12em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 8.5rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(192, 20, 26, 0.45), rgba(192, 20, 26, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 40%, var(--grey-800) 40%, var(--grey-800) 70%, transparent 70%);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.6fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand img { width: 220px; height: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--text-dim); max-width: 280px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  border: 1px solid var(--red);
  transition: background 0.25s, border-color 0.25s, transform 0.4s var(--reveal-ease);
}

/* solid red by default */
.footer__social a:hover {
  transform: translateY(-3px);
  background: transparent;
  border-color: var(--line-strong);
}

/* outline on hover */
.footer__social svg { width: 16px; height: 16px; fill: var(--white); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer__col h4::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 12px;
  background: var(--red-bright);
}
.footer__col a, .footer__col span { color: var(--text-dim); font-size: 0.92rem; word-break: break-word; }
.footer__col a:hover { color: var(--white); }

/* arrow before each menu link (Services + Quick links columns, not Contact) */
.footer__col:not(:last-child) a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  transition: color 0.3s, transform 0.35s var(--reveal-ease);
}
.footer__col:not(:last-child) a::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c0141a' d='M13 5l7 7-7 7-1.4-1.4 4.6-4.6H4v-2h12.2l-4.6-4.6L13 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s var(--reveal-ease);
}
.footer__col:not(:last-child) a:hover { transform: translateX(4px); }

/* Contact column: an icon tile before each detail (phone · email · address · ABN) */
.footer__col:last-child > a, .footer__col:last-child > span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.footer__col:last-child > a::before, .footer__col:last-child > span::before {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: -4px;
  border-radius: 8px;
  background-color: rgba(192, 20, 26, 0.14);
  background-position: center;
  background-size: 15px;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(192, 20, 26, 0.3);
  transition: background-color 0.3s;
}
.footer__col:last-child > a:hover::before { background-color: rgba(192, 20, 26, 0.35); }
.footer__col:last-child > a[href^="tel:"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff5a5f' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1Z'/%3E%3C/svg%3E");
}
.footer__col:last-child > a[href^="mailto:"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff5a5f' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z'/%3E%3C/svg%3E");
}
.footer__col:last-child > span:nth-of-type(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff5a5f' d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7Zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
}
.footer__col:last-child > span:nth-of-type(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff5a5f' d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm1 2v10h16V7H4Zm2 2h5v2H6V9Zm0 4h8v2H6v-2Zm10-4h2v2h-2V9Z'/%3E%3C/svg%3E");
}
.footer__col:not(:last-child) a:hover::before { transform: translateX(3px); }
.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer__credit { margin-left: auto; }
.footer__credit a { color: var(--white); transition: color 0.3s; }
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--red-bright); }
.footer__top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--reveal-ease);
}
.footer__top svg { width: 20px; height: 20px; fill: var(--white); }
.footer__top:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
@media (max-width: 760px) {
  .footer__credit { margin-left: 0; }
}

/* Sticky call (mobile) */
.sticky-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--red);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(150, 1, 1, 0.5);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.sticky-call svg { width: 18px; height: 18px; fill: var(--white); }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__row { grid-template-columns: repeat(3, auto); }
}
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --slant: 18px; }
  .services__grid { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: 1fr 1fr; }
  .trust__item { font-size: 0.78rem; white-space: normal; }
  .footer__grid { grid-template-columns: 1fr; }
  .sticky-call { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   HEADER — "hanging badge"
   Blade-shaped glass bar · centred logo badge that hangs below ·
   split navigation · mega menu · glowing call button
   ========================================================= */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  transition: top 0.5s var(--ease), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 70px)); }
.hdr {
  --hdr-h: 74px;
  --tip: 24px;
  position: relative;
  max-width: 1360px;
  height: var(--hdr-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  isolation: isolate;
  transition: height 0.5s var(--ease);
}

/* ---------- Bar background ---------- */
.hdr-bar {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hdr-bar__edge, .hdr-bar__bg {
  position: absolute;
  clip-path: polygon(var(--tip) 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, var(--tip) 100%, 0 50%);
}

/* 1px gradient edge */
.hdr-bar__edge {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 60%, rgba(192, 20, 26, 0.5));
}
.hdr-bar__bg {
  inset: 1px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.95), rgba(8, 8, 8, 0.93));
}

/* red light under the badge */
.hdr-bar__bg::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

/* glow that follows the cursor */
.hdr-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(192, 20, 26, 0.3), transparent 70%);
  transition: opacity 0.4s;
}
.hdr:hover .hdr-glow { opacity: 1; }

/* scroll progress */
.hdr-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright));
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}

/* ---------- Sides ---------- */
.hdr-side {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}
.hdr-side--left { padding-left: calc(var(--tip) + 18px); }
.hdr-side--right { padding-right: calc(var(--tip) - 6px); }
.hdr-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
}

/* ---------- Links ---------- */
.hdr-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 27px); }
.hdr-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.hdr-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 6px;
  height: 6px;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hdr-link:hover,
.hdr-link.is-active,
.hdr-drop:hover > .hdr-link,
.hdr-drop.is-open > .hdr-link {
  color: var(--white);
}
.hdr-link:hover::after,
.hdr-link.is-active::after,
.hdr-drop:hover > .hdr-link::after,
.hdr-drop.is-open > .hdr-link::after {
  transform: translateX(-50%) rotate(45deg) scale(1);
}

/* Letter roll (JS splits the text into .roll__row > .ch) */
.roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.3;
  vertical-align: top;
}
.roll__row { display: block; white-space: pre; }
.roll__row + .roll__row {
  position: absolute;
  left: 0;
  top: 100%;
  color: var(--white);
}
.roll .ch {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  transition-delay: calc(var(--i) * 22ms);
}
.hdr-link:hover .roll .ch, .hdr-link:focus-visible .roll .ch { transform: translateY(-100%); }
.hdr-chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  transition: transform 0.4s var(--ease);
}
.hdr-drop:hover .hdr-chevron, .hdr-drop.is-open .hdr-chevron {
  transform: rotate(180deg);
  color: var(--red-bright);
}

/* ---------- Mega menu ---------- */
.hdr-drop { position: static; }
.mega {
  position: absolute;
  top: calc(100% + 50px);
  left: 0;
  right: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.15fr;
  gap: 12px;
  padding: 14px;
  background: rgba(10, 10, 10, 0.97);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s;
}

/* invisible bridge so the menu stays open while the cursor travels down */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 52px;
}
.hdr-drop:hover .mega, .hdr-drop.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__card {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
  background: var(--surface-2);
}
.mega__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.9s var(--reveal-ease), opacity 0.5s;
}
.mega__card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--reveal-ease);
}
.mega__text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 16px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
}
.mega__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  font-stretch: 110%;
}
.mega__text small { color: var(--text-muted); font-size: 0.8rem; }
.mega__card:hover img { transform: scale(1.1); opacity: 0.88; }
.mega__card:hover::after { transform: scaleX(1); }
.mega__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px 10px 18px;
}
.mega__cta .eyebrow { margin: 0; }
.mega__cta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.mega__cta .btn { padding: 13px 22px; font-size: 0.8rem; }

/* cards cascade in */
.mega__card, .mega__cta {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega__card { transition: opacity 0.5s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s; }
.hdr-drop:hover .mega__card,
.hdr-drop:hover .mega__cta,
.hdr-drop.is-open .mega__card,
.hdr-drop.is-open .mega__cta {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s + var(--i) * 0.06s);
}

/* ---------- Hanging logo badge ---------- */
.hdr-logo {
  position: relative;
  z-index: 3;
  align-self: start;
  display: block;
  margin: 0 clamp(16px, 2.4vw, 40px);
  filter: drop-shadow(0 3px 0 var(--red)) drop-shadow(0 16px 24px rgba(150, 1, 1, 0.35));
  transition: transform 0.5s var(--ease);
}
.hdr-logo__plate {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 10px 30px 18px;
  background: #000;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 84% 100%, 16% 100%, 0 70%);
}
.hdr-logo img {
  display: block;
  height: 95px;
  width: auto;
  transition: height 0.5s var(--ease);
}

/* light sweep across the badge */
.hdr-logo__plate::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-150%) skewX(-20deg);
  animation: badgeShine 7s ease-in-out 3s infinite;
}
@keyframes badgeShine {
  0%, 80% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(330%) skewX(-20deg); }
}
.hdr-logo:hover { transform: translateY(3px); }

/* ---------- Call button with travelling border light ---------- */
.hdr-cta {
  --cut: 14px;
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  padding: 2px;
  overflow: hidden;
  background: var(--red-dark);
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
}
.hdr-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  aspect-ratio: 1;
  background: conic-gradient(var(--red-dark) 0deg, #fff 30deg, var(--red-bright) 70deg, var(--red-dark) 140deg, var(--red-dark) 360deg);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: spinBorder 3.5s linear infinite;
}
@keyframes spinBorder {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.hdr-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 26px 8px 18px;
  background: var(--red);
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.hdr-cta:hover .hdr-cta__inner { background: var(--red-bright); }
.hdr-cta__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
}
.hdr-cta__icon svg {
  width: 17px;
  height: 17px;
  fill: var(--white);
  animation: ring 4s ease-in-out 2s infinite;
}
.hdr-cta__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: ripple 4s ease-out 2s infinite;
}
@keyframes ring {
  0%, 12%, 100% { transform: rotate(0); }
  2%, 6%, 10% { transform: rotate(-14deg); }
  4%, 8% { transform: rotate(14deg); }
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  20%, 100% { transform: scale(1.7); opacity: 0; }
}
.hdr-cta__text { display: flex; flex-direction: column; line-height: 1.1; }
.hdr-cta__text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hdr-cta__text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  font-stretch: 110%;
  white-space: nowrap;
}

/* ---------- Burger ---------- */
.hdr-burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.hdr-burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: var(--white);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease), width 0.3s;
}
.hdr-burger span:first-child { top: calc(50% - 4px); }
.hdr-burger span:last-child { top: calc(50% + 3px); width: 13px; }
.hdr-burger[aria-expanded="true"] span:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.hdr-burger[aria-expanded="true"] span:last-child {
  top: calc(50% - 1px);
  width: 20px;
  transform: rotate(-45deg);
}

/* ---------- Scrolled (compact) ---------- */
.site-header.is-scrolled { top: 8px; }
.site-header.is-scrolled .hdr { --hdr-h: 62px; }
.site-header.is-scrolled .hdr-logo img { height: 62px; }


/* =========================================================
   INTRO ANIMATION (only with JS)
   ========================================================= */
.js .hdr-bar { animation: barGrow 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.js .hdr-logo { animation: badgeDrop 1s cubic-bezier(0.34, 1.4, 0.64, 1) 0.45s both; }
.js .hdr-status, .js .hdr-link, .js .hdr-burger {
  animation: hdrItemIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.6s + var(--n, 0) * 0.06s);
}
.js .hdr-cta {
  animation: hdrItemIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(0.6s + var(--n, 0) * 0.06s) both;
}
@keyframes barGrow {
  from { opacity: 0; transform: scaleX(0.2); }
  to { opacity: 1; transform: none; }
}
@keyframes badgeDrop {
  from { opacity: 0; transform: translateY(-130%); }
  to { opacity: 1; transform: none; }
}
@keyframes hdrItemIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}


/* =========================================================
   MOBILE MENU
   ========================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  flex-direction: column;
  justify-content: space-between;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__nav a {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  text-transform: uppercase;
  transition: color 0.3s;
}
.mobile-menu__nav a:hover { color: var(--red-bright); }
.mobile-menu__foot { color: var(--text-muted); font-size: 0.9rem; }
.mobile-menu__social {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mobile-menu__nav a, .mobile-menu__foot {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}
.mobile-menu.is-open .mobile-menu__nav a,
.mobile-menu.is-open .mobile-menu__foot {
  opacity: 1;
  transform: none;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.is-open .mobile-menu__foot { transition-delay: 0.45s; }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .hdr-status { display: none; }
  .hdr-side--left { justify-content: flex-end; }
  .hdr-cta__text small { display: none; }
}
@media (max-width: 1080px) {
  .hdr { grid-template-columns: auto 1fr; }
  .hdr-side--left, .hdr-nav { display: none; }
  .hdr-logo { margin-left: calc(var(--tip) + 4px); }
  .hdr-side--right { justify-content: flex-end; gap: 10px; }
  .hdr-burger { display: block; }
}
@media (max-width: 760px) {
  .site-header { top: 10px; padding: 0 12px; }
  .hdr, .site-header.is-scrolled .hdr { --hdr-h: 62px; --tip: 16px; }
  .hdr-logo__plate { padding: 8px 18px 14px; }
  .hdr-logo img, .site-header.is-scrolled .hdr-logo img { height: 54px; }
  .hdr-cta__inner { padding: 6px 14px; }
  .hdr-cta__text { display: none; }
  .hdr-burger { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .hdr-cta::before,
  .hdr-cta__icon svg,
  .hdr-cta__icon::after,
  .hdr-logo__plate::after {
    animation: none;
  }
}


/* =========================================================
   HERO — cinematic "cleaning pass"
   Layers (back → front):
   scenes · shade · ghost text · steam · beam · grain · letterbox · content
   ========================================================= */
.hero {
  --hero-ease: cubic-bezier(0.77, 0, 0.18, 1);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 0 clamp(90px, 11vw, 150px);
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

/* ---------- Scenes ---------- */
.hero__bg { position: absolute; inset: -6% 0; z-index: -6; }
.hero__scenes {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--mx, 0) * -16px), calc(var(--my, 0) * -10px), 0) scale(1.05);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.scene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
}
.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

/* background video */
.scene video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.scene--video.is-active video, .scene--video.is-entering video {
  animation: videoDrift 22s ease-in-out infinite alternate;
}
@keyframes videoDrift {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}

/* No-JS fallback: show the first real scene */
html:not(.js) .scene:first-child { opacity: 1; }
.scene--dirty { display: none; }
.js .scene--dirty { display: block; opacity: 1; z-index: 0; }
.scene--dirty img { transform: scale(1.14); }

/* the grime is baked into slide2-dirty.jpg (no live filter) */
.scene.is-prev { opacity: 1; z-index: 2; }
.scene.is-active { opacity: 1; z-index: 3; }
.scene.is-entering { opacity: 1; z-index: 4; animation: sceneWipe 1.6s var(--hero-ease) both; }
@keyframes sceneWipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* Slow Ken Burns drift on whichever scene is on screen */
.scene.is-entering img, .scene.is-active img, .scene.is-prev img { animation: kenBurns 10s linear both; }
@keyframes kenBurns {
  from { transform: scale(1.16) translateX(var(--kx, 0)); }
  to { transform: scale(1.02) translateX(0); }
}

/* ---------- Shade + vignette ---------- */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 70% 45%, transparent 0%, rgba(0, 0, 0, 0.55) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.68) 40%, rgba(0, 0, 0, 0.12) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, transparent 38%), linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 25%);
}

/* ---------- Giant drifting outline word ---------- */
.hero__ghost {
  position: absolute;
  left: 0;
  bottom: 16%;
  z-index: -4;
  display: flex;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 20rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
}
.hero__ghost span { padding-right: 0.3em; }

/* ---------- Steam canvas ---------- */
.hero__steam {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Cleaning beam ----------
   The layer spans the hero and slides with transform, so the sweep
   never triggers layout or repaints. The line is its left edge. */
.hero__beam {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  pointer-events: none;
}

/* bright line + soft trail behind it */
.hero__beam::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -260px;
  width: 262px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 70%, rgba(255, 255, 255, 0.18) calc(100% - 2px), #fff calc(100% - 2px));
}

/* red/white glow around the line */
.hero__beam::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80px;
  width: 160px;
  background: radial-gradient(ellipse 50% 45% at 50% 46%, rgba(255, 255, 255, 0.5) 0%, rgba(192, 20, 26, 0.35) 30%, transparent 70%);
}
.hero__beam.is-sweeping { animation: beamSweep 1.6s var(--hero-ease) both; }
@keyframes beamSweep {
  0% { transform: translateX(0); opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* ---------- Film grain ---------- */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Letterbox curtain (opens on load) ---------- */
.hero__letterbox { display: none; }
.js .hero__letterbox {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}
.js .hero__letterbox::before, .js .hero__letterbox::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #000;
  animation: barOpen 1.3s var(--hero-ease) 0.15s both;
}
.js .hero__letterbox::before { top: 0; transform-origin: top; box-shadow: 0 1px 0 var(--red); }
.js .hero__letterbox::after { bottom: 0; transform-origin: bottom; box-shadow: 0 -1px 0 var(--red); }
@keyframes barOpen {
  to { transform: scaleY(0); }
}

/* ---------- Edge labels ---------- */
.hero__side {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__side--left { left: 22px; transform: translateY(-50%) rotate(180deg); }
.hero__side--left::after {
  content: "";
  width: 1px;
  height: 56px;
  background: var(--red-bright);
}
.hero__side--right { right: 22px; transform: translateY(-50%); transition: color 0.3s; }
.hero__side--right:hover { color: var(--white); }
.scroll-cue span {
  position: relative;
  display: block;
  width: 1px;
  height: 70px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--red-bright);
  animation: cue 2.2s var(--hero-ease) infinite;
}
@keyframes cue {
  to { top: 100%; }
}
.js .hero__side { animation: fadeIn 1s ease 2.2s backwards; }
@keyframes fadeIn {
  from { opacity: 0; }
}

/* ---------- Slide indicator (video · image · image) ---------- */
.hero__pager {
  position: absolute;
  left: calc(max(0px, (100% - var(--container)) / 2) + var(--gutter));
  bottom: clamp(96px, 12vw, 160px);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero__dot {
  position: relative;
  width: 34px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width 0.5s var(--reveal-ease);
}
.hero__dot i {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.4s;
}
.hero__dot:hover i { background: rgba(255, 255, 255, 0.7); }
.hero__dot.is-active { width: 60px; }
.hero__dot.is-active i { background: var(--red-bright); box-shadow: 0 0 10px rgba(192, 20, 26, 0.7); }
.js .hero__pager { animation: fadeIn 1s ease 2.2s backwards; }
@media (max-width: 760px) {
  .hero__pager { left: 16px; bottom: 74px; }
}

/* ---------- Content ---------- */
.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.8rem, 6.4vw, 6.2rem);
  font-weight: 900;
  font-stretch: 115%;
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.07em;
  margin-bottom: -0.07em;
}
.hero__line > span { display: inline-block; }
.js .hero__line > span { transform: translateY(108%); animation: lineUp 1.2s var(--reveal-ease) both; }
.js .hero__line:nth-child(1) > span { animation-delay: 1s; }
.js .hero__line:nth-child(2) > span { animation-delay: 1.12s; }
.js .hero__line:nth-child(3) > span { animation-delay: 1.24s; }
@keyframes lineUp {
  to { transform: none; }
}

/* Rotating word, synced with the scenes */
.hero__rotator {
  position: relative;
  display: inline-grid;
  vertical-align: top;
  overflow: hidden;
  padding-right: 0.06em;
  color: var(--red-bright);
}
.hero__rotator b {
  grid-area: 1 / 1;
  font-weight: inherit;
  transform: translateY(105%);
  transition: transform 1s var(--hero-ease);
}
.hero__rotator b.is-active { transform: none; transition-delay: 0.25s; }
.hero__rotator b.is-leaving { transform: translateY(-105%); }
html:not(.js) .hero__rotator b:first-child { transform: none; }
.hero__lead {
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Quick quote ---------- */
.quick-quote {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  background: rgba(12, 12, 12, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(0 0, calc(100% - var(--slant)) 0, 100% var(--slant), 100% 100%, 0 100%);
}
.quick-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright), #ff5a5f, var(--red-bright), var(--red-dark));
}
.quick-quote__head { display: flex; align-items: center; gap: 10px; }
.quick-quote__head h2 {
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
}
.quick-quote__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.quick-quote .field input, .quick-quote .field textarea { padding: 10px 12px; }
.quick-quote .field textarea { min-height: 62px; }
.quick-quote__head { margin-bottom: 14px; }
.quick-quote__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.quick-quote__note a { color: var(--white); font-weight: 700; }
.quick-quote__note a:hover { color: var(--red-bright); }

/* ---------- Scene timeline ---------- */
.hero__swoosh {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  width: 100%;
  height: clamp(60px, 9vw, 120px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hero__side { display: none; }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .quick-quote { max-width: 560px; }
  .hero__shade {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, transparent 40%);
  }
}
@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .hero__ghost { bottom: 40%; }
  .quick-quote__row { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero__letterbox, .hero__beam, .hero__steam, .js .scene--dirty { display: none; }
  .js .hero__line > span { transform: none; animation: none; }
  .scene img { animation: none !important; }
}

/* ---------- Phones: quote form sits below the banner ---------- */
.mobile-quote { display: none; }
@media (max-width: 760px) {
  .mobile-quote {
    display: block;
    position: relative;
    z-index: 2;
    padding: 28px 0 8px;
    background: var(--bg);
  }
  .mobile-quote .quick-quote { max-width: none; }

  /* the hero no longer needs room for the form */
  .hero { min-height: 88svh; }
}


/* =========================================================
   ABOUT — editorial layout
   ========================================================= */
.about { overflow: hidden; }
.about__intro { max-width: 1120px; margin-bottom: clamp(48px, 6vw, 84px); }
.about__headline {
  font-size: clamp(2.2rem, 5.4vw, 4.8rem);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

/* let columns shrink below their content (the tab row scrolls instead of stretching the layout) */
.about__grid > * { min-width: 0; }

/* ---------- Media ---------- */
.about__media { position: relative; padding: 0 0 70px; }

/* red outline frame offset behind the photo */
.about__media::before {
  content: "";
  position: absolute;
  top: 26px;
  right: -26px;
  bottom: 44px;
  left: 26px;
  border: 1px solid rgba(192, 20, 26, 0.6);
  z-index: 0;
}
.about__img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 78% 100%, 0 100%);
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }

/* the reveal wipes upward using the same 5-point shape */
.js .about__img[data-reveal="clip"] { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 100% 100%, 0 100%); }
.js .about__img[data-reveal="clip"].is-in { clip-path: polygon(0 0, 100% 0, 100% 82%, 78% 100%, 0 100%); }

/* rotating seal */
.about__seal {
  position: absolute;
  left: -36px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 24px 50px rgba(150, 1, 1, 0.45);
}
.about__seal-ring { position: absolute; inset: 4px; animation: sealSpin 24s linear infinite; }
.about__seal-ring text {
  fill: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
@keyframes sealSpin {
  to { transform: rotate(360deg); }
}
.about__seal-core { position: relative; text-align: center; line-height: 1; }
.about__seal-core strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  font-stretch: 115%;
}
.about__seal-core sup { font-size: 1.1rem; }
.about__seal-core span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* floating fact card */
.about__float {
  position: absolute;
  top: 44px;
  right: -28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  padding: 16px 20px;
  background: rgba(14, 14, 14, 0.96);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red-bright);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.about__float-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(192, 20, 26, 0.18);
}
.about__float-icon svg { width: 22px; height: 22px; fill: var(--red-bright); }
.about__float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}
.about__float span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- Body ---------- */
.about__lede {
  margin-bottom: 34px;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--white);
}
.about__tabs {
  position: relative;
  display: flex;
  gap: 4px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.about__tab {
  padding: 14px 16px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-dim);
  transition: color 0.3s;
}
.about__tab:hover, .about__tab.is-active { color: var(--white); }
.about__tabs-ink {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-bright);
  box-shadow: 0 0 12px var(--red-bright);
  transition: left 0.45s var(--reveal-ease), width 0.45s var(--reveal-ease);
}

/* no-JS: underline the first tab */
html:not(.js) .about__tab.is-active { box-shadow: inset 0 -2px 0 var(--red-bright); }
.about__panels { min-height: 200px; }
.about__panel p { color: var(--text-muted); }
.about__panel.is-active { animation: panelIn 0.6s var(--reveal-ease) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
}
.about__values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.about__values li {
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.about__values li > span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--red-bright);
  padding-top: 2px;
}
.about__values strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
  color: var(--white);
}
.about__audience { display: flex; flex-wrap: wrap; gap: 10px; }
.about__audience li {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color 0.3s, background 0.3s;
}
.about__audience li:hover { border-color: var(--red-bright); background: rgba(192, 20, 26, 0.12); }
.about__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}
.about__call {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
}
.about__call small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.about__call strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 110%;
  transition: color 0.3s;
}
.about__call:hover strong { color: var(--red-bright); }


/* =========================================================
   HOW IT WORKS — a path that draws itself through 4 stops
   ========================================================= */
.process { overflow: hidden; }
.process__glow {
  position: absolute;
  top: 58%;
  left: 50%;
  width: min(1000px, 90vw);
  height: 520px;
  translate: -50% -50%;
  background: radial-gradient(ellipse, rgba(150, 1, 1, 0.22), transparent 65%);
  pointer-events: none;
}
.process__lead { max-width: 560px; margin: 18px auto 0; color: var(--text-muted); }
.journey { position: relative; }
.journey__path {
  position: absolute;
  top: 160px;
  left: 0;
  width: 100%;
  height: 200px;
  overflow: visible;
  pointer-events: none;
}
.journey__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 2;
  stroke-dasharray: 6 9;
}
.journey__line {
  fill: none;
  stroke: var(--red-bright);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--jd, 0);
}
.journey__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.jstep {
  display: grid;
  grid-template-rows: 190px 140px 190px;
  justify-items: center;
  padding: 0 12px;
  text-align: center;
}
.jstep__node { grid-row: 2; align-self: center; }
.jstep:nth-child(odd) .jstep__card { grid-row: 1; align-self: end; }
.jstep:nth-child(even) .jstep__card { grid-row: 3; align-self: start; }
.jstep__card {
  position: relative;
  max-width: 270px;
  padding: 22px 22px 24px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  transition: border-color 0.5s, transform 0.6s var(--reveal-ease), background 0.5s;
}

/* little connector from card to node */
.jstep__card::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 26px;
  background: var(--line-strong);
  transition: background 0.5s;
}
.jstep:nth-child(odd) .jstep__card::after { top: 100%; }
.jstep:nth-child(even) .jstep__card::after { bottom: 100%; }
.jstep__card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  font-stretch: 110%;
}
.jstep__card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.jstep__card a { color: var(--white); font-weight: 600; }
.jstep__node {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #111;
  border: 1px solid var(--line-strong);
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.jstep__node svg {
  width: 30px;
  height: 30px;
  fill: var(--text-dim);
  transition: fill 0.4s;
}
.jstep__num {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  transition: background 0.4s, border-color 0.4s;
}

/* expanding ring once a stop is reached */
.jstep__node::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid var(--red-bright);
  opacity: 0;
}

/* lit state: always on without scroll FX, otherwise switched on by scroll.js */
html:not(.has-scroll-fx) .jstep__node, .jstep.is-lit .jstep__node {
  background: radial-gradient(circle at 35% 30%, var(--red-bright), var(--red-dark));
  border-color: var(--red-bright);
  box-shadow: 0 0 0 8px rgba(192, 20, 26, 0.12), 0 18px 40px rgba(150, 1, 1, 0.45);
  transform: scale(1.06);
}
html:not(.has-scroll-fx) .jstep__node svg, .jstep.is-lit .jstep__node svg { fill: var(--white); }
html:not(.has-scroll-fx) .jstep__num, .jstep.is-lit .jstep__num {
  background: #000;
  border-color: var(--red-bright);
}
.jstep.is-lit .jstep__node::before { animation: nodeRing 1.2s ease-out; }
@keyframes nodeRing {
  from { opacity: 0.9; transform: scale(1); }
  to { opacity: 0; transform: scale(1.8); }
}
html:not(.has-scroll-fx) .jstep__card, .jstep.is-lit .jstep__card {
  border-color: rgba(192, 20, 26, 0.45);
  background: linear-gradient(180deg, rgba(150, 1, 1, 0.1), var(--surface-1));
}
.jstep.is-lit .jstep__card::after { background: var(--red-bright); }


/* =========================================================
   FAQ — sticky intro + animated accordion
   ========================================================= */
.faq { overflow: hidden; }
.faq__bgword {
  position: absolute;
  top: 30px;
  right: -2vw;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(9rem, 26vw, 26rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
}
.faq__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__side { position: sticky; top: 120px; }
.faq__intro { max-width: 360px; margin: 18px 0 32px; color: var(--text-muted); }
.faq__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--slant)) 0, 100% var(--slant), 100% 100%, 0 100%);
}
.faq__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 1.2s var(--reveal-ease);
}
.faq__card:hover img { transform: scale(1.06); }
.faq__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 10%, rgba(80, 0, 0, 0.35));
}
.faq__card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px;
}
.faq__card-body strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  font-stretch: 110%;
}
.faq__card-body span { color: var(--text-muted); font-size: 0.92rem; }
.faq__card-body .btn { margin-top: 14px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--line);
  transition: border-color 0.4s, background 0.4s;
}
.faq__item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 3px;
  background: var(--red-bright);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--reveal-ease);
}
.faq__item:hover { border-color: var(--line-strong); }
.faq__item.is-open {
  background: linear-gradient(100deg, rgba(150, 1, 1, 0.18), var(--surface-1) 60%);
  border-color: rgba(192, 20, 26, 0.35);
}
.faq__item.is-open::before { transform: scaleY(1); }
.faq__q {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--white);
}
.faq__num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  font-stretch: 115%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.faq__text {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.35;
  transition: color 0.3s;
}
.faq__q:hover .faq__text { color: var(--white); }
.faq__item.is-open .faq__num { color: var(--red-bright); -webkit-text-stroke-color: var(--red-bright); }

/* plus → minus */
.faq__icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform 0.5s var(--reveal-ease), background 0.3s, border-color 0.3s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--white);
  transition: transform 0.4s var(--reveal-ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q:hover .faq__icon { border-color: var(--red-bright); }
.faq__item.is-open .faq__icon { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }

/* smooth height without measuring: 0fr → 1fr */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--reveal-ease); }
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: 0;
  padding: 0 24px 24px 84px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s, transform 0.5s var(--reveal-ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: 0.1s; }

/* no-JS: everything readable */
html:not(.js) .faq__a { grid-template-rows: 1fr; }
html:not(.js) .faq__a p { opacity: 1; transform: none; }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__float { right: 0; }
  .about__seal { left: 0; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .faq__card { max-width: 520px; }
}

/* How it works: vertical timeline on tablets and phones
   (the horizontal journey needs desktop width for its fixed-height rows) */
@media (max-width: 1080px) {
  .journey__path { display: none; }
  .journey__steps { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .journey__steps::before, .journey__steps::after {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 44px;
    left: 43px;
    width: 2px;
  }
  .journey__steps::before { background: rgba(255, 255, 255, 0.12); }
  .journey__steps::after {
    background: var(--red-bright);
    transform-origin: top;
    transform: scaleY(var(--jp, 1));
  }
  .journey { max-width: 760px; margin: 0 auto; }
  .jstep {
    grid-template-rows: auto;
    grid-template-columns: 88px 1fr;
    align-items: center;
    justify-items: stretch;
    gap: 20px;
    padding: 0;
    text-align: left;
  }
  .jstep__node {
    justify-self: start;
    grid-row: 1;
    grid-column: 1;
    position: relative;
    z-index: 1;
  }
  .jstep:nth-child(odd) .jstep__card, .jstep:nth-child(even) .jstep__card {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    justify-self: stretch;
    max-width: none;
  }
  .jstep__card::after { display: none; }
}
@media (max-width: 760px) {
  .about__values { grid-template-columns: 1fr; }
  .about__tabs { overflow-x: auto; scrollbar-width: none; }
  .about__seal-ring text { font-size: 15px; }
  .about__float {
    position: relative;
    top: auto;
    right: auto;
    margin: -40px 16px 0 auto;
  }
  .about__media { padding-bottom: 20px; }
  .about__media::before { right: -10px; left: 10px; }
  .about__call { padding-left: 0; border-left: 0; }
  .faq__q { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 18px 16px; }
  .faq__num { font-size: 1.15rem; }
  .faq__text { font-size: 0.98rem; }
  .faq__a p { padding: 0 16px 20px 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .about__seal-ring { animation: none; }
}


/* =========================================================
   WHY CHOOSE US — stacking cards
   Cards are position:sticky, so they pile up natively as you scroll;
   scroll.js only adds the shrink + dim on the card being covered.
   ========================================================= */
.why {
  overflow: clip;
  background: radial-gradient(ellipse 55% 40% at 80% 5%, rgba(150, 1, 1, 0.25), transparent 70%), #0a0a0a;
}
.why__stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 30px;
}
.stack-card {
  --top: calc(110px + var(--i) * 26px);
  position: sticky;
  top: var(--top);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 60px);
  min-height: min(560px, calc(100vh - var(--top) - 40px));
  padding: clamp(26px, 4vw, 52px);
  overflow: hidden;
  border-radius: 26px;
  transform-origin: 50% 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}

/* darkening layer driven by --dim as the next card covers this one */
.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  background: #000;
  opacity: var(--dim, 0);
}

/* ---------- colour variants ---------- */
.stack-card--dark {
  color: var(--white);
  background: radial-gradient(circle at 0% 0%, rgba(192, 20, 26, 0.18), transparent 40%), linear-gradient(150deg, #1e1e1e, #101010);
  border: 1px solid rgba(255, 255, 255, 0.08);
  --c-muted: #b5b5b5;
  --c-line: rgba(255, 255, 255, 0.14);
  --c-num: rgba(255, 255, 255, 0.35);
}
.stack-card--light {
  color: #121212;
  background: linear-gradient(150deg, #f7f5f2, #ebe7e2);
  --c-muted: #555;
  --c-line: rgba(0, 0, 0, 0.14);
  --c-num: rgba(0, 0, 0, 0.28);
}
.stack-card--red {
  color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(255, 130, 130, 0.38), transparent 45%), linear-gradient(150deg, var(--red-bright) 0%, var(--red) 35%, #3d0000 100%);
  --c-muted: rgba(255, 255, 255, 0.85);
  --c-line: rgba(255, 255, 255, 0.3);
  --c-num: rgba(255, 255, 255, 0.55);
}

/* ---------- content ---------- */
.stack-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stack-card__top { display: flex; align-items: center; gap: 16px; }
.stack-card__num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 900;
  font-stretch: 120%;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-num);
}
.stack-card__tag {
  padding: 7px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.stack-card h3 {
  max-width: 15ch;
  margin: clamp(22px, 3vw, 36px) 0 16px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.stack-card p {
  max-width: 470px;
  margin: 0 0 26px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--c-muted);
}
.stack-card__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-card__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}
.stack-card__facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
}

/* ---------- photo ---------- */
.stack-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}
.stack-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--reveal-ease);
}
.stack-card:hover .stack-card__media img { transform: scale(1.05); }
.stack-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 40%);
}

/* ---------- finale card ---------- */
.stack-card__big {
  display: block;
  font-size: clamp(4.2rem, 9vw, 8rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.stack-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}
.stack-card__btn { background: #fff; color: var(--red); }
.stack-card__btn:hover { background: #000; color: #fff; }
.stack-card__call { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.stack-card__call strong { color: #fff; }
.stack-card__call:hover strong { text-decoration: underline; }
.stack-card__seal { position: relative; display: grid; place-items: center; }
.stack-card__seal svg {
  position: relative;
  width: min(230px, 60%);
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

/* slowly rotating dashed rings around the shield (transform only) */
.stack-card__seal::before, .stack-card__seal::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  animation: sealSpin 40s linear infinite;
}
.stack-card__seal::before { width: min(360px, 90%); }
.stack-card__seal::after {
  width: min(270px, 68%);
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.15);
  animation-direction: reverse;
  animation-duration: 60s;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .stack-card {
    --top: calc(86px + var(--i) * 14px);
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 20px;
    padding: 22px;
    border-radius: 20px;
  }
  .stack-card__media { order: -1; height: 190px; }
  .stack-card h3 { margin-top: 18px; }
  .stack-card__seal { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-card__seal::before, .stack-card__seal::after { animation: none; }
}


/* =========================================================
   Prestige Carpet Cleaning — Animations
   Hidden start states only apply when JS is running (html.js),
   so the page is fully visible without JavaScript.
   ========================================================= */
:root { --reveal-dur: 0.9s; --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1); --reveal-dist: 40px; }


/* =========================================================
   BUTTONS — light sweep on hover
   ========================================================= */
.btn { overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s var(--reveal-ease);
  pointer-events: none;
}
.btn:hover::before { left: 125%; }
.btn:active { transform: scale(0.97); }


/* =========================================================
   GENERIC SCROLL REVEALS
   data-reveal="up | down | left | right | scale | fade | clip | clip-left"
   data-delay="0.2"   (seconds)
   data-stagger       (on a parent: children reveal in sequence)
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transition: opacity var(--reveal-dur) var(--reveal-ease), transform var(--reveal-dur) var(--reveal-ease), clip-path 1.2s var(--reveal-ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal="up"] { transform: translateY(var(--reveal-dist)); }
.js [data-reveal="down"] { transform: translateY(calc(var(--reveal-dist) * -1)); }
.js [data-reveal="left"] { transform: translateX(calc(var(--reveal-dist) * -1.5)); }
.js [data-reveal="right"] { transform: translateX(calc(var(--reveal-dist) * 1.5)); }
.js [data-reveal="scale"] { transform: scale(0.88); }
.js [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

/* Images inside clip reveals settle from a slight zoom */
.js [data-reveal^="clip"] img {
  transform: scale(1.25);
  transition: transform 1.6s var(--reveal-ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal^="clip"].is-in img { transform: scale(1); }


/* =========================================================
   SPLIT TEXT (data-split) — words rise from a mask
   ========================================================= */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-word__inner { display: inline-block; }
.js [data-split] .split-word__inner {
  transform: translateY(110%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1s var(--reveal-ease);
  transition-delay: calc(var(--delay, 0s) + var(--i, 0) * 0.06s);
}
.js [data-split].is-in .split-word__inner { transform: none; }


/* =========================================================
   HERO
   ========================================================= */

/* Swoosh layers rise in one after another */
.js .hero__swoosh path { animation: swooshIn 1.4s var(--reveal-ease) both; }
.js .hero__swoosh path:nth-child(1) { animation-delay: 0.9s; }
.js .hero__swoosh path:nth-child(2) { animation-delay: 1.05s; }
.js .hero__swoosh path:nth-child(3) { animation-delay: 1.2s; }
@keyframes swooshIn {
  from { transform: translate(-6%, 60%); opacity: 0; }
  to { transform: none; opacity: 1; }
}


/* =========================================================
   SECTIONS
   ========================================================= */

/* Eyebrow line draws in with its section */
.js .eyebrow::before {
  transform: skewX(-30deg) scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--reveal-ease) 0.2s;
}
.js .eyebrow.is-in::before { transform: skewX(-30deg) scaleX(1); }

/* Trust icons spin in */
.js .trust__item svg {
  transform: rotate(-90deg) scale(0.4);
  transition: transform 0.8s var(--reveal-ease);
  transition-delay: var(--delay, 0s);
}
.js .trust__item.is-in svg { transform: none; }

/* Service card: icon badge pops on hover */
.service-card__icon { transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.service-card:hover .service-card__icon { transform: translateY(-6px) rotate(-8deg) scale(1.06); }


/* =========================================================
   REDUCED MOTION — show everything, no movement
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-split] .split-word__inner,
  .js [data-reveal^="clip"] img,
  .js .trust__item svg,
  .js .eyebrow::before {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .js .eyebrow::before { transform: skewX(-30deg) !important; }
}


/* =========================================================
   Prestige Carpet Cleaning — Scroll-driven cinematics
   Everything here is driven by assets/js/scroll.js (GSAP ScrollTrigger + Lenis).
   Without those libraries the page falls back to the normal layout.
   ========================================================= */

/* ---------- Lenis smooth scroll ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Parallax hooks ----------
   Uses the individual `translate` / `scale` properties so it never fights
   the `transform` used by reveal animations and hover effects. */
.has-scroll-fx [data-speed] { translate: 0 var(--py, 0px); }
.has-scroll-fx [data-inner] { translate: var(--ix, 0px) var(--iy, 0px); scale: var(--is, 1); }


/* =========================================================
   TRUST — velocity-reactive marquee
   ========================================================= */
.trust--marquee {
  overflow: hidden;
  padding: 34px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust--marquee .trust__row {
  display: flex;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.trust--marquee .trust__item { position: relative; padding: 0 40px; font-size: 1.05rem; }
.trust--marquee .trust__item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: translateY(-50%) rotate(45deg);
}


/* =========================================================
   SERVICES — pinned horizontal track (desktop)
   ========================================================= */
.service-card--end, .services__progress, .services__hint { display: none; }
.services--h {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 130px 0 60px;
  overflow: hidden;
}
.services--h .section-head { margin-bottom: 36px; }
.services--h .services__grid { display: flex; gap: 24px; width: max-content; }
.services--h .service-card { width: clamp(340px, 29vw, 440px); flex-shrink: 0; }
.services--h .service-card__img { aspect-ratio: 16 / 10; }
.services--h .service-card--end {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 40px;
  background: linear-gradient(135deg, var(--red-dark), #1a0000 75%);
  border-color: rgba(192, 20, 26, 0.45);
}
.service-card--end .eyebrow { margin: 0; color: rgba(255, 255, 255, 0.75); }
.service-card--end .eyebrow::before { background: var(--white); }
.service-card--end h3 {
  font-size: 2rem;
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.05;
  margin: 0;
}
.service-card--end p { flex: 0; margin: 0; color: rgba(255, 255, 255, 0.75); }
.service-card--end .btn--red { background: var(--white); color: #000; }
.service-card--end .btn--red:hover { background: #000; color: var(--white); }
.services--h .services__progress {
  display: block;
  position: relative;
  max-width: 360px;
  height: 2px;
  margin-top: 40px;
  background: var(--line);
}
.services__progress span {
  position: absolute;
  inset: 0;
  background: var(--red-bright);
  transform-origin: left;
  transform: scaleX(0);
}
.services--h .services__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}
.services__hint::after {
  content: "→";
  display: inline-block;
  color: var(--red-bright);
  animation: nudge 1.4s ease-in-out infinite;
}
@keyframes nudge {
  50% { transform: translateX(6px); }
}


/* =========================================================
   FOOTER — curtain reveal (content lifts off the footer)
   ========================================================= */
@media (min-width: 761px) and (min-height: 600px) {
  main {
    position: relative;
    z-index: 1;
    background: var(--bg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
  }
  .site-footer { position: sticky; bottom: 0; z-index: 0; }
}

/* footer taller than the screen: no curtain (it would hide the footer's top) */
html.no-curtain main { box-shadow: none; }
html.no-curtain .site-footer { position: relative; }


/* =========================================================
   BEFORE → AFTER REVEAL
   Static fallback: full-bleed clean photo with the message on top.
   With scroll FX: a small "dirty" window expands to full screen,
   a cleaning beam wipes it clean, then the message rises in.
   ========================================================= */
.reveal { position: relative; background: #000; }
.reveal__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}
.reveal__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #000;
}
.reveal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.reveal__img--dirty { display: none; }

/* cleaning beam: a frame-wide layer slid with transform; the line is its left edge */
.reveal__beam {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.reveal__beam::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30vw;
  width: calc(30vw + 2px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.2) calc(100% - 2px), #fff calc(100% - 2px));
}
.reveal__beam::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -90px;
  width: 180px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 255, 255, 0.45) 0%, rgba(192, 20, 26, 0.35) 30%, transparent 70%);
}

/* before / after labels inside the frame */
.reveal__tag {
  display: none;
  position: absolute;
  bottom: 40px;
  z-index: 3;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--line-strong);
}
.reveal__tag--before { right: 40px; color: var(--text-muted); }
.reveal__tag--after { left: 40px; color: var(--white); border-color: var(--red-bright); }
.reveal__shade {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.15) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 45%);
}
.reveal__content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.reveal__title {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  font-weight: 900;
  font-stretch: 115%;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.reveal__lead {
  max-width: 480px;
  margin-bottom: 36px;
  font-size: 1.08rem;
  color: var(--text-muted);
}
.reveal__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 40px;
}
.reveal__stats li { padding-left: 16px; border-left: 3px solid var(--red); }
.reveal__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  font-stretch: 115%;
  line-height: 1;
}
.reveal__stats span { font-size: 0.82rem; color: var(--text-dim); }

/* giant flanking words + cue (only used with scroll FX) */
.reveal__word, .reveal__cue { display: none; }

/* clip values come from CSS variables so GSAP tweens plain numbers */
.has-scroll-fx .reveal__frame { clip-path: inset(var(--ct, 0%) var(--cx, 0%) round var(--cr, 0px)); }
.has-scroll-fx .reveal__img--clean { clip-path: inset(0 var(--wipe, 0%) 0 0); }
.has-scroll-fx .reveal__img--dirty,
.has-scroll-fx .reveal__beam,
.has-scroll-fx .reveal__tag {
  display: block;
}
.has-scroll-fx .reveal__word {
  display: block;
  position: absolute;
  top: 50%;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.has-scroll-fx .reveal__word--l { left: 6vw; translate: 0 -50%; rotate: 180deg; }
.has-scroll-fx .reveal__word--r {
  right: 6vw;
  translate: 0 -50%;
  -webkit-text-stroke-color: rgba(192, 20, 26, 0.7);
}
.has-scroll-fx .reveal__cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  bottom: 4vh;
  z-index: 2;
  translate: -50% 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.has-scroll-fx .reveal__cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--red-bright), transparent);
  animation: cueDrop 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (max-width: 760px) {
  .reveal__tag { bottom: 24px; }
  .reveal__tag--before { right: 16px; }
  .reveal__tag--after { left: 16px; }
  .has-scroll-fx .reveal__word { font-size: 3.4rem; -webkit-text-stroke-width: 1px; }
  .has-scroll-fx .reveal__word--l { left: 3vw; }
  .has-scroll-fx .reveal__word--r { right: 3vw; }
}


/* =========================================================
   Prestige Carpet Cleaning — LAPTOP heading sizes
   Laptops (≈13–15", 1025–1600px wide) get smaller headings.
   Large desktops and phones are unaffected. Loaded last.
   ========================================================= */
@media (min-width: 1025px) and (max-width: 1600px) {
  /* hero: "Bring your carpets back to life." */
  .hero__title { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }

  /* section headings ("Our cleaning services", "Questions? Answered." …) */
  .section-title { font-size: clamp(1.9rem, 3vw, 2.7rem); }

  /* About: "A family business built on old-fashioned values." */
  .about__headline { font-size: clamp(2rem, 3.6vw, 3.4rem); }

  /* Why choose us cards */
  .stack-card h3 { font-size: clamp(1.8rem, 2.9vw, 2.7rem); }
  .stack-card__big { font-size: clamp(3.4rem, 6vw, 5.6rem); }

  /* Before → After: "From tired to spotless." */
  .reveal__title { font-size: clamp(2.6rem, 4.8vw, 4.6rem); }

  /* CTA banner: "Ready for carpets that look brand new?" */
  .cta-band h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }

  /* Contact: "Let's get your place spotless." */
  .console__title { font-size: clamp(1.8rem, 2.7vw, 2.5rem); }
}

/* short laptop screens (e.g. 1366×768): a little smaller again so the hero fits */
@media (min-width: 1025px) and (max-width: 1600px) and (max-height: 820px) {
  .hero__title { font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
  .hero__lead { font-size: 1rem; margin-bottom: 28px; }
}

/* Header on narrow desktops / iPad landscape (1081–1420px):
   the split nav + phone button don't fit, so the call button becomes icon-only
   (it still dials 0416 017 333 and keeps its "Call…" label for screen readers). */
@media (min-width: 1081px) and (max-width: 1420px) {
  .hdr-cta__text { display: none; }
  .hdr-cta__inner { padding: 8px 18px 8px 16px; }
  .hdr-nav { gap: 16px; }
  .hdr-link { letter-spacing: 0.08em; }
  .hdr-logo { margin: 0 14px; }
}

/* Header from 1421px up: keep the full phone button, tighten spacing so it fits beside the 95px logo */
@media (min-width: 1421px) {
  .hdr-nav { gap: 20px; }
  .hdr-logo { margin: 0 18px; }
  .hdr-cta__inner { padding: 8px 18px 8px 14px; gap: 10px; }
  .hdr-cta__text strong { font-size: 1rem; }
}


/* =========================================================
   Prestige Carpet Cleaning — PHONE + TABLET refinements
   (≤ 1080px, or any touch screen). Loaded last.
   Bigger tap areas for small links, without changing how they look.
   ========================================================= */
@media (max-width: 1080px), (pointer: coarse) {
  /* slide indicator bars: easier to tap */
  .hero__dot { height: 34px; }

  /* "Learn more" links in the service cards */
  .link-arrow { padding: 8px 0; }

  /* phone numbers inside sentences ("or call 0416 017 333") */
  .quick-quote__note a, .console__note a, .jstep__card a, .stack-card__call {
    display: inline-block;
    padding: 8px 2px;
    margin: -8px 0;
  }
}

/* phones only: layout tweaks */
@media (max-width: 760px) {
  /* About: seal moves to the photo's top-right corner so it never collides with the fact card */
  .about__seal {
    top: -22px;
    right: -6px;
    bottom: auto;
    left: auto;
    width: 112px;
    height: 112px;
  }
  .about__seal-core strong { font-size: 1.6rem; }
  .about__seal-core span { font-size: 0.6rem; }

  /* footer: leave room so the floating "Call now" button never covers the bottom bar */
  .site-footer { padding-bottom: 76px; }
}


/* =========================================================
   OFF-CANVAS MENU (phones + tablets)
   Overrides the old full-screen menu styles in header.css.
   ========================================================= */
.mobile-menu {
  z-index: 260;
  display: block;
  padding: 0;
  background: none;
  clip-path: none;
  opacity: 1;
  visibility: hidden;
  transition: visibility 0s linear 0.42s;
}
.mobile-menu.is-open { visibility: visible; clip-path: none; transition: visibility 0s; }
.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.45s ease;
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 380px);
  padding: 18px 24px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(118deg, transparent 72%, rgba(150, 1, 1, 0.45) 72%, rgba(150, 1, 1, 0.45) 74%, transparent 74%), radial-gradient(ellipse 80% 40% at 100% 0%, rgba(150, 1, 1, 0.35), transparent 70%), #0b0b0b;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__logo img { display: block; height: 52px; width: auto; }
.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.4s ease;
}
.mobile-menu__close svg { width: 20px; height: 20px; fill: #fff; }
.mobile-menu__close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

/* links: rows with a sliding arrow */
.mobile-menu__nav { display: flex; flex-direction: column; gap: 0; }
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  opacity: 0;
  transform: translateX(28px);
}
.mobile-menu__nav a::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c0141a' d='M13 5l7 7-7 7-1.4-1.4 4.6-4.6H4v-2h12.2l-4.6-4.6L13 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s ease;
}
.mobile-menu__nav a:hover::after, .mobile-menu__nav a:focus-visible::after { transform: translateX(4px); }
.mobile-menu__nav a.is-active { color: var(--red-bright); }
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
  opacity: 0;
  transform: translateX(28px);
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; }
.mobile-menu__foot .btn { align-self: stretch; }
.mobile-menu__mail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

/* one line on normal phones; wraps only on very small screens */
.mobile-menu__mail svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #ff5a5f;
}
.mobile-menu__social { display: flex; gap: 10px; }
.mobile-menu__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  transition: background 0.3s, transform 0.3s;
}
.mobile-menu__social a:hover { background: var(--red-bright); transform: translateY(-2px); }
.mobile-menu__social svg { width: 17px; height: 17px; fill: #fff; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu__panel,
  .mobile-menu__backdrop,
  .mobile-menu__nav a,
  .mobile-menu__foot {
    transition: none !important;
  }
}

/* ---------- Services dropdown inside the off-canvas menu ---------- */
.mm-group { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.mm-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
  transition-delay: 0.2s;
}
.mobile-menu.is-open .mm-toggle { opacity: 1; transform: none; }
.mm-toggle[aria-expanded="true"] { color: var(--red-bright); }

/* chevron that flips when open */
.mm-chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c0141a' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s ease;
}
.mm-toggle[aria-expanded="true"] .mm-chev { transform: rotate(180deg); }

/* smooth open/close without measuring heights */
.mm-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mm-group.is-open .mm-sub { grid-template-rows: 1fr; }
.mm-sub__inner { overflow: hidden; }
.mobile-menu .mm-sub a {
  justify-content: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 10px 14px;
  border-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  opacity: 1;
  transform: none;
}
.mobile-menu .mm-sub a::after { display: none; }
.mobile-menu .mm-sub a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red-bright);
}
.mobile-menu .mm-sub a:hover { color: var(--white); }
.mobile-menu .mm-sub a.mm-sub__all { color: var(--white); font-weight: 600; padding-bottom: 14px; }

/* =========================================================
   ON THE JOB — job videos, one plays at a time
   ========================================================= */
.reels {
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(150, 1, 1, 0.2), transparent 70%),
    #070707;
}
.reels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.reel {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111;
  transform: scale(0.96);
  transition: transform 0.7s var(--ease), border-color 0.5s, box-shadow 0.7s;
}
.reel:nth-child(3n + 2) { margin-top: clamp(30px, 5vw, 70px); } /* middle column sits lower */
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: opacity 0.6s; }
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 25%, transparent 55%, rgba(0, 0, 0, 0.85) 100%);
}
.reel.is-live { transform: none; border-color: rgba(192, 20, 26, 0.8); box-shadow: 0 30px 70px rgba(150, 1, 1, 0.35); }
.reel.is-live video { opacity: 1; }
.reel__btn { position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; background: transparent; cursor: pointer; }
.reel__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
  transition: background 0.4s;
}
.reel__tag i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.reel.is-playing .reel__tag { background: var(--red); }
.reel.is-playing .reel__tag i { background: #fff; animation: reelBlink 1.2s ease-in-out infinite; }
@keyframes reelBlink { 50% { opacity: 0.25; } }
.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(150, 1, 1, 0.25);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.reel__play svg { width: 26px; height: 26px; margin-left: 3px; fill: #fff; }
.reel.is-playing .reel__play { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
.reel__cap { position: absolute; left: 18px; right: 18px; bottom: 22px; z-index: 3; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.reel__cap strong { font-family: var(--font-display); font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 800; line-height: 1.15; }
.reel__cap a { align-self: flex-start; font-size: 0.82rem; color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--red-bright); text-underline-offset: 3px; pointer-events: auto; transition: color 0.3s; }
.reel__cap a:hover { color: var(--white); }
.reel__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: rgba(255, 255, 255, 0.12); }
.reel__bar i { position: absolute; inset: 0; background: var(--red-bright); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 1080px) {
  .reels__grid { grid-template-columns: 1fr 1fr; }
  .reel:nth-child(3n + 2) { margin-top: 0; }
  .reel:nth-child(even) { margin-top: clamp(30px, 5vw, 70px); }
}
@media (max-width: 760px) {
  .reels__grid { gap: 10px; }
  .reel { border-radius: 12px; }
  .reel:nth-child(even) { margin-top: 24px; }
  .reel__tag { top: 8px; left: 8px; padding: 4px 9px; font-size: 0.68rem; }
  .reel__play { width: 46px; height: 46px; }
  .reel__play svg { width: 20px; height: 20px; }
  .reel__cap { left: 10px; right: 10px; bottom: 14px; }
  .reel__cap strong { font-size: 0.92rem; }
  .reel__cap a { font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reel.is-playing .reel__tag i { animation: none; }
}
