/* Roland Street — site styles. Tokens from DESIGN.md. Flat, ruled, radius 0; no gradients, no shadows, no red. */

:root {
  --ground: #f3f2f2;
  --ink: #201e1d;
  --navy: #16324D;
  --steel: #33658A;
  --mist: #A9CDE8;
  --tint: #e8eef4;
  --muted: #6b6866;
  --muted-2: #4a4745;
  --hairline: #d8d5d3;
  --rule: 2px solid var(--ink);
  --font: "Archivo", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 28px;
  text-wrap: pretty;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--steel); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--ground); padding: 8px 14px;
}
.skip:focus { left: 0; z-index: 10; color: var(--ground); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.rule { height: 2px; border: 0; margin: 0; background: var(--ink); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font); font-weight: 600; font-size: 14px; line-height: 1.2;
  padding: 10px 16px; border: 1px solid transparent; border-radius: 0;
  text-decoration: none; cursor: pointer; background: transparent;
}
.btn-primary { background: var(--navy); border-color: var(--navy); color: var(--ground); }
.btn-primary:hover { background: var(--steel); border-color: var(--steel); color: var(--ground); }
.btn-ghost { color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--tint); color: var(--navy); }
.btn-reverse { background: var(--ground); border-color: var(--ground); color: var(--navy); }
.btn-reverse:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.btn-ghost-reverse { color: var(--ground); border-color: var(--ground); }
.btn-ghost-reverse:hover { background: var(--steel); color: var(--ground); }
.btn[disabled] { opacity: 0.6; cursor: default; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* — nav — */
.nav {
  display: flex; align-items: center; gap: 16px;
  padding: 12px max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter)));
  border-bottom: var(--rule);
  font-size: 14px;
}
.nav a { color: inherit; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav-links a:hover { color: var(--steel); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-brand { display: flex; align-items: center; gap: 11px; margin-right: auto; font-size: 18px; }
.nav-links { display: flex; gap: 16px; }
.nav .nav-cta { color: var(--ground); }
.nav .nav-cta:hover { color: var(--ground); }

.mark { display: block; flex: none; }
.lockup { display: flex; align-items: baseline; gap: 6px; font-weight: 700; letter-spacing: 0.04em; }
.lockup-first { color: var(--navy); }
.lockup-rest { color: var(--steel); font-weight: 500; }
.lockup--reversed { gap: 7px; font-size: 19px; }
.lockup--reversed .lockup-first { color: #FFFFFF; }
.lockup--reversed .lockup-rest { color: var(--mist); }

@media (max-width: 1000px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-links { order: 3; width: 100%; flex-wrap: wrap; gap: 4px 18px; }
}

/* — type — */
.kicker {
  display: block; margin: 0 0 14px;
  font-size: 13px; line-height: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel);
}
.kicker--flush { margin: 0; }
.lede { font-size: 17px; line-height: 28px; }
.tagline, .caps-line {
  font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase;
}
.tagline { color: var(--steel); margin-top: 28px; }
.caps-line { color: var(--muted); margin-top: 14px; }
.section-title { font-size: 32px; line-height: 42px; letter-spacing: -0.015em; max-width: 30ch; }
.section-intro { color: var(--muted-2); margin-top: 14px; max-width: 62ch; }
.section-intro--wide { max-width: 66ch; }
.section-intro--after { margin-top: 28px; }
.fineprint { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 16px; max-width: 80ch; }
.more { font-weight: 700; font-size: 15px; }
.inline-strong { font-weight: 600; }

/* — sections — */
.section { padding: 84px 0; }
.section--thesis { padding-bottom: 56px; }
.section--monitors { padding: 56px 0 84px; }
.section--docket { padding: 56px 0 84px; }
.section--ruled { border-top: var(--rule); }
.section--reports { padding: 56px 0 84px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 28px; flex-wrap: wrap; }

/* — hero — */
.hero { padding: 104px 0 84px; }
.hero-title {
  font-size: clamp(40px, 5.6vw, 72px); line-height: 1.06; letter-spacing: -0.02em; margin-left: -0.058em;
}
.hero-title span { display: block; }
.hero-lede { max-width: 60ch; margin-top: 40px; }

/* — stat row — */
.stats-section { padding: 70px 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 42px 28px; }
.stat-figure {
  font-size: clamp(34px, 3.4vw, 48px); line-height: 56px; font-weight: 700; color: var(--navy); margin-left: -0.045em;
}
.stat-caption {
  font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-top: 14px; max-width: 26ch;
}

/* — orbit — */
.orbit { margin: 42px 0 28px; }
.orbit svg { display: block; width: 100%; max-width: 720px; height: auto; }
.orbit text { font-family: var(--font); }
.orbit-centre { font-weight: 700; font-size: 27px; }
.orbit-centre-sub { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.orbit-name, .orbit-role { paint-order: stroke; stroke: var(--ground); stroke-width: 10px; stroke-linejoin: round; }
.orbit-name { font-weight: 700; font-size: 26px; fill: var(--ink); }
.orbit-role { font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; fill: var(--muted-2); }
.orbit-title { font-size: 24px; line-height: 30px; letter-spacing: -0.01em; margin-top: 28px; }

/* — numbered rows — */
.rows--spaced { margin-top: 28px; }
.rows--closed .row:last-child { border-bottom: var(--rule); }
.row {
  display: grid;
  grid-template-columns: minmax(64px, 160px) minmax(0, 420px) minmax(0, 1fr);
  gap: 28px clamp(24px, 4vw, 72px);
  align-items: baseline;
  padding: 42px 0;
  border-top: var(--rule);
}
.row-num { position: relative; font-weight: 700; font-size: 15px; line-height: 28px; }
.row-num::before {
  content: ""; position: absolute; left: -24px; top: 9px; width: 10px; height: 10px; background: var(--steel);
}
.row-title { font-size: 24px; line-height: 28px; letter-spacing: -0.01em; }
.row-sub { font-size: 14px; line-height: 22px; color: var(--muted); margin-top: 10px; }
.row-sub--caps { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.row-body { color: var(--muted-2); max-width: 52ch; }
.note-ruled { color: var(--muted-2); max-width: 66ch; border-top: var(--rule); padding-top: 28px; }

@media (max-width: 760px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 32px 0; }
  .row-num { padding-left: 18px; }
  .row-num::before { left: 0; }
}

/* — cell grid: rules drawn per cell so wrapping never leaves slabs — */
.cells {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  border-top: var(--rule); border-left: var(--rule); margin-top: 42px;
}
.cells--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cells--tight { margin-top: 14px; }
.cell { background: var(--ground); padding: 24px 22px; border-right: var(--rule); border-bottom: var(--rule); }
.cell--tint { background: var(--tint); }
.cell-title { font-weight: 700; font-size: 18px; line-height: 24px; }
.cell-num { font-weight: 700; font-size: 13px; line-height: 18px; letter-spacing: 0.06em; color: var(--steel); }
.cell-heading { font-size: 20px; line-height: 26px; margin-top: 12px; }
.cell-body { font-size: 14px; line-height: 22px; color: var(--muted-2); margin-top: 10px; }

/* — the firm — */
.principals {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 42px clamp(24px, 4vw, 72px); margin-top: 56px;
}
.principal { border-top: var(--rule); padding-top: 28px; }
.principal-name { font-size: 24px; line-height: 28px; }
.principal-role { font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.principal-bio { color: var(--muted-2); margin-top: 14px; max-width: 48ch; }

/* — case cards — */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 28px; }
.card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 0 22px 22px; background: var(--tint); color: inherit; text-decoration: none;
}
.card:hover { color: inherit; }
.card:hover .card-title { color: var(--steel); }
.card-kicker {
  border-top: 2px solid var(--steel); padding-top: 14px;
  font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel);
}
.card-title { font-size: 20px; line-height: 26px; }
.card-body { flex: 1; font-size: 14px; line-height: 22px; color: var(--muted-2); }
.card-meta { font-size: 13px; line-height: 18px; color: var(--muted); }

/* — navy fields — */
.poster { background: var(--navy); color: var(--ground); }
.poster-inner { max-width: 1200px; margin: 0 auto; padding: 84px var(--gutter); }
.poster--close .poster-inner, .poster-inner--row { padding-top: 70px; padding-bottom: 70px; }
.poster-inner--row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.poster-lockup { display: flex; align-items: center; gap: 11px; margin-bottom: 42px; }
.poster-title {
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.015em; margin-left: -0.058em; max-width: 20ch;
}
.poster-title--sm { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin-left: 0; max-width: 24ch; }
.poster-lede { font-size: 17px; line-height: 28px; color: var(--mist); margin-top: 28px; max-width: 52ch; }
.poster-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 42px; }
.poster-note { font-size: 13px; line-height: 20px; color: var(--mist); margin-top: 20px; }
.poster a:not(.btn) { color: var(--ground); }
.poster a:not(.btn):hover { color: var(--mist); }
.poster :focus-visible { outline-color: var(--mist); }

/* — contact form — */
.contact-form { margin-top: 42px; max-width: 760px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; line-height: 24px; color: var(--ink);
  background: var(--ground); border: 0; border-left: 4px solid var(--ground); border-radius: 0; padding: 10px 12px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field .input-validation-error { border-left-color: var(--mist); }
.field-error { font-size: 13px; line-height: 18px; color: var(--ground); }
.field-error:empty { display: none; }
.form-alert { margin-top: 28px; padding: 14px 16px; border-left: 4px solid var(--mist); background: var(--steel); max-width: 62ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* — inner page headers — */
.page-head { padding: 84px 0 42px; }
.page-head--cases { padding-bottom: 56px; }
.page-head--short { padding-bottom: 104px; }
.page-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.02em; margin-left: -0.058em; }
.page-title--cases { font-size: clamp(38px, 5vw, 68px); }
.page-lede { color: var(--muted-2); max-width: 62ch; margin-top: 28px; }

/* — the CPR exhibit — */
.exhibit { padding: 42px 0 84px; }
.exhibit .kicker { margin-bottom: 12px; }
.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px; background: var(--ink); border: var(--rule); margin-top: 32px;
}
.tile { background: var(--ground); padding: 22px 20px; }
.tile--lead { background: var(--tint); }
.tile-figure { font-weight: 700; font-size: 30px; line-height: 36px; color: var(--navy); }
.tile-caption { font-size: 12px; line-height: 18px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.tile--lead .tile-caption { color: var(--navy); }

.chart { position: relative; overflow: hidden; margin: 32px 0 0; border: var(--rule); }
.chart-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: var(--rule);
}
.chart-title { font-weight: 600; font-size: 15px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; line-height: 18px; color: var(--muted-2); }
.legend > span { display: flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 10px; height: 10px; }
.swatch--assign, .seg--assign { background: var(--navy); }
.swatch--payoff, .seg--payoff { background: var(--steel); }
.swatch--other, .seg--other { background: var(--mist); }
.chart-plot { display: flex; gap: 4px; align-items: flex-end; height: 260px; padding: 20px 20px 0; }
.bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bar-total { font-size: 10px; line-height: 12px; color: var(--muted-2); margin-bottom: 3px; text-align: center; }
.seg--assign { min-height: 1px; }
.chart-axis { display: flex; gap: 4px; margin: 0 20px; padding: 8px 0 16px; border-top: var(--rule); }
.chart-axis span { flex: 1; min-width: 0; font-size: 11px; line-height: 14px; color: var(--muted); white-space: nowrap; }

@media (max-width: 600px) {
  .chart-plot, .chart-axis { gap: 2px; }
  .chart-plot { padding: 16px 12px 0; }
  .chart-axis { margin: 0 12px; }
  .chart-axis span { font-size: 10px; }
}

/* — case files — */
.case {
  display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 28px clamp(24px, 4vw, 72px); padding: 56px 0; border-top: var(--rule);
}
.case-num { font-weight: 700; font-size: 15px; line-height: 28px; }
.case-meta { font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; font-size: 11px; line-height: 16px; letter-spacing: 0.02em; padding: 3px 10px; }
.tag-outline { border: 1px solid var(--steel); color: var(--steel); }
.tag-neutral { background: var(--tint); color: var(--muted-2); }
.case-title { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; }
.case-step { font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin: 28px 0 6px; }
.case-text { color: var(--muted-2); max-width: 62ch; }
.figures { display: flex; gap: 42px clamp(28px, 4vw, 56px); flex-wrap: wrap; margin-top: 42px; }
.figure-value { font-weight: 700; font-size: 28px; line-height: 34px; color: var(--navy); }
.figure-caption { font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; max-width: 18ch; }

@media (max-width: 760px) {
  .case { grid-template-columns: minmax(0, 1fr); padding: 42px 0; }
}

/* — legal pages — */
.doc { padding: 84px 0; max-width: 70ch; }
.doc-date { font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }
.doc h2 { font-size: 20px; line-height: 28px; margin-top: 42px; padding-top: 20px; border-top: var(--rule); }
.doc p { color: var(--muted-2); margin-top: 12px; }

/* — footer — */
.footer {
  display: flex; justify-content: space-between; gap: 14px 42px; flex-wrap: wrap;
  padding: 56px 0; font-size: 13px; line-height: 28px; color: var(--muted);
}
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 8px 28px; flex-wrap: wrap; }
