/* PlannerLink — corporate layout in the logo's blues */
/* Jost is served from this site (SIL Open Font License, assets/fonts/jost-OFL.txt), not from Google */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jost-latin-700.woff2") format("woff2"); }
:root {
  --bg: #f4f7fb;
  --surface: #e6edf6;
  --ink: #071a4a;
  --muted: #45557a;
  --accent: #3fb6ff;
  --accent-hi: #62e3ff;
  --accent-ink: #071a4a;
  --paper: #ffffff;
  --crit: #e5322d;
  --crit-2: #b52520;
  --crit-3: #8c1c18;
  --r: 0px;

  /* logo navy to sky, dark to light */
  --g1: #071a4a;
  --g2: #0b2a6e;
  --g3: #0f3f9e;
  --g4: #1663d6;
  --g5: #6fb8ff;
  --g6: #b9dcff;
  --g7: #e3f0ff;

  /* type roles: small, body, lead, head, display (the name band is fitted separately) */
  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
  --step-statement: clamp(1.5rem, 1.1rem + 1.1vw, 2.25rem);
  --step-display: clamp(2.75rem, 1.6rem + 5vw, 6rem);

  --gap: 16px;
  --m: clamp(16px, 4vw, 64px);
  --pad: clamp(24px, 2.4vw, 40px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.dark :focus-visible, .on-dark:focus-visible { outline-color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--accent); padding: 12px 16px; font-weight: 500; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.head { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.3; font-weight: 400; letter-spacing: -0.01em; text-wrap: pretty; }
.small { font-size: var(--step-small); line-height: 1.45; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- board ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  padding: 0 var(--m);
  margin-top: var(--gap);
}
.tile {
  background: var(--surface);
  padding: var(--pad);
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--r);
}
.tile.paper { background: var(--paper); }
.tile.dark { background: var(--g1); color: var(--bg); }
.tile.dark2 { background: var(--g2); color: var(--bg); }
.tile.mid { background: var(--g4); color: var(--bg); }
.tile.pale { background: var(--g7); }
.tile.accent { background: var(--accent); color: var(--accent-ink); }
.tile.photo { padding: 0; background: var(--g2); }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* tiles that are links lift in 3D under the pointer */
a.tile, .tile-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { a.tile.accent:hover { background: var(--accent-hi); } }

.arrow { width: 40px; height: 40px; flex: none; transition: transform 260ms var(--ease-out); }
a:hover .arrow { transform: translateX(6px); }

/* ---------- top bar: wordmark, plain links, one action ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 80px; padding: 0 var(--m);
  background: var(--paper);
}
.topbar .wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.topbar .wordmark b { color: var(--g4); font-weight: inherit; }
.topbar .wordmark img { width: 40px; height: 40px; flex: none; }
.tb-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.tb-nav .navlink { text-decoration: none; font-weight: 500; padding: 8px 0; text-underline-offset: 10px; text-decoration-thickness: 3px; }
.tb-nav .navlink:hover, .tb-nav .navlink[aria-current="page"] { text-decoration-line: underline; text-decoration-color: var(--accent); }
.tb-nav .tb-cta { background: var(--ink); color: var(--paper); padding: 14px 22px; transition: background-color 160ms ease; }
.tb-nav .tb-cta:hover, .tb-nav .tb-cta[aria-current="page"] { background: var(--g3); text-decoration: none; }

/* ---------- hero: full-width photograph, title on a navy panel ---------- */
.hero { position: relative; min-height: min(86svh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--g2); }
.hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-2d { display: none; }
.hero-panel { position: relative; z-index: 1; margin-left: var(--m); width: min(980px, calc(100% - 2 * var(--m))); background: var(--g1); color: var(--paper); padding: clamp(28px, 3.4vw, 56px); }
.hero-panel h1 { font-size: clamp(2rem, 1.1rem + 4.2vw, 5.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
.hero-panel .lead { margin-top: 24px; color: var(--g7); max-width: 40ch; }
.hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.hero-acts .arrow, .site-foot .btn .arrow { width: 24px; height: 24px; }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; color: var(--accent-hi); }
.textlink .arrow { width: 22px; height: 22px; }
.hero-3d { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 900ms ease; }
.home-hero.has-3d { background: #b9dcff; }
.home-hero.has-3d .hero-img { visibility: hidden; }
.hero-3d.on { opacity: 1; }
.home-hero .hero-row { position: relative; z-index: 1; display: flex; width: calc(100% - 2 * var(--m)); margin: 0 var(--m); }
.home-hero .hero-panel { margin: 0; width: auto; flex: 1 1 auto; }
.home-hero .hero-panel h1 { font-size: clamp(2rem, 0.8rem + 3vw, 3.75rem); }
.page-banner { min-height: min(62svh, 560px); }
.page-banner .hero-panel { width: min(820px, calc(100% - 2 * var(--m))); }

/* sectors: one navy field, four columns of text */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 48px var(--m); background: var(--g2); color: var(--paper); }
.sectors h2 { font-size: var(--step-lead); font-weight: 500; line-height: 1.1; }
.sectors p { margin-top: 8px; color: var(--g6); }

/* ---------- the programme (3D) ---------- */
.stage {
  position: relative;
  perspective: 1600px;
  perspective-origin: 50% 20%;
  overflow: hidden;
  color: var(--bg);
  touch-action: pan-y;
}
.stage .scaler { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.stage .plane {
  position: absolute;
  left: 0; top: 0;
  background: var(--g2);
  transform-style: preserve-3d;
  transition: transform 700ms var(--ease-out);
}
.plane .rowlabel {
  position: absolute; left: 0; width: 260px; padding: 0 16px 0 20px;
  display: flex; align-items: center;
  font-size: var(--step-body); line-height: 1.15; color: var(--g6);
}
.plane .rowlabel.crit { color: var(--bg); font-weight: 500; }
.plane .lane { position: absolute; left: 260px; right: 0; background: var(--g1); }
.plane .wk { position: absolute; top: 10px; font-size: 14px; color: var(--g5); }
.plane .floatbar { position: absolute; background: var(--g4); transition: left 450ms var(--ease-out), width 450ms var(--ease-out), opacity 300ms; }
.plane .basebar { position: absolute; background: var(--g3); transition: opacity 300ms; }
.plane svg.links { position: absolute; left: 0; top: 0; overflow: visible; }
.plane svg.links path { fill: none; stroke: var(--g5); stroke-width: 2.5; transition: stroke 300ms; }
.plane svg.links path.crit { stroke: var(--crit); }
.bar {
  position: absolute;
  transform-style: preserve-3d;
  transition: left 450ms var(--ease-out), width 450ms var(--ease-out), transform 700ms var(--ease-out), opacity 400ms;
  transform-origin: 50% 50% 0;
}
.bar > i { position: absolute; display: block; }
.bar .top { inset: 0; transform: translateZ(var(--h)); background: var(--g5); }
.bar .front { left: 0; right: 0; bottom: 0; height: var(--h); transform-origin: 50% 100%; transform: rotateX(-90deg); background: var(--g4); }
.bar .end { top: 0; bottom: 0; right: 0; width: var(--h); transform-origin: 100% 50%; transform: rotateY(90deg); background: var(--g3); }
.bar.crit .top { background: var(--crit); }
.bar.crit .front { background: var(--crit-2); }
.bar.crit .end { background: var(--crit-3); }
.bar.crit .tag { color: #fff; }
.bar.sel .top { background: var(--paper); }
.bar.sel .front { background: var(--g6); }
.bar.sel .end { background: var(--g5); }
.bar.down { transform: scaleZ(0.02); opacity: 0; }
.bar .tag { position: absolute; left: 10px; top: 50%; transform: translateZ(calc(var(--h) + 1px)) translateY(-50%); font-size: 14px; color: var(--ink); white-space: nowrap; font-weight: 500; }
.flag {
  position: absolute; transform-style: preserve-3d;
  transition: left 450ms var(--ease-out);
}
.flag .post { position: absolute; left: -3px; width: 6px; top: 0; bottom: 0; background: var(--accent-hi); }
.flag .card {
  position: absolute; bottom: 0; left: -3px;
  transform-origin: 0 100%; transform: rotateX(-90deg);
  background: var(--accent-hi); color: var(--ink); border-radius: 8px;
  padding: 10px 14px; white-space: nowrap;
  font-size: var(--step-body); line-height: 1.15; font-weight: 500;
}
.flag .card b { display: block; font-size: 24px; font-weight: 700; }
.prog-fallback { width: 100%; border-collapse: collapse; font-size: var(--step-small); }
.prog-fallback th, .prog-fallback td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--g3); }
.js .prog-fallback { display: none; }

/* ---------- sections ---------- */
section { scroll-margin-top: 16px; }
.gap-xl { margin-top: clamp(144px, 12vw, 200px); }
.gap-l { margin-top: clamp(64px, 8vw, 120px); }

/* intro: lead over four columns */
.intro { padding: 0 var(--m); }
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.intro .lead { grid-column: 1 / 8; max-width: 36ch; font-size: var(--step-statement); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.intro h3 { font-size: var(--step-body); color: var(--ink); font-weight: 500; }
.intro .who { grid-column: 8 / 13; }
.intro .who > p { margin-top: 14px; font-size: var(--step-body); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; padding: 0; }
.chips li { background: var(--g2); color: var(--paper); padding: 10px 16px; font-weight: 500; }
.intro .what { grid-column: 1 / -1; margin-top: 32px; }
/* what we do: five steps on one line, like milestones on a programme */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 16px; list-style: none; padding: 0; counter-reset: step; }
.steps li { position: relative; padding-top: 40px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--g4); color: var(--paper); font-size: var(--step-small); font-weight: 500; }
.steps li::after { content: ''; position: absolute; left: 28px; right: -16px; top: 13px; height: 2px; background: var(--g6); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-size: var(--step-lead); font-weight: 500; color: var(--ink); line-height: 1.1; }
.steps span { display: block; margin-top: 6px; font-size: var(--step-body); color: var(--ink); }

/* live programme */
.live { grid-template-rows: auto; }
.live .live-stage { grid-column: 1 / 9; grid-row: 1 / 4; padding: 0; background: var(--g1); min-height: 640px; display: flex; flex-direction: column; }
.live .live-stage .stage { flex: 1; }
.live .live-head { grid-column: 9 / 13; }
.live .live-head p { margin-top: 16px; }
.live .controls { grid-column: 9 / 13; }
.live .readout { grid-column: 9 / 13; background: var(--g1); color: var(--bg); }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.acts button {
  font: inherit; font-size: var(--step-body); line-height: 1.2; text-align: left;
  background: var(--bg); color: var(--ink); border: 0; padding: 10px 12px; min-height: 48px; cursor: pointer; border-radius: 0;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.acts button:hover { background: var(--paper); }
.acts button:active { transform: scale(0.97); }
.acts button[aria-pressed="true"] { background: var(--g1); color: var(--bg); }
.acts button .dot { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; background: var(--g5); color: var(--ink); border-radius: 50%; font-size: 0.8125rem; font-weight: 700; vertical-align: 0; }
.acts button.crit .dot { color: var(--paper); }
.stage.narrow .plane .rowlabel { font-size: 34px; font-weight: 700; padding: 0 0 0 14px; }
.stage.narrow .plane .wk { font-size: 22px; }
.stage.narrow .bar .tag { font-size: 22px; }
.stage.narrow .flag .card { font-size: 22px; padding: 12px 16px; }
.stage.narrow .flag .card b { font-size: 30px; }
.acts button.crit .dot { background: var(--crit); }
.slipper { margin-top: 20px; }
.slipper label { display: flex; justify-content: space-between; font-weight: 500; }
.slipper input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--ink); height: 32px; }
.readout .big { font-size: var(--step-lead); line-height: 1.15; font-weight: 500; }
.readout .big span { color: var(--g6); font-weight: 400; }
.readout .big b { font-weight: 500; }
.readout .delta { color: var(--accent-hi); }
.readout p + p { margin-top: 10px; }
.readout .note { color: var(--g6); font-size: var(--step-small); }

/* features: statement cell + dark rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: 0 var(--m); }
.split .cell { background: var(--g7); border-radius: var(--r); min-height: 90svh; padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; justify-content: space-between; }
.zig { font-size: var(--step-head); }
.zig span { display: block; }
.zig span:nth-child(2) { text-align: right; }
.split .cell .mid { font-size: var(--step-lead); line-height: 1.3; max-width: 32ch; margin-top: 48px; }
.split .cell .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.split .cell .foot p { max-width: 32ch; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: var(--accent-ink); border-radius: 0;
  padding: 16px 26px; font-weight: 500; text-decoration: none; line-height: 1.2;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
  white-space: nowrap;
}
.btn.ink { background: var(--ink); background-image: none; color: var(--bg); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { filter: brightness(1.06); } .btn.ink:hover { background: var(--g3); } }
.rows { display: grid; grid-auto-rows: 1fr; border-radius: var(--r); overflow: hidden; }
.rows a {
  display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px;
  padding: 28px; text-decoration: none; color: var(--bg);
  background: var(--g1);
  transition: background-color 200ms ease;
}
.rows a:nth-child(even) { background: var(--g2); }
@media (hover: hover) and (pointer: fine) { .rows a:hover { background: var(--g3); } }
.rows h3 { font-size: var(--step-lead); font-weight: 500; line-height: 1.1; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 2px; transition: text-decoration-color 200ms ease; }
.rows a:hover h3 { text-decoration-color: var(--accent-hi); }
.rows p { font-size: var(--step-body); color: var(--g6); }
.rows ul { font-size: var(--step-body); color: var(--g6); }
.rows ul li + li { margin-top: 4px; }

/* how it works: accordion */
.how { padding: 0 var(--m); }
.how .introgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 0 10px; }
.how .introgrid h2 { grid-column: 1 / 6; }
.how .introgrid p { grid-column: 7 / 12; font-size: var(--step-body); }
.accordion { display: flex; height: 540px; margin-top: 64px; border-radius: var(--r); overflow: hidden; }
.stagep {
  position: relative; flex: 0.6 1 0; min-width: 0; overflow: hidden;
  transition: flex-grow 450ms var(--ease-out);
  color: var(--bg);
}
.stagep:nth-child(1) { background: var(--g1); }
.stagep:nth-child(2) { background: var(--g3); }
.stagep:nth-child(3) { background: var(--g4); }
.stagep:nth-child(4) { background: var(--g5); color: var(--ink); }
.stagep.open { flex-grow: 4.2; }
.stagep > button {
  position: absolute; inset: 0; width: 100%; background: none; border: 0; color: inherit; font: inherit;
  cursor: pointer; text-align: left; padding: 0;
}
.stagep .vname {
  position: absolute; left: 22px; bottom: 22px;
  transform-origin: 0 100%; transform: translateX(1.1em) rotate(-90deg);
  font-size: var(--step-lead); font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
  transition: opacity 250ms ease;
}
.stagep.open .vname { opacity: 0; }
.stagep .body {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px;
  opacity: 0; visibility: hidden; transition: opacity 300ms ease 0ms, visibility 0s 300ms;
}
.stagep.open .body { opacity: 1; visibility: visible; transition: opacity 400ms ease 200ms, visibility 0s; }
.stagep .body .txt { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.stagep .body h3 { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.stagep .body p { max-width: 36ch; font-size: var(--step-body); }
.stagep .body ul { font-size: var(--step-body); margin-top: 12px; }
.stagep .body ul li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 10px; vertical-align: 2px; }
.stagep .body figure { margin: -28px -28px -28px 0; min-height: 0; }
.stagep .body figure img { width: 100%; height: 100%; object-fit: cover; }

/* about: wide photo, colour tile, facts */
.about { padding: 0 var(--m); }
.about .top { padding: 0 10px; }
.about .top p { max-width: 46ch; margin-top: 24px; font-size: var(--step-body); line-height: 1.35; }
.about .mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 72px; align-items: start; }
.about .wide { grid-column: 1 / 9; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); }
.about .wide img { width: 100%; height: 115%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.about .wide .over { position: absolute; top: 0; right: 0; width: 340px; background: var(--bg); border-bottom-left-radius: var(--r); padding: 20px; font-size: var(--step-body); }
.about .side { grid-column: 9 / 13; display: grid; gap: 16px; }
.clocks { background: var(--g7); border-radius: var(--r); padding: var(--pad); display: grid; gap: 14px; }
.clocks .zone { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.clocks .zone span { font-size: var(--step-body); }
.clocks time { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.clocks h3 { font-size: var(--step-body); font-weight: 500; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; font-size: var(--step-body); }
.facts dt { color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }

/* contact: pale field, photo strip, enquiry beside direct lines */
.contact { background: var(--g7); border-radius: var(--r); margin: var(--gap) var(--m) 0; padding: var(--pad) 0 var(--pad); }
.contact .strip { display: grid; grid-template-columns: 3fr 2fr 3fr 2.4fr 3fr 3fr; gap: 8px; padding: 0 var(--pad); }
.contact .strip img { height: clamp(180px, 16vw, 240px); width: 100%; object-fit: cover; border-radius: 0; transform: translate3d(0, var(--sy, 0px), 0); }
.contact .strip img:nth-child(even) { --sy: calc(var(--lift, 0px) * -1); }
.contact .strip img:nth-child(odd) { --sy: var(--lift, 0px); }
.contact .inner { padding: 0 var(--pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 56px; align-items: stretch; }
.contact .enquire { grid-column: 1 / 9; padding: 8px 0 16px; }
.contact .direct { grid-column: 9 / 13; background: var(--ink); color: var(--paper); border-radius: 0; padding: var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.contact .direct h3 { font-size: var(--step-lead); font-weight: 500; line-height: 1.1; }
.contact .direct ul { display: grid; gap: 18px; }
.contact .direct li span { display: block; font-size: var(--step-small); color: var(--g6); }
.contact .direct li a { font-size: var(--step-lead); font-weight: 500; text-decoration: none; color: var(--paper); overflow-wrap: anywhere; line-height: 1.25; transition: color 160ms ease; }
.contact .direct li a:hover { color: var(--accent-hi); }
.contact .sub { margin-top: 20px; max-width: 52ch; }
.form-notes { margin-top: 14px; font-size: var(--step-small); max-width: 60ch; }

/* forms */
.enq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 32px; }
.enq .wide { grid-column: 1 / -1; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: var(--step-small); font-weight: 500; }
.fld i { font-style: normal; font-weight: 400; opacity: 0.75; }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: var(--step-body); font-weight: 400; color: var(--ink);
  background: var(--paper); border: 0; border-radius: 0;
  padding: 14px 16px; min-height: 54px; width: 100%;
  transition: background-color 160ms ease;
}
.fld textarea { resize: vertical; min-height: 120px; line-height: 1.45; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--muted); opacity: 1; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { background: var(--paper); outline: 2px solid var(--ink); outline-offset: 0; }
.fld.file input { padding: 10px 12px; }
.fld.file input::file-selector-button {
  font: inherit; font-size: var(--step-small); font-weight: 500; margin-right: 14px; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 0; padding: 10px 18px;
}
.check { display: flex; align-items: flex-start; gap: 12px; font-size: var(--step-body); line-height: 1.4; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); }
.enq button[type="submit"] {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  font: inherit; font-size: var(--step-body); font-weight: 500; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 0; padding: 16px 28px; min-height: 56px;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.enq button[type="submit"] .arrow { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .enq button[type="submit"]:hover { background: var(--g3); } }
.enq button[type="submit"]:active { transform: scale(0.97); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* hidden spam trap, not a line; taste-skill-ignore */
.tile.paper .fld input, .tile.paper .fld select, .tile.paper .fld textarea { background: var(--surface); }

/* health check: sample report */
.hc { align-items: stretch; }
.hc-pitch { grid-column: 1 / 6; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.hc-pitch .lead { color: var(--ink); max-width: 30ch; }
.hc-pitch .btn { align-self: flex-start; }
.hc-report { grid-column: 6 / 13; }
.rep-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.rep-head b { font-size: var(--step-lead); font-weight: 500; line-height: 1.1; }
.rep-head span { font-size: var(--step-small); color: var(--muted); }
.rep table { width: 100%; border-collapse: collapse; font-size: var(--step-body); }
.rep th, .rep td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--surface); }
.rep thead th { font-size: var(--step-small); font-weight: 500; color: var(--muted); }
.rep tbody th { font-weight: 400; }
.rep td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.st { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; }
.st.ok { background: var(--g7); color: var(--g3); }
.st.rv { background: var(--accent-hi); color: var(--ink); }
.rep-foot { margin-top: 14px; font-size: var(--step-body); }
.hc-banner { grid-column: 1 / -1; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 24px; min-height: 140px; }
.hc-banner .lead { max-width: 60ch; }
.page-hero .p-title.hc-title { grid-column: 1 / 7; min-height: 0; }
.page-hero .hc-side { grid-column: 7 / 13; }
.hc-body { align-items: start; }
.hc-form { grid-column: 1 / 8; }
.hc-form h2, .hc-aside h2 { font-size: var(--step-lead); font-weight: 500; line-height: 1.1; }
.hc-aside { grid-column: 8 / 13; display: grid; gap: var(--gap); }
.hc-aside .tile { display: flex; flex-direction: column; gap: 16px; }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--accent-hi); }
.hc-aside .dark .small { color: var(--g6); }

/* how we engage: a staggered programme of bars */
.engage { padding: 0 var(--m); }
.engage .introgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 0 10px; }
.engage .introgrid h2 { grid-column: 1 / 6; }
.engage .introgrid p { grid-column: 7 / 12; font-size: var(--step-body); }
.ladder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: 56px; }
.ladder li { min-width: 0; }
.ladder .e1 { grid-column: 1 / 6; }
.ladder .e2 { grid-column: 3 / 9; }
.ladder .e3 { grid-column: 5 / 13; }
.ladder .e4 { grid-column: 2 / 10; }
.ladder .lbar { border-radius: var(--r); padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; }
.ladder .e1 .lbar { background: var(--g7); }
.ladder .e2 .lbar { background: var(--g6); }
.ladder .e3 .lbar { background: var(--g3); color: var(--paper); }
.ladder .e4 .lbar { background: var(--g1); color: var(--paper); }
.ladder h3 { font-size: var(--step-lead); font-weight: 500; line-height: 1.1; }
.ladder h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.ladder .lbar > p:not(.terms) { grid-column: 1; max-width: 58ch; }
.ladder .terms { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 500; white-space: nowrap; padding: 8px 16px; border-radius: 0; background: rgba(255, 255, 255, 0.55); color: var(--ink); }
.ladder .e3 .terms, .ladder .e4 .terms { background: var(--accent-hi); }

/* footer: navy close with the name at full width */
.site-foot { margin-top: clamp(96px, 10vw, 160px); background: var(--g1); color: var(--paper); padding: clamp(48px, 6vw, 96px) var(--m) 24px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.f-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 48px; }
.f-state { font-size: var(--step-lead); line-height: 1.3; max-width: 32ch; }
.site-foot .btn:hover { text-decoration: none; }
.f-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 40px 0; }
.f-cols h2 { font-size: var(--step-small); font-weight: 500; color: var(--g5); margin-bottom: 14px; }
.f-nav ul { columns: 2; column-gap: 32px; }
.f-nav li { break-inside: avoid; padding: 3px 0; }
.f-call a, .f-mail a { display: block; font-size: var(--step-body); font-weight: 500; padding: 3px 0; overflow-wrap: anywhere; }
.f-word { font-size: clamp(3rem, 15.5vw, 15rem); font-weight: 700; letter-spacing: -0.045em; line-height: 0.85; white-space: nowrap; margin-top: 32px; color: var(--paper); }
.f-word i { font-style: normal; color: var(--accent-hi); }
.f-credits { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 24px; font-size: var(--step-small); color: var(--g6); }
.f-credits a { color: var(--g6); }

/* ---------- inner pages ---------- */
.page-hero .p-title { grid-column: 1 / 9; min-height: 54svh; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.page-hero .p-title h1 { font-size: var(--step-display); }
.page-hero .p-title .lead { max-width: 40ch; font-size: var(--step-lead); }
.page-hero .p-photo { grid-column: 9 / 13; }
.page-hero .p-photo img { position: absolute; inset: 0; animation: drift 24s var(--ease-in-out) infinite alternate; }
.groups { grid-auto-flow: dense; }
.group { display: flex; flex-direction: column; gap: 18px; min-height: 220px; }
.group h2 { font-size: var(--step-lead); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.group > p { max-width: 46ch; }
.group ul { margin-top: auto; display: grid; gap: 6px; font-size: var(--step-body); }
.group ul li { display: flex; gap: 12px; align-items: baseline; }
.group ul li::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.group.dark ul li::before, .group.dark2 ul li::before { background: var(--accent-hi); }
.group:not(.dark):not(.dark2):not(.mid) ul li::before { background: var(--ink); }
.group.dark p, .group.dark2 p { color: var(--g6); }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-8 { grid-column: span 8; } .span-12 { grid-column: 1 / -1; } .span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; }
.closer { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.closer h2 { font-size: var(--step-head); }
.closer .lead { max-width: 40ch; }
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cycle .tile { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.cycle h3 { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.specials { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; min-height: 300px; }
.specials h2 { font-size: var(--step-head); }
.specials ul { display: grid; align-content: end; }
.specials li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-size: var(--step-lead); line-height: 1.15; text-decoration: none; }
.specials li a .arrow { width: 32px; height: 32px; color: var(--accent-hi); }
.specials li a:hover { color: var(--accent-hi); }
.credits-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.credits-list li { background: var(--paper); display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; }
.credits-list li img, .credits-list li video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.credits-list li p { padding: 16px 20px 20px; }
@media (max-width: 900px) { .credits-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .credits-list { grid-template-columns: 1fr; } }
.contact-cards .tile { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-cards .big { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; text-decoration: none; overflow-wrap: anywhere; }
.contact-cards a.big:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }

/* ---------- entrances ---------- */
.js [data-rise] { opacity: 0; transform: translate3d(0, 24px, 0); }
.js [data-rise].in {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .tb-nav { gap: 18px; }
  .tb-nav .navlink { font-size: var(--step-small); }
  .sectors { grid-template-columns: 1fr 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .f-nav { grid-column: 1 / -1; }
  .live .live-stage { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .live .live-head, .live .controls, .live .readout { grid-column: span 6; }
  .live .live-head { grid-row: 1; grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split .cell { min-height: 60svh; }
  .about .wide { grid-column: 1 / -1; }
  .about .side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .about .side .clocks { order: -1; }
  .page-hero .p-title { grid-column: 1 / -1; min-height: 0; }
  .page-hero .p-photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .span-4, .span-3 { grid-column: span 6; }
  .span-5, .span-7, .span-8 { grid-column: 1 / -1; }
  .contact-cards .span-4 { grid-column: 1 / -1; min-height: 180px; }
  .contact .enquire, .contact .direct { grid-column: 1 / -1; }
  .hc-pitch, .hc-report, .page-hero .p-title.hc-title, .page-hero .hc-side, .hc-form, .hc-aside { grid-column: 1 / -1; }
  .ladder .e1, .ladder .e2, .ladder .e3, .ladder .e4 { grid-column: 1 / -1; }
  .engage .introgrid h2, .engage .introgrid p { grid-column: 1 / -1; }
  .specials { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .gap-xl { margin-top: 96px; }
  .gap-l { margin-top: 64px; }
  .topbar { flex-wrap: wrap; min-height: 68px; gap: 0; }
  .topbar .wordmark { font-size: 1.25rem; min-height: 68px; }
  .topbar .wordmark img { width: 34px; height: 34px; }
  .tb-nav { flex-basis: 100%; gap: 18px; overflow-x: auto; white-space: nowrap; margin: 0 calc(-1 * var(--m)); padding: 0 var(--m) 10px; scrollbar-width: none; }
  .tb-nav::-webkit-scrollbar { display: none; }
  .tb-nav .navlink { font-size: var(--step-body); padding: 10px 0; flex: none; }
  .tb-nav .tb-cta { position: absolute; top: 14px; right: var(--m); padding: 10px 16px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero .hero-img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
  .home-hero .hero-img { display: none; }
  .hero-2d { display: block; width: 100%; height: auto; aspect-ratio: 37 / 15; }
  .hero-panel, .page-banner .hero-panel { margin: 0; width: 100%; padding: 32px var(--m) 40px; }
  .home-hero .hero-row { flex-direction: column; width: 100%; margin: 0; }
  .home-hero .hero-panel { flex: none; }
  .sectors { padding: 40px var(--m); gap: 28px 20px; }
  :root { --gap: 12px; }
  .board { padding: 0 var(--m); }
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .intro .lead, .intro .who, .intro .what { grid-column: 1; }
  .intro .lead { font-size: var(--step-lead); }
  .intro .what { margin-top: 8px; }
  .live .live-head, .live .controls, .live .readout { grid-column: 1 / -1; }
  .live .live-stage { min-height: 0; }
  .live .live-stage .stage { aspect-ratio: 4 / 3.4; flex: none; }
  .split { padding: 0 var(--m); gap: 6px; }
  .split .cell { min-height: 0; padding: 28px 24px; gap: 40px; }
  .split .cell .foot { flex-direction: column; align-items: flex-start; }
  .zig { font-size: var(--step-head); }
  .rows a { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .rows ul { display: flex; flex-wrap: wrap; }
  .rows ul li + li { margin-top: 0; }
  .rows ul li:not(:last-child)::after { content: ","; margin-right: 0.35em; }
  .how { padding: 0 var(--m); }
  .how .introgrid { grid-template-columns: 1fr; gap: 20px; padding: 0 12px; }
  .how .introgrid h2, .how .introgrid p { grid-column: 1; }
  .accordion { flex-direction: column; height: auto; margin-top: 40px; }
  .stagep { flex: none; min-height: 64px; }
  .stagep > button { position: relative; height: 64px; display: block; }
  .stagep .vname { transform: none; left: 20px; bottom: auto; top: 50%; translate: 0 -50%; font-size: var(--step-body); }
  .stagep.open .vname { opacity: 1; }
  .stagep .body { position: relative; inset: auto; grid-template-columns: 1fr; display: none; padding: 0 20px 24px; }
  .stagep.open .body { display: grid; }
  .stagep .body h3 { display: none; }
  .stagep .body p { font-size: var(--step-body); }
  .stagep .body figure { margin: 8px 0 0; aspect-ratio: 3 / 2; }
  .about { padding: 0 var(--m); }
  .about .top { padding: 0 12px; }
  .about .top p { font-size: var(--step-body); }
  .about .mosaic { margin-top: 40px; gap: 12px; }
  .about .wide { aspect-ratio: auto; overflow: visible; }
  .about .wide img { aspect-ratio: 4 / 3; height: auto; transform: none; }
  .about .wide .over { position: static; width: auto; padding: 16px 12px 0; }
  .about .side { grid-template-columns: 1fr; }
  .clocks { aspect-ratio: 3 / 2; }
  .facts { padding: 0 12px; }
  .contact { margin: var(--gap) var(--m) 0; padding: 16px 0 16px; }
  .contact .strip { padding: 0 16px; grid-template-columns: 3fr 2fr 3fr; }
  .contact .strip img { height: 120px; transform: none; }
  .contact .strip img:nth-child(n+4) { display: none; }
  .contact .inner { padding: 0 16px; grid-template-columns: 1fr; margin-top: 32px; }
  .contact .enquire, .contact .direct { grid-column: 1; }
  .enq { grid-template-columns: 1fr; }
  .enq button[type="submit"] { justify-self: stretch; justify-content: center; }
  .engage { padding: 0 var(--m); }
  .engage .introgrid { padding: 0 12px; grid-template-columns: 1fr; gap: 20px; }
  .ladder { margin-top: 32px; }
  .ladder .lbar { grid-template-columns: 1fr; padding: 20px; }
  .ladder .terms { grid-column: 1; grid-row: auto; justify-self: start; white-space: normal; }
  .hc-banner { flex-direction: column !important; align-items: flex-start; }
  .rep th, .rep td { padding: 9px 4px; }
  .rep thead th:nth-child(3), .rep tbody td:nth-child(3) { display: none; }

  .span-4, .span-3, .span-6 { grid-column: 1 / -1; }
  .group { min-height: 0; }
  .cycle { grid-template-columns: 1fr 1fr; gap: 6px; }
  .cycle .tile { min-height: 200px; padding: 20px; }
}
@media (max-width: 520px) {
  .sectors, .f-cols { grid-template-columns: 1fr; }
  .f-nav ul { columns: 1; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 2px 0 20px 44px; }
  .steps li::after { left: 13px; right: auto; top: 28px; bottom: 0; width: 2px; height: auto; }
  .intro .lead { font-size: var(--step-body); font-weight: 500; }
  .tb-nav { gap: 14px; }
  .tb-nav .navlink { font-size: var(--step-small); }
  .acts { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .js [data-rise].in { transition: opacity 300ms ease; }
  .bar, .flag, .plane .floatbar, .stage .plane { transition-duration: 0ms !important; }
  .stagep { transition: none; }
}
.hc-banner-text { font-size: var(--step-lead); line-height: 1.25; max-width: 56ch; }
@media (max-width: 900px) { .hc-banner-text { font-size: var(--step-body); } }
