/* SWS draft 3. Mobile first. Written in px; the build converts it to rem so the whole page scales (80% on wide screens). */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2545;
  --blue: #1b4fe0;
  --blue-dark: #153fb8;
  --sky: #9dbbff; /* the light blue; replaces the old turquoise everywhere */
  --tint: #eaf0fe;
  --ink: #22324a;
  --muted: #55657e;
  --line: #d3dcef;
  --stripe: #f3f6fb;
  --ph-bg: #fff1b8;
  --ph-line: #d4ae00;
  --ph-ink: #5a4700;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --max: 93.75rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --hh: 4.5rem;
  --radius: 0.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 1px 2px rgba(11, 37, 69, 0.08), 0 0.625rem 1.75rem rgba(11, 37, 69, 0.12);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
@media (min-width: 1100px) { html { font-size: 80%; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(0.9375rem, 0.3vw + 0.875rem, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  overflow-wrap: break-word;
  font-optical-sizing: auto;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .phero :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible,
.banner :focus-visible, .lightbox :focus-visible, .pcard :focus-visible, .tile :focus-visible { outline-color: var(--sky); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 51.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -62.4375rem; top: 0.5rem; z-index: 200; background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius); }
.skip:focus { left: 0.5rem; }
html:not(.js) .js-only { display: none !important; }

/* Placeholder style (yellow). Search the built pages for class="ph" before launch. */
.ph { background: var(--ph-bg); color: var(--ph-ink); outline: 1.5px dashed var(--ph-line); outline-offset: 1px; padding: 1px 0.375rem; border-radius: 2px; font-size: 0.92em; }
.img-ph, .map-ph { display: grid; place-items: center; background: var(--ph-bg); color: var(--ph-ink); outline: 2px dashed var(--ph-line); outline-offset: -0.5rem; min-height: 10rem; font-size: 0.95rem; }

/* ---------- Banner ---------- */
.banner { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: var(--navy); color: #fff; padding: 0.25rem 0.5rem 0.25rem var(--gut); font-size: 0.9rem; }
.banner[hidden] { display: none; }
.banner-text { flex: 1; text-align: center; padding-block: 0.375rem; }
.banner a { color: var(--sky); font-weight: 700; display: inline-flex; align-items: center; gap: 0.25rem; min-height: 2rem; }
.banner a:hover { color: #fff; }
.banner-close { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; color: #fff; border-radius: 50%; flex: none; }
.banner-close:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 0.375rem 1.25rem rgba(11, 37, 69, 0.12); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--hh); gap: 0.75rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 3rem; text-decoration: none; color: var(--navy); }
.brand img { height: 1.5938rem; width: auto; }
.brand-name { font-size: 0.8938rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; padding-left: 0.75rem; border-left: 2px solid var(--line); }
.brand:hover { color: var(--navy); }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand-name { border-left-color: rgba(255, 255, 255, 0.3); }
@media (min-width: 1100px) { .brand img { height: 2rem; } .brand-name { font-size: 0.975rem; } }
@media (max-width: 600px) { .brand { gap: 0.5rem; } .brand-name { font-size: 0.6875rem; letter-spacing: 0.08em; padding-left: 0.5rem; } }
@media (max-width: 400px) { .brand img { height: 1.4063rem; } .brand-name { font-size: 0.5938rem; letter-spacing: 0.05em; } }
.nav-toggle { display: none; width: 3rem; height: 3rem; place-items: center; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 0.25rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 0.875rem; color: var(--navy); font-weight: 600; font-size: 0.92rem; text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; pointer-events: none; }
html:not(.js) .progress { display: none; }

@media (max-width: 859px) {
  .js .nav-toggle { display: grid; }
  .js .site-nav { display: none; flex-basis: 100%; padding-bottom: 0.5rem; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a { width: 100%; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
  .js .site-nav a[aria-current="page"] { border-left-color: var(--blue); border-bottom-color: var(--line); }
  html:not(.js) .site-nav { flex-basis: 100%; }
}
@media (min-width: 860px) { .header-in { flex-wrap: nowrap; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.125rem; padding: 0 1.5rem; border-radius: var(--radius); border: 2px solid transparent; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); color: var(--navy); }
.btn--wa { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--wa:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.875rem; }
.eyebrow--dark { color: var(--sky); }
.lead { font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.4rem); line-height: 1.5; font-weight: 500; color: var(--ink); max-width: 40ch; }
.sec { padding-block: clamp(3.25rem, 8vw, 6.5rem); }
.sec--tint { background: var(--tint); }
.sec-title { font-size: clamp(1.7rem, 3vw + 0.9rem, 2.7rem); padding-left: 1.125rem; border-left: 0.3125rem solid var(--navy); margin-bottom: 1.75rem; }
.sec-lead { color: var(--muted); margin: -0.75rem 0 1.75rem 1.4375rem; max-width: 60ch; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 3rem; font-weight: 700; text-decoration: none; margin-bottom: 1.25rem; }
.more:hover .ico { transform: translateX(3px); }
.ico { transition: transform 0.2s var(--ease); flex: none; }
.mini { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.875rem; font-weight: 700; }
.ph-list { margin-top: 1.125rem; display: grid; gap: 0.5rem; justify-items: start; }

/* ---------- Reveal on scroll (enhancement only) ---------- */
.js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Photo hero (home slideshow and page heads) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; touch-action: pan-y; }
.hero--home { min-height: clamp(26.25rem, 42vw, 50rem); display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 1.75rem; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(6rem, 9vw, 7.5rem); }
.hero--page { min-height: clamp(20rem, 34vw, 40rem); display: flex; align-items: flex-end; padding: clamp(3.5rem, 9vw, 6.875rem) 0 clamp(2.25rem, 5vw, 4rem); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.slide.is-active { opacity: 1; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; pointer-events: none; }
.hero.is-live .hero-canvas { display: block; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 37, 69, 0.82) 0%, rgba(11, 37, 69, 0.5) 50%, rgba(11, 37, 69, 0.1) 100%), linear-gradient(0deg, rgba(11, 37, 69, 0.55) 0%, rgba(11, 37, 69, 0) 40%); }
.hero-in { position: relative; z-index: 3; }
.hero--home .hero-in { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 3.3vw + 0.5rem, 3rem); max-width: 22ch; line-height: 1.1; text-shadow: 0 2px 1.75rem rgba(11, 37, 69, 0.45); }
.hero--page h1 { font-size: clamp(1.8rem, 3.6vw + 0.4rem, 3rem); max-width: 24ch; }
.hero-sub { font-size: clamp(0.9rem, 0.6vw + 0.7rem, 1.05rem); font-weight: 400; line-height: 1.6; color: #dce6fb; margin: 0.875rem 0 1.5rem; max-width: 46ch; }
.hero--page .hero-sub { margin-bottom: 0; }
.hero--tall { min-height: clamp(23.75rem, 44vw, 50rem); }
.hero-arrow { position: absolute; top: 50%; z-index: 4; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.55); background: rgba(11, 37, 69, 0.3); color: #fff; padding: 0; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.hero-arrow--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.hero-arrow--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.hero-arrow:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 4.375rem; z-index: 4; display: flex; justify-content: center; }
.hero-dots button { width: 1.5rem; height: 2rem; display: grid; place-items: center; background: none; border: 0; padding: 0; }
.hero-dots button::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: background 0.25s, transform 0.25s; }
.hero-dots button:hover::before { background: rgba(255, 255, 255, 0.85); }
.hero-dots button[aria-current="true"]::before { background: #fff; transform: scale(1.35); }
@media (max-width: 600px) { .hero-arrow { width: 2.375rem; height: 2.375rem; margin-top: -1.1875rem; } .hero-dots { bottom: 3.875rem; } }
@media (max-width: 600px) {
  .hero--home { min-height: min(70svh, 35rem); padding-top: 2rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(11, 37, 69, 0.15) 0%, rgba(11, 37, 69, 0.55) 45%, rgba(11, 37, 69, 0.92) 100%); }
}
.hero-ui { position: absolute; right: 0; left: 0; bottom: 6rem; z-index: 3; display: flex; align-items: flex-end; justify-content: flex-end; gap: 1rem 1.5rem; flex-wrap: wrap; margin-inline: auto; }
.hero-cap { display: grid; gap: 2px; color: #fff; text-decoration: none; font-size: 0.85rem; max-width: 34ch; }
.hero-cap[hidden] { display: none; }
.hero-cap:hover { color: #fff; }
.hero-cap strong { font-size: 1.05rem; line-height: 1.25; }
.hero-cap:hover strong { text-decoration: underline; text-underline-offset: 0.25rem; }
.hero-cap-k { color: var(--sky); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; }
@media (max-width: 600px) { .hero-cap { display: none; } }

/* ---------- Products banner: a lineup of products on a light background ---------- */
.hero--products { background: linear-gradient(180deg, #a9c0f7 0%, #cfdcfa 50%, #fff 100%); color: var(--navy); overflow: hidden; padding: clamp(2.75rem, 6vw, 5.5rem) 0 clamp(2.25rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.hero-prod-in { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .hero-prod-in { grid-template-columns: 1fr 1.3fr; gap: 3rem; } }
.hero--products h1 { color: var(--navy); font-size: clamp(1.8rem, 3.6vw + 0.4rem, 3rem); max-width: 18ch; text-shadow: none; }
.hero--products .eyebrow { color: var(--blue); }
.hero--products .hero-sub { color: var(--ink); margin: 1rem 0 0; max-width: 46ch; }
.lineup { display: flex; align-items: flex-end; justify-content: center; gap: clamp(2px, 1vw, 0.875rem); }
.lineup li { flex: 1 1 0; min-width: 0; aspect-ratio: 4 / 5; display: grid; place-items: end center; }
.lineup li:nth-child(even) { margin-bottom: clamp(0.5rem, 1.4vw, 1.25rem); }
.lineup img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
@media (max-width: 599px) { .lineup li:nth-child(even) { margin-bottom: 0.375rem; } }
/* ---------- Key figures ---------- */
.figures-wrap { position: relative; z-index: 4; margin-top: -3.75rem; }
.figures { display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); text-align: center; }
.fig { padding: clamp(1.625rem, 3.4vw, 3.25rem) clamp(0.75rem, 3vw, 2.75rem); position: relative; }
.fig + .fig::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.fig-num { font-size: clamp(2.3rem, 6.5vw, 4.5rem); font-weight: 600; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.figures--4 .fig-num { font-size: clamp(2rem, 5vw, 3.4rem); }
.figures--4 .fig-num--txt { font-size: clamp(1.1rem, 3.4vw, 2.2rem); }
.fig { min-width: 0; overflow-wrap: anywhere; }
.fig-num .num { display: inline-block; text-align: center; }
.fig-num::after { content: ""; display: block; width: 2.75rem; height: 0.25rem; background: var(--blue); border-radius: 2px; margin: 1rem auto 0; }
.fig-num--txt { font-size: clamp(1.4rem, 3.6vw, 2.2rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; padding-top: 0.5em; }
.fig-label { margin-top: 0.875rem; color: var(--ink); font-size: clamp(0.82rem, 0.5vw + 0.68rem, 1rem); line-height: 1.4; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.figures--flat { margin-top: 0; box-shadow: none; border: 1px solid var(--line); }
.figures--4 { grid-template-columns: repeat(2, 1fr); }
.figures--4 .fig { border-bottom: 1px solid var(--line); }
.figures--4 .fig:nth-last-child(-n + 2) { border-bottom: 0; }
.figures--4 .fig:nth-child(odd)::before { display: none; }
@media (min-width: 860px) {
  .figures--4 { grid-template-columns: repeat(4, 1fr); }
  .figures--4 .fig { border-bottom: 0; }
  .figures--4 .fig:nth-child(odd)::before { display: block; }
  .figures--4 .fig:first-child::before { display: none; }
}

/* ---------- Project cards and the carousel ---------- */
.pcard { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); transition: opacity 0.28s var(--ease), transform 0.28s var(--ease); }
.pcard a { display: block; position: relative; color: #fff; text-decoration: none; height: 100%; }
.pcard-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.8s var(--ease); }
.pcard--rail .pcard-img { aspect-ratio: 4 / 5; }
.pcard a:hover .pcard-img, .pcard a:focus-visible .pcard-img { transform: scale(1.06); }
.pcard a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 37, 69, 0) 28%, rgba(11, 37, 69, 0.94) 100%); pointer-events: none; }
.pcard-body { position: absolute; inset: auto 0 0 0; padding: 1.25rem 1.25rem 1.125rem; z-index: 2; }
.pcard-loc { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); font-weight: 700; }
.pcard h3 { color: #fff; font-size: 1.2rem; margin: 0.375rem 0 0.625rem; line-height: 1.18; }
.pcard-fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.625rem; }
.pcard-fig strong { font-size: 1.5rem; line-height: 1; color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.pcard-fig span { font-size: 0.8rem; color: #dce6fb; line-height: 1.3; }
.pcard-cue { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.75rem; font-weight: 700; font-size: 0.85rem; color: var(--sky); min-height: 1.5rem; transition: opacity 0.25s, transform 0.25s var(--ease); }
@media (hover: hover) {
  .pcard-cue { opacity: 0; transform: translateY(0.5rem); }
  .pcard a:hover .pcard-cue, .pcard a:focus-visible .pcard-cue { opacity: 1; transform: none; }
}
.pcard.is-out { opacity: 0; transform: scale(0.96); }
.pcard[hidden] { display: none; }

.rail-wrap { position: relative; }
.rail-controls { display: none; justify-content: flex-end; gap: 0.5rem; margin-bottom: 0.75rem; }
.js .rail-controls { display: flex; }
.js .rail-controls[hidden] { display: none; }
.rail-btn { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); transition: background 0.2s, color 0.2s, opacity 0.2s; }
.rail-btn:hover:not(:disabled) { background: var(--navy); color: #fff; }
.rail-btn:disabled { opacity: 0.3; cursor: default; }
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 0.25rem max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 1.25rem; scrollbar-width: thin; scrollbar-color: var(--blue) var(--line); -webkit-overflow-scrolling: touch; }
.rail .pcard { flex: 0 0 min(80vw, 21.25rem); scroll-snap-align: start; }

.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 1.375rem; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2rem; }
.chips--center { justify-content: center; }
.chip { min-height: 3rem; padding: 0 1.5rem; border: 2px solid var(--navy); background: #fff; color: var(--navy); border-radius: 62.4375rem; font-weight: 700; display: inline-flex; align-items: center; transition: background 0.2s, color 0.2s; }
.chip:hover { background: var(--tint); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* ---------- Photo tiles ---------- */
.tiles { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tile a { display: block; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--navy); color: #fff; text-decoration: none; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile a:hover .tile-img, .tile a:focus-visible .tile-img { transform: scale(1.07); }
.tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 37, 69, 0.05) 30%, rgba(11, 37, 69, 0.92) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.375rem; }
.tile h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.375rem; }
.tile p { font-size: 0.9rem; color: #dce6fb; line-height: 1.5; }
.tile-cue { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.875rem; font-weight: 700; font-size: 0.85rem; color: var(--sky); transition: opacity 0.25s, transform 0.25s var(--ease); }
@media (hover: hover) {
  .tile-cue { opacity: 0; transform: translateY(0.5rem); }
  .tile a:hover .tile-cue, .tile a:focus-visible .tile-cue { opacity: 1; transform: none; }
}

/* ---------- Trusted-by marquee (logos) ---------- */
.trusted { padding-block: 3rem 2.5rem; border-top: 1px solid var(--line); }
.trusted .eyebrow { margin-bottom: 1.125rem; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee:focus .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; align-items: center; }
.marquee-list li { padding: 1.375rem 2.375rem; display: flex; align-items: center; }
.marquee-list img { height: 2.875rem; width: auto; max-width: 11.875rem; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--tint); color: var(--navy); padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.375rem 2rem; }
.cta-band h2 { color: var(--navy); font-size: clamp(1.6rem, 2.8vw + 0.9rem, 2.5rem); max-width: 22ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfd9ee; padding-top: 3.75rem; border-top: 0.25rem solid var(--blue); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.25rem; }
.footer-label { margin-top: 1rem; color: var(--sky); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; }
.footer-line { margin-top: 0.375rem; font-size: 0.9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-nav a, .footer-contact a { color: #fff; display: inline-flex; align-items: center; min-height: 3rem; font-size: 0.92rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--sky); }
.footer-contact p { min-height: 3rem; display: flex; align-items: center; font-size: 0.92rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-block: 1.375rem 1.75rem; display: grid; gap: 0.375rem; font-size: 0.82rem; }
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.4fr 1.4fr 1fr; align-items: start; }
  .footer-base { grid-template-columns: 1fr auto; }
}

/* ---------- Journey tabs (service stages, project steps) ---------- */
.journey { --cols: 3; --sel: 0; }
.j-nav { position: relative; display: grid; grid-template-columns: repeat(var(--cols), 1fr); margin-bottom: 2.25rem; }
.j-line { position: absolute; left: calc(100% / var(--cols) / 2); right: calc(100% / var(--cols) / 2); top: 1.75rem; height: 0.25rem; background: var(--line); border-radius: 2px; }
.j-fill { display: block; height: 100%; background: var(--blue); border-radius: 2px; width: calc(var(--sel) / (var(--cols) - 1) * 100%); transition: width 0.6s var(--ease); }
.j-tab { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 0.625rem; background: none; border: 0; padding: 0 0.25rem 0.375rem; min-height: 3rem; }
.j-n { width: 3.625rem; height: 3.625rem; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--navy); background: #fff; color: var(--navy); font-weight: 800; font-size: 1rem; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.j-tab:hover .j-n { transform: scale(1.06); }
.j-tab.is-done .j-n { border-color: var(--blue); color: var(--blue); }
.j-tab[aria-selected="true"] .j-n { background: var(--navy); color: #fff; border-color: var(--navy); }
.j-t { font-weight: 700; font-size: 0.85rem; color: var(--navy); text-align: center; line-height: 1.25; }
.j-end { display: grid; justify-items: center; align-content: start; gap: 0.625rem; padding: 0 0.25rem; position: relative; z-index: 1; }
.j-inf { width: 3.625rem; height: 3.625rem; display: grid; place-items: center; border-radius: 50%; border: 3px dashed var(--blue); background: #fff; color: var(--blue); font-size: 1.9rem; line-height: 1; padding-bottom: 0.25rem; }
.j-panel { display: grid; gap: 1.75rem; margin-bottom: 3.5rem; }
.j-panel[hidden] { display: none; }
.journey > .j-panel:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .j-panel { grid-template-columns: 1.15fr 1fr; align-items: stretch; gap: 3.5rem; } }
.j-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
.j-photos li { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.j-photos .jp-1 { grid-column: span 2; }
.j-photos--2 .jp-1 { grid-column: auto; }
.j-photos a { display: block; position: relative; }
.j-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease); }
.j-photos .jp-1 img { aspect-ratio: 16 / 10; }
.j-photos--2 .jp-1 img { aspect-ratio: 4 / 3; }
.j-photos a:hover img { transform: scale(1.05); }
.j-copy { align-self: center; }
@media (min-width: 900px) {
  .j-photos { height: 100%; min-height: 23.75rem; grid-template-rows: 1fr 1fr; }
  .j-photos--3 { grid-template-columns: 1.3fr 1fr; }
  .j-photos--3 .jp-1 { grid-column: 1; grid-row: 1 / span 2; }
  .j-photos--3 .jp-2, .j-photos--3 .jp-3 { grid-column: 2; }
  .j-photos--2, .j-photos--1 { grid-template-rows: 1fr; }
  .j-photos--1 { grid-template-columns: 1fr; }
  .j-photos--1 .jp-1 { grid-column: 1; }
  .j-photos li, .j-photos a { height: 100%; }
  .j-photos img, .j-photos .jp-1 img, .j-photos--2 .jp-1 img { height: 100%; aspect-ratio: auto; }
}
.zoom { position: absolute; right: 0.625rem; bottom: 0.625rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: rgba(11, 37, 69, 0.7); color: #fff; opacity: 0; transition: opacity 0.2s; }
/* Design stage: the render is shown on a desktop monitor */
.j-photos .jp--pc { display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--tint), #d6e3ff); padding: 0.75rem 0.625rem 0; }
.j-photos .jp--pc a { width: 100%; height: auto; border: 0.5625rem solid #14213a; border-bottom-width: 0.9375rem; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 0.625rem 1.5rem rgba(11, 37, 69, 0.3); }
.j-photos .jp--pc img, .j-photos .jp--pc a img { height: auto; aspect-ratio: 16 / 10; }
.j-photos .jp--pc::after { content: ""; width: 100%; height: 2.5rem; background: linear-gradient(#9aa6ba, #9aa6ba) center top / 13% 1.625rem no-repeat, linear-gradient(#7d8aa1, #7d8aa1) center bottom / 34% 0.5rem no-repeat; border-radius: 0 0 0.5rem 0.5rem; }
.j-photos a:hover .zoom, .j-photos a:focus-visible .zoom { opacity: 1; }
@media (hover: none) { .zoom { opacity: 1; } }
.j-kicker { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 0.5rem; }
.j-copy h3 { font-size: clamp(1.6rem, 2.2vw + 0.9rem, 2.3rem); margin-bottom: 0.75rem; }
.j-lead { font-size: 1.05rem; font-weight: 500; margin-bottom: 1.125rem; }
.checks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { padding: 0.75rem 0 0.75rem 2rem; border-bottom: 1px solid var(--line); position: relative; font-size: 0.95rem; }
.checks li::before { content: ""; position: absolute; left: 0.25rem; top: 1.1em; width: 0.75rem; height: 0.4375rem; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
html:not(.js) .j-panel { margin-bottom: 4rem; }

/* ---------- Two companies (About) ---------- */
.duo-nav { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0.625rem; margin-bottom: 1.375rem; }
.duo-tab { display: grid; gap: 2px; align-content: center; text-align: left; min-height: 4.5rem; padding: 0.625rem 1.5rem; width: 100%; border: 2px solid var(--navy); border-radius: var(--radius); background: #fff; color: var(--navy); transition: background 0.2s, color 0.2s; }
.duo-tab span { font-size: 0.8rem; opacity: 0.8; }
.duo-tab:hover { background: var(--tint); }
.duo-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.duo-panel { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.25rem; }
.duo-panel[hidden] { display: none; }
.duo-art { min-height: 16.25rem; position: relative; background: var(--stripe); }
.duo-panel--sws .duo-art { background: var(--navy); display: grid; place-items: center; }
.duo-panel--sws .duo-art svg { width: min(70%, 20rem); }
.map-link { margin-top: 0.875rem; }
.duo-art--collage { background: var(--tint); }
.collage { position: absolute; inset: 0.625rem; margin: 0; padding: 0; list-style: none; display: grid; gap: 0.625rem; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.collage li { position: relative; overflow: hidden; border-radius: 0.875rem; box-shadow: 0 0.375rem 1.125rem rgba(11, 37, 69, 0.18); }
.collage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-1 { grid-row: 1 / 3; }
.cl-tag { position: absolute; left: 0.625rem; bottom: 0.625rem; background: rgba(11, 37, 69, 0.78); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3125rem 0.625rem; border-radius: 6.1875rem; }
.duo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo-copy { padding: clamp(1.375rem, 4vw, 3rem); align-self: center; }
.duo-copy h3 { font-size: clamp(1.4rem, 2vw + 0.8rem, 2rem); margin-bottom: 1.125rem; }
@media (min-width: 860px) { .duo-panel { grid-template-columns: 1fr 1fr; } .duo-art { min-height: 21.25rem; } }
.kv { display: grid; border-top: 1px solid var(--line); }
.kv > div { display: grid; gap: 2px; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kv dd { font-weight: 600; color: var(--navy); }

/* ---------- Equipment ---------- */
/* ---------- Equipment: hover, tap or keyboard reveals three products ---------- */
/* ---------- Products page, products call to action ---------- */
.sec--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.pcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding: clamp(1.5rem, 4vw, 2.75rem); border: 1px solid var(--line); border-left: 0.375rem solid var(--blue); border-radius: var(--radius); background: var(--stripe); }
.pcta h2 { font-size: clamp(1.4rem, 2vw + 0.8rem, 2rem); margin-bottom: 0.5rem; }
.pcta p:last-child { color: var(--muted); max-width: 56ch; }
.prod-nav { padding-block: 1.375rem 0; position: sticky; top: var(--hh); z-index: 30; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(0.375rem); border-bottom: 1px solid var(--line); }
.prod-nav .chips { margin-bottom: 0.75rem; }
.chip { text-decoration: none; }
.pcat { padding-block: clamp(2.25rem, 6vw, 4.5rem) 0; scroll-margin-top: calc(var(--hh) + 5rem); }
.pcat:nth-of-type(even) { background: var(--stripe); padding-bottom: clamp(2.25rem, 6vw, 4.5rem); }
.eqp-list { display: grid; gap: 0.875rem; }
@media (min-width: 760px) { .eqp-list { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.eqp { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.eqp-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; }
.eqp-img img { position: absolute; inset: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); object-fit: contain; }
.eqp-img--photo img { inset: 0; width: 100%; height: 100%; }
.eqp-img--photo img { object-fit: cover; }
.eqp-body { padding: 1rem 1.125rem 1.25rem; border-top: 0.25rem solid var(--blue); }
.eqp-brand { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 0.25rem; }
.eqp h3 { font-size: 1.1rem; margin: 0 0 0.375rem; color: var(--navy); line-height: 1.2; }
.eqp p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.eq-credit { margin-top: 0.875rem; font-size: 0.78rem; color: var(--muted); }

/* ---------- Journey extras: infinity stage, deliverables, design call to action ---------- */
.j-tab--inf .j-n { font-size: 1.9rem; font-weight: 400; padding-bottom: 0.25rem; border-style: dashed; }
.j-tab--inf[aria-selected="true"] .j-n { border-style: solid; }
.j-get { margin: 1.25rem 0 0.5rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.chipset { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chipset li { padding: 0.5rem 0.875rem; border-radius: 62.4375rem; background: var(--tint); color: var(--navy); font-weight: 700; font-size: 0.8rem; }
.chipset--light li { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.design-cta { margin-top: clamp(2.5rem, 6vw, 4.5rem); background: var(--navy); color: #fff; border-radius: var(--radius); display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 3.5rem); position: relative; overflow: hidden; }
.design-cta::after { content: ""; position: absolute; right: -5.625rem; top: -5.625rem; width: 18.75rem; height: 18.75rem; border-radius: 50%; border: 2px solid rgba(157, 187, 255, 0.35); box-shadow: 0 0 0 2.5rem rgba(157, 187, 255, 0.08), 0 0 0 5rem rgba(157, 187, 255, 0.05); pointer-events: none; }
.design-cta > * { position: relative; z-index: 1; }
.design-cta h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw + 0.8rem, 2.4rem); margin-bottom: 0.75rem; }
.design-cta p { color: #dce6fb; max-width: 62ch; margin-bottom: 0.875rem; }
.design-cta-act p { font-size: 0.85rem; margin: 0.75rem 0 0; }
@media (min-width: 860px) { .design-cta { grid-template-columns: 1.6fr 0.8fr; align-items: center; gap: 3rem; } }

/* ---------- About: details ---------- */
.details { display: grid; gap: 0; border-top: 1px solid var(--navy); background: #fff; }
.details > div { display: grid; gap: 0.25rem; padding: 0.875rem 1.125rem; border-bottom: 1px solid var(--line); }
.details dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
@media (min-width: 640px) { .details:not(.details--stack) > div { grid-template-columns: 15rem 1fr; align-items: baseline; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.25rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; } }
.form { display: grid; gap: 1.375rem; }
.field { display: grid; gap: 0.375rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; color: var(--navy); padding: 0; font-size: 0.92rem; }
.req { color: var(--blue); }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; min-height: 3.125rem; padding: 0.75rem 0.875rem; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8fa1c2; border-radius: var(--radius); }
.field textarea { resize: vertical; min-height: 9.375rem; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.err { color: #b3261e; font-weight: 600; font-size: 0.9rem; }
.err[hidden] { display: none; }
.hp { position: absolute; left: -624.9375rem; width: 1px; height: 1px; opacity: 0; }
.rchips { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 0.25rem; }
.rchip { position: relative; }
.rchip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rchip label { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.25rem; border: 2px solid var(--navy); border-radius: 62.4375rem; font-weight: 700; color: var(--navy); background: #fff; transition: background 0.2s, color 0.2s; }
.rchip input:checked + label { background: var(--navy); color: #fff; }
.rchip input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status.ok, .form-status.bad { padding: 0.875rem 1rem; border-left: 0.3125rem solid currentColor; background: #fff; }
.form-status.ok { color: #0a6b3a; background: #effaf3; }
.form-status.bad { color: #b3261e; background: #fff7f6; }
.form-note { font-size: 0.9rem; }
.card { background: var(--tint); border-top: 0.25rem solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); padding: 1.625rem; }
.card h2 { font-size: 1.5rem; margin-bottom: 0.875rem; }
.card .details { border-top: 0; background: transparent; }
.card .details > div { padding-inline: 0; }
.map-ph { margin-top: 1.125rem; min-height: 11.25rem; }

/* ---------- Project page ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: clamp(22.5rem, 62svh, 37.5rem); display: flex; align-items: flex-end; background: var(--navy); }
.phero-media { position: absolute; left: 0; right: 0; top: -9%; bottom: -9%; z-index: 0; will-change: transform; }
.phero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.phero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 37, 69, 0.3) 0%, rgba(11, 37, 69, 0.9) 100%); }
.phero-in { padding-block: 2.5rem 2.25rem; position: relative; z-index: 3; }
.phero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw + 0.5rem, 3.8rem); max-width: 22ch; text-shadow: 0 2px 1.25rem rgba(11, 37, 69, 0.4); }
.phero-loc { margin-top: 0.75rem; font-size: 1.05rem; color: #eaf0fe; }
.crumb { margin-bottom: 0.875rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.crumb a { color: var(--sky); text-decoration: none; display: inline-flex; align-items: center; min-height: 2rem; }
.crumb a::before { content: "\2190"; margin-right: 0.5rem; }
.crumb a:hover { color: #fff; }
.tag { display: inline-block; margin-bottom: 1rem; padding: 0.3125rem 0.875rem; border: 1.5px solid var(--sky); color: var(--sky); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 62.4375rem; background: rgba(11, 37, 69, 0.5); }
.factbar { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.factbar-in { display: grid; grid-template-columns: 1fr 1fr; padding-block: 0; }
.factbar-in > div { padding: 0.875rem 0.75rem 0.875rem 0; }
.factbar dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.factbar dd { font-weight: 700; color: var(--navy); line-height: 1.3; font-size: 0.92rem; }
@media (min-width: 720px) {
  .factbar { position: sticky; top: var(--hh); box-shadow: 0 0.375rem 0.875rem -0.625rem rgba(11, 37, 69, 0.35); }
  .factbar-in { grid-template-columns: 1.4fr 1.2fr 0.6fr 0.8fr; }
  .factbar-in > div { padding: 0.75rem 1rem 0.75rem 0; }
}
.pintro { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .pintro { grid-template-columns: 1.2fr 1fr; gap: 4.5rem; align-items: start; } }
.glance { display: grid; gap: 0.625rem; }
.glance li { display: grid; grid-template-columns: 3.25rem 1fr; align-items: center; gap: 0.75rem; padding: 1rem 1.125rem; background: var(--stripe); border-left: 0.25rem solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s; }
.glance li:hover { transform: translateX(0.375rem); box-shadow: var(--shadow); background: #fff; }
.glance-n { font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.375rem, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
.metrics > div { background: var(--stripe); padding: 0.75rem 0.875rem; border-top: 3px solid var(--sky); }
.metrics dt { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.metrics dd { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.quote { margin-top: 1.5rem; padding-left: 1.125rem; border-left: 0.25rem solid var(--blue); font-size: 1.2rem; color: var(--navy); font-weight: 500; }
.mosaic { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 560px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.m-item { border-radius: var(--radius); overflow: hidden; background: var(--navy); position: relative; aspect-ratio: 4 / 3; }
.m-item a { display: block; position: relative; }
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.m-item a:hover img, .m-item a:focus-visible img { transform: scale(1.05); }
.m-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; padding: 2.5rem 0.875rem 0.75rem; background: linear-gradient(180deg, transparent, rgba(11, 37, 69, 0.88)); color: #fff; font-size: 0.82rem; line-height: 1.35; opacity: 0; transform: translateY(0.5rem); transition: opacity 0.25s, transform 0.25s var(--ease); }
.m-cap svg { flex: none; }
.m-item a:hover .m-cap, .m-item a:focus-visible .m-cap { opacity: 1; transform: none; }
@media (hover: none) { .m-cap { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 22, 44, 0.96); display: grid; grid-template-rows: auto 1fr auto; color: #fff; opacity: 0; transition: opacity 0.2s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.75rem 0 1.125rem; }
.lb-count { font-variant-numeric: tabular-nums; color: #cfd9ee; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0.5rem 3.75rem; touch-action: pan-y; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; user-select: none; -webkit-user-drag: none; transition: transform 0.2s var(--ease), opacity 0.2s; }
.lb-btn { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.5); background: rgba(11, 37, 69, 0.7); color: #fff; }
.lb-btn:hover { background: #fff; color: var(--navy); }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -1.5rem; }
.lb-prev { left: 0.375rem; }
.lb-next { right: 0.375rem; }
.lb-cap { padding: 0.625rem 1.125rem 1.25rem; text-align: center; color: #dce6fb; min-height: 3em; }
@media (max-width: 599px) {
  .lb-stage { padding-inline: 0.5rem; }
  .lb-prev { left: 0.25rem; top: auto; bottom: -0.25rem; margin: 0; }
  .lb-next { right: 0.25rem; top: auto; bottom: -0.25rem; margin: 0; }
  .lb-cap { padding-inline: 4rem; }
}
body.lb-open { overflow: hidden; }

/* ---------- Logo loader: the light-blue lower part keeps rising like water filling up ---------- */
.loader { position: fixed; inset: 0; z-index: 9999; display: none; place-items: center; background: #fff; opacity: 0; pointer-events: none; }
.js .loader { display: grid; animation: loader-in 0.2s ease 0.35s forwards, loader-out 0.4s ease 5s forwards; }
.js.loaded .loader { animation: loader-out 0.35s ease forwards; }
.loader-logo { display: block; width: min(22vw, 7rem); height: auto; aspect-ratio: 170.67 / 72; }
@keyframes loader-in { to { opacity: 1; } }
@keyframes loader-out { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) { .loader, .js .loader { display: none; animation: none; } }

/* ---------- Reduced motion: static fallback for every animation ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee-dup { display: none; }
  .marquee-list { flex-wrap: wrap; }
  .phero-img { animation: none; }
  .glance li { transition: none; }
  .slide, .pcard, .pcard-img, .tile-img, .m-item img, .j-photos img, .btn, .ico, .site-header, .lightbox, .lb-img, .j-fill, .j-n, .eq, .glance li { transition: none; }
  .pcard a:hover .pcard-img, .tile a:hover .tile-img, .m-item a:hover img, .j-photos a:hover img, .eq:hover, .glance li:hover { transform: none; }
}

