/* Alliotts homepage concept. Brand: "Accountancy, With Finesse."
   Palette from the logo: ink #2C2A29 and the firm's own off-white #FDFBF4.
   One accent, Gresham green, named for 2 Gresham Buildings where the firm began in 1869. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/case-studies/concepts/alliotts/assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/case-studies/concepts/alliotts/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("/case-studies/concepts/alliotts/assets/fonts/albert-sans-latin-var.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
}
/* Metric-matched fallbacks so the swap does not shift the layout */
@font-face {
  font-family: "Serif Fallback";
  src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Times");
  size-adjust: 82.1%; ascent-override: 120.6%; descent-override: 37.8%; line-gap-override: 0%;
}
@font-face {
  font-family: "Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 103.7%; ascent-override: 91.6%; descent-override: 24.1%; line-gap-override: 0%;
}

:root {
  --ink: #2c2a29;
  --ink-soft: #45413e;
  --muted: #5d5852;
  --paper: #fdfbf4;
  --stone: #f3efe4;
  --stone-2: #ebe5d6;
  --line: #d8d0bf;
  --line-strong: #b9b09c;
  --green: #2d5546;
  --green-deep: #21423a;
  --green-tint: #e3eae2;
  --on-dark: #fdfbf4;
  --on-dark-muted: #cfc8b8;
  --on-dark-line: rgba(253, 251, 244, 0.18);
  --serif: "Instrument Serif", "Serif Fallback", "Times New Roman", serif;
  --sans: "Albert Sans", "Sans Fallback", Arial, Helvetica, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--on-dark); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 148px) 0; position: relative; }
.section--stone { background: var(--stone); }
.dark { background: var(--ink); color: var(--on-dark); }

/* Type */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; color: var(--green);
  margin: 0 0 22px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .kicker { color: var(--on-dark-muted); }
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.012em;
  max-width: 16ch;
}
.h2 em, .h1 em { font-style: italic; }
.h3 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.08; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 40ch; }
.h2 + .lede { margin-top: 28px; }
.dark .lede { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 64px; }
  .section-head--split .lede { justify-self: end; }
}

/* The fine line: a hairline that draws itself in */
.fine-line { display: block; height: 1px; background: currentColor; transform-origin: left center; opacity: 0.9; }
.js .fine-line { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .is-in .fine-line, .js .fine-line.is-in { transform: scaleX(1); }

/* Corner frame, after the stacked "corner" lock-up of the logo */
.corner { position: relative; }
.corner::before, .corner::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none;
  border-color: var(--ink); border-style: solid;
}
.corner::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.corner::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--ghost-light { border-color: var(--on-dark-line); color: var(--on-dark); }
.btn .arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .btn--primary:hover { background: var(--green-deep); }
  .btn--ghost:hover { background: var(--ink); color: var(--paper); }
  .btn--light:hover { background: var(--stone-2); }
  .btn--ghost-light:hover { border-color: var(--on-dark); }
  .btn:hover .arrow { transform: translateX(4px); }
}
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (hover: hover) { .text-link:hover { color: var(--green); } .dark .text-link:hover { color: var(--paper); text-decoration-thickness: 2px; } }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(253, 251, 244, 0.94);
  border-bottom: 1px solid transparent;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: 0.9688rem; font-weight: 500; padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 600; text-decoration: none; font-size: 0.9688rem; white-space: nowrap; }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.menu-btn {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: transparent;
  border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 20px; height: 1px; background: var(--ink); position: relative; transition: background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 1100px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { width: 132px; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
    padding: 28px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .mobile-menu ul a { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1.15; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { width: 100%; margin-top: 28px; }
  .mobile-menu .mm-phones { margin-top: 24px; display: grid; gap: 6px; font-weight: 600; }
  .mobile-menu .mm-phones a { text-decoration: none; }
  body.menu-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  /* faint ledger columns */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(to right, transparent calc(33.333% - 0.5px), var(--line) calc(33.333% - 0.5px), var(--line) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px)),
    linear-gradient(to right, transparent calc(66.666% - 0.5px), var(--line) calc(66.666% - 0.5px), var(--line) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}
@media (max-width: 760px) { .hero::before { display: none; } }
.hero-grid { position: relative; display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
.hero-grid > *, .contact-grid > *, .faq-grid > *, .story-grid > *, .expertise-grid > *, .voices-grid > * { min-width: 0; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr); } }
.hero .kicker { margin-bottom: 26px; }
.h1 {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 9.6vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0 0 30px;
}
.h1 .line { display: block; }
.h1 em { position: relative; display: inline-block; padding-right: 0.06em; }
.h1 em .fine-line { position: absolute; left: 0.02em; right: 0.08em; bottom: 0.02em; height: 2px; color: var(--green); }
.hero .lede { max-width: 34em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 18px 0 0; font-size: 0.9375rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.hero-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--green); }

/* Router */
.router { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 34px); box-shadow: 0 30px 60px -40px rgba(44, 42, 41, 0.35); }
.router-title { font-family: var(--serif); font-size: 2rem; line-height: 1.05; margin: 0 0 6px; }
.router-sub { color: var(--muted); font-size: 0.9688rem; margin: 0 0 20px; }
.router-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.router-tab {
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px;
  padding: 9px 15px; font-size: 0.9063rem; font-weight: 500; cursor: pointer; line-height: 1.2;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.router-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (hover: hover) { .router-tab:not([aria-selected="true"]):hover { border-color: var(--ink); } }
.router-panel { border-top: 1px solid var(--line); padding-top: 22px; }
.router-panel[hidden] { display: none; }
.router-panel h3 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; margin: 0 0 10px; }
.router-panel p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 14px; }
.ticks { display: grid; gap: 9px; margin: 0 0 20px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.9688rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 14px; height: 1px; background: var(--green); }
.ticks li::after { content: ""; position: absolute; left: 13px; top: calc(0.6em - 4px); width: 1px; height: 5px; background: var(--green); }
.led-by { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 0.9063rem; color: var(--muted); }
.avatars { display: flex; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--paper); object-fit: cover; background: var(--stone-2); }
.avatars img + img { margin-left: -10px; }
.router-panel .btn { width: 100%; white-space: normal; text-align: center; padding: 12px 20px; line-height: 1.3; }

/* Proof band */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-item { padding: clamp(26px, 3.4vw, 40px) clamp(10px, 2vw, 28px); border-left: 1px solid var(--line); }
.proof-item:nth-child(odd) { border-left: 0; padding-left: 0; }
.proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
.proof-num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; display: block; margin-bottom: 8px; }
.proof-label { font-size: 0.9375rem; color: var(--muted); line-height: 1.45; display: block; max-width: 22ch; }
@media (min-width: 900px) {
  .proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof-item:nth-child(odd) { border-left: 1px solid var(--line); padding-left: clamp(10px, 2vw, 28px); }
  .proof-item:first-child { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 0; }
}

/* Credentials ribbon */
.creds { padding: 36px 0; }
.creds-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
@media (min-width: 760px) { .creds-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .creds-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 32px; } }
.creds-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 0.9063rem; color: var(--muted); line-height: 1.4; }
.creds-logo { height: 40px; display: flex; align-items: center; }
.creds-list img { height: 30px; width: auto; }
.creds-list .icaew { height: 40px; }
.creds-list strong { color: var(--ink); font-weight: 600; display: block; }
.creds-mark { width: 30px; height: 30px; flex: 0 0 auto; color: var(--green); }

/* Why / manifesto */
.manifesto-quote { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.015em; max-width: 15ch; margin: 0 0 30px; }
.manifesto-line { color: var(--green); max-width: 560px; margin: 0 0 40px; }
.manifesto-copy { display: grid; gap: 24px 64px; margin-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .manifesto-copy { grid-template-columns: 1fr 1fr; } }
.manifesto-copy p { font-size: 1.125rem; color: var(--ink-soft); }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 34px 0 10px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pillar { padding: 38px 36px 10px 0; border-bottom: 0; } .pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); } }
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--green); display: block; margin-bottom: 18px; }
.pillar h3 { font-family: var(--serif); font-size: 2rem; line-height: 1.05; margin-bottom: 14px; }
.pillar p { color: var(--ink-soft); }

/* Expertise */
.expertise-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .expertise-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.ex-col { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 3.5vw, 48px); }
.ex-col-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.ex-col h3 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.02; }
.ex-col > p { color: var(--ink-soft); margin: 10px 0 28px; max-width: 46ch; }
.ex-group { border-top: 1px solid var(--line); padding: 22px 0 6px; }
.ex-group h4 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; }
.ex-group h4 a { text-decoration: none; }
.ex-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ex-links a {
  display: inline-block; text-decoration: none; font-size: 0.9063rem; line-height: 1.2;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
@media (hover: hover) { .ex-links a:hover { border-color: var(--ink); background: var(--stone); } .ex-group h4 a:hover { color: var(--green); } }
.ex-count { font-family: var(--serif); font-style: italic; color: var(--green); font-size: 1.125rem; white-space: nowrap; }

/* Sectors (dark) */
.sector-grid { display: grid; gap: 1px; background: var(--on-dark-line); border: 1px solid var(--on-dark-line); }
@media (min-width: 900px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
.sector { background: var(--ink); padding: clamp(28px, 3.8vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.sector-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.sector h3 { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; }
.sector-stat { text-align: right; flex: 0 0 auto; }
.sector-stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; font-weight: 400; }
.sector-stat span { display: block; font-size: 0.8125rem; color: var(--on-dark-muted); max-width: 15ch; margin-left: auto; line-height: 1.35; margin-top: 4px; }
@media (max-width: 560px) {
  .sector-top { flex-direction: column; gap: 14px; }
  .sector-stat { text-align: left; }
  .sector-stat span { margin-left: 0; max-width: none; }
}
.sector p { color: var(--on-dark-muted); margin: 0; }
.sector .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sector .tags li { font-size: 0.8438rem; padding: 6px 11px; border: 1px solid var(--on-dark-line); border-radius: 999px; color: var(--on-dark); }
.sector-credits { font-size: 0.9375rem; color: var(--on-dark-muted); border-top: 1px solid var(--on-dark-line); padding-top: 16px; }
.sector-credits em { color: var(--on-dark); font-style: italic; font-family: var(--serif); font-size: 1.125rem; }
.sector .text-link { margin-top: auto; align-self: flex-start; color: var(--on-dark); }

/* Voices */
.voices-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .voices-grid { grid-template-columns: 1.25fr 1fr; gap: 32px; } }
.voice { margin: 0; padding: clamp(28px, 3.5vw, 44px); border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.voice--lead { background: var(--green-tint); border-color: transparent; grid-row: span 2; }
.voice blockquote { margin: 0 0 26px; font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.18; }
.voice--lead blockquote { font-size: clamp(1.85rem, 3vw, 2.75rem); line-height: 1.1; }
.voice blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; height: 0.4em; color: var(--green); }
.voice figcaption { margin-top: auto; font-size: 0.9375rem; color: var(--muted); }
.voice figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.voices-side { display: grid; gap: 24px; }
@media (min-width: 900px) { .voices-side { gap: 32px; } }

/* Process */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 30px 0 26px; border-bottom: 1px solid var(--line); position: relative; }
@media (min-width: 900px) { .step { padding: 34px 28px 10px 0; border-bottom: 0; } .step + .step { padding-left: 28px; border-left: 1px solid var(--line); } }
.step-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--green); display: block; margin-bottom: 16px; }
.step h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.process-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* People */
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (min-width: 640px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.person { position: relative; }
.person a { text-decoration: none; display: block; }
.person-photo { display: block; aspect-ratio: 8 / 9; overflow: hidden; background: var(--stone-2); margin-bottom: 14px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .person a:hover .person-photo img { transform: scale(1.04); } .person a:hover .person-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; } }
.person-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.05; display: block; }
.person-role { font-size: 0.875rem; color: var(--muted); display: block; margin-top: 4px; line-height: 1.4; }
.person-cta { background: var(--ink); color: var(--on-dark); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; aspect-ratio: auto; }
.person-cta p { font-family: var(--serif); font-size: 1.75rem; line-height: 1.08; margin: 0; }
.person-cta .text-link { color: var(--on-dark); }

/* Story */
.story-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .story-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }
.story-mark { width: min(240px, 60%); margin: 44px 0 0; }
.timeline { border-left: 1px solid var(--line-strong); margin-left: 6px; }
.tl-item { position: relative; padding: 0 0 30px 34px; }
.tl-item::before { content: ""; position: absolute; left: -5px; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.tl-item:first-child::before, .tl-item:last-child::before { background: var(--green); border-color: var(--green); }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--serif); font-size: 2rem; line-height: 1; display: block; margin-bottom: 6px; }
.tl-item h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 4px; }
.tl-item p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.values { margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--ink); padding-top: 34px; }
.values-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 26px; }
.values-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .values-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values-list { grid-template-columns: repeat(5, 1fr); } }
.value { background: var(--stone); padding: 24px 22px; }
.value h4 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.05; margin-bottom: 10px; }
.value p { margin: 0; font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.5; }

/* Insights */
.insight-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .insight-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; } }
.insight { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; }
.insight a { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.insight-meta { font-size: 0.875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.insight-meta span:first-child { color: var(--green); font-weight: 600; }
.insight h3 { font-family: var(--serif); font-size: 1.85rem; line-height: 1.08; margin-bottom: 12px; }
.insight--feature h3 { font-size: clamp(2.1rem, 3vw, 2.7rem); }
.insight p { color: var(--ink-soft); font-size: 1rem; }
.insight .read { margin-top: auto; font-weight: 600; font-size: 0.9375rem; display: inline-flex; gap: 8px; align-items: center; }
.insight .read svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
@media (hover: hover) { .insight a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; } .insight a:hover .read svg { transform: translateX(4px); } }

/* FAQ */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { width: 22px; height: 22px; flex: 0 0 auto; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 0 26px; color: var(--ink-soft); max-width: 62ch; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact { background: var(--ink); color: var(--on-dark); }
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; } }
.next-steps { counter-reset: n; display: grid; gap: 18px; margin: 36px 0 44px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--on-dark-muted); }
.next-steps li::before { content: counter(n); font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--on-dark); }
.next-steps strong { color: var(--on-dark); font-weight: 600; display: block; }
.offices { display: grid; gap: 28px; border-top: 1px solid var(--on-dark-line); padding-top: 30px; }
@media (min-width: 560px) { .offices { grid-template-columns: 1fr 1fr; } }
.office h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 8px; }
.office address { font-style: normal; color: var(--on-dark-muted); font-size: 0.9688rem; line-height: 1.55; margin-bottom: 10px; }
.office a { display: block; text-decoration: none; font-weight: 600; font-size: 0.9688rem; padding: 3px 0; }
@media (hover: hover) { .office a:hover { text-decoration: underline; text-underline-offset: 4px; } }

.form-card { background: var(--paper); color: var(--ink); padding: clamp(26px, 4vw, 48px); position: relative; }
.form-card h3 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.02; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; font-size: 0.9688rem; }
.form-grid { display: grid; gap: 18px 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-size: 0.9063rem; font-weight: 600; margin-bottom: 7px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; font-size: 1rem; line-height: 1.4; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232c2a29' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(45, 85, 70, 0.25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a12a1f; }
.field-error { color: #a12a1f; font-size: 0.875rem; margin-top: 6px; display: none; }
.field.has-error .field-error { display: block; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.9063rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.form-submit .btn { min-width: 220px; }
.form-submit small { color: var(--muted); font-size: 0.875rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.route-note { display: none; background: var(--green-tint); padding: 12px 14px; font-size: 0.9375rem; margin-bottom: 20px; border-left: 2px solid var(--green); }
.route-note.is-on { display: block; }

/* Footer */
.site-footer { background: #1f1d1c; color: var(--on-dark-muted); padding: clamp(64px, 8vw, 96px) 0 40px; font-size: 0.9375rem; }
.footer-top { display: grid; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid var(--on-dark-line); }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 48px; } }
.footer-brand img { width: 230px; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.footer-col h3 { font-family: var(--serif); color: var(--on-dark); font-size: 1.4rem; margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { text-decoration: none; }
@media (hover: hover) { .footer-col a:hover, .footer-legal a:hover, .footer-social a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; } }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; }
.footer-social a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.footer-badges .badge { background: var(--paper); padding: 10px 14px; border-radius: var(--radius); }
.footer-badges img { height: 30px; width: auto; }
.footer-badges .badge--icaew img { height: 36px; }
.footer-legal { padding-top: 30px; display: grid; gap: 18px; font-size: 0.8438rem; line-height: 1.6; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal p { margin: 0; max-width: 110ch; }

/* Floating CTA: pill on laptops, bar on phones */
.float-cta {
  position: fixed; z-index: 40; right: 24px; bottom: 24px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.float-cta.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
.float-pill { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 22px 0 8px; background: var(--ink); color: var(--paper); border-radius: 999px; text-decoration: none; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); }
.float-pill img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
@media (hover: hover) { .float-pill:hover { background: var(--green-deep); } }
.float-bar { display: none; }
@media (max-width: 720px) {
  .float-cta { left: 0; right: 0; bottom: 0; }
  .float-pill { display: none; }
  .float-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1px; background: var(--line-strong); border-top: 1px solid var(--line-strong); padding-bottom: env(safe-area-inset-bottom); }
  .float-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; text-decoration: none; font-weight: 600; font-size: 0.9688rem; background: var(--paper); }
  .float-bar a.primary { background: var(--ink); color: var(--paper); }
  .float-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 58px; }
}

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

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

/* Simple pages */
.simple { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 80px; }
.simple .h1 { font-size: clamp(3rem, 8vw, 6rem); }
.simple .lede { margin-bottom: 30px; }
