/* Unilink Group — shared stylesheet.
   Layout: Pilato-style editorial scroll. Photo-led heroes, quiet light sections,
   navy bands for services and leadership, curtain footer. */
:root {
  --paper: #F3F4F7;
  --surface: #FFFFFF;
  --ink: #151A2B;
  --muted: #586075;
  --faint: #C3C7D2;
  --line: #DCDFE7;
  --band: #1B2032;
  --band-ink: #EEF0F6;
  --band-muted: #9CA3BA;
  --band-line: #2E3550;
  --accent: #503CED;
  --accent-ink: #FFFFFF;
  --band-accent: #A79CFF;
  --signal: #CC4700;
  --ok: #1F8A5B;
  --bad: #C0362C;
  --shade: rgba(10, 13, 24, .55);

  --display: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-xs: 12px;
  --t-sm: 14px;
  --t-base: 17px;
  --t-md: clamp(19px, 1.6vw, 22px);
  --t-lg: clamp(28px, 3.4vw, 46px);
  --t-xl: clamp(38px, 6.4vw, 92px);

  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1320px;
  --head-h: 76px;
  --ease: cubic-bezier(.65, 0, .35, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1019; --surface: #151927; --ink: #E8EAF1; --muted: #98A0B5; --faint: #3A4056;
    --line: #262B3C; --band: #1A1F33; --band-ink: #EEF0F6; --band-muted: #9CA3BA; --band-line: #303752;
    --accent: #8E80FF; --accent-ink: #0D1019; --band-accent: #B3AAFF; --signal: #FF7D40; --ok: #4CC38A; --bad: #FF6B5E;
    --shade: rgba(5, 7, 14, .62);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1019; --surface: #151927; --ink: #E8EAF1; --muted: #98A0B5; --faint: #3A4056;
  --line: #262B3C; --band: #1A1F33; --band-ink: #EEF0F6; --band-muted: #9CA3BA; --band-line: #303752;
  --accent: #8E80FF; --accent-ink: #0D1019; --band-accent: #B3AAFF; --signal: #FF7D40; --ok: #4CC38A; --bad: #FF6B5E;
  --shade: rgba(5, 7, 14, .62);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--t-base); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
@media (min-width: 760px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

.eyebrow { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: inherit; font-size: var(--t-sm); letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  border: 1px solid transparent; transition: transform .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.text-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: var(--t-sm); letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--band); }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: calc(env(safe-area-inset-top, 0px) + 18px); padding-bottom: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(5,7,14,.55), rgba(5,7,14,0)); transition: opacity .35s; }
.site-header.is-solid { background: var(--band); padding-top: calc(env(safe-area-inset-top, 0px) + 12px); padding-bottom: 12px; box-shadow: 0 1px 0 var(--band-line); }
.site-header.is-solid::before { opacity: 0; }
@media (min-width: 760px) { .site-header { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.04em; padding-right: 10px; border-right: 1px solid currentColor; line-height: 1; }
.brand-name { font-size: 11px; line-height: 1.1; letter-spacing: .2em; }

.nav { display: none; gap: 4px; align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { text-decoration: none; padding: 10px 12px; opacity: .92; }
.nav-item > a:hover, .nav-item > a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.sub-toggle { background: none; border: 0; color: inherit; padding: 8px 6px 8px 0; margin-left: -8px; cursor: pointer; display: grid; place-items: center; }
.sub-toggle svg { width: 10px; height: 10px; transition: transform .25s; }
.nav-item.open .sub-toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 280px; padding: 10px 0;
  background: var(--band); color: var(--band-ink); border: 1px solid var(--band-line);
  box-shadow: 0 24px 48px rgba(5, 7, 14, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  text-transform: none; letter-spacing: 0; font-size: 15px;
}
.dropdown a { display: block; padding: 9px 20px; text-decoration: none; color: var(--band-ink); }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--band-line); }
.dropdown .all { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--band-accent); border-top: 1px solid var(--band-line); margin-top: 6px; padding-top: 14px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.head-cta { display: none; text-decoration: none; border: 1px solid currentColor; border-radius: 999px; padding: 9px 16px; white-space: nowrap; }
.head-cta:hover { background: #fff; color: var(--band); }
.menu-btn { background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; padding: 8px 14px; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
@media (min-width: 1100px) { .nav, .head-cta { display: flex; } .menu-btn { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto; background: rgba(10, 12, 22, .92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff;
  padding: calc(env(safe-area-inset-top, 0px) + 84px) var(--gut-r) calc(env(safe-area-inset-bottom, 0px) + 40px) var(--gut);
}
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 560px; }
.menu > ul > li > a { color: #fff; text-decoration: none; font-family: var(--display); font-size: 32px; letter-spacing: -.02em; line-height: 1.1; }
.menu .sub { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.menu .sub a { color: #B9BED0; text-decoration: none; font-size: 15px; }
.menu .menu-close { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 18px); right: max(16px, env(safe-area-inset-right, 0px)); background: none; color: #fff; border: 1px solid #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }

/* ---------- Home: pinned hero with slider ---------- */
.intro { position: relative; background: var(--paper); }
.stick { display: flex; flex-direction: column; }
.hero-full { position: relative; order: -1; height: min(92svh, 780px); min-height: 560px; overflow: hidden; background: var(--band); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slide img, .slide video { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide img { transform: scale(1.02); transition: transform 8s linear; }
.slide.is-active img { transform: scale(1.1); }
.hero-full .shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0) 28%, rgba(0,0,0,0) 40%, var(--shade)); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 var(--gut-r) calc(env(safe-area-inset-bottom, 0px) + 118px) var(--gut); color: #fff; display: grid; gap: 18px; }
.hero-copy .eyebrow { color: rgba(255,255,255,.82); }
.hero-copy h1 { font-size: var(--t-xl); font-weight: 400; max-width: 15ch; }
.slide-ui {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gut-r) calc(env(safe-area-inset-bottom, 0px) + 26px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center;
  color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.slide-label { grid-column: 1 / -1; color: rgba(255,255,255,.88); min-height: 1.4em; }
.slide-bars { display: flex; gap: 6px; min-width: 0; }
.slide-bars button { position: relative; flex: 1; height: 22px; padding: 0; background: none; border: 0; cursor: pointer; }
.slide-bars button::before, .slide-bars .fill { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255,255,255,.3); }
.slide-bars .fill { background: #fff; transform: scaleX(0); transform-origin: left; }
.slide-ctrl { display: flex; align-items: center; gap: 8px; }
.slide-count { font-variant-numeric: tabular-nums; margin-right: 6px; }
.slide-ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.slide-ctrl button:hover { background: rgba(255,255,255,.22); }
.slide-ctrl svg { width: 14px; height: 14px; }
@media (min-width: 760px) {
  .slide-ui { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) auto; }
  .slide-label { grid-column: auto; }
}
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px var(--gut-r) 0 var(--gut); }
.intro-grid figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--line); }
.intro-grid img { width: 100%; height: 100%; object-fit: cover; }
.intro-grid .slot { display: none; }
.intro-caption { padding: 22px var(--gut-r) 8px var(--gut); font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.intro-caption b { color: var(--ink); font-weight: 500; }

@media (min-width: 900px) {
  .intro.is-pinned { height: 260vh; }
  .intro.is-pinned .stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: block; }
  .intro.is-pinned .intro-grid {
    position: absolute; inset: 0; padding: 104px 40px 84px; gap: 20px;
    grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: 1fr 1fr;
    grid-template-areas: "a c d" "b c e";
  }
  .intro.is-pinned .intro-grid figure { aspect-ratio: auto; height: 100%; will-change: transform, opacity; }
  .intro.is-pinned .s1 { grid-area: a; } .intro.is-pinned .s2 { grid-area: b; }
  .intro.is-pinned .s3 { grid-area: d; } .intro.is-pinned .s4 { grid-area: e; }
  .intro.is-pinned .slot { display: block; grid-area: c; }
  .intro.is-pinned .hero-full { position: absolute; inset: 0; height: auto; min-height: 0; z-index: 2; will-change: clip-path; }
  .intro.is-pinned .hero-copy { padding-left: 40px; padding-right: 40px; padding-bottom: 120px; }
  .intro.is-pinned .slide-ui { padding: 0 40px 30px; }
  .intro.is-pinned .intro-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 40px 30px; justify-content: space-between; }
}

/* ---------- Home: business-lines video grid ---------- */
.vgrid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vtile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--band); color: #fff; text-decoration: none; }
@media (min-width: 760px) { .vtile { aspect-ratio: 4 / 3; } }
@media (min-width: 1200px) { .vtile { aspect-ratio: 16 / 10; } }
.vtile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vtile:hover video, .vtile:focus-visible video { transform: scale(1.04); }
.vtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,8,16,.85) 0%, rgba(6,8,16,.35) 45%, rgba(6,8,16,0) 75%); }
.vtile-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 3vw, 36px); display: grid; gap: 10px; justify-items: start; }
.vtile-copy .eyebrow { color: rgba(255,255,255,.8); }
.vtile-copy h3 { font-size: clamp(28px, 3vw, 44px); }
.vtile-copy p { max-width: 40ch; color: rgba(255,255,255,.88); font-size: 15px; }
.vtile-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: var(--t-sm); letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.vtile-more svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.vtile:hover .vtile-more svg { transform: translateX(4px); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; height: min(72svh, 640px); min-height: 440px; overflow: hidden; background: var(--band); color: #fff; display: grid; align-items: end; }
.page-hero.short { height: min(56svh, 500px); min-height: 380px; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,7,14,.5), rgba(5,7,14,.05) 35%, rgba(5,7,14,.15) 55%, rgba(5,7,14,.78)); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 0 clamp(36px, 5vw, 64px); display: grid; gap: 16px; }
.page-hero h1 { font-size: var(--t-xl); max-width: 16ch; }
.page-hero .lead { max-width: 56ch; font-size: var(--t-md); color: rgba(255,255,255,.9); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(72px, 9vw, 130px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section + .section.rule { border-top: 1px solid var(--line); }
.surface { background: var(--surface); }
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow, .band .sec-head p { color: var(--band-muted); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.sec-head > div { display: grid; gap: 14px; }
.sec-head h2 { font-size: var(--t-lg); }
.sec-head p { color: var(--muted); max-width: 52ch; }

.prose { display: grid; gap: 1.05em; max-width: 68ch; }
.prose p { color: var(--ink); }
.prose .lede { font-family: var(--display); font-size: var(--t-md); line-height: 1.45; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: .6em; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: .4em; }
.band .prose p { color: var(--band-ink); }

.split { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.flip > :first-child { order: 2; }
}
.split figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--line); }
.split figure.tall { aspect-ratio: 4 / 5; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split > div { display: grid; gap: 20px; min-width: 0; }
.split h2 { font-size: var(--t-lg); }
.split p { color: var(--muted); max-width: 56ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.band .chips li { border-color: var(--band-line); color: var(--band-muted); }

.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { background: var(--paper); padding: 24px; display: grid; gap: 6px; min-width: 0; }
.fact b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.03em; line-height: 1; }
.fact span { color: var(--muted); font-size: 14px; }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--line); }
@media (min-width: 900px) { .gallery.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery.g1 { grid-template-columns: 1fr; }
.gallery.g1 figure { aspect-ratio: 21 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(80px, 14vw, 200px); }
/* Home "Who we are": statement, layered photos, three values */
.who-grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .who-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.who-copy { display: grid; gap: 28px; justify-items: start; min-width: 0; }
.who .who-copy p { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.25; max-width: 24ch; }
.who-media { position: relative; padding: 0 0 clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px); min-width: 0; }
.who-main { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; max-width: 100%; background: var(--line); }
.who-inset { position: absolute; left: 0; bottom: 0; width: 42%; margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--line); border: 8px solid var(--paper); }
.who-main img, .who-inset img { width: 100%; height: 100%; object-fit: cover; }
.who-badge {
  position: absolute; top: clamp(-28px, -2vw, -16px); right: clamp(12px, 2vw, 24px);
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: var(--band); color: var(--band-ink); box-shadow: 0 18px 40px rgba(10, 13, 24, .18);
}
.who-badge b { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.who-badge span { font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); }
.values { list-style: none; margin: clamp(64px, 8vw, 112px) 0 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); } }
.values li { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.value-n { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .1em; color: var(--signal); }
.values h3 { font-size: clamp(24px, 2.2vw, 30px); }
.who .values p { font-family: var(--body); font-size: 16px; line-height: 1.55; letter-spacing: 0; color: var(--muted); max-width: 36ch; }
.statement p { font-family: var(--display); font-size: var(--t-lg); line-height: 1.18; letter-spacing: -.02em; max-width: 26ch; }
.statement .w { transition: color .25s linear; }
.js-words .statement .w { color: var(--faint); }
.js-words .statement .w.on { color: var(--ink); }
.statement-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.pillar { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.pillar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }

/* ---------- Services list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--band-line); }
.svc { display: grid; gap: 10px 32px; padding: 28px 0; border-bottom: 1px solid var(--band-line); scroll-margin-top: 100px; }
@media (min-width: 900px) { .svc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 34px 0; } }
.svc h3 { font-size: clamp(22px, 2.3vw, 32px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.svc h3 a { text-decoration: none; } .svc h3 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.svc h3 .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--band-accent); white-space: nowrap; }
.svc-body { display: grid; gap: 14px; min-width: 0; }
.svc-body p { opacity: .88; max-width: 62ch; }
.surface .svc-list, .light-list.svc-list { border-color: var(--line); }
.light-list .svc { border-color: var(--line); }
.light-list .svc h3 .tag { color: var(--accent); }
.light-list .svc-body p { color: var(--muted); opacity: 1; }

/* ---------- Detailed service blocks (Solutions page) ---------- */
.svc-detail { display: grid; gap: clamp(24px, 4vw, 64px); padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .svc-detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.svc-detail h2 { font-size: clamp(28px, 3vw, 42px); }
.svc-detail .svc-side { display: grid; gap: 18px; align-content: start; }
.svc-detail figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; max-width: 100%; background: var(--line); }
.svc-detail figure img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail .prose p { color: var(--muted); }
.svc-index { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.svc-index a { display: inline-block; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.svc-index a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { background: var(--paper); padding: 28px 24px 32px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.surface .step { background: var(--surface); }
.step-n { font-family: var(--mono); font-size: var(--t-xs); color: var(--signal); letter-spacing: .1em; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prod { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); min-width: 0; text-decoration: none; color: inherit; }
.surface .prod { background: var(--paper); }
.prod figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; background: var(--line); }
.prod img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.prod:hover img { transform: scale(1.05); }
.prod-body { padding: 22px 22px 26px; display: grid; gap: 12px; align-content: start; }
.prod-body h3 { font-size: 24px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.prod-body h3 svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s var(--ease); }
.prod:hover .prod-body h3 svg { transform: translateX(4px); }
.prod-body p { color: var(--muted); font-size: 15px; }

/* ---------- Group companies ---------- */
.co-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .co-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.co { position: relative; background: var(--paper); padding: 20px; display: grid; grid-template-rows: 1fr auto; gap: 16px; min-height: 200px; min-width: 0; text-decoration: none; color: inherit; scroll-margin-top: 100px; }
.co:target { outline: 2px solid var(--accent); outline-offset: 2px; }
.co-logo { display: grid; place-items: center; background: #fff; border-radius: 2px; padding: 14px; min-height: 96px; }
.co-logo img { max-height: 70px; width: auto; object-fit: contain; }
/* Group company logo carousel: two identical tracks scroll left; each moves exactly its own width per loop */
.logo-marquee {
  display: flex; overflow: hidden; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-track { list-style: none; margin: 0; padding: 0 16px 0 0; display: flex; gap: 16px; flex-shrink: 0; animation: logo-scroll 32s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { to { transform: translateX(-100%); } }
.logo-track > li { display: flex; }
.logo-card { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: 14px; width: clamp(220px, 22vw, 280px); padding: 16px; background: var(--paper); text-decoration: none; color: inherit; scroll-margin-top: 100px; }
.surface .logo-card { background: var(--paper); }
a.logo-card:hover .logo-name { text-decoration: underline; text-underline-offset: 4px; }
.logo-box { display: grid; place-items: center; height: 128px; background: #fff; padding: 16px; }
.logo-box img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }
.logo-name { font-size: 15px; letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .logo-track { flex-wrap: wrap; flex-shrink: 1; padding: 0; }
  .logo-copy { display: none; }
}
.co-more { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 16px; }
.co-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .co-more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) { .co-more ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.co-more li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; min-width: 0; }
.co-more li:target { background: var(--paper); }
.co-name { font-family: var(--display); font-size: 19px; letter-spacing: -.01em; }
.co-name a { text-decoration: none; } .co-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.co-note { font-size: 13px; color: var(--muted); }
.brand-logo { height: 40px; width: auto; display: block; transition: height .35s; }
.site-header.is-solid .brand-logo { height: 34px; }
.foot-word img { width: min(100%, 320px); height: auto; }
.co h3 { font-size: 17px; letter-spacing: -.01em; line-height: 1.2; }
.co p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.co.feature-co { grid-column: span 2; color: #fff; padding: 0; overflow: hidden; min-height: 360px; }
@media (min-width: 1000px) { .co.feature-co { grid-row: span 2; } }
.co.feature-co img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.co.feature-co:hover img.bg { transform: scale(1.04); }
.co-feature-logo { position: absolute; top: 20px; left: 20px; z-index: 1; background: #fff; padding: 12px 16px; border-radius: 2px; box-shadow: 0 10px 30px rgba(6, 10, 8, .25); }
.co-feature-logo img { height: clamp(56px, 6vw, 84px); width: auto; }
.co.feature-co .co-over { position: relative; align-self: end; grid-row: 2; padding: 28px; background: linear-gradient(to top, rgba(6,10,8,.85), rgba(6,10,8,0)); display: grid; gap: 10px; }
.co.feature-co h3 { font-size: clamp(22px, 2.4vw, 30px); }
.co.feature-co p { color: rgba(255,255,255,.88); font-size: 15px; max-width: 46ch; }
.co.feature-co .eyebrow { color: rgba(255,255,255,.75); }

/* ---------- Leadership messages ---------- */
.leader { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .leader { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.leader-card { display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .leader-card { position: sticky; top: 110px; } }
.leader-card figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; max-width: 340px; background: var(--line); }
.leader-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader-card h3 { font-size: 26px; }
.leader-card .contact-line { font-family: var(--mono); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.band .leader-card .contact-line { color: var(--band-muted); }
.signoff { font-family: var(--display); font-size: var(--t-md); }

/* ---------- Quote band ---------- */
.ceo blockquote { margin: 0; display: grid; gap: 32px; max-width: 980px; }
.ceo blockquote p { font-family: var(--display); font-size: clamp(24px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -.015em; }
.ceo blockquote p::before { content: "\201C"; color: var(--band-accent); margin-right: .05em; }
.ceo blockquote p::after { content: "\201D"; color: var(--band-accent); }
.ceo blockquote footer { display: grid; gap: 4px; }
.ceo cite { font-style: normal; font-size: var(--t-md); }

/* ---------- Offices ---------- */
.off-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .off-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .off-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.off { background: var(--paper); padding: 0 0 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.off > *:not(figure) { margin-left: 24px; margin-right: 24px; }
.off figure { margin: 0 0 6px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); max-width: 100%; }
.off figure img { width: 100%; height: 100%; object-fit: cover; }
.off:not(:has(figure)) { padding-top: 26px; }
.off-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.off h3 { font-size: 26px; }
.clock { font-family: var(--mono); font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.status { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex-shrink: 0; }
.status.open { color: var(--ok); } .status.open::before { background: var(--ok); }
.off address { font-style: normal; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.off .line { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.off .line a { text-decoration: none; } .off .line a:hover { text-decoration: underline; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: grid; gap: 16px; align-content: start; text-decoration: none; color: inherit; min-width: 0; }
.post-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); max-width: 100%; }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover img { transform: scale(1.04); }
.post-card h3 { font-size: 22px; line-height: 1.2; }
.post-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.post-card p { color: var(--muted); font-size: 15px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-meta .kind { color: var(--signal); }
.article { display: grid; gap: 28px; max-width: 760px; }
.article figure { margin: 0; overflow: hidden; background: var(--line); }
.article figure img { width: 100%; height: auto; }
.note { border-left: 3px solid var(--signal); padding: 14px 18px; background: var(--surface); color: var(--muted); font-size: 15px; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact-grid > * { min-width: 0; }
.contact-aside { display: grid; gap: 28px; align-content: start; }
.contact-aside h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.contact-aside .big { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-aside .big a { text-decoration: none; } .contact-aside .big a:hover { text-decoration: underline; }
.form { display: grid; gap: 18px; background: var(--surface); padding: clamp(22px, 3vw, 40px); scroll-margin-top: 100px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; min-width: 0; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; font-size: 15px; border-left: 3px solid var(--ok); background: var(--paper); }
.form-msg.err { border-color: var(--bad); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 44ch; }
.map { margin: 0; aspect-ratio: 16 / 9; background: var(--line); max-width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Full-bleed CTA ---------- */
.cta { position: relative; min-height: min(100svh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--band); }
.cta.compact { min-height: min(70svh, 560px); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,10,20,.82), rgba(8,10,20,.12) 60%); }
.cta-in { position: relative; z-index: 1; padding-block: 64px; display: grid; gap: 26px; justify-items: start; }
.cta h2 { font-size: var(--t-xl); max-width: 13ch; }
.cta p { max-width: 46ch; opacity: .9; }
.cta .btn { background: #fff; color: #151A2B; }
.cta .eyebrow { color: rgba(255,255,255,.8); }

/* ---------- Curtain footer ---------- */
main { position: relative; z-index: 1; background: var(--paper); }
.site-footer {
  position: sticky; bottom: 0; z-index: 0; background: #0A0C14; color: #E8EAF1;
  padding-block: 72px calc(env(safe-area-inset-bottom, 0px) + 28px);
}
.foot-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-grid .foot-word { grid-column: 1 / -1; }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; } .foot-grid .foot-word { grid-column: auto; } }
.foot-word { font-family: var(--display); font-size: clamp(44px, 6.4vw, 104px); letter-spacing: -.05em; line-height: .9; }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 15px; min-width: 0; }
.foot-col h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8C93A8; margin-bottom: 6px; font-weight: 400; }
.foot-col span, .foot-col a { overflow-wrap: anywhere; }
.foot-col a { text-decoration: none; color: #E8EAF1; } .foot-col a:hover { text-decoration: underline; }
.foot-col .muted { color: #8C93A8; }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid #22283A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: #8C93A8; }
.foot-base a { color: #8C93A8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
