/* SafeAssure — site stylesheet
   Built on tokens.css. Classes here replace the inline styles used in the
   artboards; the artboards need inline styles because the design editor edits
   them, production does not. */

/* ---------------------------------------------------------------- fonts   */
/* Self-hosted. Google Fonts would be a third-party origin and a render-
   blocking stylesheet — the exact class of problem this rebuild exists to
   remove. Archivo is a variable font: two files cover 400–700. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/archivo-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: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/archivo-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- reset   */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sa-paper);
  color: var(--sa-ink);
  font-family: var(--sa-font);
  font-size: var(--sa-size-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: var(--sa-tracking-tight); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Keyboard focus must always be visible. The artboards could not show this. */
:focus-visible { outline: 2px solid var(--sa-orange); outline-offset: 3px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 14px 20px; background: var(--sa-orange); color: #fff; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- layout  */
.wrap {
  width: 100%;
  max-width: var(--sa-page-width);
  margin-inline: auto;
  padding-inline: var(--sa-gutter);
}
.band { padding-block: var(--sa-section-y); }
.band--dark, .band--deep { color: var(--sa-on-dark); background-repeat: repeat, no-repeat, no-repeat; background-size: 160px 160px, auto, auto; background-blend-mode: overlay, normal, normal; }
.band--dark  { background-color: var(--sa-ink);      background-image: var(--sa-grain), var(--sa-bloom-warm), var(--sa-bloom-cool); }
.band--deep  { background-color: var(--sa-ink-deep); background-image: var(--sa-grain), var(--sa-bloom-warm), var(--sa-bloom-cool); }
.band--warm  { background: var(--sa-paper-warm); }
.band--flush { padding-block: 0; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.measure { max-width: 68ch; }

/* ---------------------------------------------------------------- type    */
.eyebrow {
  font-size: var(--sa-size-label); font-weight: 600;
  letter-spacing: var(--sa-tracking-label); text-transform: uppercase;
  color: var(--sa-orange); margin-bottom: 14px;
}
.band--dark .eyebrow, .band--deep .eyebrow { color: var(--sa-amber); }
.rule { width: var(--sa-accent-rule); height: 42px; background: var(--sa-orange); margin-bottom: 24px; }

.h1 { font-size: var(--sa-size-h1); line-height: 1.05; }
.h2 { font-size: var(--sa-size-h2); line-height: 1.06; }
.h2--sm { font-size: var(--sa-size-h2-sm); line-height: 1.1; }
.h3 { font-size: var(--sa-size-h3); line-height: 1.2; }
.h4 { font-size: var(--sa-size-h4); line-height: 1.2; }
.lead { font-size: var(--sa-size-lead); line-height: 1.55; color: var(--sa-grey); }
.band--dark .lead, .band--deep .lead { color: var(--sa-on-dark-soft); }
.body-lg { font-size: var(--sa-size-body-lg); line-height: 1.55; color: var(--sa-grey); }
.muted { color: var(--sa-grey-mid); }
.band--dark .muted, .band--deep .muted { color: var(--sa-grey-light); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--sa-btn-height); padding-inline: 30px;
  font-size: 15px; font-weight: 600; text-align: center;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s;
}
.btn--primary { background: var(--sa-orange); color: #fff; }
.btn--primary:hover { background: #D4570F; }
.btn--ghost { border-color: var(--sa-line-dark-2); color: var(--sa-on-dark); font-weight: 500; }
.btn--ghost:hover { border-color: var(--sa-on-dark); }
.btn--light { background: #fff; color: var(--sa-ink); }
.btn--light:hover { background: var(--sa-paper-warm); }
.btn--sm { min-height: var(--sa-btn-height-sm); padding-inline: 22px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

.link-arrow { color: var(--sa-orange); font-size: 14px; font-weight: 600; }
.link-arrow:hover { color: var(--sa-amber); }

/* ---------------------------------------------------------------- nav     */
.nav { background: var(--sa-ink-deep); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--sa-nav-height); gap: 24px; }
.nav__logo img { height: 46px; width: auto; }   /* raised from 34px — Gareth, 10 Sep: too small */
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 14px; font-weight: 500; color: var(--sa-on-dark-nav); }
.nav__link:hover { color: #fff; }
.nav__link[aria-current='page'] { color: var(--sa-orange); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-size: 14px; font-weight: 500; color: var(--sa-grey-light); }
.nav__phone:hover { color: #fff; }
.nav__toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; cursor: pointer; border: 1px solid rgba(255,255,255,.24); }
.nav__call { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; border: 1px solid rgba(255,255,255,.24); }
/* Hidden outright on desktop, where the label it belongs to is not rendered —
   a focusable control with nothing on screen is worse than no control. */
.nav__check { display: none; }

/* Visible to a screen reader, not to the eye. The menu control is an icon, so
   without this it announces as nothing at all. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- hero    */
.hero {
  position: relative; color: var(--sa-on-dark); overflow: hidden;
  background-color: var(--sa-ink-deep);
  background-image: var(--sa-grain), var(--sa-bloom-warm), var(--sa-bloom-cool);
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 160px 160px, auto, auto;
  background-blend-mode: overlay, normal, normal;
}
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    var(--sa-bloom-warm),
    linear-gradient(90deg, var(--sa-ink-deep) 0%, rgba(25,22,28,.94) 44%, rgba(25,22,28,.30) 100%);
}
.hero__inner { position: relative; padding-block: 72px; }
.hero--tall .hero__inner { min-height: 548px; display: flex; flex-direction: column; justify-content: center; }

.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 30px; font-size: 13px; color: var(--sa-grey-light); }
.breadcrumb__sep { color: var(--sa-grey-mid); }
.breadcrumb [aria-current='page'] { color: var(--sa-orange); font-weight: 600; }

/* ---------------------------------------------------------------- stats   */
.stats { display: flex; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.stat__value { font-size: 24px; font-weight: 700; letter-spacing: var(--sa-tracking-tight); }
.stat__label { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--sa-grey-light); text-transform: uppercase; }
.stats__divider { width: 1px; align-self: stretch; background: rgba(255,255,255,.16); }

/* Panelled key/value list used in page heroes */
.facts { display: flex; flex-direction: column; gap: 18px; padding: 28px 30px; background: var(--sa-ink); border-top: 3px solid var(--sa-orange); }
.facts__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--sa-line-dark); }
.facts__row:last-child { padding-bottom: 0; border-bottom: 0; }
.facts__key { font-size: 14.5px; color: var(--sa-grey-light); }
.facts__val { font-size: 18px; font-weight: 700; }
.facts__val--sm { font-size: 15px; font-weight: 600; }

/* ---------------------------------------------------------------- cards   */
.card { display: flex; flex-direction: column; padding: 30px 28px 26px; background: #fff; border: 1px solid var(--sa-line); }
.card--warm { background: var(--sa-paper-warm); }
.card--dark {
  color: var(--sa-on-dark); border-color: transparent;
  background-color: var(--sa-ink); background-image: var(--sa-grain);
  background-size: 160px 160px; background-blend-mode: overlay;
}
.card--accent { background: var(--sa-orange); color: #fff; border-color: transparent; justify-content: center; }
.card__title { font-size: 20px; line-height: 1.2; margin-bottom: 10px; }
.card__body { font-size: 15px; line-height: 1.5; color: var(--sa-grey); margin-bottom: 18px; }
.card__list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 22px; font-size: 13.5px; color: var(--sa-grey-mid); }
.card__cta { margin-top: auto; }
.card__icon { margin-bottom: 20px; }

/* ---------------------------------------------------------------- chips   */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 9px 15px; background: var(--sa-paper-warm); border: 1px solid var(--sa-line); font-size: 14px; font-weight: 500; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 4px 9px; white-space: nowrap; background: var(--sa-paper-tint); }
.tag--solid { background: var(--sa-ink); color: #fff; }

/* Section label — orange block plus a rule */
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.section-label__text {
  padding: 7px 13px; font-size: 11px; font-weight: 700;
  letter-spacing: var(--sa-tracking-label); text-transform: uppercase;
  background: var(--sa-orange); color: #fff;
}
.section-label__text--quiet { background: var(--sa-paper-tint); color: var(--sa-ink); }
.section-label__rule { flex: 1; border-top: 1px solid var(--sa-line-soft); }

/* ---------------------------------------------------------------- proof   */
.proof { padding-block: 34px 30px; border-bottom: 1px solid var(--sa-line); }
.proof__label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sa-grey-mid); margin-bottom: 20px; }
.proof__logos { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.proof__logos img { width: auto; object-fit: contain; }

/* Rolling client logos. Gareth asked whether a static site can have moving
   parts — it can, and this is how: CSS only, no JavaScript. The track holds
   two identical groups and travels exactly one group width, so the loop is
   seamless. Memberships stay still: they are credentials, not a showreel. */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: sa-marquee 46s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 52px; padding-right: 52px; flex: none; min-height: 58px; }
.marquee__group img { width: auto; object-fit: contain; flex: none; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes sa-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee__group { flex-wrap: wrap; justify-content: space-between; width: 100%; padding-right: 0; }
  .marquee__group + .marquee__group { display: none; }
}
.proof__memberships { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--sa-paper-tint); }

/* ---------------------------------------------------------------- steps   */
.step { padding-top: 26px; border-top: 3px solid var(--sa-orange); }
.step__num { font-size: 13px; font-weight: 700; color: var(--sa-orange); margin-bottom: 12px; }
.step__title { font-size: 19px; margin-bottom: 10px; }
.step__body { font-size: 14.5px; line-height: 1.5; color: var(--sa-grey-light); }

/* ---------------------------------------------------------------- quotes  */
.quote { display: flex; flex-direction: column; padding: 38px 36px 32px; background: var(--sa-paper-warm); border-left: 3px solid var(--sa-orange); }
.quote__text { font-size: 19px; line-height: 1.45; font-weight: 500; margin-bottom: 26px; }
.quote__who { margin-top: auto; font-size: 14.5px; font-weight: 600; }
.quote__where { font-size: 14px; color: var(--sa-grey-mid); }

/* ---------------------------------------------------------------- people  */
.person { display: flex; gap: 26px; padding: 32px 30px; background: #fff; border: 1px solid var(--sa-line); }
.person__photo { width: 116px; height: 116px; object-fit: cover; object-position: top center; border-radius: 50%; flex-shrink: 0; }
.person__name { font-size: 21px; line-height: 1.2; margin-bottom: 4px; }
.person__role { font-size: 14px; font-weight: 600; color: var(--sa-orange); margin-bottom: 14px; }
.person__bio { font-size: 15px; line-height: 1.5; color: var(--sa-grey); }

/* ---------------------------------------------------------------- forms   */
.form { padding: 34px 32px 30px; background: #fff; color: var(--sa-ink); }
.form__title { font-size: 21px; line-height: 1.2; margin-bottom: 20px; }
.form__fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.form__label { position: absolute; left: -9999px; }
/* Keyed off .form__fields, not .form. The intent chooser on /contact/ is a
   .chooser, not a .form, so `.form input` never matched it and every field on
   the site's main conversion page rendered as a raw browser default — 21px
   tall, 13.3px text, a 2px border. It looked like an unstyled 1998 form and
   had been that way since the chooser was built on 21 Sep. Both blocks share
   .form__fields, so that is the honest hook. The honeypot lives in .form__hp
   outside it and stays untouched, which is what we want. */
.form__fields input, .form__fields textarea, .form__fields select {
  width: 100%; padding: 0 15px; font: inherit; font-size: 15px;
  color: var(--sa-ink); background: #fff; border: 1px solid var(--sa-line-field); border-radius: 0;
}
.form__fields input { height: var(--sa-field-height); }
.form__fields select { height: var(--sa-field-height); appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--sa-grey) 50%), linear-gradient(135deg, var(--sa-grey) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.form__fields textarea { min-height: 96px; padding-block: 14px; resize: vertical; }
.form__fields input::placeholder, .form__fields textarea::placeholder { color: #9A9591; }
.form__note { font-size: 13px; line-height: 1.45; color: var(--sa-grey-mid); }
.form__submit { width: 100%; min-height: var(--sa-btn-height-form); margin-bottom: 14px; }
/* Honeypot — a bot fills this, a person never sees it */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- cta     */
.cta { position: relative; background: var(--sa-ink-deep); color: var(--sa-on-dark); overflow: hidden; }
.cta__glow {
  position: absolute; top: -140px; right: -90px; width: 440px; height: 440px; border-radius: 50%;
  background: linear-gradient(140deg, var(--sa-orange) 0%, var(--sa-amber) 100%); opacity: .16;
}
.cta__inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; padding-block: 76px 80px; }
.contact-list { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact-list a { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 600; }
.contact-list a:hover { color: var(--sa-amber); }

/* ---------------------------------------------------------------- footer  */
.footer {
  color: var(--sa-on-dark); padding-block: 44px 30px;
  background-color: var(--sa-ink);
  background-image: var(--sa-grain), var(--sa-bloom-cool);
  background-repeat: repeat, no-repeat;
  background-size: 160px 160px, auto;
  background-blend-mode: overlay, normal;
}
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--sa-line-dark); }
.footer__services { display: flex; gap: 30px; flex-wrap: wrap; }
.footer__services a { font-size: 14px; color: var(--sa-grey-light); }
.footer__services a:hover { color: #fff; }
.footer__logo img { height: 32px; width: auto; }
.footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: var(--sa-grey-mid); }

/* ------------------------------------------------------- editorial flag   */
/* Marks a fact SafeAssure still has to supply. The build fails the check
   script if any of these survive into a production build. */
.todo {
  color: var(--sa-todo-ink); background: var(--sa-todo-bg);
  border: 1px dashed var(--sa-todo-border); padding: 1px 6px;
  font-size: 13px; font-weight: 600;
}

/* ---------------------------------------------------------------- globe   */
/* The register column is much taller than the globe. Rather than stretch a
   400px graphic down a 1200px panel, the globe sticks and travels with the
   list as it scrolls. */
.where { display: grid; grid-template-columns: 1fr 1.15fr; }
.where__list { padding: 72px var(--sa-gutter); }
.globe {
  position: sticky; top: 0; align-self: start;
  display: flex; align-items: center; justify-content: center;
  min-height: min(100vh, 760px);
  background: var(--sa-ink-deep); padding: 40px;
}
.globe__svg { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; }
@keyframes sa-mer { 0% { transform: scaleX(1); } 50% { transform: scaleX(.02); } 100% { transform: scaleX(1); } }
@keyframes sa-pulse { 0% { transform: scale(1); opacity: .85; } 70% { transform: scale(4.4); opacity: 0; } 100% { transform: scale(4.4); opacity: 0; } }
.sa-mer { animation: sa-mer 16s linear infinite; }
.sa-pulse { animation: sa-pulse 3.4s ease-out infinite; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  :root { --sa-size-h1: 42px; --sa-size-h2: 34px; --sa-size-h2-sm: 30px; --sa-gutter: 40px; }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 900px) {
  /* The drawer. See the comment in layout.mjs: a <button> cannot open this,
     because the site ships no JavaScript, so the control is a checkbox and the
     panel is driven by `:checked ~`. `.nav__inner` needs `position: relative`
     for the panel to hang off the header rather than off the viewport. */
  .nav__inner { position: relative; }
  .nav__links, .nav__phone, .nav__cta { display: none; }
  .nav__toggle, .nav__call { display: flex; }
  .nav__check { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; opacity: 0; clip-path: inset(50%); }
  .nav__check:focus-visible ~ .nav__actions .nav__toggle { outline: 2px solid var(--sa-amber); outline-offset: 2px; }

  .nav__check:checked ~ nav .nav__links {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: var(--sa-ink-deep);
    border-top: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    padding: 4px var(--sa-gutter) 14px;
  }
  .nav__check:checked ~ nav .nav__links li + li { border-top: 1px solid rgba(255,255,255,.10); }
  .nav__check:checked ~ nav .nav__link { display: block; padding: 15px 2px; font-size: 16px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .where { grid-template-columns: 1fr; }
  .globe { position: static; min-height: 0; padding: 32px 20px; }
  .where__list { padding: 48px var(--sa-gutter); }
  .hero--tall .hero__inner { min-height: 0; }
}
@media (max-width: 640px) {
  :root { --sa-size-h1: 34px; --sa-size-h2: 28px; --sa-size-h2-sm: 26px; --sa-gutter: 20px; --sa-section-y: 52px; }
  .grid--5, .grid--4 { grid-template-columns: 1fr; }
  .hero__inner { padding-block: 40px 36px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(25,22,28,.86) 0%, rgba(25,22,28,.94) 60%, var(--sa-ink-deep) 100%); }
  .btn { width: 100%; }
  .stats { gap: 20px; justify-content: space-between; }
  .stats__divider { display: none; }
  .person { flex-direction: column; gap: 18px; }
}

/* ---------------------------------------------------------------- legal
   Privacy policy and anything else that is a document rather than a page.
   Long prose, so the measure is tighter than the rest of the site and the
   headings work harder than the type scale usually needs to. */

.hero--slim { padding-block: 96px 64px; }
.hero--slim .h1 { max-width: 18ch; }

.legal { max-width: 68ch; }
.legal__date {
  font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--sa-grey-mid);
}
.legal__intro {
  padding-bottom: 30px; margin-bottom: 8px;
  border-bottom: 1px solid var(--sa-line);
}
.legal__intro p { font-size: var(--sa-size-body-lg); line-height: 1.6; color: var(--sa-ink); }
.legal__section { padding-top: 34px; }
.legal__h {
  font-size: 23px; line-height: 1.2; letter-spacing: -.012em;
  margin-bottom: 14px;
}
.legal p { margin-bottom: 15px; line-height: 1.65; color: var(--sa-grey); }
.legal p:last-child { margin-bottom: 0; }

.legal__list { margin: 0 0 15px; padding-left: 0; list-style: none; }
.legal__list li {
  position: relative; padding-left: 26px; margin-bottom: 11px;
  line-height: 1.6; color: var(--sa-grey);
}
.legal__list li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 9px; height: 1px; background: var(--sa-orange);
}

.legal__groups { margin: 0 0 18px; }
.legal__groups dt {
  font-weight: 700; color: var(--sa-ink); margin-top: 18px; margin-bottom: 4px;
}
.legal__groups dt:first-child { margin-top: 0; }
.legal__groups dd { margin: 0; line-height: 1.6; color: var(--sa-grey); }

.legal__contact {
  font-style: normal; line-height: 1.85; padding: 24px 26px;
  background: var(--sa-paper-warm); border: 1px solid var(--sa-line);
}

@media (max-width: 640px) {
  .hero--slim { padding-block: 64px 44px; }
  .legal__h { font-size: 20px; }
}

/* ------------------------------------------------------------ case study
   A real case example carries proof numbers and a quote; a sketch carries
   the amber flag instead. Both use the same three-column problem / action /
   outcome grid, so a sketch can be swapped for the real thing in the data. */
.case__client { font-size: 15.5px; font-weight: 700; color: var(--sa-ink); margin-bottom: 22px; }
.case__meta { font-weight: 400; color: var(--sa-grey-mid); }
.case__stats {
  display: flex; flex-wrap: wrap; gap: 44px;
  padding: 22px 0 26px; margin-bottom: 30px; border-block: 1px solid var(--sa-line);
}
.case__stat { display: flex; flex-direction: column; gap: 3px; }
.case__figure { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--sa-orange); }
.case__label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sa-grey-mid);
}
.case__quote { margin: 30px 0 0; padding-left: 22px; border-left: 3px solid var(--sa-orange); max-width: 64ch; }
.case__quote blockquote { margin: 0 0 8px; font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--sa-ink); }
.case__quote figcaption { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sa-grey-mid); }
@media (max-width: 640px) { .case__stats { gap: 26px; } .case__figure { font-size: 25px; } }

/* ---------------------------------------------------------------- chooser
   Combined call to action, driven by three radios and `:checked ~`. No
   JavaScript, so it works under `script-src 'none'` and it works before
   anything has loaded. The radios are visually hidden but still focusable —
   focus lands on them and the ring is drawn on the matching label. */
.chooser { background: #fff; border: 1px solid var(--sa-line); padding: 30px 30px 28px; }
.chooser__radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chooser__legend {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sa-grey-mid); margin-bottom: 12px;
}
.chooser__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chooser__tabs label {
  font-size: 14px; font-weight: 600; line-height: 1;
  padding: 11px 16px; border: 1px solid var(--sa-line-soft); border-radius: 999px;
  color: var(--sa-grey); background: var(--sa-paper-tint); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chooser__tabs label:hover { color: var(--sa-ink); border-color: var(--sa-grey-mid); }
.chooser__panel { display: none; }

#want-call:checked  ~ .chooser__panel--call,
#want-guide:checked ~ .chooser__panel--guide,
#want-news:checked  ~ .chooser__panel--news { display: block; }

#want-call:checked  ~ .chooser__tabs label[for="want-call"],
#want-guide:checked ~ .chooser__tabs label[for="want-guide"],
#want-news:checked  ~ .chooser__tabs label[for="want-news"] {
  background: var(--sa-ink); border-color: var(--sa-ink); color: #fff;
}
#want-call:focus-visible  ~ .chooser__tabs label[for="want-call"],
#want-guide:focus-visible ~ .chooser__tabs label[for="want-guide"],
#want-news:focus-visible  ~ .chooser__tabs label[for="want-news"] {
  outline: 2px solid var(--sa-orange); outline-offset: 2px;
}

.form__consent { display: flex; gap: 11px; align-items: flex-start; margin: 20px 0 4px; }
.form__consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--sa-orange); }
.form__consent label { font-size: 14px; line-height: 1.45; color: var(--sa-grey); }

/* -------------------------------------------------------------- subscribe
   Footer newsletter. Subscribing is itself the consent — nothing else is
   being transacted, so there is no separate tickbox to bundle anything with. */
.subscribe { max-width: 360px; }
.subscribe__label { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.subscribe__blurb { font-size: 13.5px; line-height: 1.5; color: var(--sa-grey-light); margin-bottom: 14px; }
.subscribe__row { display: flex; gap: 9px; }
.subscribe__row input {
  flex: 1; min-width: 0; font: inherit; font-size: 14.5px; padding: 10px 13px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff;
}
.subscribe__row input::placeholder { color: rgba(255,255,255,.45); }
.subscribe__row input:focus-visible { outline: 2px solid var(--sa-orange); outline-offset: 1px; }
.subscribe__row button { flex: none; }
@media (max-width: 480px) { .subscribe__row { flex-direction: column; } }
.footer__subscribe { padding: 26px 0 4px; border-top: 1px solid var(--sa-line-dark); }

/* ------------------------------------------------------------ download tiles
   Lauren, after looking at hutchinsonbuilders.com.au: "you actually see what
   the document is, you get a preview of the document." So the tile leads with
   the cover, at A4 proportions, and the words come second. */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 30px 26px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sa-line); }
.tile__thumb {
  position: relative; aspect-ratio: 1 / 1.414; overflow: hidden;
  background: var(--sa-paper-tint); border-bottom: 1px solid var(--sa-line);
}
.tile__cover { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* No document yet — a typographic cover rather than an empty box. */
.tile__cover--placeholder {
  display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  padding: 24px 22px; box-sizing: border-box;
  background-color: var(--sa-ink);
  background-image: var(--sa-grain), var(--sa-bloom-warm);
  background-repeat: repeat, no-repeat; background-size: 160px 160px, auto;
  background-blend-mode: overlay, normal;
}
.tile__stamp {
  position: absolute; top: 18px; left: 22px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--sa-amber);
}
.tile__coverTitle { font-size: 19px; font-weight: 700; line-height: 1.18; color: #fff; text-wrap: balance; }
.tile__coverRule { width: 30px; height: 3px; background: var(--sa-orange); margin: 14px 0 10px; }
.tile__coverOrg { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }

.tile__badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 9px; background: var(--sa-ink); color: #fff;
}
.tile__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; }
.tile__title { font-size: 16.5px; line-height: 1.25; margin-bottom: 6px; }
.tile__meta {
  font-size: 11.5px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--sa-grey-mid); margin-bottom: 11px;
}
.tile__desc { font-size: 14.5px; line-height: 1.5; color: var(--sa-grey); margin-bottom: 16px; }
.tile__cta, .tile__get, .tile__pending { margin-top: auto; }
.tile__getLabel { display: block; font-size: 12px; font-weight: 600; color: var(--sa-ink); margin-bottom: 7px; }
.tile__getRow { display: flex; gap: 7px; }
.tile__getRow input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--sa-line-soft); }
.tile__getRow input:focus-visible { outline: 2px solid var(--sa-orange); outline-offset: 1px; }
.tile__getRow button { flex: none; }
.tile--pending { border-style: dashed; border-color: var(--sa-todo-border); }
.tile--pending .tile__title, .tile--pending .tile__desc { color: var(--sa-grey-mid); }

/* Placeholder where a consultant has no photograph yet. */
.portrait--none {
  display: flex; align-items: center; justify-content: center; width: 100%;
  background-color: var(--sa-ink);
  background-image: var(--sa-grain), var(--sa-bloom-warm);
  background-repeat: repeat, no-repeat; background-size: 160px 160px, auto;
  background-blend-mode: overlay, normal;
}
.portrait--none span {
  font-size: 34px; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.72);
}
.portrait--round { width: 104px; height: 104px; border-radius: 50%; flex-shrink: 0; }
.portrait--round span { font-size: 24px; }

/* ------------------------------------------------------- consultant profile
   Capability, specialist experience and track record — the three sections the
   Profile artboard specifies. A profile that stops at a bio and a list of
   certificates does not tell a buyer what the person actually does. */
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 40px; }
.skills__item { display: flex; gap: 13px; padding: 16px 0; border-top: 1px solid var(--sa-line); }
.skills__item svg { flex-shrink: 0; margin-top: 3px; }
.skills__item p { font-size: 15.5px; line-height: 1.5; color: var(--sa-ink); }

.spec__card { padding: 26px 28px; background: var(--sa-ink-deep); border-left: 3px solid var(--sa-orange); }
.spec__role { color: var(--sa-amber); font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.spec__detail { color: var(--sa-grey-light); font-size: 15.5px; line-height: 1.55; }

.proj { padding: 24px 26px; background: var(--sa-paper-warm); border-left: 3px solid var(--sa-orange); }
.proj__client { color: var(--sa-grey-mid); font-size: 14px; margin-bottom: 10px; }
.proj__role { color: var(--sa-grey); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) { .spec__card, .proj { padding: 20px 22px; } }

/* Award — third-party validation. Dark on a light band so it reads as a
   plaque rather than another content card, and keeps the orange rule the
   .proj and .spec__card blocks use, so it belongs to the same family. */
.award {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 30px;
  background-color: var(--sa-ink); background-image: var(--sa-grain);
  border-left: 3px solid var(--sa-orange);
  color: var(--sa-on-dark);
}
.award__mark { flex: none; color: var(--sa-amber); margin-top: 1px; }
.award__body {
  color: var(--sa-amber); font-size: 12.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: 7px;
}
.award__names { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.award__who { color: var(--sa-on-dark-mute); font-size: 14.5px; line-height: 1.5; margin-top: 9px; }
.award__who a { color: var(--sa-on-dark); text-decoration: underline; text-underline-offset: 2px; }
.award__who a:hover { color: var(--sa-amber); }
.award--compact { padding: 20px 22px; gap: 16px; }
.award--compact .award__names { font-size: 16.5px; }
@media (max-width: 700px) { .award { padding: 22px 20px; gap: 15px; } .award__names { font-size: 17px; } }

/* Two-column layouts that used to be inline `grid-template-columns`. An inline
   style beats the stacking rule above whatever the viewport, so every one of
   these stayed two-column on a phone. .grid--aside was the damaging one: a
   fixed 330px first column left its sibling 0px wide at 375px, so the name,
   bio, contact chips and award on every profile page rendered into a column
   nothing could be seen in. Gaps live here too — an inline gap would win the
   same argument and leave stacked columns 80px apart. */
.grid--split  { grid-template-columns: 0.85fr 1.4fr;        gap: 70px; align-items: start; }
.grid--aside  { grid-template-columns: 330px minmax(0, 1fr); gap: 56px; align-items: start; }
.grid--wide   { grid-template-columns: 1.25fr 1fr; }
.grid--hero   { grid-template-columns: 1.25fr 1fr;           gap: 80px; align-items: start; }
@media (max-width: 900px) {
  .grid--split, .grid--aside, .grid--wide, .grid--hero { grid-template-columns: 1fr; gap: 36px; }
  .grid--aside { gap: 26px; }
}

/* ------------------------------------------------------- mobile refinements
   From a probe run across all 35 pages at 375px on 28 Sep 2026. Page-level
   horizontal overflow was already zero everywhere; these are the faults that
   only show up when you measure rather than look. */
@media (max-width: 600px) {
  /* iOS zooms the whole page when a focused field has text under 16px, then
     leaves it zoomed. It reads as the page jumping about when you tab between
     fields, and the fix is simply not to go under 16. */
  .form__fields input, .form__fields textarea, .form__fields select,
  .subscribe__row input { font-size: 16px; }

  /* Uppercase 11px labels are legible on a desktop at arm's length and mean
     on a phone. One step up costs nothing — these are short strings with
     letter-spacing, so nothing re-wraps. */
  .eyebrow, .proof__label, .section-label__text, .tile__meta, .case__label,
  .chooser__legend, .tag, .case__quote figcaption, figcaption { font-size: 12px; }

  /* Text links used as primary navigation between sections were 21–22px tall,
     well under the ~44px a fingertip needs. Padding rather than a bigger font,
     so the typography is unchanged and only the target grows. */
  .link-arrow { display: inline-block; padding-block: 10px; }
}

/* Sub-service links on a services-index card. Quieter than the card's own
   call to action, because they are a second route to the same pathway rather
   than a competing one. */
.card__sublist { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--sa-line); }
.card__sublist li { border-bottom: 1px solid var(--sa-line); }
.card__sublist a {
  display: block; padding: 10px 0; font-size: 14.5px; font-weight: 600;
  color: var(--sa-grey); line-height: 1.4;
}
.card__sublist a:hover { color: var(--sa-orange); }
