/* ==========================================================
   Platoon Design Group — site stylesheet (v2)
   Brand: brushed gold + graphite from the PDG mark, and the
   beige "data sheet" band used on every portfolio board.
   ========================================================== */

:root {
  --ink: #1a1917;
  --ink-2: #24221f;
  --ink-3: #302d29;
  --gold: #c19a4b;
  --gold-soft: #dcc38f;
  --gold-deep: #8f6f2c;
  --sand: #ebe5da;          /* portfolio data-sheet beige */
  --sand-2: #f3efe7;
  --paper: #faf8f4;
  --white: #ffffff;
  --muted: #6b665e;
  --muted-on-ink: #a7a197;
  --line: rgba(26, 25, 23, .13);
  --line-strong: rgba(26, 25, 23, .85);
  --line-on-ink: rgba(255, 255, 255, .13);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: .84rem;
  --step-0: 1rem;
  --step-1: 1.22rem;
  --step-2: 1.55rem;
  --step-3: clamp(1.85rem, 1.35rem + 1.7vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 2.9vw, 3.8rem);
  --step-5: clamp(2.7rem, 1.4rem + 4.8vw, 5.8rem);

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(76px, 9vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  --topbar-h: 40px;
  --head-total: calc(var(--header-h) + var(--topbar-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
  font-variation-settings: "wdth" 116;
}
.display { font-size: var(--step-5); font-weight: 300; letter-spacing: -.04em; line-height: .97; }
.display b, .display strong { font-weight: 650; }
.h-xl { font-size: var(--step-4); font-weight: 300; letter-spacing: -.035em; }
.h-lg { font-size: var(--step-3); }
.h-md { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.on-ink .lead, .on-ink p { color: var(--muted-on-ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--step--1); font-weight: 600; color: var(--gold-deep);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-ink .eyebrow { color: var(--gold); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 0;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--gold); color: var(--ink); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-line-dark { border-color: var(--ink); background: transparent; }
.btn-line-dark:hover { background: var(--ink); color: var(--white); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
  transition: color .2s;
}
.text-link:hover { color: var(--gold-deep); }
.on-ink .text-link:hover { color: var(--gold-soft); }
.arrow { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
a:hover > .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--white); }
.topbar {
  font-size: .8rem; color: var(--muted-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
  max-height: var(--topbar-h); overflow: hidden;
  transition: max-height .4s var(--ease), opacity .3s var(--ease), background-color .35s var(--ease);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: var(--topbar-h); }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .icon { width: 14px; height: 14px; color: var(--gold); }
.topbar-social { display: inline-flex; gap: 14px; padding-left: 22px; border-left: 1px solid var(--line-on-ink); }
.topbar-social svg { width: 14px; height: 14px; }
.mainbar { transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); transition: min-height .35s var(--ease); }
.brand img { height: 50px; width: auto; transition: height .35s var(--ease); }
.site-header.is-solid .mainbar, .page-inner .mainbar { background: rgba(26, 25, 23, .97); box-shadow: 0 1px 0 var(--line-on-ink); }
.page-inner .topbar { background: #141311; }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.site-header.is-scrolled .header-inner { min-height: calc(var(--header-h) - 14px); }
.site-header.is-scrolled .brand img { height: 42px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 15px;
  text-decoration: none; font-size: .95rem; font-weight: 500; position: relative;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list > li > a[aria-current="page"] { color: var(--gold-soft); }
.caret { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
  display: grid; grid-template-columns: 1fr 300px; gap: 0;
  background: var(--ink); border-top: 2px solid var(--gold); box-shadow: 0 30px 60px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px; }
.mega-item { display: grid; gap: 6px; padding: 18px 20px; text-decoration: none; border-radius: 0; transition: background-color .2s; }
.mega-item:hover { background: var(--ink-2); }
.mega-item b { font-weight: 600; color: var(--white); font-size: 1rem; }
.mega-item span { color: var(--muted-on-ink); font-size: .86rem; line-height: 1.5; }
.mega-item small { color: var(--gold-soft); font-size: .78rem; font-weight: 600; }
.mega-item:hover b { color: var(--gold-soft); }
.mega-feature { position: relative; display: block; overflow: hidden; text-decoration: none; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,17,15,.85), rgba(18,17,15,.1)); }
.mega-feature span { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; font-weight: 600; display: grid; gap: 4px; }
.mega-feature small { color: var(--gold-soft); font-size: .78rem; }
.mega-feature:hover img { transform: scale(1.05); }
.nav-mobile-foot { display: none; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { min-height: 46px; padding: 0 22px; }
.header-call { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.header-call small { display: block; font-weight: 400; color: var(--muted-on-ink); font-size: .74rem; }
.header-call-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-on-ink); display: grid; place-items: center; color: var(--gold); transition: background-color .25s, color .25s, border-color .25s; }
.header-call-icon .icon { width: 16px; height: 16px; }
.header-call:hover .header-call-icon { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.menu-toggle {
  display: none; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line-on-ink);
  align-items: center; justify-content: center; color: inherit;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background-color .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Data sheet (signature element) ---------- */
.sheet {
  background: var(--sand);
  color: var(--ink);
  border-top: 2px solid var(--ink);
}
.sheet-title {
  padding: 18px 24px 16px;
  font-size: var(--step-1); font-weight: 650; letter-spacing: -.01em;
  font-variation-settings: "wdth" 118;
  border-bottom: 1px solid var(--line-strong);
}
.sheet dl { margin: 0; padding: 8px 24px 14px; }
.sheet dl > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.sheet dl > div:last-child { border-bottom: 0; }
.sheet dt { color: var(--muted); }
.sheet dd { margin: 0; font-weight: 500; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100vh; color: var(--white);
  background: var(--ink); overflow: hidden; display: flex; align-items: flex-end;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 8s linear; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,17,15,.82) 0%, rgba(18,17,15,.35) 55%, rgba(18,17,15,.1) 100%),
    linear-gradient(0deg, rgba(18,17,15,.88) 0%, rgba(18,17,15,0) 50%);
}
.hero-body {
  position: relative; z-index: 2; width: 100%;
  padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end;
}
.hero h1 { max-width: 12.5ch; }
.hero-text { margin-top: 26px; font-size: var(--step-1); color: rgba(255,255,255,.78); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-card { position: relative; }
.hero-card .sheet { box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.hero-card .sheet-title a { text-decoration: none; }
.hero-card .sheet-title a:hover { color: var(--gold-deep); }
.hero-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 24px; background: var(--ink); color: var(--muted-on-ink); font-size: var(--step--1);
}
.hero-card-foot a { color: var(--gold-soft); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.slider-ui { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: rgba(255,255,255,.7); font-size: var(--step--1); }
.slider-ui button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white);
  display: inline-grid; place-items: center; transition: background-color .2s, border-color .2s;
}
.slider-ui button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.slider-count { font-variant-numeric: tabular-nums; min-width: 60px; text-align: center; }
.slider-count b { color: var(--white); font-weight: 600; }
.slider-bar { flex: 0 0 140px; height: 1px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.slider-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.slider-bar i.run { animation: bar 7s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative; color: var(--white); background: var(--ink); overflow: hidden;
  padding: calc(var(--head-total) + clamp(56px, 8vw, 110px)) 0 clamp(52px, 7vw, 90px);
}
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,17,15,.75), rgba(18,17,15,.2)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: -.04em; max-width: 15ch; }
.page-hero p { margin-top: 22px; color: rgba(255,255,255,.76); font-size: var(--step-1); max-width: 56ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; font-size: var(--step--1); color: var(--muted-on-ink); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-soft); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-sm { padding-block: calc(var(--section) * .6); }
.on-ink { background: var(--ink); color: var(--white); }
.on-sand { background: var(--sand-2); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.section-head .lead { margin: 18px 0 0; }

/* Intro + figures */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.intro .h-xl { max-width: 16ch; }
.figures { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.figure { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); }
.figure:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.figure b {
  display: block; font-size: var(--step-4); font-weight: 300; line-height: 1;
  letter-spacing: -.04em; font-variation-settings: "wdth" 118; margin-bottom: 10px;
}
.figure span { color: var(--muted); font-size: .95rem; }

/* Departments index */
.depts { border-top: 1px solid var(--line-on-ink); }
.dept {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 120px 36px;
  align-items: center; gap: 28px;
  padding: 30px 0; border-bottom: 1px solid var(--line-on-ink);
  text-decoration: none; position: relative;
  transition: padding-left .4s var(--ease);
}
.dept h3 { font-size: var(--step-3); font-weight: 300; letter-spacing: -.03em; }
.dept p { margin: 0; color: var(--muted-on-ink); font-size: .97rem; }
.dept .count { color: var(--gold-soft); font-size: var(--step--1); font-weight: 600; text-align: right; }
.dept .arrow { width: 22px; height: 22px; color: var(--gold); }
.dept-img {
  position: absolute; right: 190px; top: 50%; width: 260px; aspect-ratio: 4/3;
  transform: translateY(-50%) scale(.94); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease); z-index: 2;
  object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.dept:hover { padding-left: 16px; }
.dept:hover .dept-img { opacity: 1; transform: translateY(-50%) scale(1); }
.dept:hover h3 { color: var(--gold-soft); }

/* Project cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 28px); }
.card { display: block; text-decoration: none; color: inherit; }
.card[hidden] { display: none; }
.card-media { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-tag {
  position: absolute; left: 0; top: 0;
  background: var(--ink); color: var(--gold-soft);
  font-size: .76rem; font-weight: 600; padding: 7px 12px;
}
.card-body { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.card h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; font-variation-settings: "wdth" 108; transition: color .2s; }
.card:hover h3 { color: var(--gold-deep); }
.card .year { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.card .meta { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }

/* Featured mosaic (home) */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 28px); }
.mosaic .card:nth-child(1) { grid-column: span 7; }
.mosaic .card:nth-child(2) { grid-column: span 5; }
.mosaic .card:nth-child(3), .mosaic .card:nth-child(4), .mosaic .card:nth-child(5) { grid-column: span 4; }
.mosaic .card:nth-child(6) { grid-column: span 5; }
.mosaic .card:nth-child(7) { grid-column: span 7; }
.mosaic .card:nth-child(1) .card-media, .mosaic .card:nth-child(7) .card-media { aspect-ratio: 16 / 10; }
.mosaic .card:nth-child(2) .card-media, .mosaic .card:nth-child(6) .card-media { aspect-ratio: 5 / 4.6; }

/* Countries */
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line-strong); }
.country { padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.country b { font-weight: 500; font-size: 1.05rem; }
.country span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9rem; }
.country:hover b { color: var(--gold-deep); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.partner { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); display: grid; place-items: center; padding: 16px 12px; aspect-ratio: 3/2; }
.partner img { max-height: 62px; width: auto; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }

/* Leaders */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.leader { display: grid; grid-template-columns: minmax(0, 210px) 1fr; background: var(--white); border: 1px solid var(--line); margin: 0; }
.leader img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.leader figcaption { padding: 26px 26px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.leader .role { color: var(--gold-deep); font-weight: 600; font-size: var(--step--1); }
.leader h3 { font-size: var(--step-2); margin-top: 6px; }
.leader p { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA band */
.cta-band { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta-band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: clamp(64px, 8vw, 120px); }
.cta-band h2 { font-size: var(--step-4); font-weight: 300; max-width: 17ch; letter-spacing: -.035em; }

/* ---------- Portfolio page ---------- */
.filterbar {
  position: sticky; top: calc(var(--header-h) - 14px); z-index: 50;
  background: rgba(250, 248, 244, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.filterbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-block: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 42px; padding: 0 16px; border: 1px solid var(--line); background: transparent;
  border-radius: 40px; font-weight: 500; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip small { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip[aria-pressed="true"] small { color: var(--gold-soft); }
.filter-tools { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.filter-tools select, .filter-tools input {
  min-height: 42px; padding: 0 14px; border: 1px solid var(--line); background: var(--white);
  font-size: .92rem; border-radius: 0;
}
.filter-tools input { width: 220px; }
.filter-tools select:focus, .filter-tools input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,75,.2); }
.result-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; color: var(--muted); font-size: .95rem; }
.result-line b { color: var(--ink); }
.reset-link { background: none; border: 0; padding: 0; color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.empty { padding: 72px 0; text-align: center; color: var(--muted); }
.empty[hidden] { display: none; }
.empty h2 { font-size: var(--step-2); color: var(--ink); margin-bottom: 12px; }

/* ---------- Project page ---------- */
.project-head { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); align-items: end; }
.project-head h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: -.04em; max-width: 14ch; }
.project-head .summary { margin-top: 22px; font-size: var(--step-1); color: rgba(255,255,255,.76); max-width: 52ch; }
.project-head .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.project-head .tags a {
  font-size: .82rem; font-weight: 600; text-decoration: none;
  padding: 7px 12px; border: 1px solid var(--line-on-ink); color: var(--gold-soft);
}
.project-head .tags a:hover { border-color: var(--gold); }
.project-cover { margin-top: calc(var(--section) * -.35); position: relative; z-index: 2; }
.project-cover button { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; }
.project-cover img { width: 100%; max-height: 82vh; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.gallery button { display: block; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.gallery button:nth-child(3n+1):last-child, .gallery .wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1754 / 1017; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.025); }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.project-nav a { padding: 30px 0; text-decoration: none; display: grid; gap: 6px; }
.project-nav a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.project-nav small { color: var(--muted); font-size: var(--step--1); }
.project-nav b { font-size: var(--step-2); font-weight: 400; letter-spacing: -.02em; font-variation-settings: "wdth" 112; }
.project-nav a:hover b { color: var(--gold-deep); }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc h2 { font-size: var(--step-4); font-weight: 300; letter-spacing: -.035em; margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; border-top: 1px solid var(--line); }
.ticks li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 6px; border-left: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: rotate(-45deg); }
.svc-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.svc-media a:first-child { grid-column: 1 / -1; }
.svc-media a { display: block; overflow: hidden; background: var(--sand); position: relative; }
.svc-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s var(--ease); }
.svc-media a:first-child img { aspect-ratio: 16/10; }
.svc-media a:hover img { transform: scale(1.04); }
.svc-media span { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--white); font-size: .82rem; font-weight: 500; padding: 7px 12px; }
.refs { columns: 2 320px; column-gap: 48px; list-style: none; padding: 0; margin: 0; }
.refs li { break-inside: avoid; padding: 13px 0; border-bottom: 1px solid var(--line-on-ink); color: var(--muted-on-ink); font-size: .95rem; }
.refs li b { color: var(--white); font-weight: 500; }

/* ---------- About page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bio { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); align-items: start; }
.bio:first-of-type { border-top: 0; padding-top: 0; }
.bio img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bio .role { color: var(--gold-deep); font-weight: 600; }
.bio h3 { font-size: var(--step-4); font-weight: 300; letter-spacing: -.035em; margin: 8px 0 26px; }
.bio ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.bio li { padding: 13px 0; border-bottom: 1px solid var(--line); max-width: 72ch; }
.bio li b { display: block; font-weight: 600; }
.bio li span { color: var(--muted); }

.org { display: grid; gap: 14px; }
.org-top { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 0 auto; width: 100%; }
.org-box { background: var(--ink-2); border-top: 2px solid var(--gold); padding: 18px 20px; }
.org-box small { color: var(--gold-soft); font-weight: 600; font-size: .8rem; display: block; }
.org-box b { font-weight: 500; font-size: 1.08rem; display: block; margin-top: 4px; }
.org-line { width: 1px; height: 28px; background: var(--line-on-ink); margin: 0 auto; }
.org-depts { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.org-dept { background: var(--ink-2); padding: 16px; border-top: 1px solid var(--line-on-ink); }
.org-dept h4 { font-size: .95rem; font-weight: 650; font-variation-settings: "wdth" 105; letter-spacing: 0; color: var(--white); margin-bottom: 10px; min-height: 2.2em; }
.org-dept .head { color: var(--gold-soft); font-size: .88rem; font-weight: 500; padding-bottom: 10px; border-bottom: 1px solid var(--line-on-ink); margin-bottom: 10px; }
.org-dept ul { list-style: none; padding: 0; margin: 0; color: var(--muted-on-ink); font-size: .84rem; line-height: 1.7; }
.org-support { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }

.video-block { position: relative; display: block; width: 100%; border: 0; padding: 0; background: var(--ink); overflow: hidden; color: var(--white); }
.video-block img { width: 100%; aspect-ratio: 21/8; object-fit: cover; opacity: .85; transition: transform .8s var(--ease), opacity .4s; }
.video-block:hover img { transform: scale(1.03); opacity: .7; }
.video-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.video-label { position: absolute; left: 30px; bottom: 26px; font-weight: 500; font-size: var(--step-1); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.offices { margin: 30px 0 0; border-top: 1px solid var(--line-strong); }
.offices > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.offices dt { color: var(--muted); font-size: var(--step--1); padding-top: 2px; }
.offices dd { margin: 0; font-weight: 500; }
.offices dd a { text-decoration: none; display: inline-block; margin-right: 18px; }
.offices dd a:hover { color: var(--gold-deep); }
.form { display: grid; gap: 16px; margin-top: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--step--1); font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: 14px 16px; min-height: 52px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,75,.2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4452f; }
.form-note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.form-status { font-weight: 600; color: var(--gold-deep); margin: 0; min-height: 1.6em; }
.map { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(.85) contrast(1.05); }

/* ---------- Modal / lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 400; background: rgba(14,13,12,.95); display: none; align-items: center; justify-content: center; padding: 70px 16px; }
.modal.is-open { display: flex; }
.modal-inner { width: min(1280px, 100%); position: relative; }
.modal-inner iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: #000; }
.modal-inner .lb-img { max-height: 80vh; width: auto; margin: 0 auto; }
.modal-close, .lb-prev, .lb-next {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(14,13,12,.4); color: var(--white);
  display: grid; place-items: center;
}
.modal-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.modal-close { top: -60px; right: 0; }
.lb-prev { left: 8px; top: 50%; margin-top: -24px; }
.lb-next { right: 8px; top: 50%; margin-top: -24px; }
.lb-caption { color: var(--muted-on-ink); text-align: center; margin: 16px auto 0; font-size: .92rem; }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: #141311; color: var(--muted-on-ink); font-size: .94rem; overflow: hidden; position: relative; }
.footer-cta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 60px; flex-wrap: wrap;
  padding-block: clamp(64px, 8vw, 110px) clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line-on-ink);
}
.footer-cta h2 { font-size: var(--step-4); font-weight: 300; letter-spacing: -.035em; color: var(--white); max-width: 15ch; }
.footer-cta-links { display: grid; gap: 4px; }
.footer-big-link {
  display: inline-flex; align-items: center; gap: 14px; justify-content: flex-end;
  font-size: var(--step-2); font-weight: 400; letter-spacing: -.015em; color: var(--white);
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-on-ink);
  transition: color .25s, border-color .25s;
}
.footer-big-link .arrow { width: 22px; height: 22px; color: var(--gold); }
.footer-big-link:hover { color: var(--gold-soft); border-color: var(--gold); }
.footer-main { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.25fr 1.2fr; gap: 44px; padding-block: clamp(56px, 6vw, 84px); }
.footer-main .brand img { height: 60px; margin-bottom: 22px; }
.footer-about p { max-width: 34ch; }
.footer-main h2 { font-size: .82rem; font-weight: 600; color: var(--gold); margin-bottom: 22px; font-variation-settings: "wdth" 100; letter-spacing: .02em; }
.footer-main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-main a { text-decoration: none; transition: color .2s; }
.footer-main ul a:not(.footer-projects a) { display: inline-block; position: relative; }
.footer-main a:hover { color: var(--white); }
.footer-projects { gap: 14px !important; }
.footer-projects a { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.footer-projects img { width: 76px; height: 56px; object-fit: cover; filter: grayscale(.3); transition: filter .3s; }
.footer-projects b { display: block; font-weight: 500; color: var(--white); font-size: .92rem; line-height: 1.3; }
.footer-projects small { color: var(--muted-on-ink); font-size: .8rem; }
.footer-projects a:hover img { filter: none; }
.footer-projects a:hover b { color: var(--gold-soft); }
.footer-contact li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.footer-contact .icon { color: var(--gold); width: 17px; height: 17px; margin-top: 3px; }
.footer-contact small { display: block; color: var(--white); font-size: .82rem; font-weight: 600; margin-bottom: 2px; }
.footer-wordmark {
  font-size: clamp(4rem, 15.5vw, 19rem); font-weight: 800; line-height: .76;
  letter-spacing: -.04em; font-variation-settings: "wdth" 125;
  text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(193, 154, 75, .22);
  user-select: none; margin-bottom: -.06em; white-space: nowrap;
}
.footer-bottom-links { display: inline-flex; align-items: center; gap: 24px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-on-ink); color: var(--white); padding: 8px 14px; font-size: .8rem; transition: background-color .2s, color .2s, border-color .2s; }
.to-top:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.to-top .icon { width: 14px; height: 14px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--line-on-ink); border-radius: 50%; display: grid; place-items: center; color: var(--white); transition: background-color .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--line-on-ink); padding-block: 20px; font-size: var(--step--1); position: relative; background: #141311; }
.footer-bottom .wrap { align-items: center; padding-right: calc(var(--gutter) + 76px); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 10px; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.float-actions a:hover { transform: translateY(-3px); }
/* Hidden until the visitor starts scrolling, so they never cover the hero slider. */
.js .float-actions { opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
.js .float-actions.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-actions .fa-wa { background: #25d366; }
.float-actions .fa-call { background: var(--gold); color: var(--ink); }
.float-actions svg { width: 24px; height: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .org-depts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .leader { grid-template-columns: 1fr; }
  .leader img { aspect-ratio: 4/3; }
  .header-call { display: none; }
  .mega { grid-template-columns: 1fr; }
  .mega-feature { display: none; }
}
@media (max-width: 1000px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .topbar-note, .hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
  .nav {
    position: fixed; inset: 0; background: var(--ink); z-index: -1;
    padding: calc(var(--head-total) + 24px) var(--gutter) 40px; overflow-y: auto;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .55s var(--ease), visibility .55s;
  }
  .menu-open .nav { clip-path: inset(0); visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-on-ink); opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .menu-open .nav-list > li { opacity: 1; transform: none; }
  .menu-open .nav-list > li:nth-child(2) { transition-delay: .06s; }
  .menu-open .nav-list > li:nth-child(3) { transition-delay: .12s; }
  .menu-open .nav-list > li:nth-child(4) { transition-delay: .18s; }
  .menu-open .nav-list > li:nth-child(5) { transition-delay: .24s; }
  .nav-list > li > a { padding: 18px 0; font-size: var(--step-3); font-weight: 300; letter-spacing: -.02em; display: flex; }
  .nav-list > li > a::after, .caret, .mega { display: none; }
  .nav-mobile-foot { display: grid; gap: 14px; color: var(--muted-on-ink); }
  .nav-mobile-foot a:not(.btn) { text-decoration: none; }
  .menu-open .mainbar { background: transparent !important; box-shadow: none !important; }
  .brand img { height: 42px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-cta { align-items: flex-start; }
  .footer-big-link { justify-content: flex-start; }
  .hero-body, .project-head, .intro, .split, .contact-grid, .svc, .bio { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .card:nth-child(n) { grid-column: span 1; }
  .mosaic .card:nth-child(1), .mosaic .card:nth-child(7) { grid-column: 1 / -1; }
  .mosaic .card:nth-child(n) .card-media { aspect-ratio: 4 / 3; }
  .mosaic .card:nth-child(1) .card-media, .mosaic .card:nth-child(7) .card-media { aspect-ratio: 16 / 10; }
  .dept { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .dept p { grid-column: 1 / -1; grid-row: 2; }
  .dept .arrow, .dept-img { display: none; }
  .leaders { grid-template-columns: 1fr; }
  .filterbar { position: static; }
  .filter-tools { margin-left: 0; width: 100%; }
  .filter-tools input { flex: 1; width: auto; }
  .bio img { max-width: 340px; }
  .org-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-support { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .card:nth-child(n) { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .offices > div { grid-template-columns: 1fr; gap: 4px; }
  .slider-bar { display: none; }
  .hero-card { display: none; }
  .project-nav { grid-template-columns: 1fr; }
  .project-nav a + a { text-align: left; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .org-top, .org-support { grid-template-columns: 1fr; }
  .video-block img { aspect-ratio: 4/3; }
  .sheet dl > div { grid-template-columns: 84px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   Hero slider (home)
   ========================================================== */
.hs { position: relative; height: 100vh; min-height: 680px; background: var(--ink); color: var(--white); overflow: hidden; }
@supports (height: 100svh) { .hs { height: 100svh; } }
.hs-slides { position: absolute; inset: 0; }
.hs-slide { position: absolute; inset: 0; visibility: hidden; z-index: 0; }
.hs-slide.is-active { visibility: visible; z-index: 2; }
.hs-slide.is-prev { visibility: visible; z-index: 1; }
.hs-media { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1); }
.hs-slide.is-active .hs-media, .hs-slide.is-prev .hs-media { clip-path: inset(0); }
.hs-slide.is-prev .hs-media { transition: none; }
.hs-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 9s linear; }
.hs-slide.is-active .hs-media img { transform: scale(1.02); }
.hs-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,13,12,.82) 0%, rgba(14,13,12,.38) 52%, rgba(14,13,12,.08) 100%),
    linear-gradient(0deg, rgba(14,13,12,.92) 0%, rgba(14,13,12,0) 46%),
    linear-gradient(180deg, rgba(14,13,12,.55) 0%, rgba(14,13,12,0) 22%);
}
.hs-content { position: absolute; left: 0; right: 0; bottom: 170px; z-index: 3; }
.hs-line { display: block; overflow: hidden; margin: 0; }
.hs-line > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.hs-slide.is-active .hs-line > span { transform: none; }
.hs-slide.is-active .hs-eyebrow > span { transition-delay: .55s; }
.hs-slide.is-active .hs-title > span { transition-delay: .68s; }
.hs-slide.is-active .hs-meta > span { transition-delay: .82s; }
.hs-slide.is-active .hs-actions > span { transition-delay: .95s; }
.hs-eyebrow { color: var(--gold-soft); font-weight: 600; font-size: var(--step--1); margin-bottom: 18px; }
.hs-eyebrow > span::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 14px; }
.hs-title { font-size: clamp(2.8rem, 1.2rem + 6vw, 7.6rem); font-weight: 300; line-height: .98; letter-spacing: -.045em; font-variation-settings: "wdth" 116; max-width: 13ch; padding-bottom: .08em; }
.hs-meta { margin-top: 18px; font-size: var(--step-1); color: rgba(255,255,255,.78); }
.hs-meta i { font-style: normal; color: var(--gold-soft); margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.3); }
.hs-actions { margin-top: 32px; }
.hs-actions > span { display: inline-flex; flex-wrap: wrap; gap: 12px; padding: 4px 0; }
.hs-tagline { position: absolute; left: 0; right: 0; top: calc(var(--head-total) + 34px); z-index: 3; margin: 0 auto; max-width: var(--wrap); font-size: .86rem; color: rgba(255,255,255,.62); }
.hs-side { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; display: grid; justify-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.hs-side b { font-size: var(--step-3); font-weight: 300; font-variation-settings: "wdth" 118; }
.hs-side span { width: 1px; height: 80px; background: rgba(255,255,255,.3); }
.hs-side small { color: rgba(255,255,255,.55); font-size: .9rem; }
.hs-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; border-top: 1px solid rgba(255,255,255,.14); background: linear-gradient(0deg, rgba(14,13,12,.5), rgba(14,13,12,0)); }
.hs-nav-inner { display: flex; align-items: stretch; gap: 24px; }
.hs-tabs { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hs-tab { position: relative; text-align: left; background: none; border: 0; color: rgba(255,255,255,.55); padding: 22px 18px 26px 0; display: grid; gap: 4px; transition: color .3s; }
.hs-tab:hover, .hs-tab.is-active { color: var(--white); }
.hs-tab-num { font-size: .78rem; font-weight: 600; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.hs-tab-name { font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-tab-bar { position: absolute; left: 0; right: 18px; top: -1px; height: 2px; background: transparent; overflow: hidden; }
.hs-tab-bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hs-tab.is-done .hs-tab-bar i { transform: scaleX(1); opacity: .35; }
.hs-tab.is-active .hs-tab-bar i { animation: hsbar var(--hs-delay, 7s) linear forwards; }
.hs.is-paused .hs-tab.is-active .hs-tab-bar i { animation-play-state: paused; }
@keyframes hsbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-arrows { display: flex; align-items: center; gap: 10px; }
.hs-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); display: grid; place-items: center; transition: background-color .25s, border-color .25s, color .25s; }
.hs-arrows button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ==========================================================
   Services grid (home)
   ========================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-on-ink); border: 1px solid var(--line-on-ink); }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--ink); text-decoration: none; color: var(--white); overflow: hidden; }
.svc-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.85); transform: scale(1.02); transition: transform 1s var(--ease), filter .6s var(--ease); }
.svc-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(26,25,23,0) 60%); }
.svc-card-body { position: relative; padding: 0 30px 30px; margin-top: -40px; z-index: 1; display: grid; gap: 10px; flex: 1; align-content: start; }
.svc-card-count { color: var(--gold-soft); font-size: .82rem; font-weight: 600; }
.svc-card-count b { font-weight: 600; font-variant-numeric: tabular-nums; }
.svc-card h3 { font-size: var(--step-2); font-weight: 400; letter-spacing: -.02em; }
.svc-card p { color: var(--muted-on-ink); font-size: .95rem; margin: 0; }
.svc-card-link { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; color: var(--white); }
.svc-card-link .arrow { color: var(--gold); }
.svc-card::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); z-index: 2; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover .svc-card-media img { transform: scale(1.08); filter: none; }
.svc-card:hover .svc-card-link .arrow { transform: translateX(5px); }

/* ==========================================================
   Motion: scroll reveals, page entrances
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1); transition-delay: var(--d, 0s); }
.js .reveal-img img { transform: scale(1.18); transition: transform 1.6s var(--ease), filter .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-img.is-in { clip-path: inset(0); }
.js .reveal-img.is-in img { transform: scale(1); }
.js .card.reveal-img { clip-path: none; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.js .page-hero .crumbs, .js .page-hero h1, .js .page-hero p, .js .page-hero .tags, .js .page-hero .sheet { animation: rise 1.1s var(--ease) both; }
.js .page-hero h1 { animation-delay: .12s; }
.js .page-hero p { animation-delay: .26s; }
.js .page-hero .tags { animation-delay: .36s; }
.js .page-hero .sheet { animation-delay: .44s; }
.js .page-hero img.bg { animation: heroZoom 2.2s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); opacity: 0; } to { transform: none; opacity: .3; } }
.js .hs-tagline, .js .hs-nav, .js .hs-side { animation: rise 1.1s var(--ease) both .9s; }
/* Opacity only: a transform here would make the header the containing block of the fixed mobile menu. */
.js .site-header { animation: fadeIn .9s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.card-media img, .svc-media img { will-change: transform; }

@media (max-width: 1000px) {
  .hs-side { display: none; }
  .hs-tabs { grid-template-columns: repeat(6, auto); justify-content: start; gap: 4px; }
  .hs-tab { padding: 18px 14px 20px 0; min-width: 44px; }
  .hs-tab-name { display: none; }
  .hs-tab-bar { right: 10px; }
  .hs-content { bottom: 120px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hs { min-height: 600px; }
  .hs-tagline { display: none; }
  .hs-arrows button { width: 44px; height: 44px; }
  .hs-meta i { display: block; margin: 6px 0 0; padding: 0; border: 0; }
  .hs-actions .btn-line { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom .wrap { flex-direction: column; align-items: flex-start; }
  :root { --topbar-h: 0px; }
  .topbar { display: none; }
}
.topbar a span { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .reveal-img img { transform: none !important; }
  .hs-media { clip-path: inset(0) !important; }
}

/* ==========================================================
   Home: where we work, clients, leadership
   ========================================================== */
.where { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.where-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.where-intro .h-xl { margin-bottom: 24px; }
.where-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 40px; border-top: 1px solid var(--line-strong); }
.where-stats > div { padding: 22px 32px 0 0; }
.where-stats > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.where-stats b { display: block; font-size: var(--step-4); font-weight: 300; line-height: 1; letter-spacing: -.04em; font-variation-settings: "wdth" 118; color: var(--ink); }
.where-stats span { display: block; margin-top: 10px; color: var(--muted); font-size: .88rem; }
.where-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
/* Rows: hovering one row brings it forward and quiets the others.
   A paper panel sweeps in from the left, a gold rule draws along the bottom,
   the bar thickens and the arrow button fills. */
.where-list li { position: relative; }
.where-row {
  display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(80px, 1.4fr) 108px 42px; align-items: center; gap: 24px;
  padding: 24px 18px 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; isolation: isolate;
  --sweep: cubic-bezier(.65, 0, .35, 1);
  transition: opacity .45s var(--ease);
}
.where-row::before {
  content: ""; position: absolute; inset: 0 0 0 -20px; z-index: -1;
  background: var(--paper); box-shadow: 0 18px 40px -24px rgba(26, 25, 23, .35);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--sweep);
}
.where-row::after {
  content: ""; position: absolute; left: -20px; right: 0; bottom: -1px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left center;
  transition: transform .7s var(--sweep) .05s;
}
.where-list:hover .where-row, .where-list:focus-within .where-row { opacity: .42; }
.where-list .where-row:hover, .where-list .where-row:focus-visible { opacity: 1; }
.where-row:hover::before, .where-row:focus-visible::before { transform: scaleX(1); }
.where-row:hover::after, .where-row:focus-visible::after { transform: scaleX(1); }
.where-row:focus-visible { outline: none; }
.where-name { display: block; transition: transform .6s var(--sweep); }
.where-row:hover .where-name, .where-row:focus-visible .where-name { transform: translateX(14px); }
.where-name b { display: block; font-size: var(--step-2); font-weight: 400; letter-spacing: -.02em; font-variation-settings: "wdth" 112; line-height: 1.15; transition: color .4s var(--ease); }
.where-name small { display: block; margin-top: 4px; color: var(--muted); font-size: .84rem; transition: color .4s var(--ease); }
.where-row:hover .where-name b { color: var(--gold-deep); }
.where-row:hover .where-name small { color: var(--ink); }
.where-bar { height: 6px; background: rgba(26, 25, 23, .08); position: relative; overflow: hidden; transform-origin: left center; transition: transform .5s var(--sweep), background-color .4s; }
.where-row:hover .where-bar { transform: scaleY(1.7); background: rgba(26, 25, 23, .12); }
.where-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1) .2s; }
.where-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); transform: translateX(-100%); }
.where-row:hover .where-bar i::after { animation: barShine 1.1s var(--ease) .1s; }
@keyframes barShine { to { transform: translateX(100%); } }
.where-list li.is-in .where-bar i, html:not(.js) .where-bar i { transform: scaleX(1); }
.where-count { text-align: right; color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.where-count b { display: inline-block; color: var(--ink); font-weight: 600; font-size: 1.05rem; transition: transform .5s var(--sweep), color .3s; }
.where-row:hover .where-count b { transform: translateY(-2px) scale(1.12); color: var(--gold-deep); }
.where-go {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; position: relative;
  border: 1px solid var(--line); color: var(--ink);
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .6s var(--sweep);
}
.where-go .arrow { width: 16px; height: 16px; transition: transform .5s var(--sweep); }
.where-row:hover .where-go, .where-row:focus-visible .where-go { background: var(--ink); border-color: var(--ink); color: var(--gold-soft); transform: rotate(-45deg); }
.where-row:hover .where-go .arrow { animation: arrowLoop .55s var(--sweep); }
@keyframes arrowLoop { 0% { transform: translateX(0); } 49% { transform: translateX(150%); } 50% { transform: translateX(-150%); } 100% { transform: translateX(0); } }

/* Clients: intro column + logo wall with hairline grid (no boxes, logos sit on the page) */
.clients { background: var(--paper); }
.clients-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.clients-intro .h-xl { margin-bottom: 24px; font-size: clamp(2.2rem, 1.4rem + 2.3vw, 3.3rem); }
.clients-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 34px 0 32px; border-top: 1px solid var(--line-strong); }
.clients-stats > div { padding: 22px 20px 0 0; }
.clients-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.clients-stats b { display: block; font-size: var(--step-4); font-weight: 300; line-height: 1; letter-spacing: -.04em; font-variation-settings: "wdth" 118; }
.clients-stats span { display: block; margin-top: 10px; color: var(--muted); font-size: .86rem; line-height: 1.45; max-width: 22ch; }
.logo-wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logo-cell {
  position: relative; background: var(--paper); aspect-ratio: 3 / 2;
  display: grid; place-items: center; padding: 18px 22px; overflow: hidden;
  transition: background-color .5s var(--ease);
}
.logo-cell::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.65, 0, .35, 1);
}
.logo-cell img {
  max-height: 78px; max-width: 86%; width: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.05); opacity: .55; mix-blend-mode: multiply;
  transition: filter .5s var(--ease), opacity .5s var(--ease), transform .6s var(--ease);
}
.js .logo-cell.reveal { transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), background-color .5s var(--ease); }
.logo-cell:hover { background: var(--white); }
.logo-cell:hover::before { transform: scaleX(1); }
.logo-cell:hover img { filter: none; opacity: 1; transform: scale(1.07); }
.marquee { display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; width: max-content; }
.marquee-track { list-style: none; margin: 0; padding: 0 8px 0 8px; display: flex; gap: 16px; animation: marquee 48s linear infinite; }
.marquee-row.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.logo-tile { width: 220px; height: 120px; flex: none; background: var(--white); display: grid; place-items: center; padding: 18px 24px; transition: transform .3s var(--ease); }
.logo-tile img { max-height: 76px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover { transform: translateY(-4px); }
.logo-tile:hover img { filter: none; opacity: 1; }

.leadership { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.leadership-intro .h-xl { margin-bottom: 24px; }
.leadership-intro .btn { margin-top: 14px; }
.leader-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.leader-card { background: var(--white); display: flex; flex-direction: column; }
.leader-card:nth-child(2) { margin-top: clamp(0px, 5vw, 64px); }
.leader-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--sand); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1); transform: scale(1.02); transition: filter .7s var(--ease), transform 1.2s var(--ease); }
.leader-card:hover .leader-photo img { filter: none; transform: scale(1.06); }
.leader-role { position: absolute; left: 0; bottom: 0; background: var(--gold); color: var(--ink); font-size: .8rem; font-weight: 700; padding: 9px 16px; }
.leader-info { padding: 24px 24px 26px; border-top: 2px solid var(--ink); flex: 1; }
.leader-info h3 { font-size: var(--step-2); letter-spacing: -.02em; margin-bottom: 14px; }
.leader-info ul { list-style: none; margin: 0; padding: 0; }
.leader-info li { position: relative; padding: 8px 0 8px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.45; }
.leader-info li::before { content: ""; position: absolute; left: 0; top: 16px; width: 7px; height: 1px; background: var(--gold-deep); }

@media (max-width: 1000px) {
  .where, .clients-layout, .leadership { grid-template-columns: 1fr; }
  .where-intro { position: static; }
  .where-row { grid-template-columns: minmax(0, 1fr) 100px; gap: 10px 16px; padding-right: 0; }
  .where-bar { grid-column: 1 / -1; grid-row: 2; }
  .where-go { display: none; }
  .where-row:hover .where-name { transform: translateX(8px); }
  .where-list:hover .where-row { opacity: 1; }
  .leader-card:nth-child(2) { margin-top: 0; }
}
@media (max-width: 640px) {
  .where-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .where-stats > div { padding-right: 12px; }
  .where-stats > div + div { padding-left: 12px; }
  .where-stats b { font-size: var(--step-3); }
  .leader-cards { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-cell { aspect-ratio: 16 / 9; padding: 12px 16px; }
  .logo-cell img { max-height: 48px; opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-row { width: auto; flex-wrap: wrap; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee-track[aria-hidden] { display: none; }
  .where-bar i { transform: scaleX(1); }
}

/* ==========================================================
   Portfolio filter bar v2: one row (chips left, country + search right)
   ========================================================== */
.filterbar .wrap { flex-wrap: nowrap; justify-content: space-between; gap: 24px; padding-block: 14px; }
.chips { flex-wrap: nowrap; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 42px; padding: 0 16px; gap: 7px; font-size: .9rem; white-space: nowrap; }
.chip small { font-size: .74rem; min-width: 18px; padding: 1px 6px; border-radius: 20px; background: rgba(26, 25, 23, .06); text-align: center; }
.chip[aria-pressed="true"] small { background: rgba(255, 255, 255, .12); }
.filter-tools { flex: none; display: flex; flex-wrap: nowrap; gap: 8px; margin-left: 0; }
.select-wrap, .search-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; -webkit-appearance: none; width: 180px; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231a1917' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.search-wrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; transition: color .2s; }
.search-wrap input { width: 230px; padding-left: 40px; transition: width .35s var(--ease), border-color .2s, box-shadow .2s; }
.search-wrap input:focus { width: 270px; }
.search-wrap:focus-within .icon { color: var(--gold-deep); }
.filter-tools select, .filter-tools input { min-height: 42px; }

@media (max-width: 1180px) {
  .filterbar .wrap { gap: 16px; }
  .chip { padding: 0 12px; }
  .search-wrap input, .search-wrap input:focus { width: 180px; }
  .select-wrap select { width: 150px; }
}
@media (max-width: 1000px) {
  .filterbar .wrap { flex-wrap: wrap; gap: 12px; }
  .chips { width: 100%; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .chip { padding: 0 14px; }
  .filter-tools { width: 100%; }
  .select-wrap { flex: 0 0 auto; }
  .search-wrap { flex: 1; }
  .search-wrap input, .search-wrap input:focus { width: 100%; }
}
@media (max-width: 480px) {
  .select-wrap select { width: 140px; }
}
