/* ==========================================================================
   K9 NIGHT WATCH
   Black ground, red signal. Square corners, hard rules, no blur, no glow.
   Built to read like a printed service document, not a product page.
   ========================================================================== */

:root {
  /* Light theme. Token names are kept from the dark build so no rule changes:
     --black* = ground tones (now light), --white = ink (now near-black). */
  --black:    #FFFFFF;
  --black-2:  #F6F5F2;
  --black-3:  #EFEDE8;
  --black-4:  #E6E3DC;
  --line:     #DDD9D0;
  --line-2:   #C7C2B6;

  --white:    #121212;
  --grey:     #4A4844;
  --grey-2:   #7A776F;

  --red:      #D81F12;
  --red-2:    #B5160C;

  --font-display: "Archivo", Helvetica, Arial, sans-serif;
  --font-body:    "Public Sans", Helvetica, Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --measure: 38rem;
  --gutter:  clamp(1.1rem, 4vw, 2.75rem);
  --max:     74rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red-2); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

::selection { background: var(--red); color: #fff; }

/* --- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: .7rem 1.2rem; z-index: 300; font-weight: 600; }
.skip:focus { left: 0; top: 0; }

/* --- Nav: a plain bar, ruled top and bottom ----------------------------- */
.floatnav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.floatnav__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  min-height: 3.25rem;
}

/* the <nav> wrapper is the flex child that takes up the slack,
   so the crisis block lands hard against the right edge */
.floatnav__inner > nav { display: flex; justify-self: center; }
.floatnav__inner > .brand { justify-self: start; }
.floatnav__inner > .nav__crisis { justify-self: end; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
  padding-right: 2rem;
}
.brand:hover { color: inherit; }

.brand__mark { width: 26px; height: 26px; flex-shrink: 0; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__name b { color: var(--red); font-weight: 700; }

.nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list li { display: flex; }

.nav__list a {
  display: flex;
  align-items: center;
  padding: 0 1.05rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color .12s linear, box-shadow .12s linear;
}
.nav__list a:hover { color: var(--white); }
.nav__list a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--red); }

.nav__crisis {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0 1.25rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s linear;
}
.nav__crisis:hover { background: var(--red-2); color: #fff; }

@media (max-width: 68rem) {
  .nav__list a { padding: 0 .8rem; letter-spacing: .1em; }
  .brand { padding-right: 1.25rem; }
}

@media (max-width: 54rem) {
  .nav__list { display: none; }
  .floatnav__inner { grid-template-columns: 1fr auto; }
  .floatnav__inner > nav { display: none; }
}

/* --- Type --------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: 1.02;
  font-size: clamp(2rem, 5.4vw, 4.25rem);
}

.display--md { font-size: clamp(1.75rem, 4.4vw, 3.25rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--red);
  margin-bottom: 1.5rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}

/* --- Hero --------------------------------------------------------------- */
.hero { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.hero--home { padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2.5rem, 5vw, 4rem); }
.hero--home h1 { margin-bottom: 1.75rem; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  max-width: 26ch;
  margin-bottom: 1.4rem;
}
.hero--home h1 { max-width: none; }

.hero__one { font-size: clamp(1rem, 1.9vw, 1.375rem); color: var(--grey); max-width: 48ch; margin-bottom: 0; }

.hero__lede { font-size: clamp(1rem, 1.7vw, 1.1875rem); color: var(--grey); max-width: 56ch; line-height: 1.6; }
.hero__lede strong { color: var(--white); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0; margin-top: 2.25rem; border: 1px solid var(--line-2); width: fit-content; }

.btn {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .95rem 1.6rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .12s linear, color .12s linear;
}
.btn + .btn { border-left: 1px solid var(--line-2); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }

/* --- Sections ----------------------------------------------------------- */
.section { padding-block: clamp(2.75rem, 6vw, 4.75rem); border-bottom: 1px solid var(--line); }
.section--tint { background: var(--black-2); }

.section__head { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }

.section__num {
  display: block;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .2em;
  color: var(--red);
  text-transform: uppercase;
  padding-bottom: .85rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.9vw, 2.1rem);
  line-height: 1.12;
  max-width: 26ch;
}

.section__standfirst { margin-top: 1rem; font-size: 1rem; color: var(--grey); max-width: 60ch; line-height: 1.65; }

@media (min-width: 64rem) {
  .section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .section__num { grid-column: 1 / -1; }
  .section__head h2 { grid-column: 1; }
  .section__standfirst { grid-column: 2; margin-top: 0; }
}

.prose { max-width: var(--measure); color: var(--grey); }
.prose strong { color: var(--white); }
.prose--wide { max-width: 50rem; }
.prose h3 { font-size: 1.0625rem; color: var(--white); text-transform: uppercase; letter-spacing: .02em; margin: 2.1rem 0 .7rem; }
.prose h3:first-child { margin-top: 0; }

.xref { margin: 0 0 1.4rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.xref a { color: var(--red); }

/* --- Number band -------------------------------------------------------- */
.band { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); background: var(--black-2); }

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

.band__item { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); }
.band__item:last-child { border-right: 0; }

.band__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -.02em;
  line-height: .9;
  color: var(--white);
  margin-bottom: .75rem;
}

.band__cap { font-family: var(--font-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); line-height: 1.5; display: block; }

.band__src { margin-top: 1.5rem; font-family: var(--font-mono); font-size: .6875rem; color: var(--grey-2); }
.band__src a { color: var(--grey); }

@media (max-width: 48rem) {
  .band__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .band__item:last-child { border-bottom: 0; }
}

/* --- Two questions ------------------------------------------------------ */
.twoq { padding-block: clamp(3rem, 7vw, 5.5rem); }
.twoq h2 { max-width: none; margin-bottom: clamp(2rem, 4vw, 3rem); }

.twoq__list { list-style: none; counter-reset: q; margin: 0; padding: 0; max-width: 54rem; border-top: 1px solid var(--line-2); }

.twoq__list > li {
  counter-increment: q;
  border-bottom: 1px solid var(--line-2);
  padding: clamp(1.2rem, 2.5vw, 1.75rem) 0;
  display: grid;
  grid-template-columns: clamp(2.75rem, 6vw, 4.5rem) 1fr;
  gap: 1rem;
  align-items: baseline;
}

.twoq__list > li::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .1em;
  color: var(--red);
}

.twoq__list > li > span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2.1vw, 1.625rem);
  line-height: 1.26;
}

.twoq__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 .9rem;
}

.twoq__cite { font-family: var(--font-mono); font-size: .6875rem; color: var(--grey-2); max-width: 60ch; line-height: 1.7; margin-bottom: 1.75rem; }
.twoq__more a { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* --- Tiles -------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0; border: 1px solid var(--line); }

.tile {
  background: var(--black);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  display: flex; flex-direction: column; gap: .5rem;
  min-height: 10.5rem;
  border-right: 1px solid var(--line);
  transition: background .12s linear;
}
.tile:last-child { border-right: 0; }
.section--tint .tile { background: var(--black-2); }
.tile:hover { background: var(--black-4); color: inherit; }

.tile__n { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; color: var(--red); margin-bottom: 1.1rem; }
.tile h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.125rem; }
.tile p { font-size: .875rem; color: var(--grey); margin: 0; }

@media (max-width: 60rem) {
  .tile { border-right: 0; border-bottom: 1px solid var(--line); }
  .tile:last-child { border-bottom: 0; }
}

/* --- Service branches --------------------------------------------------- */
.branches { padding-block: clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }

.branches__label {
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .2em; color: var(--grey-2); text-align: center;
  margin: 0 0 1.9rem;
}

.branches__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); }

.branches__row figure {
  margin: 0; padding: 1.5rem .75rem;
  display: flex; flex-direction: column; align-items: center; gap: .85rem;
  border-right: 1px solid var(--line);
}
.branches__row figure:last-child { border-right: 0; }

.branches__row img { width: clamp(44px, 6vw, 68px); height: auto; opacity: .85; transition: opacity .12s linear; }
.branches__row figure:hover img { opacity: 1; }

.branches__row figcaption {
  font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--grey-2); text-align: center;
}

@media (max-width: 48rem) {
  .branches__row { grid-template-columns: repeat(3, 1fr); }
  .branches__row figure:nth-child(3n) { border-right: 0; }
  .branches__row figure:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

/* --- Plain closing ------------------------------------------------------ */
.plain { padding-block: clamp(3rem, 7vw, 5.5rem); border-bottom: 0; }

.plain__big {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 3rem); line-height: 1.08;
  margin-bottom: 1.2rem; max-width: 24ch;
}
.plain__sub { font-size: 1rem; color: var(--grey); max-width: 54ch; line-height: 1.65; }
.plain__sub a { color: var(--red); }

/* --- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0; border: 1px solid var(--line); margin-block: clamp(1.75rem, 3.5vw, 2.5rem); }

.stat { background: transparent; padding: 1.4rem 1.3rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }

.stat__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--white); }
.stat__label { font-size: .8125rem; color: var(--grey); margin-top: .7rem; line-height: 1.5; }
.stat__src { font-family: var(--font-mono); font-size: .625rem; color: var(--grey-2); margin-top: .8rem; }

@media (max-width: 52rem) {
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* --- Figure & forest plot ----------------------------------------------- */
.figure { margin-block: clamp(1.75rem, 3.5vw, 2.5rem); border: 1px solid var(--line); background: transparent; padding: clamp(1.2rem, 2.5vw, 1.75rem); }

.figure__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-transform: uppercase; }
.figure__sub { font-size: .8125rem; color: var(--grey); margin-top: .5rem; max-width: 64ch; }

.fp { margin-top: 1.75rem; display: grid; gap: 1.05rem; }
.fp__row { display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr minmax(7.5rem, auto); gap: .9rem; align-items: center; }
.fp__name { font-size: .8125rem; line-height: 1.35; }
.fp__name span { display: block; font-family: var(--font-mono); font-size: .625rem; color: var(--grey-2); margin-top: .2rem; }

.fp__track { position: relative; height: 24px; background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat; }
.fp__null { position: absolute; top: 2px; bottom: 2px; width: 1px; background: var(--line-2); }
.fp__null::after { content: attr(data-label); position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .5625rem; color: var(--grey-2); }
.fp__ci { position: absolute; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(216,31,18,.5); }
.fp__pt { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--red); }
.fp__val { font-family: var(--font-mono); font-size: .75rem; color: var(--grey); text-align: right; }
.fp__val b { color: var(--white); font-weight: 500; }

.fp__row:nth-child(1) .fp__null { left: 80%; }
.fp__row:nth-child(1) .fp__ci   { left: 12%;   width: 46%; }
.fp__row:nth-child(1) .fp__pt   { left: 36%; }
.fp__row:nth-child(2) .fp__null { left: 87.5%; }
.fp__row:nth-child(2) .fp__ci   { left: 8.75%; width: 67.5%; }
.fp__row:nth-child(2) .fp__pt   { left: 42.5%; }
.fp__row:nth-child(3) .fp__null { left: 91.67%; }
.fp__row:nth-child(3) .fp__ci   { left: 10.83%; width: 51.67%; }
.fp__row:nth-child(3) .fp__pt   { left: 36.67%; }
.fp__row:nth-child(4) .fp__null { left: 14.29%; }
.fp__row:nth-child(4) .fp__ci   { left: 42.86%; width: 42.86%; }
.fp__row:nth-child(4) .fp__pt   { left: 64.29%; }
.fp__row:nth-child(5) .fp__null { left: 85.98%; }
.fp__row:nth-child(5) .fp__ci   { left: 14.02%; width: 57.30%; }
.fp__row:nth-child(5) .fp__pt   { left: 43.32%; }
.fp__row:nth-child(6) .fp__null { left: 75%; }
.fp__row:nth-child(6) .fp__ci   { left: 25%;   width: 50%; }
.fp__row:nth-child(6) .fp__pt   { left: 50%; }

.figure__foot { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--grey); }
.figure__foot cite { font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: var(--grey-2); }

@media (max-width: 46rem) {
  .fp__row { grid-template-columns: 1fr; gap: .3rem; }
  .fp__val { text-align: left; }
  .fp__track { margin-block: .4rem .9rem; }
}

/* --- Tables ------------------------------------------------------------- */
.table-wrap { margin-top: 1.4rem; }
table.data { width: 100%; border-collapse: collapse; font-size: .8125rem; border: 1px solid var(--line); }

table.data caption {
  text-align: left; font-family: var(--font-mono); font-size: .625rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--grey-2); padding-bottom: .65rem;
}

table.data th, table.data td { text-align: left; padding: .55rem .7rem; border: 1px solid var(--line); vertical-align: top; color: var(--grey); }
table.data td:first-child { color: var(--white); }
table.data thead th {
  font-family: var(--font-mono); font-size: .625rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--grey-2); font-weight: 500; background: var(--black-3);
}
table.data td.num { font-family: var(--font-mono); white-space: nowrap; }

@media (max-width: 46rem) {
  table.data thead { display: none; }
  table.data, table.data tr { display: block; }
  table.data tr { border-bottom: 1px solid var(--line-2); padding-block: .5rem; }
  table.data td { display: grid; grid-template-columns: 9.5rem 1fr; gap: .6rem; border: 0; padding: .3rem .6rem; }
  table.data td::before { content: attr(data-th); font-family: var(--font-mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-2); }
}

/* --- Cards -------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0; border: 1px solid var(--line); margin-block: clamp(1.5rem, 3vw, 2.25rem); }

.card { border-right: 1px solid var(--line); padding: 1.5rem 1.35rem; }
.card:last-child { border-right: 0; }
.card__tag { font-family: var(--font-mono); font-size: .5625rem; text-transform: uppercase; letter-spacing: .14em; color: var(--red); }
.card h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1rem; margin: .7rem 0 .5rem; }
.card p { font-size: .875rem; color: var(--grey); margin: 0; }

@media (max-width: 64rem) {
  .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
}

/* --- Law panels --------------------------------------------------------- */
.lawgroup { margin-top: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); }

details.law { border-bottom: 1px solid var(--line); background: transparent; }
details.law:last-child { border-bottom: 0; }
details.law[open] { background: var(--black-2); }

details.law > summary {
  cursor: pointer; list-style: none;
  padding: 1.05rem 1.3rem;
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
}
details.law > summary::-webkit-details-marker { display: none; }
details.law > summary:hover .law__title { color: var(--red-2); }

.law__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .9375rem; letter-spacing: .01em; transition: color .12s linear; }
.law__cite { display: block; font-family: var(--font-mono); font-size: .6875rem; color: var(--grey-2); margin-top: .35rem; }

.law__chev { width: 9px; height: 9px; border-right: 1.5px solid var(--grey-2); border-bottom: 1.5px solid var(--grey-2); transform: rotate(45deg); transition: transform .15s linear; }
details.law[open] .law__chev { transform: rotate(225deg); }

.law__body { padding: 1.2rem 1.3rem 1.5rem; border-top: 1px solid var(--line); color: var(--grey); }
.law__body > p { font-size: .9375rem; max-width: 62ch; }
.law__body strong { color: var(--white); }
.law__body h3 { color: var(--white); font-family: var(--font-display); text-transform: uppercase; font-size: .9375rem; margin: 1.7rem 0 .65rem; }

/* Quoted law: a ruled block, not a coloured bar */
.quote {
  margin: 1.2rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--black);
  border: 1px solid var(--line-2);
  border-top: 3px double var(--line-2);
  font-size: .875rem;
  line-height: 1.65;
  color: var(--white);
}
.quote p { margin-bottom: .8rem; }
.quote p:last-of-type { margin-bottom: 0; }
.quote cite { display: block; font-style: normal; font-family: var(--font-mono); font-size: .6875rem; color: var(--grey-2); margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--line); }

.pill-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.pill-list li { font-size: .9375rem; padding-left: 1.3rem; position: relative; color: var(--grey); }
.pill-list li::before { content: "\2014"; position: absolute; left: 0; top: 0; color: var(--red); font-family: var(--font-mono); font-size: .75rem; }
.pill-list li strong { color: var(--white); font-weight: 600; }

/* --- Split panels ------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); align-items: stretch; gap: 0; border: 1px solid var(--line); margin-block: clamp(1.5rem, 3vw, 2.25rem); }

.panel { padding: 1.5rem 1.35rem; border-right: 1px solid var(--line); }
.panel:last-child { border-right: 0; }
.panel h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .9375rem; margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.panel--no h3 { color: var(--red-2); }
.panel ol, .panel ul { margin: 0; padding-left: 1.15rem; font-size: .9375rem; color: var(--grey); }
.panel li { margin-bottom: .55rem; }
.panel li:last-child { margin-bottom: 0; }
.panel li strong { color: var(--white); font-weight: 600; }
.panel__note { font-size: .8125rem; color: var(--grey-2); margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); }

@media (max-width: 56rem) {
  .panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .panel:last-child { border-bottom: 0; }
}

/* --- Callout: a labelled box, no coloured bar --------------------------- */
.callout {
  border: 1px solid var(--line-2);
  padding: 1.1rem 1.25rem;
  background: var(--black);
  margin-block: 1.6rem;
  font-size: .9375rem;
  color: var(--grey);
}
.callout strong { color: var(--white); }
.callout__tag {
  display: block; font-family: var(--font-mono); font-size: .5625rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--red);
  margin-bottom: .75rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line);
}
.callout p { max-width: 64ch; }

/* --- Steps -------------------------------------------------------------- */
.steps { list-style: none; counter-reset: s; margin: clamp(1.5rem,3vw,2.25rem) 0 0; padding: 0; border: 1px solid var(--line); }
.steps > li { counter-increment: s; padding: 1.4rem 1.35rem 1.4rem 3.75rem; position: relative; border-bottom: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 0; }
.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 1.35rem; top: 1.45rem; font-family: var(--font-mono); font-size: .75rem; color: var(--red); }
.steps h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .9375rem; margin-bottom: .5rem; }
.steps p { font-size: .9375rem; color: var(--grey); margin-bottom: .55rem; }
.steps strong { color: var(--white); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { margin-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--line); }
details.q { border-bottom: 1px solid var(--line); }
details.q > summary {
  cursor: pointer; list-style: none;
  padding: 1.05rem 2.5rem 1.05rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  position: relative;
}
details.q > summary::-webkit-details-marker { display: none; }
details.q > summary:hover { color: var(--red-2); }
details.q > summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1rem; color: var(--red); }
details.q[open] > summary::after { content: "\2212"; }

.q__body { padding-bottom: 1.3rem; max-width: 64ch; }
.q__body p { font-size: .9375rem; color: var(--grey); }
.q__body p strong { color: var(--white); }

/* --- Ledger ------------------------------------------------------------- */
.ledger { border: 1px solid var(--line); margin-top: clamp(1.5rem,3vw,2.25rem); }
.ledger__row { padding: 1.25rem 1.35rem; display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: 1.1rem; border-bottom: 1px solid var(--line); }
.ledger__row:last-child { border-bottom: 0; }
.ledger__k { font-family: var(--font-mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .14em; color: var(--red); padding-top: .2rem; }
.ledger__v { font-size: .9375rem; color: var(--grey); }
.ledger__v strong { color: var(--white); font-weight: 600; }

@media (max-width: 42rem) { .ledger__row { grid-template-columns: 1fr; gap: .4rem; } }

/* --- Sources ------------------------------------------------------------ */
.sources { margin-top: clamp(1.5rem,3vw,2.25rem); display: grid; gap: 1rem; }
.source { font-size: .8125rem; color: var(--grey); padding-left: 2.5rem; position: relative; line-height: 1.6; max-width: 70ch; }
.source__n { position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: .6875rem; color: var(--red); }
.source cite { font-style: normal; }
.source em { color: var(--white); font-style: italic; }

/* --- Footer ------------------------------------------------------------- */
.footer { background: var(--black-2); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem; }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(9rem, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.footer__brand { display: flex; align-items: center; gap: .7rem; }
.footer__brand img { width: 36px; height: 36px; }
.footer__brandname { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.footer__brandname b { color: var(--red); }
.footer__mission { font-size: .8125rem; color: var(--grey); margin-top: 1rem; max-width: 34ch; line-height: 1.65; }

.footer h3 { font-family: var(--font-mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .18em; color: var(--red); font-weight: 500; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .8125rem; }
.footer ul a { text-decoration: none; color: var(--grey); }
.footer ul a:hover { color: var(--white); }

.footer__crisis {
  margin-top: clamp(2rem,4vw,3rem);
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line-2);
  background: var(--black);
}
.footer__crisis p { font-size: .8125rem; color: var(--grey); max-width: 72ch; line-height: 1.65; }
.footer__crisis strong { color: var(--white); }

.footer__meta {
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; justify-content: space-between;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2);
}

.todo {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .06em;
  color: var(--red); border: 1px dashed currentColor; padding: .1rem .4rem;
  display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* --- Print -------------------------------------------------------------- */
@media print {
  .floatnav, .hero__actions { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .band, .footer { background: #fff !important; border-color: #ccc; }
  h1,h2,h3,.display,.band__num { color: #000; }
  p, li, td, .prose, .law__body, .q__body { color: #222; }
  details { break-inside: avoid; }
  .quote { background: #f4f4f4; color: #000; border-color: #bbb; }
  .quote cite, .section__num, .law__cite, .source__n { color: #666; }
  a::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}

/* --- Team verification -------------------------------------------------- */
.lookup { margin-block: clamp(1.5rem, 3vw, 2.25rem); max-width: 40rem; }

.lookup__label {
  display: block;
  font-family: var(--font-mono);
  font-size: .625rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
  margin-bottom: .6rem;
}

.lookup__row { display: flex; border: 1px solid var(--line-2); }

.lookup__input {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--black);
  color: var(--white);
  border: 0;
  padding: .95rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lookup__input::placeholder { color: var(--grey-2); text-transform: none; letter-spacing: .04em; }
.lookup__input:focus { outline: none; background: var(--black-3); }
.lookup__row:focus-within { border-color: var(--red); }

.lookup__btn { border-left: 1px solid var(--line-2); }

.lookup__help { font-size: .8125rem; color: var(--grey-2); margin-top: .7rem; }

.result { margin-block: 1.25rem clamp(1.75rem, 3.5vw, 2.5rem); max-width: 40rem; border: 1px solid var(--line-2); padding: 1.1rem 1.25rem; background: var(--black-2); color: var(--grey); font-size: .9375rem; }
.result--yes  { border-color: var(--white); }
.result--warn { border-color: var(--grey); }
.result--no   { border-color: var(--red); }
.result--wait { border-color: var(--line); }

.result__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .9375rem; color: var(--white); margin-bottom: .6rem; }
.result--no .result__title { color: var(--red-2); }

.result code { font-family: var(--font-mono); color: var(--white); }

.result__table { width: 100%; border-collapse: collapse; margin-block: .85rem; font-size: .875rem; }
.result__table th, .result__table td { text-align: left; padding: .5rem .6rem; border: 1px solid var(--line); vertical-align: top; }
.result__table th { width: 9rem; font-family: var(--font-mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey-2); font-weight: 500; }
.result__table td { color: var(--white); }

.result__foot { font-size: .8125rem; color: var(--grey-2); margin: 0; }

@media (max-width: 36rem) {
  .lookup__row { flex-direction: column; }
  .lookup__btn { border-left: 0; border-top: 1px solid var(--line-2); justify-content: center; }
  .result__table th { width: 7rem; }
}

/* --- Home hero: logo only ------------------------------------------------ */
.hero__center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { margin: 0; width: min(100%, 30rem); }
.hero__logo img { width: 100%; height: auto; }
.hero--home .hero__actions { margin-top: 1.25rem; }

/* Home hero buttons: same width as the logo, two equal cells */
.hero--home .hero__actions {
  width: min(100%, 30rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: .6rem;
}
.hero--home .btn { justify-content: center; padding-inline: 1rem; }

/* Home hero statement under the logo */
.hero__claim {
  margin: 1.1rem 0 0;
  max-width: 44rem;
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  line-height: 1.6;
  color: var(--grey);
}
.hero__claim strong { color: var(--white); font-weight: 700; }
.hero__src {
  margin: .6rem 0 0;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.hero--home .hero__actions { margin-top: 1.4rem; }
.hero__claim p { margin: 0 0 .45rem; }
.hero__claim p:last-child { margin-bottom: 0; }

/* --- Countries strip ---------------------------------------------------- */
.countries { padding-block: clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); background: var(--black-2); }
.countries__row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.country { padding: 1.5rem 1.4rem; border-right: 1px solid var(--line); }
.country:last-child { border-right: 0; }
.country h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.country p { font-size: .9375rem; color: var(--grey); margin: 0 0 .8rem; }
.country p strong { color: var(--white); font-weight: 700; }
.country__src { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-2); }
@media (max-width: 56rem) {
  .countries__row { grid-template-columns: 1fr; }
  .country { border-right: 0; border-bottom: 1px solid var(--line); }
  .country:last-child { border-bottom: 0; }
}
.branches__row--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 48rem) {
  .branches__row--4 { grid-template-columns: repeat(2, 1fr); }
  .branches__row--4 figure:nth-child(2n) { border-right: 0; }
  .branches__row--4 figure:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* --- Answers, inline under each question --------------------------------- */
.twoq__list > li { grid-template-rows: auto auto; }
.twoq__list > li > span { grid-column: 2; }
.twoq__ans { grid-column: 2; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.twoq__ans-lead { margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--white); }
.twoq__ans-note { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--grey); max-width: 54ch; }
.twoq__examples { margin: .4rem 0 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.twoq__examples li { font-size: 1rem; line-height: 1.45; color: var(--grey); padding-left: 1.1rem; position: relative; }
.twoq__examples li::before { content: "\2014"; position: absolute; left: 0; color: var(--red); }
.twoq__kicker { margin-top: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
/* --- Home hero: logo left, statement right ----------------------------- */
.hero__split { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero__split .hero__logo { margin: 0; width: min(100%, 26rem); justify-self: center; }
.hero__side { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero__side .hero__claim { margin-top: 0; max-width: 34rem; }
.hero__side .hero__claim p { font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.45; margin-bottom: .55rem; }
.hero__side .hero__src { margin-top: .9rem; }
.hero--home .hero__side .hero__actions { width: 100%; max-width: 26rem; margin-top: 1.6rem; }
@media (min-width: 60rem) {
  .hero__split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero__split .hero__logo { justify-self: start; width: min(100%, 24rem); }
}

/* --- Cross-border matrix ------------------------------------------------ */
.xb { display: grid; grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.xb__card { padding: 1.5rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.xb__card h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: .03em; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line-2); }
.xb__card dl { margin: 0; display: grid; grid-template-columns: minmax(0, 6.5rem) 1fr; gap: 0; }
.xb__card dt { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); padding: .75rem .6rem .75rem 0; border-bottom: 1px solid var(--line); }
.xb__card dd { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--grey); padding: .75rem 0; border-bottom: 1px solid var(--line); }
.xb__card dt:nth-last-of-type(1), .xb__card dd:last-of-type { border-bottom: 0; }
.xb__card dd strong { color: var(--white); font-weight: 600; }
.xb__card dd a { color: var(--red); }
@media (min-width: 45rem) { .xb { grid-template-columns: repeat(2, 1fr); } .xb__card:nth-child(2n) { border-right: 0; } .xb__card:nth-last-child(-n+2) { border-bottom: 0; } }
@media (min-width: 72rem) { .xb { grid-template-columns: repeat(3, 1fr); } .xb__card:nth-child(2n) { border-right: 1px solid var(--line); } .xb__card:nth-child(3n) { border-right: 0; } .xb__card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); } .xb__card:nth-last-child(-n+3) { border-bottom: 0; } }
@media (max-width: 44.99rem) { .xb__card { border-right: 0; } .xb__card:last-child { border-bottom: 0; } .xb__card dl { grid-template-columns: 1fr; } .xb__card dt { border-bottom: 0; padding-bottom: .2rem; } .xb__card dd { padding-top: .2rem; } }
.xb__sub { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.125rem; margin-top: clamp(2rem, 4vw, 3rem); }

/* --- Centre the stats band and the countries strip ---------------------- */
.band__item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.band__cap { max-width: 22ch; }
.band__src { text-align: center; }
.country { text-align: center; }
.country h3 { text-align: center; }
.country p { margin-inline: auto; max-width: 34ch; }
.country__src { display: block; text-align: center; }

.band__item, .band__num, .band__cap, .band__src,
.country, .country h3, .country p, .country__src { text-align: center !important; }
.band__num, .band__cap { display: block; margin-inline: auto; }
.country h3 { margin-inline: auto; }

/* --- Square floating nav ------------------------------------------------ */
.floatnav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: var(--max);
  background: var(--black);
  border: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  box-shadow: 4px 4px 0 0 var(--line);
}
.floatnav__inner { padding-left: 1.1rem; }
main { padding-top: calc(3.25rem + 2rem + 2px); }
html { scroll-padding-top: 7rem; }
@media (max-width: 54rem) { .floatnav { width: calc(100% - 1.5rem); top: .75rem; } main { padding-top: calc(3.25rem + 1.5rem + 2px); } }

/* --- Footer crisis block: centred, under everything --------------------- */
.footer__crisis { margin: 2rem auto 0; max-width: 60rem; text-align: center; border: 0; border-top: 1px solid var(--line); padding: 1.5rem 1rem 0; background: transparent; }
.footer__crisis p { margin-inline: auto; }

.country p, .country__src { text-align: left !important; }
.country p { margin-inline: 0; max-width: none; }
.country__src { display: block; }

/* --- Emblems on white: full colour, larger ------------------------------ */
.branches__row img { width: clamp(76px, 9vw, 116px); opacity: 1; }
.branches__row figure { padding: 1.6rem .75rem; }
@media (max-width: 48rem) { .branches__row img { width: clamp(72px, 22vw, 96px); } }

/* --- Contact form ------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.cform { padding: clamp(1.4rem, 3vw, 2rem); }
.cform__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem 1.25rem; }
.cform__field { display: flex; flex-direction: column; gap: .4rem; }
.cform__field--wide { margin-top: 1rem; }
.cform__label { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.cform__label em { font-style: normal; color: var(--grey-2); letter-spacing: .08em; margin-left: .4rem; }
.cform input, .cform select, .cform textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--white); background: var(--black);
  border: 1px solid var(--line-2); padding: .8rem .9rem; width: 100%; box-sizing: border-box; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.cform select { background-image: linear-gradient(45deg, transparent 50%, var(--grey-2) 50%), linear-gradient(135deg, var(--grey-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
.cform textarea { resize: vertical; min-height: 7rem; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--red); }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.cform__privacy { margin: 0; font-size: .8125rem; color: var(--grey-2); max-width: 44ch; line-height: 1.55; }
.cform__status { margin: 1rem 0 0; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; min-height: 1.2em; }
.cform__status--ok { color: var(--white); } .cform__status--warn { color: var(--red); } .cform__status--wait { color: var(--grey-2); }
.contact__side { padding: clamp(1.4rem, 3vw, 2rem); border-top: 1px solid var(--line); background: var(--black-2); }
.contact__side h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .9375rem; margin: 0 0 .7rem; }
.contact__side h3 + .pill-list, .contact__side h3 + p { margin-bottom: 1.6rem; }
.contact__side p { font-size: .9375rem; color: var(--grey); }
.contact__side strong { color: var(--white); }
@media (min-width: 60rem) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } .contact__side { border-top: 0; border-left: 1px solid var(--line); } }

/* --- "Never required": unmistakable ------------------------------------- */

/* --- Report button in nav ----------------------------------------------- */
.nav__report { flex-shrink: 0; display: flex; align-items: center; padding: 0 1.1rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); text-decoration: none; border-left: 1px solid var(--line); white-space: nowrap; }
.nav__report:hover { color: var(--white); background: var(--black-2); }
.floatnav__inner { grid-template-columns: 1fr auto auto auto; }
@media (max-width: 54rem) { .floatnav__inner { grid-template-columns: 1fr auto auto; } .nav__report { padding: 0 .8rem; } }

/* --- Never required: report CTA ----------------------------------------- */

/* --- Penalties block ---------------------------------------------------- */
.penalties { margin-top: clamp(1.5rem, 3vw, 2.25rem); border: 2px solid var(--white); padding: clamp(1.4rem, 3vw, 2.25rem); background: var(--black-2); }
.penalties__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3.6vw, 2.4rem); letter-spacing: .02em; margin: 0 0 .6rem; color: var(--red); }
.penalties__sub { max-width: 64ch; color: var(--grey); margin: 0 0 1.5rem; }
.penalties__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0; border: 1px solid var(--line-2); }
.penalty { padding: 1.3rem 1.25rem; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--black); }
.penalty__where { margin: 0 0 .5rem; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-2); }
.penalty__big { margin: 0 0 .5rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -.02em; color: var(--white); }
.penalty__what { margin: 0 0 .7rem; font-size: .9375rem; line-height: 1.55; color: var(--grey); }
.penalty__what strong { color: var(--white); }
.penalty__cite { margin: 0; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .06em; color: var(--grey-2); }
@media (min-width: 60rem) { .penalties__grid { grid-template-columns: repeat(3, 1fr); } .penalty:nth-child(3n) { border-right: 0; } .penalty:nth-last-child(-n+2) { border-bottom: 0; } }
.branches__row--6 { grid-template-columns: repeat(6, 1fr); } .branches__row--3 { grid-template-columns: repeat(3, 1fr); } .branches__row--1 { grid-template-columns: 1fr; max-width: 14rem; margin-inline: auto; }
@media (max-width: 48rem) { .branches__row--6 { grid-template-columns: repeat(3, 1fr); } }

/* --- Emblem rows: identical square stage per cell, captions on one line --- */
.branches__row figure { display: grid; grid-template-rows: var(--stage, 116px) auto; align-items: center; justify-items: center; row-gap: .8rem; padding: 1.4rem .6rem 1.2rem; }
.branches__row img { width: var(--stage, 116px); height: var(--stage, 116px); max-width: 100%; object-fit: contain; object-position: center; }
.branches__row figcaption { align-self: start; min-height: 2.2em; display: flex; align-items: flex-start; justify-content: center; text-align: center; line-height: 1.35; }
@media (max-width: 60rem) { .branches__row figure { --stage: 96px; } }
@media (max-width: 48rem) { .branches__row figure { --stage: 84px; } }

/* --- Penalties: two labelled rows, no ragged cells ---------------------- */
.penalties__row-label { margin: 1.4rem 0 .6rem; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.penalties__row-label:first-of-type { margin-top: 0; }
.penalties__grid--3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.penalties__grid--2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.penalty:last-child { border-right: 0; }
.penalties__grid--3 .penalty, .penalties__grid--2 .penalty { border-bottom: 0; }
.penalty__big--text { font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: 0; line-height: 1.15; }
@media (min-width: 60rem) { .penalties__grid--3 { grid-template-columns: repeat(3, 1fr); } .penalties__grid--2 { grid-template-columns: repeat(2, 1fr); } .penalties__grid--3 .penalty:nth-child(3n) { border-right: 0; } .penalties__grid--2 .penalty:nth-child(2n) { border-right: 0; } }
@media (max-width: 59.99rem) { .penalties__grid--3 .penalty, .penalties__grid--2 .penalty { border-right: 0; border-bottom: 1px solid var(--line-2); } .penalties__grid--3 .penalty:last-child, .penalties__grid--2 .penalty:last-child { border-bottom: 0; } }

/* --- Sources: grouped, two-column, compact ----------------------------- */
.sources { display: grid; gap: .6rem; margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }
details.src { border: 1px solid var(--line); background: var(--black); }
details.src > summary { cursor: pointer; list-style: none; padding: .85rem 1.1rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .8125rem; letter-spacing: .04em; display: flex; align-items: center; gap: .6rem; }
details.src > summary::-webkit-details-marker { display: none; }
details.src > summary::after { content: "\\2212"; margin-left: auto; font-family: var(--font-mono); color: var(--red); }
details.src:not([open]) > summary::after { content: "+"; }
.src__n { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em; color: var(--grey-2); font-weight: 400; }
.src__grid { padding: .4rem 1.1rem 1rem; border-top: 1px solid var(--line); columns: 1; column-gap: 2rem; }
.src__grid .source { break-inside: avoid; margin: .55rem 0 0; font-size: .75rem; line-height: 1.45; max-width: none; padding-left: 2.1rem; }
.src__grid .source__n { font-size: .625rem; top: .1rem; }
@media (min-width: 60rem) { .src__grid { columns: 2; } }
@media (min-width: 80rem) { .src__grid { columns: 3; } }
.penalty__unit { font-size: .45em; font-weight: 700; letter-spacing: .02em; color: var(--grey-2); margin-left: .15em; }

/* --- Never required: report button on the right ------------------------- */

/* --- Never required (clean) -------------------------------------------- */
.twoq__never { max-width: 54rem; margin: 0 0 1.25rem; padding: 1.1rem 0 1.2rem; border-top: 2px solid var(--white); border-bottom: 2px solid var(--white); }
.twoq__never-label { margin: 0 0 .45rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.twoq__never-items { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--white); }
.twoq__never-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.twoq__never-note { margin: 0; flex: 1 1 20rem; font-size: .9375rem; line-height: 1.5; color: var(--grey); }
.twoq__never-note strong { color: var(--white); }
.twoq__never-note a { color: var(--red); }
.twoq__never-cta .btn { flex: 0 0 auto; }

/* --- Verify page: one column, one width, hairlines not boxes ------------ */
.vf { max-width: 54rem; display: grid; gap: 0; }
.vf__lookup { max-width: none; margin: clamp(1rem, 2vw, 1.5rem) 0 0; }
.vf .lookup__input { font-size: 1.25rem; padding: 1.05rem 1.2rem; }
.vf .lookup__btn { padding-inline: 1.9rem; }
.vf .result { max-width: none; margin: 1.1rem 0 0; }
.vf__cols { display: grid; grid-template-columns: 1fr; margin-top: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.vf__col { padding: 1.25rem 0; }
.vf__col h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .9375rem; letter-spacing: .03em; margin: 0 0 .7rem; }
.vf__col--no h3 { color: var(--red); }
.vf__col .pill-list { margin-top: 0; }
@media (min-width: 48rem) { .vf__cols { grid-template-columns: 1fr 1fr; } .vf__col { padding: 1.25rem 1.5rem 1.25rem 0; } .vf__col--no { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--line); } }
.vf__note { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--grey); }
.vf__note > p { font-size: .9375rem; max-width: 62ch; }
.vf__note > p strong { color: var(--white); }
.vf__note .quote { margin: 1rem 0; }
.vf__faq { margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 12rem) 1fr; }
.vf__faq dt { padding: .9rem 1rem .9rem 0; font-family: var(--font-display); font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid var(--line); }
.vf__faq dd { margin: 0; padding: .9rem 0; font-size: .9375rem; line-height: 1.55; color: var(--grey); border-bottom: 1px solid var(--line); }
@media (max-width: 40rem) { .vf__faq { grid-template-columns: 1fr; } .vf__faq dt { border-bottom: 0; padding-bottom: .2rem; } .vf__faq dd { padding-top: .2rem; } }

/* --- Team record page --------------------------------------------------- */
.team .wrap { max-width: 54rem; }
.team__kicker { margin: 0 0 1rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-2); }
.team__status { color: var(--white); padding: .15rem .5rem; border: 1px solid var(--line-2); }
.team__status--active { border-color: var(--white); }
.team__status--retired, .team__status--withdrawn { color: var(--grey-2); }
.team__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 10vw, 6.5rem); line-height: .95; letter-spacing: -.01em; margin: 0 0 .5rem; }
.team__id { margin: 0 0 1.75rem; font-family: var(--font-mono); font-size: 1.125rem; letter-spacing: .14em; color: var(--red); }
.team__facts { margin: 0; display: grid; grid-template-columns: minmax(0, 9rem) 1fr; border-top: 2px solid var(--white); }
.team__facts dt { padding: .8rem 1rem .8rem 0; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); border-bottom: 1px solid var(--line); }
.team__facts dd { margin: 0; padding: .8rem 0; font-size: 1rem; color: var(--white); border-bottom: 1px solid var(--line); }
.team__note { margin: 1rem 0 0; font-size: .9375rem; color: var(--grey); }
.team__h { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: .03em; margin: 2rem 0 .6rem; }
.team__tasks { margin-top: 0; }
.team__cols { margin-top: 2rem; }
.team__foot { margin: 1.75rem 0 0; font-size: .9375rem; color: var(--grey); max-width: 62ch; }
.team__foot a { color: var(--red); }
.result__link { margin: .9rem 0 0; }
@media (max-width: 40rem) { .team__facts { grid-template-columns: 1fr; } .team__facts dt { border-bottom: 0; padding-bottom: .15rem; } .team__facts dd { padding-top: .15rem; } }

/* --- Legal pages -------------------------------------------------------- */
.legal .wrap { max-width: 54rem; }
.legal__list { list-style: none; counter-reset: s; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 0; border-top: 2px solid var(--white); }
.legal__list > li { counter-increment: s; padding: 1.4rem 0 1.5rem 3.25rem; position: relative; border-bottom: 1px solid var(--line); }
.legal__list > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1.5rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--red); }
.legal__list h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .9375rem; letter-spacing: .03em; margin: 0 0 .6rem; }
.legal__list p { font-size: .9375rem; line-height: 1.65; color: var(--grey); max-width: 66ch; }
.legal__list p strong { color: var(--white); }
.legal__list a { color: var(--red); }
.footer__meta a { color: var(--grey-2); text-decoration: none; }
.footer__meta a:hover { color: var(--white); }
.cform__agree { margin: 0; font-size: .75rem; color: var(--grey-2); flex: 1 1 100%; }
.cform__agree a { color: var(--grey); }
.footer__agree { flex: 1 1 100%; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .75rem; color: var(--grey-2); }

/* ===================== Mobile pass ===================== */
@media (max-width: 54rem) {
  /* nav: three items in a narrow bar */
  .brand__name { font-size: .8125rem; letter-spacing: .05em; }
  .nav__report { font-size: .625rem; padding: 0 .7rem; letter-spacing: .08em; }
  .nav__report::before { content: "Report"; }
  .nav__report span, .nav__report--long { display: none; }
  .nav__crisis { padding: 0 .8rem; font-size: .625rem; letter-spacing: .08em; }
  .nav__crisis span { display: none; }
  /* readable minimums for mono labels */
  .law__cite, .section__num, .band__src, .country__src, .penalty__cite, .cform__label, .twoq__cite, .lookup__label, .answers__label, .team__kicker, .stat__src, .fp__name span, .fp__val, .figure__foot cite { font-size: .75rem; }
  .source, .src__grid .source { font-size: .8125rem; }
  /* tap targets */
  .footer ul { gap: 0; }
  .footer ul a { display: block; padding: .55rem 0; }
  .footer__meta { gap: .75rem 1.25rem; }
  .footer__meta a { display: inline-block; padding: .4rem 0; }
  .pill-list li { padding-block: .1rem; }
  details.law > summary, details.q > summary, details.src > summary { min-height: 3rem; }
  /* hero */
  .hero--home { padding-top: .75rem; }
  .hero__split .hero__logo { width: min(100%, 20rem); }
  .hero__side .hero__claim p { font-size: 1.0625rem; }
  /* penalties & cross-border cards breathe */
  .penalty__big { font-size: 1.9rem; }
  .xb__card { padding: 1.25rem 1rem; }
  /* legal pages */
  .legal__list > li { padding-left: 2.4rem; }
}
@media (max-width: 24rem) { .brand__name { display: none; } }

/* --- Footer cleanup ----------------------------------------------------- */
.footer__top--3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); }
.footer__crisisline { margin: 1.1rem 0 0; font-size: .8125rem; line-height: 1.6; color: var(--grey); max-width: 38ch; }
.footer__crisisline strong { color: var(--red); }
.footer__crisisline a { color: var(--white); }
@media (max-width: 54rem) { .footer__top--3 { grid-template-columns: 1fr; gap: 1.5rem; } .footer h3 { margin-bottom: .5rem; } }
.footer__crisis { display: none; }

/* ===================== Mobile pass 2 — audit fixes ===================== */
@media (max-width: 54rem) {
  /* 1. overflow: the long report button must wrap and take the row */
  .btn { white-space: normal; text-align: center; }
  .twoq__never-cta .btn { flex: 1 1 100%; width: 100%; justify-content: center; }
  /* 2. 12px floor on every mono label and citation */
  .nav__report, .nav__crisis, .hero__src, .band__cap, .band__src, .branches__label, .branches__row figcaption, .tile__n, .ledger__k, .todo,
  .src__n, .source__n, .callout__tag, .xref, .xref a, .quote cite, .figure__foot cite, .law__cite, .footer__meta, .footer__agree,
  .country__src, .penalty__cite, .penalty__where, .stat__src, .cform__label, .cform__agree, .lookup__label, .lookup__help, .team__kicker,
  .team__facts dt, .result__table th, .fp__name span, .fp__val, .fp__null::after, .xb__card dt, .vf__faq dt, .legal__list > li::before,
  .steps > li::before, .answers__label, .twoq__cite, .src__grid .source, .penalties__row-label, .eyebrow, .section__num, .cform__status, .result__foot, .cform__privacy { font-size: .75rem; }
  .nav__report, .nav__crisis { letter-spacing: .06em; padding: 0 .65rem; }
  /* 3. tap targets for short standalone links */
  .twoq__more a, .xref a, .band__src a, .twoq__never-note a, .plain__sub a, .team__foot a, .vf__note a, .cform__agree a, .result__link a { display: inline-block; padding: .5rem 0; }
  .footer ul a { padding: .7rem 0; }
  .footer__meta a { display: inline-block; padding: .6rem 0; }
  .footer__meta span { display: block; }
}
@media (max-width: 54rem) {
  .src__grid .source__n, .source__n { font-size: .75rem; }
  .src__grid .source a, .law__body a, .q__body a, .penalty__what a, .prose a, .country p a { display: inline-block; padding: .35rem 0; }
}

/* --- Mobile hamburger menu ---------------------------------------------- */
.nav__burger { display: none; }
.nav__panel { display: none; }
@media (max-width: 54rem) {
  .floatnav__inner { grid-template-columns: 1fr auto auto; }
  .nav__report { display: none; }
  .nav__burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 3.25rem; min-height: 3.25rem; padding: 0 1rem; background: transparent; border: 0; border-left: 1px solid var(--line); cursor: pointer; }
  .nav__burger span { display: block; height: 2px; width: 100%; background: var(--white); transition: transform .18s ease, opacity .18s ease; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__panel { display: block; border-top: 1px solid var(--line); background: var(--black); }
  .nav__panel[hidden] { display: none; }
  .nav__panel ul { list-style: none; margin: 0; padding: .25rem 0; }
  .nav__panel li { border-bottom: 1px solid var(--line); }
  .nav__panel li:last-child { border-bottom: 0; }
  .nav__panel a { display: block; padding: .95rem 1.1rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .9375rem; letter-spacing: .04em; color: var(--white); text-decoration: none; }
  .nav__panel a:hover { background: var(--black-2); }
  .nav__panel-report { color: var(--red) !important; }
  .nav__panel-small { font-family: var(--font-mono); font-size: .75rem; padding: .8rem 1.1rem; color: var(--grey-2); }
  .nav__panel-small a { display: inline; padding: .4rem 0; font: inherit; text-transform: none; letter-spacing: 0; color: var(--grey); }
  html.menu-open { overflow: hidden; }
  html.menu-open .floatnav { max-height: calc(100vh - 1.5rem); overflow-y: auto; }
}

/* --- Stats band on phones: one even row per figure ---------------------- */
@media (max-width: 48rem) {
  .band__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
  .band__item {
    display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-items: center;
    gap: .9rem; padding: 1.1rem 1rem; min-height: 5.25rem; text-align: left !important;
  }
  .band__num { font-size: 2.25rem; margin: 0; text-align: right !important; margin-inline: 0; white-space: nowrap; }
  .band__cap { max-width: none; margin-inline: 0; text-align: left !important; line-height: 1.55; letter-spacing: .07em; }
  .band__src { margin-top: 1.1rem; line-height: 1.7; }
}

/* --- Team record: identity, health record, certificates ------------------ */
.team__chip { font-family: var(--font-mono); letter-spacing: .08em; }
.team__hdate { font-family: var(--font-mono); font-weight: 400; text-transform: none; letter-spacing: .04em; font-size: .75rem; color: var(--grey-2); margin-left: .5rem; }
.team__hwrap { border-top: 2px solid var(--white); }
.team__health { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.team__health th { text-align: left; padding: .7rem .75rem .7rem 0; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); border-bottom: 1px solid var(--line); font-weight: 400; }
.team__health td { padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--white); }
.team__health td:first-child { max-width: 38ch; }
.team__health th:last-child, .team__health td:last-child { padding-right: 0; }
.team__lot { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .04em; white-space: nowrap; }
.team__health td:nth-child(2), .team__health td:nth-child(3) { white-space: nowrap; }
.team__certmeta { max-width: 62ch; }
.team__hnote { display: block; font-size: .75rem; color: var(--grey-2); }
.team__cert { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.team__cert:first-of-type { border-top: 2px solid var(--white); }
.team__cert h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .02em; }
.team__cert p { margin: 0 0 .6rem; font-size: .9375rem; max-width: 70ch; }
.team__certmeta { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; color: var(--grey-2); }
.team__docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; margin-top: .9rem; }
.team__doc { margin: 0; }
.team__doc a { display: block; border: 1px solid var(--line-2); background: #fff; }
.team__doc img { display: block; width: 100%; height: auto; }
.team__doc figcaption { margin-top: .4rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-2); }
.team__docnote { margin: 1rem 0 0; font-size: .8125rem; color: var(--grey-2); }
@media (max-width: 40rem) {
  .team__health thead { display: none; }
  .team__health tr { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .team__health td { display: block; padding: .1rem 0; border: 0; }
  .team__health td:nth-child(2)::before { content: "Given "; color: var(--grey-2); }
  .team__health td:nth-child(3)::before { content: "Valid to "; color: var(--grey-2); }
  .team__health td:nth-child(4)::before { content: "Lot "; color: var(--grey-2); font-family: var(--font-body); }
  .team__docs { grid-template-columns: repeat(2, 1fr); }
}

/* --- Team record: travel clearance ----------------------------------------- */
.clear { margin: 1.75rem 0 0; border: 2px solid var(--white); padding: 1.4rem 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 2rem; align-items: start; }
.clear__kicker { margin: 0 0 .4rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.clear__h { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3.4vw, 2.125rem); line-height: 1; letter-spacing: -.01em; }
.clear__p { margin: 0 0 .6rem; font-size: .9375rem; max-width: 66ch; }
.clear__p:last-child { margin-bottom: 0; }
.clear__meta { margin: 0; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; color: var(--grey-2); }
.clear__clinic { text-align: left; min-width: 14rem; max-width: 18rem; }
.clear__clinic img { display: block; width: 14rem; height: auto; margin-bottom: .7rem; }
.clear__clinic p { margin: 0 0 .3rem; font-size: .8125rem; line-height: 1.5; color: var(--grey); }
.clear__clinic strong { color: var(--white); }
.clear__clinic a { color: var(--red); }
.clear__branches { margin: .6rem 0 0; padding: 0; list-style: none; font-size: .75rem; line-height: 1.5; color: var(--grey-2); }
.clear__branches li { margin: 0 0 .3rem; }
.clear__branches b { font-weight: 700; color: var(--white); }
@media (max-width: 48rem) { .clear { grid-template-columns: 1fr; padding: 1.1rem 1rem; } .clear__clinic { max-width: none; } }
