/* ==========================================================================
   AB & ARTHO — design system
   Structure, spacing rhythm and restraint follow hilton.com:
   full-bleed photography, generous white space, a single accent colour,
   uppercase letterspaced eyebrows, quiet rules instead of heavy borders.
   Palette stays on-brand (logo black + logo red) rather than Hilton blue.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink:        #101418;
  --ink-2:      #2C3138;
  --ink-3:      #5B646E;
  --paper:      #FFFFFF;
  --sand:       #F7F5F2;
  --sand-2:     #EFEBE5;
  --line:       #E2DED8;
  --accent:     #D8232A;
  --accent-dk:  #A81A20;

  --wrap:       1240px;
  --wrap-tight: 860px;
  --gutter:     clamp(20px, 5vw, 64px);

  --s-1:  8px;  --s-2: 16px;  --s-3: 24px;  --s-4: 32px;
  --s-5: 48px;  --s-6: 64px;  --s-7: 96px;  --s-8: 136px;

  --sans: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
           "Times New Roman", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --hdr-h: 88px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 16px); /* sticky header must not cover anchors */
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;                     /* long words never force a sideways scroll */
  -webkit-tap-highlight-color: rgba(216, 35, 42, .15);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -.02em;
  overflow-wrap: break-word;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 14px 20px;
}
.skip:focus { left: 0; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--tight { max-width: var(--wrap-tight); }

.section { padding: clamp(64px, 9vw, var(--s-8)) 0; }
.section--sand { background: var(--sand); }
.section--ink  { background: var(--ink); color: #fff; }
.section--flush-top { padding-top: 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-3);
}
.section--ink .eyebrow { color: #FF6B70; }

.h-display {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.h-section {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
}
.h-card { font-size: 1.25rem; letter-spacing: -.01em; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.section--ink .lede { color: rgba(255, 255, 255, .78); }

.muted { color: var(--ink-3); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--on-dark { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Row of buttons. A class rather than an inline style, so the mobile
   full-width rule can override it. */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; position: relative;
  width: 22px; height: 1.5px; background: var(--ink);
  transition: background .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .28s var(--ease), top .28s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(84vh, 760px);
  min-height: min(84dvh, 760px);   /* dvh excludes mobile browser chrome */
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Layered over the still, which acts as the poster. ::after is the last child in
   paint order, so the darkening gradient stays above the video. */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero__video.is-playing { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,20,24,.30) 0%, rgba(16,20,24,.30) 42%, rgba(16,20,24,.86) 100%);
}
.hero__inner { position: relative; padding-bottom: clamp(48px, 7vw, 96px); padding-top: clamp(96px, 14vw, 180px); }
.hero__title { max-width: 16ch; }
.hero__lede { max-width: 62ch; margin-top: var(--s-3); color: rgba(255,255,255,.86); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.hero .eyebrow { color: #fff; opacity: .82; }

/* compact page hero for interior pages */
.pagehero { min-height: min(58vh, 520px); min-height: min(58dvh, 520px); }
.pagehero .hero__inner { padding-top: clamp(80px, 11vw, 140px); }

/* ---------- editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
/* contact page: form column wider than the details column.
   Kept in CSS, not inline, so the mobile media query can override it. */
.split--contact { grid-template-columns: 1.35fr 1fr; align-items: start; }
.split__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 2px;
}
.split__body { max-width: 54ch; }
.split__body .h-section { margin-bottom: var(--s-3); }

/* ---------- network grid (offices & networks, client roster) ---------- */
.network-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.network-head__note { max-width: 42ch; font-size: .98rem; }

.network {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.network li {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 32px);
  min-height: clamp(150px, 15vw, 190px);
  display: flex;
  flex-direction: column;
  transition: background .35s var(--ease);
}
.network li::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.network li:hover { background: var(--paper); }
.network li:hover::before { transform: scaleX(1); }

.network__region {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
}
.network__city {
  margin-top: auto;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 600; letter-spacing: -.015em; line-height: 1.15;
}
.network__tag {
  margin-top: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
/* dark variant — same grid language over a photographic band */
.network--on-dark {
  border-top-color: rgba(255, 255, 255, .22);
  border-left-color: rgba(255, 255, 255, .22);
}
.network--on-dark li {
  border-right-color: rgba(255, 255, 255, .22);
  border-bottom-color: rgba(255, 255, 255, .22);
  /* No min-height and no auto margin: these are name plates, not stat tiles.
     Label and name stay together instead of being pushed to opposite edges. */
  min-height: 0;
  padding: 20px clamp(18px, 1.8vw, 24px);
  justify-content: flex-start;
}
.network--on-dark li:hover { background: rgba(255, 255, 255, .08); }
.network--on-dark .network__region { color: rgba(255, 255, 255, .72); }
.network--on-dark .network__city {
  margin-top: 7px;
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.3;
  text-wrap: balance;
}

.band .network-head__note { color: rgba(255, 255, 255, .72); }

.network li[data-hq] .network__city::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; margin-left: 9px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(24px, 3vw, 38px);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -28px rgba(16, 20, 24, .5);
}
.card__num {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent); display: block; margin-bottom: var(--s-2);
}
.card p { margin-top: var(--s-2); color: var(--ink-3); font-size: .96rem; }

/* image card */
.imgcard { position: relative; overflow: hidden; border-radius: 2px; }
.imgcard img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform .7s var(--ease);
}
/* landscape source photography — avoids cropping heads out of group shots */
.imgcard--wide img { aspect-ratio: 4 / 3; }
.imgcard:hover img { transform: scale(1.045); }
.imgcard__cap {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(20px, 2.4vw, 30px);
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(16,20,24,.85));
}
.imgcard__cap h3 { font-size: 1.15rem; }
.imgcard__cap span {
  display: block; margin-top: 4px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .8;
}

/* ---------- team ---------- */
.person__photo {
  background: var(--sand);
  border-radius: 2px; overflow: hidden;
  margin-bottom: var(--s-3);
}
.person__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.person__role {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin: 6px 0 var(--s-2);
}
.person p { color: var(--ink-3); font-size: .96rem; }

/* ---------- fact bar ---------- */
.factbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.factbar li {
  padding: clamp(20px, 2.4vw, 28px) 0;
  display: flex; flex-direction: column; gap: 6px;
}
.factbar li + li {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 40px);
}
.factbar__n {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
}
.factbar__l {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- client roster (grouped by sector) ---------- */
.roster__group {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-top: 1px solid var(--line);
}
.roster__group:last-child { border-bottom: 1px solid var(--line); }

.roster__count {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 8px;
}
.roster__label h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 600; line-height: 1.25;
  max-width: 18ch;
}

.roster__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  align-content: start;
}
.roster__items li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
  color: var(--ink-2);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.roster__items li:hover { color: var(--ink); border-color: var(--accent); }

/* ---------- service list ---------- */
.services-list { border-top: 1px solid var(--line); }
.services-list li {
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 30px) 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s-2);
  align-items: baseline;
  transition: padding-left .3s var(--ease);
}
.services-list li:hover { padding-left: 12px; }
.services-list .n {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent);
}
.services-list h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; }

/* ---------- tag pills ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; letter-spacing: .04em;
  background: var(--paper);
}

/* ---------- band (full-bleed image + text) ---------- */
.band {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
/* Flat tint plus a downward gradient: the source photo is much brighter on one
   side, and a single flat overlay left the labels there washed out. */
.band__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,20,24,.30) 0%, rgba(16,20,24,.55) 55%, rgba(16,20,24,.68) 100%),
    rgba(16,20,24,.42);
}
/* Longhand only. This element also carries .wrap, and a `padding: X 0` shorthand
   would reset .wrap's horizontal gutter to zero — flush to the screen edge on
   any viewport narrower than the wrap max-width. */
.band__inner {
  position: relative;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

/* ---------- form ---------- */
.form { display: grid; gap: var(--s-3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px;
  color: var(--ink);
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(216, 35, 42, .12);
}
/* ---------- icon choice group (services enquiry) ---------- */
.choicefield {
  border: 0; padding: 0; margin: 0;
  display: grid; gap: var(--s-2);
}
.choicefield legend {
  padding: 0; margin-bottom: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .22s var(--ease), background .22s var(--ease),
              transform .22s var(--ease);
}
.choice:hover { border-color: var(--ink-3); transform: translateY(-1px); }

/* the radio stays in the a11y tree and keeps keyboard behaviour */
.choice input {
  position: absolute; opacity: 0;
  width: 1px; height: 1px; margin: 0; padding: 0;
  pointer-events: none;
}

.choice__icon {
  flex: none;
  width: 26px; height: 26px;
  color: var(--ink-3);
  transition: color .22s var(--ease), transform .22s var(--ease);
}
.choice__label {
  font-size: .93rem; line-height: 1.35;
  color: var(--ink-2);
  transition: color .22s var(--ease);
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: #FDF6F6;
}
.choice:has(input:checked) .choice__icon { color: var(--accent); transform: scale(1.06); }
.choice:has(input:checked) .choice__label { color: var(--ink); font-weight: 600; }

/* red tick in the corner of the selected card */
.choice:has(input:checked)::after {
  content: "";
  position: absolute; top: 10px; right: 12px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.choicefield.is-invalid .choice { border-color: rgba(216, 35, 42, .45); }
.choicefield.is-invalid legend { color: var(--accent); }

/* fallback for engines without :has() — icon/label only */
.choice input:checked ~ .choice__icon  { color: var(--accent); }
.choice input:checked ~ .choice__label { color: var(--ink); font-weight: 600; }

.form__note { font-size: .88rem; color: var(--ink-3); }
.form__note a { color: inherit; }

/* honeypot — off-screen rather than display:none, which some bots skip */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form__status {
  margin: var(--s-3) 0 0;
  padding: 13px 18px;
  border-left: 3px solid var(--line);
  background: var(--sand);
  font-size: .94rem;
}
.form__status.is-ok    { border-left-color: #1B7F4B; }
.form__status.is-error { border-left-color: var(--accent); }
.form__status[hidden]  { display: none; }

.contact-block { border-top: 1px solid var(--line); padding-top: var(--s-3); margin-top: var(--s-4); }
.contact-block:first-of-type { margin-top: 0; }
.contact-block h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.contact-block a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-block a:hover { border-color: var(--accent); }

/* ---------- legal / prose ---------- */
.prose h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: var(--s-6) 0 var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { color: var(--ink-2); }

/* ---------- newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-2);
  max-width: 560px; margin-top: var(--s-4);
}
.newsletter input {
  font: inherit; font-size: 16px; padding: 15px 18px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; border-color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: var(--s-7) 0 var(--s-4); }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer__logo { height: 28px; width: auto; filter: invert(1) grayscale(1) brightness(2); }
.footer h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--s-3);
}
.footer__links li { margin-bottom: 6px; }
.footer__links a {
  display: inline-block;
  padding: 5px 0;              /* lifts the tap target to ~28px */
  text-decoration: none; font-size: .95rem;
  transition: color .2s var(--ease);
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  justify-content: space-between; align-items: center;
  padding-top: var(--s-4);
  font-size: .84rem;
}
.social { display: flex; gap: var(--s-3); }
.social a {
  display: inline-block; padding: 6px 0;
  text-decoration: none; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase;
}
.social a:hover { color: #fff; }

/* Touch devices: inline text links inside prose need a bigger target than their
   line box gives them. Left off pointer-fine devices so text rhythm is untouched. */
@media (hover: none) and (pointer: coarse) {
  .contact-block a,
  .prose a,
  .form__note a,
  .cookie a {
    display: inline-block;
    padding: 4px 0;
  }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 20px; z-index: 120;
  max-width: 560px;
  margin-inline: auto;                /* over-constrained + auto margins = centred */
  background: var(--ink); color: #fff;
  padding: 20px 24px;
  border-radius: 2px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; text-align: center;
  gap: var(--s-2) var(--s-3);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
}
.cookie p { font-size: .9rem; margin: 0; flex: 1 1 260px; color: rgba(255,255,255,.8); }
.cookie[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .network { grid-template-columns: repeat(2, 1fr); }
  .network-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 860px) {
  :root { --hdr-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 auto 0;
    flex-direction: column; align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--s-2) var(--gutter) var(--s-4);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--hdr-h));
    max-height: calc(100dvh - var(--hdr-h));
    overflow-y: auto;
    overscroll-behavior: contain;   /* scrolling the menu must not scroll the page behind it */
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { display: block; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a::after { display: none; }

  .split, .grid--2, .grid--3, .split--contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .roster__group { grid-template-columns: 1fr; gap: var(--s-3); }
  .roster__label h3 { max-width: none; }
  .form__row { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .services-list li { grid-template-columns: 52px 1fr; }
}
/* Button pairs need ~534px of content width to sit side by side. Below that they
   wrap into two narrow, left-aligned buttons — so go full width instead. */
@media (max-width: 640px) {
  .hero__cta, .btn-row { display: grid; gap: 10px; }
  .hero__cta .btn, .btn-row .btn { justify-content: center; width: 100%; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .network li { min-height: 118px; }
  .network__city { font-size: 1.05rem; }
  /* Two up rather than one: eight full-width rows made this band far too tall
     to scroll past. Names wrap, and the grid equalises the row heights. */
  .network--on-dark li { min-height: 0; padding: 16px 14px; }
  .network--on-dark .network__region { font-size: 10px; letter-spacing: .14em; }
  .network--on-dark .network__city { font-size: .95rem; margin-top: 5px; }
  .factbar { grid-template-columns: repeat(2, 1fr); }
  .factbar li { padding: 18px 0; }
  .factbar li:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 20px; }
  .factbar li:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .factbar li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- small phones ---------- */
@media (max-width: 420px) {
  body { font-size: 16px; }
  .h-display { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero__title { max-width: none; }

  .cookie { flex-direction: column; align-items: stretch; }
  .cookie .btn { justify-content: center; }

  .network { grid-template-columns: 1fr; }
  .network li { min-height: 0; padding: 18px 20px; }
  .network__city { margin-top: 6px; }

  .choice { padding: 14px 16px; gap: 12px; }
  .choice__icon { width: 22px; height: 22px; }
  .choice__label { font-size: .89rem; }

  .services-list li { grid-template-columns: 1fr; gap: 4px; }
  .card { padding: 22px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- phones held sideways: never let the hero fill the screen ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero, .pagehero { min-height: 0; }
  .hero__inner { padding-top: clamp(72px, 16vh, 110px); padding-bottom: 40px; }
}

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

@media print {
  .header, .footer, .cookie, .hero__media { display: none; }
}
