/* Fonts: Libre Caslon Display, Libre Caslon Text and Schibsted Grotesk, SIL Open Font License, self-hosted. */
@font-face { font-family: 'Libre Caslon Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/libre-caslon-display-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/libre-caslon-text-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/libre-caslon-text-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/libre-caslon-text-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2'); }
/*
 * site.css
 * The stylesheet for haldenrook.com: tokens, type, the twelve-column frame,
 * the masthead and footer, the margin-rail article, and the revision,
 * message house, chart and list components. See DESIGN.md.
 *
 * Created: 2026-11-04
 * Last modified: 2026-11-04
 */

:root {
  --paper: #f5f3ee;
  --paper-deep: #ebe7de;
  --ink: #1b1d1a;
  --ink-soft: #474a44;
  --graphite: #63655e;
  --rule: #cfc9bc;
  --red: #a3311d;
  --night: #171a18;
  --night-text: #e9e6de;
  --night-soft: #b9b5aa;
  --serif-display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --frame: 1240px;
  --gutter: 32px;
  --side: 40px;
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --side: 24px; }
}

@media (max-width: 520px) {
  :root { --side: 16px; }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.58;
  font-feature-settings: 'kern', 'liga', 'onum';
}

@media (max-width: 700px) {
  body { font-size: 17px; line-height: 1.6; }
}

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

a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--rule); }
a:hover { text-decoration-color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: var(--side); top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  font-family: var(--sans); font-size: 15px; text-decoration: none;
}
.skip-link:focus { top: 8px; }

.frame { max-width: var(--frame); margin-left: auto; margin-right: auto; padding-left: var(--side); padding-right: var(--side); }
@media (min-width: 1320px) { .frame { padding-left: 0; padding-right: 0; } }

h1, h2, h3, h4 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }

/* ---- Utility bar ---------------------------------------------------- */

.utility { background: var(--night); color: var(--night-soft); font-family: var(--sans); font-size: 13px; letter-spacing: 0.01em; }
.utility a { color: var(--night-text); text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.utility__offices { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.utility__city, .utility__label { color: var(--night-soft); }
.utility__label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11.5px; margin-right: 6px; }
.utility__duty { margin: 0; }
.utility__duty-line + .utility__duty-line { margin-left: 14px; }
@media (max-width: 760px) {
  .utility__offices { display: none; }
  .utility__duty { font-size: 12.5px; }
}

/* ---- Masthead ------------------------------------------------------- */

.masthead { border-bottom: 1px solid var(--ink); background: var(--paper); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 20px; }
.wordmark { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-decoration: none; }
.wordmark__mark { grid-row: 1 / span 2; width: 34px; height: 34px; color: var(--ink); }
.wordmark__name { font-family: var(--serif-display); font-size: 29px; line-height: 1; letter-spacing: 0.005em; }
.wordmark__descriptor { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--graphite); margin-top: 5px; }
.primary-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 15px; }
.primary-nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.primary-nav a:hover { border-bottom-color: var(--ink); }
.primary-nav a[aria-current='page'] { border-bottom: 2px solid var(--red); }
.menu { display: none; }

@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .menu { display: block; position: relative; }
  .menu__button { list-style: none; cursor: pointer; font-family: var(--sans); font-size: 15px; border: 1px solid var(--ink); padding: 7px 14px; }
  .menu__button::-webkit-details-marker { display: none; }
  .menu[open] .menu__button { background: var(--ink); color: var(--paper); }
  .menu__panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; background: var(--paper); border: 1px solid var(--ink); min-width: 220px; }
  .menu__panel ul { list-style: none; margin: 0; padding: 8px 0; font-family: var(--sans); font-size: 16px; }
  .menu__panel a { display: block; padding: 9px 18px; text-decoration: none; }
  .menu__panel a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--red); }
}
@media (max-width: 520px) {
  .wordmark__name { font-size: 24px; }
  .wordmark__mark { width: 28px; height: 28px; }
  .wordmark__descriptor { font-size: 10.5px; letter-spacing: 0.06em; }
}

/* ---- Breadcrumbs ---------------------------------------------------- */

.breadcrumbs { font-family: var(--sans); font-size: 13px; color: var(--graphite); padding-top: 18px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li + li::before { content: '/'; margin: 0 9px; color: var(--rule); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---- Hero ----------------------------------------------------------- */

.hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-top: 72px; padding-bottom: 64px; align-items: end; }
.hero__text { grid-column: 1 / span 7; }
.hero__figure { grid-column: 9 / span 4; }
.hero__title { font-family: var(--serif-display); font-size: 76px; line-height: 1.02; letter-spacing: -0.012em; max-width: 11ch; }
.hero__standfirst { font-size: 21px; line-height: 1.5; color: var(--ink-soft); max-width: 34em; margin-top: 30px; margin-bottom: 0; }
@media (max-width: 1080px) {
  .hero__text { grid-column: 1 / span 12; }
  .hero__figure { grid-column: 1 / span 12; margin-top: 44px; max-width: 560px; }
  .hero__title { font-size: 62px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 40px; padding-bottom: 40px; }
  .hero__title { font-size: 44px; }
  .hero__standfirst { font-size: 18px; margin-top: 22px; }
}

/* ---- The revision --------------------------------------------------- */

.revision { margin: 0; border-top: 2px solid var(--ink); padding-top: 14px; }
.revision__label { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin: 0 0 12px; }
.revision__text { margin: 0; font-size: 22px; line-height: 1.5; }
.revision__text p { margin: 0; }
.revision del { color: var(--red); text-decoration-line: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
.revision ins { text-decoration-line: underline; text-decoration-style: solid; text-decoration-color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; background: none; }
.revision__caption { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 8px; }
.revision__key { display: block; margin-top: 2px; }
.prose .revision, .article__body > .revision { margin: 36px 0; }
@media (max-width: 600px) { .revision__text { font-size: 19px; } }

/* ---- Figures band --------------------------------------------------- */

.band--rule { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.figures { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr 1.2fr 1.1fr; margin: 0; }
.figures__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px 20px 24px 0; border-right: 1px solid var(--rule); }
.figures__item + .figures__item { padding-left: 20px; }
.figures__item:last-child { border-right: 0; }
.figures dd { margin: 0 0 6px; font-family: var(--serif-display); font-size: 40px; line-height: 1.05; font-variant-numeric: lining-nums; }
.figures dt { font-family: var(--sans); font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
@media (max-width: 900px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures__item, .figures__item + .figures__item { padding: 18px 16px 18px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .figures__item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .figures dd { font-size: 32px; }
}

/* ---- Section heads -------------------------------------------------- */

.home-section { padding-top: 76px; padding-bottom: 8px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.home-section > .section-head { grid-column: 1 / span 4; }
.home-section > :not(.section-head) { grid-column: 5 / span 8; }
.section-head { margin-bottom: 28px; }
.section-head__label { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.section-head__label::before { content: ''; width: 28px; height: 2px; background: var(--red); }
.section-head__numeral { color: var(--red); font-variant-numeric: tabular-nums; }
.section-head__title { font-family: var(--serif-display); font-size: 40px; line-height: 1.1; }
.section-head__intro { font-size: 17px; color: var(--ink-soft); margin-top: 16px; max-width: 26em; }
@media (max-width: 900px) {
  .home-section { padding-top: 56px; }
  .home-section > .section-head, .home-section > :not(.section-head) { grid-column: 1 / span 12; }
  .section-head__title { font-size: 32px; }
}

/* ---- Service list --------------------------------------------------- */

.service-list { list-style: none; margin: 0; padding: 0; counter-reset: service; columns: 2; column-gap: var(--gutter); }
.service-list__item { break-inside: avoid; border-top: 1px solid var(--rule); padding: 16px 0 20px; counter-increment: service; }
.service-list__item h3 { font-size: 21px; line-height: 1.3; margin-bottom: 6px; display: flex; gap: 10px; }
.service-list__item h3::before { content: counter(service, decimal-leading-zero); font-family: var(--sans); font-size: 12.5px; color: var(--red); padding-top: 6px; font-variant-numeric: tabular-nums; }
.service-list__item a { text-decoration: none; }
.service-list__item a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.service-list__item p { font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 0 28px; }
@media (max-width: 700px) { .service-list { columns: 1; } }

/* ---- Matter list ---------------------------------------------------- */

.matter-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.matter-list__row { display: grid; grid-template-columns: 110px 1fr 200px; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.matter-list__years, .matter-list__sector { font-family: var(--sans); font-size: 13.5px; color: var(--graphite); }
.matter-list__title { font-size: 20px; line-height: 1.35; text-decoration: none; }
.matter-list__title:hover { text-decoration: underline; text-decoration-color: var(--red); }
@media (max-width: 700px) {
  .matter-list__row { grid-template-columns: 1fr; gap: 3px; }
  .matter-list__sector { order: 3; }
}
.more { font-family: var(--sans); font-size: 14.5px; margin-top: 18px; }
.more a::after { content: ' →'; }

/* ---- Journal list --------------------------------------------------- */

.journal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
.journal-list__item { border-top: 1px solid var(--ink); padding: 14px 0 28px; }
.journal-list__item:first-child { grid-row: span 3; }
.journal-list__item:first-child .journal-list__title { font-size: 30px; }
.journal-list__meta, .journal-list__author { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin: 0 0 8px; }
.journal-list__title { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.journal-list__title a { text-decoration: none; }
.journal-list__title a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.journal-list__summary { font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 10px; }
@media (max-width: 700px) {
  .journal-list { grid-template-columns: 1fr; }
  .journal-list__item:first-child .journal-list__title { font-size: 25px; }
}

/* ---- Sectors, quotes and recognition -------------------------------- */

.sector-inline { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; font-size: 21px; }
.sector-inline li:not(:last-child)::after { content: '·'; color: var(--red); margin: 0 14px; }
.sector-inline a { text-decoration: none; }
.sector-inline a:hover { text-decoration: underline; }
.pull { margin: 0 0 32px; padding: 26px 0 0; border-top: 2px solid var(--ink); }
.pull p { font-family: var(--serif-display); font-size: 32px; line-height: 1.25; margin-bottom: 14px; max-width: 24em; }
.pull footer { font-family: var(--sans); font-size: 14px; color: var(--graphite); }
.pull--inline p { font-size: 26px; }
@media (max-width: 600px) { .pull p { font-size: 25px; } .pull--inline p { font-size: 22px; } }
@media (max-width: 700px) {
  .sector-inline { display: block; font-size: 19px; }
  .sector-inline li { border-top: 1px solid var(--rule); padding: 9px 0; }
  .sector-inline li:not(:last-child)::after { content: none; }
}
.recognition { font-family: var(--sans); font-size: 14.5px; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 14px; }
.recognition__label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--red); margin-right: 8px; }

/* ---- Duty band ------------------------------------------------------ */

.duty-band { background: var(--night); color: var(--night-text); margin-top: 88px; }
.duty-band__inner { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-top: 44px; padding-bottom: 44px; align-items: baseline; }
.duty-band__title { grid-column: 1 / span 4; font-family: var(--serif-display); font-size: 34px; line-height: 1.1; }
.duty-band__text { grid-column: 5 / span 4; font-size: 17px; color: var(--night-soft); margin: 0; }
.duty-band__lines { grid-column: 10 / span 3; list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 17px; }
.duty-band__lines li { display: flex; flex-direction: column; margin-bottom: 12px; }
.duty-band__lines span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-soft); }
.duty-band a { color: var(--night-text); text-decoration-color: var(--night-soft); }
@media (max-width: 900px) {
  .duty-band__title, .duty-band__text, .duty-band__lines { grid-column: 1 / span 12; }
  .duty-band__text { margin: 14px 0 20px; }
}

/* ---- Footer --------------------------------------------------------- */

.footer { background: var(--night); color: var(--night-soft); font-family: var(--sans); font-size: 14px; line-height: 1.55; border-top: 1px solid #2c302d; padding: 48px 0 40px; }
.duty-band + .footer { padding-top: 40px; }
.footer a { color: var(--night-text); text-decoration-color: #565a54; }
.footer a:hover { text-decoration-color: var(--night-text); }
.footer__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #2c302d; }
.footer__wordmark { display: flex; align-items: center; gap: 10px; font-family: var(--serif-display); font-size: 24px; text-decoration: none; color: var(--night-text); }
.footer__mark { width: 24px; height: 24px; color: var(--night-text); }
.footer__line { font-family: var(--serif); font-style: italic; font-size: 17px; margin: 0; color: var(--night-soft); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr 1fr; gap: 28px var(--gutter); padding: 30px 0; border-bottom: 1px solid #2c302d; }
.footer__heading { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-text); margin-bottom: 10px; font-weight: 500; }
.footer address { font-style: normal; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 4px; }
.footer__small { font-size: 12.5px; padding-top: 22px; max-width: 70em; }
.footer__small p { margin-bottom: 8px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---- Articles with a margin rail ------------------------------------ */

.article { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-top: 40px; padding-bottom: 40px; }
.article__rail { grid-column: 1 / span 3; padding-top: 8px; }
.article__body { grid-column: 4 / span 7; min-width: 0; }
.article__kicker { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin-bottom: 14px; }
.article__title { font-family: var(--serif-display); font-size: 54px; line-height: 1.06; letter-spacing: -0.008em; margin-bottom: 22px; }
.article__standfirst { font-size: 23px; line-height: 1.45; color: var(--ink-soft); padding-bottom: 28px; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
.article__heading { font-family: var(--serif-display); font-size: 30px; line-height: 1.15; margin: 44px 0 16px; }
.prose p { max-width: 36em; }
.prose > :first-child { margin-top: 0; }
.subhead { font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin: 20px 0 8px; }
.signature { font-family: var(--serif); font-style: italic; margin-top: 30px; }
.small-print { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin-top: 18px; max-width: 46em; }
@media (max-width: 900px) {
  .article { padding-top: 24px; }
  .article__rail { grid-column: 1 / span 12; order: 2; margin-top: 36px; border-top: 1px solid var(--ink); padding-top: 18px; }
  .article__body { grid-column: 1 / span 12; }
  .article__title { font-size: 40px; }
  .article__standfirst { font-size: 20px; }
}
@media (max-width: 520px) {
  .article__title { font-size: 34px; }
  .article__heading { font-size: 25px; }
}

.rail { margin: 0; font-family: var(--sans); font-size: 14px; }
.rail__item { border-top: 1px solid var(--rule); padding: 10px 0 12px; }
.rail dt { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin-bottom: 4px; }
.rail dd { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.rail dd a { display: inline-block; padding: 3px 0; }
.rail__note { color: var(--graphite); }

.plate { aspect-ratio: 4 / 5; background: var(--paper-deep); border: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: space-between; padding: 16px; margin-bottom: 18px; max-width: 220px; }
.plate__initials { font-family: var(--serif-display); font-size: 64px; line-height: 1; }
.plate__detail { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); border-top: 1px solid var(--ink); padding-top: 8px; }
@media (max-width: 900px) { .plate { max-width: 160px; } .plate__initials { font-size: 48px; } }

.plain-list { margin: 0; padding: 0 0 0 1.1em; }
.plain-list li { margin-bottom: 10px; padding-left: 4px; }
.plain-list li::marker { color: var(--red); }
.dated-list { list-style: none; margin: 0; padding: 0; }
.dated-list li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.5; }
.dated-list__date { font-family: var(--sans); font-size: 13.5px; color: var(--graphite); padding-top: 3px; }
@media (max-width: 520px) { .dated-list li { grid-template-columns: 1fr; gap: 2px; } }

.related { margin-top: 40px; }
.related__years { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin-left: 6px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: 52px; border-top: 1px solid var(--ink); padding-top: 16px; }
.pager__link { text-decoration: none; font-size: 18px; line-height: 1.35; }
.pager__link--newer { text-align: right; }
.pager__label { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin-bottom: 6px; }
.pager__link:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* ---- Message house -------------------------------------------------- */

.house { margin: 40px 0; }
.house__drawing { font-family: var(--sans); font-size: 14px; line-height: 1.4; max-width: 640px; }
.house__roof { position: relative; padding: 62px 24% 16px; text-align: center; }
.house__roof-line { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); }
.house__roof p { position: relative; margin: 0; font-family: var(--serif); font-size: 17px; }
.house__pillars { list-style: none; margin: 0; padding: 0 3%; display: grid; grid-template-columns: repeat(var(--pillars), 1fr); border-top: 1.5px solid var(--ink); }
.house__pillars li { border-left: 1.5px solid var(--ink); padding: 14px 10px 22px; min-height: 120px; }
.house__pillars li:last-child { border-right: 1.5px solid var(--ink); }
.house__footing { border: 1.5px solid var(--ink); background: var(--paper-deep); padding: 12px 14px; text-align: center; }
.house__part { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.house figcaption { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin-top: 12px; max-width: 640px; }
@media (max-width: 600px) {
  .house__pillars { grid-template-columns: 1fr 1fr; }
  .house__pillars li { min-height: 0; border-bottom: 1.5px solid var(--ink); }
  .house__pillars li:nth-child(even) { border-right: 1.5px solid var(--ink); }
  .house__roof { padding: 40px 12% 14px; }
}

/* ---- Charts and tables ---------------------------------------------- */

.chart { margin: 40px 0; border-top: 2px solid var(--ink); padding-top: 12px; }
.chart__title { font-family: var(--sans); font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.chart__svg { width: 100%; height: auto; display: block; }
.chart__grid { stroke: var(--rule); stroke-width: 1; }
.chart__tick { stroke: var(--graphite); stroke-width: 1; }
.chart__ceiling { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4; }
.chart__line { fill: none; stroke: var(--ink); stroke-width: 2; }
.chart__point { fill: var(--ink); }
.chart__point--last { fill: var(--red); }
.chart__axis { font-family: var(--sans); font-size: 12px; fill: var(--graphite); }
.chart__label { font-family: var(--sans); font-size: 13px; fill: var(--ink); }
.chart__label--last { fill: var(--red); font-weight: 600; }
.chart__note { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin-top: 8px; }

.table-wrap { overflow-x: auto; margin: 24px 0; }
.table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14.5px; }
.table caption { text-align: left; font-size: 13px; color: var(--graphite); padding-bottom: 8px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.table thead th { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); font-weight: 500; border-bottom: 1px solid var(--ink); }
.table tbody th { font-weight: 500; }

/* ---- Page headers and index pages ---------------------------------- */

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-header { padding-top: 44px; padding-bottom: 34px; border-bottom: 1px solid var(--ink); margin-bottom: 8px; }
.page-header__title { font-family: var(--serif-display); font-size: 60px; line-height: 1.04; letter-spacing: -0.01em; max-width: 18ch; }
.page-header__standfirst { font-size: 21px; line-height: 1.5; color: var(--ink-soft); max-width: 40em; margin: 22px 0 0; }
@media (max-width: 700px) {
  .page-header { padding-top: 26px; }
  .page-header__title { font-size: 38px; }
  .page-header__standfirst { font-size: 18px; }
}
.index-table { padding-top: 24px; padding-bottom: 56px; }
.long-page { padding-bottom: 40px; }
.long-page__section { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-top: 56px; }
.long-page__section > .section-head { grid-column: 1 / span 4; }
.long-page__section > :not(.section-head) { grid-column: 5 / span 8; }
@media (max-width: 900px) {
  .long-page__section { padding-top: 40px; }
  .long-page__section > .section-head, .long-page__section > :not(.section-head) { grid-column: 1 / span 12; }
}

.service-index { list-style: none; margin: 0; padding: 0; }
.service-index__row { display: grid; grid-template-columns: 60px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2.4fr); gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.service-index__number { font-family: var(--sans); font-size: 13px; color: var(--red); font-variant-numeric: tabular-nums; }
.service-index__name { font-size: 26px; line-height: 1.2; }
.service-index__name a { text-decoration: none; }
.service-index__name a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.service-index__text { font-size: 17px; color: var(--ink-soft); margin: 0; }
.service-index__leads { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin: 0; }
@media (max-width: 900px) { .service-index__row { grid-template-columns: 40px 1fr; } .service-index__text, .service-index__leads { grid-column: 2; } }

.sector-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
.sector-index__row { border-top: 1px solid var(--ink); padding: 16px 0 30px; }
.sector-index__name { font-size: 26px; line-height: 1.2; margin-bottom: 10px; }
.sector-index__name a { text-decoration: none; }
.sector-index__text { font-size: 17px; color: var(--ink-soft); }
.sector-index__meta { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin: 0; }
@media (max-width: 700px) { .sector-index { grid-template-columns: 1fr; } }

.issue-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); }
.issue-grid li { border-top: 1px solid var(--rule); padding: 10px 0; font-size: 17px; }
@media (max-width: 600px) { .issue-grid { grid-template-columns: 1fr; } }

.practice-note { border-left: 2px solid var(--red); padding: 4px 0 4px 18px; margin: 34px 0; font-size: 18px; max-width: 36em; }
.practice-note__label { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }

.contacts { margin: 44px 0 0; border-top: 2px solid var(--ink); padding-top: 14px; }
.contacts__heading { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin-bottom: 10px; font-weight: 500; }
.contacts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px var(--gutter); }
.contacts__list li { display: flex; flex-direction: column; font-family: var(--sans); font-size: 14px; }
.contacts__name { font-family: var(--serif); font-size: 19px; text-decoration: none; }
.contacts__role { color: var(--graphite); }
.contacts__email { overflow-wrap: anywhere; }
.link-list { margin-top: 12px; }

.people-grid { padding-top: 32px; }
.people-grid__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px var(--gutter); }
.people-grid__item .plate { max-width: none; aspect-ratio: 5 / 4; margin-bottom: 12px; }
.people-grid__item .plate__initials { font-size: 46px; }
.people-grid__name { font-size: 22px; line-height: 1.2; }
.people-grid__name a { text-decoration: none; }
.people-grid__name a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.people-grid__role { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin: 4px 0 8px; }
.people-grid__summary { font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.people-list { padding-top: 20px; padding-bottom: 56px; }
@media (max-width: 1080px) { .people-grid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .people-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .people-grid__item .plate__initials { font-size: 34px; } .people-grid__summary { display: none; } }

.journal-index { padding-top: 16px; padding-bottom: 56px; }
.journal-index__year { display: grid; grid-template-columns: 160px 1fr; gap: var(--gutter); border-top: 1px solid var(--ink); padding: 18px 0 8px; }
.journal-index__heading { font-family: var(--serif-display); font-size: 40px; line-height: 1; color: var(--ink); }
.journal-index__list { list-style: none; margin: 0; padding: 0; }
.journal-index__item { padding-bottom: 22px; }
.journal-index__item + .journal-index__item { border-top: 1px solid var(--rule); padding-top: 14px; }
.journal-index__title { font-size: 24px; line-height: 1.25; margin-bottom: 8px; }
.journal-index__title a { text-decoration: none; }
.journal-index__title a:hover { text-decoration: underline; text-decoration-color: var(--red); }
@media (max-width: 700px) { .journal-index__year { grid-template-columns: 1fr; gap: 6px; } .journal-index__heading { font-size: 30px; } }

.dated-list__summary { display: block; font-size: 15px; color: var(--ink-soft); margin-top: 3px; }
.dated-list--news li { grid-template-columns: 170px 1fr; }
.notice { font-family: var(--sans); font-size: 15px; border: 1px solid var(--ink); background: var(--paper-deep); padding: 12px 16px; }

.history { list-style: none; margin: 0; padding: 0; }
.history__item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; border-top: 1px solid var(--rule); padding: 12px 0; }
.history__year { font-family: var(--serif-display); font-size: 26px; line-height: 1.1; color: var(--red); }
.history__item p { margin: 0; font-size: 17.5px; }

.timeline { margin: 32px 0 0; }
.timeline__svg { width: 100%; height: auto; display: block; }
.timeline__line { stroke: var(--ink); stroke-width: 1.5; }
.timeline__tick { stroke: var(--ink); stroke-width: 1; }
.timeline__dot { fill: var(--ink); }
.timeline__dot--first { fill: var(--red); }
.timeline__hour { font-family: var(--sans); font-size: 13px; fill: var(--graphite); }
.timeline__key { list-style: none; margin: 10px 0 0; padding: 0; columns: 2; column-gap: var(--gutter); font-family: var(--sans); font-size: 14px; }
.timeline__key li { break-inside: avoid; padding: 5px 0; border-top: 1px solid var(--rule); }
.timeline__key span { display: inline-block; min-width: 56px; color: var(--red); font-variant-numeric: tabular-nums; }
.timeline figcaption { font-family: var(--sans); font-size: 13px; color: var(--graphite); margin-top: 10px; }
@media (max-width: 600px) { .timeline__svg { display: none; } .timeline__key { columns: 1; } }

.office__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gutter); align-items: start; }
.office address { font-style: normal; font-size: 19px; line-height: 1.5; margin-bottom: 16px; }
.office__numbers, .addresses { margin: 0 0 16px; font-family: var(--sans); font-size: 15px; }
.office__numbers div, .addresses div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--rule); }
.addresses div { grid-template-columns: 220px 1fr; }
.office__numbers dt, .addresses dt { color: var(--graphite); }
.office__numbers dd, .addresses dd { margin: 0; overflow-wrap: anywhere; }
.office__directions { font-size: 16px; color: var(--ink-soft); }
@media (max-width: 900px) { .office__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .addresses div, .office__numbers div { grid-template-columns: 1fr; gap: 2px; } }
.plan { margin: 0; }
.plan__svg { width: 100%; height: auto; display: block; border: 1px solid var(--rule); }
.plan__ground { fill: var(--paper-deep); }
.plan__street { fill: none; stroke: var(--paper); stroke-width: 16; stroke-linecap: square; }
.plan__street--major { stroke-width: 26; }
.plan__street--own { stroke: #fff; stroke-width: 14; }
.plan__label { font-family: var(--sans); font-size: 19px; fill: var(--ink-soft); }
.plan__label--own { fill: var(--ink); font-weight: 600; }
.plan__label--office { fill: var(--red); font-weight: 600; }
.plan__note { font-family: var(--sans); font-size: 17px; fill: var(--graphite); }
.plan__office { fill: var(--red); }
.plan figcaption { font-family: var(--sans); font-size: 12.5px; color: var(--graphite); margin-top: 6px; }

.site-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--gutter); padding-top: 24px; padding-bottom: 56px; }
.site-map__heading { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); border-top: 1px solid var(--ink); padding-top: 10px; margin-bottom: 8px; font-weight: 500; }
.site-map ul { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.site-map li { padding: 3px 0; }
@media (max-width: 760px) { .site-map { grid-template-columns: 1fr; } }

.table--work th[scope='row'] { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.table--work th[scope='row'] a { text-decoration: none; }

/* ---- The client extranet ------------------------------------------- */

.x-page { background: var(--paper-deep); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.x-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--ink); color: var(--paper); padding: 10px var(--side); }
.x-bar a { color: var(--paper); text-decoration: none; }
.x-bar__brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif-display); font-size: 20px; }
.x-bar__mark { width: 20px; height: 20px; color: var(--paper); }
.x-bar__title { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-soft); }
.x-bar__account { margin-left: auto; font-size: 13.5px; color: var(--night-text); }
.x-bar__signout { font: inherit; font-size: 13.5px; background: none; color: var(--paper); border: 1px solid var(--night-soft); padding: 5px 12px; cursor: pointer; }
.x-bar__signout:hover { background: var(--paper); color: var(--ink); }
.x-shell { max-width: 1320px; margin: 0 auto; padding: 28px var(--side) 48px; }
.x-main:focus { outline: none; }
.x-signin { max-width: 440px; margin: 40px auto; background: var(--paper); border: 1px solid var(--rule); padding: 28px 30px; }
.x-signin h1 { font-family: var(--serif-display); font-size: 34px; margin-bottom: 12px; }
.x-note { color: var(--ink-soft); font-size: 14px; }
.x-form { display: flex; flex-direction: column; gap: 6px; margin: 18px 0; }
.x-form label { font-weight: 600; font-size: 13.5px; margin-top: 8px; }
.x-form input[type='text'], .x-form input[type='password'] { font: inherit; font-size: 16px; padding: 9px 10px; border: 1px solid var(--graphite); background: #fff; color: var(--ink); }
.x-form__check { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; }
.x-form__check input { width: 18px; height: 18px; }
.x-form__submit { margin-top: 14px; align-self: flex-start; font: inherit; font-weight: 600; background: var(--ink); color: var(--paper); border: 0; padding: 10px 22px; cursor: pointer; }
.x-form__submit:hover { background: var(--red); }
.x-form__status { min-height: 1.5em; margin: 8px 0 0; font-size: 14px; }
.x-error { color: var(--red); }
.x-app { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.x-app[hidden] { display: none; }
.x-nav ul { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--rule); }
.x-nav li + li { border-top: 1px solid var(--rule); }
.x-nav a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; text-decoration: none; font-weight: 600; }
.x-nav a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--red); background: var(--paper-deep); }
.x-nav__note { font-weight: 400; font-size: 12.5px; color: var(--graphite); }
.x-view { background: var(--paper); border: 1px solid var(--rule); padding: 26px 30px 34px; min-width: 0; }
.x-view h1 { font-family: var(--serif-display); font-weight: 400; font-size: 36px; line-height: 1.1; margin-bottom: 14px; }
.x-view h1:focus { outline: none; }
.x-view h2 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); margin: 26px 0 8px; font-weight: 600; }
.x-view h3 { font-size: 16px; margin: 18px 0 6px; font-weight: 600; }
.x-kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin: 0 0 6px; }
.x-head { margin: 0 0 20px; border-top: 1px solid var(--ink); }
.x-head div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.x-head dt { color: var(--graphite); font-size: 13.5px; }
.x-head dd { margin: 0; overflow-wrap: anywhere; }
.x-body { font-family: var(--serif); font-size: 17px; line-height: 1.6; max-width: 46em; }
.x-body p { margin: 0 0 0.9em; }
.x-list { margin: 0 0 1em; padding-left: 1.3em; }
.x-list li { margin-bottom: 6px; }
.x-signed { font-family: var(--sans); font-size: 14px; border-top: 1px dashed var(--graphite); padding-top: 8px; margin-top: 18px; color: var(--ink-soft); }
.x-lines { margin: 14px 0; font-family: var(--sans); font-size: 15px; border-top: 2px solid var(--ink); }
.x-lines > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.x-lines dt { color: var(--ink-soft); }
.x-lines dd { margin: 0; font-family: var(--serif); font-size: 17px; }
.x-lines__rule dt { color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.x-lines__rule dd { font-family: var(--sans); font-size: 14.5px; font-weight: 600; }
.x-log { list-style: none; margin: 0; padding: 0; }
.x-log li { border-top: 1px solid var(--rule); padding: 10px 0; }
.x-log p { margin: 0; }
.x-log__when { font-size: 13px; color: var(--graphite); margin-bottom: 2px !important; }
.x-index { list-style: none; margin: 0; padding: 0; }
.x-index li { border-top: 1px solid var(--rule); padding: 10px 0; }
.x-index span { display: block; font-size: 13px; color: var(--graphite); }
.x-back { font-size: 14px; margin-top: 24px; }
.x-view .house__drawing { max-width: 560px; }
.x-view .house__roof { padding: 70px 22% 14px; }
.x-view .house__roof p { font-size: 15px; }
.x-foot { text-align: center; font-size: 12.5px; color: var(--graphite); padding: 0 var(--side) 30px; }
@media (max-width: 860px) {
  .x-app { grid-template-columns: 1fr; }
  .x-nav ul { display: flex; flex-wrap: wrap; }
  .x-nav li + li { border-top: 0; }
  .x-nav li { border-right: 1px solid var(--rule); }
  .x-view { padding: 20px 16px 26px; }
  .x-lines > div, .x-head div { grid-template-columns: 1fr; gap: 3px; }
  .x-signin { padding: 22px 18px; margin: 16px auto; }
}

/* ---- 404 ------------------------------------------------------------ */

.not-found { padding-top: 96px; padding-bottom: 96px; max-width: 760px; }

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

@media print {
  .utility, .masthead nav, .menu, .duty-band, .footer__grid { display: none; }
  body { background: #fff; }
}
