/* =============================================================
   DELUGE PRODUCTIONS — STYLESHEET
   -------------------------------------------------------------
   To change site colors, edit the variables just below.
   Everything else on the site pulls from these values.
   ============================================================= */
:root {
  --ink: #04070f;            /* page background */
  --navy-1: #060b1a;         /* alternate section background */
  --navy-2: #0a1430;         /* card background base */
  --brand: #2e3192;          /* Deluge logo blue */
  --electric: #2f6bff;       /* bright action blue */
  --bright: #4f8ff7;         /* accent blue */
  --ice: #a8c8ff;            /* pale blue */
  --foam: #eaf2ff;           /* near-white text */
  --muted: #8fa3c8;          /* secondary text */
  --line: rgba(120, 160, 255, 0.14);   /* hairline borders */
  --glow: rgba(47, 107, 255, 0.35);    /* blue glow */
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--ink);
  color: var(--foam);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--bright); text-decoration: none; }

h1, h2, h3 {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }

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

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: #1b2a55;
  border-radius: 6px;
  border: 2px solid var(--ink);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- full-page background video (behind everything) ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.page-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0.66), rgba(4, 7, 15, 0.82));
}

.section { position: relative; padding: 110px 0; }

.section-alt {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(46, 49, 146, 0.2), transparent 65%),
    rgba(6, 11, 26, 0.72);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bright);
  margin-bottom: 16px;
}

.lede { color: var(--muted); font-size: 1.1rem; margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--electric), var(--brand) 90%);
  box-shadow: 0 8px 30px var(--glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(47, 107, 255, 0.55);
}

.btn-ghost {
  color: var(--foam);
  border: 1px solid rgba(140, 175, 255, 0.4);
  background: rgba(10, 20, 48, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--bright);
  background: rgba(47, 107, 255, 0.12);
  transform: translateY(-3px);
}

/* ---------- navigation ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(4, 8, 18, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; flex-shrink: 0; }

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--bright));
  transition: right 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--foam); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-phone { padding: 10px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--foam);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--brand), var(--electric), var(--ice));
  box-shadow: 0 0 12px rgba(47, 107, 255, 0.7);
  transition: width 0.1s linear;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(46, 49, 146, 0.35), transparent 60%),
    linear-gradient(180deg, #050a18 0%, #04070f 100%);
}

/* full-bleed hero background video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video-wrap video,
.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 7, 15, 0.62) 0%,
    rgba(4, 7, 15, 0.28) 42%,
    rgba(4, 7, 15, 0.78) 100%
  );
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* slow drifting light blobs behind the water */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.aurora-1 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(46, 49, 146, 0.55), transparent 70%);
  top: -18vw; left: -12vw;
  animation: drift-1 26s ease-in-out infinite alternate;
}
.aurora-2 {
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 70%);
  bottom: -12vw; right: -10vw;
  animation: drift-2 32s ease-in-out infinite alternate;
}
.aurora-3 {
  width: 30vw; height: 30vw;
  background: radial-gradient(circle, rgba(122, 167, 255, 0.22), transparent 70%);
  top: 30%; right: 18%;
  animation: drift-1 40s ease-in-out infinite alternate-reverse;
}
@keyframes drift-1 { to { transform: translate(9vw, 6vh) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-8vw, -7vh) scale(1.1); } }

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 130px 24px 150px;
  max-width: 900px;
}

.hero-logo-wrap {
  position: relative;
  width: min(560px, 82vw);
  margin: 8px auto 30px;
  animation: logo-float 7s ease-in-out infinite;
}
/* soft dark vignette behind the dark logo — calms the water so the mark reads */
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -22% -16%;
  background: radial-gradient(
    ellipse 60% 54% at 50% 47%,
    rgba(2, 6, 20, 0.5),
    rgba(2, 6, 20, 0.22) 55%,
    transparent 78%
  );
  pointer-events: none;
}
.hero-logo {
  width: 100%;
  display: block;
  position: relative;
  filter: drop-shadow(0 14px 40px rgba(2, 6, 20, 0.8));
}

/* soft light glint that travels inside the logo's own shape */
.logo-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 45%,
    rgba(255, 255, 255, 0.12) 49%,
    rgba(226, 240, 255, 0.20) 50%,
    rgba(255, 255, 255, 0.12) 51%,
    transparent 55%
  );
  background-size: 250% 100%;
  background-repeat: no-repeat;
  background-position: 200% 0;
  -webkit-mask-image: url("../images/deluge-logo-dark.png?v=3");
  mask-image: url("../images/deluge-logo-dark.png?v=3");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  animation: logo-sheen 8s ease-in-out infinite;
}
@keyframes logo-sheen {
  0%, 52% { background-position: 200% 0; }
  96%, 100% { background-position: -100% 0; }
}

@keyframes logo-float {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 55px rgba(47, 107, 255, 0.4))
            drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
  }
  50% {
    transform: translateY(-12px);
    filter: drop-shadow(0 0 85px rgba(79, 143, 247, 0.65))
            drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
  }
}

.hero-headline {
  font-size: clamp(1.6rem, 4.2vw, 2.9rem);
  font-weight: 800;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em;
}

.hero-headline .word {
  background: linear-gradient(120deg, #ffffff 10%, var(--ice) 55%, var(--bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(24px);
  animation: word-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-headline .word:nth-child(2) { animation-delay: 0.18s; }
.hero-headline .word:nth-child(3) { animation-delay: 0.36s; }
@keyframes word-rise { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 640px;
  margin: 22px auto 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
  z-index: 3;
}

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 26px; height: 42px;
  border: 2px solid rgba(140, 175, 255, 0.45);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-cue-dot {
  width: 4px; height: 8px;
  border-radius: 3px;
  background: var(--bright);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 26px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.09), rgba(10, 20, 48, 0.65));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
  overflow: hidden;
}

.service-card::before {
  /* moving sheen */
  content: "";
  position: absolute;
  inset: -60% auto auto -60%;
  width: 70%; height: 220%;
  background: linear-gradient(105deg, transparent, rgba(168, 200, 255, 0.08), transparent);
  transform: rotate(18deg) translateX(-120%);
  transition: transform 0.9s ease;
  pointer-events: none;
}
.service-card:hover::before { transform: rotate(18deg) translateX(340%); }

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 160, 255, 0.45);
  box-shadow: 0 24px 60px rgba(47, 107, 255, 0.22);
}

/* photo header bleeding to the card edges */
.card-media {
  margin: -34px -28px 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card-media { position: relative; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.7s ease;
}
.service-card:hover .card-media img { transform: scale(1.1); }

/* silent clip that fades in over the photo on hover */
.card-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.service-card:hover .card-media video.ready { opacity: 1; }

.service-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.service-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.25), rgba(46, 49, 146, 0.4));
  border: 1px solid rgba(120, 160, 255, 0.3);
  box-shadow: 0 6px 22px rgba(47, 107, 255, 0.25);
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--ice); }

.service-card h3 { font-size: 1.22rem; }
.service-card p { color: var(--muted); font-size: 0.97rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}
.service-tags span,
.service-tags .tag-chip {
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ice);
  background: rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(120, 160, 255, 0.22);
  padding: 5px 12px;
  border-radius: 999px;
}
.service-tags .tag-chip {
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-tags .tag-chip::after {
  content: " +";
  color: var(--bright);
  font-weight: 700;
}
.service-tags .tag-chip:hover {
  background: rgba(47, 107, 255, 0.28);
  border-color: var(--bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.35);
}

/* ---------- sports / shows chip clouds ---------- */
.covered-block {
  text-align: center;
  margin-top: 80px;
}
.covered-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.covered-lede { color: var(--muted); max-width: 640px; margin: 0 auto 26px; font-size: 0.98rem; }

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.chip-cloud .tag-chip { font-size: 0.82rem; padding: 8px 16px; }

/* image-backed media tiles (sports & shows) */
.tile-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.media-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--navy-2);
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.media-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 15, 0.05) 30%, rgba(3, 6, 15, 0.85));
}
.media-tile .mt-label {
  position: absolute;
  left: 12px; right: 10px; bottom: 10px;
  z-index: 2;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--foam);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.media-tile .mt-play {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  color: var(--foam);
  background: rgba(4, 8, 18, 0.65);
  border: 1px solid rgba(140, 175, 255, 0.45);
  opacity: 0.85;
}
.media-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 160, 255, 0.55);
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.28);
}
.media-tile:hover img { transform: scale(1.1); }

/* ---------- about & stats ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 80px;
}

.about-text .eyebrow { margin-bottom: 14px; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.03rem; }

.about-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 22px;
  box-shadow: 0 24px 60px rgba(3, 8, 24, 0.6);
  aspect-ratio: 16 / 9;
}
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.about-photo img.active {
  opacity: 1;
  animation: ken-burns 9s ease-in-out forwards;
}
@keyframes ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.stat-card {
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.1), rgba(10, 20, 48, 0.6));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(120, 160, 255, 0.4); }

.stat-number {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(120deg, #fff 15%, var(--bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.why-item {
  border-left: 2px solid var(--electric);
  padding: 6px 0 6px 24px;
}
.why-item h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--foam); }
.why-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- process timeline ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.07), rgba(10, 20, 48, 0.55));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.process-step:hover { transform: translateY(-6px); border-color: rgba(120, 160, 255, 0.4); }

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(120deg, var(--bright), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: 0.94rem; }

/* connecting line on wide screens */
@media (min-width: 1000px) {
  .process-grid { position: relative; }
  .process-grid::before {
    content: "";
    position: absolute;
    top: 46px; left: 4%; right: 4%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 160, 255, 0.35), transparent);
  }
}

/* ---------- testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 60px;
}

.testimonial {
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.07), rgba(10, 20, 48, 0.55));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 18px;
  font-family: Georgia, serif;
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(120, 160, 255, 0.35);
}
.testimonial p {
  color: var(--muted);
  font-size: 0.96rem;
  font-style: italic;
  margin: 14px 0 18px;
}
.testimonial .who {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--foam);
}
.testimonial .who span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--bright);
  margin-top: 3px;
}

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--navy-2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.gallery-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 160, 255, 0.45);
  box-shadow: 0 22px 55px rgba(47, 107, 255, 0.22);
}

.gallery-tile img,
.gallery-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}
.gallery-tile:hover img,
.gallery-tile:hover video { transform: scale(1.08); }

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 15, 0.88));
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--foam);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.gallery-tile:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.gallery-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--foam);
  background: rgba(4, 8, 18, 0.72);
  border: 1px solid rgba(140, 175, 255, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 20px;
  background: rgba(2, 4, 10, 0.93);
  backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; }

.lightbox-content img,
.lightbox-content video {
  max-width: min(1100px, 92vw);
  max-height: 76vh;
  border-radius: 14px;
  border: 1px solid rgba(120, 160, 255, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.lightbox-caption {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--ice);
}

.lightbox-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 760px;
  text-align: center;
  margin-top: -8px;
}

.lightbox-content img { animation: lb-drift 14s ease-in-out infinite alternate; }
@keyframes lb-drift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 26px;
  width: 46px; height: 46px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--foam);
  background: rgba(10, 20, 48, 0.7);
  border: 1px solid rgba(120, 160, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease;
}
.lightbox-close:hover { background: var(--brand); }

body.no-scroll { overflow: hidden; }

/* ---------- the story of deluge ---------- */
.story-head { text-align: center; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--brand);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 0 0 14px 0;
}
.skip-link:focus { left: 0; }
.story-logo {
  display: block;
  width: min(230px, 55vw);
  margin: 0 auto 20px;
  filter: drop-shadow(0 8px 24px rgba(2, 6, 20, 0.7));
}
.story-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}
.story-step {
  text-align: center;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.06), rgba(10, 20, 48, 0.5));
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.story-step:hover { transform: translateY(-5px); border-color: rgba(120, 160, 255, 0.4); }
.story-step:hover .story-icon {
  border-color: rgba(120, 160, 255, 0.55);
  box-shadow: 0 0 20px rgba(47, 107, 255, 0.35);
}
/* each icon comes alive on hover — a drip, a rainfall, a rolling swell */
.story-drop:hover .story-icon svg path {
  transform-box: fill-box;
  transform-origin: 50% 100%;   /* squash happens at the point of impact */
  animation: story-drip 2.8s ease-in infinite;
}
/* the full life of a drop: forms above, falls (accelerating), splashes flat
   and dissipates at the bottom, then slowly forms and falls again */
@keyframes story-drip {
  0% { transform: translateY(-6px) scale(1); opacity: 0; }
  12% { opacity: 1; }
  68% { transform: translateY(6px) scale(1); opacity: 1; }
  78% { transform: translateY(7px) scaleX(1.5) scaleY(0.45); opacity: 0.8; }
  90% { transform: translateY(7px) scaleX(1.9) scaleY(0.2); opacity: 0; }
  100% { transform: translateY(-6px) scale(1); opacity: 0; }
}
.story-deluge:hover .story-icon svg path { animation: story-rain 1.3s linear infinite; }
/* negative delays: all three drops are already mid-fall the moment the hover
   starts, so the rain reads as continuous instead of popping in */
.story-deluge:hover .story-icon svg path:nth-child(2) { animation-delay: -0.45s; }
.story-deluge:hover .story-icon svg path:nth-child(3) { animation-delay: -0.9s; }
@keyframes story-rain {
  0% { transform: translateY(-5px); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(7px); opacity: 0; }
}
.story-wave:hover .story-icon svg path:first-child { animation: story-flow 1.5s linear infinite; }
@keyframes story-flow {
  from { transform: translateX(0); }
  to { transform: translateX(10px); }
}
.story-wave:hover .story-icon svg path:last-child {
  transform-box: fill-box;
  transform-origin: 18% 96%;
  animation: story-rise 3s ease-in-out infinite;
}
/* the curl sinks into the water, swells back up out of it, pitches
   forward like a breaking crest, and settles into its resting shape
   at the end of every loop */
@keyframes story-rise {
  0% { transform: scale(1) translateY(0) rotate(0deg); opacity: 1; }
  12% { transform: scale(0.28) translateY(1.6px) rotate(0deg); opacity: 0.45; }
  30% { transform: scale(0.55) translateY(0.9px) rotate(-2deg); opacity: 0.8; }
  55% { transform: scale(1.1) translateY(-0.6px) rotate(-3deg); opacity: 1; }
  72% { transform: scale(1.04) translateY(0) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) translateY(0) rotate(0deg); opacity: 1; }
}
.story-step + .story-step::after {
  content: "";
  position: absolute;
  left: -20px; top: 50%;
  width: 11px; height: 11px;
  border-top: 2px solid rgba(120, 160, 255, 0.5);
  border-right: 2px solid rgba(120, 160, 255, 0.5);
  transform: translateY(-50%) rotate(45deg);
}
.story-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.25), rgba(46, 49, 146, 0.4));
  border: 1px solid rgba(120, 160, 255, 0.3);
}
.story-icon svg { width: 27px; height: 27px; stroke: var(--ice); }
.story-step h3 { color: var(--ice); margin-bottom: 10px; font-size: 1.08rem; }
.story-step p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.story-closing {
  text-align: center;
  margin-top: 36px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--foam);
  font-size: 1.08rem;
}
@media (max-width: 860px) {
  .story-flow { grid-template-columns: 1fr; }
  .story-step + .story-step::after {
    left: 50%; top: -19px;
    transform: translateX(-50%) rotate(135deg);
  }
}

/* ---------- featured projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.08), rgba(10, 20, 48, 0.6));
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 160, 255, 0.45);
  box-shadow: 0 24px 60px rgba(47, 107, 255, 0.22);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}
.project-card:hover .project-media img { transform: scale(1.09); }

.project-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foam);
  background: rgba(4, 8, 18, 0.72);
  border: 1px solid rgba(140, 175, 255, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  backdrop-filter: blur(6px);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}
.project-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.project-body p { color: var(--muted); font-size: 0.95rem; }

.project-stats {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
.project-stat {
  flex: 1;
  text-align: center;
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(120, 160, 255, 0.2);
  border-radius: 12px;
  padding: 10px 6px;
}
.project-stat .n {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  background: linear-gradient(120deg, #fff 20%, var(--bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.project-stat .l {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

/* ---------- coverage map ---------- */
.coverage-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 0 0;
}
#coverage-map { width: 100%; height: auto; display: block; }

#coverage-map .land-dot { fill: rgba(120, 160, 255, 0.22); }
#coverage-map .land-dot.dim { fill: rgba(120, 160, 255, 0.11); }
#coverage-map .inset-box {
  fill: none;
  stroke: rgba(120, 160, 255, 0.3);
  stroke-width: 0.25;
}
#coverage-map .inset-label {
  font-family: "Sora", sans-serif;
  font-size: 1.9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  fill: rgba(143, 163, 200, 0.8);
}
#coverage-map .city-dot {
  fill: var(--bright);
  filter: drop-shadow(0 0 3px rgba(79, 143, 247, 0.9));
}
#coverage-map .city-dot.pulse { animation: pin-pulse 2.6s ease-in-out infinite; }
#coverage-map .hq-dot {
  fill: #ffffff;
  filter: drop-shadow(0 0 6px rgba(140, 190, 255, 1));
}
#coverage-map .hq-ring {
  fill: none;
  stroke: rgba(140, 190, 255, 0.8);
  stroke-width: 0.3;
  animation: hq-ring 2.4s ease-out infinite;
  transform-origin: center;
}
#coverage-map .hq-label {
  font-family: "Sora", sans-serif;
  font-size: 2.6px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: var(--ice);
}
@keyframes pin-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}
@keyframes hq-ring {
  from { r: 1.2; opacity: 0.9; }
  to { r: 5; opacity: 0; }
}

/* ---------- anywhere / turnkey band ---------- */
.anywhere-band {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.1), rgba(10, 20, 48, 0.65));
  margin-bottom: 64px;
}
.anywhere-media { position: relative; min-height: 280px; }
.anywhere-media img,
.anywhere-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anywhere-case {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 2px solid var(--electric);
  background: rgba(47, 107, 255, 0.08);
  border-radius: 0 12px 12px 0;
}
.anywhere-case .case-label {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bright);
  margin-bottom: 8px;
}
.anywhere-case p { color: var(--muted); font-size: 0.92rem; }
.anywhere-text { padding: 38px 40px; }
.anywhere-text h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 8px 0 14px; }
.anywhere-text > p:not(.eyebrow) { color: var(--muted); font-size: 0.98rem; }

.anywhere-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 20px;
}
.anywhere-bullets li {
  color: var(--ice);
  font-size: 0.9rem;
  font-weight: 600;
  padding-left: 22px;
  position: relative;
}
.anywhere-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bright);
  font-weight: 700;
}
@media (max-width: 860px) {
  .anywhere-band { grid-template-columns: 1fr; }
  .anywhere-media { min-height: 200px; }
  .anywhere-bullets { grid-template-columns: 1fr; }
}

.intl-row { text-align: center; margin-top: 40px; }
.intl-title {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 16px;
}
.intl-row .tag-chip { cursor: default; }
.intl-row .tag-chip::after { content: ""; }
.intl-row .tag-chip:hover { transform: none; box-shadow: none; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.06), rgba(10, 20, 48, 0.55));
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: rgba(120, 160, 255, 0.45); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--foam);
}
.faq-q .faq-icon {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(140, 175, 255, 0.4);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--bright);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(47, 107, 255, 0.2);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- clients marquee ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 10px 0 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

.client-chip {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ice);
  white-space: nowrap;
  padding: 16px 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 20, 48, 0.5);
  opacity: 0.75;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.client-chip:hover { opacity: 1; border-color: rgba(120, 160, 255, 0.45); }

/* ---------- contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact-pitch h2 { margin-bottom: 8px; }

.phone-big {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 26px 0 30px;
  background: linear-gradient(120deg, #fff 20%, var(--bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter 0.3s ease;
}
.phone-big:hover { filter: drop-shadow(0 0 18px rgba(79, 143, 247, 0.7)); }

.contact-pitch .hero-ctas { justify-content: flex-start; }

.contact-card {
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.1), rgba(10, 20, 48, 0.65));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px 30px;
  box-shadow: 0 24px 70px rgba(3, 8, 24, 0.6);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; }

.contact-row .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row .value {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--foam);
  text-align: right;
}
.contact-row a.value:hover { color: var(--bright); }

/* ---------- rentals pages ---------- */
.page-bg.static {
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(46, 49, 146, 0.3), transparent 60%),
    var(--ink);
}

.nav-links a.active { color: var(--foam); }
.nav-links a.active::after { right: 0; }
.nav-links a.nav-rentals { color: var(--ice); }

.page-hero {
  position: relative;
  padding: 170px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0.75), rgba(4, 7, 15, 0.92));
}
.page-hero-inner { position: relative; text-align: center; max-width: 820px; }
.page-hero-inner h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-bottom: 6px; }
.page-hero-inner .lede { margin-bottom: 30px; }

.rental-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.rental-feature {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.08), rgba(10, 20, 48, 0.6));
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.rental-feature:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 160, 255, 0.5);
  box-shadow: 0 24px 60px rgba(47, 107, 255, 0.25);
}
.rf-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.rf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.rental-feature:hover .rf-media img { transform: scale(1.08); }
.rf-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.rf-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.rf-body p { color: var(--muted); font-size: 0.93rem; margin-bottom: 14px; }
.rf-more {
  margin-top: auto;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--bright);
}

.shelves-section { position: relative; overflow: hidden; }
.shelves-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.shelves-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(0.5) saturate(1.1);
  transform: scale(1.08);
}
.shelves-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0.86), rgba(4, 7, 15, 0.78));
}
.shelves-section .container { position: relative; z-index: 1; }

.rental-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
@media (min-width: 1000px) {
  .rental-cats { grid-template-columns: repeat(3, 1fr); }
}
.rental-cat.rc-wide { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .rental-cat.rc-wide ul { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 30px; }
}
@media (min-width: 1000px) {
  .rental-cat.rc-wide ul { grid-template-columns: repeat(3, 1fr); }
}
.rental-cat {
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.07), rgba(10, 20, 48, 0.55));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 24px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.rental-cat:hover { transform: translateY(-5px); border-color: rgba(120, 160, 255, 0.4); }
.rc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rc-icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.25), rgba(46, 49, 146, 0.4));
  border: 1px solid rgba(120, 160, 255, 0.3);
}
.rc-icon svg { width: 20px; height: 20px; stroke: var(--ice); }
.rc-view {
  margin-left: auto;
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 160, 255, 0.28);
  background: rgba(10, 20, 48, 0.5);
  opacity: 0.55;
  transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.rc-view svg { width: 14px; height: 14px; stroke: var(--ice); }
.rental-cat.rc-click { cursor: pointer; }
.rental-cat.rc-click:hover .rc-view {
  opacity: 1;
  background: var(--brand);
  animation: rc-nudge 1.1s ease-in-out infinite;
}
@keyframes rc-nudge {
  0%, 100% { transform: translate(1px, -1px); }
  50% { transform: translate(4px, -4px); }
}
.rental-cat.rc-click:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; }
.lightbox-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 2px; flex-wrap: wrap; }
.lightbox.cat-box { cursor: pointer; }
.lightbox.cat-box .lightbox-ctas { cursor: auto; }
.lightbox-back {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--foam);
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border: 1px solid rgba(120, 160, 255, 0.35);
  border-radius: 999px;
  background: rgba(10, 20, 48, 0.7);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.lightbox.cat-box:hover .lightbox-back { border-color: rgba(120, 160, 255, 0.6); }
.lightbox-back:hover { background: var(--brand); transform: translateX(-3px); }
.lightbox-back { cursor: pointer; }
.lightbox-close:focus:not(:focus-visible) { outline: none; }
.cat-jump { justify-content: center; margin-bottom: 30px; }
.rental-cat.cat-flash {
  border-color: var(--electric);
  box-shadow: 0 0 0 2px rgba(47, 107, 255, 0.45), 0 0 34px rgba(47, 107, 255, 0.25);
}
.rental-cat h3 {
  font-size: 1.02rem;
  color: var(--ice);
}
.ri-name { display: block; color: var(--foam); font-weight: 500; }
.ri-blurb {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 1px;
}
.rental-cat ul { list-style: none; }
.rental-cat li {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 0 6px 18px;
  position: relative;
}
.rental-cat li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 6px rgba(47, 107, 255, 0.8);
}

/* specialty pages */
.spec-section { padding-top: 150px; }
.back-link {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.back-link:hover { color: var(--bright); }

.spec-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.spec-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(3, 8, 24, 0.6);
  aspect-ratio: 16 / 9;
}
.spec-media img, .spec-media video { width: 100%; height: 100%; object-fit: cover; }

.spec-text h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 10px 0 18px; }
.spec-text p { color: var(--muted); margin-bottom: 16px; }

.includes-head { font-size: 1.02rem; margin: 22px 0 12px; color: var(--ice); }
.includes-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-bottom: 28px;
}
.includes-list li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
}
.includes-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bright);
  font-weight: 700;
}

.spec-related-row {
  text-align: center;
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.spec-related-row .tag-chip { cursor: pointer; }

@media (max-width: 900px) {
  .spec-layout { grid-template-columns: 1fr; gap: 36px; }
  .includes-list { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer {
  text-align: center;
  padding: 70px 24px 50px;
  border-top: 1px solid var(--line);
  background: rgba(6, 11, 26, 0.82);
}

.footer-logo {
  width: 150px;
  margin: 0 auto 22px;
  opacity: 0.35;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-bottom: 22px;
}
.footer-links a {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--bright); }

.site-footer p { color: var(--muted); font-size: 0.85rem; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-social a {
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ice);
  border: 1px solid rgba(120, 160, 255, 0.3);
  border-radius: 999px;
  padding: 7px 16px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.footer-line { margin-bottom: 8px; }

/* ---------- mobile quick action bar ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(4, 8, 18, 0.88);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-cta-btn {
  flex: 1;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 10px;
  border-radius: 12px;
  color: var(--foam);
  border: 1px solid rgba(140, 175, 255, 0.35);
}
.mobile-cta-btn.primary {
  background: linear-gradient(135deg, var(--electric), var(--brand) 90%);
  border: none;
  color: #fff;
}
/* (sticky mobile call/email bar retired — the phone number lives throughout the site) */

/* soft page fade-in once content is rendered */
/* brief entrance fade — content is readable immediately (never a black
   screen) and the fade completes as soon as scripts boot */
html.js body { opacity: 0.4; }
html.js body.loaded { opacity: 1; transition: opacity 0.4s ease-out; }

/* ---------- mobile & iPhone optimization ----------
   Every rule below is scoped to small screens or touch devices,
   so desktop rendering is completely unaffected.            */
html { -webkit-text-size-adjust: 100%; }

@media (max-width: 760px) {
  /* kill any stray horizontal scroll (100vw vs scrollbar quirks) */
  html, body { overflow-x: clip; }

  /* notched iPhones: keep the fixed nav out of the sensor housing */
  .site-nav { padding-top: env(safe-area-inset-top, 0px); }

  /* sports & shows tiles: two-up halves the scroll length */
  .tile-cloud { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .media-tile .mt-label { font-size: 0.68rem; left: 9px; right: 8px; bottom: 8px; }

  /* popups: media + text + buttons can exceed a phone screen — allow scroll */
  .lightbox {
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 78px 0 34px;
  }
  .lightbox-content img,
  .lightbox-content video { max-height: 44vh; }
  .lightbox-sub { padding: 0 20px; }
}

@media (pointer: coarse) {
  /* no hover on touch — make tap affordances visible & comfortable */
  * { -webkit-tap-highlight-color: transparent; }
  .rc-view { opacity: 1; }
  .tag-chip { padding: 10px 16px; }
  .faq-q { min-height: 48px; }
}

@media (max-width: 760px) {
  /* iOS Safari memory guard: no animated blur layers or live backdrop
     blurs over the hero video — these leak compositor memory on iPhone */
  .aurora { display: none; }
  .site-nav, .nav-links {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-nav { background: rgba(4, 8, 18, 0.93); }
  /* let the browser skip rendering (and free) offscreen sections */
  .section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
}

/* ---------- site search ---------- */
.nav-search-btn {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 20, 48, 0.5);
  color: var(--foam);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-search-btn svg { width: 17px; height: 17px; }
.nav-search-btn:hover { border-color: var(--electric); background: rgba(47, 107, 255, 0.15); }
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  justify-content: center;
  background: rgba(3, 6, 16, 0.92);
  backdrop-filter: blur(10px);
  padding: 90px 18px 30px;
}
.search-overlay.open { display: flex; }
.search-box { width: min(560px, 100%); }
.search-box input {
  width: 100%;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--foam);
  background: rgba(10, 20, 48, 0.7);
  border: 1px solid rgba(120, 160, 255, 0.4);
  border-radius: 14px;
  padding: 14px 18px;
  outline: none;
}
.search-box input:focus { border-color: var(--electric); }
.search-results {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 62vh;
  overflow-y: auto;
}
.search-item {
  text-align: left;
  background: rgba(10, 20, 48, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.search-item:hover, .search-item:focus { border-color: var(--electric); background: rgba(47, 107, 255, 0.12); }
.search-item strong { color: var(--ice); font-family: "Sora", sans-serif; font-size: 0.95rem; }
.search-item span { color: var(--muted); font-size: 0.78rem; }
.search-none, .search-hint { color: var(--muted); font-size: 0.85rem; margin-top: 12px; text-align: center; }
@media (max-width: 980px) {
  .nav-search-btn { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
}

/* ---------- back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--foam);
  background: rgba(10, 20, 48, 0.8);
  border: 1px solid rgba(120, 160, 255, 0.3);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .section { padding: 80px 0; }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 73px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(4, 8, 18, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-phone { display: none; }
  .nav-inner { gap: 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo-wrap, .logo-sheen, .aurora, .scroll-cue-dot, .marquee-track, .rc-view,
  .story-icon svg, .story-icon svg path { animation: none !important; }
  .hero-headline .word { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #hero-canvas { display: none; }
}

/* keep phones light: skip the full-page background video layer */
@media (max-width: 760px) {
  .page-bg video { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo img.active { animation: none; }
  .lightbox-content img { animation: none; }
}


/* ============================================================
   INQUIRY FORMS + SERVICE PAGES (v35)
   ============================================================ */
.inq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 30px; max-width: 860px; }
.inq-full { grid-column: 1 / -1; }
.inq-field { display: flex; flex-direction: column; gap: 7px; }
.inq-field label { font-size: 0.76rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.inq-field input, .inq-field select, .inq-field textarea {
  background: rgba(10, 20, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--foam);
  padding: 13px 15px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.inq-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ice) 50%), linear-gradient(135deg, var(--ice) 50%, transparent 50%); background-position: calc(100% - 21px) 55%, calc(100% - 15px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.inq-field input::placeholder, .inq-field textarea::placeholder { color: rgba(143, 163, 200, 0.55); }
.inq-field input:focus, .inq-field select:focus, .inq-field textarea:focus { border-color: var(--bright); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18); }
.inq-field textarea { min-height: 130px; resize: vertical; }
.inq-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.inq-note { color: var(--muted); font-size: 0.92rem; }
.inq-note a { color: var(--ice); }
.inq-status { grid-column: 1 / -1; display: none; padding: 14px 18px; border-radius: 10px; font-weight: 600; line-height: 1.5; }
.inq-status.ok { display: block; background: rgba(52, 199, 123, 0.1); border: 1px solid rgba(52, 199, 123, 0.4); color: #86e8b6; }
.inq-status.err { display: block; background: rgba(255, 99, 99, 0.08); border: 1px solid rgba(255, 99, 99, 0.35); color: #ff9d9d; }
.inq-status.err a { color: #ffc4c4; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .inq-form { grid-template-columns: 1fr; } }

.svc-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; margin: 46px 0; }
.svc-row.flip { grid-template-columns: 0.85fr 1.15fr; }
.svc-row.flip .svc-copy { order: 2; }
.svc-row.flip .svc-media { order: 1; }
.svc-media img { width: 100%; border-radius: 14px; border: 1px solid var(--line); display: block; }
.svc-copy h2 { font-family: "Sora", sans-serif; font-size: 1.5rem; margin-bottom: 12px; color: var(--foam); }
.svc-copy p { color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.svc-copy ul { margin: 10px 0 0 20px; color: var(--muted); line-height: 1.8; }
.svc-copy ul li::marker { color: var(--bright); }
.svc-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 820px) {
  .svc-row, .svc-row.flip { grid-template-columns: 1fr; gap: 22px; }
  .svc-row.flip .svc-copy { order: 1; }
  .svc-row.flip .svc-media { order: 2; }
}

.footer-svc { margin-top: 2px; }
.footer-svc a { font-size: 0.8rem; color: var(--muted); }
.footer-svc a:hover { color: var(--ice); }


/* ============================================================
   HERO MONITOR WALL + SERVICE-PAGE BACK PILL (v36)
   ============================================================ */
.hero-logo-wrap { max-width: 330px; }
.hero-montage { display: flex; gap: 12px; justify-content: center; margin: 20px auto 8px; max-width: 800px; position: relative; z-index: 3; }
.hero-montage > a { width: 19%; display: block; background: #0a0f1e; border: 1px solid rgba(120, 160, 255, 0.3); border-radius: 8px; padding: 5px 5px 0; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5); position: relative; transition: transform 0.25s ease, border-color 0.25s ease; }
.hero-montage > a:hover { transform: translateY(-5px); border-color: rgba(255, 92, 92, 0.75); }
.hero-montage > a:hover::after { content: ""; position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px rgba(255, 59, 48, 0.9); }
.hero-montage img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; display: block; }
.hm-umd { display: block; text-align: center; white-space: nowrap; font-size: 0.58rem; letter-spacing: 0.22em; color: var(--ice); padding: 5px 0 6px; font-weight: 600; font-family: "Inter", sans-serif; }
@media (max-width: 760px) { .hero-montage { flex-wrap: wrap; } .hero-montage > a { width: 30%; } }

.svc-back { display: inline-flex; align-items: center; gap: 6px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.88rem; color: var(--foam); letter-spacing: 0.02em; padding: 9px 20px; border: 1px solid rgba(120, 160, 255, 0.35); border-radius: 999px; background: rgba(10, 20, 48, 0.7); text-decoration: none; transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease; position: absolute; top: 96px; left: 26px; z-index: 5; }
.svc-back:hover { background: var(--brand); border-color: rgba(120, 160, 255, 0.6); transform: translateX(-3px); }
@media (max-width: 760px) { .svc-back { position: static; margin: 0 0 18px; } }


/* ============================================================
   iOS COMPOSITOR GUARD v2 (v38) — phones only
   Kill the remaining forever-running CSS animations that keep GPU
   layers alive over the hero on an idle homepage. On iOS Safari these
   accumulate compositor memory and crash the tab after ~1 min idle.
   Desktop keeps all motion.
   ============================================================ */
@media (max-width: 760px) {
  .hero-logo { animation: none !important; }
  .logo-sheen { animation: none !important; display: none !important; }
  .scroll-cue { animation: none !important; }
  .marquee-track { animation: none !important; }
  /* belt-and-suspenders: no infinite animations anywhere on phones */
  *, *::before, *::after {
    animation-iteration-count: 1 !important;
  }
}


/* phone hero: still frame that cross-fades in over the intro video (v39) */
.hero-video-wrap .hero-still-fade {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-video-wrap .hero-still-fade.shown { opacity: 1; }


/* phone hero video: shift the cover-crop right so the wave's curl is centered
   in the tall portrait frame instead of showing the flat left-side water (v41) */
@media (max-width: 760px) {
  .hero-video-wrap video { object-position: 66% center; }
}


/* calendar picker row under the Event date(s) field (v42) */
.date-pick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.date-pick-lead { font-size: 0.8rem; color: var(--muted); }
.date-pick-sep { font-size: 0.8rem; color: var(--muted); }
.date-pick input[type="date"] {
  background: rgba(10, 20, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--foam);
  padding: 8px 10px;
  font: inherit;
  font-size: 0.9rem;
  color-scheme: dark;
}
.date-pick input[type="date"]:focus { border-color: var(--bright); outline: none; box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18); }
.date-pick-clear {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 7px 12px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.date-pick-clear:hover { color: var(--ice); border-color: rgba(120, 160, 255, 0.5); }
@media (max-width: 480px) { .date-pick-lead { width: 100%; } }


/* privacy / legal page copy (v42) */
.legal-copy { color: var(--muted); line-height: 1.75; }
.legal-copy h2 { font-family: "Sora", sans-serif; font-size: 1.15rem; color: var(--foam); margin: 28px 0 8px; }
.legal-copy p { margin-bottom: 12px; }
.legal-copy a { color: var(--ice); }


/* a11y: inline text links must be distinguishable by more than color, so
   underline links that sit inside running body text (not nav/buttons/chips) —
   fixes Lighthouse "Links rely on color to be distinguishable" (v43) */
p a, .inq-note a, .legal-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* service-page photo captions — name the production type each photo shows (v44) */
.svc-media { margin: 0; }
.svc-cap {
  margin-top: 10px;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.svc-cap:empty { display: none; }


/* rentals quick-jump: make the category jump links read as clean pill buttons
   instead of bare blue text floating on the page (v45) */
.cat-jump .tag-chip {
  background: rgba(10, 20, 48, 0.72);
  border: 1px solid rgba(120, 160, 255, 0.28);
  color: var(--ice);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-jump .tag-chip:hover,
.cat-jump .tag-chip:focus-visible {
  background: var(--brand);
  border-color: var(--bright);
  color: var(--foam);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}


/* link to the printable gear list on the rentals shelves head (v46) */
.gear-list-link { margin-top: 16px; }


/* collapsible sports / shows / virtual tile grids (v49) — the full lists stay
   in the DOM (and the prerendered HTML) for search engines; JS collapses them
   to ~two rows with a "See all" toggle. Mask fade works over any background. */
.tile-collapse {
  position: relative;
  max-height: 246px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.tile-collapse.expanded {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.chips-toggle {
  margin: 18px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 20, 48, 0.72);
  border: 1px solid rgba(120, 160, 255, 0.28);
  color: var(--ice);
  padding: 10px 22px;
  border-radius: 999px;
  font: 600 0.85rem "Sora", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.chips-toggle:hover,
.chips-toggle:focus-visible {
  background: var(--brand);
  border-color: var(--bright);
  color: var(--foam);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}


/* persistent "Pause motion" accessibility control (v50) */
.motion-toggle {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 70;
  background: rgba(10, 20, 48, 0.82);
  border: 1px solid rgba(120, 160, 255, 0.3);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font: 600 0.72rem "Inter", sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.motion-toggle:hover,
.motion-toggle:focus-visible { color: var(--foam); border-color: var(--bright); background: rgba(20, 35, 75, 0.92); }
@media (max-width: 760px) { .motion-toggle { bottom: 76px; } }  /* clear the call/email bar */
@media print { .motion-toggle { display: none; } }

/* everything CSS-animated freezes while motion is paused (videos are paused in JS) */
body.motion-paused *,
body.motion-paused *::before,
body.motion-paused *::after { animation-play-state: paused !important; }


/* search overlay: unobtrusive themed Back button, top-left of the overlay (v51) */
.search-back {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 20, 48, 0.72);
  border: 1px solid rgba(120, 160, 255, 0.28);
  color: var(--muted);
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  font: 600 0.82rem "Sora", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.search-back svg { width: 15px; height: 15px; }
.search-back:hover,
.search-back:focus-visible {
  color: var(--foam);
  background: var(--brand);
  border-color: var(--bright);
  transform: translateX(-2px);
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.35);
}
@media (max-width: 600px) {
  .search-back { top: 14px; left: 14px; padding: 8px 15px 8px 12px; font-size: 0.78rem; }
  .search-overlay { padding-top: 74px; }
}
