/* ============================================================
   GVC — Ged Van Cooper · single-page site
   Built from Figma "GVC - Website" (Home light/dark desktop, light mobile)
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/space-mono-400.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Launch fonts: Space Mono and Archivo (open licence), served from /fonts.
     When the NT Bau Mono and Oddlini web licences are bought, add their .woff2 files to /fonts,
     add two @font-face rules below, and put their names first in these two lines. */
  --font-mono: "Space Mono", ui-monospace, monospace;
  --font-body: "Archivo", system-ui, sans-serif;

  --black-500: #000000;
  --white-500: #ffffff;
  --grey-50: #f9f9f9;
  --grey-100: #ededed;
  --black-50: #e6e6e6;
  --nav-shadow: 0 12px 20px rgba(0, 0, 0, 0.04);

  --container: 1216px;
  --gutter: 112px;
  --radius-card: 32px;
  --radius-pill: 144px;
}

[data-theme="light"] {
  --bg: var(--white-500);
  --fg: var(--black-500);
  --pill-bg: var(--black-50);
  --pill-active-bg: var(--white-500);
  --pill-active-fg: var(--black-500);
  --soft-bg: var(--grey-50);
  --card-bg: var(--grey-100);
  --band-bg: var(--black-500);
  --band-fg: var(--white-500);
  --solid-bg: var(--black-500);
  --solid-fg: var(--white-500);
  --icon-filter: none;
  --icon-on-solid: none; /* arrow-cta.svg is white */
  --mark-filter: none;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: var(--black-500);
  --fg: var(--white-500);
  --pill-bg: #222222;
  --pill-active-bg: var(--white-500);
  --pill-active-fg: var(--black-500);
  --soft-bg: #222222;
  --card-bg: #222222;
  --band-bg: var(--white-500);
  --band-fg: var(--black-500);
  --solid-bg: var(--white-500);
  --solid-fg: var(--black-500);
  --icon-filter: invert(1);
  --icon-on-solid: invert(1);
  --mark-filter: invert(1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-stretch: 125%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 8px 16px; border-radius: 24px;
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type scale (Figma text styles) ---------- */
.display-xl, .display-m, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-stretch: normal;
}
.display-m { font-size: 84px; line-height: 1.3; letter-spacing: -0.01em; }
.h1 { font-size: 64px; line-height: 1.1; letter-spacing: -0.01em; }
.h2 { font-size: 48px; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: 32px; line-height: 1.3; letter-spacing: -0.01em; }
.h4 { font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.h5 { font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; }
/* Brand rule: NT Bau Mono is for titles and is always set in capitals.
   Oddlini is for paragraphs and keeps normal sentence case. */
.display-xl, .display-m, .h1, .h2, .h3, .h4, .h5,
.hero__tags, .hero__previously, .pill, .more, .marquee__track,
.page-hero__eyebrow, .package__badge, .note-line, .footer__bar {
  text-transform: uppercase;
}
.body-xl { font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; }
.body-l { font-size: 16px; line-height: 24px; letter-spacing: -0.01em; }

.icon { width: 13px; height: 15px; filter: var(--icon-filter); flex: none; }
.icon--right { transform: rotate(-90deg); }
.icon--diag { transform: rotate(-135deg); }

/* ---------- Header ---------- */
.header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding-top: 97px;
}
.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.header__logo img { width: 208px; height: auto; filter: var(--mark-filter); }

.nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  height: 56px; padding-inline: 5px;
  background: var(--pill-bg);
  border-radius: 80px;
  box-shadow: var(--nav-shadow);
}
.nav__tap {
  display: flex; align-items: center; height: 46px; padding: 16px;
  border-radius: 48px;
  font-size: 16px; line-height: 24px; letter-spacing: -0.01em; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}
.nav__tap:hover { background: color-mix(in srgb, var(--pill-active-bg) 50%, transparent); }
.nav__tap.is-active { background: var(--pill-active-bg); color: var(--pill-active-fg); }

.theme-toggle {
  position: relative; width: 107px; height: 56px; padding: 5px;
  border: 0; border-radius: 80px; cursor: pointer;
  background: var(--pill-bg); box-shadow: var(--nav-shadow);
}
.theme-toggle__knob {
  display: block; width: 47px; height: 46px; border-radius: 48px;
  background: var(--white-500);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
[data-theme="dark"] .theme-toggle__knob { transform: translateX(50px); }

.menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 260px; padding-bottom: 133px; }
.hero__bg {
  position: absolute; top: 0; right: 0;
  width: max(min(977px, 67.85vw), calc((100vw - 1440px) / 2 + 977px)); aspect-ratio: 1 / 1;
  pointer-events: none; user-select: none;
  /* soften the left and bottom edges so the loop blends into the page */
  -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 18%, #000 52%), linear-gradient(to top, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, transparent 18%, #000 52%), linear-gradient(to top, transparent 0, #000 16%);
          mask-composite: intersect;
}
.hero__video { display: none; width: 100%; height: 100%; object-fit: cover; }
[data-theme="light"] .hero__video--light { display: block; filter: brightness(1.012); }
[data-theme="dark"] .hero__video--dark { display: block; }
.hero__inner { position: relative; }
.hero__name { margin: 0; }
.hero__name img { width: 832px; max-width: 100%; height: auto; filter: var(--mark-filter); }

.hero__tags {
  display: flex; gap: 35px; margin-top: 35px;
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.4; letter-spacing: -0.01em;
}
.hero__blurb { max-width: 604px; margin-top: 16px; }
.hero__previously {
  margin-top: 16px;
  font-family: var(--font-mono); font-stretch: normal;
  font-size: 14px; line-height: 24px; letter-spacing: -0.01em; text-transform: uppercase;
  opacity: .6;
}
.hero__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 45px; }
.hero__talk a { display: inline-block; }
.hero__talk a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Pills (scroll down, CTA) */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 32px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.4; letter-spacing: -0.01em;
  transition: transform .2s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill--soft { background: var(--soft-bg); }
.pill--solid { background: var(--solid-bg); color: var(--solid-fg); min-width: 344px; }
.pill--solid .icon { filter: var(--icon-on-solid); }

/* ---------- Services ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head__text { display: flex; flex-direction: column; gap: 11px; max-width: 507px; }
.more {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.4; letter-spacing: -0.01em;
}
.more:hover span { text-decoration: underline; text-underline-offset: 4px; }

.cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px; row-gap: 49px; margin-top: 40px;
}
.card .h4 { margin-top: 24px; }
.card .body-l { margin-top: 6px; }

.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 592 / 500; border-radius: var(--radius-card);
}
.card__media { background: #8da1c1; } /* steel, shown while art loads */
.card__base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__dither { position: absolute; inset: 0; overflow: hidden; }
/* the Figma artwork is a 2x2 sheet with white seams between the quarters;
   a slight zoom keeps those seams outside the rounded frame */
.card__dither { transform: scale(1.04); }
.card__dither img { position: absolute; max-width: none; }
.card__media--1 .card__dither img { left: 0; top: 0; width: 268.53%; height: 204.8%; }
.card__media--2 .card__dither img { left: -172.25%; top: -8.63%; width: 285%; height: 217.36%; }
.card__media--3 .card__dither img { left: -5.73%; top: -109.21%; width: 280%; height: 213.55%; }
.card__media--4 .card__dither img { left: -185.96%; top: -108.97%; width: 286%; height: 218.12%; }

/* Six-door grid (home) */
.cards--six { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.card__title { display: flex; align-items: center; gap: 10px; }
.card--link { display: block; }
.card--link .card__media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card--link:hover .card__media .card__dither img { transform: scale(1.04); }
.card--link .card__title .icon { transition: transform .2s ease; }
.card--link:hover .card__title .icon { transform: rotate(-90deg) translateY(3px); }
.card__media--5 { background: #8da1c1; }
.card__media--5 .card__dither { transform: rotate(180deg) scale(1.04); }
.card__media--5 .card__dither img { left: 0; top: 0; width: 268.53%; height: 204.8%; }
.card__media--cta {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: 32px; background: var(--card-bg);
}
.pill--sm { min-width: 0; align-self: flex-start; padding: 18px 24px; font-size: 16px; margin-top: 8px; }

/* ============================================================
   Sub-pages (audience doors)
   ============================================================ */
.page-hero { position: relative; padding-top: 240px; padding-bottom: 96px; }
.page-hero__eyebrow {
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.4; letter-spacing: -0.01em;
}
.page-hero__title { margin-top: 16px; max-width: 1000px; }
.page-hero__lead { margin-top: 24px; max-width: 640px; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.page-hero__bg {
  /* full-bleed: breaks out of the container to span the whole viewport */
  --art-w: max(760px, 55vw);
  position: absolute; z-index: -1; top: 0; left: 50%;
  width: 100vw; height: calc(var(--art-w) * 0.874); transform: translateX(-50%);
  background-repeat: no-repeat; background-position: right top; background-size: var(--art-w) auto;
  pointer-events: none;
  /* the fade is sized to the artwork itself: flush to the top and right edges,
     dissolving into the page on its left and bottom edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to top, transparent 0, #000 45%);
  -webkit-mask-size: var(--art-w) calc(var(--art-w) * 0.874);
  -webkit-mask-position: right top; -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to top, transparent 0, #000 45%);
          mask-size: var(--art-w) calc(var(--art-w) * 0.874);
          mask-position: right top; mask-repeat: no-repeat;
          mask-composite: intersect;
}
[data-theme="light"] .page-hero__bg { opacity: .6; }
[data-theme="dark"] .page-hero__bg { opacity: .38; }
[data-page="small-business"] .page-hero__bg { background-image: url("assets/hero-art-small-business.webp"); }
[data-page="agencies"] .page-hero__bg { background-image: url("assets/hero-art-agencies.webp"); }
[data-page="enterprise"] .page-hero__bg { background-image: url("assets/hero-art-enterprise.webp"); }
[data-page="tech-vendors"] .page-hero__bg { background-image: url("assets/hero-art-tech-vendors.webp"); }
[data-page="advisory"] .page-hero__bg { background-image: url("assets/hero-art-advisory.webp"); }


.section { margin-top: 128px; }
.section-title { display: flex; flex-direction: column; gap: 11px; max-width: 640px; }

.pain-list { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: 0; list-style: none; }
.pain-list li {
  display: flex; gap: 12px; align-items: baseline; padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
}
.pain-list li::before { content: "/"; font-family: var(--font-mono); opacity: .5; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.feature {
  display: flex; flex-direction: column; gap: 12px; min-height: 280px;
  padding: 40px 41px 42px 42px; border-radius: var(--radius-card); background: var(--card-bg);
}
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature__num { align-self: flex-end; }
.feature h3 { margin-top: 48px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; counter-reset: step; }
.step { padding-top: 24px; border-top: 2px solid var(--fg); }
.step .h4 { margin-bottom: 8px; }
.note-line { margin-top: 32px; font-family: var(--font-mono); font-stretch: normal; font-size: 16px; line-height: 1.5; opacity: .7; text-transform: uppercase; }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.tools__group .h5 { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li {
  padding: 8px 14px; border-radius: 48px; background: var(--card-bg);
  font-size: 14px; line-height: 20px; letter-spacing: -0.01em;
}

.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.package {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 36px; border-radius: var(--radius-card); background: var(--card-bg);
}
.package--featured { background: var(--solid-bg); color: var(--solid-fg); }
.package__badge {
  align-self: flex-start; margin-bottom: 4px; padding: 4px 12px; border-radius: 48px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: -0.01em;
  background: var(--solid-fg); color: var(--solid-bg);
}
.package__price { margin-top: 18px; }
.package__setup { opacity: .7; }
.package__for { margin-top: 18px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.package__promise { margin-top: 18px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.package__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.package__list li { position: relative; padding-left: 18px; }
.package__list li::before { content: "/"; position: absolute; left: 0; font-family: var(--font-mono); opacity: .5; }
.package__list + .package__for { margin-top: auto; padding-top: 18px; }
.package__list { margin-bottom: 18px; }
.fineprint { margin-top: 20px; font-size: 14px; line-height: 20px; opacity: .7; }

.sub-cta { margin-top: 128px; }

/* ---------- About ---------- */
.about { margin-top: 128px; }
.about__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 509px));
  justify-content: space-between; row-gap: 52px; margin-top: 42px;
}
.about__item .h3 { display: flex; align-items: flex-start; gap: 8px; }
.about__item .body-l { margin-top: 24px; padding-left: 12px; }

/* ---------- Marquee ---------- */
.marquee {
  margin-top: 123px; height: 249px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--band-bg); color: var(--band-fg);
}
.marquee__track {
  display: flex; white-space: nowrap; width: max-content;
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 140px; line-height: 1.1; letter-spacing: -0.02em;
  animation: marquee 40s linear infinite;
}
.marquee__track span { padding-right: .35em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- How it works ---------- */
.how { margin-top: 52px; }
.how__head { display: flex; align-items: flex-end; gap: 81px; }
.how__rule { display: flex; flex-direction: column; gap: 9px; max-width: 320px; }
.how__cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px; margin-top: 69px;
}
.how-card {
  display: flex; flex-direction: column;
  aspect-ratio: 592 / 500; border-radius: var(--radius-card);
  padding: 47px 41px 42px 42px;
  background: var(--card-bg);
}
.how-card__num { align-self: flex-end; }
.how-card__art {
  position: relative; overflow: hidden; mix-blend-mode: darken;
  margin: 76px auto 32px; flex: none;
}
.how-card__art img { position: absolute; max-width: none; width: 222.86%; height: 145.65%; top: -23.15%; }
.how-card__art--1 { width: 40.71%; aspect-ratio: 241 / 185; }
.how-card__art--1 img { left: -5.15%; }
.how-card__art--2 { width: 43.75%; aspect-ratio: 796 / 609; margin-top: 66px; }
.how-card__art--2 img { left: -117.9%; }
[data-theme="dark"] .how-card__art { mix-blend-mode: lighten; }
[data-theme="dark"] .how-card__art img { filter: invert(1); }
.how-card__text { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
/* Side-by-side cards: share rows so BUILD IT / RUN IT titles line up */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .how__cards { grid-template-rows: auto 1fr auto auto; row-gap: 0; }
    .how-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
    .how-card__num { justify-self: end; }
    .how-card__text { display: contents; }
    .how-card__text h3 { align-self: end; margin-bottom: 6px; }
  }
}

/* ---------- Footer ---------- */
.footer { margin-top: 104px; padding-bottom: 57px; }
.footer__cta { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer__note { max-width: 460px; margin-bottom: 14px; }
.footer__email { margin-top: 12px; opacity: .7; }
.footer__email:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
/* Enquiry form: secondary route under the booking button, opens the GoHighLevel form in a pop-up. */
.enquiry { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 48px; text-align: center; }
.enquiry__label { max-width: 460px; opacity: .7; }
.enquiry__open { border: 0; box-shadow: inset 0 0 0 1.5px var(--fg); color: inherit; cursor: pointer; }
.enquiry-modal { width: min(800px, calc(100vw - 32px)); max-width: none; height: min(900px, calc(100vh - 32px)); height: min(900px, calc(100dvh - 32px)); max-height: none; padding: 0; border: 0; border-radius: var(--radius-card); background: #E0DEDF; overflow: hidden; }
.enquiry-modal:not([open]) { display: none; }
.enquiry-modal::backdrop { background: rgba(0,0,0,.6); }
.enquiry-modal__box { position: relative; width: 100%; height: 100%; }
.enquiry-modal iframe { display: block; width: 100%; height: 100%; border: 0; }
.enquiry-modal__close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #181818; color: #fff; display: grid; place-items: center; cursor: pointer; }
.enquiry-modal__close:hover { transform: scale(1.06); }
body.modal-open { overflow: hidden; }
.booking-modal { width: min(1100px, calc(100vw - 32px)); background: #fff; }
.booking-modal .enquiry-modal__close { top: 12px; right: 12px; }
/* Enquiry form (GoHighLevel embed). Sits under the booking button as the secondary route. */
.enquiry { max-width: 640px; margin: 64px auto 0; text-align: center; }
.enquiry__label { font-size: 16px; line-height: 24px; opacity: .7; margin-bottom: 16px; }
.enquiry__panel { border-radius: var(--radius-card); overflow: hidden; background: #ededed; }
.enquiry__panel iframe { display: block; width: 100%; min-height: 600px; border: 0; }
.footer__bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-top: 62px;
  font-family: var(--font-mono); font-stretch: normal;
  font-size: 14px; line-height: 22px; letter-spacing: -0.01em; text-transform: uppercase;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 0 40px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 32px; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .display-m { font-size: 64px; }
  .h1 { font-size: 52px; }
  .marquee { height: 180px; }
  .marquee__track { font-size: 100px; }
  .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .how-card { padding: 32px; }
  .how-card__art, .how-card__art--2 { margin-top: 32px; margin-bottom: 24px; }
  .header__logo img { width: 160px; }
}

@media (max-width: 1100px) {
  .cards--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__media--cta { aspect-ratio: auto; min-height: 100%; padding: 24px; }
  .packages { grid-template-columns: 1fr; max-width: 560px; }
  .feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { padding-top: 180px; }
  .header { padding-top: 32px; }
  .nav { gap: 4px; }
  .nav__tap { padding: 12px; font-size: 14px; }
  .header__logo img { width: 150px; }
  .hero { padding-top: 180px; }
  .how-card { aspect-ratio: auto; }
}

/* ---------- Compact header: hamburger below 900px ---------- */
@media (max-width: 900px) {
  .header__inner { height: 44px; }
  .header__logo img { width: 120px; }
  .nav, .header__inner > .theme-toggle { display: none; }
  .menu-btn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--solid-bg);
  }
  .menu-btn span { width: 16px; height: 2px; border-radius: 2px; background: var(--solid-fg); transition: transform .2s ease, opacity .2s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 4px;
    margin: 12px 16px 0; padding: 8px;
    background: var(--pill-bg); border-radius: 24px; box-shadow: var(--nav-shadow);
  }
  .mobile-menu a {
    padding: 14px 16px; border-radius: 16px;
    font-size: 16px; text-transform: uppercase;
  }
  .mobile-menu a:active { background: var(--pill-active-bg); color: var(--pill-active-fg); }
  .mobile-menu__theme {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 8px 8px 16px; font-size: 16px;
  }
  .theme-toggle--menu { width: 80px; height: 44px; padding: 4px; box-shadow: none; background: var(--bg); }
  .theme-toggle--menu .theme-toggle__knob { width: 36px; height: 36px; background: var(--fg); }
  [data-theme="dark"] .theme-toggle--menu .theme-toggle__knob { transform: translateX(36px); }

}

/* ============================================================
   Mobile (Figma: Home – Light Mode – Mobile, 375)
   ============================================================ */
@media (max-width: 760px) {
  :root { --gutter: 16px; --radius-card: 24px; }

  .h2 { font-size: 24px; }
  .h3 { font-size: 20px; }
  .h4 { font-size: 20px; }
  .h1 { font-size: 32px; }
  .display-m { font-size: 44px; }
  .body-xl { font-size: 16px; }
  .body-l { font-size: 14px; line-height: 20px; }

  .header { padding-top: 16px; }
  .header__logo img { width: 89px; }

  .hero { padding-top: 110px; padding-bottom: 72px; }
  .hero__bg {
    width: 100vw; opacity: .85;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 62%);
            mask-image: linear-gradient(to bottom, #000 30%, transparent 62%);
  }
  .hero__tags { gap: 16px; margin-top: 16px; font-size: 12px; justify-content: space-between; }
  .hero__blurb { margin-top: 20px; }
  .hero__previously { font-size: 12px; line-height: 20px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 28px; }
  .hero__talk .body-xl { font-size: 14px; }
  .hero__foot .pill { align-self: flex-end; }

  .pill { padding: 10px 16px; font-size: 14px; }
  .pill--solid { min-width: 0; width: 100%; padding: 24px; font-size: 14px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head__text { gap: 16px; max-width: none; }
  .more { font-size: 14px; }

  .cards { grid-template-columns: 1fr; row-gap: 32px; margin-top: 24px; }
  .card .h4 { margin-top: 16px; }

  .about { margin-top: 72px; }
  .about__grid { grid-template-columns: 1fr; row-gap: 20px; margin-top: 16px; }
  .about__item .body-l { margin-top: 10px; }

  .marquee { margin-top: 64px; height: 100px; }
  .marquee__track { font-size: 48px; }

  .how { margin-top: 24px; }
  .how__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .how__rule .h5 { font-size: 14px; }
  .how__cards { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .how-card { aspect-ratio: auto; padding: 24px; }
  .how-card__num { font-size: 18px; }
  .how-card__art--1 { width: 50%; }
  .how-card__art--2 { width: 54%; }

  .cards--six, .cards--four { grid-template-columns: 1fr; }
  .card__media--cta { aspect-ratio: auto; padding: 24px; }
  .page-hero { padding-top: 120px; padding-bottom: 48px; }
  .page-hero__eyebrow { font-size: 14px; }
  .page-hero__actions .pill--solid { width: auto; }
  .page-hero__bg {
    --art-w: 110vw;
  }
  .section, .sub-cta { margin-top: 72px; }
  .pain-list, .feature-grid, .feature-grid--3, .steps, .tools { grid-template-columns: 1fr; }
  .feature-grid, .steps, .tools, .packages { margin-top: 24px; gap: 16px; }
  .feature { min-height: 0; padding: 24px; }
  .feature h3 { margin-top: 24px; }
  .feature { gap: 8px; }
  .package { padding: 24px; }
  .footer { margin-top: 72px; padding-bottom: 32px; }
  .footer__bar { flex-direction: column; gap: 8px; margin-top: 40px; font-size: 12px; }
  .footer__links a, .more, .hero__talk a, .footer__email, .header__logo { display: inline-flex; align-items: center; min-height: 44px; }
  .skip { padding: 12px 16px; }
}

@media (max-width: 360px) {
  .hero__tags { flex-direction: column; gap: 0; }
}

@media (max-width: 360px) {
  .display-m { font-size: 34px; }
}

/* ---------- Hidden landing pages (for/<industry>/) ---------- */
.lp-header__actions { display: flex; align-items: center; gap: 16px; }
.pill--header { min-width: 0; padding: 16px 22px; font-size: 14px; }
.lp-previously { margin-top: 32px; font-family: var(--font-mono); font-stretch: normal; font-size: 14px; line-height: 1.5; text-transform: uppercase; opacity: .7; }

.lp-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; }
.lp-about__text { display: flex; flex-direction: column; gap: 20px; }

.faq { margin-top: 32px; border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.faq__item { border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-mono); font-size: 24px; line-height: 1; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { max-width: 720px; padding-bottom: 24px; }

.sticky-cta { display: none; }

@media (max-width: 900px) {
  .lp .lp-header__actions .theme-toggle { display: block; }
}
@media (max-width: 760px) {
  .pill--header { display: none; }
  .lp-about { grid-template-columns: 1fr; gap: 16px; }
  .lp .footer { padding-bottom: 32px; }
  .sticky-cta {
    display: block; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--bg); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .pill--solid { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

@media (max-width: 760px) {
  .enquiry__open { width: 100%; padding: 24px; font-size: 14px; }
  .enquiry-modal { width: calc(100vw - 16px); height: calc(100vh - 16px); height: calc(100dvh - 16px); border-radius: 20px; }
}

/* Phone number beside the email (hero and footer) */
.hero__talk { display: flex; flex-direction: column; align-items: flex-start; }
.footer__email + .footer__phone { margin-top: -6px; }
@media (max-width: 760px) {
  .hero__talk a { min-height: 36px; }
  .footer__email + .footer__phone { margin-top: -14px; }
}

/* ============================================================
   Site split (2026-12): two-door home, Consulting, Solutions, Agency
   Uses existing tokens only. Appended; nothing above is changed.
   ============================================================ */

/* Hero artwork for the new pages (same art as the pages they replace) */
[data-page="consulting"] .page-hero__bg { background-image: url("assets/hero-art-advisory.webp"); }
[data-page="solutions"] .page-hero__bg { background-image: url("assets/hero-art-small-business.webp"); }
[data-page="agency"] .page-hero__bg { background-image: url("assets/hero-art-agencies.webp"); }

/* Two-door home: no main menu, theme toggle stays visible at every width */
.split { padding-top: 220px; padding-bottom: 0; }
.split__title { margin-top: 40px; max-width: 800px; }
.split .hero__blurb { max-width: 640px; }
.split__doors { margin-top: 48px; column-gap: 24px; }
.split__doors .card__media { aspect-ratio: 592 / 300; }
.split__eyebrow { margin-top: 24px; font-family: var(--font-mono); font-stretch: normal; font-size: 14px; line-height: 20px; text-transform: uppercase; opacity: .6; }
.split__doors .card .h4.card__title { margin-top: 6px; }
.split__doors .card .body-l { max-width: 520px; }
.split__more { margin-top: 16px; font-size: 16px; }
.split__agency, .split__talk { margin-top: 40px; }
.split__agency a, .split__talk a, .footer__cross a { text-decoration: underline; text-underline-offset: 4px; }
.split__footer { margin-top: 64px; }
.split__talk { margin-top: 0; padding-top: 32px; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.split__footer .footer__bar { margin-top: 32px; }
@media (max-width: 1100px) { .split { padding-top: 160px; } }
@media (max-width: 900px) {
  [data-page="split"] .header__inner > .theme-toggle { display: block; width: 80px; height: 44px; padding: 4px; }
  [data-page="split"] .header__inner > .theme-toggle .theme-toggle__knob { width: 36px; height: 36px; }
  [data-theme="dark"] [data-page="split"] .header__inner > .theme-toggle .theme-toggle__knob { transform: translateX(36px); }
}
@media (max-width: 760px) {
  .split { padding-top: 110px; }
  .split__title { margin-top: 24px; }
  .split__doors { margin-top: 32px; }
  .split__eyebrow { margin-top: 16px; font-size: 12px; }
  .split__more { font-size: 14px; margin-top: 8px; }
  .split__agency { margin-top: 32px; }
  .split__footer { margin-top: 48px; }
}

/* Three seats (Consulting): the home page's About items, three across */
.about__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
@media (max-width: 900px) { .about__grid--3 { grid-template-columns: 1fr; row-gap: 32px; } }

/* "You get:" line under a service or package */
.feature__get, .package__get {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); opacity: .75;
}

/* Track record tiles */
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.feature--stat { min-height: 0; justify-content: space-between; gap: 24px; padding: 32px; }
@media (max-width: 1100px) { .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .feature-grid--4 { grid-template-columns: 1fr; gap: 16px; }
  .feature--stat { padding: 24px; gap: 8px; }
}

/* CV strip (Consulting) */
.cv-strip {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px; border-radius: var(--radius-card); background: var(--card-bg);
}
.cv-strip .page-hero__actions { margin-top: 0; }
@media (max-width: 760px) {
  .cv-strip { padding: 24px; flex-direction: column; align-items: stretch; gap: 24px; }
  .cv-strip .pill--solid { width: 100%; }
}

/* "Who it's for" tiles (Solutions links to /for/ pages; Agency tiles are plain) */
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.who-tile {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px; border-radius: var(--radius-card); background: var(--card-bg);
}
.who-tile__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
a.who-tile { transition: transform .2s ease; }
a.who-tile:hover { transform: translateY(-2px); }
a.who-tile:hover .who-tile__title .icon { transform: rotate(-90deg) translateX(-3px); }
.who-tile__title .icon { transition: transform .2s ease; }
@media (max-width: 1100px) { .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .who-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .who-tile { padding: 20px 24px; gap: 6px; }
}

/* Agency: four ways to work together, two by two */
.packages--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .packages--four { grid-template-columns: 1fr; } }

/* Cross-link between the two journeys, above the legal line */
.footer__cross { margin-top: 48px; text-align: center; opacity: .8; }
@media (max-width: 760px) { .footer__cross { margin-top: 40px; } }

/* ============================================================
   CV page (/consulting/cv/) — .cv- classes only.
   Label column (mono caps with slash) + content column, ruled like the print CV.
   ============================================================ */
.cv-hero__role { margin-top: 20px; }
.cv-hero__strap { margin-top: 6px; font-size: 16px; line-height: 24px; letter-spacing: -0.01em; opacity: .75; }
.cv-contact { display: grid; grid-template-columns: repeat(3, max-content); gap: 16px 48px; margin: 32px 0 0; max-width: 100%; }
.cv-contact div { min-width: 0; }
.cv-contact dt { font-family: var(--font-mono); font-stretch: normal; font-size: 13px; line-height: 20px; letter-spacing: 0; text-transform: uppercase; opacity: .6; }
.cv-contact dd { margin: 2px 0 0; font-size: 16px; line-height: 24px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.cv-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cv-hero .page-hero__actions { margin-top: 40px; }

.cv-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px;
  padding: 32px 0; border-top: 1px solid var(--fg);
}
.cv-row:last-child { border-bottom: 1px solid var(--fg); }
.cv-label {
  margin: 0; font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 16px; line-height: 24px; letter-spacing: 0; text-transform: uppercase;
}
.cv-body > .body-l { max-width: 780px; }
.cv-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.cv-points li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline;
  padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
}
.cv-points li:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.cv-points--one { grid-template-columns: 1fr; }
.cv-points--one li:nth-child(2) { border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); padding-top: 14px; }
.cv-num { font-family: var(--font-mono); font-stretch: normal; font-size: 16px; line-height: 24px; letter-spacing: -0.02em; opacity: .6; }

.cv-role { padding: 28px 0; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.cv-role:first-child { padding-top: 0; border-top: 0; }
.cv-when { font-family: var(--font-mono); font-stretch: normal; font-size: 14px; line-height: 20px; letter-spacing: 0; text-transform: uppercase; opacity: .6; }
.cv-role__title {
  margin-top: 8px; font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; text-transform: uppercase;
}
.cv-role__org {
  display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 400; font-stretch: 125%;
  font-size: 16px; line-height: 24px; letter-spacing: -0.01em; text-transform: none; opacity: .8;
}
.cv-bullets { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cv-bullets li, .cv-lines li { position: relative; }
.cv-bullets li { padding-left: 20px; }
.cv-bullets li::before { content: "/"; position: absolute; left: 0; font-family: var(--font-mono); opacity: .5; }
.cv-earlier { padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); opacity: .8; }
.cv-lines { list-style: none; margin: 0; padding: 0; }
.cv-lines li { padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.cv-lines li:first-child { padding-top: 0; border-top: 0; }
.cv-lines li:last-child { padding-bottom: 0; }

@media (max-width: 1100px) {
  .cv-contact { grid-template-columns: repeat(2, max-content); }
}
@media (max-width: 760px) {
  .cv-contact { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .cv-contact dd { font-size: 14px; line-height: 20px; }
  .cv-hero__strap { font-size: 14px; line-height: 20px; }
  .cv-hero .page-hero__actions { margin-top: 28px; }
  .cv-hero .page-hero__actions .pill { width: 100%; }
  .cv-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .cv-label { font-size: 14px; line-height: 20px; }
  .cv-points { grid-template-columns: 1fr; }
  .cv-points li { grid-template-columns: 40px minmax(0, 1fr); padding: 12px 0; }
  .cv-points li:nth-child(2) { border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); padding-top: 12px; }
  .cv-num { font-size: 14px; line-height: 20px; }
  .cv-role { padding: 22px 0; }
  .cv-when { font-size: 12px; line-height: 18px; }
  .cv-role__title { font-size: 16px; }
  .cv-role__org { font-size: 14px; line-height: 20px; }
}

/* CV print: black on white, no site chrome, roles kept whole */
@media print {
  :root[data-theme] { --bg: #fff; --fg: #000; color-scheme: light; }
  @page { size: A4; margin: 14mm 14mm 16mm; }
  body[data-page="cv"] { background: #fff; color: #000; transition: none; }
  body[data-page="cv"] .header, body[data-page="cv"] .footer, body[data-page="cv"] .skip,
  body[data-page="cv"] .page-hero__actions, body[data-page="cv"] .enquiry-modal { display: none !important; }
  body[data-page="cv"] .page-hero { padding: 0 0 18px; }
  body[data-page="cv"] .container { padding-inline: 0; max-width: none; }
  body[data-page="cv"] .section { margin-top: 0; }
  body[data-page="cv"] .h1 { font-size: 30pt; }
  body[data-page="cv"] .body-xl { font-size: 13pt; }
  body[data-page="cv"] .body-l, .cv-contact dd, .cv-hero__strap, .cv-role__org { font-size: 9.5pt; line-height: 1.4; }
  .cv-contact { grid-template-columns: repeat(3, max-content); gap: 6px 28px; margin-top: 14px; }
  .cv-contact dt, .cv-when, .cv-num, .cv-label { font-size: 8pt; line-height: 1.4; }
  .cv-role__title { font-size: 10.5pt; }
  .cv-row { grid-template-columns: 34mm 1fr; gap: 6mm; padding: 10px 0; }
  .cv-points li { padding: 5px 0; grid-template-columns: 9mm 1fr; }
  .cv-points--one li:nth-child(2) { padding-top: 5px; }
  .cv-role { padding: 8px 0; break-inside: avoid; }
  .cv-bullets { margin-top: 5px; gap: 3px; }
  .cv-lines li { padding: 4px 0; }
  .cv-label { break-after: avoid; }
  .cv-points li, .cv-lines li { break-inside: avoid; }
  .cv-contact a, .cv a { text-decoration: none; }
}
/* CV page spacing: the hero has no artwork, so the record starts closer to it */
.page-hero.cv-hero { padding-bottom: 0; }
.section.cv { margin-top: 72px; }
.cv-body > .cv-earlier { max-width: none; }
@media (max-width: 760px) { .section.cv { margin-top: 48px; } }
@media print { .section.cv { margin-top: 0; } }

/* Row alignment inside card grids: titles, text and "You get" rules line up across a row */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .feature-grid > .feature:not(.feature--stat) {
      display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 12px; align-content: start;
    }
    .feature-grid > .feature:not(.feature--stat):has(.feature__get) { grid-row: span 4; }
    .feature-grid > .feature:not(.feature--stat) > .feature__num { justify-self: end; }
    .feature-grid > .feature:not(.feature--stat) > .feature__get { margin-top: 4px; align-self: start; }
    .who-grid > .who-tile { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 12px; }
  }
}

/* Recommended badge sits on the card's top edge, so every card in the row starts at the same height */
.package--featured > .package__badge {
  position: absolute; top: 0; left: 36px; transform: translateY(-50%); margin: 0;
  border: 1px solid var(--solid-bg);
}
@media (max-width: 760px) { .package--featured > .package__badge { left: 24px; } }

/* CV contact details share the page's columns: first on the left edge, second on the text column */
@media screen and (min-width: 1101px) {
  .cv-contact { grid-template-columns: calc((100% - 32px) / 4) minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; }
  .cv-contact > div:nth-child(2) { grid-area: 1 / 1; }
  .cv-contact > div:nth-child(1) { grid-area: 1 / 2; }
  .cv-contact > div:nth-child(3) { grid-area: 1 / 3; }
  .cv-contact > div:nth-child(4) { grid-area: 2 / 1; }
  .cv-contact > div:nth-child(5) { grid-area: 2 / 2; }
}

/* ============================================================
   Review fixes (2026-12)
   ============================================================ */
/* Home: each door's label and title sit above its image, so both choices
   can be read on the first screen */
.split__doors > .card { display: flex; flex-direction: column; }
.split__doors .split__eyebrow { order: -2; margin-top: 0; }
.split__doors .card .h4.card__title { order: -1; margin-top: 6px; }
.split__doors .card__media { margin-top: 20px; }
.split__doors .card > .body-l { margin-top: 20px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .split__doors > .card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; align-content: start; }
    .split__doors > .card > * { align-self: start; }
    .split__doors > .card > .card__media { align-self: stretch; }
  }
}
@media (min-width: 1101px) and (max-height: 960px) {
  .split { padding-top: 190px; }
  .split .hero__name img { width: 560px; }
  .split__title { margin-top: 28px; }
  .split__doors { margin-top: 36px; }
}
@media (max-width: 760px) {
  .split__doors .card__media { margin-top: 12px; }
  .split__doors .card > .body-l { margin-top: 12px; }
}
/* The door images are pale; dim them on the black page */
[data-theme="dark"] .split__doors .card__media { filter: brightness(.62) saturate(.9); }

/* Numbered cards: less empty space above the title */
.feature { min-height: 220px; }
.feature h3 { margin-top: 20px; }
@media (max-width: 760px) {
  .feature { min-height: 0; }
  .feature h3 { margin-top: 12px; }
}

/* Long page headlines: two lines on a laptop instead of three */
.page-hero__title { max-width: 1100px; text-wrap: balance; }
@media (min-width: 1201px) and (max-width: 1500px) { .page-hero__title { font-size: 56px; } }

/* Larger tap areas on text links */
.cv-contact a, .footer__cross a, .split__agency a, .split__talk a { padding: 12px 0; }
@media print { .cv-contact a { padding: 0; } }

/* Pop-ups: say something while the calendar or form loads */
.enquiry-modal__status {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  margin: 0; padding: 0 32px; text-align: center;
  font-size: 16px; line-height: 24px; color: #181818;
}
.enquiry-modal__status a { text-decoration: underline; text-underline-offset: 4px; }
.enquiry-modal.is-loaded .enquiry-modal__status { display: none; }

/* Home: fade the background loop out above the two doors so their titles stay readable */
@media (min-width: 761px) {
  .split .hero__bg {
    -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 18%, #000 52%), linear-gradient(to bottom, #000 0, #000 340px, transparent 530px);
            mask-image: linear-gradient(to right, transparent 0, transparent 18%, #000 52%), linear-gradient(to bottom, #000 0, #000 340px, transparent 530px);
  }
}

/* Consulting hero portrait */
.page-hero__portrait { margin: 32px 0 0; max-width: 360px; }
.page-hero__portrait img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }
@media (min-width: 1101px) {
  .page-hero--portrait { display: grid; grid-template-columns: minmax(0, 1fr) var(--portrait-w, 360px); grid-template-rows: auto auto auto auto 1fr; column-gap: 64px; }
  .page-hero--portrait > * { grid-column: 1; }
  .page-hero--portrait > .page-hero__title { grid-column: 1 / -1; }
  .page-hero--portrait > .page-hero__portrait { grid-column: 2; grid-row: 3 / span 3; margin: 24px 0 0; max-width: none; align-self: start; }
}
