/* ==========================================================================
   Firebrand Activ - styles.css
   Boxy tricolour system: ink / paper / orange. Zero border-radius sitewide.
   Type: Roboto only, 400 / 500 / 700, per Firebrand's design system.
   Tokens and rules per DESIGN.md. Do not introduce new colours or radii.
   ========================================================================== */

/* ---- Fonts ----
   Roboto, and nothing else (Firebrand design system, 16 Sep 2026). The variable
   file carries true 400, 500 and 700. Never lighter than 400. */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --ink: #111111;
  --ink-raised: #1C1C1C;
  --ink-deep: #0C0C0C;
  --orange: #E85D2A;
  --orange-press: #C8491C;
  --paper: #FFFFFF;
  --smoke: #AAAAAA;
  --ash: #666666;
  --error: #FF6B4A;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-ink: rgba(17, 17, 17, 0.25);
  --f: 'Roboto', system-ui, Arial, sans-serif;
  --font-display: var(--f);
  --font-body: var(--f);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1400px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 9vw, 7.5rem);
  --head-h: 72px;
  --ticker-h: 62px;
}

/* ---- Reset + base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

body {
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: clip;
}

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

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

ul, ol { list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Craft floor: the surfaces nobody draws */
::selection { background: var(--orange); color: var(--ink); }

input, textarea, select { caret-color: var(--orange); }

html { scrollbar-color: var(--ink-raised) var(--ink); }
body::-webkit-scrollbar { width: 12px; background: var(--ink); }
body::-webkit-scrollbar-thumb { background: var(--ink-raised); border: 2px solid var(--ink); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 200;
  background: var(--orange);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.skip-link:focus-visible { top: 0; }

/* ---- Page artwork (background layer) ----
   Fixed blueprint drawing behind the whole page; every dark section is a
   window onto it. Three planes: the artwork (.page-art__img) drifts slowly
   with scroll, the atmosphere (vignette + grain on ::after, client-approved
   depth exception to the gradient ban) stays pinned to the screen, and the
   content scrolls over both. */
body { position: relative; }
.page-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--ink);
  overflow: hidden;
}
.page-art__img {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center;
}
.page-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E"),
    radial-gradient(58% 48% at 50% 42%, rgba(17, 17, 17, 0) 12%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.94) 92%);
}
/* Set before first paint by the inline head script on pages whose
   draw-in intro will run, so the raster never flashes before the strokes. */
.art-pending .page-art__img { background-image: none !important; }
.page-art__img > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-art--home .page-art__img { background-image: url('../img/home-hero.webp?v=2'); }
.page-art--design .page-art__img { background-image: url('../img/design-hero.webp'); }
.page-art--build .page-art__img { background-image: url('../img/build-hero.webp'); }
.page-art--staff .page-art__img { background-image: url('../img/staff-hero.webp'); }
.page-art--about .page-art__img { background-image: url('../img/about-hero.webp'); }
.page-art--contact .page-art__img { background-image: url('../img/contact-hero.webp?v=2'); }
@supports (animation-timeline: scroll()) {
  .page-art__img {
    animation: art-drift linear both;
    animation-timeline: scroll(root);
  }
  @keyframes art-drift {
    from { transform: translateY(9%); }
    to { transform: translateY(-9%); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-art__img { animation: none; }
}
@media (max-width: 768px) {
  .page-art::after {
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E"),
      radial-gradient(70% 60% at 50% 40%, rgba(17, 17, 17, 0.35) 15%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.94) 95%);
  }
}
.site-head, main, .site-foot, .mobile-menu, .to-top { position: relative; }
main, .site-foot { z-index: 1; }

/* ---- Layout primitives ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }

.section--hairline { border-top: 1px solid var(--hairline); }

/* ---- Type ---- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

h1.display { font-size: clamp(2.75rem, 6.6vw, 6rem); }
h1.display { text-wrap: balance; }
.nw { white-space: nowrap; }
h2.display { font-size: clamp(1.9rem, 4vw, 3.4rem); }
h3.display { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.display .dot, .ticker .dot { color: var(--orange); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--smoke);
  max-width: 65ch;
}

.body-copy { color: var(--smoke); max-width: 65ch; }

.on-orange .lead, .on-orange .body-copy {
  color: var(--ink);
  font-weight: 500;
}
.on-orange .lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.on-orange .checklist li { color: var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out),
              border-color 150ms var(--ease-out), transform 100ms var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--paper); color: var(--ink); }

.btn--ghost { border: 1px solid var(--paper); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }

.on-orange .btn--primary { background: var(--ink); color: var(--paper); }
.on-orange .btn--primary:hover { background: var(--ink-deep); }

/* ---- Header ---- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--head-h);
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.site-head__inner {
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-head__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-head__logo img { height: 48px; width: auto; }

.site-head__nav { display: flex; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-head__nav { gap: 1.5rem; }
}

.site-head__link {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--smoke);
  padding-block: 0.4rem;
  transition: color 150ms var(--ease-out);
}
.site-head__link:hover { color: var(--paper); }
.site-head__link[aria-current="page"] {
  color: var(--paper);
  box-shadow: inset 0 -2px 0 0 var(--orange);
  padding-bottom: calc(0.4rem - 2px);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--head-h) 0 0 0;
  z-index: 90;
  background: var(--ink);
  display: none;
  flex-direction: column;
  padding: clamp(2rem, 8vw, 4rem) var(--gutter);
  gap: 0.5rem;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-block: 0.75rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
  color: var(--paper);
}
.mobile-menu a[aria-current="page"] { color: var(--orange); }
.mobile-menu .btn { margin-top: 2rem; align-self: flex-start; }

body.nav-open { overflow: hidden; }
body.nav-open .mobile-menu { display: flex; }
body.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-head__nav { display: none; }
  .burger { display: flex; }
}

/* ---- Hero ---- */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  background: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--paper);
  margin-bottom: 1.25rem;
}

.hero h1 { margin-bottom: 1.5rem; }

.hero .lead { margin-bottom: 2.25rem; }

.hero__media { position: relative; }

.hero__media--stack {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.hero__media--stack .hm-a { grid-column: 1 / 13; }
.hero__media--stack .hm-b { grid-column: 1 / 6; }
.hero__media--stack .hm-c {
  grid-column: 6 / 13;
  background: var(--orange);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.hero__media--stack .hm-c p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Single-image page heroes */
.hero__media--single img { width: 100%; object-fit: cover; }

/* Orange wall hero (home) */
.hero--orange { background: var(--orange); }
.hero--orange h1 { color: var(--paper); }
.hero--orange h1 .dot { color: var(--ink); }
.hero--orange .lead { color: var(--ink); }
.hero--orange .hero__media--stack .hm-c { background: var(--ink); }
.hero--orange .hero__media--stack .hm-c p { color: var(--paper); }

/* Drawing heroes: transparent full-height stage over the page artwork,
   copy owns the empty left third each drawing was composed with. */
.hero--drawing {
  min-height: calc(100dvh - var(--head-h));
  display: flex;
  align-items: center;
}
.hero--drawing .hero__grid {
  grid-template-columns: minmax(0, 44rem) 1fr;
}

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* Home hero on desktop: hero plus the ticker fill exactly one screen, so the
   strip is always in view (Shaun, 22 Sep 2026). The photo stack flexes to
   whatever height is left; the copy column keeps its size. */
@media (min-width: 1024px) {
  .hero--orange {
    --hero-pad: clamp(1.5rem, 5vh, 4.5rem);
    padding-block: var(--hero-pad);
    height: min(calc(100dvh - var(--head-h) - var(--ticker-h)), 780px);   /* big screens keep the original hero */
    min-height: 520px;
    display: flex;
    align-items: center;
  }
  .hero--orange > .hero__grid { width: 100%; height: 100%; }
  .hero--orange .hero__media--stack {
    height: 100%;
    grid-template-rows: minmax(0, 1fr) minmax(0, 34%);
  }
  .hero--orange .hero__media--stack > div { min-height: 0; overflow: hidden; }
}

/* ---- Ticker ---- */
.ticker {
  background: var(--ink-deep);
  border-block: 1px solid var(--hairline);
  overflow: hidden;
  padding-block: 1rem;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: ticker 70s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Section headers ---- */
.sec-head { margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.sec-head h2 { margin-bottom: 1rem; }
.sec-head .lead { margin-bottom: 0; }

/* ---- Problem list ---- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}
.problem-grid li {
  border-top: 1px solid var(--hairline);
  padding-block: 1.75rem;
  display: grid;
  gap: 0.4rem;
}
.problem-grid h3 { color: var(--paper); }
.problem-grid p { color: var(--smoke); max-width: 55ch; }

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---- Capability rows (home) ---- */
.cap-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline);
}
.cap-row__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.cap-row__text h3 { margin-bottom: 0.9rem; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
.cap-row__text p { color: var(--smoke); margin-bottom: 1.5rem; max-width: 48ch; }
.cap-row__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--paper);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.2rem;
  transition: color 150ms var(--ease-out);
}
.cap-row__link:hover { color: var(--orange); }

.cap-row--a .cap-row__media { grid-column: 1 / 7; order: 0; }
.cap-row--a .cap-row__num { grid-column: 7 / 8; }
.cap-row--a .cap-row__text { grid-column: 8 / 13; }

.cap-row--b .cap-row__num { grid-column: 1 / 2; }
.cap-row--b .cap-row__text { grid-column: 2 / 7; }
.cap-row--b .cap-row__media { grid-column: 7 / 13; }

.cap-row--c { align-items: start; }
.cap-row--c .cap-row__num { grid-column: 1 / 2; }
.cap-row--c .cap-row__text { grid-column: 2 / 8; }
.cap-row--c .cap-row__media { grid-column: 1 / 13; order: 2; }

.cap-row__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cap-row--c .cap-row__media img { aspect-ratio: 21 / 9; }

@media (max-width: 768px) {
  .cap-row, .cap-row--a, .cap-row--b, .cap-row--c { display: flex; flex-direction: column; align-items: flex-start; }
  .cap-row__media { width: 100%; order: 0 !important; }
}

/* ---- Why grid (bento) ---- */
.why-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  max-width: 24ch;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.why-quote .dot { color: var(--orange); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 4px;
}
.bento__cell {
  background: var(--ink-raised);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
}
.bento__cell h3 { font-size: 1.1rem; font-weight: 500; }
.bento__cell p { color: var(--smoke); font-size: 0.95rem; }
.bento__cell--img { padding: 0; }
.bento__cell--img img { width: 100%; height: 100%; object-fit: cover; }
.bento__cell--accent { background: var(--orange); }
.bento__cell--accent h3, .bento__cell--accent p { color: var(--ink); }

.b-4 { grid-column: span 4; }
.b-5 { grid-column: span 5; }
.b-3 { grid-column: span 3; }
.b-6 { grid-column: span 6; }
.b-8 { grid-column: span 8; }
.b-r2 { grid-row: span 2; }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento__cell { grid-column: span 3; }
  .bento__cell--img.b-r2 { grid-row: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell { grid-column: span 1; }
}

/* ---- Orange band ---- */
.band {
  background: var(--orange);
  color: var(--paper);
}
.band .container { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.band h2 { margin-bottom: 1rem; }

.modular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.modular-grid li {
  border: 1px solid var(--hairline-ink);
  padding: 1.5rem;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.modular-grid .display { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.modular-grid p { color: var(--ink); font-size: 1rem; font-weight: 500; }

@media (max-width: 1024px) {
  .modular-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .modular-grid { grid-template-columns: 1fr; }
}

/* ---- Footprint ---- */
.footprint {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.footprint__list li {
  border-top: 1px solid var(--hairline);
  padding-block: 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.footprint__list h3 {
  font-size: 1.05rem;
  font-weight: 500;
}
.footprint__list p { color: var(--smoke); font-size: 0.95rem; text-align: right; }
.footprint__map svg { width: 100%; height: auto; display: block; }

@media (max-width: 768px) {
  .footprint { grid-template-columns: 1fr; }
  .footprint__map { order: -1; max-width: 420px; }
  .footprint__list p { text-align: left; }
  .footprint__list li { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(2.5rem, 7vw, 6rem);
}
.stats__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.stats__label { color: var(--smoke); margin-top: 0.5rem; max-width: 18ch; }

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---- Mosaic galleries ---- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 16vw, 240px);
  gap: 4px;
}
.mosaic a, .mosaic figure {
  position: relative;
  overflow: hidden;
  display: block;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.9);
  color: var(--paper);
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  transform: translateY(100%);
  transition: transform 300ms var(--ease-out);
}
.mosaic figure:hover figcaption,
.mosaic figure:focus-within figcaption { transform: translateY(0); }

.m-3 { grid-column: span 3; }
.m-4 { grid-column: span 4; }
.m-5 { grid-column: span 5; }
.m-6 { grid-column: span 6; }
.m-7 { grid-column: span 7; }
.m-8 { grid-column: span 8; }
.m-r2 { grid-row: span 2; }

@media (max-width: 768px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mosaic .m-3, .mosaic .m-4, .mosaic .m-5,
  .mosaic .m-6, .mosaic .m-7, .mosaic .m-8 { grid-column: span 1; }
  .mosaic .m-full-sm { grid-column: span 2; }
}

/* ---- Feature split (pillar pages) ---- */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split__text { grid-column: 1 / 6; }
.split__media { grid-column: 6 / 13; }
.split--flip .split__text { grid-column: 8 / 13; order: 1; }
.split--flip .split__media { grid-column: 1 / 8; order: 0; }
.split__media img { width: 100%; object-fit: cover; }
.split__text h2 { margin-bottom: 1rem; }
.split__text .body-copy { margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .split, .split--flip { display: flex; flex-direction: column-reverse; align-items: stretch; }
}

/* ---- Checklist ---- */
.checklist { display: grid; gap: 0; }
.checklist li {
  border-top: 1px solid var(--hairline);
  padding-block: 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  color: var(--paper);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--orange);
  align-self: center;
}
.on-orange .checklist li { border-top-color: var(--hairline-ink); }
.on-orange .checklist li::before { background: var(--ink); }

.checklist--2col {
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 4rem);
  max-width: 900px;
}
@media (max-width: 640px) {
  .checklist--2col { grid-template-columns: 1fr; }
}

/* ---- Point grid (difference / xanita points) ---- */
.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 5vw, 4rem);
}
.points li {
  border-top: 1px solid var(--hairline);
  padding-block: 1.5rem;
}
.points h3 { margin-bottom: 0.4rem; }
.points p { color: var(--smoke); max-width: 50ch; }

@media (max-width: 768px) {
  .points { grid-template-columns: 1fr; }
}

/* ---- Showcase (Garnier) ---- */
.showcase { background: var(--ink-raised); }
.showcase .container { padding-block: var(--section-pad); }
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.showcase__grid .sc-a { grid-column: 1 / 9; }
.showcase__grid .sc-b { grid-column: 9 / 13; display: grid; gap: 4px; }
.showcase__grid img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .showcase__grid .sc-a, .showcase__grid .sc-b { grid-column: 1 / 13; }
}

/* ---- Next pillar band ---- */
.next-pillar { border-top: 1px solid var(--hairline); }
.next-pillar a {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  transition: color 150ms var(--ease-out);
}
.next-pillar a:hover { color: var(--orange); }
.next-pillar .np-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--smoke);
}
.next-pillar .np-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
}
.next-pillar .np-num { color: var(--orange); }

/* ---- CTA band ---- */
.cta-band { background: var(--orange); }
.cta-band .container {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.cta-band h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin-bottom: 0.75rem;
}
.cta-band p { color: var(--ink); max-width: 45ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 500; }

@media (max-width: 768px) {
  .cta-band .container { grid-template-columns: 1fr; }
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-card {
  border-top: 1px solid var(--hairline);
  padding-block: 1.5rem;
}
.contact-card h3 { font-size: 1.15rem; font-weight: 500; }
.contact-card .role { color: var(--smoke); font-size: 0.95rem; margin-bottom: 0.75rem; }
.contact-card a {
  display: block;
  color: var(--paper);
  font-weight: 500;
  padding-block: 0.15rem;
  width: fit-content;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.contact-card a:hover { color: var(--orange); border-color: var(--orange); }

.bee-block {
  border: 1px solid var(--hairline);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  display: grid;
  gap: 0.2rem;
}
.bee-block .display { font-size: 1.3rem; }
.bee-block p { color: var(--smoke); font-size: 0.9rem; }

.addresses { margin-top: 2rem; display: grid; gap: 1.25rem; }
.addresses h3 { font-size: 0.95rem; font-weight: 700; color: var(--paper); }
.addresses p { color: var(--smoke); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Team cards (about) ---- */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.team__card {
  background: var(--ink-raised);
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
}
.team__card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.team__text {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}
.team__text h3 { font-size: 1.15rem; font-weight: 500; }
.team__role {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--orange);
}
.team__text p:last-child { color: var(--smoke); font-size: 0.95rem; }

@media (max-width: 1024px) {
  .team { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .team__card { grid-template-columns: 1fr; }
  .team__card > img { aspect-ratio: 4 / 5; }
}

/* ---- Back to top ---- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  width: 48px;
  height: 48px;
  background: var(--ink-raised);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out),
              background-color 150ms var(--ease-out);
}
.to-top::before {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--paper);
  border-left: 2px solid var(--paper);
  transform: rotate(45deg) translate(2px, 2px);
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover { background: var(--orange); }
.to-top:hover::before { border-color: var(--ink); }
.to-top:active { transform: translateY(1px); }

/* ---- Form ---- */
.form { display: grid; gap: 1.4rem; background: var(--ink-raised); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form__field { display: grid; gap: 0.45rem; }
.form__field label { font-weight: 500; font-size: 0.95rem; }
.form__field input,
.form__field select,
.form__field textarea {
  background: var(--ink);
  border: 1px solid var(--hairline);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  width: 100%;
  transition: border-color 150ms var(--ease-out);
}
.form__field textarea { min-height: 140px; resize: vertical; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form__field .err {
  color: var(--error);
  font-size: 0.88rem;
  display: none;
}
.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea { border-color: var(--error); }
.form__field.is-invalid .err { display: block; }

.form__status { font-weight: 500; display: none; }
.form__status.is-ok { display: block; color: var(--paper); }
.form__status.is-fail { display: block; color: var(--error); }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---- Maps (contact) ---- */
.map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.map-card { background: var(--ink-raised); }
.map-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
}
.map-card__head h3 { font-size: 1.05rem; font-weight: 500; }
.map-card__dir {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 0.1rem;
  white-space: nowrap;
  transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.map-card__dir:hover { color: var(--paper); border-color: var(--paper); }
.map-card__map { position: relative; }
.map-card__map iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
  filter: grayscale(1) invert(0.92) contrast(0.88);
}
.map-card__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-card__map iframe { height: 340px; }
}

/* ---- Footer ---- */
.site-foot {
  background: var(--ink-deep);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}
.site-foot__logo img { height: 44px; width: auto; margin-bottom: 1.25rem; }
.site-foot__tag { color: var(--smoke); max-width: 32ch; }
.site-foot h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--smoke);
  margin-bottom: 1rem;
}
.site-foot li { padding-block: 0.45rem; }
.site-foot a { color: var(--smoke); transition: color 150ms var(--ease-out); }
.site-foot a:hover { color: var(--paper); }
.site-foot__legal {
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--smoke);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-foot__grid { grid-template-columns: 1fr; }
}

/* ---- Reveal motion (gated on .js so a no-JS visit shows everything) ---- */
.js .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .rv.in-view {
  opacity: 1;
  transform: none;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv {
    transition: opacity 200ms ease;
    transform: none;
    transition-delay: 0ms;
  }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; row-gap: 0.5rem; column-gap: 3rem; }
  .ticker__dup { display: none; }
  .mosaic img { transition: none; }
  .mosaic figure:hover img { transform: none; }
  .to-top { transition: opacity 200ms ease; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   Phone and tablet standard (Sage WEBSITE_PLAYBOOK section 2, from the Thblet
   review, 14-15 Sep 2026; Shaun made it the standard for every site on
   22 Sep 2026). Tablet follows phone: one band up to 1023px, desktop from 1024.
   Headings and short intros centre, everything you read stays left, heroes
   stack by importance, 44px taps, 24px / 32px gutters.
   ========================================================================== */
@media (max-width: 1023px) {
  :root { --gutter: 32px; --section-pad: clamp(2.75rem, 7vw, 3.5rem); }

  /* one column everywhere */
  .hero__grid, .hero--drawing .hero__grid, .problem-grid, .points, .footprint,
  .contact-grid, .team { grid-template-columns: 1fr; }
  .split, .split--flip { display: flex; flex-direction: column; align-items: stretch; gap: 1.75rem; }
  .split__media { order: 0; }
  .split__text { order: 1; }
  .cap-row, .cap-row--a, .cap-row--b, .cap-row--c { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cap-row__media { width: 100%; order: 0 !important; }
  .cap-row__num, .cap-row__text { order: 1; }
  .showcase__grid .sc-a, .showcase__grid .sc-b { grid-column: 1 / 13; }
  .footprint__map { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .footprint__list p { text-align: left; }
  .footprint__list li { grid-template-columns: 1fr; gap: 0.15rem; }

  /* type steps down, H1 three lines not five */
  h1.display { font-size: clamp(1.75rem, 7.4vw, 2.25rem); }
  h2.display, .cta-band h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .why-quote { font-size: clamp(1.25rem, 5vw, 1.6rem); }
  .next-pillar .np-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* bands and panels share the section rhythm */
  .band .container, .showcase .container { padding-block: var(--section-pad); }
  .cta-band .container { padding-block: var(--section-pad); grid-template-columns: 1fr; }
  .hero { padding-block: var(--section-pad); }

  /* ---- alignment: centre headings and short intros ---- */
  .hero__grid > .rv-group, .hero > .container > .rv-group, .sec-head, .band > .container > h2, .band > .container > .lead,
  .cta-band .container, .why-quote, .split__text > h2, .showcase .sec-head,
  .next-pillar a { text-align: center; }
  .hero > .container > .rv-group { max-width: none !important; }
  .hero .lead, .sec-head .lead, .band > .container > .lead, .cta-band p, .why-quote { margin-inline: auto; }
  .next-pillar a { justify-content: center; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; text-align: center; gap: 1.5rem; }
  .stats__label { margin-inline: auto; }
  /* ...and keep everything you read left, whatever its parent */
  .split__text .body-copy, .checklist, .modular-grid, .problem-grid, .points, .bento,
  .cap-row__text, .footprint__list, .contact-grid, .form, .team, .map-grid { text-align: left; }
  .band .checklist, .showcase .checklist { margin-inline: auto; }

  /* hero stacks by importance: heading, visual, line, button (home) */
  .hero--orange .hero__grid { gap: 0; }
  .hero--orange .hero__grid > .rv-group { display: contents; }
  .hero--orange .hero__eyebrow { order: 1; justify-self: center; margin-bottom: 1rem; }
  .hero--orange h1 { order: 2; margin-bottom: 1.25rem; }
  .hero--orange .hero__media { order: 3; width: 100%; max-width: 560px; margin-inline: auto; margin-bottom: 1.25rem; }
  .hero--orange .hero__media .hm-a img { aspect-ratio: 16 / 9; }
  .hero--orange .hero__media .hm-b img { aspect-ratio: 4 / 3; }
  .hero--orange .lead { order: 4; margin-bottom: 1.5rem; text-align: center; }
  .hero--orange .hero__grid > .rv-group > div.rv { order: 5; text-align: center; }
  .hero--orange h1, .hero--orange .hero__eyebrow { text-align: center; }

  /* touch: every link and control at least 44px tall */
  .site-foot a, .contact-card a, .cap-row__link, .map-card__dir {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .site-foot li { padding-block: 0; }
  .site-head__logo { min-height: 44px; }
  .site-head__logo img { height: 42px; }
  .contact-card a { display: flex; width: fit-content; }

  /* footer: brand block centred, links two up */
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-foot__logo { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .site-foot__logo img { margin-inline: auto; }
  .site-foot__tag { max-width: none; text-wrap: balance; }
  .site-foot { padding-bottom: 48px; }

  /* mobile menu is a complete map: primary, CTA, company links, legal */
  .mobile-menu { overflow-y: auto; padding-bottom: calc(88px + env(safe-area-inset-bottom)); gap: 0; }
  .mobile-menu .btn {
    margin-top: 1.5rem; align-self: stretch; min-height: 52px; padding-block: 0.85rem; border-bottom: 0;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; color: var(--ink);
  }
  .mobile-menu__head {
    margin-top: 2.25rem; margin-bottom: 0.25rem;
    font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--smoke);
  }
  .mobile-menu .mobile-menu__sub a {
    display: flex; align-items: center; justify-content: space-between; min-height: 52px;
    font-size: 1.05rem; font-weight: 500; text-transform: none; letter-spacing: 0; padding-block: 0.5rem;
  }
  .mobile-menu .mobile-menu__sub a::after {
    content: ""; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
    transform: rotate(45deg); margin-right: 4px;
  }
  .mobile-menu__legal { margin-top: 2rem; color: var(--smoke); font-size: 0.85rem; line-height: 1.5; }

  /* back to top clears the safe area and hides behind the open menu */
  .to-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  body.nav-open .to-top { display: none; }
}
@media (max-width: 767px) {
  .stats { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-foot__grid > div:nth-child(3) { grid-column: 1 / -1; order: 5; }   /* Talk to us under Explore + Locations: long email addresses need the full width */
}
@media (max-width: 639px) {
  :root { --gutter: 24px; }
}
@media (max-width: 479px) {
  .hero .btn, .cta-band .btn { width: 100%; }
}
@media (max-width: 379px) {
  .site-foot { padding-bottom: 72px; }
}
/* tablets: a smaller home visual so the whole hero fits a landscape screen */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero--orange .hero__media { max-width: 440px; }
}
/* short phones: the whole home hero (heading, visual, line, button) stays on the first screen */
@media (max-width: 1023px) and (max-height: 780px) {
  .hero--orange { padding-top: 1.25rem; }
  .hero--orange .hero__eyebrow { display: none; }
  .hero--orange .hero__media .hm-b, .hero--orange .hero__media .hm-c { display: none; }
}

