/* =========================================================
   StandOut Search
   Fluid system: every size scales with the window between a
   floor and a ceiling (clamp). Breakpoints: 1024 / 768 / 640,
   plus large-screen steps at 1920 and 2400.
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand colours (fixed, from the StandOut brand guide) */
  --ink: #080A0C;
  --sea: #3CB6C0;
  --paper: #FFFFFF;

  /* Supporting neutrals */
  --mist: #F2F6F7;
  --mist-2: #E6EEF0;
  --muted: #4A5157;
  --line: rgba(8, 10, 12, 0.12);
  --line-strong: rgba(8, 10, 12, 0.24);
  --line-dark: rgba(255, 255, 255, 0.14);
  --on-ink-muted: rgba(255, 255, 255, 0.66);
  --error: #B42318;

  /* Fluid type */
  --fs-hero: clamp(2.6rem, 6.4vw, 7.4rem);
  --fs-h1: clamp(2.3rem, 4.7vw, 5.3rem);
  --fs-h2: clamp(1.8rem, 3.3vw, 3.6rem);
  --fs-h3: clamp(1.2rem, 1.6vw, 1.75rem);
  --fs-lead: clamp(1.1rem, 1.35vw, 1.45rem);
  --fs-body: clamp(1rem, 1.05vw, 1.15rem);
  --fs-small: clamp(0.8rem, 0.85vw, 0.92rem);
  --fs-eyebrow: clamp(0.72rem, 0.78vw, 0.85rem);
  --fs-logo: clamp(1.35rem, 1.7vw, 1.8rem);

  /* Fluid space */
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --section: clamp(5rem, 10vw, 11rem);
  --gap: clamp(1rem, 2.2vw, 2.5rem);
  --maxw: 1600px;
  --measure: 64ch;
  --nav-h: clamp(4.5rem, 6vw, 6rem);

  --radius: clamp(14px, 1.2vw, 22px);
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
}

/* Large screens: a deliberate step up rather than empty space */
@media (min-width: 1920px) {
  html { font-size: 18px; }
  :root { --maxw: 1760px; }
}
@media (min-width: 2400px) {
  html { font-size: 20px; }
  :root { --maxw: 1960px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sea); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--ink); color: var(--paper); padding: 0.7rem 1rem; border-radius: 8px;
  text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: clamp(1rem, 1.6vw, 1.6rem);
}
.eyebrow::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--sea); }
.section--ink .eyebrow { color: var(--on-ink-muted); }

.h-hero { font-size: var(--fs-hero); letter-spacing: -0.045em; line-height: 0.94; }
.h1 { font-size: var(--fs-h1); letter-spacing: -0.04em; line-height: 0.96; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.035em; line-height: 1; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; max-width: 40ch; }
.muted { color: var(--muted); }
.section--ink .muted { color: var(--on-ink-muted); }
.measure { max-width: var(--measure); }

/* Sea Blue never carries small text on white (contrast). It is used
   as a fill behind ink, as a mark, or as text on ink. */
/* Highlighted word: the ink sweeps to Sea Blue, echoing "Out" in the logo */
.hl {
  white-space: nowrap; color: var(--ink);
  background-image: linear-gradient(90deg, var(--sea) 0 50%, var(--ink) 50% 100%);
  background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position 1.2s 0.6s var(--ease);
}
.is-in .hl, .hl.is-in { background-position: 0 0; }
.section--ink .accent { color: var(--sea); }

/* Placeholder content waiting for Danielle */
.ph {
  background: repeating-linear-gradient(-45deg, rgba(60,182,192,0.16) 0 6px, rgba(60,182,192,0.08) 6px 12px);
  outline: 1px dashed rgba(8,10,12,0.35); outline-offset: 1px; border-radius: 3px; padding: 0 0.2em;
}
.section--ink .ph { outline-color: rgba(255,255,255,0.4); }

/* ---------- Logo (live Manrope, per the brand SVG) ---------- */
.logo {
  display: inline-grid; justify-items: start; text-decoration: none; line-height: 0.9;
  font-size: var(--fs-logo); color: var(--ink);
}
.logo__mark { font-weight: 800; letter-spacing: -0.035em; }
.logo__mark b { color: var(--sea); font-weight: 800; }
.logo__desc { justify-self: end; font-weight: 600; font-size: 0.5em; letter-spacing: 0.02em; margin-top: 0.18em; }
.logo--dark { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 3.25rem; padding: 0.95em 1.6em; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: var(--fs-body);
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease), transform 0.4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sea); transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn--sea { --bg: var(--sea); --fg: var(--ink); }
.btn--sea::before { background: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost-light { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn--sm { min-height: 2.6rem; padding: 0.6em 1.2em; font-size: var(--fs-small); }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover { color: var(--ink); }
  .btn--sea:hover { color: var(--paper); }
  .btn--ghost-light:hover { color: var(--ink); }
  .btn:hover .arrow { transform: translateX(0.25em); }
}
.btn:active { transform: scale(0.98); }

.arrow { width: 1em; height: 1em; flex: none; }

.link {
  font-weight: 700; text-decoration: none; background-image: linear-gradient(var(--sea), var(--sea));
  background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 0.4s var(--ease);
}
@media (hover: hover) { .link:hover { background-size: 100% 40%; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line);
  height: calc(var(--nav-h) * 0.82);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; top: 10px; }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.8rem); list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: 0.01em; padding: 0.4em 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sea);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; } }

.burger {
  display: none; position: relative; z-index: 1001; width: 3rem; height: 3rem; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer; padding: 0;
}
.burger span {
  position: absolute; left: 50%; width: 1.1rem; height: 2px; background: var(--paper); margin-left: -0.55rem;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: calc(50% - 4px); }
.burger span:nth-child(2) { top: calc(50% + 3px); }
.menu-open .burger { background: var(--sea); }
.menu-open .burger span { background: var(--ink); top: calc(50% - 1px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 950; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto; overscroll-behavior-y: contain;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
.menu-open .nav .logo { color: var(--paper); }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.menu li a {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.45em 0; text-decoration: none;
  font-weight: 800; font-size: clamp(2.2rem, 8.5vw, 4.5rem); letter-spacing: -0.04em; line-height: 1;
  transform: translateY(105%); transition: transform 0.7s var(--ease), color 0.3s;
}
.menu li a::before { counter-increment: m; content: "0" counter(m); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--sea); }
.menu-open .menu li a { transform: none; }
.menu li:nth-child(2) a { transition-delay: 0.05s; }
.menu li:nth-child(3) a { transition-delay: 0.1s; }
.menu li:nth-child(4) a { transition-delay: 0.15s; }
.menu li:nth-child(5) a { transition-delay: 0.2s; }
.menu li:nth-child(6) a { transition-delay: 0.25s; }
.menu li a[aria-current="page"], .menu li a:hover { color: var(--sea); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; color: var(--on-ink-muted); font-size: var(--fs-small); }
.menu__foot a { text-decoration: none; color: var(--paper); }
.menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .burger { display: block; }
}

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary, html.has-cursor [data-cursor] { cursor: none; }
  html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
  html.has-cursor .cursor, html.has-cursor .cursor-dot { display: block; }
  .cursor-dot {
    position: fixed; left: 0; top: 0; z-index: 3000; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
    background: var(--ink); pointer-events: none; transition: opacity 0.2s, background 0.3s, scale 0.3s var(--ease);
  }
  .cursor {
    position: fixed; left: 0; top: 0; z-index: 2999; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
    border: 1.5px solid rgba(8,10,12,0.4); pointer-events: none; display: grid; place-items: center;
    transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.35s, border-color 0.35s, opacity 0.3s;
  }
  .cursor__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.25s; white-space: nowrap; }
  .cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(60,182,192,0.22); border-color: var(--sea); }
  .cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--sea); border-color: var(--sea); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label + .cursor-dot, .cursor.is-text + .cursor-dot { opacity: 0; }
  .cursor.is-text { opacity: 0; }
  .cursor.is-down { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .cursor.on-dark { border-color: rgba(255,255,255,0.5); }
  .cursor.on-dark + .cursor-dot { background: var(--paper); }
  .cursor.is-hidden, .cursor.is-hidden + .cursor-dot { opacity: 0; }
}

/* ---------- Page transition ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 2500; background: var(--ink); pointer-events: none;
  display: grid; place-items: center; transform: translateY(-101%);
}
html.js .curtain { transform: translateY(0); animation: curtainSafety 0.6s var(--ease) 2.5s forwards; }
@keyframes curtainSafety { to { transform: translateY(-101%); } }
.curtain .logo { color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.6rem); opacity: 0; }
html.js.is-ready .curtain { transform: translateY(-101%); animation: none; transition: transform 0.85s var(--ease) 0.05s; }
html.js.is-leaving .curtain { transform: translateY(0); animation: none; transition: transform 0.5s var(--ease-in); }
html.is-leaving .curtain .logo { opacity: 1; transition: opacity 0.3s 0.2s; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.24em; margin-bottom: -0.24em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 0.06s + 0.15s); }
.split.is-in .w > span { transform: none; }
html.no-js [data-reveal] { opacity: 1; transform: none; }
html.no-js .split .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + clamp(2rem, 6vh, 5rem)) 0 clamp(2.5rem, 6vh, 5rem); overflow: hidden;
}
.hero__ring {
  position: absolute; z-index: -1; top: 50%; right: -12vw; width: min(78vw, 1200px); aspect-ratio: 1;
  border-radius: 50%; border: clamp(28px, 6vw, 110px) solid var(--sea); opacity: 0.95;
  transform: translate3d(var(--rx, 0), calc(-58% + var(--ry, 0px)), 0);
  transition: transform 1.2s var(--ease);
}
.hero__ring::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1.5px solid var(--line-strong);
}
.hero h1 { max-width: 13ch; margin-bottom: clamp(1.5rem, 3vw, 3rem); }
.hero__sub { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(2.5rem, 5vw, 5rem); }
.door {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  min-height: clamp(11rem, 18vw, 17rem); padding: clamp(1.4rem, 2.4vw, 2.6rem);
  border-radius: var(--radius); text-decoration: none; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-strong); overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease), box-shadow 0.5s;
}
.door::before {
  content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 100%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%) scale(0);
  transition: transform 0.8s var(--ease);
}
.door--sea::before { background: var(--sea); }
.door__label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 0.4s; }
.door__title { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; font-size: clamp(1.6rem, 2.8vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.door__title .arrow { width: clamp(1.6rem, 2.6vw, 2.6rem); height: auto; transition: transform 0.5s var(--ease); }
@media (hover: hover) {
  .door:hover { box-shadow: inset 0 0 0 1.5px transparent; color: var(--paper); }
  .door--sea:hover { color: var(--ink); }
  .door:hover::before { transform: translate(-50%, -50%) scale(220); }
  .door:hover .door__label { color: inherit; }
  .door:hover .door__title .arrow { transform: translate(0.2em, -0.2em) rotate(-45deg); }
}

/* Inner page hero */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(4rem, 12vh, 9rem)) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: clamp(1.4rem, 2.5vw, 2.5rem); }
.page-hero__dot {
  position: absolute; z-index: -1; right: calc(var(--gutter) * -0.5); top: calc(var(--nav-h) + 2rem);
  width: clamp(9rem, 26vw, 30rem); aspect-ratio: 1; border-radius: 50%; border: clamp(18px, 3vw, 52px) solid var(--sea);
}

/* ---------- Statement ---------- */
.statement { font-size: clamp(1.6rem, 3.3vw, 3.7rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; max-width: 22ch; }
.statement .faint { color: rgba(8,10,12,0.28); }
.section--ink .statement .faint { color: rgba(255,255,255,0.32); }

/* ---------- Grids ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap) clamp(2rem, 6vw, 8rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap) clamp(2rem, 6vw, 8rem); }

.card {
  padding: clamp(1.5rem, 2.4vw, 2.6rem); border-radius: var(--radius); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 1rem;
}
.section--mist .card { box-shadow: none; }
.card__num { font-size: var(--fs-small); font-weight: 700; color: var(--muted); letter-spacing: 0.1em; }
.card__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sea); display: grid; place-items: center; }
.card__icon svg { width: 1.3rem; height: 1.3rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li {
  display: grid; grid-template-columns: clamp(3rem, 8vw, 9rem) minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--gap);
  padding-block: clamp(1.4rem, 2.6vw, 2.6rem); border-bottom: 1px solid var(--line); align-items: baseline;
  position: relative;
}
.steps li::before {
  counter-increment: s; content: "0" counter(s);
  font-weight: 800; font-size: clamp(1rem, 1.4vw, 1.4rem); color: var(--muted);
}
.steps h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; }
.steps p { color: var(--muted); max-width: 52ch; }
.section--ink .steps, .section--ink .steps li { border-color: var(--line-dark); }
.section--ink .steps li::before { color: var(--sea); }
.section--ink .steps p { color: var(--on-ink-muted); }

/* Tabs */
.tabs { display: inline-flex; padding: 0.35rem; border-radius: 999px; background: var(--mist-2); margin-bottom: clamp(2rem, 4vw, 3.5rem); position: relative; }
.tabs button {
  position: relative; z-index: 1; border: 0; background: none; padding: 0.75em 1.4em; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-small); cursor: pointer; transition: color 0.3s;
}
.tabs button[aria-selected="true"] { color: var(--paper); }
.tabs__pill { position: absolute; z-index: 0; top: 0.35rem; bottom: 0.35rem; left: 0; border-radius: 999px; background: var(--ink); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
[role="tabpanel"][hidden] { display: none; }

/* Specialisms */
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.chip {
  background: var(--paper); padding: clamp(1.5rem, 2.6vw, 2.8rem); min-height: clamp(9rem, 13vw, 14rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; position: relative; overflow: hidden;
}
.chip h3 { font-size: clamp(1.25rem, 1.8vw, 1.9rem); font-weight: 700; letter-spacing: -0.025em; }
.chip span { font-size: var(--fs-small); color: var(--muted); }
.chip::after { content: ""; position: absolute; right: -2.5rem; bottom: -2.5rem; width: 6rem; height: 6rem; border-radius: 50%; border: 14px solid var(--sea); transform: scale(0); transition: transform 0.6s var(--ease); }
@media (hover: hover) { .chip:hover::after { transform: scale(1); } }

/* Quote */
.quote { font-size: clamp(1.4rem, 2.5vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; max-width: 26ch; margin: 0; }
.quote::before { content: "\201C"; display: block; font-size: 2.4em; line-height: 0.6; color: var(--sea); margin-bottom: 0.15em; font-weight: 800; }
.quote-by { margin-top: 2rem; font-size: var(--fs-small); color: var(--muted); }
.quote-by strong { color: var(--ink); display: block; font-size: var(--fs-body); }

/* CTA band */
.cta { position: relative; overflow: hidden; }
.cta__ring { position: absolute; left: -22vw; bottom: -54vw; width: 70vw; aspect-ratio: 1; border-radius: 50%; border: clamp(24px, 5vw, 90px) solid var(--sea); opacity: 0.9; pointer-events: none; }
.cta__inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); align-items: end; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: clamp(1.2rem, 2vw, 1.8rem); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  position: relative; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background 0.3s, box-shadow 0.3s;
}
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.85rem; height: 2px; margin: -1px 0 0 -0.425rem; background: currentColor; transition: transform 0.4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--sea); box-shadow: none; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .faq__body { padding-bottom: clamp(1.2rem, 2vw, 1.8rem); color: var(--muted); max-width: 64ch; }

/* About */
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--mist); overflow: hidden; position: relative;
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: var(--fs-small);
}
.portrait::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: clamp(16px, 2.4vw, 34px) solid var(--sea); opacity: 0.5; }
.portrait span { position: relative; padding: 1rem; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Prose (legal pages) */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.35rem, 1.9vw, 1.9rem); letter-spacing: -0.02em; margin: 2.6em 0 0.8em; scroll-margin-top: calc(var(--nav-h) + 1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-body); font-weight: 700; letter-spacing: 0; margin: 1.8em 0 0.5em; line-height: 1.4; }
.prose p, .prose li { color: #2A3036; }
.prose ul { padding-left: 1.2em; }
.prose a { font-weight: 600; text-decoration-color: var(--sea); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal { display: grid; grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 8rem); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); font-size: var(--fs-small); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 0.4em 0 0.4em 1em; text-decoration: none; color: var(--muted); margin-left: -1px; border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--sea); }
.notice-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; font-size: var(--fs-small); color: var(--muted); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 8rem); align-items: start; }
.form-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.progress { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.25rem; }
.progress li { display: flex; align-items: center; gap: 0.9rem; padding: 0.55rem 0; color: var(--muted); font-weight: 600; font-size: var(--fs-small); transition: color 0.3s; }
.progress li b {
  flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 0.8rem; transition: background 0.3s, box-shadow 0.3s, color 0.3s;
}
.progress li.is-current { color: var(--ink); }
.progress li.is-current b { background: var(--ink); color: var(--paper); box-shadow: none; }
.progress li.is-done b { background: var(--sea); color: var(--ink); box-shadow: none; }
.progress-bar { height: 4px; border-radius: 4px; background: var(--mist-2); overflow: hidden; margin-bottom: 1.5rem; display: none; }
.progress-bar i { display: block; height: 100%; width: var(--p, 20%); background: var(--sea); transition: width 0.6s var(--ease); }
.form-aside .note { font-size: var(--fs-small); color: var(--muted); padding: 1.2rem; border-radius: var(--radius-sm); background: var(--mist); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step.is-entering { animation: stepIn 0.6s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.step legend { padding: 0; margin-bottom: 0.4rem; font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.step__intro { color: var(--muted); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 56ch; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.1rem, 1.8vw, 1.6rem) var(--gap); }
.field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > .label { font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.01em; }
.opt { font-weight: 500; color: var(--muted); }
.req { color: var(--ink); }
.hint { font-size: var(--fs-small); color: var(--muted); margin: -0.2rem 0 0.1rem; }

.input, .select, .textarea {
  width: 100%; min-height: 3.35rem; padding: 0.85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong);
  background: var(--paper); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none;
}
.textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23080A0C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: rgba(8,10,12,0.45); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(60,182,192,0.35); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.err { display: none; color: var(--error); font-size: var(--fs-small); font-weight: 600; }
.field.has-error .err, .group.has-error .err { display: block; }

.group { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.group legend { padding: 0; font-weight: 700; font-size: var(--fs-small); margin-bottom: 0.6rem; }
.options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span {
  display: inline-flex; align-items: center; gap: 0.55em; min-height: 2.9rem; padding: 0.6rem 1.05rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); font-weight: 600; font-size: var(--fs-small); cursor: pointer; user-select: none;
  transition: background 0.25s, box-shadow 0.25s, color 0.25s;
}
.option span::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background 0.25s, box-shadow 0.25s; }
.option input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.option input:checked + span::before { background: var(--sea); box-shadow: none; }
.option input:focus-visible + span { outline: 3px solid var(--sea); outline-offset: 2px; }
@media (hover: hover) { .option span:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.group.has-error .option span { box-shadow: inset 0 0 0 1.5px var(--error); }

.check { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--mist); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 1.4rem; height: 1.4rem; margin: 0.1rem 0 0; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.check input::after { content: ""; width: 0.4rem; height: 0.72rem; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform 0.25s var(--ease); }
.check input:checked { background: var(--sea); border-color: var(--sea); }
.check input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.check span { font-size: var(--fs-small); line-height: 1.55; }
.check a { font-weight: 700; }
.check.has-error { box-shadow: inset 0 0 0 1.5px var(--error); }
.checks { display: grid; gap: 0.7rem; }

.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.5rem;
  padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius); border: 1.5px dashed var(--line-strong); background: var(--mist);
  transition: border-color 0.25s, background 0.25s;
}
.drop.is-over { border-color: var(--ink); background: rgba(60,182,192,0.16); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop__icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--sea); display: grid; place-items: center; margin-bottom: 0.3rem; }
.drop__icon svg { width: 1.3rem; height: 1.3rem; }
.drop strong { font-size: var(--fs-body); }
.drop small { color: var(--muted); font-size: var(--fs-small); }
.drop__file { display: none; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-small); font-weight: 600; }
.drop.has-file .drop__file { display: inline-flex; }
.drop.has-file .drop__prompt { display: none; }
.drop__file button { position: relative; z-index: 2; border: 0; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.75rem; font-weight: 700; cursor: pointer; }

.reveal-if[hidden] { display: none; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.form-status { font-size: var(--fs-small); color: var(--muted); }

.summary { display: grid; gap: 0.8rem; margin-bottom: 2rem; }
.summary section { padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--line); }
.summary header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
.summary h3 { font-size: var(--fs-body); font-weight: 800; letter-spacing: -0.01em; }
.summary button { border: 0; background: none; font-weight: 700; font-size: var(--fs-small); text-decoration: underline; text-decoration-color: var(--sea); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; padding: 0.3rem; }
.summary dl { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr; gap: 0.35rem 1rem; margin: 0; font-size: var(--fs-small); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.banner { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--ink); color: var(--paper); font-size: var(--fs-small); margin-top: 1rem; }
.banner[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list span { font-size: var(--fs-small); color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(4rem, 8vw, 8rem) 0 2rem; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-bottom: clamp(3rem, 6vw, 6rem); }
.footer .logo { font-size: clamp(2rem, 3.4vw, 3.6rem); }
.footer__tag { margin-top: 1.5rem; color: var(--on-ink-muted); max-width: 30ch; }
.footer h4 { font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); font-weight: 700; margin-bottom: 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer ul a { text-decoration: none; font-weight: 600; transition: color 0.2s; }
.footer ul a:hover { color: var(--sea); }
.footer__rot {
  display: flex; align-items: baseline; gap: 0.22em; flex-wrap: nowrap; margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-size: clamp(2.6rem, 8.5vw, 8.5rem); white-space: nowrap; user-select: none;
}
.rot { position: relative; display: inline-block; height: 1.12em; overflow: hidden; vertical-align: bottom; color: var(--sea);
  transition: width 0.7s var(--ease); }
.rot__track { display: block; }
.rot__w { display: block; height: 1.12em; line-height: 1.12em; padding-right: 0.06em; opacity: 0;
  transform: translateY(100%); transition: transform 0.7s var(--ease), opacity 0.5s; position: absolute; left: 0; top: 0; white-space: nowrap; }
.rot__w.is-on { opacity: 1; transform: none; position: relative; }
.rot__w.is-out { opacity: 0; transform: translateY(-100%); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.78rem; color: var(--on-ink-muted); line-height: 1.6; }
.footer__legal p { max-width: 80ch; margin: 0; }
.footer__legal nav { display: flex; gap: 1.5rem; }
.footer__legal a { text-decoration: none; color: var(--paper); }

/* ---------- Tablet: 769-1024 ---------- */
@media (max-width: 1024px) {
  .split-head { grid-template-columns: 1fr; align-items: start; }
  .steps li { grid-template-columns: clamp(3rem, 8vw, 6rem) minmax(0, 1fr); }
  .steps li p { grid-column: 2; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .legal, .form-shell { grid-template-columns: 1fr; }
  .toc, .form-aside { position: static; }
  .toc { display: none; }
  .progress { display: none; }
  .progress-bar { display: block; }
  .form-aside .note { margin-bottom: 1rem; }
  .hero__ring { right: -24vw; width: 90vw; }
}

/* ---------- iPad portrait / large phone ---------- */
@media (max-width: 768px) {
  .chips { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero__ring { top: auto; bottom: -22vw; right: -38vw; width: 96vw; border-width: 22px; transform: translate3d(0,0,0); }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .cols-3, .chips { grid-template-columns: 1fr; }
  .chip { min-height: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .summary dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .summary dd { margin-bottom: 0.5rem; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .form-nav { flex-wrap: wrap; }
  .form-nav .btn { flex: 1 1 auto; }
  .form-status { order: -1; width: 100%; }
  .page-hero__dot { top: calc(var(--nav-h) + 0.5rem); right: -4rem; }
  .menu li a { font-size: clamp(2rem, 11vw, 3rem); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__ring { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  [data-reveal], .split .w > span { opacity: 1; transform: none; }
}

/* ---------- Photos ---------- */
.media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.media.is-in img { transform: scale(1); }
.media--band { aspect-ratio: 21 / 9; }
.media--hero { aspect-ratio: 4 / 5; }
.media__ring {
  position: absolute; z-index: 1; right: -3.5rem; bottom: -3.5rem; width: clamp(7rem, 12vw, 13rem); aspect-ratio: 1; border-radius: 50%;
  border: clamp(14px, 1.8vw, 28px) solid var(--sea); pointer-events: none;
  transform: scale(0.4); opacity: 0; transition: transform 1.1s 0.4s var(--ease), opacity 0.6s 0.4s;
}
.media.is-in .media__ring { transform: scale(1); opacity: 1; }
.photo-band { padding-bottom: var(--section); }
.page-hero--media { padding-bottom: clamp(3rem, 6vw, 6rem); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 8rem); align-items: end; }
.page-hero--media h1 { max-width: 12ch; }
@media (max-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .media--hero { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .media--band { aspect-ratio: 4 / 3; }
  .media--hero { aspect-ratio: 4 / 3; }
  .media__ring { right: -2.5rem; bottom: -2.5rem; }
}

/* ---------- Validation: glow, shake, valid state ---------- */
.field.has-error .input, .field.has-error .select, .field.has-error .textarea {
  border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.16), 0 0 18px rgba(180, 35, 24, 0.22);
  background-color: #FFF8F7;
}
.field.has-error .input:focus, .field.has-error .select:focus, .field.has-error .textarea:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.28); }
.group.has-error .options { border-radius: 999px; }
.group.has-error .option span { box-shadow: inset 0 0 0 1.5px var(--error), 0 0 12px rgba(180, 35, 24, 0.18); }
.check.has-error { box-shadow: inset 0 0 0 1.5px var(--error), 0 0 16px rgba(180, 35, 24, 0.18); background: #FFF8F7; }
.field.has-error .drop { border-color: var(--error); background: #FFF8F7; }
.err::before { content: "! "; font-weight: 800; }
.shake { animation: shake 0.45s var(--ease); }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

.field.is-valid .input { border-color: var(--sea); padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23080A0C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; }

.suggest { display: none; font-size: var(--fs-small); font-weight: 600; }
.suggest.is-on { display: block; }
.suggest button { border: 0; background: none; padding: 0; font-weight: 800; text-decoration: underline; text-decoration-color: var(--sea); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }

.err-summary {
  display: none; margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: #FFF8F7;
  box-shadow: inset 0 0 0 1.5px var(--error); color: var(--error); font-weight: 700; font-size: var(--fs-small);
}
.err-summary.is-on { display: block; }
@media (prefers-reduced-motion: reduce) { .shake { animation: none; } .media img { transform: none; } }

/* Cut-out portrait on a Sea Blue disc */
.media--cutout { background: none; border-radius: 0; overflow: visible; aspect-ratio: 1 / 1.2; width: min(100%, 34rem); justify-self: end;
  clip-path: inset(-20% -20% 0 -20% round 0 0 50% 50% / 0 0 41.667% 41.667%); }
.media--cutout::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: var(--sea); z-index: -1;
  transform: scale(0.55); opacity: 0; transition: transform 1.2s var(--ease), opacity 0.6s;
}
.media--cutout.is-in::before { transform: none; opacity: 1; }
.media--cutout img { position: absolute; bottom: 0; left: 50%; width: auto; height: 100%; object-fit: contain; transform: translate(-50%, 8%); opacity: 0;
  transition: transform 1.3s 0.25s var(--ease), opacity 0.8s 0.25s; }
.media--cutout.is-in img { transform: translate(-50%, 0); opacity: 1; }

/* Where we recruit: photo beside stacked specialisms */
.recruit-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--gap); align-items: stretch; }
.media--tall { aspect-ratio: auto; min-height: 100%; }
.media--tall img { position: absolute; inset: 0; }
.chips--stack { grid-template-columns: 1fr; }
.chips--stack .chip { min-height: 0; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 2rem; }
.chips--stack .chip span { max-width: 26ch; text-align: right; }
@media (max-width: 1024px) {
  .media--cutout { justify-self: center; width: min(100%, 26rem); }
  .recruit-grid { grid-template-columns: 1fr; }
  .media--tall { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 640px) {
  .chips--stack .chip { flex-direction: column; gap: 0.6rem; }
  .chips--stack .chip span { text-align: left; }
  .media--tall { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .media--cutout::before, .media--cutout img { opacity: 1; transform: none; } .media--cutout img { transform: translateX(-50%); } }
.media--hero { aspect-ratio: 5 / 4; max-height: min(68vh, 46rem); width: 100%; }
@media (max-width: 1024px) { .media--hero { aspect-ratio: 16 / 10; max-height: none; } }
@media (max-width: 640px) { .media--hero { aspect-ratio: 4 / 3; } }

/* =========================================================
   Refinements, round 2
   ========================================================= */

/* Nav: a Sea Blue pill slides in behind the link you are on or over */
.nav__links { gap: clamp(0.2rem, 0.8vw, 0.9rem); }
.nav__links a:not(.btn) { padding: 0.55em 1em; border-radius: 999px; isolation: isolate; transition: color 0.3s; }
.nav__links a:not(.btn)::after {
  left: 0; right: 0; top: 0; bottom: 0; height: auto; z-index: -1; border-radius: inherit;
  background: rgba(60, 182, 192, 0.18); transform: scale(0.6); opacity: 0; transform-origin: center;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.nav__links a[aria-current="page"]::after { transform: none; opacity: 1; background: rgba(60, 182, 192, 0.28); }
@media (hover: hover) { .nav__links a:not(.btn):hover::after { transform: none; opacity: 1; transform-origin: center; } }

/* Cursor: dark ball over Sea Blue areas so the label stays readable */
@media (hover: hover) and (pointer: fine) {
  .cursor.is-label.is-ink { background: var(--ink); border-color: var(--ink); }
  .cursor.is-ink .cursor__label { color: var(--paper); }
}

/* Steps: each row lights up in a soft Sea Blue as you pass over it */
.steps li {
  padding-inline: clamp(0.75rem, 1.6vw, 1.75rem);
  background-image: linear-gradient(rgba(60, 182, 192, 0.12), rgba(60, 182, 192, 0.12));
  background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0;
  transition: background-size 0.6s var(--ease);
}
.steps li::before { transition: color 0.3s; }
@media (hover: hover) {
  .steps li:hover { background-size: 100% 100%; }
  .steps li:hover::before { color: var(--ink); }
  .section--ink .steps li:hover::before { color: var(--sea); }
}
.section--ink .steps li { background-image: linear-gradient(rgba(60, 182, 192, 0.16), rgba(60, 182, 192, 0.16)); }
.steps__link { text-decoration: none; }
.steps__link::after { content: ""; position: absolute; inset: 0; }
.steps li.has-link { cursor: pointer; padding-right: clamp(3.5rem, 6vw, 5.5rem); }
.steps__go {
  position: absolute; right: clamp(0.75rem, 1.6vw, 1.75rem); top: 50%; translate: 0 -50%;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background 0.35s, box-shadow 0.35s, transform 0.45s var(--ease);
}
.section--ink .steps__go { box-shadow: inset 0 0 0 1.5px var(--line-dark); }
@media (hover: hover) {
  .steps li.has-link:hover .steps__go { background: var(--sea); box-shadow: none; color: var(--ink); transform: rotate(-45deg); }
}
.steps li.has-link:focus-within { background-size: 100% 100%; }

/* Value cards: no white boxes; open columns with the O motif */
.card {
  position: relative; overflow: hidden; background: transparent; box-shadow: none; border-radius: 0;
  border-top: 1.5px solid var(--line-strong); padding: clamp(1.4rem, 2.2vw, 2.2rem) 0 clamp(2rem, 3vw, 3rem);
  gap: 0.9rem; height: 100%;
}
.section--mist .card { box-shadow: none; }
.card::after {
  content: ""; position: absolute; right: -2.6rem; bottom: -2.6rem; width: 6.5rem; height: 6.5rem; border-radius: 50%;
  border: 14px solid var(--sea); transform: scale(0); transition: transform 0.6s var(--ease); pointer-events: none;
}
@media (hover: hover) { .card:hover::after { transform: scale(1); } }
.card::before {
  content: ""; position: absolute; left: 0; top: -1.5px; height: 1.5px; width: 100%; background: var(--sea);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
@media (hover: hover) { .card:hover::before { transform: scaleX(1); } }
.card__icon {
  width: 3.4rem; height: 3.4rem; background: transparent; box-shadow: inset 0 0 0 6px var(--sea);
  transition: background 0.4s, box-shadow 0.4s;
}
.card:hover .card__icon { background: var(--sea); }
.card .muted { max-width: 34ch; }
.cols-3 { gap: 0 clamp(1.5rem, 3.5vw, 4rem); }
.card__num {
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  box-shadow: inset 0 0 0 6px var(--sea); color: var(--ink); font-weight: 800; letter-spacing: 0; transition: background 0.4s;
}
.card:hover .card__num { background: var(--sea); }

/* CTA band: tighter, one confident line */
.cta { padding-block: clamp(3.5rem, 6vw, 6rem); }
.cta__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 3rem; }
.cta .eyebrow { margin-bottom: 0.8rem; }
.cta__ring { left: auto; right: -7rem; bottom: auto; top: 50%; translate: 0 -50%; width: clamp(14rem, 26vw, 26rem); border-width: clamp(18px, 2.4vw, 36px); opacity: 0.22; }

/* Footer: tighter top, legal line full width at the very bottom */
.footer { padding-top: clamp(3.5rem, 6vw, 6rem); }
.footer__top { padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.footer__rot { font-size: clamp(2.4rem, 7vw, 7rem); }
.footer__legal { display: flex; flex-direction: column; align-items: stretch; gap: 0.9rem; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: var(--fs-small); }
.footer__legal nav .to-top { margin-left: auto; color: var(--on-ink-muted); }
.footer__legal nav .to-top:hover { color: var(--sea); }
.footer__legal p { max-width: none; width: 100%; padding-top: 0.9rem; border-top: 1px solid var(--line-dark); }

@media (max-width: 1024px) {
  .cta__inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cols-3 { grid-template-columns: 1fr; }
  .card { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hl { background-position: 0 0; }
}

/* fixes */
@media (hover: hover) and (pointer: fine) { html.has-cursor .cursor { display: grid; } }
@media (hover: hover) { .door:hover .door__title .arrow { transform: translate(0.15em, 0) rotate(45deg); } }
.steps li { padding-right: clamp(3.5rem, 6vw, 5.5rem); }

/* ---------- Home intro: logo builds, flies to the corner, its O grows into the hero ring ---------- */
.intro { display: none; }
html.has-intro .intro {
  position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; background-color: var(--paper);
  transition: background-color 0.55s ease-out;
}
html.has-intro .curtain { display: none; }
html.has-intro .intro.is-leaving { background-color: rgba(255, 255, 255, 0); pointer-events: none; }
.intro__logo { font-size: clamp(3.2rem, 11vw, 9.5rem); transform-origin: 0 0; will-change: transform; }
.intro i { font-style: normal; }
.intro .m { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 0.02em 0.08em; margin-bottom: -0.08em; }
.intro .m > * { display: inline-block; transform: translateY(110%); animation: introUp 0.95s var(--ease) forwards; }
.intro .m:nth-child(2) > * { animation-delay: 0.16s; }
.intro .logo__desc { overflow: hidden; padding-bottom: 0.08em; }
.intro .logo__desc i { display: inline-block; transform: translateY(110%); animation: introUp 0.8s 0.5s var(--ease) forwards; }
@keyframes introUp { to { transform: none; } }
html.has-intro:not(.intro-done) .nav .logo { opacity: 0; }
html.has-intro .nav .logo { transition: none; }
html.has-intro:not(.intro-done) .hero__ring { opacity: 0; }

.intro-o { position: fixed; z-index: 2602; box-sizing: border-box; border-style: solid; border-color: var(--sea); border-radius: 50%; pointer-events: none; }
.intro__o { display: inline; }
html.has-intro .hero__ring::after { transition: opacity 0.8s 0.2s; }
html.has-intro:not(.intro-done) .hero__ring::after { opacity: 0; }
html.has-intro.intro-done .hero__ring { transition: transform 1.2s var(--ease), opacity 0s; }

/* Steps: the O motif grows into the corner of each row */
.steps li { overflow: hidden; }
.steps li::after {
  content: ""; position: absolute; left: -2.4rem; bottom: -2.4rem; width: 5.5rem; height: 5.5rem; border-radius: 50%;
  border: 12px solid var(--sea); transform: scale(0); transition: transform 0.6s var(--ease); pointer-events: none;
}
@media (hover: hover) { .steps li:hover::after { transform: scale(1); } }
.steps li::before { position: relative; z-index: 1; }

/* Tighter dark run: CTA flows straight into the footer */
.cta { padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 3.5vw, 3rem); }
.cta__ring { display: none; }
.footer { padding-top: 0; }
.footer__top { border-top: 1px solid var(--line-dark); padding-top: clamp(2rem, 3.5vw, 3rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.footer .logo { font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
.footer__tag { margin-top: 1rem; }
.footer__rot { font-size: clamp(2.2rem, 5.2vw, 5.4rem); margin-bottom: clamp(1.2rem, 2.5vw, 2rem); }
.footer__legal { padding-top: 1rem; padding-bottom: 0.5rem; }

/* ---------- Round 3: Danielle's notes ---------- */
/* Home: recruitment content begins below the first screen. */
.hero--home {
  min-height: 100vh; min-height: 100svh; justify-content: flex-start;
  padding-bottom: clamp(1.75rem, 3vw, 3rem);
}
.hero--home > .wrap { margin-top: auto; }
.hero__rot {
  display: flex; align-items: baseline; gap: 0.22em; white-space: nowrap; margin: 0 0 clamp(1.4rem, 3vw, 2.4rem) -0.04em;
  font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-size: clamp(2.4rem, 10.5vw, 12rem);
}
.hero__title { font-size: clamp(1.6rem, 3.1vw, 3.3rem); letter-spacing: -0.035em; line-height: 1.06; max-width: 22ch; margin-bottom: clamp(1rem, 2vw, 1.6rem); }
.hero--home .eyebrow {
  margin-bottom: clamp(0.67rem, 1.07vw, 1.07rem);
}
.hero--home a.eyebrow { text-decoration: none; cursor: pointer; transition: color 0.25s var(--ease); }
.hero--home a.eyebrow:hover, .hero--home a.eyebrow:focus-visible { color: var(--sea); }
#what-we-recruit { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.hero--home .hero__title {
  font-size: clamp(1.2rem, 1.8vw, 1.9rem); line-height: 1.25;
  letter-spacing: -0.025em; margin-bottom: 0;
}
.hero--home .hero__actions { margin-top: clamp(1.4rem, 2.5vw, 2rem); }

.hero--home .hero__rot { margin-bottom: 0; }
.hero--home .lead { max-width: 44ch; font-weight: 700; }
body[data-page="index"] .footer__rot { display: none; }

/* Pages now end straight into the footer */
.footer { padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer__top { border-top: 0; padding-top: 0; }
.hero__title { max-width: 28ch; }
.hero--home .hero__ring { right: -20vw; width: min(60vw, 1000px); }
@media (max-width: 768px) { .hero--home .hero__ring { right: -38vw; width: 96vw; } }
.hero .hero__title { max-width: 28ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
/* Room for descenders (g, y) in the rotating word */
.rot { height: 1.34em; margin-bottom: -0.22em; }
.rot__w { height: 1.34em; padding-bottom: 0.22em; }
/* Keep the longest word ("together.") clear of the ring */
.hero__rot { font-size: clamp(2.7rem, 9.5vw, 11.2rem); }
.hero--home .hero__ring { right: -28vw; width: min(52vw, 900px); }
.hero--home .hero__ring::after { content: none; }
@media (max-width: 768px) { .hero__rot { font-size: clamp(2.5rem, 11.5vw, 5.5rem); } .hero--home .hero__ring { right: -38vw; width: 96vw; } }
@media (max-width: 480px) {
  .hero--home .hero__rot { font-size: clamp(1.8rem, 10vw, 3rem); }
}
.hero--home .home-scroll {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: center; margin-top: auto; padding: 2rem 0.75rem 0;
  min-width: 44px; min-height: 44px;
  color: var(--muted); text-decoration: none;
}
.hero--home .home-scroll:hover, .hero--home .home-scroll:focus-visible { color: var(--sea); }

/* Home: editorial recruitment specialisms */
.home-specialisms { padding-top: clamp(1.35rem, 2.36vw, 2.36rem); padding-bottom: calc(var(--section) * 0.4); }
.home-specialisms__intro { margin-bottom: clamp(1.26rem, 2.52vw, 2.52rem); }
.hero--home .eyebrow, .home-specialisms__intro .eyebrow, .home-approach .eyebrow {
  font-size: clamp(16px, 1.5vw, 20px); font-weight: 600;
  color: var(--sea);
  letter-spacing: 1.5px; line-height: 1.5; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero--home .eyebrow::before, .home-specialisms__intro .eyebrow::before, .home-approach .eyebrow::before {
  content: none;
}
.nav .logo { font-size: clamp(2.28rem, 3.12vw, 3.24rem); }
@media (max-width: 1024px) {
  .nav .logo { font-size: clamp(2.09rem, 2.86vw, 2.97rem); }
}
.hero--home .eyebrow {
  max-width: 100%; font-size: clamp(18px, 1.8vw, 24px);
  position: relative; top: -24px; scale: 1.12; transform-origin: left center;
}
@media (max-width: 480px) {
  .hero--home .eyebrow, .home-specialisms__intro .eyebrow, .home-approach .eyebrow { font-size: 16px; }
  .hero--home .eyebrow { font-size: 18px; }
}
.home-specialisms__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.home-specialisms__list li {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr);
  align-items: baseline; gap: clamp(0.75rem, 1.2vw, 1.25rem);
  padding-block: clamp(1.025rem, 1.64vw, 1.64rem); border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 2.5vw, 34px); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.035em;
}
.home-specialisms__number { color: var(--sea); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.05em; }
@media (min-width: 769px) {
  .home-specialisms__list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto); grid-auto-flow: column;
    column-gap: clamp(2rem, 6vw, 8rem); border-top: 0;
  }
  .home-specialisms__list li:nth-child(1), .home-specialisms__list li:nth-child(4) { border-top: 1px solid var(--line); }
}
.home-specialisms__list li > span:last-child { transition: color 0.25s var(--ease); }
@media (hover: hover) {
  .home-specialisms__list li:hover > span:last-child { color: var(--sea); }
}
@media (prefers-reduced-motion: reduce) {
  .home-specialisms__list li > span:last-child { transition: none; }
}

/* Home: personal recruitment approach */
.home-approach { background: var(--paper); color: var(--ink); padding-block: clamp(2.009rem, 4.018vw, 4.018rem); }
.home-approach__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; row-gap: clamp(1.5rem, 3vw, 2.5rem); }
.home-approach .eyebrow { grid-column: 1; margin-bottom: 0; }
.home-approach h2 { grid-column: 1; grid-row: 2; font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1.08; max-width: 17ch; text-wrap: balance; }
.home-approach .accent { color: var(--sea); }
.home-approach__body { grid-column: 2; grid-row: 2; max-width: 54ch; }
.home-approach__body p { color: var(--muted); font-size: var(--fs-lead); line-height: 1.6; }
@media (max-width: 768px) {
  .home-approach__grid { grid-template-columns: minmax(0, 1fr); }
  .home-approach__body { grid-column: 1; grid-row: 3; }
}
.home-approach__link {
  display: inline-flex; align-items: center; gap: 0.65rem; margin-top: 0.75rem;
  color: var(--sea); font-weight: 700; text-decoration: underline;
  text-decoration-color: transparent; text-underline-offset: 0.3em;
}
.home-approach__link:hover, .home-approach__link:focus-visible { text-decoration-color: currentColor; }
#employers-fit-heading { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

/* Temporary review link: dashed so it reads as "not part of the real site" */

/* Employers: text-led opening, scoped to this page only. */
body[data-page="clients"] .employers-hero { padding-bottom: clamp(1rem, 2vw, 2rem); }
body[data-page="clients"] .employers-hero .eyebrow {
  font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; color: var(--sea);
  letter-spacing: 1.5px; line-height: 1.5; text-transform: uppercase;
}
body[data-page="clients"] .employers-hero .eyebrow::before { content: none; }
body[data-page="clients"] .employers-hero h1 { max-width: 100%; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 1024px) {
  body[data-page="clients"] .employers-hero h1 { max-width: 100%; }
}
body[data-page="clients"] .employers-hero__accent { color: var(--sea); }
body[data-page="clients"] .employers-hero .lead { width: 68%; max-width: 70ch; margin-bottom: 0.65rem; }
body[data-page="clients"] .employers-hero__specialisms { max-width: 64ch; font-size: var(--fs-body); margin-bottom: 0; }
body[data-page="clients"] .employers-hero__cta { margin-top: clamp(1.1rem, 1.8vw, 1.5rem); }
body[data-page="clients"] .employers-hero__roles-link {
  color: var(--sea); font-weight: 600; text-decoration: underline;
  text-decoration-color: transparent; text-underline-offset: 0.3em;
  transition: text-decoration-color 0.25s var(--ease);
}
body[data-page="clients"] .employers-hero__roles-link:hover,
body[data-page="clients"] .employers-hero__roles-link:focus-visible { text-decoration-color: currentColor; }

/* Employers: concise process overview. */
body[data-page="clients"] .employers-process { padding-block: clamp(3rem, 5vw, 5rem); }
body[data-page="clients"] .employers-process .cols-2 { align-items: start; }
body[data-page="clients"] .employers-process h2 { line-height: 1.1; }
body[data-page="clients"] .employers-process__accent { color: var(--sea); }
body[data-page="clients"] .employers-process .lead { max-width: 48ch; margin-bottom: 0; }

/* HR: approved StandOut lime green. */
body[data-page="hr"] { --hr-lime: #A6FF00; --hr-text-green: #A6FF00; }
body[data-page="hr"] .hr-logo .logo__mark b { color: var(--hr-lime); }
body[data-page="hr"] .hr-accent,
body[data-page="hr"] .hr-hero .eyebrow { color: var(--hr-text-green); }
body[data-page="hr"] .hr-hero .eyebrow { font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: 1.5px; }
body[data-page="hr"] .hr-hero .eyebrow::before { content: none; }
body[data-page="hr"] .hr-hero h1 { max-width: 88%; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
body[data-page="hr"] .hr-intro { max-width: 54ch; }
body[data-page="hr"] .hr-flexible { max-width: 64ch; margin-top: 1.5rem; color: var(--ink); }
body[data-page="hr"] .hr-services, body[data-page="hr"] .hr-contact { padding-block: clamp(3rem, 5vw, 5rem); }
body[data-page="hr"] .hr-services h2 { margin-bottom: clamp(1.5rem, 3vw, 3rem); }
body[data-page="hr"] .hr-services__list {
  list-style: none; padding: 0; margin: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 8rem);
}
body[data-page="hr"] .hr-services__list li {
  padding-block: clamp(1.25rem, 2vw, 2rem); border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.4;
}
body[data-page="hr"] .hr-services__list li:nth-child(-n+2) { border-top: 1px solid var(--line); }
body[data-page="hr"] .hr-contact__body { max-width: 54ch; }
body[data-page="hr"] .hr-button { --bg: var(--hr-lime); --fg: var(--ink); margin-top: 0.75rem; }
body[data-page="hr"] .hr-button::before { background: var(--ink); }
body[data-page="hr"] .hr-button:hover { color: var(--paper); }
.hr-enquiry { --hr-lime: #A6FF00; scroll-margin-top: calc(var(--nav-h) + 1.5rem); padding-block: clamp(3rem, 5vw, 5rem); }
.hr-enquiry__intro { margin-top: 1.25rem; }
.hr-enquiry .hr-enquiry__legend { font-size: var(--fs-h3); line-height: 1.4; }
.hr-enquiry .hr-enquiry__button { --bg: var(--hr-lime); --fg: var(--ink); }
.hr-enquiry .hr-enquiry__button::before { background: var(--ink); }
.hr-enquiry .hr-enquiry__button:hover { color: var(--paper); }
@media (min-width: 1025px) and (max-width: 1500px) {
  .nav__links { gap: clamp(0.6rem, 1vw, 1rem); }
  .nav__inner { gap: 1rem; }
}
@media (max-width: 768px) {
  body[data-page="hr"] .hr-hero h1 { max-width: 100%; }
  body[data-page="hr"] .hr-services__list { grid-template-columns: minmax(0, 1fr); }
  body[data-page="hr"] .hr-services__list li:nth-child(2) { border-top: 0; }
}

/* Shared service navigation: native keyboard-accessible disclosure. */
.nav-services { position: relative; }
.nav-services summary {
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.55em 1em; cursor: pointer; white-space: nowrap;
}
.nav-services__links {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  list-style: none; margin: 0; padding: 0.5rem; min-width: 15rem;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.nav-services__links a { display: block; white-space: nowrap; }
body[data-page="hr"] .nav-services__links a[aria-current="page"]::after,
body[data-page="coaching"] .nav-services__links a[aria-current="page"]::after { background: #A6FF00; }

/* Coaching: deliberately minimal, using the approved shared lime identity. */
body[data-page="coaching"] { --hr-lime: #A6FF00; --hr-text-green: #A6FF00; }
body[data-page="coaching"] .coaching-logo .logo__mark b { color: var(--hr-lime); }
body[data-page="coaching"] .coaching-hero .eyebrow { color: var(--hr-text-green); }
body[data-page="coaching"] .coaching-hero .eyebrow {
  font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: 1.5px;
}
body[data-page="coaching"] .coaching-hero .eyebrow::before { content: none; }
body[data-page="coaching"] .coaching-hero h1 { max-width: 88%; margin-bottom: clamp(2rem, 4vw, 3rem); }
.coaching-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
body[data-page="hr"] .hr-hero .hr-logo,
body[data-page="coaching"] .coaching-hero .coaching-logo {
  width: fit-content; font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
body[data-page="coaching"] .coaching-accent { color: var(--hr-text-green); }
body[data-page="coaching"] .coaching-hero .coaching-logo { grid-template-columns: auto; }
body[data-page="coaching"] .coaching-hero .coaching-logo .logo__mark { white-space: nowrap; }
body[data-page="coaching"] .coaching-hero .coaching-logo .logo__desc {
  font-size: 0.4em; min-width: 0; justify-self: stretch;
  white-space: nowrap; text-align: right;
}
body[data-page="coaching"] .coaching-intro { max-width: 54ch; margin-bottom: clamp(2rem, 3vw, 3rem); }
body[data-page="coaching"] .coaching-button { --bg: var(--hr-lime); --fg: var(--ink); }
body[data-page="coaching"] .coaching-button::before { background: var(--ink); }
body[data-page="coaching"] .coaching-button:hover { color: var(--paper); }
body[data-page="coaching"] .coaching-link, body[data-page="hr"] .hr-related__link {
  color: var(--hr-text-green); font-weight: 600; text-decoration: underline;
  text-decoration-color: transparent; text-underline-offset: 0.3em;
}
.coaching-link:hover, .coaching-link:focus-visible,
.hr-related__link:hover, .hr-related__link:focus-visible { text-decoration-color: currentColor; }
body[data-page="hr"] .hr-related { padding-block: clamp(2.5rem, 4vw, 4rem); }
body[data-page="hr"] .hr-related .eyebrow { color: var(--hr-text-green); }
body[data-page="hr"] .hr-related .eyebrow::before { content: none; }
@media (max-width: 768px) {
  body[data-page="coaching"] .coaching-hero h1 { max-width: 100%; }
}

/* Employers: experience and personal service. */
body[data-page="clients"] .employers-why { padding-block: clamp(3rem, 5vw, 5rem); }
body[data-page="clients"] .employers-why__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem) clamp(2rem, 6vw, 8rem); align-items: start;
}
body[data-page="clients"] .employers-why .eyebrow {
  grid-column: 1; margin-bottom: 0; font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600; color: var(--sea); letter-spacing: 1.5px; line-height: 1.5;
}
body[data-page="clients"] .employers-why .eyebrow::before { content: none; }
body[data-page="clients"] .employers-why h2 { grid-column: 1; grid-row: 2; line-height: 1.1; }
body[data-page="clients"] .employers-why__accent { color: var(--sea); }
body[data-page="clients"] .employers-why__copy { grid-column: 2; grid-row: 2; max-width: 48ch; margin-bottom: 0; }
#our-approach { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
@media (max-width: 1024px) {
  body[data-page="clients"] .employers-why__grid { grid-template-columns: minmax(0, 1fr); }
  body[data-page="clients"] .employers-why__copy { grid-column: 1; grid-row: 3; }
}

/* Candidates: text-led opening and compact editorial process. */
body[data-page="talent"] .candidates-hero { padding-bottom: clamp(1rem, 2vw, 2rem); }
body[data-page="talent"] .candidates-hero .eyebrow {
  font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; color: var(--sea);
  letter-spacing: 1.5px; line-height: 1.5; text-transform: uppercase;
}
body[data-page="talent"] .candidates-hero .eyebrow::before { content: none; }
body[data-page="talent"] .candidates-hero h1 { max-width: 88%; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
body[data-page="talent"] .candidates-accent { color: var(--sea); }
body[data-page="talent"] .candidates-intro { max-width: 54ch; }
body[data-page="talent"] .candidates-hero__cta { margin-top: clamp(1.5rem, 2.5vw, 2.5rem); }
body[data-page="talent"] .candidates-process { padding-block: clamp(3rem, 5vw, 5rem); }
body[data-page="talent"] .candidates-process h2 { margin-bottom: clamp(1.75rem, 3vw, 3rem); line-height: 1.1; }
body[data-page="talent"] .candidates-process__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
body[data-page="talent"] .candidates-process__list li {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: clamp(1rem, 2vw, 2rem);
  align-items: baseline; padding-block: clamp(1.5rem, 2.5vw, 2.5rem); border-bottom: 1px solid var(--line);
}
body[data-page="talent"] .candidates-process__number { color: var(--sea); font-size: var(--fs-small); font-weight: 700; }
body[data-page="talent"] .candidates-process__list p { max-width: 64ch; margin: 0.65rem 0 0; color: var(--muted); }
@media (max-width: 1024px) {
  body[data-page="talent"] .candidates-hero h1 { max-width: 100%; }
}

/* About: founder, office dog and principles; isolated to this page. */
body[data-page="about"] .about-hero { padding-bottom: clamp(1.25rem, 2vw, 2rem); }
body[data-page="about"] .about-hero .eyebrow {
  color: var(--sea); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600;
  letter-spacing: 1.5px; line-height: 1.5;
}
body[data-page="about"] .about-hero .eyebrow::before { content: none; }
body[data-page="about"] .about-hero h1 { max-width: 88%; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
body[data-page="about"] .about-accent { color: var(--sea); }
body[data-page="about"] .about-hero .lead { max-width: 54ch; }
body[data-page="about"] .about-founder { padding-block: clamp(2rem, 3vw, 3rem); }
body[data-page="about"] .about-principles { padding-block: clamp(3rem, 5vw, 5rem); }
body[data-page="about"] .about-founder > .wrap > h2,
body[data-page="about"] .about-principles > .wrap > h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
body[data-page="about"] .about-founder__grid { grid-template-columns: clamp(10.5rem, 21vw, 18rem) minmax(0, 70ch); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
body[data-page="about"] .about-photo {
  display: grid; place-items: center; padding: 1.5rem; text-align: center;
  background: var(--mist-2); color: var(--muted); font-size: var(--fs-small);
}
body[data-page="about"] .about-photo--founder { aspect-ratio: 1; width: clamp(10.5rem, 21vw, 18rem); max-width: 100%; }
body[data-page="about"] .about-founder__bio { max-width: 70ch; text-align: left; }
body[data-page="about"] .about-founder__bio > .muted > p { margin-bottom: 1.35em; }
body[data-page="about"] .about-founder__bio > .muted > .about-founder__personal { margin-top: 2em; margin-bottom: 0; }
body[data-page="about"] .about-founder__role { margin: 0.75rem 0 1.5rem; color: var(--muted); font-weight: 600; }
body[data-page="about"] .about-founder > .wrap > h2 { margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem); }
body[data-page="about"] .about-lola { padding-block: clamp(1.25rem, 2vw, 2rem); }
body[data-page="about"] .about-lola__grid { display: grid; grid-template-columns: 140px minmax(0, 54ch); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
body[data-page="about"] .about-photo--lola { aspect-ratio: 1; width: 140px; max-width: 100%; border-radius: 50%; }
body[data-page="about"] .about-lola__line { margin: 0.75rem 0; }
body[data-page="about"] .about-principles__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
body[data-page="about"] .about-principles__list li {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: clamp(1rem, 2vw, 2rem);
  align-items: baseline; padding-block: clamp(1.2rem, 2vw, 2rem); border-bottom: 1px solid var(--line);
}
body[data-page="about"] .about-principles__number { color: var(--sea); font-weight: 700; font-size: var(--fs-small); }
body[data-page="about"] .about-principles__list p { color: var(--muted); max-width: 64ch; margin: 0.65rem 0 0; }
@media (max-width: 1024px) {
  body[data-page="about"] .about-hero h1 { max-width: 100%; }
  body[data-page="about"] .about-founder__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  body[data-page="about"] .about-lola__grid { grid-template-columns: minmax(0, 1fr); }
  body[data-page="about"] .about-photo--founder { width: 12rem; }
  body[data-page="about"] .about-photo--lola { width: 140px; }
}

@media (min-width: 1025px) {
  body[data-page="clients"] .employers-hero h1 { font-size: clamp(2.3rem, 3.6vw, 4.5rem); white-space: nowrap; }
}

@media (max-width: 1024px) {
  body[data-page="clients"] .employers-hero .lead { width: 100%; }
}

/* Contact: one shared enquiry route, isolated from candidate forms. */
body[data-page="contact"] .contact-hero { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
body[data-page="contact"] .contact-hero .eyebrow { color: var(--sea); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: 1.5px; line-height: 1.5; }
body[data-page="contact"] .contact-hero .eyebrow::before { content: none; }
body[data-page="contact"] .contact-hero h1 { max-width: 100%; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
body[data-page="contact"] .contact-accent { color: var(--sea); }
body[data-page="contact"] .contact-hero .lead { max-width: 54ch; }
body[data-page="contact"] .contact-specific { margin-top: 1.5rem; }
body[data-page="contact"] .contact-specific h2 { font-size: var(--fs-body); }
body[data-page="contact"] .contact-specific__links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 0.65rem; }
body[data-page="contact"] .contact-text-link { color: var(--sea); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; }
body[data-page="contact"] .contact-text-link:hover, body[data-page="contact"] .contact-text-link:focus-visible { text-decoration-color: currentColor; }
body[data-page="contact"] .contact-enquiry { position: relative; padding-block: clamp(2.5rem, 4vw, 4rem); scroll-margin-top: calc(var(--nav-h) + 1rem); }
body[data-page="contact"] .contact-anchor { position: absolute; top: 0; scroll-margin-top: calc(var(--nav-h) + 1rem); }
body[data-page="contact"] .contact-email { margin: 1rem 0 0; overflow-wrap: anywhere; }
body[data-page="contact"] .contact-form-wrap { max-width: calc(760px + var(--gutter) * 2); }
body[data-page="contact"] .contact-privacy { margin-top: 1rem; }

/* Dedicated employer job brief; existing enquiry styling reused. */
body[data-page="brief"] .brief-hero { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
body[data-page="brief"] .brief-hero .eyebrow { color: var(--sea); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: 1.5px; line-height: 1.5; }
body[data-page="brief"] .brief-hero .eyebrow::before { content: none; }
body[data-page="brief"] .brief-hero h1 { max-width: 100%; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
body[data-page="brief"] .brief-accent, body[data-page="brief"] .brief-privacy a { color: var(--sea); }
body[data-page="brief"] .brief-hero .lead { width: 85%; max-width: 115ch; }
@media (max-width: 1024px) {
  body[data-page="brief"] .brief-hero .lead { width: 100%; }
}
body[data-page="brief"] .brief-section { padding-block: clamp(2.5rem, 4vw, 4rem); }
body[data-page="brief"] .brief-form-wrap { max-width: calc(760px + var(--gutter) * 2); }
body[data-page="brief"] .brief-privacy { margin-top: 1rem; }
body[data-page="brief"] .brief-upload { min-height: 9rem; }
body[data-page="brief"] .brief-remove { background: none; border: 0; padding: 0.5rem 0; color: var(--ink); text-decoration: underline; cursor: pointer; }
body[data-page="brief"] [hidden] { display: none !important; }

/* CV page: centred existing submission form and clearer candidate information. */
body[data-page="cv"] .cv-hero { padding-bottom: clamp(1.25rem, 2vw, 2rem); }
body[data-page="cv"] .cv-hero .eyebrow { color: var(--sea); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: 1.5px; line-height: 1.5; }
body[data-page="cv"] .cv-hero .eyebrow::before { content: none; }

body[data-page="cv"] .cv-form-section { padding-block: clamp(2.5rem, 4vw, 4rem); }
body[data-page="cv"] .cv-form-wrap { max-width: calc(760px + var(--gutter) * 2); }
body[data-page="cv"] .cv-information a { color: var(--sea); text-underline-offset: 0.2em; display: inline-block; margin-top: 0.5rem; }
body[data-page="cv"] .cv-information { font-size: clamp(13px, 1vw, 14px); color: var(--muted); line-height: 1.6; margin: 0; }

body[data-page="cv"] .cv-form-wrap .step > legend { margin-bottom: 1.5rem; }

/* Registration: one continuous form; existing fields and conditional groups retained. */
body[data-page="register"] .registration-wrap { max-width: calc(800px + var(--gutter) * 2); }
body[data-page="register"] .registration-wrap > .note { color: var(--muted); font-size: var(--fs-small); margin-bottom: 2rem; }
body[data-page="register"] #register > fieldset.step { padding-top: clamp(1.5rem, 2.2vw, 2rem); margin-top: clamp(1.5rem, 2.2vw, 2rem); border-top: 1px solid var(--line); }
body[data-page="register"] #register > fieldset.step:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
body[data-page="register"] #register > fieldset.step > legend { float: left; width: 100%; margin-bottom: 0.75rem; }
body[data-page="register"] #register > fieldset.step > .step__intro { clear: both; }
body[data-page="register"] .page-hero { padding-bottom: clamp(1.25rem, 2vw, 2rem); }
body[data-page="register"] .registration-wrap > .note { margin-bottom: 1.5rem; }
body[data-page="register"] #register .fields { gap: clamp(1rem, 1.4vw, 1.25rem) var(--gap); }
body[data-page="register"] #register > fieldset.step > .step__intro { margin-bottom: 1.25rem; }
body[data-page="register"] #register .field--full:has(> #f-roles_sought),
body[data-page="register"] #register .field--full:has(> #f-locations) { grid-column: auto; }

body[data-page="register"] #register > fieldset.step > .fields { clear: both; }

.menu > nav, .menu > .menu__foot { flex-shrink: 0; }
.home-accessible-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Approved service logo assets: preserve original artwork and aspect ratio. */
.hr-logo .service-logo-asset, .coaching-logo .service-logo-asset { display: block; width: 5em; max-width: 100%; height: auto; }

/* Get started: public candidate and employer routes. */
.nav-get-started { position: relative; flex: none; }
.nav-get-started summary {
  display: flex; align-items: center; gap: 0.6em; list-style: none;
  padding: 0.55em 1em; border-radius: 999px; background: var(--sea); color: var(--ink);
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: inherit;
  letter-spacing: 0.01em; white-space: nowrap; cursor: pointer;
}
.nav-get-started summary::-webkit-details-marker { display: none; }
.nav-get-started__chevron { width: 0.8em; height: 0.8em; flex: none; }
.nav-get-started details[open] .nav-get-started__chevron { transform: rotate(180deg); }
.nav-get-started__links {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  width: 19rem; max-width: calc(100vw - 2 * var(--gutter));
  list-style: none; margin: 0; padding: 0.4rem;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.nav-get-started__links li + li { border-top: 1px solid var(--line); }
.nav__links .nav-get-started__links a {
  display: block; padding: 0.8rem 1rem; border-radius: 6px; color: var(--ink);
}
.nav__links .nav-get-started__links a::after { content: none; }
.nav-get-started__links a strong { display: block; font-size: 15px; font-weight: 600; }
.nav-get-started__links a small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.nav__links .nav-get-started__links a:hover,
.nav__links .nav-get-started__links a:focus-visible { background: rgba(60, 182, 192, 0.18); }
.menu li a.menu__action { font-size: clamp(1.25rem, 5vw, 2.2rem); letter-spacing: -0.01em; line-height: 1.25; }

/* Matching closing actions on the recruitment service pages. */
body[data-page="clients"] .recruitment-bottom-cta,
body[data-page="talent"] .recruitment-bottom-cta { padding-block: clamp(1.5rem, 3vw, 2.5rem); }

/* Forms closed until the privacy notice is approved (remove with the hidden attribute on each form). */
.forms-closed { max-width: 640px; padding: 32px 0; }
.forms-closed p { font-size: var(--fs-lead, 1.15rem); line-height: 1.5; margin: 0 0 20px; }
