/* CARF | Central Asia Resource Financing
   Brand system taken from the CARF decks: navy, gold, Montserrat, framed photography. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-ext-wght.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #192734;
  --navy-deep: #111c26;
  --ink: #0b2537;
  --gold: #c1a452;
  --gold-ink: #7a6227;
  --gold-tint: #efe7cf;
  --stone: #f4f4f1;
  --white: #ffffff;
  --text: #1e2b37;
  --muted: #55626e;
  --line: #d9dbd6;
  --on-navy: #ffffff;
  --on-navy-muted: #aeb9c4;
  --on-navy-line: rgba(255, 255, 255, 0.16);

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band-pad: clamp(64px, 9vw, 128px);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Bands (page sections) ---------- */
.band { padding: var(--band-pad) 0; position: relative; }
.band--white { background: var(--white); }
.band--stone { background: var(--stone); }
.band--navy { background: var(--navy); color: var(--on-navy); }
.band--deep { background: var(--navy-deep); color: var(--on-navy); }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2.35rem, 1.2rem + 3.9vw, 4.1rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.display--page { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.4rem); max-width: 20ch; }

.section-title {
  display: inline-block;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--gold);
}
.band--navy .section-title, .band--deep .section-title { color: var(--on-navy); }

.lead {
  font-size: clamp(1.45rem, 1rem + 1.45vw, 2.15rem);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.005em;
  max-width: 34ch;
  margin-bottom: 0;
}
.lead--wide { max-width: 44ch; }

.prose { max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.band--navy .muted, .band--deep .muted { color: var(--on-navy-muted); }
.small { font-size: 0.875rem; line-height: 1.55; }

.stack-lg > * + * { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d1b768; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--on-navy); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--navy { background: var(--ink); color: var(--white); }
.btn--navy:hover { background: var(--navy); }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.text-link:hover { color: var(--gold-ink); }
.band--navy .text-link:hover, .band--deep .text-link:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--on-navy);
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--on-navy-line), 0 10px 30px rgba(8, 16, 24, 0.28); }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: auto; height: 44px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--on-navy-line);
  border-radius: 999px;
  background: transparent;
  color: var(--on-navy);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.site-header.is-open .nav-toggle__bars { background: transparent; }
.site-header.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px 28px; }
.site-nav a {
  display: inline-block;
  padding: 8px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-navy);
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.site-nav .btn { padding: 10px 20px; min-height: 42px; color: var(--ink); border-bottom: 0; }
.site-nav .btn:hover { color: var(--ink); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy);
    border-top: 1px solid var(--on-navy-line);
    box-shadow: 0 24px 40px rgba(8, 16, 24, 0.35);
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin: 0 auto;
  }
  .site-nav li { border-bottom: 1px solid var(--on-navy-line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 16px; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.0625rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: transparent; color: var(--gold); }
  .site-nav .btn { display: flex; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: calc(clamp(56px, 9vw, 150px) + clamp(24px, 3vw, 44px));
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__name {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero__sub {
  margin: 28px 0 36px;
  max-width: 50ch;
  font-size: 1.125rem;
  color: var(--on-navy-muted);
}
.cities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--on-navy-line);
  max-width: 460px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.cities li { display: flex; align-items: center; gap: 10px; }
.cities li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin-right: 18px; }

.hero--page .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.hero--page .hero__sub { margin-bottom: 32px; }

/* Signature: the ridge line, echoing the mountains in the CARF mark */
.ridge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(56px, 9vw, 150px);
  pointer-events: none;
}
.ridge__fill { fill: var(--stone); }
.ridge--white .ridge__fill { fill: var(--white); }
.ridge__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
}
@media (prefers-reduced-motion: no-preference) {
  .ridge__line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ridge-draw 2600ms cubic-bezier(0.55, 0.1, 0.25, 1) 250ms forwards;
  }
  .ridge__fill { opacity: 0; animation: ridge-fill 900ms ease 1500ms forwards; }
}
@keyframes ridge-draw { to { stroke-dashoffset: 0; } }
@keyframes ridge-fill { to { opacity: 1; } }

/* ---------- Framed photography (deck style: rounded, gold edge) ---------- */
.frame { position: relative; margin: 0; isolation: isolate; }
.frame::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.frame img, .frame picture { width: 100%; border-radius: var(--radius-lg); }
.frame img { object-fit: cover; aspect-ratio: var(--ratio, 3 / 2); }
.frame--portrait { --ratio: 4 / 5; }
.frame figcaption { margin-top: 26px; font-size: 0.8125rem; color: var(--on-navy-muted); }

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--center { align-items: center; }

/* ---------- Kazakhstan figures panel ---------- */
.figures {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
}
.figures__title { font-size: 1rem; font-weight: 500; color: var(--gold); margin-bottom: 8px; }
.figures dl { margin: 0; }
.figures__row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--on-navy-line);
}
.figures__row:last-child { border-bottom: 0; padding-bottom: 4px; }
.figures dt {
  font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.3rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.figures dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--on-navy-muted); }
.sources { margin-top: 16px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); max-width: 52ch; }

/* ---------- Mission ---------- */
.columns-2 { columns: 2 22rem; column-gap: clamp(32px, 5vw, 64px); max-width: 980px; }
.columns-2 p { break-inside: avoid; }

/* ---------- Mandate tree ---------- */
.tree { margin-top: clamp(40px, 6vw, 72px); }
.tree__root {
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 36px;
}
.tree__root span {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tree__root::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  height: 36px;
  border-left: 1px solid var(--gold);
}
.tree__branches {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
  position: relative;
  padding-top: 36px;
}
.tree__branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - 2 * clamp(16px, 3vw, 36px)) / 6);
  right: calc((100% - 2 * clamp(16px, 3vw, 36px)) / 6);
  border-top: 1px solid var(--gold);
}
.branch { position: relative; }
.branch::before {
  content: "";
  position: absolute;
  left: 50%; top: -36px;
  height: 36px;
  border-left: 1px solid var(--gold);
}
.branch h3 {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
}
.branch ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.branch li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
}
.mt { margin-top: clamp(24px, 3vw, 36px); }

/* ---------- Routes (ways to work with CARF) ---------- */
.routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 80px);
  margin-top: clamp(40px, 6vw, 64px);
}
.route .frame { margin-bottom: 40px; }
.route h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 1.9rem); font-weight: 400; margin-bottom: 6px; }
.route__who { color: var(--gold-ink); font-weight: 500; margin-bottom: 14px; }
.route p:not(.route__who) { max-width: 52ch; }

/* ---------- Governance ---------- */
.points { list-style: none; display: grid; gap: 22px; margin-top: 36px; }
.points li { padding-left: 22px; position: relative; max-width: 58ch; }
.points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 9px; height: 1px;
  background: var(--gold);
}
.points strong { font-weight: 600; }
.band--navy .points li { color: var(--on-navy-muted); }
.band--navy .points strong { color: var(--on-navy); }

.facts {
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
}
.facts h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 18px; }
.facts dl { margin: 0; display: grid; gap: 16px; }
.facts dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; }
.facts dd { margin: 2px 0 0; font-size: 1rem; line-height: 1.5; }
.facts a { text-decoration-color: rgba(11, 37, 55, 0.5); }

.status {
  margin-top: clamp(40px, 5vw, 56px);
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--gold);
  max-width: 82ch;
  color: var(--on-navy-muted);
  font-size: 0.9375rem;
}
.status strong { color: var(--on-navy); font-weight: 600; }

/* ---------- Leadership ---------- */
.people {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 6vw, 64px);
}
.person {
  background: var(--white);
  border: 1px solid #e3dcc6;
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
}
.person__photo {
  width: 112px; height: 112px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--gold);
  margin-bottom: 24px;
}
.person h3 { font-size: 1.25rem; font-weight: 600; }
.person__role { color: var(--gold-ink); font-weight: 500; margin: 4px 0 18px; }
.person ul { list-style: none; display: grid; gap: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.person li { padding-left: 18px; position: relative; }
.person li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 7px; height: 1px;
  background: var(--gold);
}

/* ---------- Partners ---------- */
.groups {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 64px);
}
.group { border-top: 1px solid var(--gold); padding-top: 22px; }
.group h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.group p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; margin: 0; }

/* ---------- Contact ---------- */
.contact-photo { margin-bottom: clamp(48px, 7vw, 88px); }
.contact-photo img { aspect-ratio: 16 / 7; }
.routes-list { list-style: none; border-top: 1px solid var(--on-navy-line); }
.routes-list li { border-bottom: 1px solid var(--on-navy-line); }
.routes-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 24px;
  padding: 20px 0;
  text-decoration: none;
}
.routes-list .route-name { font-weight: 600; font-size: 1.0625rem; }
.routes-list .route-desc { grid-column: 1; color: var(--on-navy-muted); font-size: 0.9375rem; }
.routes-list .route-mail {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: center;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: rgba(193, 164, 82, 0.5);
  text-underline-offset: 0.3em;
}
.routes-list a:hover .route-mail { text-decoration-color: var(--gold); }
.address { font-style: normal; margin-top: 32px; color: var(--on-navy-muted); line-height: 1.7; }
.address strong { color: var(--on-navy); font-weight: 600; }

/* ---------- Tables ---------- */
.table-wrap { margin-top: clamp(32px, 5vw, 48px); }
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.table caption { text-align: left; margin-bottom: 12px; color: var(--muted); font-size: 0.875rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px 20px; }
.table thead th { background: var(--ink); color: var(--white); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.01em; }
.table tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.table tbody tr + tr th, .table tbody tr + tr td { border-top: 1px solid var(--line); }
.table--gold thead th { background: var(--gold); color: var(--ink); }
.table-note { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); max-width: 72ch; }

@media (max-width: 760px) {
  .table, .table thead, .table tbody, .table tr, .table th, .table td { display: block; }
  .table { border: 0; background: transparent; border-radius: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table tbody tr {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 6px 0;
    margin-bottom: 14px;
  }
  .table tbody tr + tr th, .table tbody tr + tr td { border-top: 0; }
  .table tbody th { width: auto; padding: 14px 18px 4px; font-size: 1rem; }
  .table td { padding: 6px 18px 10px; }
  .table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--gold-ink);
    margin-bottom: 2px;
  }
}

/* ---------- Feature grid (2 x 2) ---------- */
.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 72px);
  margin-top: clamp(40px, 6vw, 64px);
}
.feature { border-top: 1px solid var(--gold); padding-top: 22px; }
.feature h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; max-width: 48ch; }

.ticks { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.ticks li { padding-left: 30px; position: relative; max-width: 60ch; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.42em;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--gold-ink);
  border-bottom: 1.5px solid var(--gold-ink);
  transform: rotate(-45deg);
}
.band--navy .ticks li::before { border-color: var(--gold); }

/* ---------- Process (a real sequence, so it is numbered) ---------- */
.process { list-style: none; counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 36px;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  background: var(--navy);
  position: relative;
  z-index: 1;
}
.step::after {
  content: "";
  position: absolute;
  left: 22px; top: 44px; bottom: 0;
  border-left: 1px solid var(--on-navy-line);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.1875rem; font-weight: 600; margin: 9px 0 8px; }
.step p { color: var(--on-navy-muted); margin: 0; max-width: 60ch; }
.step ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; color: var(--on-navy-muted); font-size: 0.9375rem; }
.step ul li { padding-left: 18px; position: relative; }
.step ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--gold); }
.step .branch-note {
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px dashed rgba(193, 164, 82, 0.55);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--on-navy-muted);
  max-width: 60ch;
}
.step .branch-note strong { color: var(--gold); font-weight: 600; }
.sticky-intro { position: sticky; top: calc(var(--header-h) + 32px); }

/* ---------- Commodity list ---------- */
.commodities { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 24px; }
.commodities li { border-top: 1px solid var(--line); padding-top: 14px; }
.commodities strong { display: block; font-weight: 600; color: var(--ink); }
.commodities span { color: var(--muted); font-size: 0.9375rem; }

.commodities--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sub-title { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-top: clamp(56px, 7vw, 88px); }
.features--stacked { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.split > .features--stacked { margin-top: 0; }
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }

/* ---------- Element tiles (focus commodities) ---------- */
.elements { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.element {
  width: 88px; height: 96px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--white);
}
.element__no { font-size: 0.6875rem; color: var(--gold-ink); font-weight: 600; }
.element__sym { font-size: 1.75rem; font-weight: 600; color: var(--ink); line-height: 1; align-self: center; }
.element__name { font-size: 0.6875rem; color: var(--muted); font-weight: 500; }

.figure-map { margin: clamp(32px, 5vw, 56px) 0 0; }
.figure-map img { width: 100%; max-width: 960px; margin: 0 auto; }
.figure-map figcaption { text-align: center; margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }

.keyfact {
  display: inline-grid;
  gap: 4px;
  margin-top: 32px;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  background: var(--gold-tint);
}
.keyfact strong { font-size: clamp(1.4rem, 1rem + 1vw, 1.8rem); font-weight: 400; color: var(--ink); letter-spacing: -0.01em; }
.keyfact span { font-size: 0.875rem; color: var(--gold-ink); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta { text-align: left; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta .lead { max-width: 30ch; }

/* ---------- Legal page ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; font-weight: 500; margin: 56px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 32px; }
.legal h3 { font-size: 1.0625rem; font-weight: 600; margin: 28px 0 8px; }
.legal dl { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 10px 24px; margin: 0; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li + li { margin-top: 6px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: clamp(56px, 7vw, 88px) 0 40px; font-size: 0.9375rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
.site-footer img { height: 52px; width: auto; margin-bottom: 20px; }
.site-footer h2 { font-size: 0.9375rem; font-weight: 600; color: var(--on-navy); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address + ul { margin-top: 14px; }
.site-footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--on-navy-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 0.8125rem;
}
.site-footer__legal p { margin: 0; max-width: 80ch; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .hero--page .hero__grid, .split, .split--even, .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 560px; }
  .hero__media.frame--portrait img { aspect-ratio: 4 / 3; object-position: 50% 32%; }
  .people { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .sticky-intro { position: static; }
  .cta__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .commodities--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .routes { grid-template-columns: minmax(0, 1fr); }
  .tree__root::after, .tree__branches::before, .branch::before { display: none; }
  .tree__root { padding-bottom: 20px; }
  .tree__branches { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 28px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .commodities, .commodities--3 { grid-template-columns: minmax(0, 1fr); }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal dd { margin-bottom: 12px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand img { height: 38px; }
  .groups { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .frame::before { inset: 10px -8px -10px 8px; }
  .routes-list a { grid-template-columns: minmax(0, 1fr); }
  .routes-list .route-mail { grid-column: 1; grid-row: auto; }
  .figures__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .contact-photo img { aspect-ratio: 4 / 3; }
}

@media print {
  .site-header, .ridge, .nav-toggle, .actions { display: none !important; }
  .band--navy, .band--deep, .hero, .figures { background: #fff !important; color: #000 !important; }
}
