/* ============================================================
   PARK PLACE - Shared Stylesheet
   Design kit: see DESIGN.md (the annual report)
   Type: Libre Caslon Text (headlines, body, labels, numerals),
         IBM Plex Sans (primary buttons, Tenant portal)
   ============================================================ */

:root {
  /* Color - DESIGN.md §1 */
  --paper: #F0F2F4;
  --ink: #0B1D34;
  --ink-2: #243B5A;
  --muted: #5F717E;        /* also body text on --paper: 4.51:1 */
  --paper-muted: #A9B4BE;  /* soft text on navy only: 8.0:1 on --ink */
  --sand: #E7E2D8;
  --rule: #CFC8BA;

  /* Type families - DESIGN.md §2 */
  --f-serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --f-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --nums: lining-nums tabular-nums; /* Caslon numerals that align in columns */

  /* Type scale (desktop; mobile overrides below) */
  --t-display: 120px;
  --t-cover: clamp(44px, 7.5vw, 86px); /* 86px desktop, ~58px tablet, 44px phones */
  --t-h1: 52px;
  --t-h2: 34px;
  --t-h3: 22px;
  --t-body: 19px;
  --t-small: 15px;
  --t-label: 12px;
  --lh-display: 0.9;
  --lh-cover: 1.02;
  --lh-h1: 1.08;
  --lh-h2: 1.15;
  --lh-h3: 1.3;
  --lh-body: 1.6;
  --lh-small: 1.5;
  --lh-label: 1.4;
  --measure: 64ch;

  /* Spacing scale - DESIGN.md §3 (use only these) */
  --s-4: 4px;
  --s-8: 8px;
  --s-16: 16px;
  --s-24: 24px;
  --s-40: 40px;
  --s-64: 64px;
  --s-104: 104px;

  /* Grid */
  --grid-max: 1240px;
  --grid-gutter: 24px;
  --page-margin: 32px;
  --section-gap: var(--s-104);

  /* Motion: hover states only */
  --hover: 150ms;

  /* Legacy aliases - existing page styles still reference these.
     Remove once each page is restyled to the kit. */
  --paper-dim: var(--sand);
  --navy: var(--ink); /* referenced inline */
  --rust: var(--ink-2);
  --rust-dark: var(--ink);
  --line: var(--rule);
  --white: var(--paper);
  --font-display: var(--f-serif);
  --font-body: var(--f-serif);
  --max-width: var(--grid-max);
  --gutter: var(--page-margin);
  --section-pad: var(--section-gap);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 640px) {
  :root {
    --t-display: 72px;
    --t-h1: 36px;
    --t-h2: 28px;
    --t-h3: 20px;
    --t-body: 17px;
    --page-margin: 20px;
    --section-gap: var(--s-64);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-serif);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 400;
  color: var(--ink);
}

h1 { font-size: var(--t-h1); line-height: var(--lh-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--t-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: 700; }

h1 em, h2 em { color: var(--rust); font-style: normal; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
}

.section { padding: var(--section-pad) 0; }
.section--dim { background: var(--paper-dim); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

.divider {
  width: 42px;
  height: 2px;
  background: var(--rust);
  margin: 22px 0;
}

/* ---------------- Forms ---------------- */
.contact-form .form-success {
  margin-top: var(--s-24);
  padding: var(--s-16) var(--s-24);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  border-radius: 0;
}
.form-success {
  display: none; background: var(--paper-dim);
  padding: 18px 22px; font-size: 14px; color: var(--ink); margin-top: 22px;
}
.form-success.show { display: block; }

/* ============================================================
   DESIGN KIT COMPONENTS - DESIGN.md §3-4
   New pages use these. Legacy classes above are retired page by page.
   ============================================================ */

/* ---------------- Grid: 12 columns, margin column 1-3, content 4-10 ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  max-width: calc(var(--grid-max) + 2 * var(--page-margin));
  margin: 0 auto;
  padding: 0 var(--page-margin);
}
.grid__margin { grid-column: 1 / 4; }
.grid__content { grid-column: 4 / 11; }
.grid__full { grid-column: 1 / -1; }

.measure { max-width: var(--measure); }
.nowrap { white-space: nowrap; }

/* ---------------- Label + figures type ---------------- */
.label {
  font-family: var(--f-serif);
  font-size: var(--t-label);
  line-height: var(--lh-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-variant-numeric: var(--nums);
}
.num { font-variant-numeric: var(--nums); }
.small { font-size: var(--t-small); line-height: var(--lh-small); }

/* Visible marker for copy that still needs an owner-supplied fact */
.needs-fact {
  font-size: var(--t-small);
  color: var(--muted);
}

/* ---------------- Masthead ---------------- */
.masthead__inner {
  max-width: calc(var(--grid-max) + 2 * var(--page-margin));
  margin: 0 auto;
  padding: var(--s-24) var(--page-margin);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-16) var(--s-40);
}
.masthead__wordmark {
  display: block;
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.masthead__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-8) var(--s-24);
  margin-left: auto;
}
.masthead__nav a {
  font-family: var(--f-serif);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  transition: color var(--hover);
}
.masthead__nav a:hover { color: var(--ink); }
.masthead__nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
/* Tenant portal: last item, set apart by extra space and Plex Sans 500 */
.masthead__nav .masthead__portal {
  font-family: var(--f-sans);
  font-weight: 500;
  color: var(--ink);
  margin-left: var(--s-16);
  white-space: nowrap;
}
/* Nav CTA: outline button, secondary (does not count toward the one-primary rule) */
.masthead__cta {
  font-family: var(--f-serif);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: var(--s-8) var(--s-16);
  white-space: nowrap;
  transition: background-color var(--hover), color var(--hover);
}
.masthead__cta:hover { background: var(--ink); color: var(--paper); }
.masthead__cta:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }
/* When nav and CTA no longer fit on one row: wordmark + CTA on top, nav beneath */
@media (max-width: 1180px) {
  .masthead__nav { order: 3; flex-basis: 100%; margin-left: 0; }
}
/* Once the nav wraps, the portal takes its own row */
@media (max-width: 980px) {
  .masthead__nav .masthead__portal {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: var(--s-8);
  }
}

/* ---------------- Section header ---------------- */
.section-header { align-items: baseline; }
/* Section label: Caslon kicker with a typeset bullet (brand choice carried over from deals.html) */
.section-header > .label { color: var(--ink-2); }
.section-header > .label::before { content: '\2022'; margin-right: var(--s-8); }
.section-header h2 { grid-column: 4 / 11; }
/* A lede in the h2's place (when the h2 is visually hidden): one step above body, full --ink */
main .section-header__lede { font-size: var(--t-h3); line-height: var(--lh-h3); color: var(--ink); text-wrap: pretty; }

/* ---------------- Ledger table ---------------- */
.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
  line-height: var(--lh-small);
}
.ledger th {
  font-size: var(--t-label);
  line-height: var(--lh-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: left;
  padding: 0 var(--s-16) var(--s-8) 0;
}
.ledger td {
  padding: var(--s-16) var(--s-16) var(--s-16) 0;
  vertical-align: baseline;
}
.ledger th:last-child, .ledger td:last-child { padding-right: 0; }
.ledger .ledger__num {
  font-variant-numeric: var(--nums);
  text-align: right;
}

/* ---------------- Figures table ---------------- */
.figures__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-16);
  padding: var(--s-8) 0;
  font-size: var(--t-small);
  line-height: var(--lh-small);
}
.figures dt { font-family: var(--f-serif); }
.figures dd {
  font-variant-numeric: var(--nums);
  text-align: right;
}

/* ---------------- Plate ---------------- */
.plate__media {
  background: var(--sand);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.plate--portrait .plate__media { aspect-ratio: 4 / 5; }
.plate__media img { width: 100%; height: 100%; object-fit: cover; }
.plate__caption {
  margin-top: var(--s-8);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------------- Buttons & links ---------------- */
.button-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--hover);
}
.button-primary:hover { background: var(--ink-2); }
.button-primary:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }

.link-secondary {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-thickness var(--hover);
}
.link-secondary:hover { text-decoration-thickness: 2px; }

/* ---------------- Form fields ---------------- */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  margin-bottom: var(--s-24);
}
.field__input {
  appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: var(--s-8) 0;
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: var(--lh-body);
  color: var(--ink);
}
.field__input:focus {
  outline: none;
  border-bottom: 2px solid var(--ink-2);
  padding-bottom: 7px; /* keeps the field from shifting when the border thickens */
}
textarea.field__input { min-height: 160px; resize: vertical; }
/* Selects keep the browser's own arrow: functional, not a drawn icon */
select.field__input { appearance: auto; cursor: pointer; }
.contact-form .button-primary { margin-top: var(--s-16); }
.form-grid > .field { grid-column: 1 / -1; margin-bottom: 0; }
.field[hidden] { display: none; }

/* ---------------- Footer colophon ---------------- */
.colophon {
  margin-top: var(--section-gap);
  padding: var(--s-64) 0 var(--s-40);
  font-size: var(--t-small);
  line-height: var(--lh-small);
}
.colophon__body > * + * { margin-top: var(--s-8); }
.colophon__name { font-size: var(--t-body); }
.colophon__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8) var(--s-24);
  margin-top: var(--s-40);
}
.colophon__nav a { transition: color var(--hover); }
.colophon__nav a:hover { color: var(--ink-2); }

/* ---------------- Page rhythm ---------------- */
.page-intro { margin-top: var(--s-64); row-gap: var(--s-40); }
.page-intro h1 { text-wrap: balance; }
.page-intro .figures, .page-intro__aside { grid-row: 2; align-self: start; }
.page-intro__phone { margin-top: var(--s-16); }
.ledger-more { margin-top: var(--s-24); }
.page-section { margin-top: var(--section-gap); }
.page-section__body { margin-top: var(--s-40); }
.page-section__body > .grid__content > * + * { margin-top: var(--s-24); }
.section-header h2, .band h2 { text-wrap: balance; }

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

::selection { background: var(--ink); color: var(--paper); }
a:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }

/* Ledger row headers read as body cells, not column labels */
.ledger tbody th {
  font-family: var(--f-serif);
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  padding: var(--s-16) var(--s-16) var(--s-16) 0;
  vertical-align: baseline;
}

/* ---------------- Terms: definition list in rows, separated by space ---------------- */
.terms__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  column-gap: var(--grid-gutter);
  padding: var(--s-16) 0;
  font-size: var(--t-small);
  line-height: var(--lh-small);
}
.terms dt { font-weight: 700; }
.terms__note { margin-top: var(--s-16); }
/* A small label heading a term list inside the content column: 24px to the first term */
.page-section__body > .grid__content > .label + .terms { margin-top: var(--s-8); }
/* Full-width ruled list (grid break): term in the margin column, description to column 12 */
.terms--full { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.terms--full .terms__row { grid-column: 1 / -1; grid-template-columns: subgrid; }
.terms--full dt { grid-column: 1 / 4; }
.terms--full dd { grid-column: 4 / -1; }

/* Lead: a page's intro set one step above body, directly under a cover plate */
.lead { margin-top: var(--s-64); }
main .lead__text { font-size: var(--t-h3); line-height: var(--lh-h3); color: var(--ink); }
.lead .lead__note { margin-top: var(--s-16); }

/* ---------------- Steps: numbered rows, numeral in the margin column ---------------- */
.steps { list-style: none; }
.steps__item {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: baseline;
}
.steps__body {
  grid-column: 4 / 11;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
  column-gap: var(--grid-gutter);
  padding: var(--s-24) 0;
}
.steps__body h3 { font-size: var(--t-body); line-height: var(--lh-body); }

/* ---------------- Report sections: shared skeleton (index, service pages) ----------------
   Label in the margin column (1-3), everything else in columns 4-12. Each section opens
   with one 1px --rule line across the content columns, then label + heading or intro lede.
   Paragraphs keep their 64ch measure inside the wider column. */
.report-section__content,
.report-section .section-header > h2,
.report-section .grid__content { grid-column: 4 / -1; }
.report-section .section-header::before {
  content: '';
  grid-column: 4 / -1;
  grid-row: 1;
  border-top: 1px solid var(--rule);
  margin-bottom: var(--s-24);
}
.report-section .section-header > * { grid-row: 2; }
/* The intro is the section's largest line: --t-h2, full --ink */
main .report-section .section-header__lede { font-size: var(--t-h2); line-height: var(--lh-h2); text-wrap: balance; }

/* Service tiles: 2x2, image at 3:2, then title, one line, and a secondary link.
   No box, border, shadow, or fill. Image + title are one link. */
.tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-40);
}
.tile {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid; /* link, description, Learn more: each row of tiles shares the tracks, */
  row-gap: 0;                  /* so the Learn more links sit on one line */
}
.tile__link { display: block; }
.tile__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: opacity var(--hover);
}
.tile__title {
  margin-top: var(--s-16);
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--hover);
}
.tile__link:hover .tile__title, .tile__link:focus-visible .tile__title { text-decoration-color: currentColor; }
.tile__link:hover .tile__img { opacity: 0.92; }
.tile__desc { margin-top: var(--s-8); text-wrap: pretty; }
.tile__more { justify-self: start; margin-top: var(--s-8); font-size: var(--t-small); line-height: var(--lh-small); }

/* Work spread: compact ledger (6 of 9 content columns) beside the county outlines (3),
   then the hanging pull line. Nested 9-column grid on the page gutter, so columns line up. */
.work-spread {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: var(--s-40) var(--grid-gutter);
  align-items: start;
}
.work-spread__ledger { grid-column: 1 / 7; }
.work-spread__counties { grid-column: 7 / -1; }
/* The closing pull line follows the spread at 64px (40px on phones) */
.work-pull { margin-top: var(--s-64); }
.ledger--compact tbody th, .ledger--compact td { padding-top: var(--s-8); padding-bottom: var(--s-8); }
/* Up to 1180px the ledger needs the full width: ledger, then counties, then the sentence */
@media (max-width: 1180px) {
  .work-spread__ledger, .work-spread__counties { grid-column: 1 / -1; }
}

/* County tiles: Census county outlines (data drawings, not art), 2x2, name underneath.
   Every outline is drawn to the same height (88px, or less where the cell is too narrow
   for the widest county); the SVG carries its own non-scaling 1.5px --ink stroke. */
.county-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-24);
  margin-top: var(--s-16);
}
.county-tiles__item {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.county-tiles__item img { height: min(88px, 74cqi); width: auto; max-width: 100%; }
main .county-tiles__item .label { margin-top: var(--s-8); color: var(--ink); }

/* Body text: Slate on paper (headlines, pull lines, data stay --ink) */
main p, .terms dd { color: var(--muted); }

/* ---------------- Listings strip (real-estate #hand-picked): horizontal scroll, grid break ----------------
   Exactly two equal entries per view (one on narrow screens), no partial peek; a hairline sits
   in the middle of the gap between entries, not cards. */
.strip__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.strip__viewport:focus-visible { outline: 2px solid var(--ink-2); outline-offset: var(--s-4); }
.strip__list {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  --strip-gap: calc(2 * var(--grid-gutter));
  column-gap: var(--strip-gap);
  grid-auto-columns: calc((100% - var(--strip-gap)) / 2); /* two per view */
  grid-template-rows: auto auto; /* row 1 photos, row 2 text: addresses line up across entries */
  padding-bottom: var(--s-16); /* room for the scrollbar */
}
.strip__item {
  position: relative; /* keeps visually hidden text inside the scroller, so it can't widen the page */
  scroll-snap-align: start;
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
}
.strip__photo { grid-row: 1; margin-bottom: var(--s-16); }
.strip__text { grid-row: 2; }
.strip__text > * + * { margin-top: var(--s-8); }
.strip__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.strip__media img { width: 100%; height: 100%; object-fit: cover; }
.strip__caption {
  margin-top: var(--s-8);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  color: var(--muted);
}
.strip__address { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: 400; }
main .strip__price { color: var(--ink); font-variant-numeric: var(--nums); }
.strip__why { font-size: var(--t-small); line-height: var(--lh-small); }
.strip__text > .strip__link { display: inline-block; margin-top: var(--s-16); }
.strip__controls { display: flex; justify-content: flex-end; gap: var(--s-8); margin-top: var(--s-16); }
.strip__controls[hidden] { display: none; }
.strip__button {
  width: calc(var(--s-40) + var(--s-4));
  height: calc(var(--s-40) + var(--s-4));
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: var(--t-body);
  cursor: pointer;
  transition: background-color var(--hover), color var(--hover);
}
.strip__button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.strip__button:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.strip__button:disabled { border-color: var(--rule); color: var(--muted); cursor: default; }
.strip__empty { margin-top: var(--s-24); }
/* Sits directly under the arrows: right-aligned beneath them on desktop, under the strip elsewhere */
.strip__note { margin-top: var(--s-8); color: var(--muted); text-align: right; }
.strip__controls[hidden] ~ .strip__note { margin-top: var(--s-16); text-align: left; } /* no arrows: under the strip */
.strip__viewport[hidden] { display: none; }
@media (max-width: 980px) {
  .strip__controls, .strip__controls[hidden] { display: none; } /* swipe on touch widths */
  .strip__note { margin-top: var(--s-16); text-align: left; }
}
/* Two per view down to 720px (entries ≥ ~300px); narrower tablets and phones show one */
@media (max-width: 719px) {
  .strip__list { grid-auto-columns: 100%; } /* one per view */
}

/* ---------------- Hanging pull line (grid break 4): margin column into content ---------------- */
.pull-line {
  grid-column: 1 / 11;
  color: var(--ink);
  font-size: var(--t-h2);
  line-height: var(--lh-h2);
  text-wrap: balance;
}

/* ---------------- The 1980 moment (grid break 5, About only): numeral crossing a hairline ---------------- */
.moment__year {
  grid-column: 1 / 4;
  grid-row: 1;
  font-size: var(--t-display);
  line-height: var(--lh-display);
}
.moment__body { grid-row: 2; margin-top: var(--s-24); }

/* ---------------- Offset plate (grid break 3): column 6 to the page edge ---------------- */
.plate-offset {
  margin-top: var(--s-64);
  padding-left: calc(
    (100% - min(100%, var(--grid-max) + 2 * var(--page-margin))) / 2
    + var(--page-margin)
    + 5 * ((min(100%, var(--grid-max) + 2 * var(--page-margin)) - 2 * var(--page-margin) - 11 * var(--grid-gutter)) / 12 + var(--grid-gutter))
  );
}

/* ---------------- Reversed band (one per page) ---------------- */
.band {
  margin-top: var(--section-gap);
  padding: var(--s-104) 0;
  background: var(--ink);
  color: var(--paper);
}
.band h2 { color: var(--paper); }
.band .grid__content > * + * { margin-top: var(--s-24); }
.band .grid__content > .button-primary { margin-top: var(--s-40); }
.band .link-secondary { color: var(--paper); }
.band + .colophon, main:has(> .band:last-child) + .colophon { margin-top: 0; }

.button-primary--reversed { background: var(--paper); color: var(--ink); }
.button-primary--reversed:hover { background: var(--sand); }
.button-primary--reversed:focus-visible { outline-color: var(--paper); }
.band a:focus-visible { outline-color: var(--paper); }

/* ---------------- Cover hero: navy field at the top of a page ---------------- */
.cover {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-104) 0;
}
.cover > .grid { row-gap: var(--s-40); }
/* Text column mirrors the panel: when the panel is taller, a spacer under the intro
   absorbs the first 64px; beyond that the intro's auto margin opens space under the h1. */
.cover__main { grid-column: 1 / 9; display: flex; flex-direction: column; }
.cover__main::after {
  content: '';
  flex: 1000 0 0;
  max-height: var(--s-64);
}
.cover .label { color: var(--paper); }
.cover h1 {
  color: var(--paper);
  font-size: var(--t-cover);
  line-height: var(--lh-cover);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.cover__intro { margin-top: auto; padding-top: var(--s-40); }
.cover p, .band p { color: var(--paper-muted); }
.cover__intro > * + * { margin-top: var(--s-16); }
.cover .link-secondary { color: var(--paper); }
.cover a:focus-visible { outline-color: var(--paper); }

/* Key figures: figures sit at their natural spacing; the cover sizes to the taller column.
   When the text column is taller, a spacer under the figures absorbs the first 64px;
   only beyond that do the figures spread, so neither column leaves more than 64px empty. */
.keyfigs {
  grid-column: 9 / -1;
  display: flex;
  flex-direction: column;
}
.keyfigs dl {
  flex: 1 1 auto;
  display: grid;
  align-content: space-between;
  gap: var(--s-8);
  margin-top: var(--s-16);
}
.keyfigs::after {
  content: '';
  flex: 1000 0 0;
  max-height: var(--s-64);
}
.keyfigs__fig {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end; /* number stays at the top when a name wraps */
  padding-top: var(--s-16);
  container-type: inline-size;
}
.keyfigs dd {
  font-variant-numeric: var(--nums);
  font-size: var(--t-h1);
  /* Scales with its column so an 11-character figure ($74,454,500) holds one line */
  font-size: min(var(--t-h1), 16cqi);
  line-height: 1;
}
/* Identifiers (licence numbers) are not quantities: set smaller so they hold one line */
.keyfigs .keyfigs__fig--id dd { font-size: var(--t-h2); }
.keyfigs__count { display: inline-block; } /* count-up copy; min-width set by main.js */
.keyfigs dt {
  font-size: var(--t-small);
  line-height: var(--lh-small);
  margin-top: var(--s-4);
}

/* Small line directly under the figures (e.g. the broker licence on real-estate) */
.keyfigs__note {
  margin-top: var(--s-16);
  font-size: var(--t-small);
  line-height: var(--lh-small);
}

/* Office details: the key-figures panel carrying contact facts (contact page) */
.keyfigs--details .keyfigs__fig { flex-direction: column; justify-content: flex-start; }
.keyfigs--details dt {
  font-size: var(--t-label);
  line-height: var(--lh-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 var(--s-4);
}
.keyfigs.keyfigs--details dd {
  font-family: var(--f-serif);
  font-size: var(--t-body);
  line-height: var(--lh-h3);
  overflow-wrap: anywhere;
}

/* Map plate (contact only): a third-party map framed as a plate, greyed into the palette */
.plate--map .plate__media { aspect-ratio: 21 / 9; }
.plate--map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1);
}

/* Note: a short aside, set off by the section gap */
.note .grid__content > * + * { margin-top: var(--s-16); }

/* Full-bleed plate: edge to edge, a deliberate pause with a section gap above and below.
   Photos are pre-cropped to 21:9 (4:3 on phones); object-position matches the crop. */
.plate--bleed .plate__media { aspect-ratio: 21 / 9; }
.plate__media picture { display: block; height: 100%; }
.plate--pelicans img { object-position: 50% 40%; } /* the pelicans along the top and the whole arch */

/* Process with an offset photo plate (development.html): steps in columns 4-7, photo in 8-12,
   top-aligned with the heading. The 1fr row takes any extra photo height below the steps. */
.process__plate .plate__media { aspect-ratio: 4 / 5; }
@media (min-width: 981px) {
  .process { grid-template-rows: auto 1fr; }
  .process > .section-header, .process > .steps { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
  .process > .section-header { grid-row: 1; }
  .process > .steps { grid-row: 2; align-self: start; }
  .process .section-header h2, .process .steps__body { grid-column: 4 / 8; }
  .process__plate { grid-column: 8 / -1; grid-row: 1 / 3; align-self: start; margin-top: calc(1px + var(--s-24)); } /* below the header rule */
}
@media (max-width: 980px) {
  .process > .section-header, .process > .steps { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
  .process__plate { grid-column: 1 / -1; margin-top: var(--s-40); }
  .process__plate .plate__media { aspect-ratio: 3 / 2; }
}

/* ---------------- Video cover (homepage): footage as the cover, text set on it ----------------
   Height is the viewport minus the masthead (main.js measures it into --masthead-h).
   Text sits on the grid's right edge: wordmark and label (--ink) in the sky, the line (--paper) in the water.
   No overlays or tints; the white line gets only a soft shadow. */
.vcover {
  position: relative;
  height: calc(100svh - var(--masthead-h, 88px));
  min-height: 560px;
  overflow: hidden;
  container-type: inline-size; /* cqi = cover width, for the wordmark's flag-clearing size */
  background: var(--muted); /* until the poster loads: white line 4.5:1, navy wordmark 3.4:1 */
}
.vcover__media { position: absolute; inset: 0; height: 100%; }
.plate__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%; /* sky and water bands both stay in frame */
}
.vcover__frame {
  position: absolute;
  inset: 0;
  max-width: calc(var(--grid-max) + 2 * var(--page-margin));
  margin: 0 auto;
  padding: 0 var(--page-margin);
  pointer-events: none; /* clicks reach the video button */
}
.vcover__sky, .vcover__water {
  position: absolute;
  right: var(--page-margin);
  text-align: right;
}
.vcover__sky { top: 9%; } /* high in the sky: clear of the flag, the drop tower, and the hills */
/* The wordmark's right edge holds the grid's right edge; its left edge never starts left of 33% of the
   cover, which keeps it clear of the flag (about 25-27% across). 8.2em = its inked width
   (8.16em measured; the trailing tracking hangs past the edge). Grid right edge = (cover + grid box) / 2 - page margin. */
.vcover__mark {
  font-size: clamp(48px, calc(((100cqi + min(100cqi, var(--grid-max) + 2 * var(--page-margin))) / 2 - var(--page-margin) - 33cqi) / 8.2), 120px);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  margin-right: -0.14em; /* trailing tracking would pull the last letter off the right edge */
  color: var(--ink);
}
main .vcover__label {
  margin-top: var(--s-16);
  margin-right: -0.2em;
  font-size: 14px;
  line-height: var(--lh-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
}
/* The water: the line on the right, the framed key figures on the left. The frame's bottom edge sits
   on the line's last baseline: the line's negative margin drops its box bottom to that baseline
   (0.37em at line-height 1.4, measured). */
.vcover__water {
  left: var(--page-margin);
  bottom: 14%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-40);
}
main .vcover__line {
  max-width: 32ch;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.4;
  color: var(--paper);
  text-shadow: 0 1px 3px rgba(11, 29, 52, 0.45);
  text-wrap: balance;
  margin-bottom: -0.37em;
}
.vcover__figs {
  position: relative;
  flex-shrink: 0; /* the boxes keep their size; the line wraps instead */
  text-align: left;
  color: var(--paper);
  text-shadow: 0 1px 3px rgba(11, 29, 52, 0.45);
}
/* Three equal boxes (each as wide as the widest figure), 24px inside each */
.vcover__figlist { display: grid; grid-template-columns: repeat(3, 1fr); }
.vcover__fig { display: grid; align-content: start; padding: var(--s-24); }
/* The hairline frame: a rule, not art. 1px --paper with the plate text's soft shadow. */
.vcover__boxes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(11, 29, 52, 0.45));
}
.vcover__boxes line { stroke: var(--paper); stroke-width: 1; stroke-linecap: square; }
.vcover__fig dd {
  grid-row: 1;
  font-family: var(--f-sans);
  font-weight: 300; /* Plex Sans Light: numerals on the video cover only */
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  font-variant-numeric: var(--nums);
  white-space: nowrap;
}
.vcover__count { display: inline-block; }
.vcover__fig dt {
  grid-row: 2;
  white-space: nowrap; /* every label sets as the same two lines, so the numerals share a row */
  margin-top: var(--s-8);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
/* On-load reveal (main.js): type-out letters, then label fade, then the line fades up 12px */
.vcover__letter { visibility: hidden; }
.vcover__letter.is-on { visibility: visible; }
.vcover__label { transition: opacity 300ms ease-out; }
.vcover__line { transition: opacity 600ms ease-out, transform 600ms ease-out; }
.vcover.is-hiding-label .vcover__label { opacity: 0; transition: none; } /* hide instantly; fade only on reveal */
.vcover.is-hiding-line .vcover__line { opacity: 0; transform: translateY(12px); transition: none; }
.vcover.is-hiding-figs .vcover__figs { visibility: hidden; } /* until the count-up starts */
/* Photo cover (real-estate): the same plate with a still photo. Title and label (--ink) on the sky, top
   left on the grid's left edge, in the homepage wordmark and label styles; the 2x2 key figures (--paper,
   hairline frame) on the water, bottom right. */
.vcover--photo { min-height: 600px; }
.vcover--photo .vcover__media { display: block; }
.vcover__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.vcover .vcover__sky--left { right: auto; left: var(--page-margin); top: 3%; text-align: left; }
.vcover__sky--left h1 { font-size: inherit; line-height: inherit; letter-spacing: 0; }
.vcover__sky--left .vcover__mark { display: block; margin-right: 0; font-size: clamp(34px, 5.6vw, 76px); } /* ~70% of the homepage wordmark; 76px max keeps it off the lighthouse */
main .vcover__sky--left .vcover__label { display: block; margin-right: 0; max-width: calc(50vw - var(--page-margin)); text-wrap: balance; } /* two balanced lines before it reaches the lighthouse */
.vcover__corner { position: absolute; right: var(--page-margin); bottom: 20%; } /* between the standing surfer and the one lying on his board */
/* Sky cover (property-management): everything on a mid-blue sky. Navy measured only 3.0-3.4:1 on it, so
   the text, figures, and frame are --paper with the soft shadow. The photo sits high (more sky above the
   roof). The title starts 12% down and spans the content grid exactly (17.3em = its inked width); the
   figures are a column below the link, left of the building's diagonal edge, with equal sky above and
   below them. */
.vcover--sky {
  --title-size: calc((min(100cqi, var(--grid-max) + 2 * var(--page-margin)) - 2 * var(--page-margin)) / 17.3);
  --cover-h: max(600px, calc(100svh - var(--masthead-h, 88px)));
}
.vcover--sky .vcover__media img { object-position: 50% 0%; } /* the top of the sky is its darkest blue */
.vcover--sky .vcover__sky--left .vcover__mark { font-size: var(--title-size); }
.vcover--sky .vcover__mark, main .vcover--sky .vcover__label, .vcover--sky .vcover__figs { color: var(--paper); text-shadow: 0 1px 3px rgba(11, 29, 52, 0.45); }
.vcover__link { margin-top: var(--s-16); font-size: var(--t-small); line-height: var(--lh-small); transition: opacity 300ms ease-out; }
.vcover__link a {
  pointer-events: auto; /* the text layer passes clicks through; the link takes its own */
  color: var(--paper);
  text-shadow: 0 1px 3px rgba(11, 29, 52, 0.45);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.vcover__link a:hover { text-decoration-thickness: 2px; }
.vcover.is-hiding-label .vcover__link { opacity: 0; transition: none; }
.vcover__figs--col { width: clamp(280px, 28vw, 400px); }
.vcover__figs--col .vcover__figlist { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
@media (min-width: 981px) {
  .vcover--sky .vcover__frame { display: flex; flex-direction: column; align-items: flex-start; padding-top: calc(var(--cover-h) * 0.12); }
  .vcover.vcover--sky .vcover__sky--left { position: static; }
  .vcover--sky .vcover__corner { position: static; margin-block: auto; } /* equal sky above and below */
}

/* Navy sky cover (development): a lighter sky, where navy measures 4.5:1 or better from about 12% down the
   photo and white can't reach 4.5:1 anywhere, so the text, figures, and frame are --ink with no shadow */
.vcover--sky.vcover--navy .vcover__mark, main .vcover--sky.vcover--navy .vcover__label, .vcover--sky.vcover--navy .vcover__figs { color: var(--ink); text-shadow: none; }
.vcover--navy .vcover__boxes { filter: none; }
.vcover--navy .vcover__boxes line { stroke: var(--ink); }
.vcover--navy .vcover__media img { object-position: 50% 35%; }
/* Figures beside the title (development, above 1180px): a row of three at the grid's right edge,
   top-aligned with the title, in the sky left over beside it (the title spans 10.21 / 17.3 of the grid;
   40px gap). The boxes shrink to fit: 16px padding, numerals scaled to the box. The third box is wider so
   "Counties of local / relationships" holds two lines; main.js draws the dividers where the boxes meet. */
@media (min-width: 1181px) {
  .vcover--sky.vcover--beside .vcover__corner { position: absolute; top: calc(var(--cover-h) * 0.12); right: var(--page-margin); margin: 0; }
  .vcover--beside .vcover__figs {
    --row-w: calc((min(100cqi, var(--grid-max) + 2 * var(--page-margin)) - 2 * var(--page-margin)) * (1 - 10.21 / 17.3) - 40px);
    width: var(--row-w);
  }
  .vcover--beside .vcover__fig { padding: var(--s-16); }
  .vcover--beside .vcover__figlist { grid-template-columns: 1fr 1fr 1.6fr; }
  /* One numeral size for all three, set by the narrow boxes (1 / 3.6 of the row, less padding; "13+" is about 1.9em) */
  .vcover--beside .vcover__fig dd { font-size: min(52px, calc((var(--row-w) / 3.6 - 32px) / 1.9)); }
}
/* At 1180px and below there's no room beside the title: the figures sit directly under the photo on the
   page, as on the property-management sky cover at 980px and below */
@media (min-width: 981px) and (max-width: 1180px) {
  .vcover--beside { height: auto; min-height: 0; overflow: visible; background: none; }
  .vcover--beside .vcover__media { position: relative; height: var(--cover-h); }
  .vcover--sky.vcover--beside .vcover__frame { position: static; display: block; padding-top: var(--s-40); padding-bottom: 0; }
  .vcover.vcover--sky.vcover--beside .vcover__sky--left { position: absolute; top: calc(var(--cover-h) * 0.12); }
}

/* Narrower crops: a shorter sky band, so a smaller title */
@media (max-width: 1180px) {
  .vcover__sky--left .vcover__mark { font-size: clamp(34px, 5vw, 76px); }
}
/* Sky cover at 980px and below: the figures can't clear the building, so they sit directly under the photo
   on the page, in --ink with no shadow */
@media (max-width: 980px) {
  .vcover--sky { --cover-h: max(480px, calc(100svh - var(--masthead-h, 88px))); height: auto; min-height: 0; overflow: visible; background: none; }
  .vcover.vcover--sky .vcover__sky--left { top: calc(var(--cover-h) * 0.12); }
  .vcover--sky .vcover__media { position: relative; height: calc(100svh - var(--masthead-h, 88px)); min-height: 480px; }
  .vcover--sky .vcover__frame { position: static; padding-top: var(--s-40); padding-bottom: 0; background: none; }
  .vcover--sky .vcover__corner { position: static; }
  .vcover--sky .vcover__figs { color: var(--ink); text-shadow: none; }
  .vcover--sky .vcover__boxes { filter: none; }
  .vcover--sky .vcover__boxes line { stroke: var(--ink); }
}
.vcover__figs--2x2 .vcover__figlist { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }

/* The plate is the pause/play control: click, tap, or Space/Enter. Focus ring only from the keyboard. */
.plate__play {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.plate__play:focus { outline: none; }
.plate__play:focus-visible { outline: 2px solid var(--ink-2); outline-offset: -4px; }
/* No caption: the first section follows a step closer than a full section gap */
.vcover + .page-section { margin-top: var(--s-64); }

@media (max-width: 980px) {
  .cover__main, .keyfigs { grid-column: 1 / -1; }
  .keyfigs dl {
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: var(--s-24) var(--grid-gutter);
  }
  .keyfigs dd { font-size: min(var(--t-h2), 16cqi); }
  .keyfigs::after, .cover__main::after { content: none; }
  /* Portrait crop: the rides and coaster under open sky, so text clears the buildings */
  .plate__video { object-position: 95% 50%; }
  /* Photo cover, portrait crop: the surfers shift left, so the figures sit on darker water */
  .vcover__media img { object-position: 70% 35%; }
  /* Too narrow to mirror: the figures drop below the line as one right-aligned row of three */
  .vcover__water { flex-direction: column; align-items: flex-end; gap: var(--s-24); }
  main .vcover__line { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .cover { padding: var(--s-64) 0; }
  .plate--bleed .plate__media, .plate--map .plate__media { aspect-ratio: 4 / 3; }
  .process__plate { margin-top: var(--s-24); }
  .process__plate .plate__media { aspect-ratio: 4 / 5; }
  .vcover + .page-section { margin-top: var(--s-40); }
  /* Phones: the wordmark sized to hold one line in the column; label tightened to fit */
  .vcover__sky { top: 6%; }
  .vcover__mark { font-size: 10.5vw; }
  main .vcover__label { margin-top: var(--s-8); font-size: 12px; letter-spacing: 0.14em; margin-right: -0.14em; }
  /* Phones: the framed row spans the column; 16px inside each box, and the numerals scale with
     the box (152,000 is the widest) so they never wrap; labels wrap to their words */
  .vcover__water { bottom: 6%; }
  .vcover__figs { width: 100%; }
  .vcover__fig { padding: var(--s-16); container-type: inline-size; }
  .vcover__fig dd { font-size: min(28px, 25cqi); }
  .vcover__fig dt { white-space: normal; font-size: 11px; letter-spacing: 0.12em; }
  /* Photo cover on phones: the figures can't fit over the water without covering a surfer, so they
     move directly under the photo onto a navy band; the headline stays on the sky */
  .vcover--photo { height: auto; min-height: 0; }
  .vcover--photo .vcover__media { position: relative; height: calc(100svh - var(--masthead-h, 88px)); min-height: 480px; }
  .vcover--photo .vcover__frame { position: static; padding-top: var(--s-24); padding-bottom: var(--s-24); background: var(--ink); }
  .vcover .vcover__sky--left { top: var(--s-16); }
  .vcover__sky--left .vcover__mark { font-size: 7.35vw; } /* 70% of the homepage's 10.5vw */
  main .vcover__sky--left .vcover__label { max-width: none; }
  .vcover--sky { --title-size: 7.35vw; }
  .vcover--sky .vcover__mark { white-space: normal; } /* PROPERTY / MANAGEMENT on two lines */
  .vcover.vcover--sky .vcover__sky--left { top: var(--s-8); }
  .vcover.vcover--sky.vcover--navy .vcover__sky--left { top: calc(var(--cover-h) * 0.12); } /* navy needs the lower, lighter sky */
  .vcover--beside .vcover__figlist { grid-template-columns: 1fr; grid-auto-rows: 1fr; } /* a column: three across can't hold the labels */
  .vcover--sky .vcover__link { margin-top: var(--s-8); } /* the link clears the roof railing */
  .vcover--sky .vcover__frame { padding-top: var(--s-24); padding-bottom: 0; background: none; }
  .vcover__media img { object-position: 38% 35%; } /* the lighthouse moves right of the headline */
  .vcover--photo .vcover__corner { position: static; }
  .vcover__figs--2x2 .vcover__fig dd { font-size: min(28px, 15cqi); }
  .keyfigs--details dl { grid-template-columns: 1fr; }
  .cover .link-secondary { display: inline-flex; align-items: center; min-height: calc(var(--s-40) + var(--s-4)); }
}

/* ---------------- Kit: tablet ---------------- */
@media (min-width: 641px) and (max-width: 980px) {
  .grid__content, .section-header h2, .steps__body { grid-column: 4 / -1; }
  /* Pending ledger columns (header + cells) are hidden until their facts are supplied */
  .ledger [data-needs-fact] { display: none; }
  .page-intro .figures, .page-intro__aside { grid-column: 4 / -1; grid-row: auto; }
  .pull-line { grid-column: 1 / -1; }
}

/* ---------------- Kit: mobile ---------------- */
@media (max-width: 640px) {
  .grid__margin, .grid__content, .section-header h2 { grid-column: 1 / -1; }
  .grid__margin { margin-bottom: var(--s-8); }

  .page-intro { margin-top: var(--s-40); row-gap: var(--s-24); }
  .page-intro > .grid__margin:first-child { margin-bottom: 0; }
  .page-intro .figures, .page-intro__aside { grid-row: auto; margin-top: var(--s-16); }
  .page-intro__aside .figures { margin-top: 0; }
  .terms__row { grid-template-columns: 1fr; row-gap: var(--s-4); }
  .terms--full dt, .terms--full dd { grid-column: 1 / -1; }
  .steps__body { grid-column: 1 / -1; grid-template-columns: 1fr; row-gap: var(--s-4); padding-top: var(--s-8); }
  .plate-offset { padding-left: var(--page-margin); }
  .pull-line { grid-column: 1 / -1; }
  .tile__more, .page-intro__phone a, .ledger-more a { display: inline-flex; align-items: center; min-height: calc(var(--s-40) + var(--s-4)); }
  .band { padding: var(--s-64) 0; }
  .report-section__content, .report-section .section-header::before,
  .report-section .section-header > h2, .report-section .grid__content { grid-column: 1 / -1; }
  .report-section .section-header > * { grid-row: auto; }
  .tiles { grid-template-columns: 1fr; }
  .work-pull { margin-top: var(--s-40); }
  .ledger.ledger--compact tr { padding: var(--s-8) 0; }

  /* Ledger rows stack; each cell shows its column name from data-label */
  .ledger thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .ledger tr {
    display: block;
    padding: var(--s-16) 0;
  }
  .ledger td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-16);
    padding: var(--s-4) 0;
    border: 0;
  }
  .ledger td::before {
    content: attr(data-label);
    font-size: var(--t-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-align: left;
  }
  /* Project name: first cell of each row (a th on development.html, a td in the styleguide) */
  .ledger tbody tr > :first-child {
    display: block;
    padding: 0 0 var(--s-4);
    border: 0;
    font-size: var(--t-body);
  }
  .ledger tbody tr > :first-child::before { content: none; }
  /* Pending figures stay in the markup but are hidden on phones until supplied */
  .ledger td[data-needs-fact] { display: none; }

  /* Nav tap targets: 44px tall (40 + 4 from the spacing scale) */
  .masthead__nav, .colophon__nav { row-gap: 0; }
  .masthead__nav a, .colophon__nav a {
    display: inline-flex;
    align-items: center;
    min-height: calc(var(--s-40) + var(--s-4));
  }}
