/* Fonts, served from this site. Written by the builder: edit the family names,
   not the rules. */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/barlow-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/barlow-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/barlow-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/barlow-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/barlow-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/barlow-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/barlow-condensed-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/barlow-condensed-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/barlow-condensed-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/barlow-condensed-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/barlow-condensed-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/barlow-condensed-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* End of the fonts. */

/* ==========================================================================
   Outline Global: "Survey sheet" direction (see DIRECTION.md).
   Token names are a contract (contact form and comments partials use
   --line, --bg-card, --bg-alt, --fg, --fg-muted, --accent, --radius).
   Light is the default; the two dark blocks are byte-identical apart from
   their selector.
   ========================================================================== */
:root {
  color-scheme: light;
  --primary: #4F7A14;
  --primary-deep: #3B5C0E;
  --accent: #88B538;
  --accent-ink: #15190F;
  --bg: #FFFFFF;
  --bg-alt: #F3F5EF;
  --bg-card: #FFFFFF;
  --fg: #171A14;
  --fg-muted: #5E6963;
  --line: #D6DBD0;
  --on-primary: #FFFFFF;
  --shadow: none;
  /* Code blocks and syntax colours (highlight.js classes map onto these). */
  --code-bg: #F3F5EF;
  --code-fg: #171A14;
  --hl-comment: #6A737D;
  --hl-keyword: #A626A4;
  --hl-string: #1B7F3B;
  --hl-number: #B35C00;
  --hl-title: #1F5FBF;
  --hl-attr: #8A4B00;
  --hl-meta: #6A737D;

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: Barlow, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 76rem;
  --radius: 2px;

  /* Site-only tokens (not part of the contract). */
  --ink-block: #15190F;
  --ink-block-fg: #EEF1E8;
  --ink-block-muted: #A8B2A0;
  --ink-block-line: #2E372A;
  --ink-block-accent: #A5CF55;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --primary: #A5CF55;
  --primary-deep: #C6E08A;
  --accent: #A5CF55;
  --accent-ink: #121610;
  --bg: #121610;
  --bg-alt: #1A2016;
  --bg-card: #1D241A;
  --fg: #EEF1E8;
  --fg-muted: #A8B2A0;
  --line: #2E372A;
  --on-primary: #121610;
  --shadow: none;
  --code-bg: #0C100A;
  --code-fg: #E6EBF0;
  --hl-comment: #8B949E;
  --hl-keyword: #D2A8FF;
  --hl-string: #7EE787;
  --hl-number: #FFA657;
  --hl-title: #79C0FF;
  --hl-attr: #FFA657;
  --hl-meta: #8B949E;
  --ink-block: #0C100A;
  --ink-block-line: #2E372A;
}
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary: #A5CF55;
  --primary-deep: #C6E08A;
  --accent: #A5CF55;
  --accent-ink: #121610;
  --bg: #121610;
  --bg-alt: #1A2016;
  --bg-card: #1D241A;
  --fg: #EEF1E8;
  --fg-muted: #A8B2A0;
  --line: #2E372A;
  --on-primary: #121610;
  --shadow: none;
  --code-bg: #0C100A;
  --code-fg: #E6EBF0;
  --hl-comment: #8B949E;
  --hl-keyword: #D2A8FF;
  --hl-string: #7EE787;
  --hl-number: #FFA657;
  --hl-title: #79C0FF;
  --hl-attr: #FFA657;
  --hl-meta: #8B949E;
  --ink-block: #0C100A;
  --ink-block-line: #2E372A;
}

/* ---- base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--fg); background: var(--bg); }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--primary-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 0.6rem; color: var(--fg); font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section-alt { background: var(--bg-alt); }
.eyebrow { display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin: 0 0 0.75rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; color: var(--fg-muted); max-width: 40rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.muted { color: var(--fg-muted); }
.small { font-size: 0.92rem; }
.tm { font-size: 0.55em; vertical-align: super; }

/* Sheet grid: narrow label column, wide content column. */
.sheet-row { border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: 1rem 2.5rem; }
.sheet-row + .sheet-row { margin-top: clamp(2.5rem, 5vw, 4rem); }
.sheet-row > .eyebrow { margin: 0; }
@media (min-width: 900px) {
  .sheet-row { grid-template-columns: 13rem minmax(0, 1fr); }
  .sheet-row > .eyebrow { padding-top: 0.5rem; }
}
.sheet-body > h2:first-child { margin-top: 0; }
.sheet-body > :last-child { margin-bottom: 0; }
.measure { max-width: 46rem; }
.two-col { display: grid; gap: 1rem 2.5rem; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---- buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.7rem 1.4rem; border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: var(--on-primary); }
.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-accent:hover { filter: brightness(1.06); color: var(--accent-ink); }
.btn-outline { border-color: currentColor; color: var(--fg); background: transparent; }
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.btn-light { border-color: rgba(255,255,255,0.7); color: #FFFFFF; background: transparent; }
.btn-light:hover { background: #FFFFFF; color: var(--ink-block); }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- header + nav (mobile first, no JS needed) --------------------------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; position: relative; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--fg); }
.brand img { height: 2.6rem; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.nav-toggle-input { position: absolute; opacity: 0; width: 0; height: 0; }
.nav-toggle { display: flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 1.3rem; height: 2px; background: var(--fg); position: relative; transition: transform 0.2s; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle-input:checked + .nav-toggle span { background: transparent; }
.nav-toggle-input:checked + .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle-input:checked + .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle-input:focus-visible + .nav-toggle { outline: 3px solid var(--accent); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100vh - 4.5rem); overflow-y: auto; }
.nav-toggle-input:checked ~ .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0.5rem 1.25rem 1rem; }
.site-nav li { margin: 0; }
.site-nav a { display: block; min-height: 2.9rem; padding: 0.75rem 0; text-decoration: none; color: var(--fg); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.site-nav li ul { padding: 0 0 0 1.25rem; }
.site-nav li ul a { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--fg-muted); }
.site-nav .nav-cta a { margin-top: 0.9rem; border: 1px solid var(--primary); color: var(--primary); text-align: center; padding: 0.7rem 1.2rem; border-radius: var(--radius); }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; align-items: center; gap: 0.1rem; padding: 0; }
  .site-nav a { padding: 0.6rem 0.8rem; border: 0; font-size: 0.82rem; }
  .site-nav a:hover { color: var(--primary); }
  .site-nav li { position: relative; }
  .site-nav li ul { display: none; position: absolute; top: 100%; left: 0; min-width: 12rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.3rem 0; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li:hover > ul, .site-nav li:focus-within > ul { display: flex; }
  .site-nav li ul a { color: var(--fg); font-weight: 500; padding: 0.6rem 1rem; font-size: 0.9rem; }
  .site-nav .nav-cta a { margin: 0 0 0 0.6rem; padding: 0.55rem 1.1rem; }
  .site-nav .nav-cta a:hover { background: var(--primary); color: var(--on-primary); }
}

/* ---- hero: full-bleed capture, type bottom-left --------------------------- */
.hero { position: relative; isolation: isolate; background: var(--ink-block); color: #FFFFFF; min-height: clamp(30rem, 82vh, 46rem); display: grid; align-items: end; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,25,15,0.15) 0%, rgba(21,25,15,0.35) 45%, rgba(21,25,15,0.9) 100%); }
.hero .container { width: 100%; padding-block: 2.5rem 2rem; display: grid; gap: 1.5rem; }
.hero .eyebrow { color: #C6D224; }
.hero h1 { color: #FFFFFF; max-width: 14ch; margin-bottom: 1rem; }
.hero .lead { color: rgba(255,255,255,0.88); max-width: 36rem; }
.hero-caption { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin: 0; }
@media (min-width: 900px) {
  .hero .container { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-block: 3rem 2.5rem; }
}

/* Notice strip under the hero (webinar). */
.notice { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.notice .container { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; padding-block: 0.9rem; }
.notice .eyebrow { margin: 0; }
.notice p { margin: 0; }
.notice a.more { margin-left: auto; font-weight: 600; white-space: nowrap; min-height: 2.75rem; display: inline-flex; align-items: center; }

/* Split header for solution pages. */
.split-head { display: grid; border-bottom: 1px solid var(--line); }
.split-head .text { padding-block: clamp(2.5rem, 6vw, 5rem); }
.split-head .text h1 { max-width: 12ch; }
.split-head .figure { position: relative; min-height: 16rem; background: var(--bg-alt); }
.split-head .figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 30rem; }
  .split-head .text { padding-right: 3rem; display: flex; flex-direction: column; justify-content: center; }
}
.split-head.bleed { max-width: none; }
.split-head.bleed .text { padding-left: max(1.25rem, calc((100vw - var(--container)) / 2 + 1.25rem)); }

/* Page banner (page layout). */
.page-banner { padding-block: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.page-banner h1 { max-width: 16ch; }
.page-banner .lead { margin: 0; }

/* ---- the specification sheet (the memorable element) --------------------- */
.spec { background: var(--ink-block); color: var(--ink-block-fg); }
.spec .eyebrow { color: var(--ink-block-accent); }
.spec h2, .spec h3 { color: #FFFFFF; }
.spec p { color: var(--ink-block-muted); }
.spec a { color: var(--ink-block-accent); }
.spec .sheet-row { border-top-color: var(--ink-block-line); }
.figures { display: grid; gap: 0; border-top: 1px solid var(--ink-block-line); border-left: 1px solid var(--ink-block-line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.figures > div { border-right: 1px solid var(--ink-block-line); border-bottom: 1px solid var(--ink-block-line); padding: 1.25rem 1.25rem 1.1rem; }
.figures dt, .figures .k { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-block-muted); margin: 0 0 0.4rem; }
.figures dd, .figures .v { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: #FFFFFF; letter-spacing: 0.005em; white-space: nowrap; }
.figures .v small, .figures dd small { font-size: 0.42em; font-weight: 600; color: var(--ink-block-accent); margin-left: 0.2rem; letter-spacing: 0.02em; }
.figures .note { font-family: var(--font-body); font-size: 0.92rem; color: var(--ink-block-muted); margin: 0.5rem 0 0; line-height: 1.4; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink-block-line); font-size: 1rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--ink-block-line); }
.spec-table th { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-block-muted); width: 34%; }
.spec-table td { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: #FFFFFF; line-height: 1.15; }
.spec-table td small { display: block; font-family: var(--font-body); font-size: 0.92rem; font-weight: 400; color: var(--ink-block-muted); margin-top: 0.2rem; }

/* Light tables on white pages. */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--line); }
.data-table th { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); font-weight: 600; }
.data-table tbody th { font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--fg); }
.table-wrap { overflow-x: auto; }

/* ---- rows (service lists, downloads, posts) ------------------------------ */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows > li { border-bottom: 1px solid var(--line); padding: 1.4rem 0; display: grid; gap: 0.5rem 2rem; }
.rows h3 { margin: 0 0 0.35rem; }
.rows p { margin: 0; }
.rows .idx { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--primary); letter-spacing: 0.05em; }
.rows .more { font-weight: 600; white-space: nowrap; min-height: 2.75rem; display: inline-flex; align-items: center; }
@media (min-width: 720px) {
  .rows > li { grid-template-columns: 5rem minmax(0, 1fr) auto; align-items: start; }
  .rows > li.plain { grid-template-columns: minmax(0, 1fr) auto; }
}
.rows > li.plain { grid-template-columns: minmax(0, 1fr) auto; }
.industries { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.industries li { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.45rem 0.85rem; font-size: 0.92rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.facts li { border-top: 2px solid var(--primary); padding-top: 0.8rem; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.25rem; }
.facts p { margin: 0; color: var(--fg-muted); font-size: 0.98rem; }

/* ---- captures: contact-sheet grid --------------------------------------- */
.capture-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); background: var(--line); border: 1px solid var(--line); }
.capture-grid li { background: var(--bg); margin: 0; }
.capture-grid figure { margin: 0; }
.capture-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-alt); }
.capture-grid figcaption { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); padding: 0.6rem 0.75rem 0.7rem; }
.capture-grid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }

/* ---- split text and image ----------------------------------------------- */
.split { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.split img { width: 100%; }
.frame { background: var(--bg-alt); border: 1px solid var(--line); }
.frame img { width: 100%; height: auto; }

/* ---- logos and quotes ---------------------------------------------------- */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); }
.logo-grid li { background: var(--bg-card); display: grid; place-items: center; padding: 1.1rem 1.25rem; min-height: 5.5rem; margin: 0; }
.logo-grid img { max-height: 2.6rem; width: auto; max-width: 100%; object-fit: contain; }
:root[data-theme="dark"] .logo-grid li, :root:not([data-theme="light"]) .logo-grid li { background: #FFFFFF; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .logo-grid li { background: var(--bg-card); } }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.quotes li { border-bottom: 1px solid var(--line); padding: 1.25rem 0; margin: 0; }
.quotes blockquote { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; font-weight: 500; }
.quotes cite { display: block; font-style: normal; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-top: 0.6rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; gap: 0 3rem; } }

/* ---- team ---------------------------------------------------------------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); }
.team li { margin: 0; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-alt); }
.team strong { display: block; margin-top: 0.5rem; font-weight: 600; line-height: 1.2; }
.team span { display: block; font-size: 0.85rem; color: var(--fg-muted); line-height: 1.3; }

/* ---- contact strip + offices --------------------------------------------- */
.contact-strip { background: var(--ink-block); color: var(--ink-block-fg); }
.contact-strip .container { padding-block: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.5rem 3rem; align-items: center; }
.contact-strip h2 { color: #FFFFFF; max-width: 22ch; margin: 0; }
.contact-strip .phone { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; color: #FFFFFF; text-decoration: none; display: inline-block; }
.contact-strip .phone:hover { color: var(--ink-block-accent); }
.contact-strip .eyebrow { color: var(--ink-block-accent); }
.contact-strip .actions { margin-top: 1rem; }
@media (min-width: 900px) { .contact-strip .container { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.offices li { background: var(--bg-card); padding: 1.1rem 1.2rem 1.2rem; margin: 0; }
.offices strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.3rem; }
.offices a { color: var(--fg); text-decoration: none; display: block; line-height: 1.45; }
.offices a:hover { color: var(--primary); text-decoration: underline; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list .k { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); font-weight: 600; }
.contact-list a { font-weight: 500; }
.map { border: 1px solid var(--line); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink-block); border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
video { width: 100%; background: var(--ink-block); }

/* ---- blog ----------------------------------------------------------------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.cat-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--fg); font-size: 0.9rem; font-weight: 500; }
.cat-nav a:hover { border-color: var(--primary); color: var(--primary); }
.cat-nav a[aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); padding: 1.25rem 0; display: grid; gap: 0.35rem 2rem; margin: 0; }
.post-list time { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--fg-muted); letter-spacing: 0.03em; text-transform: uppercase; }
.post-list h3 { margin: 0 0 0.3rem; font-size: 1.5rem; }
.post-list h3 a { color: var(--fg); text-decoration: none; }
.post-list h3 a:hover { color: var(--primary); text-decoration: underline; }
.post-list p { margin: 0; color: var(--fg-muted); }
.post-list .cats { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-top: 0.4rem; }
@media (min-width: 720px) { .post-list li { grid-template-columns: 9rem minmax(0, 1fr); } }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 1.5rem; }
.post-meta a { color: var(--primary); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }

/* ---- prose ---------------------------------------------------------------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: 2rem; }
.prose h4 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li > ol, .prose li > ul { margin-top: 0.4rem; }
.prose img { margin-block: 1.5rem; border: 1px solid var(--line); }
.prose figure { margin: 1.75rem 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: 0.85rem; color: var(--fg-muted); padding: 0.5rem 0 0; letter-spacing: 0.02em; }
.prose video { margin-block: 1.5rem; border: 1px solid var(--line); }
.prose .video { margin-block: 1.5rem; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.7rem 0.6rem 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 3px solid var(--primary); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose .legal ol { counter-reset: none; }
.prose.wide { max-width: none; }
.prose-grid { display: grid; gap: 2rem 3rem; }
@media (min-width: 900px) { .prose-grid { grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); align-items: start; } }

/* ---- footer -------------------------------------------------------------- */
.site-footer { background: var(--ink-block); color: var(--ink-block-fg); margin-top: 0; border-top: 1px solid var(--ink-block-line); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--ink-block-accent); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem 2.5rem; padding-block: 3rem 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { display: block; margin-bottom: 1rem; }
.footer-brand img { height: 2.4rem; width: auto; }
.site-footer .eyebrow { color: var(--ink-block-accent); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; line-height: 1.4; }
.site-footer .offices-list li { margin-bottom: 0.9rem; font-size: 0.95rem; }
.site-footer .offices-list strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.site-footer .offices-list a { color: var(--ink-block-muted); }
.site-footer p { color: var(--ink-block-muted); }
.footer-phone { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #FFFFFF; display: inline-block; margin: 0.25rem 0 0.5rem; }
.footer-bottom { border-top: 1px solid var(--ink-block-line); padding-block: 1.25rem 1.5rem; font-size: 0.88rem; color: var(--ink-block-muted); display: grid; gap: 0.75rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .ack { max-width: 60rem; line-height: 1.5; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; }
.footer-bottom .legal a { min-height: 2.75rem; display: inline-flex; align-items: center; }

/* ---- theme toggle --------------------------------------------------------- */
.theme-toggle { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; width: 2.9rem; height: 2.9rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-card); color: var(--fg); display: grid; place-items: center; cursor: pointer; }
.theme-toggle .icon { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[hidden] { display: none !important; }

/* Code blocks and syntax colouring (classes from highlight.js, colours from the tokens above). */
.prose code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.9em; background: var(--code-bg); color: var(--code-fg); padding: 0.1em 0.35em; border-radius: var(--radius); border: 1px solid var(--line); overflow-wrap: anywhere; }
.prose pre { background: var(--code-bg); color: var(--code-fg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; overflow-x: auto; margin-block: 1.25rem; line-height: 1.55; font-size: 0.9rem; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.hljs { background: transparent; color: var(--code-fg); }
.hljs-comment, .hljs-quote { color: var(--hl-comment); font-style: italic; }
.hljs-keyword, .hljs-selector-tag, .hljs-literal, .hljs-doctag, .hljs-name { color: var(--hl-keyword); }
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-template-tag { color: var(--hl-string); }
.hljs-number, .hljs-symbol, .hljs-bullet, .hljs-link, .hljs-deletion { color: var(--hl-number); }
.hljs-title, .hljs-section, .hljs-type, .hljs-built_in, .hljs-class .hljs-title, .hljs-function .hljs-title { color: var(--hl-title); }
.hljs-attr, .hljs-attribute, .hljs-variable, .hljs-template-variable, .hljs-selector-attr, .hljs-selector-id, .hljs-selector-class { color: var(--hl-attr); }
.hljs-meta, .hljs-meta .hljs-keyword, .hljs-subst { color: var(--hl-meta); }
.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: 700; }

/* Table of contents on long posts (nav.roq-toc comes from the TOC plugin). */
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); padding: 0.9rem 1.1rem; margin: 0 0 1.5rem; font-size: 0.95rem; }
.toc-title { margin: 0 0 0.4rem; font-weight: 600; color: var(--fg-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc ul ul { padding-left: 1rem; }
.toc li { margin: 0.2rem 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Newer / older links under a paginated listing. */
.pagination ul { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.5rem 0 0; padding: 0; }
.pagination p { margin: 0; }
.pagination .page-number { color: var(--fg-muted); font-size: 0.9rem; }

/* Legal pages: lettered clauses and roman sub-clauses, as the contract numbers them. */
.legal ol { list-style: lower-alpha; }
.legal ol ol { list-style: lower-roman; }
.legal h2 { font-size: 1.5rem; margin-top: 2.25rem; }
