/* ==========================================================================
   beatevanlooborn.com — shared stylesheet
   Palette and type from the BvLB brand style guide.
   No framework, no build step, no external requests.
   ========================================================================== */

/* --- Fonts -------------------------------------------------------------
   No webfont is loaded. Headings use the high-contrast serif stack that
   matches the wordmark; body text uses the neo-grotesque stack. Both are
   resident on the reader's machine, so nothing blocks the first paint. */

/* --- Tokens ------------------------------------------------------------ */

:root {
  --navy: #092f66;
  --navy-deep: #061f43;
  --blue: #79a6e7;
  --cream: #ece8e0;
  --cream-warm: #f5f2ec;
  --paper: #fbfaf7;
  --ink: #24272a;
  --ink-soft: #4a4f54;
  --accent: #df5e19;
  --accent-deep: #b8491a;   /* the brand orange, darkened just enough to carry cream text at AA */
  --accent-ink: #ad4416;   /* orange darkened for small text: 4.75:1 on cream */
  --rule: rgba(9, 47, 102, 0.16);

  --display: 'Didot', 'Bodoni 72', 'Playfair Display', 'Cormorant Garamond',
             'Hoefler Text', 'Times New Roman', serif;
  --body: 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont,
          'Segoe UI', Arial, sans-serif;

  --measure: 76ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sp-section: clamp(2.75rem, 5vw, 5rem);
}

/* --- Reset ------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* --- Typography -------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--navy);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; max-width: 22ch; }
h2 { font-size: clamp(1.375rem, 2.1vw, 1.75rem); max-width: 30ch; }
h3 { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); }
h4 { font-size: clamp(1rem, 1.2vw, 1.0625rem); }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: var(--accent);
    text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

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

.lede {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 42ch;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

.muted { color: var(--ink-soft); }

/* Heading and its opening paragraph, side by side once there is room. */

.split-intro { display: grid; gap: clamp(1rem, 3vw, 3rem); align-items: baseline; }

@media (min-width: 1000px) {
  .split-intro { grid-template-columns: 1fr 1fr; }
  .split-intro h2 { margin-bottom: 0; }
}

/* --- Layout ------------------------------------------------------------ */

.wrap {
  width: min(100% - (var(--gutter) * 2), 1120px);
  margin-inline: auto;
}

.wrap--narrow { width: min(100% - (var(--gutter) * 2), 780px); }

section { padding-block: var(--sp-section); }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1.4rem;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; color: #fff; }

/* --- Header ------------------------------------------------------------ */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  min-height: 84px;
  padding-block: 0.75rem;
}

/* Below the wrap point the nav sits under the wordmark rather than
   squeezing it. The logo is long, so it wins the space. */
@media (max-width: 860px) {
  .site-head__inner { justify-content: flex-start; }
  .nav { width: 100%; }
}

.brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  width: clamp(148px, 22vw, 232px);
  height: auto;
}

.foot__logo {
  width: clamp(160px, 22vw, 220px);
  height: auto;
  margin-bottom: 1rem;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--accent); }
.nav a[aria-current='page'] { color: var(--navy); border-bottom-color: var(--accent); }

/* --- Client menu ---------------------------------------------------------
   Opens on hover and on focus-within, so keyboard users reach it with the
   stylesheet alone. script.js adds click-to-toggle for touch. */

.nav__has-sub { position: relative; }

.nav__toggle {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  cursor: pointer;
}

.nav__toggle:hover,
.nav__toggle.is-current,
.nav__toggle[aria-expanded='true'] {
  color: var(--navy);
  border-bottom-color: var(--accent);
}

.nav__caret {
  width: 0.36em;
  height: 0.36em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-0.05em, -0.1em);
  transition: transform 0.15s ease;
}

.nav__toggle[aria-expanded='true'] .nav__caret {
  transform: rotate(225deg) translate(-0.05em, -0.1em);
}

.nav__sub {
  display: block;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  z-index: 60;
  min-width: 16.5rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 14px 34px rgba(9, 47, 102, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub,
.nav__toggle[aria-expanded='true'] + .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__sub li { margin: 0; }

.nav__sub a {
  display: block;
  padding: 0.55rem 1.25rem;
  border-bottom: 0;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.875rem;
  color: var(--ink);
}

.nav__sub a:hover,
.nav__sub a:focus-visible {
  background: var(--cream-warm);
  color: var(--navy);
  border-bottom: 0;
}

.nav__sub a[aria-current='page'] { color: var(--accent-deep); border-bottom: 0; }

/* On a narrow screen the menu drops into the flow rather than floating. */
@media (max-width: 700px) {
  .nav__sub {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.25rem 0;
    background: none;
    border: 0;
    border-left: 2px solid var(--rule);
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__has-sub:hover .nav__sub,
  .nav__has-sub:focus-within .nav__sub,
  .nav__toggle[aria-expanded='true'] + .nav__sub { display: block; }

  .nav__has-sub { flex-basis: 100%; }
  .nav__sub a { padding: 0.45rem 0.9rem; }
}

/* Forced breaks in headings are set for desktop measure. On a narrow screen
   they overflow, so the text is allowed to wrap on its own. */
@media (max-width: 560px) {
  h1 br, h2 br { display: none; }
}

/* --- Section rhythm -----------------------------------------------------
   Most sections carry a full band of space. A few are meant to run on from
   the one above, and those carry .section--tight. Two rules keep that from
   turning into a jam: a tight section never sits flush under a colour band,
   and two tight sections in a row are separated by a hairline instead of by
   nothing at all. */

.section--tight { padding-top: 0; }
.section--flush { padding-block: 0; }

[class*='band--'] + .section--tight { padding-top: var(--sp-section); }

.section--tight + .section--tight > .wrap,
.section--tight + section:not([class]) > .wrap {
  border-top: 1px solid var(--rule);
  padding-top: clamp(2rem, 3.75vw, 3.25rem);
}

/* --- Hero -------------------------------------------------------------- */

.hero {
  padding-block: clamp(2.25rem, 4.5vw, 4rem) clamp(1.75rem, 3vw, 2.5rem);
}

.hero h1 { margin-bottom: 0.35em; }
.hero h1 .liquid { color: var(--accent); }

.hero__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.35fr 1fr; align-items: end; }
}

.hero__figure {
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  max-width: 50rem;
  margin-inline: auto;
}

.hero__figure img { width: 100%; object-fit: cover; }

/* Photographs support the page. They should not own it. */
.hero__figure--wide { max-width: 64rem; }

.hero--full .hero__figure img { aspect-ratio: 21 / 9; }

/* A smaller hero image, sitting left rather than running the full width. */
.hero__figure--half { max-width: 44rem; }
.hero__figure--half img { aspect-ratio: 3 / 2; }

/* Book page opening: photograph beside the standfirst. */
.book__intro { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }

@media (min-width: 900px) {
  .book__intro { grid-template-columns: 0.72fr 1.28fr; }
}

.book__cover {
  margin: 0;
  max-width: 21rem;
  filter: drop-shadow(0 18px 40px rgba(9, 47, 102, 0.22));
}

.book__cover img { width: 100%; height: auto; display: block; }

@media (max-width: 899px) {
  .book__cover { max-width: 16rem; }
}

.book__intro .hero__figure { max-width: none; }
.book__intro .hero__figure img { aspect-ratio: 3 / 2; }

.book__date {
  font-family: var(--display);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--navy);
  margin: 1.75rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

@media (max-width: 640px) {
  .hero--full .hero__figure img { aspect-ratio: 4 / 3; }
}

/* Portrait hero: text beside a full, uncropped standing portrait. */

.hero--portrait { padding-block: clamp(2rem, 3.5vw, 3.25rem) clamp(1.5rem, 2.5vw, 2.25rem); }

.hero__split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__split { grid-template-columns: 1fr 0.66fr; align-items: start; }
  .hero__split--figure-right { grid-template-columns: 1fr 0.9fr; }
  .hero__portrait { max-width: 23rem; margin-left: auto; }
  .hero__portrait--wide { max-width: 29rem; }
}

.hero__split--figure-right .hero__figure { max-width: none; }
.hero__split--figure-right .hero__figure img { aspect-ratio: 3 / 2; }
.hero__split--figure-right .brandmark { width: clamp(220px, 30vw, 340px); }

.hero--portrait .lede { max-width: 30ch; margin-top: 1.5rem; }

.hero__portrait {
  margin: 0;
  background: var(--cream-warm);
}

/* No cropping. The whole frame is shown, head to heels. */
.hero__portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 899px) {
  .hero__portrait { max-width: 26rem; margin-inline: auto; }
  .hero__portrait--wide { max-width: 34rem; }
}

.figure-inset {
  margin: clamp(2rem, 3.5vw, 2.75rem) 0 0;
  max-width: 40rem;
  background: var(--cream-warm);
  overflow: hidden;
}
.figure-inset img { width: 100%; height: auto; display: block; object-fit: cover; }
.figure-inset figcaption {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding-top: 0.75rem;
}

/* --- Diagram ------------------------------------------------------------- */

.diagram { margin: 0; }
.diagram img { width: 100%; max-width: 62rem; margin-inline: auto; height: auto; }

.diagram figcaption {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* --- Brand colour fields --------------------------------------------------
   The identity is built on full-bleed colour with the wordmark reversed out
   of it. These bands do the same job: orange closes every page, cornflower
   blue carries a supporting statement, navy holds the one heavy moment. */

.band--orange {
  background: var(--accent-deep);
  color: var(--cream);
}
.band--orange h1, .band--orange h2, .band--orange h3, .band--orange h4 { color: #fff; }
.band--orange h2 em { color: var(--cream); font-style: italic; }
.band--orange .eyebrow { color: rgba(255, 255, 255, 0.78); }
.band--orange a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.6); }

.band--blue {
  background: var(--blue);
  color: var(--navy-deep);
}
.band--blue h1, .band--blue h2, .band--blue h3, .band--blue h4 { color: var(--navy-deep); }
.band--blue .eyebrow { color: var(--navy-deep); }
.band--blue /* --- Brand icons ---------------------------------------------------------
   The eight marks from the identity system. Used only on the two navy triads,
   the method on the home page and the mission domains on About, so they read
   as a system rather than as decoration scattered through the pages. */

.col__lead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.col__lead .col__num { margin-bottom: 0; }

.icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: block;
}

.rows__label .icon { width: 1.75rem; height: 1.75rem; margin-bottom: 0.45rem; }

.col__num { color: var(--navy-deep); }
.band--blue a { color: var(--navy-deep); }

/* The wordmark, reversed out of a colour field. */
.band__mark {
  width: clamp(180px, 24vw, 260px);
  height: auto;
  margin-bottom: clamp(1.25rem, 2.2vw, 1.75rem);
}

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* On a colour field the button reverses: cream fill, dark type. */
.band--orange .btn {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--accent-deep);
}
.band--orange .btn:hover { background: #fff; border-color: #fff; color: var(--accent-deep); }

.band--navy .btn { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.band--navy .btn:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* --- Two doors --------------------------------------------------------- */

.doors {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

@media (min-width: 820px) {
  .doors { grid-template-columns: 1fr 1fr; }
}

/* Four angles, two by two on desktop, stacked on a phone. */
@media (min-width: 700px) {
  .doors--four { grid-template-columns: 1fr 1fr; }
}

.door__num {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.door h3 { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); margin-bottom: 0.15em; }

.door__promise {
  font-family: var(--display);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.15;
  color: var(--accent);
  margin: 0 0 0.9rem;
  max-width: 28ch;
}

.door {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease, transform 0.25s ease;
}
.door:hover { background: var(--cream); transform: translateY(-3px); color: inherit; }
.door:hover h3 { color: var(--accent); }

.door h3 { margin-bottom: 0.4em; }
.door p { color: var(--ink-soft); max-width: 46ch; }

.door__more {
  margin-top: auto;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Spine (three columns) --------------------------------------------- */

.band--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}
.band--navy h2, .band--navy h3 { color: #fff; }
.band--navy .eyebrow { color: var(--blue); }
.band--navy a { color: #fff; }

.cols {
  display: grid;
  gap: clamp(1.5rem, 2.6vw, 2.25rem);
}

@media (min-width: 760px) {
  .cols--3 { grid-template-columns: repeat(3, 1fr); }
  .cols--4 { grid-template-columns: repeat(4, 1fr); }
  .cols--2 { grid-template-columns: repeat(2, 1fr); }
}

.col h3 { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); margin-bottom: 0.45em; }

/* A ruled variant, used where three columns need presence rather than a list. */
.cols--ruled .col { border-top: 2px solid var(--navy); padding-top: clamp(0.9rem, 1.6vw, 1.25rem); }
.cols--ruled .col h3 { font-family: var(--display); font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.band--navy .cols--ruled .col { border-top-color: var(--blue); }
.band--cream .cols--ruled .col { border-top-color: var(--accent); }
.col p { font-size: 0.9375rem; line-height: 1.6; }

/* --- Brand icons ---------------------------------------------------------
   The eight marks from the identity system. Used only on the two navy triads,
   the method on the home page and the mission domains on About, so they read
   as a system rather than as decoration scattered through the pages. */

.col__lead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.col__lead .col__num { margin-bottom: 0; }

.icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: block;
}

.rows__label .icon { width: 1.75rem; height: 1.75rem; margin-bottom: 0.45rem; }

.col__num {
  display: block;
  font-family: var(--body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* --- Credibility strip -------------------------------------------------- */

.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.fact {
  padding: clamp(1.1rem, 2vw, 1.5rem) 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
  .fact {
    padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.1rem, 1.6vw, 1.5rem);
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }
  .fact:first-child { border-left: 0; padding-left: 0; }
}

.fact strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.fact span { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.5; }

/* --- Prose blocks ------------------------------------------------------- */

.prose p { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  max-width: var(--measure);
}
.list-plain li:first-child { border-top: 1px solid var(--rule); }
.list-plain strong { color: var(--navy); }

/* --- CTA band ----------------------------------------------------------- */

.cta { text-align: left; }
.cta h2 { max-width: 18ch; }
.cta .btn { margin-top: 1.5rem; }

/* --- Footer ------------------------------------------------------------- */

.site-foot {
  background: var(--cream-warm);
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
  font-size: 0.9375rem;
}

.site-foot a { color: var(--navy); text-decoration-color: var(--accent); }
.site-foot a:hover { color: var(--accent); }

.foot__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 760px) {
  .foot__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.foot__grid h4 {
  color: var(--navy);
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 600;
  margin-bottom: 1rem;
}

.foot__grid ul { list-style: none; margin: 0; padding: 0; }
.foot__grid li { margin-bottom: 0.4rem; }

.foot__legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* --- Reveal on scroll ---------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- Segment switcher ---------------------------------------------------- */

.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: sticky;
  top: 84px;
  z-index: 20;
  padding: 0.75rem 0;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--paper);
}

/* On narrow screens the header wraps to two rows, so a sticky
   switcher would collide with it. Let it scroll away instead. */
@media (max-width: 860px) {
  .switcher { position: static; }
}

.switcher button {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.switcher button:hover { color: var(--navy); border-color: var(--navy); }

.switcher button[aria-selected='true'] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.segment + .segment { margin-top: clamp(3.5rem, 8vw, 6rem); }

.segment__title { font-size: clamp(1.1875rem, 1.8vw, 1.4375rem); margin-bottom: 0.25em; }

.segment__for {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.segment__lead h4 {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  margin-bottom: 0.6em;
}

.segment__lead p { font-size: 1.0625rem; }

.segment__figure {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--cream);
}

.segment__sub {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  margin-bottom: 1rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--accent);
  display: inline-block;
}

.segment .cols { margin-top: 2rem; }

.shift {
  font-size: 0.8125rem !important;
  letter-spacing: 0.02em;
  color: var(--blue);
  margin-top: 0.75rem;
}

.band--navy .col .shift { color: var(--blue); }

/* --- Numbered steps ------------------------------------------------------ */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3rem;
  border-bottom: 1px solid var(--rule);
  max-width: var(--measure);
}
.steps li:first-child { border-top: 1px solid var(--rule); }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
}

.steps strong { color: var(--navy); }

/* --- Cream band ---------------------------------------------------------- */

.band--cream { background: var(--cream-warm); }

.services .grounding {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* --- Cycle --------------------------------------------------------------- */

.cycle {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .cycle { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}

.cycle li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.cycle__num {
  display: block;
  font-family: var(--body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.cycle strong {
  display: block;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.cycle span:last-child { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.5; }

.thesis {
  font-family: var(--display);
  font-size: clamp(1.0625rem, 1.7vw, 1.375rem);
  line-height: 1.3;
  color: #fff;
  max-width: 30ch;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Pullout -------------------------------------------------------------
   One paragraph lifted out of the prose. An accent rule down the left, larger
   type, so the eye finds the offer without a coloured box. */

.pullout {
  font-family: var(--display);
  font-size: clamp(1.125rem, 1.85vw, 1.5rem);
  line-height: 1.34;
  color: var(--navy);
  max-width: 46ch;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding: 0.15rem 0 0.15rem clamp(1.1rem, 2.2vw, 1.75rem);
  border-left: 3px solid var(--accent);
}

.pullout strong { font-weight: 600; }

/* The wordmark, used at size where the page is about the practice itself. */

.brandmark {
  width: clamp(240px, 36vw, 420px);
  height: auto;
  display: block;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

/* --- Practice identity strip ---------------------------------------------
   Sits under the About hero. Ruled typography rather than boxes, so it reads
   as a firm's masthead and not as another card grid. */

.identity {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(1.5rem, 2.8vw, 2.25rem);
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

@media (min-width: 860px) {
  .identity { grid-template-columns: 1.05fr 1fr; align-items: start; }
}

.identity__statement {
  font-family: var(--display);
  font-size: clamp(1.125rem, 1.7vw, 1.4375rem);
  line-height: 1.32;
  color: var(--navy);
  margin: 0;
  max-width: 32ch;
}

.identity__specs { margin: 0; }

.identity__row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.35rem 1.25rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.identity__row:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.identity__specs dt {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  padding-top: 0.2em;
}

.identity__specs dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); }

/* --- Ruled rows ----------------------------------------------------------
   Used for the three mission domains and the four commitments. Deliberately
   not cards: the page already has one card grid and does not need three. */

.rows { margin-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--rule); }

.rows__item {
  display: grid;
  gap: 0.35rem 2rem;
  padding-block: clamp(1rem, 1.9vw, 1.4rem);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 820px) {
  .rows__item { grid-template-columns: 8.5rem 1fr; align-items: baseline; }
  .rows--numbered .rows__item { grid-template-columns: 2.75rem 16rem 1fr; }
}

.rows__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  padding-top: 0.35em;
}

.rows__num {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent-ink);
}

.rows h3 { margin: 0 0 0.3rem; font-size: clamp(1rem, 1.3vw, 1.125rem); }
.rows p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }

/* On a brand colour field the rules and the text invert. */
.band--navy .rows { border-top-color: rgba(255, 255, 255, 0.24); }
.band--navy .rows__item { border-bottom-color: rgba(255, 255, 255, 0.24); }
.band--navy .rows__label { color: var(--blue); }
.band--navy .rows h3 { color: #fff; }
.band--navy .rows p { color: rgba(255, 255, 255, 0.82); }

/* --- Founder ------------------------------------------------------------- */

.founder {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: 1.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .founder { grid-template-columns: 0.62fr 1.38fr; }
}

.founder__portrait { margin: 0; background: var(--cream-warm); }
.founder__portrait img { width: 100%; height: auto; }

@media (max-width: 859px) {
  .founder__portrait { max-width: 20rem; }
}

/* --- Mission statement ---------------------------------------------------- */

/* The premise, stated quietly. The mission that follows carries the weight. */
.mission {
  font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
  margin: 0 0 0.9rem;
}

.mission__body {
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.5vw, 2.125rem);
  line-height: 1.24;
  color: #fff;
  max-width: 40ch;
  margin: 0;
}

/* --- Book page ------------------------------------------------------------
   Two-clause headings, after the pattern used on the co-author's site:
   a statement, then the turn, set in italic. */

h2 em, h1 em { font-style: italic; color: var(--accent); }
.band--navy h2 em { color: var(--blue); }

.book__sub {
  font-family: var(--display);
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  max-width: 26ch;
}

.chapters { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }

@media (min-width: 820px) {
  .chapters { grid-template-columns: 1fr 1fr; }
}

.chapters__label {
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.chapter-list { list-style: none; margin: 0; padding: 0; }

.chapter-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}

.chapter__num {
  grid-row: span 2;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.25rem;
}

.chapter__title {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--navy);
}

.chapter__sub { font-size: 0.875rem; color: var(--ink-soft); }

/* --- Authors --------------------------------------------------------------
   Two cards. The second carries a monogram until a photograph arrives. */

.authors { display: grid; gap: clamp(2rem, 4vw, 3rem); }

@media (min-width: 860px) {
  .authors { grid-template-columns: 1fr 1fr; }
}

.author {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
  padding-top: 1.75rem;
  border-top: 2px solid var(--accent);
}

@media (max-width: 520px) {
  .author { grid-template-columns: 1fr; }
}

.author__photo,
.author__monogram {
  width: 8.5rem;
  height: 8.5rem;
  object-fit: cover;
  background: var(--cream);
}

.author__monogram {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
}

.author h3 { margin-bottom: 0.2em; }

.author__role {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.author p { font-size: 0.9375rem; line-height: 1.6; }

.author__lens {
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}
.author__lens strong { color: var(--navy); }

/* --- The ladder ---------------------------------------------------------
   Five rows rather than five columns. Rows keep the numbers, headings and
   labels on a single baseline, so nothing looks ragged when one rung has a
   longer title or an extra bullet than its neighbour. */

.rungs { border-top: 1px solid var(--rule); }

.rung {
  display: grid;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  padding-block: clamp(1.4rem, 2.2vw, 2rem);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

@media (min-width: 820px) {
  .rung { grid-template-columns: minmax(13rem, 0.85fr) 2fr; }
}

.rung__num {
  display: block;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.rung h3 {
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  margin-bottom: 0.35em;
  text-wrap: balance;
}

.rung__promise {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.rung__blurb {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 54ch;
  margin-bottom: 1.5rem;
}

.rung__label {
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.85rem;
}

.rung__list { margin: 0 0 1.5rem; padding-left: 1.1rem; }

@media (min-width: 1040px) {
  .rung__list { columns: 2; column-gap: 2.5rem; }
  .rung__list li { break-inside: avoid; }
}

.rung__list li {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  max-width: 46ch;
}

.rung__effort {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}
.rung__effort strong { color: var(--navy); }

/* --- Banded figure -------------------------------------------------------- */

.figure-band { margin: 0; }
.figure-band img { width: 100%; max-width: 62rem; margin-inline: auto; }
.figure-band figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-align: center;
}

/* --- Tight lists ---------------------------------------------------------- */

.list-tight { margin: 0.75rem 0 0; padding-left: 1.1rem; }
.list-tight li { font-size: 0.9375rem; line-height: 1.5; margin-bottom: 0.5rem; }

/* --- Forms --------------------------------------------------------------- */

.field { margin-bottom: 1.5rem; max-width: 34rem; }
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--rule);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
