/* DCP: plain static site. Tokens first, then layout, then components. */
:root {
  --ink: #141c3a;          /* deep navy, from the old logo */
  --ink-soft: #2a3358;
  --steel: #5a6275;        /* body secondary text */
  --line: #e2e4ea;
  --paper: #ffffff;
  --wash: #f4f5f7;         /* cool concrete grey */
  --accent: #c9932f;       /* brass, used sparingly */
  --accent-deep: #8a6113;  /* text-safe brass on white */
  --on-ink: #e8eaf2;
  --on-ink-dim: #a9aec2;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1160px;
  --gutter: 24px;
  --radius: 6px;
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 78px); font-stretch: 112%; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.8vw, 46px); font-stretch: 108%; }
h3 { font-size: 21px; font-stretch: 100%; line-height: 1.25; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--wash { background: var(--wash); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--steel); max-width: 40em; }
.section--ink .lead { color: var(--on-ink-dim); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section--ink .kicker { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark {
  display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: 30px; line-height: 1; letter-spacing: 0.06em;
}
.wordmark::after { content: ""; display: block; height: 3px; width: 100%; background: var(--accent); margin-top: 5px; }
.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink-soft);
  padding: 12px 14px; border-radius: var(--radius); min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover { background: var(--wash); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(84vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,28,58,0.15) 0%, rgba(20,28,58,0.35) 40%, rgba(20,28,58,0.88) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { color: #fff; max-width: 13em; margin-bottom: 20px; }
.hero p { font-size: clamp(18px, 1.7vw, 21px); max-width: 36em; color: #e3e6f0; margin: 0; }

.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 15em; }
.page-hero .meta { color: var(--steel); font-size: 15px; margin-top: 8px; }

/* ---------- Facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 28px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 34px; line-height: 1.1; }
.fact span { color: var(--steel); font-size: 15px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__media.wide img { aspect-ratio: 4 / 3; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sector { background: var(--paper); display: grid; grid-template-rows: auto 1fr; }
.sector img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sector div { padding: 24px 24px 28px; }
.sector h3 { margin-bottom: 8px; }
.sector p { color: var(--steel); font-size: 16px; margin: 0; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.project-card { text-decoration: none; color: inherit; display: block; }
.project-card figure { margin: 0 0 18px; overflow: hidden; border-radius: var(--radius); }
.project-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.035); }
.project-card .tag { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-deep); }
.project-card h3 { font-size: clamp(21px, 2vw, 25px); margin: 6px 0 6px; }
.project-card p { color: var(--steel); font-size: 16px; margin: 0; }
.project-card .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--accent); }

/* ---------- Article (project page) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.aside { position: sticky; top: 104px; border-top: 3px solid var(--ink); padding-top: 20px; font-size: 15px; }
.aside dl { margin: 0; }
.aside dt { font-weight: 700; color: var(--steel); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 16px; }
.aside dt:first-child { margin-top: 0; }
.aside dd { margin: 4px 0 0; }
.feature-img { margin: 0 0 clamp(40px, 5vw, 64px); }
.feature-img img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: auto; height: 100%; }

.pager { display: flex; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); margin-top: 56px; }
.pager a { text-decoration: none; font-weight: 700; max-width: 45%; }
.pager a span { display: block; font-size: 13px; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: 0.06em; }
.pager a:last-child { text-align: right; margin-left: auto; }

/* ---------- Values / team ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.value { padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.value h3 { margin-bottom: 6px; }
.value p { color: var(--on-ink-dim); margin: 0; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%; border-radius: var(--radius); margin-bottom: 20px; }
.person h3 { font-size: 24px; margin-bottom: 2px; }
.person .role { color: var(--accent-deep); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.person p { color: var(--steel); font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-dim); padding: 64px 0 40px; font-size: 15px; }
.site-footer .wordmark { color: #fff; font-size: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 6px; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .article { grid-template-columns: 1fr; }
  .aside { position: static; order: -1; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-header .container { height: 64px; }
  .wordmark { font-size: 26px; }
  .nav a { padding: 10px 10px; font-size: 15px; }
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }
  .sectors, .project-grid, .values, .team, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { grid-column: span 2; }
  .hero { min-height: 78vh; }
  .section-head { margin-bottom: 32px; }
  .pager { flex-direction: column; }
  .pager a { max-width: none; }
}
@media (max-width: 380px) {
  .nav a { padding: 10px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-card img { transition: none; }
  .project-card:hover img { transform: none; }
}
.gallery--two { grid-template-columns: repeat(2, 1fr); }
.gallery--two img { aspect-ratio: 3 / 2; }
@media (max-width: 720px) { .gallery--two { grid-template-columns: 1fr; } }
.team--two { grid-template-columns: repeat(2, minmax(0, 360px)); }
@media (max-width: 720px) { .team--two { grid-template-columns: 1fr; } }
