/* =========================================================
   GRVision Lenses — Brand Foundation
   Color/type/motion tokens derived from the logo. See the
   style guide review for rationale on each choice.
   ========================================================= */

:root {
  /* Light section tokens (default world) */
  --bg: #F4F6FA;
  --bg-deep: #EAEFF6;
  --surface: #FFFFFF;
  --surface-alt: #EEF2F8;
  --border: #D9E0EA;
  --border-strong: #C1CBDA;
  --text: #10182A;
  --text-muted: #4B5768;
  --text-faint: #8592A6;

  --navy: #293B72;
  --blue: #2688C7;
  --blue-vivid: #0E76BC;
  --glow: #3FC3F0;
  --glow-soft: rgba(14, 118, 188, 0.10);

  --accent: var(--blue-vivid);
  --accent-strong: var(--navy);
  --accent-contrast: #FFFFFF;

  --shadow: 0 1px 2px rgba(16,24,42,0.05), 0 16px 40px -20px rgba(16,24,42,0.18);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: 180ms;
  --dur-med: 420ms;

  --header-h: 76px;
}

/* Dark "moment" sections — hero, feature strips, CTA bands.
   Scoped as a class, not a page-level theme: light and dark
   sections coexist on the same page by design. */
.section-dark {
  /* Navy-blue, not near-black — grounded directly in the logo's own
     navy (#293B72) and blue (#2688C7), per client feedback moving
     away from a black theme. */
  --bg: #16224E;
  --bg-deep: #101A3E;
  --surface: #1E2C5C;
  --surface-alt: #223368;
  --border: #33437F;
  --border-strong: #46579C;
  --text: #EEF2FA;
  --text-muted: #AEBBE8;
  --text-faint: #8492C4;

  --glow-soft: rgba(63, 195, 240, 0.16);
  --accent: var(--glow);
  --accent-strong: #6FD4F5;
  --accent-contrast: #0B1638;

  --shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 24px 60px -24px rgba(0,0,0,0.65);

  background: var(--bg);
  color: var(--text);
}

.section-alt { --bg: var(--surface-alt); background: var(--bg); }

* { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.02;
}

/* Consistent cool-toned color grade across every photograph, so
   images pulled from different sources read as one visual world:
   desaturated toward navy/cyan rather than each photo's native cast. */
.photo-grade { filter: grayscale(.4) saturate(1.2) contrast(1.1) brightness(.88) sepia(.12) hue-rotate(155deg); }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.mono { font-family: "IBM Plex Mono", "Consolas", monospace; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.section { padding-block: var(--space-24); }
@media (max-width: 720px) { .section { padding-block: var(--space-16); } }

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  display: flex; align-items: center; gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent-strong); }

.section-head { max-width: 62ch; margin-bottom: var(--space-16); }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
.section-head p { color: var(--text-muted); margin-top: var(--space-5, 1.25rem); font-size: 1.0625rem; max-width: 48ch; }

/* ---------- Buttons ---------- */
.btn {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  font-size: .9375rem;
  border-radius: 999px;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: filter var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(120deg, var(--blue-vivid), var(--glow));
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(14,118,188,.55);
}
.section-dark .btn-primary { color: var(--accent-contrast); box-shadow: 0 10px 30px -10px rgba(63,195,240,.6); }
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(14,118,188,.7); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--accent-strong); padding-inline: .3rem; }
.btn-ghost:hover { gap: .75rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(16,24,42,0.08);
  transition: box-shadow var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(16,24,42,.18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: var(--space-6); }

.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { height: 34px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: var(--space-8); }
.main-nav ul { list-style: none; display: flex; gap: var(--space-6); margin: 0; padding: 0; }
.main-nav ul a {
  font-size: .9375rem; letter-spacing: .01em; color: #3C4658; font-weight: 500;
  padding: .5rem 0; position: relative; white-space: nowrap;
}
.main-nav ul a:hover { color: #10182A; }
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--blue-vivid); transition: right var(--dur-med) var(--ease-out);
}
.main-nav ul a:hover::after { right: 0; }

.nav-item { position: relative; }
/* Invisible bridge over the gap between the trigger link and the
   dropdown panel below it — without this, the cursor leaves .nav-item's
   hoverable area while crossing the gap, :hover drops, and the dropdown
   disappears before the pointer ever reaches it. */
.nav-item::after {
  content: "";
  position: absolute; top: 100%; left: 0;
  width: 240px; height: 14px;
}
.nav-item > a::before {
  content: "▾"; font-size: .6rem; margin-left: 5px; opacity: .6; display: inline-block;
}
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 0; transform: translateY(6px);
  min-width: 240px; background: #FFFFFF; border: 1px solid #E3E8F0; border-radius: var(--radius-m);
  box-shadow: 0 24px 48px -20px rgba(16,24,42,.22);
  padding: var(--space-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.dropdown a { display: block; padding: .65rem 1rem .65rem 1.25rem; border-radius: var(--radius-s); font-size: .875rem; color: #3C4658; }
.dropdown a:hover { background: var(--glow-soft); color: #10182A; }
.dropdown a::after { display: none; }

.nav-cta { display: flex; align-items: center; gap: var(--space-4); }
.nav-cta .btn-primary { padding: .65rem 1.25rem; font-size: .875rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(16,24,42,0.15); border-radius: var(--radius-s);
  color: #10182A; width: 42px; height: 38px; align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 1100px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #F4F6FA; flex-direction: column;
    align-items: stretch; padding: var(--space-6); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility var(--dur-med); overflow-y: auto; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid #E3E8F0; }
  .main-nav a { display: block; padding: var(--space-4) 0; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none;
    border: none; background: rgba(16,24,42,0.03); display: none; margin-bottom: var(--space-2); }
  .nav-item.is-open .dropdown { display: block; }
  .nav-item::after { content: none; }
  .nav-cta { margin-top: var(--space-6); }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + var(--space-16));
  padding-bottom: var(--space-16);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -10% -5%; z-index: -2;
  overflow: hidden;
  will-change: transform;
}
/* Opt-in duotone correction — only for source footage/photos that
   land off-brand (e.g. a warm-toned stock video). Not used for
   imagery that's already graded to the brand's navy/blue palette. */
.hero-bg.needs-grade .hero-video,
.hero-bg.needs-grade img {
  filter: grayscale(1) contrast(1.15) brightness(.85);
}
.hero-bg.needs-grade::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, #0B2A55 0%, #0E76BC 55%, #3FC3F0 100%);
  mix-blend-mode: color;
  opacity: .9;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

/* Hero background slider — crossfading slides behind the
   existing gradient/lines overlays. Markup: .hero-slider > .hero-slide (x4) > img */
.hero-slider { inset: -10% -5%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out, ease);
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.hero-slider-dots {
  display: flex; align-items: center; gap: 10px;
  padding: 0; margin: 0;
}
.hero-slider-dot {
  appearance: none; border: 0; padding: 0; cursor: pointer;
  width: 22px; height: 3px; border-radius: 999px;
  background: rgba(255,255,255,.3);
  transition: background .3s var(--ease-out, ease), width .3s var(--ease-out, ease);
}
.hero-slider-dot:hover { background: rgba(255,255,255,.55); }
.hero-slider-dot.is-active { background: var(--accent-strong); width: 34px; }
.hero-slider-dot:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }

@media (max-width: 640px) {
  .hero-bottom { flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
  .hero-slider-dots { order: 3; width: 100%; justify-content: center; }
}

.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(16,26,62,.85) 0%, rgba(16,26,62,.35) 42%, rgba(16,26,62,.05) 62%, transparent 78%),
    radial-gradient(55% 60% at 84% 78%, rgba(41,59,114,.4), transparent 70%),
    linear-gradient(180deg, rgba(16,26,62,.35) 0%, rgba(20,30,70,.15) 40%, rgba(16,26,62,.85) 100%);
}
.hero-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0px, rgba(255,255,255,.025) 1px, transparent 1px, transparent 34px);
  mask-image: radial-gradient(70% 70% at 50% 45%, black, transparent 85%);
}
.hero-content { flex: none; margin-top: auto; margin-bottom: var(--space-12); width: 100%; }
.hero h1 {
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  font-weight: 800;
  max-width: 11ch;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--accent-strong); }
.hero-sub { color: var(--text-muted); max-width: 46ch; font-size: 1.0625rem; line-height: 1.55; margin-top: var(--space-6); }
.hero-actions { display: flex; gap: var(--space-4); margin-top: var(--space-8); flex-wrap: wrap; }
.hero-tags { display: none; }
.tag {
  font-family: "IBM Plex Mono", monospace; font-size: .75rem; padding: .35rem .75rem; border-radius: 999px;
  background: var(--glow-soft); color: var(--accent-strong); border: 1px solid var(--border);
}
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; padding-inline: var(--space-6); max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-scroll { font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); display: flex; align-items: center; gap: 10px; }
.hero-scroll .line { width: 1px; height: 30px; background: linear-gradient(var(--text-faint), transparent); animation: scrollLine 2.2s var(--ease-out) infinite; }
@keyframes scrollLine { 0% { opacity: 0; transform: scaleY(0); transform-origin: top; } 40% { opacity: 1; transform: scaleY(1); transform-origin: top; } 100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll .line { animation: none; } }


/* ---------- Stat card (used inside split-overlap) ---------- */
.stat { padding: var(--space-4); border-radius: var(--radius-s); }
.stat .num { font-family: "Sora"; font-weight: 700; font-size: 2.25rem; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.stat .label { color: var(--text-muted); font-size: .875rem; margin-top: var(--space-1); }

/* ---------- Trust bar ---------- */
.trust-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-8); padding: var(--space-12) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-item { flex: 1; min-width: 160px; }
.trust-item .num { font-family: "Sora"; font-weight: 800; font-size: 3.2rem; letter-spacing: -0.02em; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.trust-item .label { color: var(--text-muted); font-size: .875rem; margin-top: var(--space-1); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; margin-inline: auto; }
.cta-band p { color: var(--text-muted); max-width: 46ch; margin: var(--space-6) auto var(--space-10, 2.5rem); font-size: 1.0625rem; }

/* Standalone large heading (About snapshot, etc.) */
.h-xl { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: .98; max-width: 12ch; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  /* #16224E is the brand style guide's standard dark-section ground
     (matches .section-dark's --bg exactly, navy not black) — a subtle
     dot texture on top, no heavy color wash, so it reads consistent
     with every other dark section on the page rather than as its own
     one-off treatment. */
  position: relative; overflow: hidden;
  background: #16224E;
  color: #C9D3E6; padding-block: var(--space-16) var(--space-8);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px);
  background-size: 18px 18px;
  mask-image: radial-gradient(60% 80% at 10% 0%, black, transparent 70%);
}
.site-footer > .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-10, var(--space-8)); }
.footer-brand img { height: 32px; margin-bottom: var(--space-5, 1.25rem); filter: brightness(0) invert(1); }
.footer-brand p { color: #7C88A3; font-size: .9375rem; max-width: 34ch; }
.footer-col h5 { font-family: "IBM Plex Mono"; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #7C88A3; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { color: #C9D3E6; font-size: .9375rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-16); padding-top: var(--space-8); border-top: 1px solid #33437F; font-size: .8125rem; color: #8492C4; }

/* Oversized outlined wordmark — decorative brand watermark, echoes the
   reference's giant stroke-only logotype bleeding off the footer edge.
   Built as SVG <text>, not CSS -webkit-text-stroke — the CSS property
   rendered phantom extra stroke segments on this font's bold glyphs
   (stray arrow/chevron marks on R, V, I, N) in testing; SVG strokes the
   actual vector path directly and doesn't have that failure mode. */
.footer-wordmark {
  position: relative; z-index: 1; display: block;
  width: 100%; height: auto;
  aspect-ratio: 1500 / 180;
  margin-bottom: calc(-1 * var(--space-8));
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  transform-origin: 50% 100%;
  animation: footerWordmarkBreathe 7s var(--ease-out) infinite alternate;
}
.footer-wordmark text {
  /* Archivo, not Sora — Sora's bold glyph outlines have extra
     self-intersecting path detail baked into the font file itself
     (visible as stray marks on R/V/I/N even with a clean SVG stroke).
     Archivo is a simpler, more geometric grotesque built for exactly
     this kind of big outlined display treatment. */
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 260px;
  letter-spacing: -4px;
  fill: none;
  stroke: var(--glow);
  stroke-width: 2;
}
/* Gentle ambient breathing loop — opacity + a hair of scale, both
   compositor-friendly (transform/opacity only). Rare/decorative element
   seen once per pageview, so a slow marketing-length duration is fine. */
@keyframes footerWordmarkBreathe {
  from { opacity: .35; transform: scale(1); }
  to   { opacity: .65; transform: scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-wordmark { animation: none; opacity: .5; }
}
.footer-bottom a { color: #9AA7C0; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Tech Partners trust strip ---------- */
.partners-section { text-align: center; }
.partners-head { max-width: 46ch; margin-inline: auto; }
.partners-subhead { margin-top: var(--space-3); color: var(--text-muted); font-size: 1rem; }
.partners-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  margin-top: var(--space-12); row-gap: var(--space-6);
}
.partners-name {
  font-family: "Sora", sans-serif; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  letter-spacing: -0.02em; color: var(--text);
  padding-inline: var(--space-8);
  border-left: 1px solid var(--border);
  transition: color var(--dur-med) var(--ease-out);
}
.partners-name:first-child { border-left: none; padding-left: 0; }
.partners-name:last-child { padding-right: 0; }
.partners-name:hover { color: var(--accent-strong); }
@media (max-width: 720px) {
  .partners-name { border-left: none; padding-inline: var(--space-4); font-size: 1.5rem; }
}

/* ---------- Split image/text layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.about-media-wrap { position: relative; }
.about-glow { display: none; }
.split-media { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -60px 80px -40px rgba(16,26,62,.35); }
.about-chip {
  position: absolute; left: var(--space-5, 1.25rem); top: var(--space-5, 1.25rem);
  font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: #EEF2FA;
  background: rgba(16,26,62,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .45rem .9rem;
}
.about-copy { color: var(--text-muted); margin-top: var(--space-6); font-size: 1.0625rem; max-width: 44ch; }
.split-overlap {
  margin-top: -72px; margin-inline: var(--space-10, 2.5rem); position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -24px rgba(16,24,42,.22), var(--shadow);
  padding: var(--space-8) var(--space-6);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6);
}
.split-overlap .stat { padding: 0; text-align: left; border-left: 1px solid var(--border); padding-left: var(--space-6); }
.split-overlap .stat:first-child { border-left: none; padding-left: 0; }
.split-overlap .stat .num { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.split-overlap .stat .label {
  font-family: "IBM Plex Mono", monospace; font-size: .6875rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-faint); margin-top: var(--space-3); line-height: 1.4;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: var(--space-8); }
  .split-media { aspect-ratio: 16/10; }
  .split-overlap { grid-template-columns: 1fr 1fr; margin-inline: 0; margin-top: var(--space-6); row-gap: var(--space-6); }
  .split-overlap .stat:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 480px) { .split-overlap { grid-template-columns: 1fr 1fr; padding: var(--space-6) var(--space-5, 1.25rem); } }

/* ---------- Technology section: brand-glow atmosphere ---------- */
.tech-section { position: relative; overflow: hidden; isolation: isolate; }
.tech-section::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 50% at 12% 8%, rgba(63,195,240,.16), transparent 65%),
    radial-gradient(50% 55% at 92% 95%, rgba(41,59,114,.5), transparent 65%);
}
.tech-section::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0px, rgba(255,255,255,.02) 1px, transparent 1px, transparent 34px);
  mask-image: radial-gradient(65% 65% at 50% 25%, black, transparent 85%);
}

/* ---------- Technology: alternating rows (Rio-style structure) ---------- */
.tech-rows { display: flex; flex-direction: column; gap: var(--space-24); }
.tech-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.tech-row.reverse .tech-row-media { order: 2; }
.tech-row.reverse .tech-row-text { order: 1; }
.tech-row-media { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.tech-row-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placeholder visual: gradient panel + faint index numeral + line icon.
   Swap for real photography later — see tech-placeholder-label for what
   each slot is standing in for. */
.tech-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
  background: linear-gradient(155deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border);
}
.tech-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
  background-size: 18px 18px;
}
.tech-placeholder-num {
  position: absolute; top: var(--space-5, 1.25rem); left: var(--space-6);
  font-family: "Sora"; font-weight: 800; font-size: 3.5rem; line-height: 1;
  color: var(--text); opacity: .07; letter-spacing: -0.04em;
}
.tech-placeholder-icon { position: relative; width: 56px; height: 56px; color: var(--accent); }
.tech-placeholder-label {
  position: relative; font-size: .6875rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-faint); text-align: center; max-width: 24ch; padding-inline: var(--space-6);
}

.tech-row-idx { font-family: "IBM Plex Mono", monospace; font-size: .875rem; color: var(--accent); letter-spacing: .06em; margin-bottom: var(--space-4); }
.tech-row-text h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: var(--space-5, 1.25rem); }
.tech-row-text p { color: var(--text-muted); font-size: 1.0625rem; max-width: 42ch; }
@media (max-width: 860px) {
  .tech-row, .tech-row.reverse { grid-template-columns: 1fr; }
  .tech-row.reverse .tech-row-media, .tech-row.reverse .tech-row-text { order: initial; }
  .tech-row-media { aspect-ratio: 16/10; }
}

/* ---------- Coatings: sticky-stack scroll ---------- */
/* No overflow:hidden here — it would silently break position:sticky
   on the cards/toc below. The glow pseudo-elements are already
   bounded by inset:0, so clipping isn't needed to contain them. */
.coat-stack-section { position: relative; isolation: isolate; }
.coat-stack-section::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 45% at 90% 0%, rgba(63,195,240,.14), transparent 65%),
    radial-gradient(45% 50% at 4% 100%, rgba(41,59,114,.5), transparent 65%);
}
.coat-stack-section::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0px, rgba(255,255,255,.02) 1px, transparent 1px, transparent 34px);
  mask-image: radial-gradient(60% 60% at 50% 0%, black, transparent 85%);
}
.coat-stack-head { max-width: 62ch; margin-bottom: var(--space-16); }

.coat-stack-grid { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-10, 2.5rem); align-items: start; }

/* Sticky index column */
.coat-stack-toc-col {
  position: sticky; top: calc(var(--header-h) + var(--space-8));
  display: flex; flex-direction: column;
  height: calc(100vh - var(--header-h) - var(--space-16)); max-height: 560px;
}
.coat-stack-dots {
  flex: 0 0 100px;
  background-image: radial-gradient(circle, rgba(255,255,255,.32) 1px, transparent 1.4px);
  background-size: 9px 9px; opacity: .8;
}
.coat-stack-dots.bottom { flex: 1 1 auto; }
.coat-stack-toc {
  display: flex; flex-direction: column; gap: var(--space-5, 1.25rem); padding: var(--space-6) 0;
  font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .04em; color: var(--text-muted);
}
.coat-stack-toc a { text-decoration: none; color: inherit; width: fit-content; transition: color var(--dur-med) var(--ease-out); }
.coat-stack-toc a:hover { color: var(--accent-strong); }

/* Sticky-stack cards: each card pins at the same top offset, so later
   cards naturally slide up and cover earlier ones. Text and its media
   live inside the SAME card (a two-column grid), not in separate
   independently-scrolling columns — so they can never drift apart.
   JS additionally fades + shrinks a card as the next one closes in,
   and mutes its badge. */
.coat-stack-text { display: flex; flex-direction: column; }
.coat-stack-card {
  position: sticky; top: calc(var(--header-h) + var(--space-8));
  min-height: 56vh;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-12); align-items: center;
  /* Needs a fully opaque background to actually cover the card behind
     it while stacking — but a flat fill reads as a cutout against the
     section's glowing atmosphere, so repeat the same glow gradient
     here instead of a plain color. */
  background:
    radial-gradient(50% 45% at 90% 0%, rgba(63,195,240,.14), transparent 65%),
    radial-gradient(45% 50% at 4% 100%, rgba(41,59,114,.5), transparent 65%),
    var(--bg);
  padding: var(--space-8) 0 var(--space-12);
  border-top: 1px solid var(--border);
  will-change: transform, opacity;
}
.coat-stack-card:first-child { border-top: none; }
.coat-stack-card:nth-child(1) { z-index: 1; }
.coat-stack-card:nth-child(2) { z-index: 2; }
.coat-stack-card:nth-child(3) { z-index: 3; }
.coat-stack-card:nth-child(4) { z-index: 4; }
.coat-stack-card:nth-child(5) { z-index: 5; }
.coat-stack-card:nth-child(6) { z-index: 6; }
/* Light "choose a color" variant: this component was designed for the
   glow atmosphere to show against a dark background — on plain white it
   reads flat. Give it its own tinted light background instead, distinct
   from both the plain-white sections around it and the dark CTA below. */
.tint-choose-section.coat-stack-section {
  --bg: #EAF4FB;
  --bg-deep: #D8ECF7;
  --surface: #FFFFFF;
  --surface-alt: #F1F9FD;
  --border: #CFE4F0;
  background: var(--bg);
}
.tint-choose-section.coat-stack-section::before {
  background:
    radial-gradient(50% 45% at 90% 0%, rgba(14,118,188,.16), transparent 65%),
    radial-gradient(45% 50% at 4% 100%, rgba(41,59,114,.14), transparent 65%);
}
.tint-choose-section .coat-stack-card {
  background: #fff;
  padding: var(--space-8);
}
.coat-stack-card:nth-child(7) { z-index: 7; }
.coat-stack-card:nth-child(8) { z-index: 8; }
.coat-stack-card:nth-child(9) { z-index: 9; }
.coat-stack-card:nth-child(10) { z-index: 10; }
.coat-stack-badge {
  display: inline-block; background: var(--text); color: var(--bg);
  font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: .8125rem; letter-spacing: .04em;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: var(--space-5, 1.25rem); width: fit-content;
  transition: background .4s ease, color .4s ease;
}
.coat-stack-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: var(--space-5, 1.25rem); }
.coat-stack-desc { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; max-width: 42ch; margin-bottom: var(--space-6); }
.coat-stack-list { display: flex; flex-direction: column; gap: var(--space-3); list-style: none; padding: 0; margin: 0; }
.coat-stack-list li {
  font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: .8125rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text); display: flex; align-items: baseline; gap: 10px;
}
.coat-stack-list li::before { content: "—"; color: var(--accent); }

/* Media pairs 1:1 inside its own card now — sized to the card, not an
   independent scroll track, so it can't fall out of sync with its text. */
.coat-stack-card-media {
  border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 4/3; position: relative;
  display: flex; align-items: flex-end; padding: var(--space-5, 1.25rem);
}
.coat-stack-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coat-stack-media-label { position: relative; font-size: .6875rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (max-width: 860px) {
  .coat-stack-card { grid-template-columns: 1fr; }
  .coat-stack-card-media { order: -1; aspect-ratio: 16/10; }
}

.media-hc { background: radial-gradient(60% 60% at 30% 25%, rgba(63,195,240,.28), transparent 60%), linear-gradient(155deg, #0D1526, #060910); }
.media-arc {
  background:
    repeating-radial-gradient(circle at 55% 45%, rgba(63,195,240,.22) 0px, rgba(63,195,240,.22) 2px, transparent 2px, transparent 22px),
    #060910;
}
.media-hydro {
  background:
    radial-gradient(16% 26% at 22% 72%, rgba(63,195,240,.4), transparent 70%),
    radial-gradient(12% 20% at 58% 38%, rgba(63,195,240,.3), transparent 70%),
    radial-gradient(10% 16% at 82% 62%, rgba(63,195,240,.32), transparent 70%),
    #060910;
}
.media-blue { background: linear-gradient(135deg, #0B2A55 0%, #0E76BC 55%, #3FC3F0 100%); }
.media-night {
  background:
    radial-gradient(45% 35% at 82% 18%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(30% 24% at 96% 8%, rgba(255,255,255,.3), transparent 60%),
    linear-gradient(160deg, #03050A, #0D1526);
}

.coat-stack-cta { display: flex; justify-content: center; padding-top: var(--space-12); }

@media (max-width: 900px) {
  .coat-stack-grid { grid-template-columns: 1fr; }
  .coat-stack-toc-col { position: static; height: auto; flex-direction: row; max-height: none; margin-bottom: var(--space-8); }
  .coat-stack-dots { display: none; }
  .coat-stack-toc { flex-direction: row; flex-wrap: wrap; gap: var(--space-4) var(--space-6); padding: 0; }
  .coat-stack-card { position: relative; top: 0; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .coat-stack-media { transition: none !important; opacity: 1 !important; transform: none !important; }
  .coat-stack-card { position: relative; top: 0; min-height: 0; }
}

/* ---------- Coatings: light clinical strip (Rio-style differentiation) ---------- */
.coat-row-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.coat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow); }
.coat-tile-media { aspect-ratio: 1/1; overflow: hidden; }
.coat-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.coat-tile-body { padding: var(--space-4); }
.coat-tile-body .swatch-dot { width: 14px; height: 14px; border-radius: 50%; margin-bottom: var(--space-3); }
.coat-tile-body h4 { font-family: "Sora"; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 2px; }
.coat-tile-body p { font-size: .8125rem; color: var(--text-muted); }
@media (max-width: 980px) { .coat-row-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .coat-row-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero video ---------- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Full-bleed statement section ---------- */
.statement { position: relative; min-height: 68vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; isolation: isolate; }
.statement-bg { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.statement-bg img { width: 100%; height: 115%; object-fit: cover; }
.statement-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,26,62,.55), rgba(16,26,62,.78) 55%, rgba(16,26,62,.92)); }
.statement-inner { max-width: 38ch; padding-inline: var(--space-6); }
.statement h2 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: .98; }
.statement p { color: #93A1BC; margin-top: var(--space-6); font-size: 1.0625rem; }

/* ---------- Image-led card grids (tech / product) ---------- */
.img-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.img-card {
  position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3/4;
  display: block; isolation: isolate;
}
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.img-card:hover img { transform: scale(1.07); }
.img-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,26,62,0) 35%, rgba(16,26,62,.94) 100%); }
.img-card .content { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-6); }
.img-card .idx { font-family: "IBM Plex Mono", monospace; font-size: .75rem; color: #6FD4F5; margin-bottom: var(--space-3); }
.img-card h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: var(--space-2); line-height: 1.05; }
.img-card p { font-size: .8125rem; color: #93A1BC; }
@media (max-width: 980px) { .img-card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .img-card-grid { grid-template-columns: 1fr; } }

/* ---------- Product range section: brand-tint atmosphere ---------- */
.product-section { position: relative; overflow: hidden; isolation: isolate; }
.product-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 45% at 90% 0%, rgba(63,195,240,.10), transparent 60%),
    radial-gradient(45% 50% at 4% 100%, rgba(41,59,114,.12), transparent 60%);
}

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.product-card { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 3/4; display: block; box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.product-card:hover img { transform: scale(1.07); }
.product-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,42,0) 38%, rgba(16,24,42,.9) 100%); }
.product-card .content { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-6); color: #fff; }
.product-card .tag-row { margin-bottom: var(--space-3); }
.product-card .tag { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.product-card h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.025em; color: #fff; margin-bottom: var(--space-2); line-height: 1.1; }
.product-card .content p { color: rgba(255,255,255,.78); font-size: .875rem; margin-bottom: var(--space-4); max-width: 30ch; }
.product-card .go { font-family: "IBM Plex Mono", monospace; font-size: .8125rem; color: #9FE0F5; display: flex; gap: 6px; align-items: center; }

/* Placeholder visual for product cards — gradient panel, centered
   line icon, faint corner label. Swap for real product photography. */
.product-placeholder { background: linear-gradient(155deg, var(--navy) 0%, var(--blue-vivid) 100%); }
.product-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px);
  background-size: 18px 18px;
}
.product-placeholder-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.product-placeholder-icon svg { width: 40%; max-width: 130px; color: rgba(255,255,255,.8); }
.product-placeholder-label {
  position: absolute; top: var(--space-5, 1.25rem); left: var(--space-5, 1.25rem); right: var(--space-5, 1.25rem);
  font-size: .625rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Coatings image strip ---------- */
.coat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.coat-card { position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3/4; }
.coat-card img { width: 100%; height: 100%; object-fit: cover; }
.coat-card .tint { position: absolute; inset: 0; mix-blend-mode: color; opacity: .8; }
.coat-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,26,62,0) 45%, rgba(16,26,62,.88) 100%); }
.coat-card .content { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-4); }
.coat-card h4 { color: #fff; font-size: .875rem; margin-bottom: 2px; font-family: "Sora"; font-weight: 600; }
.coat-card p { color: #B7C2D9; font-size: .75rem; }
@media (max-width: 980px) { .coat-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .coat-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- Page header (compact, non-hero pages) ---------- */
.page-header { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + var(--space-16)); }
.page-header::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at 85% 0%, rgba(63,195,240,.18), transparent 65%),
    radial-gradient(50% 55% at 5% 100%, rgba(41,59,114,.5), transparent 65%);
}
.page-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0px, rgba(255,255,255,.02) 1px, transparent 1px, transparent 34px);
  mask-image: radial-gradient(60% 70% at 50% 0%, black, transparent 85%);
}
.page-header-title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; }
.page-header-sub { color: var(--text-muted); max-width: 52ch; margin-top: var(--space-6); font-size: 1.0625rem; }

/* ---------- Mission & Vision (full-bleed statement variant) ---------- */
.mv-statement { text-align: center; padding-block: var(--space-24); }
.mv-statement-inner { max-width: 1080px; padding-inline: var(--space-6); }
.mv-eyebrow { justify-content: center; margin-bottom: var(--space-8); }
.mv-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: var(--space-8); }
.mv-block {
  text-align: left; padding: var(--space-8);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-l); backdrop-filter: blur(10px);
  transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.mv-block:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-4px); }
.mv-icon-wrap {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: rgba(63,195,240,.16); display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-6);
}
.mv-icon { width: 26px; height: 26px; color: #6FD4F5; }
.mv-card-idx {
  font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: #6FD4F5; margin-bottom: var(--space-3);
}
.mv-block p { font-size: 1.25rem; line-height: 1.55; color: #fff; font-family: "Sora"; font-weight: 600; letter-spacing: -0.015em; }
@media (max-width: 720px) {
  .mv-row { grid-template-columns: 1fr; gap: var(--space-6); }
  .mv-block { max-width: 44ch; margin-inline: auto; }
}

/* ---------- Why-choose-us reason cards ---------- */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.reason-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: var(--space-6); box-shadow: var(--shadow);
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.reason-card:hover {
  transform: translateY(-4px); border-color: var(--border-strong);
  box-shadow: 0 30px 54px -22px rgba(16,24,42,.28), var(--shadow);
}
.reason-icon-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--glow-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5, 1.25rem);
  transition: background var(--dur-med) var(--ease-out);
}
.reason-icon { width: 24px; height: 24px; color: var(--accent-strong); transition: color var(--dur-med) var(--ease-out); }
.reason-card:hover .reason-icon-wrap { background: var(--accent-strong); }
.reason-card:hover .reason-icon { color: var(--accent-contrast); }
.reason-card h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.reason-card p { color: var(--text-muted); font-size: .9375rem; }
@media (max-width: 900px) { .reason-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reason-grid { grid-template-columns: 1fr; } }

.reason-grid-3 { grid-template-columns: repeat(3, 1fr); }
.reason-grid-4 { grid-template-columns: repeat(4, 1fr); }
.reason-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 900px) { .reason-grid-3, .reason-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reason-grid-2, .reason-grid-3, .reason-grid-4 { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-8); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card, .contact-form {
  border-radius: var(--radius-l);
  padding: var(--space-8);
  display: flex; flex-direction: column;
}
/* Info panel gets the site's dark-navy treatment so the two-column
   layout reads as an intentional light/dark pairing, not two flat
   white boxes with a gap between them. */
.contact-info-card {
  background: #16224E; color: #EEF2FA; box-shadow: var(--shadow);
}
.contact-form { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }

.contact-info-list { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-info-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: rgba(63,195,240,.16); display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 20px; height: 20px; color: #6FD4F5; }
.contact-info-item h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: rgba(238,242,250,.5); font-family: "IBM Plex Mono", monospace; margin-bottom: 3px; }
.contact-info-item a, .contact-info-item p { font-size: 1rem; color: #fff; }
.contact-info-item a { transition: color var(--dur-fast) var(--ease-out); }
.contact-info-item a:hover { color: #6FD4F5; }
.contact-info-note { color: rgba(238,242,250,.65); font-size: .9375rem; margin-top: auto; padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.14); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-6); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }
.field label { font-size: .8125rem; font-weight: 600; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font-family: "Source Sans 3", sans-serif; font-size: .9375rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-s);
  padding: .95rem 1rem; min-height: 48px; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5768' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--glow-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-form .btn-primary { width: 100%; justify-content: center; padding: 1rem 1.6rem; font-size: 1rem; margin-top: var(--space-2); }
.form-note { font-size: .8125rem; color: var(--text-faint); margin-top: var(--space-4); text-align: center; }
.btn-icon { width: 16px; height: 16px; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-8); }
.gallery-filter {
  font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase;
  padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); cursor: pointer; transition: all var(--dur-fast) var(--ease-out);
}
.gallery-filter.is-active, .gallery-filter:hover { border-color: var(--accent-strong); color: var(--accent-strong); background: var(--glow-soft); }

.gallery-grid { columns: 3 260px; column-gap: var(--space-6); }
@media (max-width: 720px) { .gallery-grid { columns: 2 220px; } }
.gallery-item {
  position: relative; display: block; break-inside: avoid; margin-bottom: var(--space-6);
  border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow);
  isolation: isolate;
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,22,56,.75));
  opacity: 0; transition: opacity var(--dur-med) var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: var(--space-5, 1.25rem); right: var(--space-5, 1.25rem); bottom: var(--space-4);
  color: #fff; font-size: .875rem; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-expand {
  position: absolute; top: var(--space-4); right: var(--space-4); width: 34px; height: 34px; border-radius: 50%;
  background: rgba(11,22,56,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-6px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.gallery-item:hover .gallery-expand { opacity: 1; transform: translateY(0); }
.gallery-expand svg { width: 15px; height: 15px; color: #fff; }

.gallery-item.is-video .gallery-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(11,22,56,.25);
}
.play-btn {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(11,22,56,.5);
  transition: transform var(--dur-med) var(--ease-out);
}
.gallery-item.is-video:hover .play-btn { transform: scale(1.08); }
.play-btn svg { width: 22px; height: 22px; color: var(--accent-strong); margin-left: 3px; }
.gallery-item.is-video .gallery-caption { opacity: 1; transform: none; }
.gallery-tag {
  position: absolute; top: var(--space-4); left: var(--space-4);
  font-family: "IBM Plex Mono", monospace; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(11,22,56,.55); backdrop-filter: blur(4px);
  padding: .3rem .7rem; border-radius: 999px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 999; padding: var(--space-8);
  background: rgba(11,22,56,.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity var(--dur-med) var(--ease-out), visibility var(--dur-med);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: min(90vw, 1100px); max-height: 85vh; text-align: center; }
.lightbox-figure img {
  max-width: 100%; max-height: 78vh; display: block; margin: 0 auto;
  border-radius: var(--radius-m); box-shadow: 0 50px 90px -24px rgba(0,0,0,.6);
  opacity: 0; transform: scale(.97); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.lightbox.is-open .lightbox-figure img { opacity: 1; transform: scale(1); }
.lightbox-figure figcaption { color: #fff; margin-top: var(--space-5, 1.25rem); font-size: .9375rem; }
.lightbox-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff;
  transition: background var(--dur-fast) var(--ease-out);
}
.lightbox-btn:hover { background: rgba(255,255,255,.24); }
.lightbox-btn svg { width: 20px; height: 20px; }
.lightbox-close { top: var(--space-6); right: var(--space-6); }
.lightbox-prev { left: var(--space-6); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-6); top: 50%; transform: translateY(-50%); }
/* ---------- Comparison table (coatings/lens spec pages) ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-l); border: 1px solid var(--border); box-shadow: var(--shadow); }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--surface); }
.compare-table th, .compare-table td { padding: var(--space-4) var(--space-5, 1.25rem); text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th {
  font-family: "IBM Plex Mono", monospace; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600; background: var(--surface-alt);
}
.compare-table thead th:first-child { border-top-left-radius: var(--radius-l); }
.compare-table thead th:last-child { border-top-right-radius: var(--radius-l); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.compare-table tbody tr:hover { background: var(--glow-soft); }
.compare-table td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-check { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--glow-soft); align-items: center; justify-content: center; flex-shrink: 0; }
.compare-check svg { width: 13px; height: 13px; color: var(--accent-strong); }

/* ---------- Benefit grid (icon + label checklist, e.g. AI Lens page) ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.benefit-item {
  display: flex; align-items: center; gap: var(--space-4);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-m); padding: var(--space-5, 1.25rem) var(--space-5, 1.25rem);
  font-weight: 600; font-size: .95rem;
}
@media (max-width: 980px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ---------- Pillar grid (numbered technology cards, dark section) ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.pillar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-l); padding: var(--space-8);
}
.pillar-card h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--space-3); }
.pillar-card p { color: var(--text-muted); font-size: .95rem; }
@media (max-width: 980px) { .pillar-grid { grid-template-columns: 1fr; } }
.compare-dash { color: var(--text-faint); }
.coating-chip { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 10px; vertical-align: middle; }

/* ---------- Tint / color swatch grid (specialty lens pages) ---------- */
.tint-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-5, 1.25rem); }
.tint-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: var(--space-5, 1.25rem); box-shadow: var(--shadow);
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.tint-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.tint-swatch { width: 100%; aspect-ratio: 1; border-radius: var(--radius-s); border: 1px solid var(--border); margin-bottom: var(--space-4); background-color: #fff; }
.tint-code { font-family: "IBM Plex Mono", monospace; font-size: .6875rem; letter-spacing: .05em; color: var(--text-faint); }
.tint-name { font-weight: 700; font-size: .9375rem; margin-top: 2px; }
.tint-density { color: var(--text-muted); font-size: .8125rem; margin-top: 1px; }

/* ---------- Design cards (lens series detail — image + features + icon row) ---------- */
.design-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
@media (max-width: 860px) { .design-grid { grid-template-columns: 1fr; } }
.design-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: var(--space-6); box-shadow: var(--shadow); }
.design-visual {
  overflow: hidden; margin-bottom: var(--space-5, 1.25rem);
  position: relative; border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, var(--surface-alt) 0%, var(--surface) 100%);
}
.design-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.design-zones {
  display: flex; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-6);
  padding-bottom: var(--space-5, 1.25rem); border-bottom: 1px solid var(--border);
}
.design-zone { display: flex; align-items: center; gap: 6px; flex: 1; }
.design-zone::before { content: ""; width: 14px; height: 2px; background: var(--accent-strong); flex: none; }
.design-zone span {
  font-family: "IBM Plex Mono", monospace; font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-faint);
}
.design-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.design-visual-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-3); color: var(--text-faint); text-align: center; padding: var(--space-6);
}
.design-visual-placeholder svg { width: 28px; height: 28px; opacity: .5; }
.design-visual-placeholder span { font-family: "IBM Plex Mono", monospace; font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; max-width: 26ch; }
.design-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--space-5, 1.25rem); }
.design-name .name-light { color: var(--glow); font-weight: 700; }
.design-features { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: flex; flex-direction: column; gap: var(--space-2, .5rem); }
.design-features li { display: flex; gap: 10px; align-items: baseline; color: var(--text-muted); font-size: .9375rem; }
.design-features li::before { content: "\2731"; color: var(--accent-strong); flex: none; font-size: .75rem; }
.design-icons { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-3); padding-top: var(--space-5, 1.25rem); border-top: 1px solid var(--border); }
.design-icon { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 62px; }
.design-icon-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-strong); display: flex; align-items: center; justify-content: center; color: var(--accent-contrast); flex: none; }
.design-icon-badge svg { width: 19px; height: 19px; }
.design-icon span { font-size: .6875rem; text-align: center; color: var(--text-faint); line-height: 1.25; }

/* ---------- Bifocal split (deliberately distinct from .design-grid above it) ---------- */
.bifocal-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-10, 2.5rem); align-items: center; }
@media (max-width: 860px) { .bifocal-split { grid-template-columns: 1fr; } }
.bifocal-media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--border); box-shadow: var(--shadow); }
.bifocal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bifocal-item { padding-block: var(--space-6); border-top: 1px solid var(--border); }
.bifocal-item:first-child { border-top: none; padding-top: 0; }
.bifocal-item h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--space-3); }

/* ---------- Polarized intro visual: text/icon overlay on the image ---------- */
.polarized-visual { position: relative; }
.polarized-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,22,56,.55) 0%, transparent 22%, transparent 70%, rgba(11,22,56,.65) 100%);
}
.polarized-labels {
  position: absolute; top: var(--space-5, 8.25rem); left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; padding-inline: var(--space-6);
}
.polarized-labels span {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.polarized-callouts {
  position: absolute; left: 0; right: 0; bottom: var(--space-5, 1.25rem); z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2);
  padding-inline: var(--space-3);
}
.polarized-callout { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.polarized-callout-badge {
  width:60px; 
  display: flex; align-items: center; justify-content: center;
}
.polarized-callout-badge svg { width: 18px; height: 18px; color: #fff; }
/* Glow-style icon PNGs shot on black — screen blend drops the black,
   leaving just the white glow visible against the badge behind it. */
.polarized-callout-icon { width: 26px; height: 26px; object-fit: contain; mix-blend-mode: screen; }
.polarized-callout span {
  font-size: .75rem; font-weight: 700; color: #fff; line-height: 1.25;
  text-shadow: 0 1px 5px rgba(0,0,0,.5);
}

/* ---------- Lens-shaped color/finish swatches (Polarized colors section) ---------- */
.polar-swatch-group { margin-bottom: var(--space-10, 2.5rem); }
.polar-swatch-group:last-child { margin-bottom: 0; }
.polar-swatch-group-label {
  font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: var(--space-5, 1.25rem); display: flex; align-items: center; gap: var(--space-2);
}
.polar-swatch-group-label::before { content: ""; width: 22px; height: 1px; background: var(--border-strong); }
.polar-swatch-grid { display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-6); }
.polar-swatch { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); width: 108px; text-align: center; }
.polar-swatch-lens {
  width: 100px; height: 68px; border-radius: 50% / 62%; position: relative; overflow: hidden;
  box-shadow: 0 12px 26px -10px rgba(16,24,42,.4), inset 0 -8px 14px rgba(0,0,0,.28);
  transition: transform 200ms cubic-bezier(0.23,1,0.32,1), box-shadow 200ms cubic-bezier(0.23,1,0.32,1);
}
.polar-swatch-lens::after {
  content: ""; position: absolute; top: 8%; left: 14%; width: 40%; height: 20%;
  background: rgba(255,255,255,.6); border-radius: 50%; filter: blur(3px); transform: rotate(-20deg);
}
.polar-swatch:hover .polar-swatch-lens { transform: translateY(-4px); box-shadow: 0 18px 30px -10px rgba(16,24,42,.45), inset 0 -8px 14px rgba(0,0,0,.28); }
.polar-swatch-lens--mirror::after { width: 55%; height: 16%; background: rgba(255,255,255,.85); top: 10%; }
/* Real product photos (already shaped/lit as finished lenses) — shown at
   their own natural shape, no CSS crop/shadow/gloss forced on top. */
.polar-swatch-photo { width: 110px; height: auto; display: block; }
.polar-swatch-photo--wide { width: auto; height: 90px; max-width: 220px; }
.polar-swatch--wide { width: auto; }
/* Round "glossy sphere" swatch — matches the brochure's own circular color
   chips (used on Tinted), distinct from the oval lens-shape swatch used
   for Polarized's colors/finishes. */
.polar-swatch-lens--round {
  width: 92px; height: 92px; border-radius: 50%;
}
.polar-swatch-lens--round::after {
  content: ""; position: absolute; inset: 0; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%; filter: none; transform: none;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.65), transparent 55%);
}
.polar-swatch-name { font-weight: 700; font-size: .9375rem; }
.polar-swatch-style { font-family: "IBM Plex Mono", monospace; font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); }
@media (prefers-reduced-motion: reduce) { .polar-swatch-lens { transition: none; } }

.mirror-lens-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: var(--space-8) var(--space-6); box-shadow: var(--shadow);
  max-width: 560px;
}
.mirror-lens-card img { width: 100%; height: auto; display: block; }
.mirror-lens-caption {
  display: flex; justify-content: space-around; max-width: 560px; margin-top: var(--space-4);
}
.mirror-lens-caption span { font-weight: 700; font-size: .9375rem; color: var(--text); }

/* ---------- Legal / Terms page ---------- */
.draft-notice {
  display: flex; gap: var(--space-4); align-items: flex-start;
  background: var(--glow-soft); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: var(--space-5, 1.25rem) var(--space-6); margin-bottom: var(--space-16);
}
.draft-notice svg { width: 20px; height: 20px; color: var(--accent-strong); flex: none; margin-top: 2px; }
.draft-notice p { color: var(--text); font-size: .9375rem; line-height: 1.6; margin: 0; }
.draft-notice strong { color: var(--text); }
.info-note { background: var(--surface-alt); }

/* ---------- Use-case icon strip (legacy, kept for reference) ---------- */
.usecase-strip { display: flex; flex-wrap: wrap; gap: var(--space-8); justify-content: center; }
.usecase-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); width: 110px; text-align: center; }
.usecase-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--glow-soft);
  display: flex; align-items: center; justify-content: center;
}
.usecase-icon svg { width: 24px; height: 24px; color: var(--accent-strong); }
.usecase-item span { font-size: .8125rem; font-weight: 600; color: var(--text-muted); }

/* ---------- Use-case wheel (radial arrangement, own execution) ---------- */
.usecase-wheel { position: relative; width: 420px; max-width: 94vw; aspect-ratio: 1; margin: 0 auto; }
.usecase-wheel-ring { position: absolute; inset: 11%; border-radius: 50%; border: 1px dashed var(--border-strong); }
.usecase-wheel-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  background: linear-gradient(135deg, var(--blue-vivid), var(--glow)); color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 800; font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em;
  box-shadow: var(--shadow); padding: var(--space-4);
}
.usecase-wheel-item {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0; --r: 168px;
  transform: rotate(var(--angle)) translate(var(--r)) rotate(calc(-1 * var(--angle)));
}
.usecase-wheel-item-inner {
  position: absolute; top: 0; left: 0; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; text-align: center;
}
.usecase-wheel-icon {
  width: 50px; height: 50px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: transform 200ms cubic-bezier(0.23,1,0.32,1), background 200ms cubic-bezier(0.23,1,0.32,1);
}
.usecase-wheel-icon svg { width: 22px; height: 22px; color: var(--accent-strong); transition: color 200ms cubic-bezier(0.23,1,0.32,1); }
.usecase-wheel-item:hover .usecase-wheel-icon { transform: translateY(-3px); background: var(--accent-strong); }
.usecase-wheel-item:hover .usecase-wheel-icon svg { color: var(--accent-contrast); }
.usecase-wheel-item span { font-size: .8125rem; font-weight: 600; color: var(--text-muted); }
@media (max-width: 640px) {
  .usecase-wheel { width: 320px; }
  .usecase-wheel-item { --r: 122px; }
  .usecase-wheel-icon { width: 42px; height: 42px; }
  .usecase-wheel-icon svg { width: 19px; height: 19px; }
  .usecase-wheel-item-inner { width: 76px; }
  .usecase-wheel-item span { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { .usecase-wheel-icon { transition: none; } }

/* ---------- Where-it-wins infographic ---------- */
.wins-infographic { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
.wins-infographic img { width: 100%; height: auto; display: block; }
.wins-infographic-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38%; text-align: center; color: #fff; font-weight: 800; font-size: 1.05rem;
  line-height: 1.3; letter-spacing: -0.01em; pointer-events: none;
}
@media (max-width: 560px) { .wins-infographic-label { font-size: .875rem; } }

/* ---------- Tinted intro statement (centered, color-forward — deliberately
   different UI from the Polarized page's image+text split intro) ---------- */
.tint-statement { max-width: 640px; margin: 0 auto; text-align: center; }
.tint-statement .eyebrow { justify-content: center; }
.tint-statement h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--space-5, 1.25rem); }
.tint-statement p { color: var(--text-muted); font-size: 1.0625rem; }
.tint-color-strip { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: var(--space-8); }
.tint-color-dot {
  width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 6px 14px -4px rgba(16,24,42,.35);
  transition: transform 160ms cubic-bezier(0.23,1,0.32,1);
}
.tint-color-dot:hover { transform: scale(1.15) translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .tint-color-dot { transition: none; } }

/* ---------- Photocolor progression (clear -> activated, own take on the
   brochure's 3-circle convention — this page's product story is literally
   "starts clear, then activates," so a single static swatch under-tells it) ---------- */
/* Split-portrait story per color — image left, content right, so each
   row is compact instead of stacking image-above-text (which made the
   page very tall across 7 colors). */
.photocolor-stories { display: flex; flex-direction: column; gap: var(--space-8); }
.photocolor-story {
  display: grid; grid-template-columns: 60fr 40fr; gap: var(--space-8);
  align-items: center; padding-block: var(--space-8); border-top: 1px solid var(--border);
}
.photocolor-story:first-child { border-top: none; padding-top: 0; }
.photocolor-story-media {
  aspect-ratio: 4/3; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); position: relative;
}
.photocolor-story-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photocolor-story-caption h3 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--space-3); }
.photocolor-story-caption p { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.6; max-width: 48ch; }
.photocolor-story:nth-child(even) { grid-template-columns: 40fr 60fr; }
.photocolor-story:nth-child(even) .photocolor-story-media { order: 2; }
.photocolor-story:nth-child(even) .photocolor-story-caption { order: 1; }
@media (max-width: 700px) {
  .photocolor-story, .photocolor-story:nth-child(even) { grid-template-columns: 1fr; }
  .photocolor-story-media, .photocolor-story:nth-child(even) .photocolor-story-media { order: initial; aspect-ratio: 16/10; }
  .photocolor-story-caption, .photocolor-story:nth-child(even) .photocolor-story-caption { order: initial; }
}

/* ---------- Verification strip (single vision precision proof) ---------- */
.verify-strip { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-10, 2.5rem); align-items: center; }
@media (max-width: 860px) { .verify-strip { grid-template-columns: 1fr; } }
.verify-strip-media { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 4/3; }
.verify-strip-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Reason list (compact, paired beside an image) ---------- */
.reason-list-item { display: flex; gap: var(--space-4); align-items: flex-start; padding-block: var(--space-6); border-top: 1px solid var(--border); }
.reason-list-item:first-child { border-top: none; padding-top: 0; }
.reason-list-icon-wrap {
  width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--glow-soft);
  display: flex; align-items: center; justify-content: center;
}
.reason-list-icon-wrap svg { width: 20px; height: 20px; color: var(--accent-strong); }
.reason-list-item h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.reason-list-item p { color: var(--text-muted); font-size: .9375rem; }

/* ---------- Use-case photo grid (human-centered version) ---------- */
.usecase-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5, 1.25rem); }
@media (max-width: 860px) { .usecase-photo-grid { grid-template-columns: 1fr 1fr; } }
.usecase-photo {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background: linear-gradient(155deg, var(--surface-alt) 0%, var(--surface) 100%);
}
.usecase-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
.usecase-photo:hover img { transform: scale(1.05); }
.usecase-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11,22,56,.72));
}
.usecase-photo-placeholder {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: var(--space-3); color: var(--text-faint); text-align: center; padding: var(--space-4);
}
.usecase-photo-placeholder svg { width: 26px; height: 26px; opacity: .5; }
.usecase-photo-placeholder span { font-family: "IBM Plex Mono", monospace; font-size: .625rem; letter-spacing: .04em; text-transform: uppercase; max-width: 20ch; }
.usecase-photo-label {
  position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 2;
  color: #fff; font-weight: 700; font-size: .9375rem; display: flex; align-items: center; gap: var(--space-2);
}
.usecase-photo-label svg { width: 16px; height: 16px; flex: none; }
.legal-content { max-width: none; }
.legal-section p, .legal-section li { max-width: none; }
.legal-section { padding-block: var(--space-8); border-top: 1px solid var(--border); }
.legal-section:first-of-type { border-top: none; padding-top: 0; }
.legal-section h2 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--space-4); display: flex; gap: var(--space-3); align-items: baseline; }
.legal-section .legal-num { font-family: "IBM Plex Mono", monospace; font-size: .9375rem; color: var(--accent-strong); font-weight: 600; }
.legal-section p, .legal-section li { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.legal-section ul { padding-left: 1.2em; margin-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.legal-section p + p { margin-top: var(--space-3); }
/* Materials/spec tables (plain text cells) read better left-aligned;
   the checkmark comparison table on the Coatings page stays centered. */
.compare-table.is-left td:not(:first-child) { text-align: left; }

.compare-intro { margin-bottom: var(--space-8); }
.compare-intro h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-top: var(--space-2); }
.compare-intro p { color: var(--text-muted); max-width: 52ch; font-size: 1rem; margin-top: var(--space-3); }

/* ---------- Generic spec bullet list (tech/lens detail pages) ---------- */
.spec-list { display: flex; flex-direction: column; gap: var(--space-3); list-style: none; padding: 0; margin: var(--space-5, 1.25rem) 0 0; }
.spec-list li {
  font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: .8125rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-muted); display: flex; align-items: baseline; gap: 10px;
}
.spec-list li::before { content: "—"; color: var(--accent); }

@media (max-width: 720px) {
  .lightbox-close { top: var(--space-4); right: var(--space-4); }
  .lightbox-prev { left: var(--space-2); }
  .lightbox-next { right: var(--space-2); }
}

.contact-map {
  margin-top: var(--space-8); border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); line-height: 0;
}
.contact-map iframe { display: block; filter: grayscale(.15) contrast(1.02); }

/* ---------- Events ---------- */
.event-block { padding-block: var(--space-12); border-bottom: 1px solid var(--border); }
.event-block:first-child { padding-top: 0; }
.event-block:last-child { border-bottom: none; padding-bottom: 0; }
.event-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-6); }
.event-date {
  font-family: "IBM Plex Mono", monospace; font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--glow-soft); padding: .4rem .9rem; border-radius: 999px; white-space: nowrap;
}
.event-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.event-desc { color: var(--text-muted); max-width: 62ch; margin-top: var(--space-3); font-size: 1.0625rem; }

.event-carousel { position: relative; }
.event-carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  gap: var(--space-6); scrollbar-width: none; -ms-overflow-style: none;
}
.event-carousel-track::-webkit-scrollbar { display: none; }
.event-carousel-slide {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6);
}
@media (max-width: 640px) { .event-carousel-slide { grid-template-columns: 1fr; } }
.event-photo { position: relative; display: block; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16/11; border: 1px solid var(--border); box-shadow: var(--shadow); }
.event-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
.event-photo:hover img { transform: scale(1.06); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
  color: var(--text); transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.carousel-arrow:hover { border-color: var(--accent-strong); color: var(--accent-strong); }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow.prev { left: -23px; }
.carousel-arrow.next { right: -23px; }
@media (max-width: 900px) { .carousel-arrow.prev { left: var(--space-2); } .carousel-arrow.next { right: var(--space-2); } }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-5, 1.25rem); }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); border: none; padding: 0; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), width var(--dur-fast) var(--ease-out); }
.carousel-dot.is-active { background: var(--accent-strong); width: 20px; border-radius: 4px; }

/* ---------- Scroll reveal utility (GSAP hooks) ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: .75rem 1.25rem; z-index: 999; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }
