/* AKNV — brand refresh from "AKNV Website Assets" (Claude Design) */

:root {
  --ink: #17140f;
  --ink-2: #221e18;
  --paper: #faf8f5;
  --sand: #e9e6e1;
  --orange: #e8702a;
  --muted: #6b655c;
  --body-muted: #5a544b;
  --on-dark-muted: #d9d3ca;
  --on-dark-faint: #a39c91;
  --line-dark: rgba(250, 248, 245, 0.18);

  --display: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 5vw, 96px);
  --max: 1440px;
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--orange); }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ---------- Type ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker .num { color: var(--orange); }
.kicker .rule { width: 40px; height: 2px; background: var(--orange); flex: none; }
.dark .kicker, .on-dark .kicker, .page-hero .kicker { color: var(--paper); }

.h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  font-stretch: 105%;
  line-height: 1.1;
}
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--body-muted); text-wrap: pretty; }
.dark .lede, .on-dark .lede, .page-hero .lede, .hero .lede { color: var(--on-dark-muted); }
.muted { color: var(--body-muted); }
.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.dark .mono-label { color: var(--on-dark-faint); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--orange);
  color: var(--ink);
  border: 1.5px solid var(--orange);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dark .btn:hover, .on-dark .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.dark .btn-ghost:hover, .on-dark .btn-ghost:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 4px;
  white-space: nowrap;
}
.arrow-link:hover { color: var(--orange); }
.dark .arrow-link { color: var(--paper); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.logo svg { flex: none; }
.logo-word { font-size: 21px; font-weight: 800; font-stretch: 125%; letter-spacing: 0.14em; line-height: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo:hover { color: var(--paper); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.nav a:not(.btn) {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: var(--paper); }
.nav a[aria-current="page"] { color: var(--paper); border-color: var(--orange); }
.nav .btn { padding: 11px 18px; font-size: 15px; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  color: var(--paper);
  cursor: pointer;
}

/* ---------- Hero slideshow ---------- */
.hero {
  position: relative;
  height: min(calc(100svh - var(--header)), 820px);
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease; }
.slide.is-active { opacity: 1; }
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.9);
  transform: scale(1);
  transition: transform 7000ms ease-out;
}
.slide.is-active img { transform: scale(1.06); }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 20, 15, 0.92) 0%, rgba(23, 20, 15, 0.7) 38%, rgba(23, 20, 15, 0.1) 75%);
}
.slide-copy {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  top: 0;
  bottom: 120px;
  width: min(780px, calc(100% - 2 * var(--gutter)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.slide-copy .kicker { color: var(--paper); font-size: 15px; }
.slide-copy .lede { max-width: 560px; }
.slide:not(.is-active) .slide-copy { visibility: hidden; }

.hero-controls {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.hero-dots { flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.hero-dot {
  padding: 10px 0;
  background: none;
  border: 0;
  color: rgba(250, 248, 245, 0.55);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-dot .bar { display: block; height: 3px; background: rgba(250, 248, 245, 0.25); position: relative; overflow: hidden; }
.hero-dot .bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--orange); }
.hero-dot.is-done .bar::after { width: 100%; }
.hero-dot.is-active { color: var(--paper); }
.hero-dot.is-active .bar::after { width: 100%; transition: width var(--interval, 6s) linear; }
.hero.paused .hero-dot.is-active .bar::after { transition: none; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(250, 248, 245, 0.5);
  background: transparent;
  color: var(--paper);
  font-size: 22px;
  cursor: pointer;
}
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--orange); color: var(--ink); }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 24px 32px 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1.5px solid rgba(23, 20, 15, 0.25); }
.stat strong { font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; font-stretch: 90%; line-height: 1; }
.stat span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--sand); }
.section.sand .card-grid { background: var(--sand); }
.svc-card {
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { background: #fff; color: var(--ink); }
.svc-card .media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(0.85); transition: transform 0.6s ease; }
.svc-card:hover .media img { transform: scale(1.04); }
.badge {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  padding: 6px 10px;
}
.svc-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; }
.svc-card p { font-size: 16px; line-height: 1.5; color: var(--body-muted); text-wrap: pretty; }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.project {
  position: relative;
  min-height: clamp(460px, 44vw, 620px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(0.85); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 20, 15, 0) 20%, rgba(23, 20, 15, 0.7) 50%, rgba(23, 20, 15, 0.96) 100%); }
.project .body { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.project .meta { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.project h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; font-stretch: 105%; line-height: 1.05; }
.project p { font-size: 16px; line-height: 1.5; color: var(--on-dark-muted); text-wrap: pretty; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; border-top: 1px solid rgba(250, 248, 245, 0.25); padding-top: 14px; font-size: 15px; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-faint); }
.facts dd { font-weight: 600; }

/* ---------- Green banner ---------- */
.green { background: var(--orange); color: var(--ink); display: grid; grid-template-columns: 1fr 1.1fr; }
.green .copy { padding: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.green .copy .mono-label { color: var(--ink); font-size: 14px; }
.green .copy p { font-size: 19px; line-height: 1.5; max-width: 520px; }
.green .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); align-self: flex-start; }
.green .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.savings { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--orange); }
.saving { background: var(--ink); color: var(--paper); padding: clamp(28px, 3.2vw, 44px) clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 8px; }
.saving strong { font-size: clamp(56px, 6vw, 88px); font-weight: 800; font-stretch: 90%; line-height: 1; color: var(--orange); }
.saving span { font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: var(--paper); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.cta .h2 { max-width: 760px; }

/* ---------- Page header ---------- */
.page-hero {
  position: relative;
  min-height: clamp(340px, 38vw, 460px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) saturate(0.9); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 20, 15, 0.94) 0%, rgba(23, 20, 15, 0.72) 42%, rgba(23, 20, 15, 0.15) 80%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 64px; padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero .inner { max-width: 760px; display: flex; flex-direction: column; gap: 22px; }
.page-hero.plain { min-height: 0; }
.page-hero.plain::after { display: none; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .stack { display: flex; flex-direction: column; gap: 20px; }
.split .stack p { text-wrap: pretty; }

/* ---------- Numbered grid (capabilities) ---------- */
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--sand); }
.num-grid li { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.num-grid .n { font-family: var(--mono); font-size: 13px; color: var(--orange); }
.num-grid p { font-size: 17px; line-height: 1.45; }

/* ---------- Entities ---------- */
.entity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line-dark); }
.entity { background: var(--ink); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.entity p { color: var(--on-dark-muted); }

/* ---------- Countries ---------- */
.countries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; background: var(--line-dark); margin-top: 40px; }
.countries li { background: var(--ink); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.countries strong { font-size: 22px; font-weight: 700; font-stretch: 105%; }
.countries span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }

/* ---------- Services explorer ---------- */
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.tabs { position: sticky; top: calc(var(--header) + 24px); display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.tab {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--sand);
  background: none;
  color: var(--body-muted);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.tab .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
.tab[aria-selected="true"] .n { color: var(--orange); }

.panel { display: flex; flex-direction: column; gap: 32px; scroll-margin-top: calc(var(--header) + 24px); }
.js .panel[hidden] { display: none; }
.panel + .panel { margin-top: 96px; }
.js .panel + .panel { margin-top: 0; }
.panel-hero { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--ink); }
.panel-hero img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(0.88); }
.panel-head { display: flex; flex-direction: column; gap: 16px; }
.panel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.panel-cols h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ticks li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--sand); position: relative; font-size: 16px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.site-photos { display: flex; flex-direction: column; gap: 12px; }
.site-photos .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.site-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: contrast(1.04) saturate(0.85); }

.also { margin-top: 64px; padding-top: 28px; border-top: 1.5px solid var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.chip { padding: 8px 14px; background: var(--sand); font-size: 15px; font-weight: 600; }

/* ---------- Milestone feature ---------- */
.feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2px; background: var(--line-dark); }
.feature .media { position: relative; min-height: 420px; }
.feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .copy { background: var(--ink); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.feature .thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 8px; }
.feature .thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Client table ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  padding: 9px 14px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter:hover { background: var(--sand); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.clients { width: 100%; border-collapse: collapse; }
.clients th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 16px 12px 0;
  border-bottom: 1.5px solid var(--ink);
}
.clients td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--sand); vertical-align: top; font-size: 15px; line-height: 1.45; }
.clients td:first-child { font-size: 17px; font-weight: 700; font-stretch: 105%; min-width: 220px; }
.clients .c-mono { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.clients td:last-child { color: var(--body-muted); }
.clients tr[hidden] { display: none; }

/* ---------- Sustainability ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--sand); margin-top: 32px; }
.metric-grid li { background: var(--paper); padding: 22px 24px; font-weight: 600; display: flex; gap: 14px; align-items: baseline; }
.metric-grid .n { font-family: var(--mono); font-size: 12px; color: var(--orange); }
.cert-frame { background: var(--sand); padding: clamp(20px, 3vw, 40px); }
.cert-frame img { width: 100%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2px; background: var(--sand); }
.contact-grid > div { background: var(--paper); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.contact-list { display: grid; grid-template-columns: 90px 1fr; gap: 14px 20px; }
.contact-list dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list dd { font-size: 19px; font-weight: 600; }
.contact-list a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 4px; }
.contact-list a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); border-top: 6px solid var(--orange); }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer .logo { color: var(--paper); }
.site-footer p { font-size: 15px; line-height: 1.55; margin-top: 18px; max-width: 320px; }
.site-footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.site-footer li a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; line-height: 2.1; }
.site-footer li a:hover { color: var(--paper); }
.site-footer address { font-style: normal; font-size: 15px; line-height: 1.7; }
.site-footer address a { color: var(--on-dark-muted); }
.site-footer address a:hover { color: var(--orange); }
.site-footer .legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--on-dark-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid .project:first-child { grid-column: 1 / -1; }
  .countries { grid-template-columns: repeat(3, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .hero-dot span:last-child { display: none; }
  .hero-dot { gap: 0; }
}

@media (max-width: 900px) {
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
  }
  .site-header.open .nav { display: flex; }
  .nav a:not(.btn) { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--line-dark); }
  .nav .btn { margin-top: 20px; justify-content: center; }

  .green, .split, .feature, .contact-grid, .entity-grid { grid-template-columns: 1fr; }
  .num-grid, .metric-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1.5px solid rgba(23, 20, 15, 0.25); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }

  .explorer { grid-template-columns: 1fr; }
  .tabs {
    top: var(--header);
    z-index: 5;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--paper);
    border-top: 0;
    border-bottom: 1.5px solid var(--ink);
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; border-bottom: 0; padding: 16px 14px; white-space: nowrap; }
  .tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--orange); padding-left: 14px; }
  .panel-cols { grid-template-columns: 1fr; gap: 24px; }

  .slide::after { background: linear-gradient(0deg, rgba(23, 20, 15, 0.95) 0%, rgba(23, 20, 15, 0.75) 50%, rgba(23, 20, 15, 0.25) 100%); }
  .slide-copy { justify-content: flex-end; bottom: 120px; gap: 18px; }
  .page-hero::after { background: linear-gradient(0deg, rgba(23, 20, 15, 0.95) 0%, rgba(23, 20, 15, 0.6) 60%, rgba(23, 20, 15, 0.3) 100%); }

  /* Client table becomes stacked rows */
  .clients thead { display: none; }
  .clients, .clients tbody, .clients tr, .clients td { display: block; }
  .clients tr { padding: 18px 0; border-bottom: 1px solid var(--sand); }
  .clients td { border: 0; padding: 2px 0; }
  .clients td:first-child { min-width: 0; margin-bottom: 4px; }
  .clients td.c-mono { display: inline-block; margin-right: 14px; color: var(--muted); }
  .clients td:last-child { margin-top: 6px; }
}

@media (max-width: 640px) {
  :root { --header: 60px; }
  .card-grid, .project-grid, .num-grid, .metric-grid { grid-template-columns: 1fr; }
  .project-grid .project:first-child { grid-column: auto; }
  .countries { grid-template-columns: 1fr 1fr; }
  .site-footer .top { grid-template-columns: 1fr; }
  .hero { min-height: 600px; }
  .hero-controls { bottom: 28px; gap: 16px; }
  .hero-arrow { width: 44px; height: 44px; }
  .slide-copy { bottom: 100px; }
  .logo-word { font-size: 18px; }
  .site-photos .row { grid-template-columns: 1fr 1fr; }
  .site-photos .row img:nth-child(3) { display: none; }
  .panel-hero { aspect-ratio: 4 / 3; }
  .feature .media { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .slide img, .svc-card .media img, .hero-dot .bar::after { transition: none !important; }
  .slide.is-active img { transform: none; }
}
