/* container-global.com
   One typeface: Archivo, as a variable font with a width axis. The headline is
   set at 92% width, which is what the previous Barlow Condensed was there for;
   the axis does that job without a second family, and the same file carries the
   text weights. Figures align through the family's tabular set rather than
   through a monospace face, because a UEN and an SSIC code are identifiers, not
   code. Rules and hairlines instead of shadows and floating cards.
   Self-hosted; this stylesheet makes no external request. */

/* ---------------------------------------------------------------- fonts */
/* Files are vendored into /assets/fonts/. Every family below carries a full
   fallback stack, so the pages set correctly before the files are present. */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens */

:root {
  --ink: #0f1b2a;
  --hull: #12324f;
  --steel: #3e5468;
  --muted: #5a6b7c;
  --signal: #e5601f;
  --signal-dk: #b8430d;
  --cleared: #1f6b4a;
  --mist: #f4f6f8;
  --paper: #ffffff;
  --rule: #d4dbe2;
  --rule-soft: #e4e9ee;
  --on-dark: #eef2f6;
  --on-dark-muted: #b7c4d1;
  --on-dark-signal: #ff8a47;

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: var(--sans);
  /* Kept as a token so the many call sites below need no edit, but it is no
     longer a monospace face. Anything that reads as data gets tabular figures
     in the text family instead. */
  --mono: var(--sans);

  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 4rem;

  --measure: 68ch;
  --wrap: 78rem;

  color-scheme: light;
}

/* ---------------------------------------------------------------- reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--hull);
  margin: 0 0 var(--s2);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); color: var(--ink); }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p, ul, ol, dl, table { margin: 0 0 var(--s2); }
p, li { max-width: var(--measure); }

a { color: var(--signal-dk); text-underline-offset: 0.2em; text-decoration-thickness: from-font; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--signal-dk);
  outline-offset: 2px;
  border-radius: 1px;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--s4) 0;
}

/* ------------------------------------------------------------ structure */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.4rem + 2.5vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--signal-dk);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* --------------------------------------------------------------- header */

.site-header {
  background: var(--hull);
  color: var(--on-dark);
  border-bottom: 4px solid var(--signal);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s3);
  padding-block: var(--s2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
/* The horizontal lockup is 783.6 x 170. Constraining both axes to 38px
   squashed it to 4.6:1 of nothing; set the height and let the width follow. */
.brand-logo { height: 26px; width: auto; flex: none; display: block; }
.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
}
.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 400;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { max-width: none; }
.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--on-dark);
  text-decoration: none;
  font-size: 0.94rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--on-dark-signal); }
.site-nav a[aria-current] {
  color: #fff;
  border-bottom-color: var(--on-dark-signal);
  font-weight: 600;
}
.site-nav :focus-visible { outline-color: var(--on-dark-signal); }

/* ---------------------------------------------------------- breadcrumbs */

.breadcrumb {
  border-bottom: 1px solid var(--rule-soft);
  background: var(--mist);
  font-family: var(--mono);
  font-size: 0.78rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.55rem;
  list-style: none;
  margin: 0;
  padding-block: 0.7rem;
}
.breadcrumb li { max-width: none; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.55rem; color: var(--rule); }
.breadcrumb a { color: var(--steel); }

/* ----------------------------------------------------------------- hero */

.hero {
  background: var(--mist);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem);
}
.hero .kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal-dk);
  margin: 0 0 var(--s2);
  max-width: none;
}
.hero > .wrap > :last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--steel);
  max-width: 62ch;
}

/* ------------------------------------------------------------- sections */

.block { padding-block: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }
.block + .block { border-top: 1px solid var(--rule-soft); }
.block.is-mist { background: var(--mist); border-top-color: var(--rule); }
.block > .wrap > :last-child { margin-bottom: 0; }

.block-head { margin-bottom: var(--s3); }
.block-head h2 { margin-bottom: 0.6rem; }
.block-head .lede { margin-bottom: 0; }

/* ---------------------------------------------------------------- links */

.arrow-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 1px;
}
.arrow-link::after { content: ' \2192'; }
.arrow-link:hover { border-bottom-color: var(--ink); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s3);
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--signal-dk);
}
.btn-primary { background: var(--signal-dk); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-secondary { background: transparent; color: var(--signal-dk); border-color: var(--rule); }
.btn-secondary:hover { border-color: var(--signal-dk); color: var(--ink); }

/* ----------------------------------------------------------- card grids */

.grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }

.card {
  border-top: 3px solid var(--hull);
  padding-top: var(--s2);
}
.card.is-signal { border-top-color: var(--signal); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--steel); }
.card > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------- numbered process */

.flow {
  list-style: none;
  counter-reset: flow;
  margin: 0 0 var(--s2);
  padding: 0;
  display: grid;
  gap: var(--s3);
  /* Narrow enough that a five-step sequence stays on one row on a desktop; a
     sequence that wraps and leaves one orphan step stops reading as a sequence. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.flow > li {
  counter-increment: flow;
  border-top: 1px solid var(--rule);
  padding-top: var(--s2);
  max-width: none;
}
.flow > li::before {
  /* Plain numerals, not zero-padded badges: these mark a real sequence, so
     they should read as step numbers rather than as a design device. */
  content: counter(flow) ".";
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--signal-dk);
  margin-bottom: 0.4rem;
}
.flow h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.flow p { color: var(--steel); font-size: 0.95rem; margin-bottom: 0; max-width: none; }

/* ------------------------------------------------------------- leg bar */

.legbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  list-style: none;
  margin: 0 0 var(--s2);
  padding: 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.legbar > li {
  flex: 1 1 8rem;
  background: var(--paper);
  padding: var(--s2);
  max-width: none;
}
.leg-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-dk);
  margin-bottom: 0.3rem;
}
.leg-body { font-size: 0.92rem; color: var(--steel); }

/* ---------------------------------------------------------- fact lists */

.facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  border-top: 1px solid var(--rule);
  margin-bottom: var(--s2);
}
.facts > div {
  border-bottom: 1px solid var(--rule-soft);
  padding: 0.8rem var(--s3) 0.8rem 0;
}
.facts dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
.facts dd.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0.02em; }
.facts dd.plain { font-weight: 400; }

/* ----------------------------------------------------------- deflists */

.terms { border-top: 1px solid var(--rule); margin-bottom: var(--s2); }
.terms > div {
  display: grid;
  gap: 0.2rem var(--s3);
  grid-template-columns: 1fr;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--rule-soft);
}
@media (min-width: 46rem) {
  .terms > div { grid-template-columns: minmax(9rem, 15rem) 1fr; }
}
.terms dt {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hull);
}
.terms dd { margin: 0; color: var(--steel); }
.terms dd > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- lists */

.ticks { list-style: none; margin: 0 0 var(--s2); padding: 0; }
.ticks > li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--steel);
}
.ticks > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 2px;
  background: var(--signal);
}
.ticks.is-cleared > li::before { background: var(--cleared); }

.cols {
  display: grid;
  gap: var(--s3) var(--s4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.cols > * > :last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- tables */

.table-scroll {
  overflow-x: auto;
  margin-bottom: var(--s2);
  border-bottom: 1px solid var(--rule);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin-bottom: 0;
}
caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.6rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 1rem 0.65rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hull);
  border-bottom: 2px solid var(--hull);
}
tbody th { font-weight: 600; color: var(--hull); }
td.num, th.num { font-family: var(--mono); white-space: nowrap; }

/* ------------------------------------------------------------- notices */

.notice {
  border-left: 4px solid var(--signal);
  background: var(--mist);
  padding: var(--s2) var(--s3);
  margin-bottom: var(--s2);
}
.notice.is-cleared { border-left-color: var(--cleared); }
.notice.is-plain { border-left-color: var(--steel); }
.notice h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.notice > :last-child { margin-bottom: 0; }
.notice p, .notice li { color: var(--steel); }

/* ------------------------------------------------------------- contact */

.addr {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
}

/* --------------------------------------------------------------- prose */

.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: var(--s3); }
.prose h4 { margin-top: var(--s2); margin-bottom: 0.3rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--muted); }

.mono { font-family: var(--mono); overflow-wrap: anywhere; }
.meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* -------------------------------------------------------------- footer */

.site-footer {
  background: var(--hull);
  color: var(--on-dark);
  padding-block: var(--s4) var(--s3);
  margin-top: var(--s4);
  border-top: 4px solid var(--signal);
}
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--on-dark-signal); }
.site-footer h2 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-signal);
  margin-bottom: var(--s2);
}
.footer-grid {
  display: grid;
  gap: var(--s3) var(--s4);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  padding-bottom: var(--s3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-grid p, .footer-grid li { color: var(--on-dark-muted); max-width: 40ch; }
.footer-id { font-family: var(--mono); font-size: 0.86rem; line-height: 1.7; }
.footer-id strong { color: #fff; font-weight: 500; letter-spacing: 0.01em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  padding-top: var(--s3);
  font-size: 0.82rem;
  color: var(--on-dark-muted);
}
.footer-bottom p { margin: 0; max-width: none; }

/* --------------------------------------------------------------- print */

@media print {
  .site-header, .breadcrumb, .actions, .skip-link { display: none; }
  body { color: #000; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #000; }
  .site-footer a, .site-footer h2, .footer-id strong { color: #000; }
}

/* ================================================================= visual layer
   Added in the art-direction pass. Brand lockup, illustrated hero, proof band,
   section tone. No external requests; the hero art is a local WebP pair. */

/* --- header lockup ------------------------------------------------------- */
.brand { gap: .9rem; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-legal {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: #9FB4C9; align-self: center; padding-left: .9rem;
  border-left: 1px solid rgba(255,255,255,.22);
}
@media (max-width: 860px) { .brand-legal { display: none; } }

/* --- illustrated hero ---------------------------------------------------- */
.hero--feature {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--hull); border-bottom: 0; padding: 0;
  min-height: clamp(30rem, 46vw, 38rem); display: grid; align-items: center;
}
.hero-art { position: absolute; inset: 0; z-index: -1; display: block; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
  display: block;
}
/* Keeps the reversed headline legible over the lighter part of the artwork. */
.hero--feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg,
    rgba(15,27,42,.96) 0%, rgba(15,27,42,.92) 34%,
    rgba(15,27,42,.62) 52%, rgba(15,27,42,.10) 72%, rgba(15,27,42,0) 88%);
}
.hero-copy { padding-block: 4.5rem; }
.hero--feature .meta { color: #7FB2DC; }
.hero--feature h1 {
  color: #fff; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem);
  line-height: 1.02; max-width: 15ch; margin-bottom: .5rem;
}
.hero--feature .lede { color: #D6E2EE; max-width: 44ch; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }
.btn {
  display: inline-block; padding: .8rem 1.5rem; text-decoration: none;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.45); color: #fff;
}
.btn:hover { background: rgba(255,255,255,.10); color: #fff; }
.btn--primary { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn--primary:hover { background: #FF7A3D; border-color: #FF7A3D; color: var(--ink); }
@media (max-width: 700px) {
  .hero--feature { min-height: 0; }
  .hero-art img { object-position: 68% 40%; }
  .hero--feature::after {
    background: linear-gradient(180deg, rgba(15,27,42,.94) 0%, rgba(15,27,42,.88) 55%, rgba(15,27,42,.80) 100%);
  }
  .hero-copy { padding-block: 3rem 3.2rem; }
}

/* --- proof band ---------------------------------------------------------- */
.proof { background: var(--ink); color: #E7ECF2; padding: 1.6rem 0; }
.proof dl {
  margin: 0; display: grid; gap: 1rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.proof dt {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: #8CA6BE; margin-bottom: .25rem;
}
.proof dd { margin: 0; font-weight: 600; font-size: 1.02rem; color: #fff; }
.proof .mono { font-size: .98rem; }

/* --- section tone -------------------------------------------------------- */
.block--tint { background: var(--mist); }
.block--dark { background: var(--hull); color: #DCE6EF; border-bottom: 0; }
.block--dark h2, .block--dark h3 { color: #fff; }
.block--dark .meta { color: #8CB6DA; }
.block--dark a { color: #FF8A47; }
.block--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); }
.block--dark .ticks li::before { color: #FF8A47; }
.block--wide { padding-top: 5rem; padding-bottom: 5rem; }

/* Legal furniture differs between the two sites on purpose; the copyright is a
   quieter fragment at the end of the sentence rather than a matching prefix. */
.footer-copy { display: block; margin-top: .5rem; opacity: .72; }

/* --- icons --------------------------------------------------------------- */
.icon { display: block; width: 46px; height: 46px; color: var(--signal-dk); }
.card--icon { padding-top: 1.15rem; }
.card-icon { margin-bottom: .9rem; }
.card--icon h3 { font-size: 1.28rem; }
.hero--marked .hero-mark { margin-bottom: 1rem; }
.hero--marked .icon { width: 54px; height: 54px; color: var(--signal-dk); }
.block--dark .icon { color: #FF8A47; }

/* --- mobile navigation --------------------------------------------------- */
.nav-toggle { display: none; }
.nav-label { display: none; }
@media (max-width: 900px) {
  .site-header .wrap { position: relative; }
  .nav-label {
    display: flex; align-items: center; gap: .5rem; margin-left: auto;
    padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.35); color: #fff;
    font-size: .9rem; cursor: pointer; user-select: none;
  }
  .nav-label::before { content: ""; width: 18px; height: 2px; background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }
  .site-nav { flex-basis: 100%; margin-left: 0; max-height: 0; overflow: hidden; }
  .nav-toggle:checked ~ .site-nav { max-height: 30rem; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 0 .2rem; }
  .site-nav li { border-top: 1px solid rgba(255,255,255,.14); }
  .site-nav a { display: block; padding: .8rem 0; font-size: 1rem; }
  .nav-toggle:focus-visible ~ .nav-label { outline: 3px solid var(--signal); outline-offset: 2px; }
}

/* --- responsive tables --------------------------------------------------- */
@media (max-width: 700px) {
  /* caption is missing from this list deliberately no longer: left as
     table-caption inside a display:block table it shrink-to-fits to about
     80px, so the caption printed one word per line on every table page. */
  table, thead, tbody, tr, th, td, caption { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { border: 1px solid var(--rule); margin-bottom: .9rem; padding: .3rem .8rem .6rem; }
  tbody tr:nth-child(even) { background: var(--mist); }
  tbody th { border: 0; padding: .6rem 0 .3rem; font-size: 1.02rem; }
  tbody td { border: 0; padding: .15rem 0; }
  tbody td::before { content: attr(data-label) ": "; color: var(--muted); font-size: .86rem; }
}

/* --- diagrams ------------------------------------------------------------ */
.diagram { margin: 1.8rem 0 0; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font-size: .85rem; color: var(--muted); margin-top: .7rem; max-width: 62ch; }
.dg-node rect { fill: #fff; stroke: var(--steel); stroke-width: 1.5; }
.dg-node text { fill: var(--ink); font-size: 15px; text-anchor: middle; font-weight: 600; }
.dg-node--us rect { fill: var(--hull); stroke: var(--hull); }
.dg-node--us text { fill: #fff; }
.dg-flow path { stroke: var(--signal-dk); stroke-width: 2; fill: none; }
.dg-flow .dg-head { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dg-dashed path { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; }
.dg-cap { fill: var(--muted); font-size: 12.5px; }
.dg-label text { fill: var(--hull); }
.block--dark .dg-node rect { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.4); }
.block--dark .dg-node text, .block--dark .dg-label text { fill: #fff; }

.diagram--incoterms .strip-head {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .6rem;
}
.strip-rule { flex: 1; height: 1px; background: var(--muted); position: relative; }
.strip-rule::after {
  content: ""; position: absolute; right: -1px; top: -3px;
  border-left: 7px solid var(--muted); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
}
.strip-row { margin-bottom: .9rem; }
.strip-label { font-size: .82rem; color: var(--muted); margin: 0 0 .35rem; }
.terms { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.terms--sea { grid-template-columns: repeat(4, 1fr); max-width: 57%; }
.term {
  font-family: var(--mono); font-size: .82rem; text-align: center; padding: .5rem .2rem;
  border: 1px solid var(--rule, #DDE3E9); background: var(--mist); color: var(--ink);
}
.term--sea { background: #E7F0F6; border-color: #C8DCEA; }
@media (max-width: 620px) {
  .terms { grid-template-columns: repeat(4, 1fr); }
  .terms--sea { max-width: none; }
}

/* --- composition refinements --------------------------------------------- */
/* A full-width heading sitting over a half-width paragraph is what made the
   right-hand space read as accidental. Headings now share the text measure. */
.block-head { max-width: 62ch; }
.block-head h2 { position: relative; padding-top: .9rem; }
.block-head h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 2.2rem; height: 3px;
  background: var(--signal);
}
.block--dark .block-head h2::before { background: #FF8A47; }

/* Section rhythm: not every section gets the same air. */
.block { padding: 3.4rem 0; }
.block--tint, .block--dark { padding: 4.6rem 0; }

/* Card titles need to sit clearly above body size. */
.card h3 { font-size: 1.22rem; }

/* Dark bands must carry their own text colour explicitly; inheritance alone left
   list items and prose at body ink on a navy ground. */
.block--dark, .block--dark p, .block--dark li, .block--dark dd, .block--dark td, .block--dark th {
  color: #DCE6EF;
}
.block--dark .ticks li::before { color: #FF8A47; }
.block--dark .facts > div { border-bottom-color: rgba(255,255,255,.18); }
.block--dark .facts dt { color: #9FB8CE; }

/* ------------------------------------------------- house-style corrections
   Removed here, deliberately and with the reasons stated, because each was a
   device that read as a generated design system rather than as a company's
   house style:

     - monospace used as decoration on anything "technical";
     - uppercase micro-labels at 0.10–0.16em tracking;
     - 01 / 02 / 03 numbering on cards;
     - one flat heading scale so every section arrives at the same weight.

   Alignment of figures is kept, but through tabular numerals in the primary
   family instead of a second typeface. */

/* Micro-labels: sentence case, normal tracking, carried by colour and size. */
.hero .kicker,
.leg-label,
.facts dt,
caption,
thead th,
.site-footer h2,
.proof dt,
.diagram--incoterms .strip-head,
.meta,
.brand-sub {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.hero .kicker { font-size: .95rem; font-weight: 400; opacity: .85; }
.proof dt,
.facts dt { font-size: .82rem; color: var(--muted); font-weight: 400; }
.site-footer h2 { font-size: .88rem; font-weight: 600; }
thead th { font-size: .88rem; font-weight: 600; }
caption { font-size: .9rem; font-weight: 400; }

/* The wordmark qualifier stops shouting. */
.brand-name { text-transform: none; letter-spacing: 0; }
.brand-sub { font-size: .78rem; }
.brand-legal { text-transform: none; letter-spacing: 0; }

/* Figures: aligned by the family's tabular set, not by a monospace face. */
.facts dd,
.proof dd,
td.num, th.num,
.term,
.addr,
.breadcrumb,
.footer-id,
.mono,
.flow > li::before {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* A card either earns an icon or stands on its heading; it is never numbered
   for decoration. Numbering survives only in .flow, where the order is the
   information. */

/* Wider heading interval, so a section can be loud or quiet rather than all
   sections arriving at the same size. */
h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.1rem); letter-spacing: -.018em; line-height: 1.04; }
h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.85rem); letter-spacing: -.012em; }
h3 { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); letter-spacing: -.005em; }

/* Fewer hairlines. The rule above a section heading was doing decorative work. */
.block-head h2::before { display: none; }
.block-head h2 { padding-top: 0; }

/* Density varies between sections instead of one uniform rhythm. */
.block { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.block--dark { padding-block: clamp(3.5rem, 2.2rem + 4vw, 5.5rem); }

/* Headline width. The one place the condensed width still earns its keep. */
h1 { font-stretch: 92%; }
h1, h2, h3 { font-weight: 700; }
h4 { font-weight: 600; }

/* ------------------------------------------------------------- composition
   The page was a run of identically shaped sections: eyebrow, heading,
   paragraph, grid, repeat, all at the same size and the same density. These
   three modifiers break that run. They are used sparingly and by hand in the
   content files, not applied by a rule, because the point is that sections
   should differ from each other. */

/* Heading in its own column, content beside it. This site's signature; it is
   deliberately absent from modern-pte.com. */
.block--split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: start;
}
.block--split .block-head { margin: 0; }
.block--split .block-body > :last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .block--split .wrap { grid-template-columns: 1fr; gap: var(--s2); }
}

/* Content out of the text measure, for the diagrams that carry the page. */
.block--bleed .block-body { max-width: none; }
.block--bleed .block-body > .diagram { margin-top: var(--s4); }

/* One section per page carries real weight. */
.block--anchor h2 {
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  max-width: 18ch;
  line-height: 1.05;
}
.block--anchor .block-head { margin-bottom: var(--s3); }

/* A notice placed straight into <main> is outside .wrap, so it ran to the
   viewport edge. Inside a block it is already wrapped, which is why this is
   scoped to the direct child rather than applied to .notice itself. */
main > .notice {
  margin-inline-start: max(1.25rem, calc((100% - var(--wrap)) / 2));
  margin-inline-end: 1.25rem;
}

/* Diagrams are drawn to a fixed geometry; squeezed into a 390px column the
   labels become unreadable. Below the breakpoint they scroll sideways at a
   legible size instead of shrinking. */
@media (max-width: 760px) {
  .diagram { overflow-x: auto; }
  .diagram svg { min-width: 32rem; }
}

/* The mark in the footer, reversed out of the dark ground. Gives the identity a
   second, quieter appearance at the foot of every page. */
.footer-mark { width: 44px; height: 44px; display: block; margin-bottom: .9rem; }

/* A row of onward links directly after body text was butting into the last
   paragraph, so it read as a continuation of the sentence rather than as a
   separate move. */
.prose + .actions { margin-top: 1.6rem; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
