/* Rath Meridian — site styles
   Palette and motifs come from the logo: ink black, white, signal red,
   the ringfort ellipse and the meridian needle.
   Three voices: serif for counsel (headlines), wide caps for the firm
   (labels, echoing the wordmark), mono for the instrument (indices, data). */

/* ------------------------------------------------------------ fonts */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic-latin.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------ tokens */
:root {
  --ink: #0b0c0e;
  --ink-2: #131518;
  --ink-3: #1c1f24;
  --paper: #ffffff;
  --paper-2: #f3f3f1;
  --rule: #dcdcd8;
  --rule-dark: rgba(255, 255, 255, .14);
  --text: #15171a;
  --muted: #565b63;
  --on-dark: #f4f4f2;
  --on-dark-2: #b6bac1;
  --red: #e10a0a;          /* emblem red: graphics, rules */
  --red-ink: #c0151b;      /* red for text on white */
  --red-btn: #cf1016;      /* button fill, white text passes AA */
  --red-bright: #ff5247;   /* red for small text on black */
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 77rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --head-h: 4.5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --needle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 24'%3E%3Cpath d='M4.2 0h1.6l.7 14.6h-3z' fill='%23e10a0a'/%3E%3Ccircle cx='5' cy='18.6' r='3.6' fill='none' stroke='%23e10a0a' stroke-width='2.2'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1.5rem); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 650; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: var(--ink); padding: .75rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ type */
.display, .h1, .h2, .cta__title { font-family: var(--serif); font-weight: 400; letter-spacing: -.018em; text-wrap: balance; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.06; }
.h2 em, .display em, .cta__title em { font-style: italic; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: .7rem; font: 600 .74rem/1.2 var(--sans); font-stretch: 112%; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; flex: none; width: .56rem; height: 1.35rem; background: var(--needle) center / contain no-repeat; }
.band--dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--on-dark-2); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; }

/* ------------------------------------------------------------ buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; background: transparent; padding: 1.02em 1.5em; border: 1px solid transparent; border-radius: 2px; font: 600 .95rem/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn__arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(.3em); }
.btn--primary { background: var(--red-btn); color: #fff; }
.btn--primary:hover { background: #a80c11; }
.btn--ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.band--dark .btn--outline:hover, .cookie .btn--outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm { padding: .78em 1.1em; font-size: .86rem; }
.btn--lg { padding: 1.2em 1.8em; font-size: 1.02rem; }
.btn--block { width: 100%; }

.arrow-link { display: inline-flex; align-items: baseline; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15em; }
.arrow-link span { transition: transform .25s var(--ease); display: inline-block; }
.arrow-link:hover { color: var(--red-ink); }
.band--dark .arrow-link:hover { color: var(--red-bright); }
.arrow-link:hover span { transform: translateX(.3em); }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ------------------------------------------------------------ header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 14, .94); color: var(--on-dark); border-bottom: 1px solid var(--rule-dark); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; flex: none; }
.brand__mark { width: 3.3rem; height: auto; margin-top: -.5rem; }
.brand__word { font: 700 .98rem/1 var(--sans); font-stretch: 118%; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
.brand__word b { font-weight: 700; color: var(--red-bright); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: .6rem .7rem; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--on-dark); white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current] { color: #fff; }
.nav__link[aria-current] { box-shadow: inset 0 -2px 0 var(--red); }
.nav__more { display: grid; place-items: center; width: 1.4rem; height: 2rem; margin-left: -.55rem; background: none; border: 0; cursor: pointer; color: var(--on-dark-2); }
.nav__more svg { transition: transform .2s; }
.has-sub.open .nav__more svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: -1rem; min-width: 22rem; padding: .6rem; background: var(--ink-2); border: 1px solid var(--rule-dark); border-top: 2px solid var(--red); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.sub--wide { min-width: 44rem; }
.sub--wide .sub__list { display: grid; grid-template-columns: 1fr 1fr; }
.sub__list a { display: block; padding: .8rem .9rem; text-decoration: none; border-radius: 2px; }
.sub__list a:hover, .sub__list a:focus-visible { background: var(--ink-3); }
.sub__list strong { display: block; font-size: .95rem; font-weight: 600; color: #fff; }
.sub__list span { display: block; margin-top: .2rem; font-size: .84rem; line-height: 1.4; color: var(--on-dark-2); }
.sub__all { display: block; margin: .4rem .3rem .2rem; padding: .8rem .6rem 0; border-top: 1px solid var(--rule-dark); font-size: .86rem; font-weight: 600; text-decoration: none; color: #fff; }
.sub__all:hover { color: var(--red-bright); }
.nav-toggle { display: none; }

@media (min-width: 68.01em) {
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (max-width: 78em) and (min-width: 68.01em) {
  .nav { gap: .75rem; }
  .nav__link { padding-inline: .5rem; font-size: .88rem; }
  .brand__word { font-size: .86rem; letter-spacing: .24em; }
}
@media (max-width: 68em) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .7rem; background: none; border: 1px solid var(--rule-dark); border-radius: 2px; padding: .6rem .8rem; cursor: pointer; font: 600 .74rem/1 var(--sans); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
  .nav-toggle__bars { display: grid; gap: 5px; width: 18px; }
  .nav-toggle__bars i { display: block; height: 1.5px; background: #fff; transition: transform .25s var(--ease); }
  .nav-open .nav-toggle__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-open .nav-toggle__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .site-head__in { flex-wrap: wrap; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: .5rem 0 1.75rem; }
  .js .nav { display: none; }
  .js.nav-open .nav { display: flex; max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { display: block; border-top: 1px solid var(--rule-dark); }
  .nav__link { padding: .95rem 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
  .nav__link[aria-current] { box-shadow: none; color: var(--red-bright); }
  .nav__more { display: none; }
  .sub, .sub--wide { position: static; min-width: 0; padding: 0 0 .9rem; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .sub--wide .sub__list { display: block; }
  .sub__list a { padding: .45rem 0 .45rem 1rem; border-left: 1px solid var(--rule-dark); }
  .sub__list span, .sub__all { display: none; }
  .nav__cta { align-self: flex-start; }
}
@media (max-width: 26em) {
  .brand__mark { width: 2.7rem; }
  .brand__word { font-size: .78rem; letter-spacing: .22em; }
}

/* ------------------------------------------------------------ bands */
.band { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.band--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.band--tint { background: var(--paper-2); }
.band--dark { background: var(--ink); color: var(--on-dark); }
.band--rule { border-top: 1px solid var(--rule); }
.sec-head { max-width: 48rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem); }
.sec-head .h2 { margin-top: 1.1rem; }
.sec-head p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.band--dark .sec-head p:not(.eyebrow) { color: var(--on-dark-2); }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; max-width: none; }
.sec-head--row > div { max-width: 48rem; }

/* ------------------------------------------------------------ hero (home) */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/contours.jpg") right center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 12, 14, .86) 38%, rgba(11, 12, 14, .25) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(11, 12, 14, 0) 30%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero h1 { margin: 1.4rem 0 1.6rem; font: 400 clamp(2.45rem, 6vw, 5.4rem)/.98 var(--serif); letter-spacing: -.025em; }
.hero h1 span { display: block; }
.hero h1 em { font-style: italic; }
.hero h1 i { font-style: normal; color: var(--red); }
.hero__lead { max-width: 33rem; font-size: clamp(1.12rem, 1.6vw, 1.36rem); line-height: 1.45; color: var(--on-dark-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__art { justify-self: end; width: min(118%, 36rem); margin-left: -18%; }
.rath { display: block; width: 100%; overflow: visible; }
.rath__labels text { font: 500 11px var(--mono); letter-spacing: .12em; }
.rath__needle, .rath__ring--a { transform-box: view-box; transform-origin: 320px 350px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); }
.hero__facts > div { padding: 1.6rem 2rem 2.2rem 0; }
.hero__facts > div + div { padding-left: 2rem; border-left: 1px solid var(--rule-dark); }
.hero__facts dt { font: 600 .72rem/1.2 var(--sans); font-stretch: 112%; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.hero__facts dd { margin-top: .55rem; font-size: .95rem; line-height: 1.5; color: var(--on-dark-2); }

@media (prefers-reduced-motion: no-preference) {
  .rath__needle { animation: needle-settle 2.6s .25s var(--ease) both; }
  .rath__patrol { animation: patrol 60s linear infinite; }
  .rath__ring--a { animation: ring-in 1.4s .1s var(--ease) both; }
  .rath__ring--b, .rath__ring--d { animation: fade-in 1.6s .5s ease both; }
  .rath__ring--e, .rath__ticks, .rath__labels { animation: fade-in 1.6s .9s ease both; }
}
@keyframes needle-settle { 0% { transform: rotate(-34deg); opacity: 0; } 12% { opacity: 1; } 45% { transform: rotate(7deg); } 68% { transform: rotate(-2.5deg); } 86% { transform: rotate(.8deg); } 100% { transform: rotate(0); } }
@keyframes patrol { to { stroke-dashoffset: -440; } }
@keyframes ring-in { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 56em) {
  .hero__in { grid-template-columns: 1fr; padding-top: clamp(3rem, 12vw, 5rem); }
  .hero__art { position: absolute; z-index: -1; right: -7rem; top: 1rem; width: 26rem; opacity: .42; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts > div, .hero__facts > div + div { padding: 1.1rem 0; border-left: 0; }
  .hero__facts > div + div { border-top: 1px solid var(--rule-dark); }
  .hero__facts > div:last-child { padding-bottom: 2rem; }
}

/* ------------------------------------------------------------ page head */
.page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(3rem, 6.5vw, 5.25rem); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/contours.jpg") right center / cover no-repeat; opacity: .8; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 12, 14, .9) 45%, rgba(11, 12, 14, .35) 100%); }
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; font: 500 .72rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.crumbs__sep { color: var(--red-bright); }
.crumbs [aria-current] { color: #fff; }
.page-head .display { margin-top: clamp(1.75rem, 4vw, 3rem); max-width: 21ch; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1; }
.page-head .lead { margin-top: 1.5rem; max-width: 41rem; color: var(--on-dark-2); }
.page-head__actions { margin-top: 2.1rem; }

/* ------------------------------------------------------------ prose */
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.3em; font: 400 clamp(1.7rem, 2.7vw, 2.3rem)/1.1 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.prose h3 { margin-top: 2.1em; font: 650 1.12rem/1.3 var(--sans); }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose > :first-child { margin-top: 0; }
.prose a:not(.btn):not(.arrow-link) { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.prose a:not(.btn):not(.arrow-link):hover { color: var(--red-ink); }
.prose .intro { font: 400 clamp(1.28rem, 2vw, 1.6rem)/1.4 var(--serif); letter-spacing: -.008em; text-wrap: pretty; }
.prose ul:not([class]) > li, .ticks > li { position: relative; padding-left: 1.6em; }
.prose ul:not([class]) > li + li, .ticks > li + li { margin-top: .5em; }
.prose ul:not([class]) > li::before, .ticks > li::before { content: ""; position: absolute; left: 0; top: .76em; width: .75em; height: 2px; background: var(--red); }
.pull { margin-top: 2.2em; padding: .2rem 0 .2rem 1.5rem; border-left: 2px solid var(--red); font: 400 clamp(1.3rem, 2.1vw, 1.65rem)/1.3 var(--serif); text-wrap: balance; }
.note { color: var(--muted); font-size: .95rem; }

/* two-column page body: content + "at a glance" */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.glance { position: sticky; top: calc(var(--head-h) + 1.75rem); padding: 1.75rem 1.75rem 1.9rem; background: var(--paper-2); border-top: 3px solid var(--ink); }
.glance__h { font: 600 .74rem/1.2 var(--sans); font-stretch: 112%; letter-spacing: .22em; text-transform: uppercase; }
.glance dl { margin: 1.4rem 0 1.6rem; }
.glance dt { font: 500 .7rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: .25rem 0 1.05rem; font-size: .98rem; line-height: 1.45; }
.glance dd:last-child { margin-bottom: 0; }
.glance p.note { margin-top: 1rem; font-size: .86rem; }
@media (max-width: 62em) {
  .split { grid-template-columns: 1fr; }
  .glance { position: static; max-width: 44rem; }
}
/* variant: the side panel is a table of contents, first in the page so it leads on small screens */
.split--toc > .glance { grid-column: 2; grid-row: 1; }
.split--toc > .prose { grid-column: 1; grid-row: 1; }
.prose h2[id] { scroll-margin-top: calc(var(--head-h) + 1.5rem); }
.glance__nav { margin-top: 1.1rem; counter-reset: toc; border-bottom: 1px solid var(--rule); }
.glance__nav li { counter-increment: toc; border-top: 1px solid var(--rule); }
.glance__nav a { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); align-items: baseline; padding: .62rem 0; font-size: .95rem; line-height: 1.35; text-decoration: none; }
.glance__nav a::before { content: counter(toc, decimal-leading-zero); font: 500 .7rem/1 var(--mono); letter-spacing: .06em; color: var(--red-ink); }
.glance__nav a:hover { color: var(--red-ink); }
@media (max-width: 62em) {
  .split--toc > .glance, .split--toc > .prose { grid-column: auto; grid-row: auto; }
}

/* numbered definition rows (deliverables, sectors, triggers) */
.defs { counter-reset: d; border-bottom: 1px solid var(--rule); }
.defs > li { counter-increment: d; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .2rem .5rem; padding: 1.15rem 0 1.2rem; border-top: 1px solid var(--rule); }
.defs > li::before { content: counter(d, decimal-leading-zero); grid-row: 1 / span 2; padding-top: .28rem; font: 500 .74rem/1.4 var(--mono); color: var(--red-ink); }
.defs strong { grid-column: 2; font-size: 1.06rem; line-height: 1.35; }
.defs span { grid-column: 2; color: var(--muted); }
.band--dark .defs, .band--dark .defs > li { border-color: var(--rule-dark); }
.band--dark .defs span { color: var(--on-dark-2); }
.band--dark .defs > li::before { color: var(--red-bright); }

/* ------------------------------------------------------------ cards (home services) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.card { position: relative; display: flex; flex-direction: column; min-height: 20rem; padding: 2rem clamp(1.4rem, 2.4vw, 2.2rem) 1.9rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; background: var(--paper); transition: background-color .25s; }
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { background: var(--paper-2); }
.card:hover::before, .card:focus-visible::before { transform: scaleX(1); }
.card__n { font: 500 .74rem/1 var(--mono); letter-spacing: .08em; color: var(--red-ink); }
.card__t { margin-top: 2.6rem; font: 400 clamp(1.5rem, 2.2vw, 1.95rem)/1.08 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.card__d { margin: .9rem 0 2rem; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card__go { margin-top: auto; display: inline-flex; gap: .5em; font-size: .9rem; font-weight: 600; }
.card__go span { transition: transform .25s var(--ease); }
.card:hover .card__go span { transform: translateX(.35em); }
.card__tag { position: absolute; top: 1.8rem; right: 1.6rem; font: 600 .64rem/1 var(--sans); font-stretch: 112%; letter-spacing: .18em; text-transform: uppercase; color: var(--red-ink); }
@media (max-width: 60em) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } .card__t { margin-top: 1.6rem; } }

/* ------------------------------------------------------------ service rows (/our-services/) */
.rows { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.15fr) 2.5rem; align-items: baseline; gap: 1rem clamp(1.25rem, 3vw, 3rem); padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--rule); text-decoration: none; transition: padding .35s var(--ease), background-color .25s; }
.row__n { font: 500 .78rem/1 var(--mono); letter-spacing: .08em; color: var(--red-ink); }
.row__t { font: 400 clamp(1.55rem, 2.7vw, 2.3rem)/1.06 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.row__t small { display: block; margin-bottom: .7rem; font: 600 .66rem/1 var(--sans); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--red-ink); }
.row__d { color: var(--muted); }
.row__go { justify-self: end; font-size: 1.4rem; transition: transform .3s var(--ease), color .2s; }
.row:hover { padding-left: .9rem; padding-right: .3rem; background: var(--paper-2); }
.row:hover .row__go { transform: translateX(.3rem); color: var(--red-ink); }
@media (max-width: 52em) {
  .row { grid-template-columns: 2.6rem minmax(0, 1fr) 1.5rem; }
  .row__d { grid-column: 2 / -1; grid-row: 2; }
  .row:hover { padding-left: 0; padding-right: 0; background: none; }
}

/* ------------------------------------------------------------ approach: text + diagram */
.duo { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.duo__copy > * + * { margin-top: 1.15em; }
.duo__copy .h2 { margin-bottom: .5em; }
.duo__copy p { color: var(--on-dark-2); }
.band:not(.band--dark) .duo__copy p { color: var(--muted); }
.duo__copy .arrow-link { margin-top: 1.9em; }
@media (max-width: 64em) { .duo { grid-template-columns: 1fr; } }

.paths { margin-top: clamp(2.5rem, 5vw, 4.25rem); display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-2); color: var(--on-dark); border: 1px solid var(--rule-dark); border-radius: 3px; }
.paths__col { padding: clamp(1.25rem, 3vw, 2.75rem); min-width: 0; }
.paths__col + .paths__col { border-left: 1px solid var(--rule-dark); }
.paths__kicker { font: 600 .7rem/1.2 var(--sans); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--red-bright); }
.paths__title { margin: .6rem 0 1.5rem; font: 400 clamp(1.4rem, 2.6vw, 2.2rem)/1.1 var(--serif); letter-spacing: -.01em; color: #fff; }
.paths__board { position: relative; }
.paths__board--route { margin-right: 1.4rem; }
.grid12 { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid12 li { position: relative; aspect-ratio: 4 / 3; padding: 3px; font: 500 clamp(.6rem, 1.05vw, .95rem)/1.2 var(--sans); color: var(--on-dark-2); }
.grid12 li::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 3px; background: rgba(255, 255, 255, .025); }
.grid12 li::after { content: "\2713"; position: absolute; right: 9px; bottom: 7px; font-size: .9em; opacity: .55; }
.grid12 li { display: block; padding: clamp(9px, 1.1vw, 16px) 0 0 clamp(10px, 1.2vw, 18px); }
.grid12 li.hit { color: #fff; }
.grid12 li.hit::before { border-color: var(--red-bright); background: rgba(225, 10, 10, .1); }
.grid12 li.hit::after { content: none; }
.grid12 li b { position: absolute; z-index: 2; left: 50%; top: 66.67%; display: grid; place-items: center; width: 1.55em; height: 1.55em; margin: -.775em 0 0 -.775em; border-radius: 50%; background: var(--red); color: #fff; font: 700 1.05em/1 var(--sans); }
.route { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route path { fill: none; stroke: var(--red-bright); stroke-width: 6; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.reveal-on .paths .route path { stroke-dashoffset: 100; }
.reveal-on .paths.in .route path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s .45s cubic-bezier(.6, .1, .3, 1); }
.reveal-on .paths .grid12 li b { transform: scale(0); }
.reveal-on .paths.in .grid12 li b { transform: none; transition: transform .4s var(--ease); }
.reveal-on .paths.in li:nth-child(5) b { transition-delay: .65s; }
.reveal-on .paths.in li:nth-child(2) b { transition-delay: 1.15s; }
.reveal-on .paths.in li:nth-child(11) b { transition-delay: 1.9s; }
.reveal-on .paths.in li:nth-child(12) b { transition-delay: 2.3s; }
.paths__harm { position: absolute; left: 100%; top: 88.89%; width: 1.1rem; height: 1.1rem; margin: -.55rem 0 0 0; border: 2px solid var(--red-bright); border-radius: 50%; font-size: 0; }
.paths__harm::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--red-bright); }
.paths__sum { margin-top: 1.5rem; font-size: 1rem; line-height: 1.45; color: var(--on-dark-2); }
.paths__sum strong { display: block; color: #fff; font-size: 1.12rem; }
.paths__legend { counter-reset: l; display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .5rem 1rem; margin-top: .9rem; font-size: .84rem; color: var(--on-dark-2); }
.paths__legend li { counter-increment: l; display: flex; align-items: center; gap: .55rem; }
.paths__legend li::before { content: counter(l); flex: none; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: .72rem; }
.paths__legend li.harm { counter-increment: none; color: #fff; }
.paths__legend li.harm::before { content: ""; background: radial-gradient(circle, var(--red-bright) 0 34%, transparent 38%); border: 2px solid var(--red-bright); }
@media (max-width: 40em) {
  .paths { grid-template-columns: 1fr; }
  .paths__col + .paths__col { border-left: 0; border-top: 1px solid var(--rule-dark); }
  .grid12 li { font-size: .68rem; }
}

/* ------------------------------------------------------------ commitments */
.commit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.commit li { padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.band--dark .commit li { border-color: var(--rule-dark); }
.commit__icon { width: 2.6rem; height: 2.6rem; fill: none; stroke: var(--red-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.band--dark .commit__icon { stroke: var(--red-bright); }
.commit h3 { margin: 1.4rem 0 .7rem; font: 400 clamp(1.45rem, 2.1vw, 1.8rem)/1.1 var(--serif); letter-spacing: -.012em; }
.commit p { color: var(--muted); }
.band--dark .commit p { color: var(--on-dark-2); }
@media (max-width: 56em) { .commit { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ------------------------------------------------------------ questions */
.questions { counter-reset: q; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); }
.questions li { counter-increment: q; display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--rule); font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.2 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.questions li::before { content: counter(q, decimal-leading-zero); font: 500 .74rem/1 var(--mono); letter-spacing: .06em; color: var(--red-ink); }
.band--dark .questions li { border-color: var(--rule-dark); }
.band--dark .questions li::before { color: var(--red-bright); }
@media (max-width: 50em) { .questions { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ five stages */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { position: relative; padding: 3.6rem 1.5rem 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 1.1rem; height: 1px; background: var(--rule-dark); }
.steps li:last-child::before { right: auto; width: 2.2rem; }
.steps__dot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1.5px solid var(--red-bright); border-radius: 50%; background: var(--ink); font: 600 .7rem/1 var(--mono); color: var(--red-bright); }
.steps li:last-child .steps__dot { background: var(--red); border-color: var(--red); color: #fff; }
.steps h3 { font: 400 clamp(1.5rem, 2.3vw, 1.95rem)/1 var(--serif); letter-spacing: -.012em; color: #fff; }
.steps__sub { margin: .55rem 0 1rem; font: 600 .66rem/1.2 var(--sans); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--red-bright); }
.steps p:last-child { font-size: .96rem; line-height: 1.55; color: var(--on-dark-2); }
@media (max-width: 64em) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 2.2rem 3.6rem; }
  .steps li::before { left: 1.1rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps li:last-child::before { width: 1px; bottom: auto; height: 1.1rem; }
  .steps li:last-child { padding-bottom: 0; }
  .steps h3 { padding-top: .25rem; }
}

/* ------------------------------------------------------------ roles (who we help) */
.roles { border-bottom: 1px solid var(--rule); }
.role { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem clamp(1.5rem, 3.5vw, 3.5rem); padding: clamp(1.75rem, 3.2vw, 2.6rem) 0; border-top: 1px solid var(--rule); }
.role h3 { font: 400 clamp(1.45rem, 2.2vw, 1.9rem)/1.08 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.role__k { display: block; margin-bottom: .6rem; font: 600 .66rem/1.2 var(--sans); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.role__k--us { color: var(--red-ink); }
.role p { font-size: 1rem; line-height: 1.6; }
.role div:nth-child(2) p { color: var(--muted); }
@media (max-width: 58em) { .role { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .6rem .95rem; border: 1px solid var(--rule); border-radius: 2px; font-size: .92rem; font-weight: 500; background: var(--paper); }
.band--dark .chips li { background: none; border-color: var(--rule-dark); }

/* generic two-column block: heading left, content right */
.cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.75rem, 5vw, 5rem); align-items: start; }
.cols__h .h2 { margin-top: 1.1rem; }
.cols__h p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted); }
.band--dark .cols__h p:not(.eyebrow) { color: var(--on-dark-2); }
.cols__h .arrow-link { margin-top: 1.75rem; }
.cols__body > * + * { margin-top: 1.15em; }
.cols__body .cols__action { margin-top: 1.9em; }
.cols__h .ticks { margin-top: 1.4rem; }
.defs--spaced { margin-top: 1.4rem; }
.cols__body p { color: var(--muted); }
.band--dark .cols__body p { color: var(--on-dark-2); }
.cols__body .arrow-link { margin-top: 1.9em; }
.cols__body .lede { font: 400 clamp(1.25rem, 1.9vw, 1.5rem)/1.4 var(--serif); color: inherit; }
@media (max-width: 58em) { .cols { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ founder / about */
.founder { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.06); }
.portrait::after { content: ""; position: absolute; left: -1px; top: 12%; bottom: 12%; width: 3px; background: var(--red); }
.portrait figcaption { margin-top: .9rem; font: 500 .72rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.band--dark .portrait figcaption { color: var(--on-dark-2); }
.founder__copy > * + * { margin-top: 1.1em; }
.founder__copy .h2 { margin-top: 1.1rem; }
.founder__copy p:not(.eyebrow) { color: var(--muted); max-width: 40rem; }
.band--dark .founder__copy p:not(.eyebrow) { color: var(--on-dark-2); }
.founder__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.9em; }
@media (max-width: 52em) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 20rem; } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.stats div { padding: 1.3rem 1rem 0 0; }
.stats dt { font: 400 clamp(2.1rem, 4vw, 3.1rem)/1 var(--serif); letter-spacing: -.02em; }
.stats dd { margin-top: .5rem; font-size: .9rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 30em) { .stats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ talks */
.talks { border-bottom: 1px solid var(--rule); }
.band--dark .talks, .band--dark .talk { border-color: var(--rule-dark); }
.talk { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; align-items: baseline; gap: .6rem 2rem; padding: 1.6rem 0; border-top: 1px solid var(--rule); text-decoration: none; }
.talk__date { font: 500 .78rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red-ink); }
.band--dark .talk__date { color: var(--red-bright); }
.talk__t { font: 400 clamp(1.3rem, 2.1vw, 1.7rem)/1.12 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.talk__t small { display: block; margin-top: .45rem; font: 400 .95rem/1.5 var(--sans); letter-spacing: 0; color: var(--muted); }
.band--dark .talk__t small { color: var(--on-dark-2); }
.talk__go { font-size: .9rem; font-weight: 600; white-space: nowrap; }
.talk__go span { display: inline-block; transition: transform .25s var(--ease); }
a.talk:hover .talk__t { color: var(--red-ink); }
.band--dark a.talk:hover .talk__t { color: var(--red-bright); }
a.talk:hover .talk__go span { transform: translateX(.3em); }
@media (max-width: 46em) { .talk { grid-template-columns: 1fr; } }

.takeaways { counter-reset: t; border-bottom: 1px solid var(--rule); }
.takeaways li { counter-increment: t; display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding: 1.2rem 0; border-top: 1px solid var(--rule); }
.takeaways li::before { content: counter(t, decimal-leading-zero); padding-top: .3rem; font: 500 .74rem/1.4 var(--mono); color: var(--red-ink); }
.takeaways strong { display: block; font: 400 1.32rem/1.2 var(--serif); letter-spacing: -.008em; margin-bottom: .35rem; }
.takeaways span { color: var(--muted); }
.media { margin: 0 0 2.5rem; }
.media img { width: 100%; border: 1px solid var(--rule); }
.media figcaption { margin-top: .7rem; font-size: .86rem; color: var(--muted); }
/* banner graphic used in place of the title band (RM Labs). Above ~46rem the whole 4:1 image shows;
   below that the height is held and the sides are cropped, so the centred lockup stays readable. */
.art-head { background: #000; }
.art-head h1 { margin: 0; }
.art-head img { width: 100%; max-width: 120rem; height: clamp(11.5rem, 25vw, 30rem); margin-inline: auto; object-fit: cover; object-position: center; }
/* on screens wider than the image, fade its ends into the black instead of stopping dead */
@media (min-width: 120.01rem) {
  .art-head img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
}
.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.5rem; padding: 1.5rem 1.75rem; background: var(--paper-2); border-left: 3px solid var(--red); }
.download p { font-size: .98rem; }
.download small { display: block; color: var(--muted); font-size: .86rem; }

/* ------------------------------------------------------------ contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ways { border-bottom: 1px solid var(--rule); }
.ways li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .3rem 1.5rem; padding: 1.35rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.ways dt, .ways__k { font: 600 .66rem/1.4 var(--sans); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ways__v { font: 400 clamp(1.15rem, 1.8vw, 1.4rem)/1.25 var(--serif); overflow-wrap: anywhere; }
.ways__v a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ways__v a:hover { color: var(--red-ink); }
.ways__v small { display: block; margin-top: .4rem; font: 400 .9rem/1.5 var(--sans); color: var(--muted); }
.ways__v code { font: 500 .78rem/1.6 var(--mono); color: var(--text); }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--ink); color: #fff; overflow: hidden; display: grid; place-items: center; text-align: center; }
.map::before { content: ""; position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: repeating-radial-gradient(ellipse closest-side at center, transparent 0 9.5%, rgba(255, 255, 255, .11) 9.5% 9.9%); }
.map::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: 2px; height: 34%; margin-left: -1px; background: linear-gradient(0deg, var(--red), rgba(225, 10, 10, 0)); }
.map__in { position: relative; z-index: 1; padding: 1.5rem; }
.map__in p { font: 400 1.5rem/1.2 var(--serif); margin-bottom: .4rem; }
.map__in small { display: block; margin-bottom: 1.4rem; color: var(--on-dark-2); font-size: .86rem; }
.map iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; }
.map-note { margin-top: .8rem; font-size: .84rem; color: var(--muted); }
@media (max-width: 56em) { .contact { grid-template-columns: 1fr; } .ways li { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ PGP */
.key { position: relative; background: var(--ink); color: #e9e9e6; border-left: 3px solid var(--red); }
.key pre { margin: 0; padding: 1.6rem 1.75rem; overflow-x: auto; font: 400 clamp(.68rem, 1.5vw, .84rem)/1.7 var(--mono); }
.key__bar { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0 1.75rem 1.6rem; }
.keymeta { display: grid; grid-template-columns: 9rem 1fr; gap: .5rem 1.5rem; margin: 0 0 2rem; }
.keymeta dt { font: 500 .7rem/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.keymeta dd { overflow-wrap: anywhere; }
.keymeta code { font: 500 .88rem/1.6 var(--mono); }
@media (max-width: 34em) { .keymeta { grid-template-columns: 1fr; gap: 0; } .keymeta dd { margin-bottom: .8rem; } }

/* ------------------------------------------------------------ tables (privacy policy) */
.table-wrap { margin: 1.5rem 0 2rem; overflow-x: auto; border: 1px solid var(--rule); -webkit-overflow-scrolling: touch; }
.prose .table-wrap { max-width: none; }
table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .94rem; line-height: 1.5; }
th, td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; }
thead th { background: var(--ink); color: #fff; font: 600 .68rem/1.3 var(--sans); font-stretch: 112%; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
tbody tr + tr > * { border-top: 1px solid var(--rule); }
tbody th { font-weight: 600; width: 26%; }
td code, th code { font: 500 .84rem/1.4 var(--mono); }
.legal { max-width: 52rem; }
.legal h2 { scroll-margin-top: calc(var(--head-h) + 1.5rem); }

/* ------------------------------------------------------------ closing call to action */
.cta { overflow: hidden; isolation: isolate; border-top: 1px solid var(--rule-dark); }
.cta__rings { position: absolute; z-index: -1; right: -14rem; top: 50%; width: 64rem; aspect-ratio: 2 / 1; transform: translateY(-50%); background: repeating-radial-gradient(ellipse closest-side at center, transparent 0 8.6%, rgba(255, 255, 255, .1) 8.6% 8.85%); -webkit-mask-image: radial-gradient(ellipse closest-side at center, #000 25%, transparent 100%); mask-image: radial-gradient(ellipse closest-side at center, #000 25%, transparent 100%); }
.cta__rings::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: 2px; height: 60%; margin-left: -1px; background: linear-gradient(0deg, var(--red) 0%, rgba(225, 10, 10, 0) 100%); }
.cta__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2.25rem 4rem; }
.cta__copy { max-width: 44rem; }
.cta__title { margin: 1.2rem 0 0; font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.02; }
.cta__text { margin-top: 1.2rem; max-width: 34rem; color: var(--on-dark-2); font-size: 1.1rem; }

/* ------------------------------------------------------------ footer */
.site-foot { background: var(--ink); color: var(--on-dark-2); border-top: 1px solid var(--rule-dark); padding-block: clamp(3rem, 6vw, 5rem) 2rem; font-size: .93rem; }
.site-foot__top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, 1fr); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); }
.brand--foot .brand__mark { width: 3.8rem; }
.site-foot__tag { margin: 1.1rem 0 1.5rem; font: 600 .66rem/1.6 var(--sans); font-stretch: 112%; letter-spacing: .22em; text-transform: uppercase; color: #fff; max-width: 18rem; }
.site-foot address { line-height: 1.7; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--red); }
.site-foot__social { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.3rem; }
.site-foot__social a { color: #fff; font-weight: 600; }
.site-foot__h { margin-bottom: 1.1rem; font: 600 .66rem/1.2 var(--sans); font-stretch: 112%; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.site-foot__col li + li { margin-top: .6rem; }
.site-foot__legal { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); font-size: .8rem; line-height: 1.7; color: #8d929b; }
.site-foot__legal p + p { margin-top: .5rem; }
.site-foot__legal a, .site-foot__legal .linklike { color: var(--on-dark-2); text-decoration: underline; text-underline-offset: .22em; }
.site-foot__legal .linklike:hover { color: #fff; }
@media (max-width: 60em) { .site-foot__top { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 34em) { .site-foot__top { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ cookie banner */
.cookie { position: fixed; z-index: 80; left: 1rem; bottom: 1rem; width: min(27rem, calc(100vw - 2rem)); padding: 1.4rem 1.5rem 1.5rem; background: var(--ink-2); color: var(--on-dark-2); border: 1px solid var(--rule-dark); border-top: 2px solid var(--red); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); font-size: .88rem; line-height: 1.55; }
.cookie__title { margin-bottom: .6rem; font: 600 .7rem/1.2 var(--sans); font-stretch: 112%; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.cookie a { color: #fff; text-underline-offset: .2em; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.cookie .btn { color: #fff; flex: 1 1 auto; }

/* ------------------------------------------------------------ 404 */
.lost { min-height: 52vh; display: grid; align-content: center; }
.lost .mono { color: var(--red-bright); }

/* ------------------------------------------------------------ motion */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(16px); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .reveal-on .paths .route path { stroke-dashoffset: 0; }
  .reveal-on .paths .grid12 li b { transform: none; }
}

/* ------------------------------------------------------------ print */
@media print {
  .site-head, .site-foot__top, .cookie, .cta, .skip, .nav-toggle, .hero__art, .page-head__actions { display: none !important; }
  .hero, .page-head, .band--dark { background: #fff !important; color: #000 !important; }
  .hero::before, .hero::after, .page-head::before, .page-head::after { display: none; }
  .page-head .lead, .hero__lead, .crumbs, .crumbs [aria-current] { color: #333 !important; }
  .band { padding-block: 1.5rem; }
  .glance { position: static; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; }
}

/* ------------------------------------------------------------ small adjustments */
.page-head + .band--dark { border-top: 1px solid var(--rule-dark); }
.glance .btn { padding-inline: .9em; font-size: .88rem; }
.glance p.note a, .glance dd a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.glance dd a:hover { color: var(--red-ink); }
.glance dd { overflow-wrap: anywhere; }
.key .btn--ghost { font-family: var(--sans); }
@media (max-width: 56em) {
  .hero__art { z-index: 0; }
  .hero__copy { position: relative; z-index: 1; }
}
@media (max-width: 34em) {
  .site-head__in { flex-wrap: nowrap; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; padding-inline: var(--gutter); background: var(--ink); border-bottom: 1px solid var(--rule-dark); }
  .nav-toggle__label { display: none; }
  .js .nav-toggle { padding: .8rem .75rem; }
  .brand { gap: .6rem; }
  .brand__mark { width: 2.8rem; }
  .brand__word { font-size: .8rem; letter-spacing: .22em; }
}
