/* ==========================================================================
   Roberts Analytics — site-v7.css (October 2026)

   Browsers keep this file for 7 days. When you change it, save it under a NEW
   name (site-v8.css, …) and update the <link> in every HTML file.

   Typeface (as v4): Instrument Sans, variable width 75–100 and weight 400–600.
   Headings use condensed widths (85% / 90% / 92%). One light ground.
   Drawings are self-contained SVG files shown on white "sheets".
   The typeface is served from this site (assets/fonts, SIL Open Font Licence),
   so pages make no requests to Google.
   ========================================================================== */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-v4.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;
}

:root {
  --paper: #F8F7F4;
  --sand: #EFEBE4;
  --white: #FFFFFF;
  --ink: #121D33;
  --navy: #16324F;
  --copper: #B4762C;
  --copper-deep: #8E5A1F;
  --stone: #5D5B56;
  --rule: #DDD8CE;

  --font: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  --gutter: 20px;
  --max: 1280px;
  --space: clamp(4.5rem, 3rem + 5vw, 8.5rem);
  --ease: cubic-bezier(.2, .6, .2, 1);
}
@media (min-width: 768px)  { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 56px; } }

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
h1, h2, h3, p, ul, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
abbr[title] { text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  padding: 12px 16px; background: var(--ink); color: var(--white); text-decoration: none;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section + .section { padding-top: 0; }
.rule-top { border-top: 1px solid var(--rule); padding-top: var(--space); }

/* ── Type (v4 settings) ───────────────────────────────────── */
.h-hero, .h-page, .h2, .h3 { font-weight: 400; color: var(--ink); text-wrap: balance; hyphens: none; }
.h-hero { font-size: clamp(2.25rem, 10.4vw, 5.5rem); line-height: .95; letter-spacing: -.03em; font-stretch: 85%; }
.h-hero > span { display: block; }
.stop { color: var(--copper); }
/* "Project Management." measures 7.72em at this setting: size the headline
   from its own column so each service always stays on one line. */
.hero__text { container-type: inline-size; }
@supports (font-size: 1cqi) {
  .h-hero { font-size: min(6.75rem, 12.5cqi); }
  .h-hero > span { white-space: nowrap; }
}
.h-page { font-size: clamp(2.5rem, 1.3rem + 6vw, 5.5rem); line-height: 1; letter-spacing: -.03em; font-stretch: 85%; }
.h2 { font-size: clamp(1.75rem, 1.15rem + 3vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em; font-stretch: 90%; }
.h3 { font-size: clamp(1.375rem, 1.05rem + 1.6vw, 2.25rem); line-height: 1.12; letter-spacing: -.015em; font-stretch: 92%; }
.lead { font-size: clamp(1.125rem, 1.03rem + .45vw, 1.375rem); line-height: 1.45; max-width: 34em; text-wrap: pretty; }
.text { max-width: 62ch; text-wrap: pretty; }
.text + .text, .lead + .lead, .lead + .text { margin-top: 1em; }
.muted { color: var(--stone); }
.small { font-size: .875rem; line-height: 1.5; }
.label { font-size: .875rem; line-height: 1.5; font-weight: 550; color: var(--stone); }
.marker { display: block; width: 40px; height: 2px; background: var(--copper); margin-bottom: 1.25rem; }

/* ── Links & buttons ──────────────────────────────────────── */
.link {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  color: var(--ink); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--copper);
  text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.link:hover { text-decoration-thickness: 2px; }
.link .arr { transition: transform .25s var(--ease); }
@media (hover: hover) { .link:hover .arr { transform: translateX(3px); } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.6rem;
  font: inherit; font-size: 1rem; font-weight: 550;
  color: var(--white); background: var(--ink); border: 1px solid var(--ink); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn .arr { transition: transform .25s var(--ease); }
@media (hover: hover) { .btn:hover .arr { transform: translateX(3px); } }
.btn[aria-disabled="true"] { opacity: .65; cursor: progress; }
.email {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--copper);
  text-decoration-thickness: 1px; text-underline-offset: .18em; overflow-wrap: anywhere;
}
.email:hover { text-decoration-thickness: 2px; }
.email-lg { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); line-height: 1.25; letter-spacing: -.015em; font-stretch: 90%; }
.email-lg .email { display: inline-block; padding-block: 10px; }

/* ── Header ───────────────────────────────────────────────── */
.header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
@media (min-width: 900px) { .header__in { min-height: 88px; } }
.logo { display: block; flex: none; padding-block: 8px; }
.logo img { width: 128px; }
@media (min-width: 900px) { .logo img { width: 150px; } }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 40px; }
  .nav a {
    position: relative; display: flex; align-items: center; min-height: 44px;
    color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500;
  }
  .nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
    background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
}
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--ink); background: transparent; cursor: pointer;
  font: inherit; font-size: .9375rem; font-weight: 500; color: var(--ink);
}
@media (min-width: 900px) { .header .menu-btn { display: none; } }
html:not(.js) .header .menu-btn { display: none; }
@media (max-width: 899px) {
  html:not(.js) .header__in { flex-wrap: wrap; padding-bottom: 8px; }
  html:not(.js) .nav { display: flex; flex-wrap: wrap; gap: 0 24px; width: 100%; }
  html:not(.js) .nav a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
  html:not(.js) .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: .3em; }
}
.sheet {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  display: flex; flex-direction: column; background: var(--paper); padding: 0 var(--gutter) 32px;
}
.sheet__top { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid var(--rule); }
.sheet nav { margin-top: 8px; }
.sheet nav a {
  display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--rule);
  font-size: 1.75rem; letter-spacing: -.02em; font-stretch: 90%; color: var(--ink); text-decoration: none;
}
.sheet nav a[aria-current="page"] { color: var(--copper-deep); }
.sheet__foot { margin-top: auto; padding-top: 40px; }
.sheet__foot a { display: flex; align-items: center; min-height: 44px; width: fit-content; }
html.menu-open { overflow: hidden; }

/* ── Drawing sheets (one presentation everywhere) ─────────── */
.plate { background: var(--white); border: 1px solid var(--rule); overflow: hidden; }
.plate img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.plate--portrait img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .plate--portrait img { aspect-ratio: 4 / 5; } }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) var(--space); }
.hero__grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.hero__lead { margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.hero__cta { margin-top: clamp(2rem, 1.6rem + 1vw, 2.75rem); }

/* ── Section heads ────────────────────────────────────────── */
.head { display: grid; gap: 1rem 2rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 900px) {
  .head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; }
  .head .lead { justify-self: end; }
}

/* ── Three services (Home) ────────────────────────────────── */
.trio { display: grid; gap: 3rem; }
@media (min-width: 600px) and (max-width: 899px) {
  .svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 28px; align-items: start; }
  .svc .plate { grid-row: 1 / span 3; }
  .svc .h3 { margin-top: 0 !important; }
}
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 2vw, 3.5rem); } }
.svc .plate { display: block; transition: border-color .3s var(--ease); }
@media (hover: hover) { .svc:hover .plate { border-color: #C9C3B8; } }
.svc .h3 { margin-top: 1.5rem; }
.svc .text { margin-top: .6rem; color: var(--stone); }
.svc .link { margin-top: .5rem; }

/* ── Introduction (Home) ──────────────────────────────────── */
.split { display: grid; gap: 1.5rem 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.split .link { margin-top: 1rem; }

/* ── Contact band ─────────────────────────────────────────── */
.band { background: var(--sand); padding: clamp(2.75rem, 2rem + 3vw, 5rem) clamp(1.5rem, 1rem + 3vw, 4.5rem); }
.band__grid { display: grid; gap: 1.75rem 3rem; }
@media (min-width: 900px) { .band__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; } }
.band .btn { margin-top: 1rem; }

/* ── Inner page heads (Services, About, Contact Us) ───────── */
.pagehead { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.pagehead .lead { margin-top: clamp(1.25rem, 1rem + 1vw, 2rem); }
.index { display: flex; flex-wrap: wrap; gap: 0 2rem; margin-top: 1.25rem; }

/* ── Drawing + text rows (Services pillars, About) ────────── */
.pillar { display: grid; gap: 2.25rem; scroll-margin-top: 24px; }
@media (min-width: 900px) {
  .pillar { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 4vw, 5.5rem); align-items: start; }
  .pillar--flip > .plate { order: 2; }
  .pillar > .plate { position: sticky; top: 24px; }
}
.pillar__sub { margin-top: .35rem; }
.pillar .lead { margin-top: 1.25rem; }
.covers { margin-top: 2rem; }
.covers h3 { font-size: .875rem; font-weight: 550; color: var(--stone); padding-bottom: .6rem; }
.covers li { padding: .7rem 0 .7rem 1.4rem; border-top: 1px solid var(--rule); position: relative; }
.covers li:last-child { border-bottom: 1px solid var(--rule); }
.covers li::before { content: ''; position: absolute; left: 0; top: 1.35rem; width: .7rem; height: 1px; background: var(--copper); }
.pillars > * + * { margin-top: var(--space); padding-top: var(--space); border-top: 1px solid var(--rule); }
.about-text .h3 + .lead { margin-top: .9rem; }
.about-text .block + .block { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--rule); }
.note { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--copper); max-width: 40em; }

/* ── Contact ──────────────────────────────────────────────── */
.contact { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: start; } }
.details > div { padding-block: 1.25rem; border-top: 1px solid var(--rule); }
.details > div:last-child { border-bottom: 1px solid var(--rule); }
.details dt { margin-bottom: .25rem; }
.textbtn {
  min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .875rem; color: var(--stone);
  text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .3em;
}
.textbtn:hover { color: var(--ink); text-decoration-color: var(--copper); }
.copy-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.formbox { background: var(--white); border: 1px solid var(--rule); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.form { margin-top: 1.25rem; display: grid; gap: 1.25rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 550; }
.field .opt { font-weight: 400; color: var(--stone); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid #C9C3B8; border-radius: 0;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--stone); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 1px; background: var(--white); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--copper-deep); border-width: 2px; }
.field__error { font-size: .875rem; color: var(--copper-deep); }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
@media (min-width: 600px) { .form .btn { width: auto; justify-self: start; } }
.form__status { margin-top: 1.25rem; padding: 1rem 1.1rem; background: var(--sand); border-left: 3px solid var(--copper); }
.form__status.is-error { border-left-color: var(--copper-deep); }
.form__status:focus, .form__summary:focus { outline: none; }
.form__summary { padding: 1rem 1.1rem; background: var(--sand); border-left: 3px solid var(--copper-deep); }
.form__summary h3 { font-size: 1rem; font-weight: 550; }
.form__summary li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--copper-deep); }

/* ── Footer ───────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--rule); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 2.5rem; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 600px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); } .footer__grid > :first-child { grid-column: auto; } }
.footer__logo { display: block; width: fit-content; padding-block: 8px; }
.footer__logo img { width: 128px; }
.footer__about { margin-top: .75rem; max-width: 28em; }
.footer h2 { font-size: .875rem; font-weight: 550; color: var(--stone); margin-bottom: .5rem; }
.footer__links a { display: flex; align-items: center; min-height: 44px; width: fit-content; color: var(--ink); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: .3em; }
.footer__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }

/* ==========================================================================
   v7 additions
   ========================================================================== */

/* ── Header call to action ────────────────────────────────── */
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .875rem; }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--ink); }
.btn--ghost:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
@media (min-width: 900px) {
  .nav .btn { color: var(--white); margin-left: 4px; }
  .nav .btn::after { display: none; }
  .nav .btn[aria-current="page"] { background: var(--navy); border-color: var(--navy); }
}
.sheet .btn { margin-top: 24px; width: 100%; font-size: 1rem; }

/* ── Small text devices ───────────────────────────────────── */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .875rem; font-weight: 550; color: var(--stone); margin-bottom: 1.25rem; }
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--copper); flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dash-list li { padding: .7rem 0 .7rem 1.4rem; border-top: 1px solid var(--rule); position: relative; }
.dash-list li:last-child { border-bottom: 1px solid var(--rule); }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 1.35rem; width: .7rem; height: 1px; background: var(--copper); }
.dash-list strong { font-weight: 550; }
.dash-list .sub { display: block; color: var(--stone); font-size: .9375rem; }

/* ── Hero (v7: positioning statement) ─────────────────────── */
.h-statement { font-size: clamp(2.25rem, 1.25rem + 3.4vw, 4.4rem); line-height: 1; letter-spacing: -.03em; font-stretch: 85%; font-weight: 400; text-wrap: balance; }
.hero .cta-row { margin-top: clamp(2rem, 1.6rem + 1vw, 2.75rem); }

/* ── Credentials band (Home) ──────────────────────────────── */
.credentials { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 900px) { .credentials { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.cred-list { display: grid; }
@media (min-width: 600px) { .cred-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.cred-list li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.cred-list strong { display: block; font-size: 1.0625rem; font-weight: 550; line-height: 1.35; }
.cred-list span { display: block; margin-top: .2rem; color: var(--stone); font-size: .9375rem; line-height: 1.45; }

/* ── Founder (Home summary and About profile) ─────────────── */
.founder { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 4vw, 5.5rem); align-items: start; } }
.portrait { background: var(--white); border: 1px solid var(--rule); padding: 10px; max-width: 420px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .portrait { max-width: none; position: sticky; top: 24px; } }
.person__name { margin-top: .25rem; }
.person__role { margin-top: .5rem; color: var(--stone); }
.founder .lead { margin-top: 1.5rem; }
.founder .text { margin-top: 1rem; }
.founder__cols { display: grid; gap: 2rem; margin-top: 2.25rem; }
@media (min-width: 700px) { .founder__cols { grid-template-columns: 1fr 1fr; } }
.founder__cols h3 { font-size: .875rem; font-weight: 550; color: var(--stone); padding-bottom: .6rem; }
.founder .link { margin-top: 1.5rem; }

/* ── Integrated approach ──────────────────────────────────── */
.trilogy { display: grid; gap: 2rem; counter-reset: tri; }
@media (min-width: 900px) { .trilogy { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.trilogy > div { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
@media (min-width: 900px) {
  .trilogy > div { padding: 1.25rem 2rem 0 0; }
  .trilogy > div + div { padding-left: 2rem; border-left: 1px solid var(--rule); }
}
.trilogy .label { color: var(--copper-deep); }
.trilogy .h3 { margin-top: .5rem; }
.trilogy .text { margin-top: .75rem; color: var(--stone); }
.coda { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); max-width: 46em; }

/* ── Process steps ────────────────────────────────────────── */
.steps { display: grid; gap: 0; counter-reset: step; padding: 0; list-style: none; }
.steps li { align-content: start; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 1rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; font-stretch: 85%; color: var(--copper-deep); }
.steps h3 { font-size: 1.125rem; font-weight: 550; line-height: 1.35; }
.steps p { margin-top: .3rem; color: var(--stone); }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 1fr; padding: 1.5rem 1.5rem 0 0; border-bottom: 0 !important; }
  .steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
  .steps li::before { grid-row: auto; font-size: 2.25rem; margin-bottom: 1rem; }
}

/* ── Service pages ────────────────────────────────────────── */
.svc-hero { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .svc-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(2.5rem, 1rem + 4vw, 5.5rem); } }
.svc-hero .cta-row { margin-top: 2rem; }
.rows > .row { display: grid; gap: 1rem 2rem; padding-block: clamp(2.25rem, 1.75rem + 2vw, 3.5rem); border-top: 1px solid var(--rule); }
.rows > .row:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .rows > .row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.row .h3 { max-width: 14em; }
.row .dash-list { margin-top: .25rem; }
.rows .dash-list li:last-child { border-bottom: 0; }
@media (min-width: 700px) { .rows .two-col li { border-top: 1px solid var(--rule); border-bottom: 0; } }
.cap-list li { padding: 1rem 0; border-top: 1px solid var(--rule); }
.cap-list li:first-child { border-top: 0; padding-top: 0; }
.cap-list strong { display: block; font-size: 1.0625rem; font-weight: 550; }
.cap-list span { display: block; margin-top: .2rem; color: var(--stone); }
.cap-list strong a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.two-col { display: grid; gap: 0 2rem; }
@media (min-width: 700px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col li { border-top: 0; border-bottom: 1px solid var(--rule); }
  .two-col li:nth-child(-n+2) { border-top: 1px solid var(--rule); }
}
.links-row { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin-top: 1rem; }

/* ── Services overview ────────────────────────────────────── */
.svc-list > article { display: grid; gap: 1.75rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--rule); }
.svc-list > article:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .svc-list > article { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 1rem + 4vw, 5rem); align-items: center; } }
.svc-list .lead { margin-top: 1rem; }
.svc-list .dash-list { margin-top: 1.5rem; }
.svc-list .link { margin-top: 1.25rem; }

/* ── About ────────────────────────────────────────────────── */
.principles { display: grid; gap: 2rem; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.principles h3 { font-size: 1.125rem; font-weight: 550; padding-top: 1rem; border-top: 2px solid var(--ink); }
.principles p { margin-top: .5rem; color: var(--stone); }
.facts li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; padding: .85rem 0; border-top: 1px solid var(--rule); }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.facts strong { font-weight: 550; }
.facts .by { grid-column: 1; color: var(--stone); font-size: .9375rem; }
.facts .yr { grid-column: 2; grid-row: 1; color: var(--stone); font-variant-numeric: tabular-nums; font-size: .9375rem; }
.profile-section + .profile-section { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.profile-section > h3 { font-size: .875rem; font-weight: 550; color: var(--stone); padding-bottom: .6rem; }
.career li { padding: 1rem 0; border-top: 1px solid var(--rule); }
.career li:last-child { border-bottom: 1px solid var(--rule); }
.career strong { display: block; font-weight: 550; font-size: 1.0625rem; }
.career p { margin-top: .3rem; color: var(--stone); }
.team-note { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding: 1.5rem 1.75rem; background: var(--sand); max-width: 52em; }

/* ── Contact ──────────────────────────────────────────────── */
.next-steps { margin-top: 0; }
@media (min-width: 900px) {
  .contact { grid-template-areas: "details form" "next form"; grid-template-rows: auto 1fr; row-gap: 2.5rem; }
  .contact__details { grid-area: details; }
  .contact .formbox { grid-area: form; }
  .contact .next-steps { grid-area: next; }
}
@media (min-width: 1100px) {
  .next-steps .steps { grid-template-columns: 1fr; }
  .next-steps .steps li { grid-template-columns: 3.25rem 1fr; padding: 1.25rem 0; }
  .next-steps .steps li + li { padding-left: 0; border-left: 0; }
  .next-steps .steps li:last-child { border-bottom: 1px solid var(--rule) !important; }
  .next-steps .steps li::before { grid-row: 1 / span 2; font-size: 1.5rem; margin-bottom: 0; }
}
.next-steps h2 { font-size: .875rem; font-weight: 550; color: var(--stone); padding-bottom: .6rem; }
.field select {
  width: 100%; min-height: 50px; padding: 12px 40px 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink); background-color: var(--paper);
  border: 1px solid #C9C3B8; border-radius: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235D5B56' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 1px; background-color: var(--white); }
.form-note a { color: inherit; text-decoration-color: var(--copper); }

/* ── Privacy notice and other prose ───────────────────────── */
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 400; letter-spacing: -.015em; font-stretch: 92%; margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: .9rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li + li { margin-top: .35rem; }
.prose a { text-decoration-color: var(--copper); }

/* ── Footer, four columns ─────────────────────────────────── */
@media (min-width: 1100px) {
  .footer__grid--4 { grid-template-columns: minmax(0, 4fr) minmax(0, 2.5fr) minmax(0, 2.5fr) minmax(0, 3.5fr); }
}
html:not(.js) .nav .btn { color: var(--white); text-decoration: none; }

/* ── Project profile (ready for future Roberts Analytics assignments; not yet used) ── */
.project { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .project { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 1rem + 4vw, 5rem); } }
.project__meta { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin-top: 1.25rem; font-size: .9375rem; }
.project__meta dt { color: var(--stone); }

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