/* =========================================================================
   Durendal Systems — Design System
   ------------------------------------------------------------------------
   Single source of truth for visual style. Organised top-down:
     1. Tokens
     2. Reset & base
     3. Typography
     4. Layout primitives
     5. Header / Nav
     6. Footer
     7. Buttons & links
     8. Section patterns (kicker, divider, eyebrow)
     9. Cards (services, principles)
    10. Hero
    11. Inverted (dark) bands
    12. Forms
    13. Utility & responsive
   ========================================================================= */


/* ── 1. Tokens ───────────────────────────────────────────────────────────── */

:root {
  /* Indigo theme — names are kept (--ink / --paper) so cascading components
     stay valid. "ink" now means the readable pale-text color, "paper" the
     deep-indigo background. --accent is a new soft indigo for CTAs, kickers,
     and focus states. */
  --ink:        #E8EAF6;
  --ink-90:     rgba(232, 234, 246, 0.90);
  --ink-75:     rgba(232, 234, 246, 0.75);
  --ink-60:     rgba(232, 234, 246, 0.60);
  --ink-45:     rgba(232, 234, 246, 0.45);
  --ink-30:     rgba(232, 234, 246, 0.30);
  --paper:      #15182B;
  --paper-2:    #1B1F38;
  --paper-soft: #1E223D;
  /* Translucent versions of the surfaces above, so the page-wide mesh
     background (mesh-background.js) shows faintly through panels and cards. */
  --surface:      rgba(21, 24, 43, 0.82);
  --surface-soft: rgba(30, 34, 61, 0.82);
  --surface-2:    rgba(27, 31, 56, 0.82);

  --accent:     #7C84CC;
  --accent-soft: rgba(124, 132, 204, 0.6);

  --line:       rgba(232, 234, 246, 0.14);
  --line-soft:  rgba(232, 234, 246, 0.07);
  --line-paper: rgba(124, 132, 204, 0.25);

  --maxw:       1180px;
  --gutter:     40px;
  --gutter-sm:  24px;
  --nav-h:      78px;

  /* Type: one geometric sans family for everything, wordmark included
     (Nunito Sans, an Avenir-like face). */
  --display:    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sans:       "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif:      Georgia, "Times New Roman", serif;
  --mono:       ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --easing:     cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ── 2. Reset & base ─────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd, form, fieldset {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  /* Sans throughout; headings use --display (same family, heavier weights). */
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "palt" 1;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--paper); }

/* ── 3. Typography ───────────────────────────────────────────────────────── */

.serif    { font-family: var(--serif); }
.sans     { font-family: var(--sans); }
.mono     { font-family: var(--mono); font-feature-settings: "calt" 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.display {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.04em;
}
.h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
}
/* Lead — large brand-voice paragraphs (hero, page headers). Light weight,
   like the Avenir Light body copy it is modelled on; size keeps it legible. */
.lead {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  font-weight: 300;
  line-height: 1.95;
  color: var(--ink-90);
  max-width: 54ch;
  text-wrap: pretty;
}
/* Body — workhorse body text. */
.body {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink-90);
  text-wrap: pretty;
}

.kicker {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-60);
}

/* ── 4. Layout primitives ────────────────────────────────────────────────── */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section          { padding-block: clamp(72px, 11vw, 128px); }
.section--tight   { padding-block: clamp(56px, 8vw, 96px); }
.section--loose   { padding-block: clamp(96px, 14vw, 160px); }

.divider          { border-top: 1px solid var(--line); }
.divider-soft     { border-top: 1px solid var(--line-soft); }

.grid             { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3          { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2          { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4          { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Section header: kicker + heading + optional right note, with hairline rule */
.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.section-header .kicker { grid-column: 1 / -1; margin-bottom: 14px; }
.section-header h2      { grid-column: 1; }
.section-header .note   {
  grid-column: 2;
  align-self: end;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-75);
  text-align: right;
  max-width: 32ch;
}

/* ── 5. Header / Nav ─────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--easing), background-color .3s var(--easing);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 32px;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.lockup__mark { width: 34px; height: 34px; flex-shrink: 0; }
.lockup__word {
  display: flex; flex-direction: row; align-items: baseline; gap: 12px; line-height: 1;
}
/* Wordmark: same family as the headings, heavy and widely tracked. */
.lockup__en {
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.16em;
  color: var(--ink);
  white-space: nowrap;
}
.site-footer .lockup__en { font-size: 19px; }

.lockup--lg .lockup__mark { width: 56px; height: 56px; }
.lockup--lg .lockup__en   { font-size: 17px; }

.nav-primary {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.nav-link {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-75);
  position: relative;
  padding-block: 6px;
  transition: color .2s var(--easing);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .25s var(--easing);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--ink); outline: 0; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] { color: var(--ink); }

/* Right-hand cluster: primary nav (+ the phone drawer toggle) */
.site-header__end {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav-toggle, .nav-backdrop { display: none; }
body.nav-locked { overflow: hidden; }

/* Latin headings read best with tight tracking. */
h1, h2, h3,
.hero__title, .page-header__title,
.h2, .card__title, blockquote.pull {
  letter-spacing: 0.01em;
}
.page-header__title { max-width: 22ch; }

/* ── 6. Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  padding-block: 56px 32px;
  margin-top: 80px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
}
/* Contact column sits at the far right; social row follows the address block. */
.site-footer__contact .social-row { margin-top: 0; }
.site-footer__follow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.site-footer__addr {
  color: var(--ink-60);
  line-height: 1.7;
}
.site-footer__follow-label {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}
.site-footer__col h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 18px;
}
.site-footer__col li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer__col a { color: var(--ink-75); transition: color .2s var(--easing); }
.site-footer__col a:hover { color: var(--ink); }
.site-footer__brand .body { margin-top: 18px; max-width: 32ch; font-size: 14.5px; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-45);
  text-transform: uppercase;
}

/* Full-width registration line — the company's verifiable record, stated
   plainly across the footer base. Restrained, but not hidden in a corner. */
.site-footer__registry {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 8px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ink-60);
}
.site-footer__registry > *:not(:last-child)::after {
  content: "·";
  margin: 0 18px;
  color: var(--ink-30);
}
.site-footer__registry a {
  color: var(--ink-45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s var(--easing);
}
.site-footer__registry a:hover { color: var(--ink); }
@media (max-width: 560px) {
  .site-footer__registry { font-size: 12px; }
  .site-footer__registry > *:not(:last-child)::after { margin: 0 12px; }
}

/* ── 7. Buttons & links ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--paper);
  transition: background-color .25s var(--easing), color .25s var(--easing), transform .25s var(--easing);
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: transparent; color: var(--accent); outline: 0; }
.btn .arrow { transition: transform .25s var(--easing); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-30);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--invert {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--invert:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

.text-link {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color .25s var(--easing);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.text-link:hover { border-color: var(--ink); }
.text-link .arrow { transition: transform .25s var(--easing); }
.text-link:hover .arrow { transform: translateX(4px); }

/* 📧 in front of every email address */
.email-icon { margin-right: 0.45em; }

/* Big serif anchor (for email, primary CTAs in copy) */
.big-link {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-30);
  padding-bottom: 6px;
  transition: border-color .25s var(--easing);
}
.big-link:hover { border-color: var(--ink); }

/* ── 8. Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-block: clamp(64px, 9vw, 112px) clamp(72px, 11vw, 128px);
  min-height: calc(92vh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.04em;
  margin-top: 28px;
  text-wrap: balance;
}
.hero__lede {
  margin-top: 32px;
  max-width: 44ch;
}
.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
}
.hero__mark {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__mark img {
  width: clamp(240px, 32vw, 380px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(124, 132, 204, 0.25));
}

/* Page-wide animated mesh (assets/js/mesh-background.js): one canvas fixed to
   the viewport behind all content. Edges fade into the background colour.
   Sections are transparent so the mesh shows through everywhere. */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 55%, transparent 100%);
}
main, .site-footer { position: relative; z-index: 1; }

/* Home hero */
.hero--home {
  min-height: clamp(480px, 64vh, 720px);
}
/* No side visual on the home hero — let the copy use the full width. */
.hero--home .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--home > .container { width: 100%; }

  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta span { font-family: var(--sans); font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-45); }

/* Page header (for non-home pages) */
.page-header {
  padding-block: clamp(80px, 12vw, 140px) clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-header .kicker { margin-bottom: 22px; display: inline-block; }
.page-header__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.04em;
  max-width: 18ch;
  text-wrap: balance;
}
.page-header .lead { margin-top: 32px; max-width: 56ch; }

/* ── 9. Cards: services, principles, value props ─────────────────────────── */

.card {
  background: var(--surface);
  padding: 44px 36px 48px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background-color .35s var(--easing), color .35s var(--easing);
}
.card:hover { background: var(--surface-soft); }
.card:hover .card__num, .card:hover .card__en { color: var(--accent); }

.card__num   { font-family: var(--sans); font-size: 14px; letter-spacing: 0.22em; color: var(--accent); }
.card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  letter-spacing: 0.08em;
  margin-top: 28px;
  margin-bottom: 6px;
}
.card__en    {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.card__desc {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-90);
  margin-top: 26px;
  text-wrap: pretty;
}
/* Labelled bullet list at the foot of a card (home: Who we are) */
.card__points {
  margin-top: auto;
  padding-top: 28px;
}
.card__label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.card__points ul { margin-top: 14px; display: grid; gap: 8px; }
.card__points li {
  position: relative;
  padding-left: 20px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-90);
}
.card__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 10px; height: 1px;
  background: var(--accent);
}

.card__expand {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-75);
}

/* Principle: small static card, no hover invert */
.principle {
  padding: 36px 32px 40px;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.principle__num {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--ink-45);
}
.principle__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.principle__desc {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-90);
  text-wrap: pretty;
}

/* Stat / fact */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-block: 64px;
}
.fact {
  background: var(--surface);
  padding: 36px 28px;
  text-align: left;
}
.fact__num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.fact__label {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-top: 14px;
}

/* ── 10. Highlighted (panel) bands ───────────────────────────────────────────
   Indigo theme: ".inverted" no longer flips dark/light, but uses the panel
   color (slightly lighter than the base bg) to create rhythmic emphasis.
   Section-internal colors inherit from the global tokens — overrides removed. */

.inverted {
  background: var(--surface-2);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.inverted__watermark {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.10;
  pointer-events: none;
  width: 620px;
  max-width: none;
}
.inverted__watermark img { width: 100%; height: auto; }

.inverted__quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  max-width: 22ch;
  margin-top: 32px;
  text-wrap: balance;
}
.inverted__body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.85;
  max-width: 54ch;
  margin-top: 36px;
  color: var(--ink-90);
  text-wrap: pretty;
}

/* CTA band — panel-tone, centered, with accent border */
.cta-band {
  background: var(--surface-2);
  color: var(--ink);
  padding-block: clamp(72px, 11vw, 120px);
  text-align: left;
  border-block: 1px solid var(--line);
}
.cta-band .container { max-width: 1080px; }
.cta-band h2 br { display: none; }
.cta-band h2 {
  font-family: var(--display);
  text-shadow: 0 2px 28px rgba(11, 13, 24, 0.85), 0 1px 6px rgba(11, 13, 24, 0.55);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  max-width: 22ch;
  margin: 0;
  text-wrap: balance;
}
.cta-band p {
  font-family: var(--sans);
  font-weight: 400;
  text-shadow: 0 1px 18px rgba(11, 13, 24, 0.85), 0 1px 4px rgba(11, 13, 24, 0.6);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.8;
  color: var(--ink-90);
  max-width: 44ch;
  margin: 28px 0 0;
}
.cta-band .cta-row {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 44px;
}

/* ── 11. Forms ───────────────────────────────────────────────────────────── */

.form { display: grid; gap: 28px; max-width: 560px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.form__input, .form__textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-30);
  padding: 10px 0 14px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s var(--easing);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__input:focus, .form__textarea:focus {
  outline: 0;
  border-bottom-color: var(--ink);
}
.form__submit { margin-top: 16px; justify-self: start; }

/* ── 12. Definition list / contact rows ──────────────────────────────────── */

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  padding-block: 48px 0;
}
.contact-list dt {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 14px;
}
.contact-list dd {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}
.contact-list dd a { border-bottom: 1px solid var(--line); transition: border-color .2s var(--easing); }
.contact-list dd a:hover { border-bottom-color: var(--ink); }
/* Contact page: details sit directly under the page-header lead */
.page-header .contact-list {
  max-width: 720px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

/* Timeline (about page) */
.timeline { border-top: 1px solid var(--line); }
.timeline__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}
.timeline__year {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-60);
  padding-top: 4px;
}
.timeline__content h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.timeline__content p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-90);
  text-wrap: pretty;
}

/* Two-column long form (about, philosophy long-read) */
.prose {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.prose__body p {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-90);
  margin-bottom: 24px;
  text-wrap: pretty;
}
.prose__body p:last-child { margin-bottom: 0; }
.prose__aside {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.prose__aside .kicker { display: block; margin-bottom: 18px; }
.prose__aside p {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-90);
  text-wrap: pretty;
}

/* Pull-quote */
blockquote.pull {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 8px 0 8px 24px;
  border-left: 2px solid var(--ink);
  margin-block: 32px;
  text-wrap: balance;
}

/* ── 13. Sectors strip ───────────────────────────────────────────────────── */

.sectors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.sector {
  background: var(--surface);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sector__num {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--ink-45);
}
.sector__zh {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
}
.sector__en {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.sector__note {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-90);
  margin-top: 8px;
  text-wrap: pretty;
}

/* ── 14. News cards ──────────────────────────────────────────────────────── */

.news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: 36px 32px 36px;
  min-height: 280px;
  transition: background-color .25s var(--easing);
}
.news-card:hover { background: var(--surface-soft); }
.news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-45);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.news-card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-top: 22px;
  text-wrap: balance;
}
.news-card__excerpt {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-90);
  margin-top: 14px;
  text-wrap: pretty;
}
.news-card__link {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}
.news-card__link .arrow { transition: transform .25s var(--easing); }
.news-card__link:hover .arrow { transform: translateX(4px); }
.news-card--placeholder .news-card__title,
.news-card--placeholder .news-card__excerpt { color: var(--ink-45); }
.news-card--placeholder .news-card__link { color: var(--ink-45); }

/* ── 14b. Team cards (about page) ────────────────────────────────────────── */
/* One full-width block per member, stacked. Photo sides alternate
   (left, right, left…) so consecutive blocks don't read as a list. */
.team {
  --team-photo-w: 346px;   /* 3/4 of the original 400px photo area (400 × √0.75) */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.team-card {
  display: grid;
  grid-template-columns: var(--team-photo-w) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  background: var(--surface);
  padding: 64px;
  transition: background-color .25s var(--easing);
}
.team-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) var(--team-photo-w); }
.team-card:nth-child(even) .team-card__photo { order: 1; }
.team-card:hover { background: var(--surface-soft); }
/* Portrait photo slot (4:5) — real photos 800×1000, cropped to fill. */
.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Background-removed (transparent) photos: a pale studio backdrop matching
   the other portraits, so dark clothing doesn't vanish into the page. */
.team-card__photo--cutout { background: #DCDEEA; }
/* Cutout portraits are shot wider; zoom in (anchored near the head) so the
   subject fills the frame like the other portraits. */
.team-card__photo--cutout img { transform: scale(1.25); transform-origin: 50% 20%; }
/* Placeholder: tinted box with the site mark, until a photo is supplied. */
.team-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 132, 204, 0.08);
}
.team-card__photo--placeholder img { width: 36%; height: auto; opacity: 0.5; }
.team-card__body {
  display: flex;
  flex-direction: column;
}
.team-card__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.team-card__role {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 14px;
}
.team-card__bio {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink-90);
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 56ch;
  text-wrap: pretty;
}
.team-card__bio p + p { margin-top: 1em; }
.team-card__link {
  padding-top: 28px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-75);
  transition: color .2s var(--easing);
}
.team-card__link:hover { color: var(--ink); }
.team-card__link svg { width: 15px; height: 15px; }
/* No LinkedIn URL yet → hide the link (leave href empty or remove it). */
.team-card__link:not([href]), .team-card__link[href=""] { display: none; }

/* ── 15. Email channel cards (contact page) ──────────────────────────────── */

.channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-block: 56px;
}
.channel {
  background: var(--surface);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color .25s var(--easing);
}
.channel:hover { background: var(--surface-soft); }
.channel__label {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.channel__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.channel__desc {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-90);
  text-wrap: pretty;
}
.channel__email {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  transition: border-color .2s var(--easing);
}
.channel__email:hover { border-bottom-color: var(--ink); }

/* ── 16. Footer social row ───────────────────────────────────────────────── */

.social-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}
.social-row a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-75);
  transition: color .2s var(--easing), border-color .2s var(--easing), background-color .2s var(--easing);
}
.social-row a:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.social-row svg { width: 16px; height: 16px; }

/* ── 17. Utility & responsive ────────────────────────────────────────────── */

.text-center { text-align: center; }
.muted       { color: var(--ink-60); }
.mt-0  { margin-top: 0;  }
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* Subtle reveal on first paint */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--easing), transform .8s var(--easing);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 960px) {
  .site-header .lockup__en { font-size: 19px; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .news    { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .team      { --team-photo-w: 242px; }
  .team-card { gap: 48px; padding: 48px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mark { order: -1; }
  .hero__mark img { width: clamp(180px, 40vw, 260px); }
  .prose { grid-template-columns: 1fr; }
  .prose__aside { position: static; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .section-header { grid-template-columns: 1fr; }
  .section-header .note { grid-column: 1; text-align: left; max-width: 100%; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --gutter: var(--gutter-sm); --nav-h: 64px; }
  .site-header .lockup__en { font-size: 15.5px; letter-spacing: 0.12em; }
  .lockup__mark { width: 30px; height: 30px; }
  .site-header__inner { gap: 16px; }
  .site-header__end { gap: 16px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 1fr; gap: 8px; }
  .hero__cta { gap: 18px; }
  .btn { padding: 14px 22px; font-size: 12.5px; }
  .contact-list { gap: 32px; }
  .sectors { grid-template-columns: 1fr; }
  .team-card,
  .team-card:nth-child(even) { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .team-card:nth-child(even) .team-card__photo { order: 0; }
  .team-card__photo { width: 87%; }
}

/* Phones: Home / About / Contact collapse into a drawer that slides in from
   the right, opened by the ☰ button (assets/js/nav.js). */
@media (max-width: 640px) {
  /* backdrop-filter would turn the header into the containing block of the
     fixed drawer and clip it, so the phone header is solid instead. */
  .site-header {
    background: var(--paper);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 9px;
    margin-right: -9px;
  }
  .nav-toggle__bar {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform .25s var(--easing), opacity .2s var(--easing);
  }
  .is-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .is-nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .is-nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-toggle:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }

  .nav-primary {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    z-index: 2;
    width: min(78vw, 300px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--paper-2);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s var(--easing), visibility 0s linear .3s;
  }
  .is-nav-open .nav-primary {
    transform: none;
    visibility: visible;
    transition: transform .3s var(--easing), visibility 0s;
  }
  .nav-link {
    font-size: 16px;
    letter-spacing: 0.16em;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--accent); }

  .nav-backdrop {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(11, 13, 24, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--easing), visibility 0s linear .3s;
  }
  .is-nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s var(--easing), visibility 0s;
  }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .nav-primary, .nav-backdrop, .nav-toggle__bar { transition: none; }
}
/* Set by nav.js for one frame when the viewport crosses the phone breakpoint. */
.nav-instant .nav-primary, .nav-instant .nav-backdrop { transition: none !important; }

/* Print */
@media print {
  .site-header, .site-footer, .cta-band { display: none; }
  body { color: #000; background: #fff; }
}
