/* Raleway, self-hosted (SIL Open Font Licence, see fonts/OFL.txt) */
@font-face { font-family: Raleway; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/raleway-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: Raleway; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/raleway-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: Raleway; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Raleway; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/raleway-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: Raleway; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/raleway-latin-600-normal.woff2") format("woff2"); }

/* Sequentia Group: sqlgroup.co.uk
   Palette and type follow SQL Brand Guidelines.
   Display face: Flatline is the brand headline face but is not licensed for web use.
   Raleway (the brand body face) is used across display and body at contrasting
   weights and tracking until a Flatline webfont licence is in place. */

:root {
  --ink:       #000231;  /* Dark Blue : dominant */
  --structure: #404E6B;  /* Grey Blue : structure and hierarchy */
  --grey:      #717374;  /* Grey      : captions and hints only */
  --body:      #404E6B;  /* Grey Blue : supporting body copy, for contrast */
  --slate:     #ADB697;  /* Slate     : the single accent */
  --light:     #D8D8D8;  /* Light Grey: rules and fills */
  --white:     #ffffff;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --rule: 1px solid var(--light);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  font-variant-numeric: lining-nums tabular-nums;
}

h1, h2, h3, h4 { font-weight: 300; letter-spacing: 0.01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.25rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); font-weight: 400; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
a { color: inherit; }

/* Brand rule: section labels are set in caps. */
.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--structure);
  margin: 0 0 1.5rem;
}
.on-ink .label { color: var(--slate); }

.wrap { width: min(100%, 76rem); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.on-ink { background: var(--ink); color: var(--white); }
.on-ink p { color: #cfd3df; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

/* ── Masthead: one bar, every page one click away ───── */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow .2s ease;
}
.masthead.is-scrolled { box-shadow: 0 1px 0 rgba(173, 182, 151, 0.35), 0 8px 24px rgba(0, 2, 49, 0.25); }
.masthead .wrap { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.masthead .brand { display: block; padding-block: 0.5rem; flex: none; }
.masthead img { height: 26px; width: auto; display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.25rem, 1.2vw, 1rem); }
.nav ul a {
  position: relative; display: block;
  color: #cfd3df; text-decoration: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 1.6rem 0.65rem;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0.65rem; right: 0.65rem; bottom: 0;
  height: 2px; background: var(--slate);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav ul a:hover { color: var(--white); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--white); }
.nav .nav-cta {
  color: var(--ink); background: var(--slate); text-decoration: none;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.7rem 1.15rem; white-space: nowrap; transition: background .15s ease;
}
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--white); }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 0.6rem;
  background: none; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white);
  font: inherit; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem; cursor: pointer;
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -5px; }
.menu-toggle .bars::after { top: 5px; }
.is-open .menu-toggle .bars { background: transparent; }
.is-open .menu-toggle .bars::before { transform: translateY(5px) rotate(45deg); }
.is-open .menu-toggle .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 62rem) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem var(--gutter, 1.25rem) 1.5rem;
    box-shadow: 0 16px 32px rgba(0, 2, 49, 0.35);
  }
  .is-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 1rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav ul a::after { left: 0; right: auto; width: 2.5rem; bottom: -1px; }
  .nav .nav-cta { margin-top: 1.25rem; text-align: center; padding: 0.9rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .masthead, .nav ul a::after, .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { transition: none; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; overflow: clip; padding-block: clamp(3.5rem, 8vw, 6rem); }
/* The thin S monogram is the brand's signature motif. */
/* On small screens the watermark sits low and faint, clear of the text. */
.hero::after {
  content: ""; position: absolute; right: -8%; top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 40rem); aspect-ratio: 1;
  background: url("../assets/s-watermark.png") center / contain no-repeat;
  opacity: 0.55; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 18ch; }
.hero .standfirst {
  font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.4rem);
  font-weight: 300; color: #cfd3df; max-width: 52ch; margin-top: 1.75rem;
}

/* The sequence rule: the organising device of the page. */
.sequence { margin-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid rgba(255,255,255,0.22); padding-top: 1rem; }
.sequence ol { display: flex; flex-wrap: wrap; gap: 0 clamp(1.25rem, 4vw, 3.5rem); list-style: none; margin: 0; padding: 0; }
.sequence li { position: relative; padding-top: 1rem; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em; color: #cfd3df; }
.sequence li::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 1px; height: 0.7rem; background: var(--slate);
}
.sequence li:first-child { color: var(--white); }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.04em; padding: 0.85rem 1.6rem; border: 1px solid transparent;
}
.btn-primary { background: var(--slate); color: var(--ink); }
.btn-primary:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--slate); color: var(--slate); }
.on-white .btn-ghost { border-color: var(--structure); color: var(--ink); }
.on-white .btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* ── Evidence ─────────────────────────────────────────── */
.evidence { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2.5rem; }
.evidence div { padding: 1.75rem 1.5rem 1.75rem 0; border-top: 1px solid rgba(255,255,255,0.22); }
.evidence .fig { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 200; line-height: 1; display: block; }
.evidence p { font-size: 0.95rem; margin: 0.9rem 0 0; max-width: 30ch; }
.evidence cite { display: block; margin-top: 0.8rem; font-size: 0.75rem; font-style: normal; color: #8e95ad; max-width: 32ch; }

/* ── Spine: the method and anything sequential ────────── */
.spine { list-style: none; margin: 2.5rem 0 0; padding: 0; position: relative; }
.spine::before { content: ""; position: absolute; left: 0; top: 0.55rem; bottom: 0.55rem; width: 1px; background: var(--light); }
.spine > li { position: relative; padding: 0 0 2rem 2.25rem; }
.spine > li:last-child { padding-bottom: 0; }
.spine > li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 0.95rem; height: 1px; background: var(--structure);
}
.spine h3 { margin-bottom: 0.4rem; }
.spine p { margin: 0; color: var(--body); }

/* ── Columns ──────────────────────────────────────────── */
.cols { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 3rem; }
.col { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.col h3 { margin-bottom: 0.75rem; }
.col p { color: var(--body); font-size: 1rem; }
.col ul { margin: 0.9rem 0 0; padding-left: 1.1rem; color: var(--body); font-size: 1rem; }
.col li { margin-bottom: 0.4rem; }
.col.accent { border-top-color: var(--slate); }

.lede { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); font-weight: 300; max-width: 46ch; color: var(--ink); }

/* ── Outcomes ─────────────────────────────────────────── */
.outcomes { width: 100%; border-collapse: collapse; margin-top: 2.5rem; font-size: 0.97rem; }
.outcomes th, .outcomes td { text-align: left; padding: 1.1rem 1rem 1.1rem 0; border-bottom: var(--rule); vertical-align: top; }
.outcomes th { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--structure); border-bottom-color: var(--structure); }
.outcomes td:last-child { color: var(--body); }

/* ── Proof ────────────────────────────────────────────── */
.proof { border-left: 2px solid var(--slate); padding-left: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.proof dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.5rem 2rem; margin: 2rem 0 0; }
.proof dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--structure); margin-bottom: 0.4rem; }
.proof dd { margin: 0; font-size: 0.97rem; }
.proof-sub { font-size: 1rem; font-weight: 600; margin: 1.75rem 0 0.6rem; color: var(--structure); }
.proof-list { margin: 0; padding-left: 1.1rem; max-width: 60ch; }
.proof-list li { margin-bottom: 0.45rem; }

/* ── Engagements ──────────────────────────────────────── */
.engage { display: grid; gap: 1px; background: var(--light); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 3rem; border: 1px solid var(--light); }
.engage > div { background: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem); }
.engage .term { font-size: 0.8rem; color: var(--structure); font-weight: 600; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.engage h3 { margin-bottom: 0.6rem; }
.engage p { font-size: 1rem; color: var(--body); margin: 0; }

/* ── Team ─────────────────────────────────────────────── */
.team .name { font-weight: 500; display: block; }
.team .role { color: var(--grey); font-size: 0.92rem; }

/* ── Booking form ─────────────────────────────────────── */
.booking { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 58rem) { .booking { grid-template-columns: 0.9fr 1.1fr; } }
form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: var(--structure); }
input, select, textarea {
  font: inherit; font-size: 0.97rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--light); border-radius: 0; padding: 0.75rem 0.85rem; width: 100%;
}
input:hover, select:hover, textarea:hover { border-color: var(--structure); }
textarea { min-height: 7rem; resize: vertical; }
.hint { font-size: 0.875rem; color: var(--grey); margin: 0; }
button[type="submit"] {
  font: inherit; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  background: var(--ink); color: var(--white); border: 0; padding: 0.95rem 1.6rem;
  cursor: pointer; justify-self: start;
}
button[type="submit"]:hover { background: var(--structure); }
.form-status { margin: 0; font-size: 0.92rem; color: var(--structure); min-height: 1.4em; }
.contact-direct { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.contact-direct a { color: var(--ink); }

/* ── Footer ───────────────────────────────────────────── */
footer { background: var(--ink); color: #cfd3df; padding-block: clamp(3rem, 6vw, 4.5rem); font-size: 0.9rem; }
footer img { height: 30px; width: auto; margin-bottom: 1.75rem; }
.foot-grid { display: grid; gap: 2rem clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
footer h2 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); margin-bottom: 1rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 0.5rem; }
footer a { color: #cfd3df; text-decoration: none; border-bottom: 1px solid transparent; }
footer a:hover { color: var(--white); border-bottom-color: var(--slate); }
footer p { max-width: 38ch; }
.colophon { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.8rem; color: #8e95ad; }
.colophon p { max-width: none; margin: 0 0 0.5em; }

/* ── Policy pages ─────────────────────────────────────── */
.doc { padding-block: clamp(3rem, 7vw, 5.5rem); }
.doc .wrap { width: min(100%, 48rem); }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); margin-bottom: 0.75rem; }
.doc .updated { color: var(--grey); font-size: 0.9rem; margin-bottom: 3rem; }
.doc h2 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); margin: 2.75rem 0 0.9rem; }
.doc h3 { margin: 1.75rem 0 0.5rem; }
.doc ul, .doc ol { max-width: var(--measure); color: var(--ink); padding-left: 1.2rem; }
.doc li { margin-bottom: 0.5rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 0.8rem 1rem 0.8rem 0; border-bottom: var(--rule); vertical-align: top; }
.doc th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--structure); }
.back { display: inline-block; margin-bottom: 2rem; font-size: 0.85rem; color: var(--structure); text-decoration: none; border-bottom: 1px solid var(--light); }
.back:hover { border-bottom-color: var(--structure); }
.todo { background: #fbfbf7; border-left: 2px solid var(--slate); padding: 1rem 1.25rem; font-size: 0.92rem; color: var(--grey); }
.todo p { margin: 0; max-width: none; }

/* Inner page hero */
.page-hero { padding-block: clamp(3.5rem, 9vw, 6.5rem); position: relative; overflow: clip; }
.page-hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); max-width: 20ch; }
.page-hero .standfirst { font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem); font-weight: 300; color: #cfd3df; max-width: 56ch; margin-top: 1.5rem; }

/* Current page in the navigation */


/* Text links that lead on to another page */
.more { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: 0.9rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--slate); padding-bottom: 2px; }
.more:hover { border-bottom-color: var(--ink); }
.on-ink .more { color: var(--white); }

/* LinkedIn band */
.linkedin { border-top: var(--rule); border-bottom: var(--rule); }
.linkedin .wrap { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0,1fr); }
@media (min-width: 52rem) { .linkedin .wrap { grid-template-columns: 1.2fr 1fr; } }
.linkedin h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.linkedin p { color: var(--body); margin: 0.9rem 0 0; }
.li-links { display: grid; gap: 0.75rem; }
.li-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); border: 1px solid var(--light); padding: 1rem 1.25rem; }
.li-link:hover { border-color: var(--ink); }
.li-link strong { font-weight: 600; display: block; }
.li-link span { color: var(--body); font-size: 0.88rem; }
.li-link em { font-style: normal; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--structure); white-space: nowrap; }

/* Closing call to action */
.cta-band h2 { max-width: 18ch; }
.cta-band p { margin-top: 1rem; }
footer .tagline { color: var(--white); font-weight: 300; font-size: 1.1rem; max-width: 30ch; }

/* Find your starting point: click-through decision tree */
.fit { margin-top: 2.5rem; max-width: 46rem; }
.fit-card { border-left: 2px solid var(--slate); padding: 0.25rem 0 0.25rem clamp(1.25rem, 3vw, 2.5rem); }
.fit-card .term { font-size: 0.8rem; color: var(--structure); font-weight: 600; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.fit-card h3 { margin-bottom: 1.25rem; }
.fit-card h3:focus { outline: none; }
.fit-card > p { color: var(--body); max-width: 52ch; margin-bottom: 1.5rem; }
.fit-options { display: grid; gap: 0.75rem; }
.fit-option { text-align: left; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--light); padding: 1rem 1.25rem; cursor: pointer; transition: border-color .15s, background .15s; }
.fit-option:hover { border-color: var(--structure); background: #fbfbfb; }
.fit-nav { margin-top: 1.25rem; }
.fit-back { font: inherit; font-size: 0.9rem; background: none; border: 0; padding: 0; color: var(--structure); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fit .btn-primary { background: var(--ink); color: var(--white); }
.fit .btn-primary:hover { background: var(--structure); }
@media (prefers-reduced-motion: reduce) { .fit-option { transition: none; } }

/* Home: one screen of hero, then one row of doors into the site */
.explore { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.tiles { display: grid; gap: 1px; background: var(--light); border: 1px solid var(--light); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.tile {
  display: flex; flex-direction: column; gap: 0.6rem; background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.25rem); text-decoration: none; color: var(--ink);
  border-top: 2px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.tile:hover, .tile:focus-visible { border-top-color: var(--slate); background: #fbfbfb; }
.tile-k { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: var(--structure); }
.tile-h { font-size: 1.2rem; font-weight: 400; line-height: 1.3; }
.tile-p { font-size: 0.95rem; color: var(--body); }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }

/* Team: photo, role and a short bio for each person */
.team { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); margin-top: 3rem; }
.person { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.5rem; align-items: start; border-top: var(--rule); padding-top: 1.5rem; }
.person .pic img, .person .mono { width: 7.5rem; height: 7.5rem; display: block; object-fit: cover; }
.person .pic img { filter: grayscale(1); }
.person .pic img.mark { filter: none; }
.person .mono { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--slate); font-size: 2.5rem; font-weight: 200; }
.person h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.person .role { color: var(--structure); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; margin: 0 0 0.75rem; }
.person p { font-size: 1rem; color: var(--body); max-width: 52ch; }
.person .li { display: inline-block; margin-top: 0.75rem; font-size: 0.85rem; color: var(--structure); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 30rem) { .person { grid-template-columns: 5rem 1fr; gap: 1rem; } .person .pic img, .person .mono { width: 5rem; height: 5rem; } }

/* Associate network: join link and application form */
.person .join { display: inline-block; margin-top: 1rem; font-size: 0.92rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--slate); padding-bottom: 2px; }
.person .join:hover { border-bottom-color: var(--ink); }
.checks { border: 0; padding: 0; margin-inline: 0; }
.checks legend { font-size: 0.85rem; font-weight: 600; color: var(--structure); margin-bottom: 0.6rem; padding: 0; }
.checks label, .consent { display: flex; gap: 0.6rem; align-items: center; font-size: 0.95rem; color: var(--ink); margin-bottom: 0.5rem; font-weight: 400; }
.checks input, .consent input { width: auto; accent-color: var(--ink); }
.consent { margin: 0.5rem 0 1.25rem; }
.opt { font-weight: 400; color: var(--grey); }
.hp { position: absolute; left: -9999px; }

/* Direct diary booking on the contact page */
.book-direct { border-left: 2px solid var(--slate); padding-left: clamp(1.25rem, 3vw, 2rem); margin-bottom: 2.5rem; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--structure); color: var(--white); }

/* ══ Site refresh, December 2026 ════════════════════════════ */

/* Skip link for keyboard users */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--slate); color: var(--ink); padding: 0.6rem 1rem; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* Mobile: keep the S watermark clear of the hero text */
@media (max-width: 40rem) {
  .hero::after { width: 70vw; right: -22%; top: auto; bottom: -12%; transform: none; opacity: 0.22; }
}

/* Layout helpers that replace inline styles */
.h-narrow { max-width: 24ch; }
.h-small { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.tint { background: #f7f7f5; }
.lede { margin-top: 1.25rem; }
.narrow { width: min(100%, 50rem); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 60rem) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); } }
.on-ink .col { border-top-color: var(--slate); }
.on-ink .col h3 { color: var(--white); }
.on-ink .col p { color: #cfd3df; }
.more { margin-top: 2rem; }
.case-note, .ways-note { margin-top: 1.75rem; max-width: 70ch; }

/* Split section: heading left, content right */
.split { display: grid; gap: clamp(1.5rem, 4vw, 4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 58rem) { .split { grid-template-columns: 0.9fr 1.1fr; } }
.split h2 { max-width: 18ch; }
.prose p { color: var(--body); }
.sub { font-size: 1rem; font-weight: 600; color: var(--structure); margin: 1.75rem 0 0.75rem; letter-spacing: 0.01em; }
.ticks { list-style: none; padding: 0; margin: 0; max-width: 56ch; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.8rem; height: 2px; background: var(--slate); }

/* Credentials strip */
.creds { padding-block: clamp(2rem, 4vw, 3rem); border-bottom: var(--rule); }
.creds .label { margin-bottom: 1rem; }
.firms { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2.25rem; }
.firms li { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); font-weight: 500; color: var(--structure); letter-spacing: 0.02em; }

/* When people call us: six items, three by two */
.triggers { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule); }
.triggers li { padding: 1.5rem 1.75rem 1.75rem 0; border-bottom: var(--rule); }
.triggers h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.5rem; line-height: 1.3; }
.triggers p { margin: 0; color: var(--body); font-size: 0.97rem; }
@media (max-width: 60rem) { .triggers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .triggers { grid-template-columns: minmax(0, 1fr); } }

/* Service cards: four across, two by two on tablets */
.svc-grid { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--light); border: 1px solid var(--light); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc { background: var(--white); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; border-top: 2px solid var(--ink); position: relative; }
.svc:hover { border-top-color: var(--slate); }
.svc-k { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--structure); margin: 0 0 0.75rem; }
.svc h3, .svc h2 { font-size: 1.3rem; font-weight: 400; line-height: 1.25; margin-bottom: 0.75rem; }
.svc h3 a, .svc h2 a { text-decoration: none; color: var(--ink); }
.svc h3 a::after, .svc h2 a::after { content: ""; position: absolute; inset: 0; }
.svc h3 a:hover, .svc h2 a:hover { text-decoration: underline; text-decoration-color: var(--slate); text-underline-offset: 4px; }
.svc p { color: var(--body); font-size: 0.97rem; margin-bottom: 1rem; }
.svc ul { margin: auto 0 0; padding: 1rem 0 0; list-style: none; border-top: var(--rule); }
.svc li { font-size: 0.9rem; color: var(--structure); padding: 0.2rem 0; }
@media (max-width: 64rem) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.nf { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* Method: five steps as a sequence */
.flow { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.flow li { position: relative; padding: 2.25rem 1.5rem 0 0; }
.flow li::before { content: ""; position: absolute; top: 0.55rem; left: 0; right: 0; height: 1px; background: var(--structure); }
.flow li::after { content: ""; position: absolute; top: 0.2rem; left: 0; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--slate); box-shadow: 0 0 0 4px var(--white); }
.tint .flow li::after { box-shadow: 0 0 0 4px #f7f7f5; }
.flow li:last-child::before { right: 1.5rem; }
.flow .n { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; color: var(--structure); margin-bottom: 0.35rem; }
.flow h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.flow p { color: var(--body); font-size: 0.95rem; margin: 0; }
.flow-short h3 { margin-bottom: 0; }
@media (max-width: 52rem) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li { padding: 0 0 1.75rem 2.25rem; }
  .flow li::before { top: 0.7rem; bottom: 0; left: 0.35rem; right: auto; width: 1px; height: auto; }
  .flow li:last-child::before { display: none; }
  .flow li::after { top: 0.35rem; }
  .flow-short li { padding-bottom: 1.1rem; }
}

/* Adoption: five rising steps */
.stairs { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; align-items: end; }
.stairs li { background: var(--white); border: 1px solid var(--light); border-top: 3px solid var(--structure); padding: 1.25rem; }
.stairs .s1 { min-height: 9rem; } .stairs .s2 { min-height: 11rem; } .stairs .s3 { min-height: 13rem; } .stairs .s4 { min-height: 15rem; }
.stairs .s5 { min-height: 17rem; background: var(--ink); border-color: var(--ink); border-top-color: var(--slate); }
.stairs .s5 h3 { color: var(--white); } .stairs .s5 p { color: #cfd3df; }
.stairs h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.stairs p { font-size: 0.92rem; color: var(--body); margin: 0; }
@media (max-width: 52rem) { .stairs { grid-template-columns: minmax(0, 1fr); } .stairs li { min-height: 0 !important; } }
.measures { margin-top: 2.5rem; border-left: 2px solid var(--slate); padding-left: clamp(1.25rem, 3vw, 2rem); }
.measures ul { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; list-style: none; padding: 0; margin: 0.75rem 0 1rem; font-weight: 500; }
.measures p { color: var(--body); }

/* Governance: one line of sight */
.los { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .los { grid-template-columns: 1.4fr 1fr; } }
.los-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.los-stack li { background: var(--white); border: 1px solid var(--light); border-left: 3px solid var(--structure); padding: 1rem 1.25rem; position: relative; }
.los-stack li:first-child { background: var(--ink); border-color: var(--ink); border-left-color: var(--slate); }
.los-stack li:first-child h3 { color: var(--white); } .los-stack li:first-child p { color: #cfd3df; }
.los-stack h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.2rem; }
.los-stack p { margin: 0; font-size: 0.92rem; color: var(--body); }
.los-side { border-left: 2px solid var(--slate); padding-left: 1.5rem; font-size: 1.1rem; font-weight: 300; color: var(--ink); }
.los-side strong { font-weight: 600; display: block; margin-bottom: 0.25rem; }

/* Post-merger integration phases */
.phases { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--light); border: 1px solid var(--light); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phases li { background: var(--white); padding: 1.5rem; }
.phases .term { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: var(--structure); margin-bottom: 0.5rem; }
.phases h3 { margin-bottom: 0.6rem; }
.phases p:last-child { color: var(--body); font-size: 0.95rem; margin: 0; }
@media (max-width: 60rem) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .phases { grid-template-columns: minmax(0, 1fr); } }

/* Capability blocks: three by three */
.caps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.caps li { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.caps h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.45rem; line-height: 1.3; }
.caps p { margin: 0; color: var(--body); font-size: 0.97rem; }
@media (max-width: 60rem) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .caps { grid-template-columns: minmax(0, 1fr); } }

/* Services overview: three tracks with value creation running beneath */
.tracks { display: grid; gap: 1px; background: var(--light); border: 1px solid var(--light); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.5rem; }
.track { background: var(--white); padding: clamp(1.5rem, 2.5vw, 2rem); border-top: 2px solid var(--ink); }
.track h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.track h3 a, .track-band h3 a { color: var(--ink); text-decoration-color: var(--slate); text-underline-offset: 4px; }
.track ul { list-style: none; padding: 0; margin: 0; }
.track li { padding: 0.45rem 0; border-top: var(--rule); color: var(--body); font-size: 0.97rem; }
.track-band { display: grid; gap: 1rem 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; background: var(--ink); color: var(--white); padding: clamp(1.5rem, 2.5vw, 2rem); margin-top: 1px; border-top: 2px solid var(--slate); }
@media (min-width: 52rem) { .track-band { grid-template-columns: 1fr 2fr; } }
.track-band .svc-k { color: var(--slate); }
.track-band h3 { font-size: 1.3rem; }
.track-band h3 a { color: var(--white); }
.track-band p { margin: 0; color: #cfd3df; }
@media (max-width: 52rem) { .tracks { grid-template-columns: minmax(0, 1fr); } }

/* In-page jump links */
.jump { background: var(--white); border-bottom: var(--rule); position: sticky; top: 72px; z-index: 40; }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem 1.75rem; overflow-x: auto; white-space: nowrap; }
.jump a { display: block; padding: 0.95rem 0; font-size: 0.88rem; font-weight: 600; color: var(--structure); text-decoration: none; border-bottom: 2px solid transparent; }
.jump a:hover { color: var(--ink); border-bottom-color: var(--slate); }
section[id] { scroll-margin-top: 8rem; }

/* Ways to work together: four comparable options */
.engage { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.engage > div { position: relative; display: flex; flex-direction: column; }
.engage dl { margin: auto 0 0; padding-top: 1.25rem; border-top: var(--rule); margin-top: 1.25rem; font-size: 0.9rem; }
.engage dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--structure); }
.engage dd { margin: 0.15rem 0 0.75rem; color: var(--ink); }
.engage .is-start { border-top: 3px solid var(--slate); }
.engage .flag { display: inline-block; align-self: flex-start; background: var(--slate); color: var(--ink); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; padding: 0.25rem 0.6rem; margin-bottom: 0.9rem; }
@media (max-width: 64rem) { .engage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .engage { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { margin-top: 2rem; max-width: 52rem; border-top: var(--rule); }
.faq details { border-bottom: var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-size: 1.08rem; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.95rem; font-size: 1.5rem; font-weight: 300; color: var(--structure); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--body); margin: 0 0 1.25rem; padding-right: 2.5rem; }

/* Named contact card */
.contact-card-wrap { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: var(--rule); }
.contact-card { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.contact-card img { width: 7.5rem; height: 7.5rem; object-fit: cover; filter: grayscale(1); }
.contact-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.contact-card .role { color: var(--structure); font-weight: 600; font-size: 0.9rem; margin: 0.25rem 0 0.75rem; }
.contact-card p { color: var(--body); }
.contact-card .actions { margin-top: 1.25rem; }
.btn-line { border-color: var(--light); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
@media (max-width: 36rem) { .contact-card { grid-template-columns: minmax(0, 1fr); } }

/* Case teasers and insight cards */
.case-grid { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.case-teaser { background: var(--white); border: 1px solid var(--light); border-left: 3px solid var(--slate); padding: clamp(1.5rem, 3vw, 2.25rem); position: relative; }
.case-teaser .label { margin-bottom: 0.75rem; }
.case-teaser h3, .case-teaser h2 { font-size: 1.35rem; font-weight: 400; line-height: 1.3; margin-bottom: 0.75rem; }
.case-teaser a { color: var(--ink); text-decoration: none; }
.case-teaser a::after { content: ""; position: absolute; inset: 0; }
.case-teaser:hover { border-color: var(--structure); border-left-color: var(--slate); }
.case-teaser p:last-child { margin: 0; color: var(--body); }
.insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 60rem) { .insight-grid { grid-template-columns: minmax(0, 1fr); } }

/* Case studies page */
.proof { margin-top: 0; }
.proof + .proof { margin-top: clamp(3.5rem, 7vw, 5rem); }
.proof h2 { max-width: 26ch; }
.case-body { display: grid; gap: 0.5rem 3rem; grid-template-columns: minmax(0, 1fr); margin-top: 0.5rem; }
@media (min-width: 58rem) { .case-body { grid-template-columns: 1fr 1fr; } }
.case-body p { color: var(--body); }
.proof dl > div { min-width: 0; }

/* Team row on the home page */
.team-row { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.75rem 1.25rem; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.team-row img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); display: block; margin-bottom: 0.75rem; }
.team-row strong { display: block; font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.team-row span { display: block; font-size: 0.85rem; color: var(--body); line-height: 1.35; margin-top: 0.2rem; }
@media (max-width: 60rem) { .team-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Tools band on the home page */
.tools-band { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: var(--rule); }
.tools-band .wrap { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.tool { display: grid; gap: 0.4rem; text-decoration: none; color: var(--ink); border: 1px solid var(--light); padding: 1.5rem 1.75rem; transition: border-color .15s ease; }
.tool .label { margin: 0; }
.tool strong { font-size: 1.25rem; font-weight: 400; }
.tool span:last-child { color: var(--body); font-size: 0.95rem; }
.tool:hover { border-color: var(--ink); }

/* Readiness check */
.ready { gap: 0; }
.rq { border: 0; border-bottom: var(--rule); margin: 0; padding: 1.25rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; }
.rq legend { float: left; width: 100%; font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 0.75rem; letter-spacing: 0; }
.rq legend .n { color: var(--structure); font-weight: 600; font-size: 0.85rem; margin-right: 0.5rem; }
.rq label { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.97rem; font-weight: 400; color: var(--ink); letter-spacing: 0; border: 1px solid var(--light); padding: 0.55rem 0.9rem; cursor: pointer; }
.rq label:hover { border-color: var(--structure); }
.rq input { width: auto; accent-color: var(--ink); }
.ready button[type="submit"] { margin-top: 1.75rem; }
.r-result { margin: 2.5rem 0; border-left: 3px solid var(--slate); padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.r-result:focus { outline: none; }
.r-score { font-size: 1.1rem; font-weight: 600; color: var(--structure); margin-top: 0.5rem; }
#r-score { font-size: 2.5rem; font-weight: 300; color: var(--ink); }
.r-result p { color: var(--body); }
.r-send { margin-top: 2.5rem; padding-top: 2rem; border-top: var(--rule); max-width: 32rem; }

/* Checklist page */
.chk-grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 52rem) { .chk-grid { grid-template-columns: minmax(0, 1fr); } }
.chk-group h2 { font-size: 1.5rem; border-top: 2px solid var(--ink); padding-top: 1rem; margin-bottom: 1rem; }
.chk { list-style: none; padding: 0; margin: 0; }
.chk li { position: relative; padding: 0.55rem 0 0.55rem 2rem; border-bottom: var(--rule); color: var(--ink); }
.chk li::before { content: ""; position: absolute; left: 0; top: 0.8rem; width: 1rem; height: 1rem; border: 1.5px solid var(--structure); }

/* Articles */
.article { max-width: 44rem; }
.article h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); margin: 2.25rem 0 0.75rem; }
.article p { color: var(--ink); font-size: 1.05rem; }
.byline { color: var(--structure) !important; font-size: 0.9rem !important; font-weight: 600; }

/* Contact: what happens next */
.next-steps { margin-bottom: 2.5rem; }
.next-steps h2, .book-direct h2 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.next-steps ol { margin: 0; padding-left: 1.2rem; color: var(--body); }
.next-steps li { margin-bottom: 0.75rem; }
.next-steps strong { color: var(--ink); font-weight: 600; }
.book-direct p { color: var(--body); max-width: 40ch; }
.book-direct .hint { margin-top: 1rem; }
.contact-direct p { margin-bottom: 0.5rem; }
.assoc-mark { display: block; margin-bottom: 1.5rem; }

/* Footer: five columns on desktop */
.foot-grid { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.evidence cite a { color: inherit; }
.evidence-sec { padding-top: clamp(3rem, 6vw, 5rem); }
.fit-alt { margin-top: 1.5rem; }
.tint .hint { color: var(--body); }

/* Alignment polish */
.firms { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.75rem 1.5rem; }
@media (max-width: 64rem) { .firms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .firms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@supports (grid-template-rows: subgrid) {
  .svc-grid { grid-auto-rows: auto; }
  .svc { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .svc ul { margin-top: 0; }
}
@media (min-width: 64rem) { .foot-grid { grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); } }
.firms { gap: 0.75rem 1rem; } .firms li { white-space: nowrap; font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem); }
