/* ===== Red and blue only ===== */
:root, :root[data-theme="dark"] {
  --p1: url("../images/img-8cbd575b64.webp");
  --p2: url("../images/img-e1e3fa1638.webp");
  --p3: url("../images/img-44161220c9.webp");
  --p4: url("../images/img-2f8fe7f881.webp");
  --p5: url("../images/img-5ec73baead.webp");
  --p6: url("../images/img-396da21c1a.webp");
  --p7: url("../images/img-8bd265757e.webp");
  --p8: url("../images/img-f436c38749.webp");
  --p9: url("../images/img-9e97f67e34.webp");
  --red: #53E6D4; --red-soft: #9EF0E4; --blue-deep: #53E6D4; --blue-mid: #53E6D4; --blue-soft: #FFFFFF;
  --ink: #0A1233; --ink-soft: #8792B5; --rule: #DBE1F0; --sheet: #02091A; --blue: #53E6D4;
  --accent: #53E6D4; --rib-1: #53E6D4; --rib-2: #53E6D4; --rib-3: #0A0A0A;
  --obj-a: #0A0A0A; --obj-b: #53E6D4; --obj-c: #FFFFFF; --obj-d: #0A0A0A; --obj-e: #FFFFFF;
  --grad-a: #53E6D4; --grad-b: #53E6D4; --band-grad-a: #53E6D4; --band-grad-b: #53E6D4;
  --nav-box: #53E6D4; --pale: #000B2D; --caps-sky: #D6E1FF; --card-dark: #00081D;
  --why-base: #00081D; --band-blue: #53E6D4;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #0A1233; --ink-soft: #8792B5; --rule: #DBE1F0; --sheet: #02091A; --blue: #53E6D4; } }
.on-black { --ink: #0A1233; --ink-soft: #8792B5; --rule: #DBE1F0; --sheet: #02091A; --blue: #53E6D4; --grad-a: #53E6D4; --grad-b: #53E6D4; }
.shot, .why-card { --grad-a: #53E6D4; --grad-b: #53E6D4; }
.btn-accent, .btn-accent:hover { color: #000000; }
.btn-accent:hover { background: var(--blue-mid); border-color: var(--blue-mid); }
.case { background: #00081D; }

/* ---- hero: the video is the banner, a blue wash keeps the words readable, the 3D shapes float over both ---- */
.hero { color: #000000; background: var(--blue-deep); }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero::after { z-index: -1; background:
  linear-gradient(90deg, rgba(8, 20, 70, 0.86) 0%, rgba(8, 20, 70, 0.62) 38%, rgba(8, 20, 70, 0.22) 68%, rgba(8, 20, 70, 0.38) 100%),
  linear-gradient(0deg, rgba(8, 20, 70, 0.82) 0%, transparent 38%),
  radial-gradient(60% 70% at 85% 30%, rgba(83, 230, 212, 0.28) 0%, transparent 70%); }
#hero-3d { z-index: 0; }
.hero .label { color: rgba(0, 0, 0, 0.82); }
.hero .lede, .hero-strip li { color: #000000; }
.hero h1 .grad { background-image: linear-gradient(90deg, #FFFFFF, #53E6D4); }
.hero-strip { border-top-color: rgba(0, 0, 0, 0.28); }
.hero .btn-dark { background: #000000; border-color: #000000; color: var(--blue-deep); }
.hero .btn-dark:hover { background: var(--blue-mid); border-color: var(--blue-mid); color: #000000; }
.hero :focus-visible { outline-color: #000000; }
/* the words keep a quiet glass panel so they stay readable where the shapes pass behind them */
.hero-copy { max-width: 31rem; padding: clamp(1.25rem, 2.2vw, 2rem); border-radius: var(--radius); background: rgba(8, 20, 70, 0.5); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.hero h1 { text-shadow: 0 2px 24px rgba(8, 20, 70, 0.55); }
.hero-strip li { text-shadow: 0 1px 12px rgba(8, 20, 70, 0.7); }
/* header: white words over the video, then the white bar once past it */
.top { color: #000000; }
.top.scrolled { background: rgba(10, 25, 90, 0.55); }
.top.past-hero { color: var(--ink); background: rgba(0, 0, 0, 0.9); }
.top.menu-open, .top.menu-open.scrolled, .top.menu-open.past-hero { color: var(--ink); background: transparent; }

/* ---- photo reel under the team ---- */
.reel { overflow: hidden; margin-inline: calc(clamp(16px, 2.6vw, 3rem) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; gap: clamp(.75rem, 1.4vw, 1.25rem); width: max-content; animation: reel 60s linear infinite; }
.reel-track i { flex: none; width: clamp(14rem, 24vw, 22rem); aspect-ratio: 4 / 5; border-radius: var(--radius); background: center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(10, 18, 51, 0.08); }
.reel-track i:nth-child(4n+1) { aspect-ratio: 3 / 2; width: clamp(20rem, 34vw, 32rem); }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(calc(-50% - clamp(.75rem, 1.4vw, 1.25rem) / 2)); } }
@media (prefers-reduced-motion: reduce) { .reel-track { animation: none; } .reel { overflow-x: auto; } }
