/* ==========================================================================
   IGT1 Port City — design system
   Colour: four ramps (Cobalt, Sapphire, Ink, Neutral) from the IGT1 Creative
   Direction Guideline. Type: one family, three weights (400/500/600), -2%
   tracking everywhere. "Inter Tight" stands in for Timeless Sans — swap the
   --font token once the licensed webfont files are available.
   ========================================================================== */

:root {
  /* Cobalt — primary */
  --cobalt-50: #EBF5FF; --cobalt-100: #D3EAFF; --cobalt-200: #AED9FF; --cobalt-300: #7CC3FF;
  --cobalt-400: #319FFF; --cobalt-500: #007AE5; --cobalt-600: #0067C2; --cobalt-700: #0055A0;
  --cobalt-800: #004683; --cobalt-900: #05284B;
  /* Sapphire — secondary */
  --sapphire-50: #EDF3FF; --sapphire-100: #D9E6FF; --sapphire-200: #BCD2FF; --sapphire-300: #97B8FF;
  --sapphire-400: #6895FA; --sapphire-500: #4473E3; --sapphire-600: #2D58C2; --sapphire-700: #1C3F99;
  --sapphire-800: #0E2882; --sapphire-900: #061351;
  /* Ink — body text & dark surfaces */
  --ink-50: #EEF6FD; --ink-100: #DFEBF4; --ink-200: #CAD9E5; --ink-300: #B0C3D2; --ink-400: #90A6B7;
  --ink-500: #70899C; --ink-600: #60657B; --ink-700: #474E61; --ink-800: #333A4A; --ink-900: #0E1620;
  /* Neutral — surface, borders, muted text */
  --neutral-50: #FAFAFA; --neutral-100: #F0F0F0; --neutral-200: #DFDFDF; --neutral-300: #C9C9C9;
  --neutral-400: #ADADAD; --neutral-500: #919191; --neutral-600: #797979; --neutral-700: #616161;
  --neutral-800: #4E4E4E; --neutral-900: #292929;

  /* Brand deep navy (hero / dark panels — as used on the brand decks) */
  --navy: #03102A;
  --navy-2: #0A1A3A;

  /* Semantic tokens — light (default) */
  --bg: var(--neutral-50);
  --surface: #FFFFFF;
  --surface-2: var(--neutral-100);
  --surface-3: #E9EEF4;
  --text: var(--ink-900);
  --text-2: var(--ink-700);
  --muted: var(--ink-600);
  --line: var(--neutral-200);
  --line-strong: var(--neutral-300);
  --accent: var(--cobalt-500);
  --accent-strong: var(--cobalt-600);
  --accent-soft: var(--cobalt-50);
  --accent-text: var(--cobalt-600);
  --dark-panel: var(--navy);
  --on-dark: #FFFFFF;
  --on-dark-2: var(--ink-200);
  --on-dark-muted: var(--ink-300);
  --on-dark-line: rgba(255, 255, 255, .14);
  --on-dark-line-soft: rgba(255, 255, 255, .08);
  --shadow: 0 1px 2px rgba(14, 22, 32, .04), 0 12px 32px -12px rgba(14, 22, 32, .12);
  --backdrop: rgba(3, 16, 42, .45);

  --font: "Inter Tight", "Timeless Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --track: -0.02em;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --gutter: clamp(16px, 2.6vw, 40px);
  --frame: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050B16;
  --surface: var(--ink-900);
  --surface-2: #131D2B;
  --surface-3: #18243A;
  --text: var(--ink-50);
  --text-2: var(--ink-200);
  --muted: var(--ink-400);
  --line: rgba(238, 246, 253, .1);
  --line-strong: rgba(238, 246, 253, .18);
  --accent: var(--cobalt-400);
  --accent-strong: var(--cobalt-300);
  --accent-soft: rgba(0, 122, 229, .14);
  --accent-text: var(--cobalt-300);
  --dark-panel: #0A1730;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  --backdrop: rgba(0, 0, 0, .55);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: var(--track);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cobalt-500); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.frame { padding: 0 var(--frame); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background-color .4s var(--ease);
}
.panel--dark { background: var(--dark-panel); color: var(--on-dark); }
.panel--soft { background: var(--surface-2); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }

/* ---------- Type ---------- */
.display { font-size: clamp(52px, 11.5vw, 188px); line-height: .9; letter-spacing: -0.055em; font-weight: 600; }
.h1 { font-size: clamp(44px, 7.4vw, 120px); line-height: .94; letter-spacing: -0.05em; }
.h2 { font-size: clamp(36px, 5.2vw, 80px); line-height: .98; letter-spacing: -0.045em; }
.h3 { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -0.04em; }
.h4 { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.h5 { font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -0.025em; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--text-2); }
.body-l { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; line-height: 1; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); flex: none; }
.eyebrow--plain::before { display: none; }
.mono { font-variant-numeric: tabular-nums; }
.label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.copy p + p { margin-top: 1.1em; }

/* Section heading row (index row) */
.sec-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding-bottom: 18px; margin-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
}
.sec-row__label { display: inline-flex; align-items: center; gap: 10px; }
.sec-row__label::before { content: "+"; font-weight: 400; color: var(--muted); font-size: 18px; line-height: 1; }
.sec-row__idx { color: var(--muted); font-variant-numeric: tabular-nums; }
.sec-row__end { justify-self: end; display: inline-flex; color: var(--muted); }
.panel--dark .sec-row { border-color: rgba(255,255,255,.14); }
.panel--dark .sec-row__idx, .panel--dark .sec-row__end, .panel--dark .sec-row__label::before { color: var(--on-dark-muted); }

.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head__title { grid-column: span 7; }
.sec-head__aside { grid-column: 9 / span 4; }
.sec-head__title .eyebrow { margin-bottom: 22px; }
@media (max-width: 900px) {
  .sec-head__title, .sec-head__aside { grid-column: 1 / -1; }
}

/* Plus markers (constructed-grid feel) */
.crosses { position: absolute; inset: auto 0 18px 0; display: flex; justify-content: space-between; padding: 0 var(--gutter); pointer-events: none; color: currentColor; opacity: .5; font-weight: 300; font-size: 18px; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--text); --btn-fg: var(--bg);
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 48px; padding: 0 8px 0 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 14px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s;
}
.btn__dot {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; transition: transform .5s var(--ease);
}
.btn__dot .icon { width: 16px; height: 16px; }
.btn:hover .btn__dot { transform: rotate(-45deg); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--primary .btn__dot { background: #fff; color: var(--cobalt-600); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; box-shadow: inset 0 0 0 1px var(--line-strong); }
.panel--dark .btn--ghost, .on-dark .btn--ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn--sm { height: 40px; padding: 0 6px 0 16px; font-size: 12.5px; }
.btn--sm .btn__dot { width: 28px; height: 28px; }
.btn--plain { padding: 0 22px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Text roll — duplicated label slides on hover */
.roll { position: relative; display: inline-flex; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
a:hover .roll > span, button:hover .roll > span, .roll-host:hover .roll > span { transform: translateY(-100%); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow .icon { transition: transform .45s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .3s, color .3s, box-shadow .3s;
}
.icon-btn:hover { background: var(--text); color: var(--bg); box-shadow: none; }
.theme-icon { display: grid; place-items: center; line-height: 0; } /* inline wrapper would sit the icon on the text baseline */

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-text);
  font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.tag--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text-2); }
.tag--dark { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Logos (recoloured via mask so they work in both themes) ---------- */
.logo-mask {
  display: block; background-color: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
}
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.brand__logo { width: 84px; height: 28px; }
.brand__divider { width: 1px; height: 26px; background: currentColor; opacity: .25; }
.brand__meta { display: flex; flex-direction: column; font-size: 10.5px; line-height: 1.25; font-weight: 500; letter-spacing: .12em; }

/* ---------- Preloader ---------- */
/* Shares the transition curtain's look: navy, cobalt glow, faded hairline grid */
.preloader {
  position: fixed; inset: 0; z-index: 200; overflow: hidden; color: #fff;
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(0, 122, 229, .38), transparent 62%),
    radial-gradient(50% 45% at 100% 0%, rgba(68, 115, 227, .22), transparent 60%),
    var(--navy);
  display: grid; grid-template-rows: auto 1fr auto;
}
.preloader::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center;
  -webkit-mask: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 85%); mask: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 85%);
}
.preloader__row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--gutter); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-300); }
.preloader__row .pulse { margin-right: 10px; display: inline-block; vertical-align: middle; }
.preloader__inner { position: relative; align-self: center; justify-self: center; }
/* The IGT1 logo on its own. It is drawn six times from the same SVG and each copy is clipped to one
   part (mark + "IGT1", then each tagline word and divider) so the tagline words can appear one by one. */
.preloader__logo { position: relative; display: block; width: 320px; aspect-ratio: 957 / 311; color: #fff; }
.preloader__logo > span { position: absolute; inset: 0; }
.preloader__mark { clip-path: inset(0 0 22% 0); }
.preloader__tag--ignite { clip-path: inset(78% 74.9% 0 0); }
.preloader__tag--sep1 { clip-path: inset(78% 68.9% 0 29.2%); }
.preloader__tag--global { clip-path: inset(78% 37.3% 0 35.3%); }
.preloader__tag--sep2 { clip-path: inset(78% 31% 0 67.2%); }
.preloader__tag--talent { clip-path: inset(78% 0 0 72.8%); }
.preloader__foot { position: relative; }
.preloader__foot .preloader__row { align-items: flex-end; }
/* kept modest so the logo stays the focal point; the counter is a supporting detail */
.preloader__count { font-size: clamp(48px, 5.5vw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: .8; color: rgba(255,255,255,.28); font-variant-numeric: tabular-nums; text-transform: none; }
.preloader__count::after { content: "%"; font-size: .33em; letter-spacing: 0; margin-left: 3px; color: var(--cobalt-300); vertical-align: top; }
.preloader__bar { position: relative; display: block; height: 2px; margin: 0 var(--gutter) 22px; background: var(--cobalt-400); border-radius: 2px; transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(49,159,255,.6); }
html.no-preload .preloader { display: none; }
/* smaller logo on phones / small tablets */
@media (max-width: 700px) {
  .preloader__logo { width: 210px; }
}

/* Page transition curtain — shows the destination page while it loads */
.curtain {
  position: fixed; inset: 0; z-index: 190; pointer-events: none; overflow: hidden;
  color: #fff; transform: translateY(100%);
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(0, 122, 229, .38), transparent 62%),
    radial-gradient(50% 45% at 100% 0%, rgba(68, 115, 227, .22), transparent 60%),
    var(--navy);
  display: grid; grid-template-rows: auto 1fr auto;
}
.curtain.is-covering { pointer-events: all; }
.curtain::before { /* constructed hairline grid, faded toward the edges */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center;
  -webkit-mask: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 85%); mask: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 85%);
}
.curtain__row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--gutter); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-300); }
.curtain__row .pulse { margin-right: 10px; display: inline-block; vertical-align: middle; }
.curtain__center { position: relative; align-self: center; display: grid; justify-items: center; gap: 22px; text-align: center; padding: 0 var(--gutter); }
.curtain__logo { width: 96px; height: 32px; color: #fff; }
.curtain__mask { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.14em; } /* room for descenders (g, y) in the tight title */
.curtain__mask > * { display: block; }
.curtain__idx { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--cobalt-300); font-variant-numeric: tabular-nums; }
.curtain__title { font-size: clamp(52px, 9vw, 150px); font-weight: 600; letter-spacing: -.055em; line-height: .92; }
.curtain__title em { font-style: normal; color: var(--cobalt-300); }
.curtain__bar { position: relative; height: 2px; margin: 0 var(--gutter) 22px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.curtain__bar span { position: absolute; inset: 0; background: var(--cobalt-400); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  /* Sits inside the 14px page frame so its content lines up with the panels below */
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: calc(var(--header-h) + var(--frame) + 10px); padding-top: calc(var(--frame) + 10px);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background-color .4s, color .4s, box-shadow .4s, height .5s var(--ease), padding .5s var(--ease);
}
.header.is-scrolled { height: var(--header-h); padding-top: 0; } /* compact bar once scrolling: no frame offset */
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.header.on-hero .header__inner { padding: 0 calc(var(--frame) + var(--gutter)); } /* line up with the framed hero panel */
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.on-hero:not(.is-scrolled) { color: #fff; }
.header.on-hero:not(.is-scrolled) .brand { color: #fff; }
.header.on-hero:not(.is-scrolled) .icon-btn { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.header.on-hero:not(.is-scrolled) .icon-btn:hover { background: #fff; color: var(--ink-900); }

.nav { position: relative; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; }
.nav__link { position: relative; z-index: 1; padding: 9px 14px; font-size: 14px; font-weight: 500; border-radius: 999px; transition: color .3s; }
.nav__link.is-active { color: var(--accent-text); }
.header.on-hero:not(.is-scrolled) .nav__link.is-active { color: #fff; }
.nav__indicator { position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--accent); border-radius: 2px; transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s; opacity: 0; }
.header.on-hero:not(.is-scrolled) .nav__indicator { background: #fff; }
.header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-right: -9px; /* lines align with the content edge */ }
.burger__lines { position: relative; width: 26px; height: 10px; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger__lines::before { top: 0; }
.burger__lines::after { top: 8.5px; }
body.menu-open .burger__lines::before { top: 4px; transform: rotate(45deg); }
body.menu-open .burger__lines::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav, .header__actions .btn, .header__actions .theme-toggle { display: none; }
  .header__inner { grid-template-columns: minmax(0, 1fr) auto; } /* minmax(0,…) so the brand column can never push the bar wider than the screen */
}
@media (min-width: 1101px) { .burger { display: none; } }

/* Drawer menu */
.drawer-backdrop { position: fixed; inset: 0; z-index: 110; background: var(--backdrop); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(560px, 100%); background: var(--ink-900); color: #fff;
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 8px) clamp(24px, 4vw, 48px) 32px;
  transform: translateX(100%); transition: transform .8s var(--ease);
  overflow-y: auto;
}
body.menu-open .drawer { transform: none; }
body.menu-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.menu-open .header { z-index: 130; color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
body.menu-open .header .brand { color: #fff; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: clamp(32px, 5vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; overflow: hidden; }
.drawer__link small { font-size: 12px; color: var(--ink-400); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.drawer__link.is-active { color: var(--cobalt-300); }
.drawer__link.is-active small::before { content: "● "; color: var(--cobalt-400); }
.drawer__link > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); }
body.menu-open .drawer__link > span { transform: none; }
.drawer__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.drawer__foot .btn { width: 100%; justify-content: space-between; }
.drawer__meta { display: flex; justify-content: space-between; color: var(--ink-400); font-size: 13px; margin-top: 8px; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word { display: inline-block; will-change: transform; }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-split] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Media frames ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--grade img { filter: saturate(.92) contrast(1.02); }
.media--grade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,122,229,.05), rgba(3,16,42,.12)); mix-blend-mode: multiply; pointer-events: none; }
.img-zoom img { transition: transform 1.2s var(--ease); }
.img-zoom:hover img { transform: scale(1.06); }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { padding: var(--frame); }
.hero__panel {
  position: relative; min-height: max(680px, 100svh - var(--frame) * 2); border-radius: var(--radius); overflow: hidden;
  background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { display: block; width: 100%; height: 115%; object-fit: cover; transform-origin: center top; }
/* Story reel: two stacked video layers crossfading, each with a slow push-in */
.hero__reel { position: absolute; inset: 0; height: 115%; transform-origin: center top; background: var(--navy) center / cover no-repeat; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(3,16,42,.55) 0%, rgba(3,16,42,.15) 34%, rgba(3,16,42,.5) 62%, rgba(3,16,42,.94) 100%),
  radial-gradient(80% 60% at 0% 100%, rgba(0,122,229,.35), transparent 60%); }
.hero__top { position: absolute; top: calc(var(--header-h) + 38px); left: 0; right: 0; padding: 0 var(--gutter); display: flex; justify-content: space-between; gap: 24px; }
.hero__coords { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); flex-wrap: wrap; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt-400); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--cobalt-400); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero__coords .rule { width: 36px; height: 1px; background: rgba(255,255,255,.4); }
.hero__body { padding: 0 var(--gutter) clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: end; }
.hero__title { grid-column: 1 / -1; margin-bottom: clamp(20px, 3vw, 44px); }
.hero__title .h1 { font-size: clamp(46px, 8.2vw, 136px); line-height: .9; }
.hero__title em { font-style: normal; color: var(--cobalt-300); display: inline-block; }
.hero__intro { grid-column: 1 / span 6; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: rgba(255,255,255,.82); max-width: 640px; }
.hero__actions { grid-column: 1 / span 7; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 8px; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero__scroll .icon { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
.hero .label { color: var(--cobalt-300); }
@media (max-width: 1000px) {
  .hero__panel { justify-content: space-between; }
  .hero__top { position: relative; top: auto; padding-top: calc(var(--header-h) + 30px); padding-bottom: 32px; }
  .hero__coords .rule { display: none; }
  .hero__intro, .hero__actions { grid-column: 1 / -1; }
}

/* Engineering domains — tab list + illustrated stage (spec §6.2) */
@property --glow-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.dom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px; align-items: stretch; }
.dom__list { display: grid; grid-auto-rows: 1fr; gap: 6px; } /* tabs share the stage's full height */
.dom__tab {
  position: relative; display: grid; grid-template-columns: 34px 44px 1fr; align-items: center; gap: 14px;
  width: 100%; padding: 16px 18px; text-align: left; border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  transition: background-color .4s, box-shadow .4s, transform .6s var(--ease);
}
.dom__tab:hover { box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateX(4px); }
.dom__tab-num { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.dom__tab-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); transition: background-color .4s, color .4s; }
.dom__tab-icon .icon { width: 20px; height: 20px; }
.dom__tab-text { display: grid; gap: 3px; min-width: 0; }
.dom__tab-text b { font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -.025em; line-height: 1.2; }
.dom__tab-text small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dom__tab[aria-selected="true"] { background: var(--text); color: var(--bg); box-shadow: none; transform: none; }
.dom__tab[aria-selected="true"] .dom__tab-num, .dom__tab[aria-selected="true"] .dom__tab-text small { color: color-mix(in srgb, var(--bg) 62%, transparent); }
.dom__tab[aria-selected="true"] .dom__tab-icon { background: var(--accent); color: #fff; }
.dom__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--cobalt-400); transform-origin: left; transform: scaleX(0); }
.dom.is-auto .dom__tab[aria-selected="true"] .dom__progress { animation: dom-progress var(--dwell, 6500ms) linear forwards; }
.dom.is-paused .dom__tab[aria-selected="true"] .dom__progress { animation-play-state: paused; }
@keyframes dom-progress { to { transform: scaleX(1); } }

/* Stage colours follow the theme: white panel + ink strokes in light mode,
   navy panel + white strokes in dark mode (Creative Direction illustration rule). */
.dom__stage {
  /* Always the site's standard dark navy panel (both themes) */
  --stage-bg: var(--dark-panel);
  --stage-fg: #fff;
  --stage-muted: var(--ink-300);
  --stage-soft: var(--ink-400);
  --stage-line: rgba(255,255,255,.12);
  --stage-chip: rgba(255,255,255,.07);
  --stage-accent: var(--cobalt-400);
  --stage-accent-2: var(--cobalt-300);
  --stage-label: var(--cobalt-300);
  --stage-glow: radial-gradient(60% 50% at 70% 35%, rgba(0,122,229,.28), transparent 70%), linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25));
  --stroke: rgba(255,255,255,.85);
  --stroke-faint: rgba(255,255,255,.16);
  --stroke-plane: rgba(255,255,255,.55);
  --dot: #fff;
  --top-tint: color-mix(in srgb, var(--stage-bg) 88%, #7CC3FF);
  --top-tint-accent: color-mix(in srgb, var(--stage-bg) 70%, #319FFF);
  --wire: rgba(124,195,255,.35);
  position: relative; isolation: isolate; border-radius: var(--radius); background: var(--stage-bg); color: var(--stage-fg);
  box-shadow: inset 0 0 0 1px var(--stage-line);
  padding: clamp(22px, 2.6vw, 36px); display: grid; grid-template-rows: auto minmax(220px, 1fr) auto; gap: 8px; min-height: 620px; overflow: hidden;
  transition: background-color .4s, color .4s;
}
/* Slow travelling light along the border (the spec's "signature" light line) */
.dom__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--glow-angle), transparent 0 62%, rgba(49,159,255,.35) 72%, var(--stage-accent-2) 82%, var(--stage-accent) 84%, rgba(49,159,255,.35) 90%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgba(49,159,255,.7)) drop-shadow(0 0 14px rgba(49,159,255,.35));
  animation: glow-spin 9s linear infinite;
}
.dom__stage::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: var(--stage-glow); }
@keyframes glow-spin { to { --glow-angle: 360deg; } }
.dom__stage-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dom__count { font-size: 13px; color: var(--stage-soft); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.dom__count b { color: var(--stage-fg); font-weight: 500; font-size: 15px; }
.dom__stage-top .tag { gap: 8px; text-transform: none; letter-spacing: 0; font-size: 12.5px; background: var(--stage-chip); color: var(--stage-fg); }
.dom__stage-top .tag .icon { width: 14px; height: 14px; color: var(--stage-accent); }
.dom__art { display: grid; place-items: center; min-height: 0; }
.dom__art svg { width: min(100%, 560px); height: auto; max-height: 320px; }
.dom__copy h3 { font-size: clamp(28px, 2.8vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.dom__copy p { margin-top: 12px; color: var(--stage-muted); font-size: 16.5px; max-width: 62ch; }
.dom__comp { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--stage-line); }
.dom__comp .label { color: var(--stage-label); }
.dom__comp ul { display: flex; flex-wrap: wrap; gap: 6px; }
.dom__comp li { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; font-size: 12.5px; background: var(--stage-chip); border: 1px solid var(--stage-line); }

/* Illustration strokes on the stage */
.dom__art .iso--domain { overflow: visible; }
.dom__art .iso--domain .face, .dom__art .iso--domain .face-top { fill: var(--stage-bg); stroke: var(--stroke); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dom__art .iso--domain .face-top { fill: var(--top-tint); }
.dom__art .iso--domain .face.a, .dom__art .iso--domain .face-top.a { stroke: var(--stage-accent); }
.dom__art .iso--domain .face-top.a { fill: var(--top-tint-accent); }
.dom__art .iso--domain .g { stroke: var(--stroke-faint); opacity: 1; stroke-dasharray: 3 5; fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dom__art .iso--domain .plane { stroke: var(--stroke-plane); stroke-dasharray: 4 4; fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dom__art .iso--domain .a { stroke: var(--stage-accent); fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dom__art .iso--domain .s { stroke: var(--stroke); fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dom__art .iso--domain .tint-line { fill: rgba(49,159,255,.06); }
.dom__art .iso--domain .wire { stroke: var(--wire); stroke-width: .8; fill: none; vector-effect: non-scaling-stroke; }
.dom__art .iso--domain .af { fill: var(--stage-accent); }
.dom__art .iso--domain .sf { fill: var(--dot); }
.dom__art .iso--domain .flow { stroke: var(--stage-accent); stroke-width: 1.6; fill: none; stroke-dasharray: 6 9; animation: flow 1.8s linear infinite; vector-effect: non-scaling-stroke; }
.dom__art .iso--domain .flow.rev { animation-direction: reverse; stroke: var(--stage-accent-2); }
.dom__art .iso--domain .float { animation: iso-float 4s ease-in-out infinite; }
@keyframes iso-float { 50% { transform: translateY(-6px); } }

@media (max-width: 1000px) {
  .dom { grid-template-columns: 1fr; }
  .dom__list { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
  .dom__list::-webkit-scrollbar { display: none; }
  .dom__tab { flex: 0 0 auto; width: auto; grid-template-columns: 36px auto; padding: 10px 16px 10px 10px; border-radius: 999px; scroll-snap-align: center; }
  .dom__tab:hover { transform: none; }
  .dom__tab-num, .dom__tab-text small { display: none; }
  .dom__tab-icon { width: 36px; height: 36px; border-radius: 50%; }
  .dom__tab-text b { font-size: 14px; white-space: nowrap; }
  .dom__stage { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .dom__stage::before, .dom__art .iso--domain .flow, .dom__art .iso--domain .float { animation: none; } }

/* Hub — "Why Port City" (spec §6.3) */
.hub { display: grid; gap: clamp(48px, 6vw, 88px); padding-top: clamp(16px, 2vw, 32px); padding-bottom: clamp(16px, 2vw, 32px); }
.hub__intro { padding: clamp(32px, 5vw, 80px) clamp(24px, 4.5vw, 72px); }
.hub__intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 128px); align-items: stretch; }
.hub__intro-text { display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.hub__intro-text .h2 { max-width: 16ch; }
.hub__intro-text .body-l { max-width: 46ch; }
.hub__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 6px; }
.hub__visual { position: relative; margin: 0; min-height: 560px; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy); color: #fff; }
.hub__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the hub photo is portrait: keep the engineers and laptops (upper middle) in the wide frame */
#hub-img { object-position: 50% 36%; }
.hub__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,16,42,.15) 30%, rgba(3,16,42,.88)); pointer-events: none; }
.hub__visual-cap { position: absolute; z-index: 1; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .04em; }
.hub__visual-cap > span:last-child { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.hub__quote { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; margin: 0; padding: clamp(20px, 2.6vw, 32px); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -.03em; font-weight: 500; }
.hub__quote::before { content: ""; display: block; width: 40px; height: 2px; background: var(--cobalt-400); margin-bottom: 16px; }

.hub__top { display: grid; gap: 16px; }
/* The Hub in Numbers — the site's standard dark navy panel (same as the other dark panels) */
.hub__numbers { color: #fff; background: var(--dark-panel); padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); }
.hub__numbers-label { color: var(--cobalt-300); display: block; margin-bottom: 20px; }
.hub__stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.hub__stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 0 clamp(12px, 1.6vw, 24px); border-left: 1px solid rgba(255,255,255,.14); }
.hub__stat:first-child { padding-left: 0; border-left: 0; }
.hub__stat dd { margin: 0; display: flex; align-items: flex-start; font-size: clamp(44px, 5.4vw, 84px); font-weight: 600; letter-spacing: -.055em; line-height: .9; font-variant-numeric: tabular-nums; color: #fff; }
.hub__stat dd sup { font-size: .4em; color: var(--cobalt-300); margin-left: 2px; line-height: 1.3; font-weight: 500; }
.hub__stat dt { font-size: 14px; color: var(--on-dark-muted); line-height: 1.35; }
.hub__stat dt small { display: block; font-size: 11.5px; color: var(--cobalt-300); margin-top: 4px; letter-spacing: .01em; }
@media (max-width: 1000px) {
  .hub__intro-grid { grid-template-columns: 1fr; }
  .hub__visual { min-height: 380px; }
  .hub__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .hub__stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hub__stat:last-child { grid-column: 1 / -1; }
}

/* "Why Port City" — pinned panel; scroll steps through the advantages (desktop) */
.why { height: 100svh; min-height: 620px; padding: var(--frame) 0; }
/* Uses the standard dark panel (.panel.panel--dark) with the site's hairline grid */
.why__panel {
  isolation: isolate; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3.6vw, 64px);
  padding: clamp(20px, 2.6vw, 40px);
}
.why__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center;
  -webkit-mask: radial-gradient(80% 70% at 30% 40%, #000 30%, transparent 85%); mask: radial-gradient(80% 70% at 30% 40%, #000 30%, transparent 85%);
}
/* Left: heading, the active advantage, and the step bar */
.why__main { min-height: 0; display: grid; grid-template-rows: auto 1fr auto; gap: clamp(20px, 3svh, 40px); padding: clamp(4px, .6vw, 12px) 0 0 clamp(0px, .8vw, 16px); }
.why__head .eyebrow { color: var(--on-dark-muted); margin-bottom: clamp(12px, 2svh, 22px); }
/* .h2 scale, capped by viewport height so the pinned panel always fits */
.why__title { font-size: clamp(36px, min(5.2vw, 9svh), 80px); }
.why__title em { font-style: normal; color: var(--cobalt-300); display: block; }
.why__body { align-self: center; max-width: 660px; display: grid; gap: clamp(14px, 2.2svh, 24px); align-content: start; }
/* .h3 scale at weight 500 */
.why__name { font-size: clamp(28px, min(3.4vw, 5.6svh), 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; }
/* .lead scale */
.why__text { font-size: clamp(16px, min(1.5vw, 2.5svh), 22px); line-height: 1.45; color: var(--on-dark-2); }
.why__detail { font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); }
.why__link { justify-self: start; margin-top: 4px; color: var(--cobalt-300); }
.why__zones { display: grid; gap: 12px; }
.tz { --label: 168px; position: relative; display: grid; gap: 10px; padding: 14px 0 2px; border-top: 1px solid var(--on-dark-line); }
.tz__row { display: grid; grid-template-columns: calc(var(--label) - 64px) 52px 1fr; column-gap: 12px; align-items: center; }
.tz__city { font-size: 14px; font-weight: 500; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz__time { font-size: 15px; font-weight: 500; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; text-align: right; }
.tz__row.is-on .tz__time { color: var(--on-dark); }
.tz__row.is-home .tz__city, .tz__row.is-home .tz__time { color: var(--cobalt-400); }
.tz__bar { position: relative; height: 10px; border-radius: 3px; background: var(--on-dark-line-soft); }
.tz__bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: rgba(124,195,255,.35); }
.tz__row.is-home .tz__bar i { background: var(--cobalt-400); }
/* Colombo: dashes outside office hours = 24/7 support teams (a 6px gap on each side of the office-hours bar) */
.tz__row.is-home .tz__bar i.tz__dash { border-radius: 0; background: repeating-linear-gradient(90deg, var(--cobalt-400) 0 6px, transparent 6px 11px); }
.tz__axis { position: relative; height: 16px; margin-left: calc(var(--label) + 12px); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.tz__axis span { position: absolute; top: 0; transform: translateX(-50%); }
.tz__axis small { font-size: inherit; }
.tz__axis span:first-child { transform: none; }
.tz__axis span:last-child { transform: translateX(-100%); }
/* "now" line across all the bars */
.tz__now { position: absolute; top: 8px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--on-dark); left: calc(var(--label) + 12px + (100% - var(--label) - 12px) * var(--now, 0)); transform: translateX(-1px); pointer-events: none; }
.tz__now::before { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark); transform: translateX(-50%); }
.why__legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 13px; color: var(--on-dark-muted); }
.why__legend i { flex: none; width: 14px; height: 8px; border-radius: 2px; background: var(--cobalt-400); }
.why__legend-dash { flex: none; width: 18px; height: 8px; margin-left: 8px; background: repeating-linear-gradient(90deg, var(--cobalt-400) 0 4px, transparent 4px 7px); }
.why__legend-now { flex: none; width: 2px; height: 12px; margin-left: 8px; border-radius: 2px; background: var(--on-dark); }
@media (max-width: 560px) {
  .tz { --label: 146px; }
  .tz__row { grid-template-columns: calc(var(--label) - 56px) 44px 1fr; column-gap: 12px; }
  .tz__axis small { display: none; }
  .tz__city { font-size: 13px; }
  .tz__time { font-size: 13px; }
}

/* Data visuals inside the advantage cards */
.why__viz { display: grid; gap: 12px; }
.why__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; border-top: 1px solid var(--on-dark-line); }
.why__checks li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--on-dark-2); }
.why__checks .icon { width: 14px; height: 14px; color: var(--cobalt-300); stroke-width: 2.2; }
@keyframes viz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 01 sandbox pipeline: a line with four icons that light up as the pulse passes */
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 14px; border-top: 1px solid var(--on-dark-line); }
.flow__step { position: relative; z-index: 1; display: grid; justify-items: start; gap: 8px; font-size: 13px; font-weight: 500; color: var(--on-dark-muted); animation: viz-in .6s var(--ease) both; animation-delay: calc(.15s + var(--i) * .1s); }
.flow__step.is-key { color: var(--on-dark); }
/* no box: the panel colour behind the icon just breaks the line */
.flow__icon { display: grid; place-items: center; padding: 4px 8px; margin-left: -8px; background: var(--dark-panel); color: var(--on-dark-muted); transition: color .3s, transform .4s var(--ease); }
.flow__icon .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.flow__step:not(.is-key) .flow__icon { animation: flow-lit 3s linear infinite; animation-delay: calc(var(--i) * .63s); }
.flow__step.is-key .flow__icon { color: var(--cobalt-300); }
.flow__step:hover .flow__icon { color: var(--on-dark); transform: translateY(-2px); }
.flow__line { position: absolute; z-index: 0; top: 29px; left: 0; right: 0; height: 2px; background: var(--on-dark-line); overflow: hidden; }
.flow__line i { position: absolute; top: 0; left: 0; width: 18%; height: 100%; background: linear-gradient(90deg, transparent, var(--cobalt-300)); animation: flow-run 3s linear infinite; }
@keyframes flow-run { from { transform: translateX(-100%); } to { transform: translateX(560%); } }
@keyframes flow-lit { 0%, 22%, 100% { color: var(--on-dark-muted); } 6% { color: var(--cobalt-300); } }

/* 02 talent dot grid */
.talent { grid-template-columns: auto 1fr; align-items: center; column-gap: clamp(16px, 2vw, 28px); padding-top: 14px; border-top: 1px solid var(--on-dark-line); }
.talent__dots { display: grid; grid-template-columns: repeat(20, 7px); gap: 5px; }
.talent__dots i { width: 7px; height: 7px; border-radius: 2px; background: var(--on-dark-line); animation: viz-dot .4s ease both; animation-delay: calc(var(--i) * 6ms); }
.talent__dots i.is-pick { background: var(--cobalt-300); box-shadow: 0 0 0 3px rgba(124,195,255,.25); animation: viz-dot .4s ease both, viz-pulse 2s ease-in-out .9s infinite; }
@keyframes viz-dot { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes viz-pulse { 50% { box-shadow: 0 0 0 6px rgba(124,195,255,0); } }
.talent__stat { display: grid; gap: 4px; }
.talent__stat b { font-size: clamp(30px, min(2.8vw, 5svh), 44px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--cobalt-300); }
.talent__stat span { font-size: 13px; line-height: 1.4; color: var(--on-dark-muted); max-width: 30ch; }
.talent .why__checks { grid-column: 1 / -1; }

/* 04 facility photo tiles */
.fac-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } /* 10 facilities: two even rows of 5 */
.fac-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(64px, 9svh, 92px); padding: 8px 10px; border-radius: var(--radius-xs); overflow: hidden; isolation: isolate; color: #fff; animation: viz-in .6s var(--ease) both; animation-delay: calc(.1s + var(--i) * .06s); }
.fac-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.fac-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,16,42,.05), rgba(3,16,42,.82)); }
.fac-tile:hover img { transform: scale(1.06); }
button.fac-tile { border: 0; font: inherit; text-align: left; cursor: pointer; }
.fac-tile.is-active { outline: 1px solid color-mix(in srgb, var(--cobalt-400) 55%, transparent); outline-offset: -1px; } /* subtle; the fill bar does the main work */
/* fill bar under the facility on screen – same as the domain tabs */
.fac-tile__progress { position: absolute; left: 0; bottom: 0; z-index: 1; height: 3px; width: 100%; background: var(--cobalt-400); transform-origin: left; transform: scaleX(0); }
.fac-auto .fac-tile.is-active .fac-tile__progress { animation: dom-progress 4000ms linear forwards; }
.fac-paused .fac-tile.is-active .fac-tile__progress { animation-play-state: paused; }
.fac-tile > span { font-size: 13px; font-weight: 500; line-height: 1.2; }
.fac-tile small { font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt-200); }
@media (prefers-reduced-motion: reduce) { .why__viz *, .why__viz *::before { animation: none !important; } }
@media (max-width: 560px) {
  .talent { grid-template-columns: 1fr; row-gap: 12px; }
  .talent__dots { grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; }
  .talent__dots i { width: auto; aspect-ratio: 1; }
  .fac-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step { font-size: 12px; }
}

.why__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.why__step { display: grid; gap: 8px; align-content: start; text-align: left; padding: 0 0 2px; color: var(--on-dark-muted); opacity: .7; transition: color .4s var(--ease), opacity .4s var(--ease); }
.why__step:hover, .why__step.is-done { opacity: 1; }
.why__step.is-active { color: var(--on-dark); opacity: 1; }
.why__step-bar { display: block; height: 2px; margin-bottom: 6px; border-radius: 2px; background: var(--on-dark-line); overflow: hidden; }
.why__step-bar > span { display: block; height: 100%; background: var(--cobalt-400); transform-origin: left; transform: scaleX(var(--p, 0)); }
.why__step-num { font-size: 12px; font-weight: 500; letter-spacing: .06em; font-variant-numeric: tabular-nums; transition: color .4s; }
.why__step.is-active .why__step-num { color: var(--cobalt-300); }
.why__step-title { font-size: 14px; font-weight: 500; line-height: 1.3; }

/* Right: the photo, clean — no text over it */
.why__media { position: relative; min-height: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-2); }
.why__shot { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.why__shot img { width: 100%; height: 100%; object-fit: cover; }
/* same shape and type as .tag, on a frosted navy so it reads over any photo */
.why__count { position: absolute; z-index: 3; right: 16px; bottom: 16px; height: 28px; line-height: 28px; white-space: pre; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; background: var(--backdrop); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.why__count b { color: var(--on-dark); font-weight: 500; }
/* facility photos opened from the step-4 tiles */
.why__fac { position: absolute; inset: 0; z-index: 4; background: var(--navy-2); }
.why__fac[hidden] { display: none; }
.why__fac::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(3,16,42,.75)); }
.why__fac-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s var(--ease); }
.why__fac-slide.is-active { opacity: 1; }
.why__fac-slide img, .why__fac-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.why__fac-cap { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: grid; gap: 4px; color: #fff; }
.why__fac-more { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-decoration: none; background: rgba(3,16,42,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); backdrop-filter: blur(6px); transition: background .2s var(--ease); }
.why__fac-more:hover, .why__fac-more:focus-visible { background: var(--accent); }
.why__fac-more .icon { width: 14px; height: 14px; }
.why__fac-cap strong { font-size: 16px; font-weight: 500; }
.why__fac-cap small { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt-200); }
.why__fac-nav { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; gap: 6px; }
.why__fac-nav button { width: 34px; height: 34px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(3,16,42,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); backdrop-filter: blur(6px); transition: background .2s var(--ease); }
.why__fac-nav button:hover, .why__fac-nav button:focus-visible { background: var(--accent); }
.why__fac-nav .icon { width: 16px; height: 16px; }
.why__media.has-fac .why__count { opacity: 0; }

/* Short desktop screens (laptops): tighten spacing so the tallest card still fits the pinned panel */
@media (min-width: 1001px) and (max-height: 780px) {
  .why__main { gap: 10px; }
  .why__title { font-size: clamp(36px, min(5.2vw, 7.4svh), 80px); }
  .why__body { gap: 10px; }
  .why__name { font-size: clamp(26px, min(3.4vw, 5svh), 52px); }
  .why__text { font-size: clamp(15px, min(1.5vw, 2.4svh), 22px); }
  .why__zones { gap: 6px; }
  .tz { gap: 5px; padding-top: 10px; }
  .tz__bar { height: 8px; }
  .why__detail { font-size: 14.5px; }
  .why__body:has(.why__zones, .why__viz) .why__detail { display: none; } /* the visual already carries what the detail says */
}

@media (max-width: 1000px) {
  .why { height: auto; min-height: 0; padding: 0; }
  .why__panel { grid-template-columns: 1fr; height: auto; gap: 24px; }
  .why__main { display: contents; }
  .why__head { order: 1; }
  .why__media { order: 2; aspect-ratio: 4 / 3; }
  .why__body { order: 3; align-self: start; max-width: none; }
  .why__steps { order: 4; margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; } /* step tabs at the bottom of the section, a little apart from the text */
}

/* Certified & partnered */
.hub__trust { display: flex; align-items: center; justify-content: center; gap: 14px 24px; flex-wrap: wrap; }
.hub__why { display: grid; gap: clamp(20px, 2.4vw, 32px); }
/* certifications and partner levels as plain names divided by hairlines (no pill chips or icons) */
.trust { display: flex; flex-wrap: wrap; row-gap: 10px; }
.trust__badge { position: relative; display: inline-flex; align-items: center; padding: 4px 20px; border-left: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; cursor: default; transition: color .3s; }
.trust__badge:first-child { padding-left: 0; border-left: 0; }
.trust__badge:hover, .trust__badge:focus-visible { color: var(--accent-text); outline: none; }
.trust__tip { position: absolute; z-index: 5; bottom: calc(100% + 10px); left: 50%; width: max-content; max-width: 240px; padding: 10px 12px; border-radius: 10px; background: var(--ink-900); color: var(--ink-300); font-size: 12px; font-weight: 400; line-height: 1.4; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; pointer-events: none; }
.trust__tip b { display: block; color: #fff; font-weight: 500; font-size: 13px; }
/* phones: no hover, and a hidden tooltip near the right edge still widened the page by ~10px (sideways scroll) */
@media (max-width: 700px) { .trust__tip { display: none; } }
.trust__badge:hover .trust__tip, .trust__badge:focus-visible .trust__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Iso illustration */
.iso { width: 100%; height: auto; color: var(--text); }
.iso .s { stroke: currentColor; fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.iso .g { stroke: currentColor; fill: none; stroke-width: 1; opacity: .25; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.iso .a { stroke: var(--accent); fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.iso .af { fill: var(--accent); stroke: none; }
.iso .tint { fill: var(--accent); opacity: .08; stroke: none; }
.iso .flow { stroke: var(--accent); stroke-width: 1.6; fill: none; stroke-dasharray: 6 10; animation: flow 2.4s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.on-dark .iso, .panel--dark .iso, .hub__visual .iso { color: #fff; }
.on-dark .iso .a, .panel--dark .iso .a { stroke: var(--cobalt-400); }
.on-dark .iso .af, .panel--dark .iso .af { fill: var(--cobalt-400); }

/* Clients — logo tiles */
.logo-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0,1fr)); gap: 8px; }
.logo-tile {
  position: relative; aspect-ratio: 1.45 / 1; border-radius: var(--radius-sm); background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line);
}
.logo-tile__logo { flex: 1; display: grid; place-items: center; color: var(--text); transition: transform .8s var(--ease), opacity .5s; }
.logo-tile__logo .logo-mask { width: 62%; height: 38px; }
.logo-tile__meta { display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: 13px; }
.logo-tile__meta strong { font-weight: 500; display: block; }
.logo-tile__meta span { color: var(--muted); font-size: 12px; }
/* Hover cover: dark navy panel (with hairline grid) wipes up from the bottom, then its content
   rises in sequence. Hairline grid + soft glow echo the curtain/preloader. */
.logo-tile__impact {
  position: absolute; inset: 0; z-index: 1; padding: 18px; display: flex; flex-direction: column; gap: 14px; color: #fff; overflow: hidden;
  background: var(--dark-panel); /* standard dark navy panel, same as the site's other dark blocks */
  clip-path: inset(100% 0 0 0 round var(--radius-sm)); transition: clip-path .75s var(--ease-in-out);
}
.logo-tile__impact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(120% 90% at 100% 0%, #000, transparent 75%); mask: radial-gradient(120% 90% at 100% 0%, #000, transparent 75%);
}
.logo-tile__impact > * { position: relative; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .7s var(--ease); }
.logo-tile:hover .logo-tile__impact, .logo-tile:focus-within .logo-tile__impact { clip-path: inset(0 0 0 0 round var(--radius-sm)); }
.logo-tile:hover .logo-tile__impact > *, .logo-tile:focus-within .logo-tile__impact > * { opacity: 1; transform: none; }
.logo-tile:hover .logo-tile__impact > :nth-child(1), .logo-tile:focus-within .logo-tile__impact > :nth-child(1) { transition-delay: .18s; }
.logo-tile:hover .logo-tile__impact > :nth-child(2), .logo-tile:focus-within .logo-tile__impact > :nth-child(2) { transition-delay: .26s; }
.logo-tile:hover .logo-tile__impact > :nth-child(3), .logo-tile:focus-within .logo-tile__impact > :nth-child(3) { transition-delay: .34s; }
.logo-tile:hover .logo-tile__impact > :nth-child(4), .logo-tile:focus-within .logo-tile__impact > :nth-child(4) { transition-delay: .42s; }
.logo-tile__impact-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 26px; }
.logo-tile__impact-logo { width: 92px; height: 18px; color: #fff; -webkit-mask-position: left center; mask-position: left center; }
.logo-tile__impact-top strong { font-weight: 600; font-size: 15px; }
.logo-tile__impact-main { margin-top: auto; }
.logo-tile__impact-main b { display: block; font-weight: 600; font-size: clamp(34px, 3.2vw, 46px); letter-spacing: -.04em; line-height: 1; }
.logo-tile__impact-main span { display: block; font-size: 15px; line-height: 1.35; color: rgba(255,255,255,.9); margin-top: 6px; max-width: 28ch; }
.logo-tile__impact-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); font-size: 11px; color: rgba(255,255,255,.8); }
.logo-tile__impact-foot span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logo-tile:hover .logo-tile__logo { transform: translateY(-30%); opacity: 0; }
.logo-tile__badge { position: absolute; right: 12px; top: 12px; font-size: 10.5px; padding: 4px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); letter-spacing: .04em; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* Phones: left-aligned logos at one size, EST. moved under the text so it never covers a logo,
   equal-height cards, and an odd last card spans the row */
@media (max-width: 600px) {
  .logo-grid { grid-auto-rows: 1fr; }
  .logo-tile { aspect-ratio: auto; padding: 16px; gap: 10px; justify-content: flex-start; min-height: 0; } /* height from content, not the desktop 1.45:1 ratio (that ratio on the full-width last card set every row's height) */
  .logo-tile__logo { order: 1; flex: none; height: 44px; display: flex; align-items: center; justify-content: flex-start; }
  .logo-tile__logo .logo-mask { width: 100%; max-width: 120px; height: 28px; -webkit-mask-position: left center; mask-position: left center; }
  .logo-tile__meta { order: 2; margin-top: 4px; }
  .logo-tile__meta span { display: block; margin-top: 2px; line-height: 1.35; }
  .logo-tile__impact { order: 3; margin-top: auto; }
  .logo-tile__badge { order: 4; position: static; align-self: flex-start; background: none; padding: 0; margin-top: 8px; }
  .logo-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* touch screens and phone-width windows: show the impact line inside the card instead of the hover overlay (too cramped on small cards) */
@media (hover: none), (max-width: 600px) { .logo-tile__impact { position: static; transform: none; background: transparent; color: var(--text); padding: 10px 0 0; } .logo-tile__impact::before, .logo-tile__impact-top, .logo-tile__impact-foot { display: none; } .logo-tile__impact { clip-path: none; } .logo-tile__impact > * { opacity: 1; transform: none; } .logo-tile__impact-main span { color: var(--muted); } .logo-tile__impact b { color: var(--accent-text); font-size: 17px; } .logo-tile__impact span { font-size: 13px; color: var(--muted); } .logo-tile { aspect-ratio: auto; min-height: 200px; } .logo-tile__impact { border-top: 1px solid var(--line); padding-top: 12px; } .logo-tile__impact b { font-size: 16px; } .logo-tile:hover .logo-tile__logo { transform: none; opacity: 1; } }

/* About: Leadership Council heading on the leadership team photo. No dark cover; the text sits
   bottom-left on the photo. On phones the text moves under the photo. */
.lead-hero { position: relative; margin: 0 0 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 1; background: var(--navy); }
.lead-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.lead-hero__txt { position: absolute; z-index: 1; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); max-width: 44ch; text-align: left; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.lead-hero__txt .eyebrow { color: rgba(255,255,255,.85); }
.lead-hero__txt .h2 { color: #fff; margin: 10px 0 14px; white-space: nowrap; } /* two lines: "Meet the / Leadership Team" */
.lead-hero__txt p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); }
@media (max-width: 760px) {
  .lead-hero { aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
  .lead-hero__img { position: static; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); }
  .lead-hero__txt { position: static; max-width: none; text-align: left; color: var(--text); text-shadow: none; padding: 20px 4px 8px; }
  .lead-hero__txt .eyebrow { color: var(--muted); justify-content: flex-start; }
  .lead-hero__txt .h2 { color: var(--text); white-space: normal; }
  .lead-hero__txt p { color: var(--text-2); }
}

/* Marquee */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); margin-top: clamp(32px, 4vw, 56px); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 28px; font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.035em; white-space: nowrap; transition: color .3s; }
.marquee__item small { font-size: 12px; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.marquee__item i { font-style: normal; color: var(--accent); font-size: .5em; }
.marquee__item:hover { color: var(--accent-text); }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* Testimonials */
/* Testimonials: one card per person, same look as the About Journey photo cards */
.vc-row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vc-row::-webkit-scrollbar { display: none; }
.vc { position: relative; isolation: isolate; margin: 0; flex: 0 0 calc((100% - 40px) / 3); min-height: min(580px, 66vh); scroll-snap-align: start; background: var(--navy); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; transition: border-color .4s var(--ease), transform .5s var(--ease); }
.vc:hover { border-color: rgba(124,195,255,.45); transform: translateY(-4px); }
.vc__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; border-radius: calc(var(--radius) - 1px); }
.vc::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 34%; z-index: -1; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: linear-gradient(to bottom, rgba(3,16,42,.6), rgba(3,16,42,0)); pointer-events: none; } /* keeps the logo readable */
.vc__body::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: calc(var(--radius) - 1px); background: linear-gradient(to top, rgba(3,16,42,.98) 0%, rgba(3,16,42,.9) 30%, rgba(3,16,42,.3) 46%, rgba(3,16,42,0) 60%); pointer-events: none; }
.vc__logo { position: absolute; top: 26px; left: 28px; line-height: 0; color: #fff; opacity: .9; transition: opacity .4s var(--ease); filter: drop-shadow(0 1px 8px rgba(3,16,42,.35)); }
.vc:hover .vc__logo { opacity: 1; }
.vc__logo .logo-mask { display: block; width: 110px; height: 26px; background: #fff; -webkit-mask-position: left center; mask-position: left center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.vc blockquote { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); }
.vc blockquote::before { content: ""; display: block; width: 28px; height: 2px; background: var(--cobalt-400); margin-bottom: 16px; }
.vc figcaption { margin-top: 18px; display: grid; gap: 3px; }
/* long quotes: 3 lines on the card, "Read more" opens the full quote over the card */
.vc__body blockquote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vc__more { align-self: flex-start; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--cobalt-300); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: color .3s var(--ease); }
.vc__more:hover, .vc__more:focus-visible { color: #fff; }
/* "Read more" sits at the end of the 3rd line, in the quote's own size, over a fade */
.vc__q { position: relative; }
.vc__more--inline { position: absolute; right: 0; bottom: 0; margin: 0; padding-left: 36px; font-size: 15px; line-height: 1.5; font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.6); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; background: linear-gradient(to right, rgba(3,16,42,0), rgb(3,16,42) 30px); }
.vc__more--inline:hover, .vc__more--inline:focus-visible { color: var(--cobalt-300); text-decoration-color: currentColor; }
.vc__full { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding: 28px; border-radius: calc(var(--radius) - 1px); background: rgba(3,16,42,.96); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.vc.is-open .vc__full { opacity: 1; visibility: visible; }
.vc__full blockquote { flex: 1; overflow: auto; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.9); }
.vc__who { margin-top: 16px; display: grid; gap: 3px; }
.vc__who strong { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.vc__who span { font-size: 13px; color: var(--cobalt-300); }
.vc figcaption strong { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.vc figcaption span { font-size: 13px; color: var(--cobalt-300); }
@media (max-width: 900px) { .vc { flex-basis: 84%; min-height: 520px; } }
.voices-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding-top: clamp(16px, 2vw, 24px); }
.voices-nav__count { font-size: 14px; font-weight: 500; color: var(--muted); }
.voices-nav__count b { font-weight: 500; color: var(--text); }
.voices-nav__track { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.voices-nav__track > span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease); }
.voices-nav__btns { display: flex; gap: 8px; }


/* Brand statement — scroll-scaled panel */
.statement { position: relative; height: 220vh; }
.statement__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; padding: var(--frame); }
.statement__media { position: absolute; inset: var(--frame); border-radius: var(--radius); overflow: hidden; background: var(--navy); will-change: clip-path; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.15); }
.statement__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(0,122,229,.25), rgba(3,16,42,.75)); }
.statement__text { position: absolute; inset: var(--frame); z-index: 1; color: #fff; text-align: center; display: grid; gap: 18px; justify-items: center; align-content: center; padding: 0 var(--gutter); }
/* white headline is clipped to the panel (same clip as the media); the dark copy shows outside it */
.statement__text--under { z-index: 0; color: var(--text); }
.statement__text--under .statement__sub { color: var(--muted); }
.statement__text.statement__text--under .display .accent-word { color: var(--accent-text); }
.statement__text .display { font-size: clamp(54px, 10vw, 176px); }
.statement__text .display span { display: inline-block; }
.statement .crosses { color: #fff; z-index: 1; bottom: calc(var(--frame) + 22px); }
.statement__text .display .accent-word { color: var(--cobalt-300); }
/* Collage (desktop): edge-to-edge 2 / 3 / 2 grid behind the statement — two tiles on top, a wide
   centre cell (where the panel settles) between two narrower ones, two tiles below. The top and
   bottom rows run past the viewport so only part of them shows. */
.statement__grid { position: absolute; left: 0; right: 0; top: -11.5svh; bottom: -11.5svh; display: grid; grid-template-columns: 28fr 22fr 22fr 28fr; grid-template-rows: 40fr 43fr 40fr; gap: 8px; pointer-events: none; }
.statement__grid > :nth-child(1), .statement__grid > :nth-child(6) { grid-column: 1 / 3; }
.statement__grid > :nth-child(2), .statement__grid > :nth-child(7) { grid-column: 3 / 5; }
.statement__grid > :nth-child(3) { grid-column: 1 / 2; }
.statement__grid > :nth-child(4) { grid-column: 2 / 4; }
.statement__grid > :nth-child(5) { grid-column: 4 / 5; }
.statement__tile { border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); opacity: 0; will-change: transform, opacity; }
.statement__tile img, .statement__tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* a light navy wash so the bright clips sit back a little behind the statement */
.statement__tile { position: relative; }
.statement__tile::after { content: ""; position: absolute; inset: 0; background: rgba(3,16,42,.28); pointer-events: none; }
.statement__media { z-index: 1; }
.statement__text--top, .statement .crosses { z-index: 2; }
@media (min-width: 768px) { .statement { height: 380vh; } }
/* Phones (under 768px) keep only the original panel animation — no collage */
@media (max-width: 767px) { .statement__grid { display: none; } }
@media (max-width: 700px) { .statement { height: 160vh; } }

/* News cards */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.news-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.news-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .7s var(--ease), box-shadow .4s; }
.news-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.news-card__media { aspect-ratio: 16 / 10; margin: 8px; border-radius: calc(var(--radius) - 6px); }
.news-card__body { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.news-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-card__title { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__sum { font-size: 15px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.news-card__foot a, .news-card__foot button { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.news-card__foot .icon { transition: transform .45s var(--ease); }
.news-card:hover .news-card__foot .icon { transform: translateX(4px); }
.news-card__cat { position: absolute; top: 20px; left: 20px; z-index: 1; }
.news-card__cat .tag { background: rgba(255,255,255,.92); color: var(--ink-900); backdrop-filter: blur(8px); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 2; }
@media (max-width: 1000px) { .news-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .news-grid, .news-grid--3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.cta-band { padding: 0 var(--frame); }
.cta-band__panel { padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(32px, 4.5vw, 64px); }
.cta-band__main { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
/* closing moment: headline, one supporting line, then a clear call to action */
.cta-band__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.cta-band__sub { margin: 0; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: rgba(255,255,255,.78); }
.cta-band__title { font-size: clamp(64px, 12vw, 210px); font-weight: 600; letter-spacing: -.06em; line-height: .86; display: flex; align-items: flex-start; gap: .05em; }
.cta-band__title sup { font-size: .16em; margin-top: .55em; color: var(--cobalt-300); letter-spacing: 0; font-weight: 500; }
.leader-chip { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); min-width: 320px; transition: background-color .3s; }
.leader-chip:hover { background: rgba(255,255,255,.12); }
.leader-chip img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; object-position: 50% 18%; }
/* contact photo on a real background: the portrait is multiplied over a slightly blurred office photo, so its white studio backdrop shows the office through */
.leader-chip__photo { position: relative; flex: none; width: 58px; height: 58px; border-radius: 12px; overflow: hidden; isolation: isolate; background: #cfd8e3; }
.leader-chip__photo::before { content: ""; position: absolute; inset: -4px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(1.5px); }
.leader-chip__photo img { border-radius: 0; mix-blend-mode: multiply; transform: translateX(9%); } /* nudge the portrait to the right so the face sits in the middle; the office photo fills the gap on the left */
.leader-chip small { display: block; font-size: 11px; color: var(--cobalt-300); letter-spacing: .06em; text-transform: uppercase; }
.leader-chip strong { display: block; font-weight: 500; font-size: 16px; }
.leader-chip span { font-size: 12.5px; color: var(--on-dark-muted); }
.leader-chip .btn__dot { margin-left: auto; }

.footer { padding: clamp(56px, 7vw, 96px) 0 28px; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.footer__brand .brand { margin-bottom: 26px; }
.footer__statement { font-size: clamp(32px, 3.6vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 22px; }
.footer__statement span { color: var(--accent-text); }
.footer__tag { color: var(--muted); max-width: 46ch; font-size: 15px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.matrix__social { display: grid; gap: 10px; padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--on-dark-line); }
.matrix__social small { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }
.matrix__social-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.on-dark .matrix__social-icons .icon-btn { box-shadow: inset 0 0 0 1px var(--on-dark-line); color: var(--on-dark); }
.on-dark .matrix__social-icons .icon-btn:hover { background: var(--on-dark); color: var(--dark-panel); }
.footer__col h4 { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer__nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.03em; }
.footer__nav a small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.footer__nav a:hover { color: var(--accent-text); }
.footer__contact { display: grid; gap: 16px; font-size: 15px; }
.footer__contact a, .footer__contact p { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.footer__contact a:hover { color: var(--accent-text); }
.footer__contact .icon { margin-top: 3px; color: var(--accent-text); }
.footer__compliance { margin-top: 8px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13px; color: var(--muted); line-height: 1.5; }
.footer__bottom { margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer__bottom p + p { margin-top: 4px; font-size: 12px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__legal a:hover { color: var(--text); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; } .leader-chip { min-width: 0; width: 100%; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) 0 clamp(40px, 5vw, 72px); position: relative; }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: end; }
.page-hero__title { grid-column: 1 / span 9; }
.page-hero__title .eyebrow { margin-bottom: 24px; }
.page-hero__aside { grid-column: 9 / span 4; }
.page-hero__aside .lead { font-size: 18px; }
.page-hero--with-aside .page-hero__title { grid-column: 1 / span 8; }
@media (max-width: 900px) { .page-hero__title, .page-hero__aside, .page-hero--with-aside .page-hero__title { grid-column: 1 / -1; } }

/* About: company overview. Title + key facts on the left, overview copy on the right,
   then one navy panel with ownership and co-development scale. */
.about-ov { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); row-gap: clamp(32px, 4vw, 56px); }
.about-ov__side { grid-column: 1 / span 5; align-self: start; }
.about-ov__side .h1 { margin: 14px 0 clamp(28px, 3vw, 44px); }
.about-ov__facts { margin: 0; border-top: 1px solid var(--line); }
.about-ov__facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-ov__facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-top: 3px; }
.about-ov__facts dd { margin: 0; font-size: 16px; font-weight: 500; color: var(--text); line-height: 1.45; }
.about-ov__body { grid-column: 7 / span 6; display: grid; gap: 22px; align-content: start; }
.about-ov__body p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.about-ov__body .about-ov__intro { font-size: clamp(22px, 2vw, 28px); line-height: 1.35; letter-spacing: -.015em; color: var(--text); font-weight: 500; }
.about-ov__panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: start; background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: clamp(28px, 3.5vw, 48px); }
.about-ov__lbl { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt-300); }
.about-ov__owners { grid-column: 1 / span 6; }
.about-ov__names { display: flex; flex-wrap: wrap; gap: 8px 0; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.about-ov__names span + span { margin-left: .45em; padding-left: .45em; border-left: 1px solid rgba(255,255,255,.22); }
.about-ov__scale { grid-column: 8 / span 5; padding-left: var(--gutter); border-left: 1px solid rgba(255,255,255,.16); }
.about-ov__stats { display: grid; grid-template-columns: 1fr 1fr; }
.about-ov__stats div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
.about-ov__stats strong { display: block; margin-bottom: 8px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.about-ov__stats div > span { font-size: 12px; color: rgba(255,255,255,.65); letter-spacing: .04em; text-transform: uppercase; }
.about-ov__notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.about-ov__notes p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.72); }
.about-ov__notes p:first-child { grid-column: 1 / span 6; }
.about-ov__notes p:last-child { grid-column: 8 / span 5; }
@media (max-width: 900px) {
  .about-ov__side, .about-ov__body, .about-ov__owners, .about-ov__scale, .about-ov__notes p:first-child, .about-ov__notes p:last-child { grid-column: 1 / -1; }
  .about-ov__scale { padding-left: 0; border-left: 0; }
}
/* owner names stack on phones so a wrapped name never starts with a divider */
@media (max-width: 560px) {
  .about-ov__names { flex-direction: column; gap: 6px; }
  .about-ov__names span + span { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* About — pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.pillar { position: relative; background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pillar__num { position: absolute; right: 20px; top: 6px; font-size: 120px; font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--accent); opacity: .09; }
.pillar__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 12px; }
.pillar p { color: var(--text-2); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }

/* About — vision & mission (standard dark navy panel with the hairline grid) + core values */
.purpose { isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.purpose::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center;
  -webkit-mask: radial-gradient(70% 90% at 25% 30%, #000 30%, transparent 85%); mask: radial-gradient(70% 90% at 25% 30%, #000 30%, transparent 85%);
}
.purpose__item { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: clamp(48px, 7vw, 112px); padding: clamp(28px, 3.6vw, 56px); }
.purpose__item + .purpose__item { border-left: 1px solid rgba(255,255,255,.14); }
/* cobalt glow, same as the curtain and preloader; brightens on hover */
.purpose__item::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7; transition: opacity .6s var(--ease); }
.purpose__item:nth-child(1)::after { background: radial-gradient(75% 65% at 0% 100%, rgba(0,122,229,.34), transparent 65%); }
.purpose__item:nth-child(2)::after { background: radial-gradient(75% 65% at 100% 0%, rgba(68,115,227,.28), transparent 65%); }
.purpose__item:hover::after { opacity: 1; }
.purpose__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.purpose__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--cobalt-300); transition: background-color .4s var(--ease), color .4s var(--ease); }
.purpose__item:hover .purpose__icon { background: var(--cobalt-500); color: #fff; }
.purpose__icon .icon { width: 26px; height: 26px; }
.purpose__label { font-size: 14px; font-weight: 500; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.purpose__body { display: grid; gap: clamp(18px, 2vw, 28px); }
.purpose__title { font-size: clamp(40px, 4.4vw, 68px); line-height: .98; letter-spacing: -0.045em; font-weight: 600; color: #fff; }
.purpose__text { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.38; letter-spacing: -0.02em; font-weight: 400; color: var(--on-dark-2); max-width: 34ch; }
.purpose__text em { font-style: normal; font-weight: 500; color: var(--cobalt-300); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: clamp(56px, 7vw, 104px); }
.values__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 18px; margin-bottom: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--line); }
.values__head .eyebrow { margin-bottom: 14px; }
.values__count { white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.value { position: relative; display: flex; flex-direction: column; gap: clamp(72px, 8vw, 128px); padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.value__num { position: absolute; right: clamp(24px, 2.6vw, 36px); top: clamp(24px, 2.6vw, 36px); font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.value__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); transition: background-color .5s var(--ease), color .5s var(--ease), transform .7s var(--ease); }
.value__icon .icon { width: 26px; height: 26px; }
.value__body { display: grid; gap: 14px; }
.value h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.value p { color: var(--text-2); }
.value:hover .value__icon { background: var(--cobalt-500); color: #fff; transform: rotate(-8deg) scale(1.06); }
@media (max-width: 900px) {
  .purpose { grid-template-columns: 1fr; }
  .purpose__item + .purpose__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .purpose__text { max-width: none; }
  .values { grid-template-columns: 1fr; }
  .values__head { margin-bottom: 8px; }
  .values__count { display: none; }
  .value { gap: 48px; }
}

/* Timeline — horizontal on desktop */
.timeline-wrap { position: relative; }
/* Journey: photo cards on one line. Each milestone is a card with its photo behind the text; the line
   above fills as the row scrolls and each dot lights up when its milestone is reached. To add a
   milestone, add another <article class="phase"> with its photo, nothing else to change. */
.timeline { position: relative; display: flex; gap: 20px; padding-top: 44px; }
.timeline__line { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(255,255,255,.14); }
.timeline__line span { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: linear-gradient(90deg, rgba(124,195,255,.35), var(--cobalt-400)); box-shadow: 0 0 10px rgba(49,159,255,.6); }
.phase { position: relative; isolation: isolate; flex: 0 0 min(420px, 82vw); min-height: min(460px, 48vh); background: var(--navy); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: border-color .5s var(--ease); }
.phase__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 1px); }
.phase > div:last-child::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: calc(var(--radius) - 1px); background: linear-gradient(to top, rgba(3,16,42,.97) 22%, rgba(3,16,42,.72) 50%, rgba(3,16,42,.15) 100%); pointer-events: none; }
.phase::before { content: ""; position: absolute; top: -45px; left: 28px; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(124,195,255,.5); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.phase::after { content: ""; position: absolute; top: -26px; left: 34px; width: 1px; height: 26px; background: rgba(124,195,255,.3); }
.phase.is-on { border-color: rgba(124,195,255,.35); }
.phase.is-on::before { background: var(--cobalt-400); border-color: var(--cobalt-400); box-shadow: 0 0 0 6px rgba(49,159,255,.15), 0 0 22px rgba(49,159,255,.7); }
.phase__year { font-size: clamp(56px, 5vw, 80px); font-weight: 600; letter-spacing: -.07em; line-height: .85; color: #fff; margin-top: auto; }
.phase__year span { color: var(--cobalt-400); }
.phase__label { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: rgba(3,16,42,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14); font-size: 12px; letter-spacing: .1em; color: var(--cobalt-300); font-weight: 500; }
.phase h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 12px; }
.phase p { color: rgba(255,255,255,.75); font-size: 15px; }
.timeline-pin { overflow: hidden; }
@media (max-width: 900px) {
  .timeline { flex-direction: column; }
  .timeline { gap: 16px; padding-top: 0; }
  .timeline__line, .phase::before, .phase::after { display: none; }
  .phase { flex: auto; min-height: 420px; }
}

/* Leaders */
.leaders { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; } /* MD featured on top, the team (up to 12) in a compact grid */
/* Featured leader (Managing Director): the same white card, photo treatment and type as the team cards,
   just laid out wide across the full row with the photo beside the text */
.leader.leader--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 3vw, 48px); padding: 8px; }
.leader.leader--featured { align-items: stretch; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
/* the photo is a square like the team cards; it's absolutely placed inside a square box */
.leader.leader--featured .leader__photo { position: relative; aspect-ratio: auto; height: auto; min-height: 0; align-self: stretch; } /* stays in its column and fills the text's height top to bottom; never pushes over the text */
.leader.leader--featured .leader__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
/* the MD card always shows its hover look (photo in colour, name in cobalt), without the zoom */
.leader.leader--featured .leader__photo img, .leader.leader--featured:hover .leader__photo img { filter: none; transform: none; }
.leader.leader--featured .leader__body h3 { color: var(--accent-text); }
.leader.leader--featured .leader__body { padding: clamp(16px, 2.6vw, 40px) clamp(8px, 1.6vw, 24px) clamp(16px, 2vw, 28px) 0; justify-content: center; gap: 12px; }
.leader.leader--featured .leader__body h3 { font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -.04em; line-height: 1.05; }
.leader.leader--featured .leader__role { font-size: 16px; }
.leader.leader--featured .leader__bio { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: clamp(15px, 1.1vw, 16px); max-width: 60ch; }
.leader.leader--featured .leader__link { margin-top: 4px; }
.leader.leader--featured .leader__head, .leader.leader--featured .leader__more { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.leader.leader--featured .leader__more { align-items: stretch; }
.leader.leader--featured .leader__more .leader__link { align-self: flex-start; }
.leader__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 0; border-top: 1px solid var(--line); }
.leader__facts div { padding: 16px 12px 0 0; }
.leader__facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.leader__facts dt { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.leader__facts dd { margin: 6px 0 0; font-size: clamp(15px, 1.1vw, 17px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--text); }
.leader { background: var(--surface); border-radius: var(--radius); padding: 8px 8px 18px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.leader__photo { aspect-ratio: 1; border-radius: calc(var(--radius) - 6px); }
/* until a leader's photo is supplied: their initials on the standard dark navy panel (the img sits on top once it loads) */
.leader__photo { position: relative; }
.leader__initials { position: absolute; inset: 0; display: grid; place-items: center; background: var(--dark-panel); color: var(--cobalt-300); font-size: clamp(40px, 4vw, 64px); font-weight: 600; letter-spacing: -.04em; }
.leader__photo img { position: relative; z-index: 1; }
.leader__initials--chip { position: static; display: inline-grid; width: 58px; height: 58px; flex: none; border-radius: 50%; font-size: 20px; }
/* leader photos stay in their natural colour (no grayscale) */
.leader__photo img { transition: transform 1.2s var(--ease); }
.leader:hover .leader__photo img { transform: scale(1.06); }
.leader__body { padding: 16px 10px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.leader__body h3 { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; transition: color .3s; }
.leader:hover h3 { color: var(--accent-text); }
.leader__role { font-size: 13.5px; line-height: 1.35; color: var(--text); font-weight: 500; }
.leader__bio { font-size: 13.5px; line-height: 1.5; color: var(--muted); } /* bios show in full, never cut off with "…" */
.leader__link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--accent-text); }
@media (max-width: 1100px) { .leaders { grid-template-columns: repeat(3, minmax(0,1fr)); } }
/* below 1100px: photo with the name/role beside it, and the bio + facts running full width underneath,
   so there's no empty space on the right */
@media (max-width: 1100px) {
  .leader.leader--featured { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-areas: "photo head" "more more"; gap: 8px 24px; align-items: stretch; }
  .leader.leader--featured .leader__head { justify-content: center; }
  .leader.leader--featured .leader__photo { grid-area: photo; }
  .leader.leader--featured .leader__body { display: contents; }
  .leader.leader--featured .leader__head { grid-area: head; padding: 12px 12px 12px 0; }
  .leader.leader--featured .leader__more { grid-area: more; padding: 12px 12px 12px; }
  .leader.leader--featured .leader__bio { max-width: none; }
}
@media (max-width: 560px) {
  .leader.leader--featured { grid-template-columns: 1fr; grid-template-areas: "photo" "head" "more"; }
  .leader.leader--featured .leader__photo { aspect-ratio: 1; }
  .leader.leader--featured .leader__head { padding: 12px 12px 0; }
  .leader.leader--featured .leader__more { padding: 0 12px 12px; }
}
@media (max-width: 560px) {
  .leader__facts { grid-template-columns: 1fr; }
  .leader__facts div + div { padding-left: 0; border-left: 0; }
}
@media (max-width: 700px) { .leaders { grid-template-columns: repeat(2, minmax(0,1fr)); } .leader__bio { display: none; } }

/* Awards — rows */
.awards { border-top: 1px solid var(--line); }
.award { display: grid; grid-template-columns: 200px 1fr 1fr 60px; gap: 16px var(--gutter); align-items: start; padding: clamp(22px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .6s var(--ease); }
.award::after { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--accent-soft); border-radius: var(--radius-sm); opacity: 0; transition: opacity .4s; z-index: -1; }
.award:hover::after { opacity: 1; }
.award { isolation: isolate; }
/* Award photos: thumbnail of the first photo with a count; click opens the shared lightbox with all of them */
.award__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; }
.award__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.award__media:hover img { transform: scale(1.04); }
.award__count { position: absolute; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 999px; background: rgba(3,16,42,.7); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .04em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (min-width: 901px) { .award { grid-template-columns: 140px 180px 1fr 1fr 44px; align-items: center; } }
.award__meta { display: grid; gap: 10px; justify-items: start; }
.award__date { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.award h3 { font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.award p { color: var(--text-2); }
.award__icon { justify-self: end; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--surface); color: var(--accent-text); } /* every row's icon sits in the same framed tile */
.award__icon .icon { width: 20px; height: 20px; stroke-width: 1.5; }
@media (max-width: 900px) { .award { grid-template-columns: 1fr; } .award__icon { display: none; } .award__media img { aspect-ratio: 16 / 9; } }

/* Office Facilities (About §7.5) */
.fac-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.fac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fac-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; cursor: pointer; transition: box-shadow .4s, transform .7s var(--ease); }
.fac-card[hidden] { display: none; }
.fac-card:hover, .fac-card:focus-visible { box-shadow: inset 0 0 0 1px var(--accent), var(--shadow); transform: translateY(-4px); outline: none; }
.fac-card__media { position: relative; margin: 8px; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: var(--surface-3); }
.fac-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fac-card:hover .fac-card__media img { transform: scale(1.06); }
.fac-card__num { position: absolute; left: 12px; top: 10px; font-size: 44px; font-weight: 600; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.85); }
.fac-card__count { position: absolute; right: 12px; top: 12px; height: 28px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #fff; background: rgba(3,16,42,.55); backdrop-filter: blur(6px); }
.fac-card__count .icon { width: 14px; height: 14px; }
.fac-card__body { padding: 10px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fac-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fac-card__top h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.03em; }
.fac-card__body > p { font-size: 15px; color: var(--text-2); }
.fac-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fac-card__chips li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.fac-card__cap { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.fac-card__open { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.fac-card__open .icon { transition: transform .45s var(--ease); }
.fac-card:hover .fac-card__open .icon { transform: translateX(4px); }
/* bento grid: wide cards keep the same image height as the rest of their row */
.fac-card.is-span2 { grid-column: span 2; }
.fac-card.is-span2 .fac-card__media { aspect-ratio: 11 / 4; }
.fac-card.is-full { grid-column: 1 / -1; }
.fac-card.is-full .fac-card__media { aspect-ratio: 4 / 1; }

.modal.modal--fac .modal__dialog { width: min(1080px, 100%); max-height: 90vh; }
.fac-detail__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-right: 52px; }
.fac-detail__count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.fac-detail h2 { margin: 12px 0 20px; }
.fac-detail__gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
/* up to 6 photos: a big one (2/3 wide, 2 rows), two beside it, three in the last row. Fewer photos fill the rows. */
.fac-detail__photo { grid-column: span 2; }
.fac-detail__gallery[data-n="5"] .fac-detail__photo:nth-child(n+4) { grid-column: span 3; }
.fac-detail__gallery[data-n="4"] .fac-detail__photo:nth-child(4) { grid-column: span 6; }
.fac-detail__gallery[data-n="2"] .fac-detail__photo:nth-child(2) { grid-row: span 2; }
.fac-detail__gallery[data-n="1"] .fac-detail__photo { grid-column: span 6; }
.fac-detail__photo { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-3); cursor: zoom-in; }
.fac-detail__photo img, .fac-detail__photo video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fac-detail__photo:hover img, .fac-detail__photo:hover video { transform: scale(1.06); }
.fac-detail__photo.is-main { grid-column: span 4; grid-row: span 2; }
.fac-detail__photo .plate__more strong { font-size: clamp(28px, 2.6vw, 40px); } /* smaller tiles than the Gallery plates */
.fac-detail__zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(3,16,42,.55); color: #fff; opacity: 0; transition: opacity .3s; }
.fac-detail__zoom .icon { width: 15px; height: 15px; }
.fac-detail__photo:hover .fac-detail__zoom, .fac-detail__photo:focus-visible .fac-detail__zoom { opacity: 1; }
.fac-detail__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-top: 28px; }
.fac-detail__cap { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.fac-detail__nav { gap: 8px; }
.fac-detail__step { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow .3s, background-color .3s; }
.fac-detail__step:hover { box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.fac-detail__step span { display: grid; font-size: 15px; font-weight: 500; color: var(--text); letter-spacing: -.01em; text-transform: none; }
.fac-detail__step small { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fac-detail__step--next { text-align: right; margin-left: auto; }
@media (max-width: 1000px) {
  .fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fac-card.is-full .fac-card__media { aspect-ratio: 8 / 3; }
}
@media (max-width: 700px) {
  .fac-grid { grid-template-columns: 1fr; }
  .fac-card.is-span2, .fac-card.is-full { grid-column: auto; }
  .fac-card.is-span2 .fac-card__media, .fac-card.is-full .fac-card__media { aspect-ratio: 4 / 3; }
  .modal.modal--fac { padding: 0; }
  .modal.modal--fac .modal__dialog { width: 100%; max-height: 100svh; height: 100%; border-radius: 0; }
  .fac-detail__gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .fac-detail__gallery[data-n] .fac-detail__photo { grid-column: auto; grid-row: auto; }
  .fac-detail__gallery[data-n] .fac-detail__photo.is-main { grid-column: 1 / -1; grid-row: span 2; }
  .fac-detail__gallery[data-n] .fac-detail__photo:last-child:nth-child(even) { grid-column: 1 / -1; } /* odd tile left over: full row */
  .fac-detail__cols { grid-template-columns: 1fr; }
  .fac-detail__step span { font-size: 13px; }
}

/* Tabs */
.tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--text-2); transition: color .4s; }
.tab[aria-selected="true"] { color: #fff; }
.tabs__pill { position: absolute; top: 5px; left: 0; height: 46px; border-radius: 999px; background: var(--accent); transition: transform .6s var(--ease), width .6s var(--ease); }
.tab-panel[hidden] { display: none; }

/* Client cards */
.clients-intro { padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius); background: var(--accent-soft); color: var(--text); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; letter-spacing: -.02em; margin-bottom: 8px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.clients-intro .icon { width: 28px; height: 28px; color: var(--accent-text); }
.client-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.client-card { --pad: clamp(22px, 2.6vw, 34px); background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 20px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.client-card > :not(.client-card__top) { margin-inline: var(--pad); }
/* !important: GSAP's reveal leaves an inline transform on the card */
.client-card:hover { transform: translateY(-4px) !important; box-shadow: inset 0 0 0 1px var(--cobalt-200), 0 24px 48px -24px rgba(0,85,160,.28); }
/* Navy band with the standard cobalt glow; logo in white, industry as a quiet label under it */
.client-card__top { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px var(--pad); background: var(--navy); }
.client-card__top::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 120% at 100% 0%, rgba(0,122,229,.45), transparent 65%), radial-gradient(40% 90% at 0% 100%, rgba(68,115,227,.18), transparent 70%); }
.client-card__top > * { position: relative; }
.client-card__logo { width: 180px; height: 36px; color: #fff; }
.client-card__logo.logo-mask { -webkit-mask-position: left center; mask-position: left center; }
.client-card__industry { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt-300); }
.client-card__industry::before { content: ""; width: 18px; height: 1px; background: var(--cobalt-400); flex: none; }
.client-card__lead { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; letter-spacing: 0; color: var(--text-2); }
.client-card__scope { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.client-card__scope li { font-size: 13px; font-weight: 500; line-height: 1; padding: 9px 13px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.client-card__about { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.client-card__about span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
/* Footer: big figure + label, Est. year top-right. The label always reserves two lines so footers line up across a row. */
.client-card__foot { margin-top: auto; margin-bottom: clamp(22px, 2.6vw, 30px); display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 6px 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.client-card__fact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.client-card__stat { font-size: clamp(28px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--accent-text); white-space: nowrap; }
.client-card__stat-label { min-height: calc(2 * 1.4em); font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.client-card__est { padding-top: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
/* Logo motion (only when JS adds .is-anim): drawn in on scroll, then a cobalt glow sweeps across on hover */
.client-cards.is-anim .client-card__logo { background-color: transparent; background-image: linear-gradient(100deg, #fff 0 42%, var(--cobalt-300) 50%, #fff 58% 100%); background-size: 320% 100%; background-position: 100% 0; clip-path: inset(0 100% 0 0); }
.client-cards.is-anim .client-card.is-in .client-card__logo { animation: clientLogoDraw 1.3s cubic-bezier(.65,0,.35,1) forwards; }
.client-cards.is-anim .client-card.is-drawn .client-card__logo { clip-path: none; background-position: 0 0; animation: none; }
.client-cards.is-anim .client-card.is-drawn:hover .client-card__logo { animation: clientLogoShine 1.1s ease forwards; }
@keyframes clientLogoDraw { 0% { clip-path: inset(0 100% 0 0); background-position: 100% 0; } 70% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); background-position: 0 0; } }
@keyframes clientLogoShine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 1100px) { .client-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) { .client-cards { grid-template-columns: 1fr; } }

/* Team tab */
.team { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; }
.team__left { display: grid; gap: 8px; align-content: start; }
.team__img { position: relative; aspect-ratio: 4 / 3; }
.team__img-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(3,16,42,.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; }
.team__img-cap .label { color: var(--cobalt-300); }
.team__img-cap strong { display: block; font-weight: 500; font-size: 18px; margin-top: 4px; letter-spacing: -.02em; }
.team__text { padding: clamp(24px, 3vw, 40px); }
.team__text h3 { margin-bottom: 18px; }
.spotlight { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.spotlight__head { display: flex; gap: 18px; align-items: center; }
.spotlight__head img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.spotlight__head h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.spotlight__head p { font-size: 14px; color: var(--on-dark-muted); margin: 4px 0 10px; }
.spotlight__head a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cobalt-300); font-weight: 500; }
.spotlight blockquote { margin: 0; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; letter-spacing: -.025em; color: #fff; position: relative; padding-left: 22px; border-left: 2px solid var(--cobalt-400); }
.spotlight .label { color: var(--cobalt-300); display: block; margin-bottom: 10px; }
.spotlight__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spotlight__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.spotlight__cta { align-self: flex-start; }
@media (max-width: 560px) { .spotlight__cols { grid-template-columns: 1fr; } }
.spotlight__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); margin-top: auto; }
.spotlight__stats div { padding: 18px 0 0; }
.spotlight__stats div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.14); }
.spotlight__stats strong { display: block; font-size: clamp(17px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 6px; }
.spotlight p { color: var(--on-dark-2); }
.spotlight__stats div > span { font-size: 12px; color: var(--on-dark-muted); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr; } }

/* Divisions master-detail */
.divisions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; align-items: start; }
.div-list { display: grid; gap: 8px; }
.div-item { text-align: left; width: 100%; background: var(--surface); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 4px; transition: background-color .4s, color .4s, box-shadow .4s; }
.div-item strong { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.div-item p { grid-column: 1 / -1; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.div-item:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.div-item[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: none; }
.div-item[aria-selected="true"] p { color: rgba(255,255,255,.8); }
.div-detail { position: sticky; top: calc(var(--header-h) + 16px); padding: clamp(24px, 3vw, 44px); min-height: 520px; display: flex; flex-direction: column; gap: 24px; }
.div-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.div-detail .label { color: var(--cobalt-300); }
.div-detail h3 { margin-top: 10px; }
.div-detail ol { display: grid; gap: 8px; margin-top: 12px; }
.div-detail li { display: grid; grid-template-columns: 52px 1fr; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.div-detail li span { color: var(--cobalt-300); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.div-detail__sponsor { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 12px; color: var(--on-dark-muted); font-size: 14px; }
.div-detail__sponsor b { color: #fff; font-weight: 500; }
.avatar-l { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cobalt-500); color: #fff; font-weight: 600; }
img.avatar-l { display: block; object-fit: cover; flex: none; }
.div-detail .label + p, .div-detail__mandate p { color: var(--on-dark-muted); margin-top: 8px; font-size: 17px; }
@media (max-width: 900px) { .divisions { grid-template-columns: 1fr; } .div-detail { position: relative; top: 0; min-height: 0; } }

/* News page */
.news-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.search { position: relative; flex: 1 1 320px; max-width: 440px; }
.search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; height: 52px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); padding: 0 20px 0 48px; font-size: 15px; outline: none; transition: box-shadow .3s; }
.search input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .3s, color .3s, box-shadow .3s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.empty { text-align: center; padding: 72px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; justify-items: center; gap: 10px; }
.empty .icon { width: 40px; height: 40px; color: var(--muted); margin-bottom: 6px; }
.empty h3 { font-size: 22px; font-weight: 500; }
.empty p { color: var(--muted); }

.article { max-width: 920px; margin: 0 auto; }
.article__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); font-size: 13px; color: var(--muted); }
.back-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.back-btn .icon { transition: transform .45s var(--ease); }
.back-btn:hover .icon { transform: translateX(-4px); }
.article h1 { margin: 20px 0 22px; font-size: clamp(36px, 5vw, 68px); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.article__meta b { font-weight: 500; color: var(--text); }
.article__cover { aspect-ratio: 16 / 9; margin: clamp(32px, 4vw, 56px) 0; }
.article__body { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.7; color: var(--text-2); max-width: 720px; margin: 0 auto; }
.article__body p + p { margin-top: 1.3em; }
.article__list { list-style: none; margin: 1.3em 0 0; padding: 0; display: grid; gap: .6em; }
.article__list + p { margin-top: 1.3em; }
.article__body p:first-child::first-letter { font-size: 3.4em; float: left; line-height: .9; font-weight: 600; margin: .06em .1em 0 0; color: var(--accent-text); }
.article__gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: clamp(32px, 4vw, 56px) 0 0; }
.article__shot { position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-3); cursor: zoom-in; aspect-ratio: 4 / 3; }
.article__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.article__shot:hover img { transform: scale(1.06); }
.article__shot:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.article__shot:nth-last-child(-n+2) { grid-column: span 2; aspect-ratio: 2 / 1; } /* with 7 photos: 1 large + 4 small + 2 wide */
@media (max-width: 640px) { .article__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .article__shot:first-child, .article__shot:nth-last-child(-n+2) { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; } }
.article__foot { max-width: 720px; margin: clamp(40px, 5vw, 72px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; color: var(--muted); }

/* Gallery */
.event { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; margin-bottom: 8px; align-items: start; }
.event__info { position: sticky; top: calc(var(--header-h) + 16px); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.event__info .h4 { font-weight: 600; font-size: clamp(26px, 2.4vw, 38px); }
.event__badges { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.event__facts { display: grid; gap: 14px; padding: 18px 0; border-block: 1px solid var(--line); }
.event__facts div { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.event__facts .icon { color: var(--accent-text); margin-top: 2px; }
.event__facts small { display: block; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.event__facts b { font-weight: 500; }
.event__plates { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.album { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plate { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-3); cursor: zoom-in; }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plate:hover img { transform: scale(1.07); }
.plate__hover { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; padding: 16px; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .08em; background: linear-gradient(180deg, transparent 40%, rgba(3,16,42,.75)); opacity: 0; transition: opacity .4s; }
.plate:hover .plate__hover, .plate:focus-visible .plate__hover { opacity: 1; }
.plate__more { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center; gap: 4px; background: transparent; color: #fff; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); } /* clear frosted glass: the photo shows through, blurred, with no colour tint */
.plate__more strong { font-size: clamp(40px, 4vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; text-shadow: 0 1px 14px rgba(3,16,42,.5); }
.plate__more span { font-size: 15px; font-weight: 500; text-shadow: 0 1px 10px rgba(3,16,42,.55); }
.plate__more small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; text-shadow: 0 1px 8px rgba(3,16,42,.6); }
@media (max-width: 900px) { .event { grid-template-columns: 1fr; } .event__info { position: relative; top: 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(3, 10, 24, .94); color: #fff; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; backdrop-filter: blur(8px); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top, .lightbox__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--gutter); flex-wrap: wrap; }
.lightbox__top .label { color: var(--cobalt-300); }
.lightbox__top strong { display: block; font-weight: 500; font-size: 18px; margin-top: 4px; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(56px, 8vw, 120px); min-height: 0; }
.lightbox__img { max-height: 70vh; max-width: 100%; border-radius: var(--radius-sm); object-fit: contain; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.lightbox__img.is-swapping { opacity: 0; transform: scale(.97); }
.lightbox__img[hidden] { display: none; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); transition: background-color .3s; }
.lightbox__nav:hover { background: var(--cobalt-500); }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
.lightbox .icon-btn { box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.lightbox .icon-btn:hover { background: #fff; color: var(--ink-900); }
.lightbox__where { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.75); }
.lightbox__count { font-size: 12px; letter-spacing: .1em; font-weight: 500; }
.dots { display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.3); transition: width .5s var(--ease), background-color .3s; }
.dots button[aria-current="true"] { width: 28px; background: var(--cobalt-400); }
@media (max-width: 700px) { .lightbox__stage { padding: 0 12px; } .lightbox__nav { top: auto; bottom: -8px; transform: none; } }

/* Careers */
.jobs { display: grid; gap: 8px; }
.job { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; transition: box-shadow .4s, transform .6s var(--ease); }
.job:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.job__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.job h3 { font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.job__where { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 12px; font-size: 14px; color: var(--muted); }
.job__where span { display: inline-flex; gap: 6px; align-items: center; }
.job__desc { color: var(--text-2); max-width: 80ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job__actions { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) { .job { grid-template-columns: 1fr; } .job__actions { flex-direction: row; flex-wrap: wrap; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: var(--backdrop); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal__dialog { position: relative; width: min(920px, 100%); max-height: 85vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 48px); transform: translateY(24px) scale(.98); transition: transform .6s var(--ease); box-shadow: 0 40px 120px -20px rgba(3,16,42,.5); }
.modal--narrow .modal__dialog { width: min(640px, 100%); }
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 14px 0 16px; padding-right: 48px; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.modal__meta span { font-size: 12px; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); letter-spacing: .02em; }
.modal__meta b { font-weight: 500; color: var(--muted); }
.modal h4 { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.modal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.checks li, .numbered li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.checks .icon { color: var(--accent-text); margin-top: 3px; }
.numbered li span:first-child { color: var(--accent-text); font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.modal__foot { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.modal__foot-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 700px) { .modal__cols { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; border: 0; border-radius: var(--radius-sm); background: var(--surface-2); padding: 15px 16px; font-size: 16px; outline: none;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--accent); background: var(--surface); }
.field input:user-invalid, .field textarea:user-invalid { box-shadow: inset 0 0 0 2px #D64545; }
.field input::placeholder, .field textarea::placeholder { color: var(--neutral-500); }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.form__note { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.success { display: grid; justify-items: start; gap: 14px; padding: 12px 0; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; animation: pop .7s var(--ease); }
.success__icon .icon { width: 30px; height: 30px; stroke-width: 2; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.success h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; }
.success p { color: var(--text-2); }
.success p b { color: var(--text); font-weight: 500; }
.success small { color: var(--muted); font-size: 13px; display: inline-flex; gap: 8px; align-items: center; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; align-items: stretch; }
.contact__form { padding: clamp(24px, 3.4vw, 48px); }
.contact__form .label { color: var(--accent-text); }
.contact__form h2 { margin: 12px 0 8px; font-size: clamp(28px, 3vw, 44px); }
.contact__form > p { color: var(--muted); margin-bottom: 28px; }
.contact__side { display: grid; gap: 8px; grid-template-rows: auto 1fr; }
.matrix { padding: clamp(24px, 3vw, 40px); }
.matrix h3 { font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--cobalt-300); margin-bottom: 20px; }
.matrix a, .matrix div.row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.matrix .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--cobalt-300); }
.matrix div.row .ic { align-self: start; } /* the address runs over several lines: keep its icon at the top */
.matrix small { display: block; font-size: 12px; color: var(--on-dark-muted); letter-spacing: .04em; }
.matrix strong { font-weight: 500; font-size: 16px; }
.matrix a:hover strong { color: var(--cobalt-300); }
.map { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__label { position: absolute; top: 18px; left: 18px; font-size: 11px; letter-spacing: .1em; font-weight: 500; color: var(--muted); }
.map__ocean { position: absolute; left: 18px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 11px; letter-spacing: .5em; color: var(--accent-text); opacity: .7; }
/* the SVG map is centred on the office, so the dot sits at the exact centre and the card hangs below it */
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -8px); display: grid; justify-items: center; gap: 10px; text-align: center; }
.map .map__water { fill: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.map__place { font-family: var(--font); font-size: 9px; font-weight: 500; letter-spacing: .16em; fill: var(--muted); }
.map__place--water { fill: var(--accent-text); opacity: .85; }
.map__credit { position: absolute; top: 60px; right: 12px; padding: 2px 6px; border-radius: 4px; background: var(--surface); font-size: 9px; letter-spacing: .04em; color: var(--muted); }
@media (max-width: 560px) { .map__place { display: none; } }
.map__dot { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--surface); }
.map__dot::before, .map__dot::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--accent); animation: pulse 2.2s var(--ease) infinite; }
.map__dot::after { animation-delay: 1.1s; }
.map__card { padding: 10px 14px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); font-size: 12px; }
.map__card strong { display: block; font-size: 11px; letter-spacing: .08em; font-weight: 600; }
.map__card span { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.map__meta { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.map__meta span { display: inline-flex; align-items: center; gap: 6px; }
.map__link { position: absolute; top: 12px; right: 12px; }
@media (max-width: 1000px) { .contact { grid-template-columns: 1fr; } }

/* Utility */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.flex-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.stack-8 > * + * { margin-top: 8px; }
.hide-sm { } @media (max-width: 700px) { .hide-sm { display: none !important; } }

/* Legal pages (Privacy Policy, Terms & Conditions) */
.legal { display: grid; gap: 8px; max-width: 900px; }
.legal__updated { margin-bottom: 16px; }
.legal__block { padding: 24px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.legal__block p { color: var(--text-2); line-height: 1.65; }

/* ============ Nav: an item with a small sub-label (CSR / IFS Foundation) ============ */
/* CSR tab: a small "IFS" sits over the R (right-aligned), and a card about the IFS Foundation opens on hover */
.nav__item { position: relative; display: inline-flex; }
.nav__sup { position: absolute; right: 14px; top: 0; font-size: 9px; font-weight: 600; line-height: 1; letter-spacing: .02em; color: inherit; pointer-events: none; }
.nav__card { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 5; width: 290px; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 18px 40px rgba(3,16,42,.16), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
.nav__card::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* keeps the hover while the pointer crosses the gap */
.nav__card::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: var(--surface); transform: translateX(-50%) rotate(45deg); box-shadow: -1px -1px 0 var(--line); }
.nav__item:hover .nav__card, .nav__item:focus-within .nav__card { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s; }
.nav__card img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.nav__card-txt { display: grid; gap: 3px; min-width: 0; }
.nav__card-txt small { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.nav__card-txt strong { font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.nav__card-txt span { font-size: 12px; color: var(--muted); }
.nav__card-go { flex: none; margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .45s var(--ease); }
.nav__card-go .icon { width: 15px; height: 15px; }
.nav__card:hover .nav__card-go { transform: translateX(3px); }
.drawer__sub { display: block; font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ============ CSR page (IFS Foundation) ============ */
.csr-hero__aside { display: grid; gap: 24px; align-content: start; }
.csr-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
/* the standard dark navy panel */
.csr-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(40px, 6vw, 80px); padding: clamp(28px, 3.5vw, 48px); border-radius: var(--radius-sm); background: var(--dark-panel); color: #fff; }
.csr-panel__lbl { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt-300); }
.csr-panel__intro { grid-column: 1 / span 5; }
.csr-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.csr-lockup__igt { display: block; width: 104px; height: 34px; background: #fff; -webkit-mask: url(../../logos/IGT1-logo.svg) left center / contain no-repeat; mask: url(../../logos/IGT1-logo.svg) left center / contain no-repeat; flex: none; }
.csr-lockup__x { font-size: 18px; color: rgba(255,255,255,.45); }
.csr-lockup__ifs { display: flex; align-items: center; gap: 12px; }
.csr-lockup__ifs img { width: 52px; height: 52px; border-radius: 12px; display: block; flex: none; }
.csr-lockup__ifs span { font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; color: #fff; }
.csr-lockup__ifs small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt-300); }
.csr-lockup__ifs span, .csr-lockup__ifs small { white-space: nowrap; }
@media (max-width: 700px) {
  .csr-lockup { gap: 10px; }
  .csr-lockup__igt { width: 84px; height: 28px; }
  .csr-lockup__ifs { gap: 9px; }
  .csr-lockup__ifs img { width: 42px; height: 42px; border-radius: 10px; }
  .csr-lockup__ifs span { font-size: 14px; }
  .csr-lockup__ifs small { font-size: 10px; letter-spacing: .06em; }
}
.csr-panel__intro p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.82); }
.csr-panel__stats { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; margin: 0; }
.csr-panel__stats div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
.csr-panel__stats dt { order: 2; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.csr-panel__stats div { display: flex; flex-direction: column-reverse; gap: 8px; }
.csr-panel__stats dd { margin: 0; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }

.csr-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.csr-areas li { padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.csr-areas__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 28px; border-radius: 12px; background: var(--dark-panel); color: var(--cobalt-300); }
.csr-areas__icon .icon { width: 20px; height: 20px; }
.csr-areas h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 8px; }
.csr-areas p { font-size: 14px; line-height: 1.5; color: var(--text-2); }

.csr-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.csr-way { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.csr-way__num { display: block; margin-bottom: 40px; font-size: 13px; font-weight: 500; color: var(--accent-text, var(--accent)); }
.csr-way h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.03em; margin-bottom: 12px; }
.csr-way p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.csr-uses { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; }
.csr-uses ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.csr-uses li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.csr-uses .icon { width: 16px; height: 16px; color: var(--accent); }

.csr-projects { display: grid; gap: 8px; }
.csr-project { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding: 8px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.csr-project__media { grid-column: 1 / span 7; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; min-height: clamp(280px, 30vw, 440px); }
.csr-project__media--two { grid-template-rows: 1fr; }
.csr-project__photo { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: calc(var(--radius) - 6px); background: var(--surface-3, var(--line)); cursor: zoom-in; }
.csr-project__photo.is-main { grid-row: 1 / -1; }
.csr-project__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.csr-project__photo:hover img { transform: scale(1.05); }
.csr-project__photo .plate__more strong { font-size: clamp(28px, 2.6vw, 40px); } /* same size as the facility galleries */
.csr-project__body { grid-column: 8 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(16px, 2vw, 32px) clamp(8px, 1.5vw, 24px) clamp(16px, 2vw, 32px) 0; }
.csr-project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13px; color: var(--muted); }
.csr-project__meta > span:not(.tag) { display: inline-flex; align-items: center; gap: 6px; }
.csr-project__meta .icon { width: 15px; height: 15px; }
.csr-project h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.csr-project p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.csr-project .link-arrow { margin-top: auto; }



/* navy fading into deep cobalt (with a soft glow top right), so it reads apart from the flat navy Inquire band below it */
.csr-cta { display: grid; gap: clamp(28px, 3.5vw, 48px); padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-sm); color: #fff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(49,159,255,.30), transparent 62%), linear-gradient(115deg, var(--dark-panel) 0%, var(--cobalt-900) 42%, var(--cobalt-800) 100%); }
.csr-cta__head .csr-panel__lbl { margin-bottom: 18px; }
.csr-cta h2 { font-size: clamp(30px, 4vw, 60px); font-weight: 500; letter-spacing: -.045em; line-height: 1; max-width: 20ch; }
.csr-cta__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.csr-tile { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 56px 20px; min-height: 260px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); color: #fff; text-decoration: none; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .6s var(--ease); }
.csr-tile__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); }
.csr-tile__icon .icon { width: 21px; height: 21px; }
.csr-tile__text { grid-column: 1; grid-row: 2; display: grid; gap: 10px; align-content: end; }
.csr-tile__text strong { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.csr-tile__text span { max-width: 40ch; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.78); }
.csr-tile__go { grid-column: 2; grid-row: 2; align-self: end; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--dark-panel); transition: transform .5s var(--ease); }
.csr-tile__go .icon { width: 20px; height: 20px; }
.csr-tile:hover .csr-tile__go, .csr-tile:focus-visible .csr-tile__go { transform: translate(3px, -3px); }
.csr-tile--primary { background: var(--accent); }
.csr-tile--primary:hover, .csr-tile--primary:focus-visible { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.csr-tile--ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.csr-tile--ghost .csr-tile__go { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.csr-tile--ghost:hover, .csr-tile--ghost:focus-visible { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }

@media (max-width: 1100px) {
  .csr-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .csr-panel__intro, .csr-panel__stats { grid-column: 1 / -1; }
  .csr-project__media, .csr-project__body { grid-column: 1 / -1; }
  .csr-project__body { padding: 8px 16px 20px; }
}
@media (max-width: 800px) {
  .csr-cta__tiles { grid-template-columns: 1fr; }
  .csr-tile { min-height: 220px; gap: 36px 16px; }
}
@media (max-width: 700px) {
  .csr-areas { grid-template-columns: 1fr 1fr; }
  .csr-areas li:last-child { grid-column: 1 / -1; }
  .csr-ways { grid-template-columns: 1fr; }
  .csr-project__media { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px; }
  .csr-project__media--two { grid-template-rows: 220px; }
  .csr-project__photo.is-main { grid-column: 1 / -1; grid-row: auto; }
  .csr-project__media--two .csr-project__photo.is-main { grid-column: auto; }
}
.phase__text { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.phase__text em { font-style: normal; color: var(--cobalt-400); }
.phase--year { flex-basis: min(280px, 70vw); }
.phase--year .phase__text { color: var(--on-dark-muted, rgba(255,255,255,.75)); font-size: 16px; font-weight: 400; }
.phase__text { font-size: 20px; }
/* Journey milestones use landscape cards so the (mostly landscape) photos are not cropped to portrait */
.phase:not(.phase--year) { flex-basis: min(560px, 86vw); min-height: min(420px, 46vh); }
@media (max-width: 900px) { .phase:not(.phase--year) { min-height: 300px; } }
/* Journey cards carry one short line, so the dark shade only covers the bottom and the photo stays clear */
.phase:not(.phase--year) > div:last-child::before { background: linear-gradient(to top, rgba(3,16,42,.88) 0%, rgba(3,16,42,.55) 18%, rgba(3,16,42,0) 42%); }
/* ISO card: the office photo sits back like a watermark and a big icon carries the card */
.phase__img--faded { opacity: .28; filter: grayscale(.4); }
.phase__icon { align-self: center; margin: auto; width: 132px; height: 132px; border-radius: 34px; display: grid; place-items: center; background: rgba(49,159,255,.22); color: #fff; box-shadow: inset 0 0 0 1px rgba(124,195,255,.5), 0 0 60px rgba(49,159,255,.35); }
.phase__icon .icon { width: 64px; height: 64px; stroke-width: 1.5; }
/* Journey by year: tabs + a grid of that year's milestones (no pinned horizontal scroll) */
.jrn__tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 34px; margin-bottom: clamp(24px, 3vw, 40px); }
/* the timeline: a hairline with one dot per year; the line fills up to the chosen year */
.jrn__tabs::before, .jrn__tabs::after { content: ""; position: absolute; top: 6px; left: 7px; height: 2px; border-radius: 2px; }
.jrn__tabs::before { right: 0; background: rgba(255,255,255,.14); }
.jrn__tabs::after { width: 0; background: var(--cobalt-400); box-shadow: 0 0 14px rgba(49,159,255,.7); transition: width .6s var(--ease); }
.jrn__tabs:has(.jrn__tab:nth-child(2)[aria-selected="true"])::after { width: calc(33.333% ); }
.jrn__tabs:has(.jrn__tab:nth-child(3)[aria-selected="true"])::after { width: calc(66.666% ); }
.jrn__tab { position: relative; display: grid; gap: 4px; justify-items: start; text-align: left; padding: 0 12px 0 0; background: none; border: 0; color: rgba(255,255,255,.55); cursor: pointer; transition: color .3s var(--ease); }
.jrn__tab::before { content: ""; position: absolute; top: -34px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255,255,255,.35); transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.jrn__tab b { font-size: clamp(34px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.06em; line-height: .95; color: inherit; }
.jrn__tab span { font-size: 14px; color: rgba(255,255,255,.55); }
.jrn__tab:hover { color: #fff; }
.jrn__tab:hover::before { border-color: var(--cobalt-400); }
.jrn__tab[aria-selected="true"] { color: #fff; }
.jrn__tab[aria-selected="true"]::before { background: var(--cobalt-400); border-color: var(--cobalt-400); box-shadow: 0 0 0 6px rgba(49,159,255,.18), 0 0 22px rgba(49,159,255,.8); }
.jrn__tab[aria-selected="true"] span { color: var(--cobalt-300, #7cc3ff); }
.jrn__tab:focus-visible { outline: 2px solid var(--cobalt-400); outline-offset: 6px; border-radius: 6px; }
.jrn__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.jrn__grid[hidden] { display: none; }
.jrn .phase:not(.phase--year) { flex: auto; min-height: 280px; }
.jrn .phase::before, .jrn .phase::after { display: none; }
.jrn .phase { cursor: zoom-in; transition: transform .4s var(--ease), border-color .4s var(--ease); }
.jrn .phase:hover { transform: translateY(-4px); border-color: rgba(124,195,255,.45); }
.jrn .phase:focus-visible { outline: 2px solid var(--cobalt-400); outline-offset: 3px; }
.legal__list { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); line-height: 1.6; list-style: disc; }
