/* Curated articles use a comfortable reading measure within the existing layout. */
.wrap.article-reading { max-width: 52rem; }
.article-reading .doc-section > .section-title--sm { max-width: none; margin-bottom: 1.25rem; text-wrap: balance; }
.page-intro + .wrap { padding-block: var(--space-section); }

/* Facultas Advisory / Facultas Conseils — site stylesheet
   Layout concept: an advisory report set for the screen. Left-aligned editorial column, generous margins,
   navy hairline rules to separate content, Warm Stone for "cover" bands, gold only as short rules and markers.
   Brand values from Facultas Visual Identity V5 (27 October 2026). Light theme only, by brand decision. */

@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Palette (V5) */
  --navy: #0D2942;
  --gold: #B3955C;
  --stone: #F4F1EA;
  --slate: #66727C;      /* small text on white only (4.9:1); not on Stone */
  --charcoal: #262B2F;
  --white: #FFFFFF;
  /* Derived */
  --navy-hover: #183D5F;
  --gold-text: #86693A;  /* gold darkened for numerals on white or Stone (4.6:1 on white) */
  --rule: rgba(13, 41, 66, 0.16);
  --rule-strong: var(--navy);
  --on-navy: rgba(255, 255, 255, 0.86);
  --on-navy-rule: rgba(255, 255, 255, 0.16);
  --field-border: var(--slate);
  --field-disabled: #F7F6F2;
  --error: #A3271F;

  /* Type */
  --font-display: 'Source Serif 4', 'Source Serif Pro', Georgia, Cambria, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --step-display: clamp(2.375rem, 1.45rem + 3.9vw, 4.375rem);
  --step-page: clamp(2.125rem, 1.55rem + 2.4vw, 3.375rem);
  --step-h2: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
  --step-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --step-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --step-body: 1.0625rem;
  --step-small: 0.9375rem;
  --step-label: 0.8125rem;

  /* Space */
  --gutter: clamp(20px, 4.5vw, 56px);
  --maxw: 74rem;
  --measure: 40rem;
  --space-section: clamp(3rem, 2.1rem + 3.2vw, 5.25rem);
  --shadow-lift: 0 18px 36px -22px rgba(13, 41, 66, 0.45);
  /* Decorative contour lines for cover bands (gold, very light). */
  --contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23B3955C' stroke-width='1.2'%3E%3Cpath d='M600 40C470 60 380 150 360 270s-120 230-260 300' opacity='.55'/%3E%3Cpath d='M600 100C500 115 425 190 410 290s-100 210-230 280' opacity='.45'/%3E%3Cpath d='M600 160c-75 12-130 70-145 150s-80 190-195 260' opacity='.38'/%3E%3Cpath d='M600 220c-50 10-85 55-95 115s-60 165-160 235' opacity='.3'/%3E%3Cpath d='M600 280c-28 8-45 40-52 80s-38 140-125 210' opacity='.22'/%3E%3C/svg%3E");
  --logo-w: clamp(200px, 17vw + 120px, 240px);
  --logo-w-header: clamp(220px, 12vw + 150px, 290px);  /* header only; footer keeps --logo-w */
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
p, ul, dl { margin: 0; }
p + p { margin-top: 1rem; }

:lang(fr) p, :lang(fr) li, :lang(fr) dd { hyphens: auto; }

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

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.band--navy :focus-visible, .site-footer :focus-visible, .preview-bar :focus-visible { outline-color: var(--gold); }
main:focus { outline: none; }

code { font-size: 0.875em; background: var(--stone); padding: 0.1em 0.35em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Preview-only furniture ---------- */
.preview-bar { background: var(--charcoal); color: var(--white); font-size: var(--step-label); line-height: 1.4; }
.preview-bar__inner { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; justify-content: space-between; padding-block: 0.55rem; }
.preview-bar a { color: var(--white); text-decoration-color: rgba(255,255,255,.6); }

.preview-note {
  border: 1px dashed var(--slate);
  background: #FBFAF7;
  color: var(--charcoal);
  padding: 1rem 1.25rem;
  font-size: var(--step-small);
  line-height: 1.55;
  margin-bottom: 2rem;
}
.preview-note ul { padding-left: 1.25rem; margin-block: 0.5rem; }
.preview-note p + p { margin-top: 0.5rem; }
.preview-note__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); }
.preview-note--inline { display: inline-block; margin: 0; padding: 0.15rem 0.5rem; font-size: 0.875rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white);
  padding: 0.75rem 1rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; outline-color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.site-logo { display: block; flex: none; }
/* The exported artboard carries the V5 clear space; offset it so the symbol aligns with the text column. */
.site-logo img { width: var(--logo-w-header); margin-left: calc(var(--logo-w-header) * -0.062); }

.site-nav { display: flex; align-items: center; gap: 0.5rem 2rem; flex-wrap: wrap; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; list-style: none; padding: 0; }
.site-nav a {
  display: inline-block; padding-block: 0.5rem;
  font-size: var(--step-small); font-weight: 500; color: var(--navy);
  text-decoration: none; position: relative;
}
.site-nav__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 2px;
  background: transparent;
}
.site-nav__list a:hover::after { background: var(--rule-strong); height: 1px; }
.site-nav__list a[aria-current]::after { background: var(--gold); height: 2px; }
.lang-switch { border-left: 1px solid var(--rule); padding-left: 1.5rem !important; }
.lang-switch:hover { text-decoration: underline !important; text-decoration-color: var(--navy) !important; }

.nav-toggle { display: none; }

@media (max-width: 54.99rem) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: var(--navy); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded='true'] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded='true'] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded='true'] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

  /* Without JavaScript the navigation stays visible beneath the logo. */
  .no-js .site-nav { width: 100%; padding-bottom: 0.75rem; }

  .js .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px -16px rgba(13, 41, 66, 0.35);
    padding: 0.5rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.5rem max(var(--gutter), env(safe-area-inset-left, 0px));
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .js .site-nav[data-open] { display: flex; }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav a { display: block; font-size: 1.125rem; padding-block: 0.85rem; border-bottom: 1px solid var(--rule); }
  .js .site-nav__list a::after { left: 0; right: auto; width: 2.5rem; bottom: -1px; }
  .js .lang-switch { border-left: 0; padding-left: 0 !important; border-bottom: 0 !important; margin-top: 0.5rem; }
}

/* ---------- Bands ---------- */
.band { padding-block: var(--space-section); }
.band--white { background: var(--white); }
.band--stone { background: var(--stone); }
.band--navy { background: var(--navy); color: var(--white); }
.band--white + .band--ruled { padding-top: 0; }
.band--white + .band--ruled > .wrap { padding-top: var(--space-section); position: relative; }
.band--white + .band--ruled > .wrap::before {
  content: ''; position: absolute; top: 0;
  left: max(var(--gutter), env(safe-area-inset-left, 0px));
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  border-top: 1px solid var(--rule);
}

/* ---------- Type roles ---------- */
.eyebrow {
  font-size: var(--step-label); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 1.5rem;
}
.eyebrow--light { color: var(--white); }
.display {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-display); line-height: 1.07; letter-spacing: -0.012em;
  max-width: 20ch;
}
.display--page { font-size: var(--step-page); line-height: 1.1; max-width: 22ch; }
.lead { font-size: var(--step-lead); line-height: 1.55; max-width: 38rem; margin-top: 1.75rem; color: var(--charcoal); }
.page-intro__more { max-width: 38rem; margin-top: 1rem; }
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-h2); line-height: 1.15; letter-spacing: -0.005em;
  max-width: 26ch; margin-bottom: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
}
.section-title--sm { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); margin-bottom: 1.5rem; }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2.25rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3rem; padding: 0.75rem 1.5rem; max-width: 100%;
  font: 600 1rem/1.3 var(--font-body); letter-spacing: 0.005em;
  border: 1px solid transparent; border-radius: 2px; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button--primary { background: var(--navy); color: var(--white); }
.button--primary:hover { background: var(--navy-hover); }
.button--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.button--secondary:hover { background: rgba(13, 41, 66, 0.06); }
.button--light { background: var(--stone); color: var(--navy); }
.button--light:hover { background: var(--white); }
.button[disabled], fieldset[disabled] .button { opacity: 0.6; cursor: not-allowed; }

.text-link {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  font-weight: 600; font-size: var(--step-small); color: var(--navy);
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.text-link:hover { text-decoration-color: var(--navy); }
.arrow::before { content: '\2192'; display: inline-block; text-decoration: none; transition: transform 0.15s ease; }
.text-link:hover .arrow::before { transform: translateX(3px); }
.arrow--back::before { content: '\2190'; }
.text-link:hover .arrow--back::before { transform: translateX(-3px); }
.linkedin-icon { flex: none; align-self: center; width: 1.05em; height: 1.05em; }

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); position: relative; overflow: hidden; }
.hero__inner { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); align-items: center; position: relative; }
.hero__visual { display: none; }
@media (min-width: 56rem) {
  .hero__inner--portrait, .hero__inner--photo { grid-template-columns: minmax(0, 7fr) minmax(0, 4.5fr); gap: clamp(3rem, 6vw, 6rem); }
  .hero__inner--portrait .display, .hero__inner--photo .display { font-size: clamp(2.375rem, 1.1rem + 2.6vw, 3.625rem); max-width: none; }
  .hero__inner--photo { background: none; }
  .hero__visual { display: block; position: relative; padding: 0 0 2.5rem 1.5rem; }
}
.portrait--framed { position: relative; }
.portrait--framed::before {
  content: ''; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 2px solid var(--gold); z-index: 0;
}
.portrait--framed picture { position: relative; z-index: 1; display: block; }
.portrait--framed img { box-shadow: var(--shadow-lift); }
.portrait.portrait--wide img { aspect-ratio: 9 / 10; }  /* matches the 0.9 crop in prepare-images.mjs */
.hero__badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--navy); color: var(--on-navy); padding: 0.9rem 1.25rem; font-size: var(--step-small); line-height: 1.4;
  box-shadow: var(--shadow-lift); max-width: 85%;
}
.hero__badge-name { display: block; color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; }
@media (max-width: 55.99rem) {
  .hero { padding-block: 2rem; }
  .hero__inner { gap: 1.25rem; }
  .hero__text { display: contents; }
  .hero .eyebrow { grid-row: 1; margin: 0; }
  .hero .display { grid-row: 2; font-size: clamp(2.125rem, 7.5vw, 3rem); max-width: 19ch; }
  .hero__lead { grid-row: 3; margin: 0; font-size: 1.0625rem; }
  .hero__visual { grid-row: 4; display: flex; align-items: center; gap: 1rem; }
  .hero__visual--photo { display: none; }  /* phones keep the text-only opening */
  .hero__visual .portrait { width: 5rem; flex: none; }
  .hero__visual .portrait::before { display: none; }
  .hero__visual img { box-shadow: none; }
  .hero__badge { position: static; background: none; color: var(--navy); box-shadow: none; padding: 0; max-width: none; font-size: 0.875rem; }
  .hero__badge-name { color: var(--navy); font-size: 1.125rem; margin-bottom: 0.3rem; }
  .hero .actions { grid-row: 5; margin: 0; }
  .hero__inner:not(.hero__inner--portrait) .actions { grid-row: 4; }
}
@media (max-width: 39.99rem) {
  .hero .actions { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
  .hero .button { padding-block: 0.65rem; }
  .hero .button--secondary { border-color: transparent; text-decoration: underline; text-underline-offset: 0.25em; }
  .band { --space-section: 2.5rem; }
}

/* ---------- Home: capability ledger ---------- */
.ledger { border-top: 1px solid var(--rule-strong); }
.ledger__row {
  display: grid; gap: 0.75rem 3rem; grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); border-bottom: 1px solid var(--rule);
}
.ledger__title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-h3); line-height: 1.25; }
.ledger__body p { max-width: var(--measure); margin-bottom: 1rem; }
.ledger__body p:last-child { margin-bottom: 0; }
.ledger__body p:has(+ .text-link) { margin-bottom: 1rem; }
@media (min-width: 50rem) {
  .ledger__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ledger--compact .ledger__row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.ledger--compact .ledger__title { font-size: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem); }

/* ---------- Icons ---------- */
.icon { display: block; width: 3rem; height: 3rem; color: var(--navy); flex: none; }
.icon .icon__accent { color: var(--gold); stroke: var(--gold); stroke-width: 2.25; }

/* ---------- Home: service cards ---------- */
.service-cards { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.service-card {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--gold);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card__title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-h3); line-height: 1.25; }
.service-card p { font-size: 1rem; }
.service-card__link { margin-top: auto; padding-top: 0.25rem; }
@media (max-width: 59.99rem) {
  .service-card, .situation { gap: 0.75rem; padding: 1.35rem 1.25rem; }
  .service-card .icon { width: 2.25rem; height: 2.25rem; }
  .situation__num { font-size: 1.5rem; }
  .fact { padding: 1rem; }
}
.service-card:hover, .situation:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* ---------- Home: illustrative situations ---------- */
.situations { list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 62rem) { .situations { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.situation {
  background: var(--white); padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem;
  border-top: 3px solid var(--navy); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.situation__num { font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--gold-text); }
.situation__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem); line-height: 1.3; }
.situation p { font-size: 1rem; }
.situation__link { margin-top: auto; padding-top: 0.5rem; }

/* ---------- Columns (audiences, approach, engagement formats) ---------- */
.columns { display: grid; gap: 2.5rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .columns--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .columns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.column { border-top: 1px solid var(--rule-strong); padding-top: 1.5rem; }
/* Numbered steps (About: approach) */
.columns--3 { counter-reset: step; }
.columns--3 .column { counter-increment: step; border-top: 3px solid var(--gold); }
.columns--3 .column::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 0.75rem;
  font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--gold-text);
}
/* Values (About): a compact row of short entries */
.values { list-style: none; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.value { border-left: 3px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; }
.value__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 0.5rem; }
.value p { font-size: var(--step-small); line-height: 1.55; }
.column__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem); line-height: 1.3; margin-bottom: 0.875rem; }
.column p { max-width: var(--measure); }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.portrait { margin: 0; max-width: 20rem; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.founder__text p { max-width: var(--measure); }
.founder__text .text-link { margin-top: 1.5rem; }
.founder__links { list-style: none; padding: 0; margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.founder__links .text-link { margin-top: 0; }

/* ---------- Testimonials (Home): a row of quotes that scrolls sideways ---------- */
.testimonials__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
@media (max-width: 24rem) { .testimonials__head { flex-wrap: wrap; } }  /* long French heading on the smallest phones */
.testimonials__controls { display: flex; gap: 0.5rem; margin-bottom: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.testimonials__controls[hidden] { display: none; }
.testimonials__btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--navy); background: var(--white);
  color: var(--navy); font-size: 1.125rem; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease;
}
.testimonials__btn:hover { background: var(--navy); color: var(--white); }
.testimonials__track {
  list-style: none; margin: 0; padding: 0 0 1rem; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(85%, 22rem); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
@media (min-width: 60rem) { .testimonials__track { grid-auto-columns: calc((100% - 3rem) / 3); } }
.testimonial {
  scroll-snap-align: start; background: var(--white); border-top: 3px solid var(--gold);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex;
}
.testimonial figure { margin: 0; display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.testimonial blockquote { margin: 0; position: relative; padding-top: 2.25rem; }
.testimonial figcaption { margin-top: auto; font-size: 0.8125rem; font-style: italic; color: var(--slate); }
.testimonial blockquote::before {
  content: '\201C'; position: absolute; top: -0.5rem; left: -0.15rem;
  font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--gold-text);
}
.testimonial p { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.45; color: var(--navy); }
.testimonials__note { margin-top: 1.25rem; font-size: var(--step-small); max-width: 48rem; }
.testimonials__note .text-link { margin-left: 0.35rem; }

/* ---------- Biography page ---------- */
.page-intro__back { margin-top: 1.5rem; }
.bio { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
.bio__text p { max-width: var(--measure); }
/* A collaborator's words beside the biography, styled like the Home testimonials. */
.bio__quotes { display: grid; gap: 2.5rem; align-self: start; }
.bio__quote { margin: 0; border-top: 3px solid var(--gold); padding-top: 1.5rem; }
.bio__quote blockquote { margin: 0; position: relative; padding-top: 2.75rem; }
.bio__quote blockquote::before {
  content: '\201C'; position: absolute; top: -0.5rem; left: -0.2rem;
  font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--gold-text);
}
.bio__quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.4; color: var(--navy); }
.bio__quote figcaption { margin-top: 1rem; font-size: var(--step-small); color: var(--slate); }
.bio__quote figcaption::before { content: '\2014\00a0'; }
@media (min-width: 56rem) {
  .bio { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(3rem, 6vw, 6rem); }
  .bio__quotes { position: sticky; top: 2rem; margin-top: 4.5rem; }
}
.bio__footnote { max-width: var(--measure); margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.bio__text .bio__credentials { font-size: 0.875rem; line-height: 1.6; color: var(--slate); }
.bio__credentials-label { font-weight: 600; }
.bio__linkedin { margin-top: 1rem; font-size: 0.875rem; }
.founder__text .section-title { margin-bottom: 1.5rem; }
.founder__role { font-size: var(--step-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.5rem; }
.founder__role + p { margin-top: 0; }
/* Home founder band: text beside a grid of key facts. */
.portrait--mobile { max-width: 9rem; margin-bottom: 1.5rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.fact { background: var(--stone); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.fact__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.1; color: var(--navy); }
.fact__label { margin: 0.5rem 0 0; font-size: var(--step-small); line-height: 1.45; color: var(--charcoal); }
@media (min-width: 56rem) {
  .founder.founder--facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .portrait--mobile { display: none; }
}
@media (min-width: 56rem) {
  .founder { grid-template-columns: 22rem minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
  .founder--about { grid-template-columns: 24rem minmax(0, 1fr); }
  .founder--text { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: none; }
}

/* ---------- Closing band ---------- */
.closing__inner { position: relative; padding-top: 1.75rem; }
.closing__inner::before { content: ''; position: absolute; top: 0; left: max(var(--gutter), env(safe-area-inset-left, 0px)); width: 3rem; height: 2px; background: var(--gold); }
.closing__title { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: var(--step-h2); line-height: 1.15; max-width: 24ch; }
.closing__body { color: var(--on-navy); max-width: var(--measure); margin-top: 1.25rem; font-size: var(--step-lead); line-height: 1.55; }
.closing__body + .closing__body { margin-top: 1rem; font-size: var(--step-body); }
.closing .actions { align-items: center; }
.closing .button { flex-wrap: wrap; }
.closing__button-detail { white-space: nowrap; }
.closing__link { color: var(--white); }
.closing__link:hover { text-decoration-color: var(--white); }
.closing__note { color: var(--on-navy); max-width: var(--measure); margin-top: 1.75rem; font-size: 0.875rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: var(--step-small); border-top: 1px solid var(--on-navy-rule); }
.site-footer__inner {
  display: grid; gap: 2rem 3rem; grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2.5rem;
}
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: var(--logo-w); margin-left: calc(var(--logo-w) * -0.062); }
.site-footer__descriptor { margin-top: 0.25rem; color: var(--on-navy); }
.site-footer__nav ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer__social { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: 0.5rem; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__social a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.25em; }
.site-footer__nav a:hover, .site-footer__nav a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.25em; }
.site-footer__legal { border-top: 1px solid var(--on-navy-rule); padding-top: 1.5rem; font-size: var(--step-label); }
.site-footer__notice { margin-top: 0.5rem; max-width: 60rem; line-height: 1.5; }
@media (min-width: 48rem) {
  .site-footer__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .site-footer__meta, .site-footer__nav { padding-top: 1.5rem; }
  .site-footer__legal { grid-column: 1 / -1; }
}

.site-footer__prefs {
  padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--white); font: inherit; text-align: left;
}
.site-footer__prefs:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.25em; }

/* ---------- Privacy preferences: a small card, never a page-blocking banner ---------- */
.prefs {
  position: fixed; z-index: 30; right: 1rem; bottom: 1rem;
  width: min(24rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: 1.25rem; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lift); font-size: 0.875rem; line-height: 1.5;
}
.prefs[hidden] { display: none; }
.prefs:focus { outline: none; }
.prefs p + p { margin-top: 0.5rem; }
.prefs__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 0.4rem; }
.prefs__status { font-weight: 600; color: var(--navy); }
.prefs__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.prefs .button { flex: 1 1 auto; min-height: 2.75rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; }
@media (max-width: 39.99rem) {
  .prefs { right: 0; bottom: 0; width: 100%; max-height: 70vh; padding: 1rem var(--gutter); border-width: 3px 0 0; }
  .prefs__title { font-size: 1.0625rem; }
}

/* ---------- Interior page intro ---------- */
.page-intro { padding-block: clamp(2.75rem, 2rem + 3vw, 4.75rem); }
/* Contour lines fill the empty right side of cover bands on wide screens. */
@media (min-width: 56rem) {
  .page-intro, .hero, .closing { background-image: var(--contours); background-repeat: no-repeat; background-position: right -4rem center; background-size: auto 140%; }
  .hero { background-position: right -10rem top -6rem; background-size: auto 150%; }
  .closing { background-position: right -6rem bottom -10rem; }
}

/* Intro bands with a photo on the right (Services, Contact). Phones show text only. */
.page-intro__visual { display: none; }
@media (min-width: 56rem) {
  .page-intro__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .page-intro--visual { background-image: none; }
  .page-intro__visual { display: block; padding: 0 1.5rem 1.5rem 0; }
  .page-intro__visual--portrait { max-width: 20rem; justify-self: end; }
}
.scene { display: block; position: relative; }
.scene img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 70%; background: var(--stone); }
.scene--framed::before {
  content: ''; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 2px solid var(--gold); z-index: 0;
}
.scene--framed img { position: relative; z-index: 1; box-shadow: var(--shadow-lift); filter: saturate(0.85); }
.scene.scene--tall img { aspect-ratio: 4 / 5; object-position: 50% 40%; }

/* Home closing band: the owner's lake photo beneath a navy veil. */
.closing--photo { position: relative; overflow: hidden; isolation: isolate; background-image: none; }
.closing__photo { position: absolute; inset: 0; z-index: -2; }
.closing__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.closing--photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13, 41, 66, 0.94) 0%, rgba(13, 41, 66, 0.86) 45%, rgba(13, 41, 66, 0.45) 100%);
}
@media (max-width: 47.99rem) {
  .closing--photo::before { background: rgba(13, 41, 66, 0.88); }
}

/* ---------- Services: document with jump navigation ---------- */
.with-toc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 4rem; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--space-section); }
.with-toc__content { min-width: 0; max-width: 46rem; }
.toc { font-size: 0.9375rem; line-height: 1.4; border-bottom: 1px solid var(--rule); padding-bottom: 1.75rem; margin-bottom: 3rem; }
.toc__title { font-family: var(--font-body); font-size: var(--step-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.toc ul { list-style: none; padding: 0; }
.toc__list { display: grid; gap: 0.75rem; }
.toc__list > li > a { font-weight: 600; }
.toc__list ul { margin-top: 0.5rem; padding-left: 0.875rem; border-left: 1px solid var(--rule); display: grid; gap: 0.4rem; }
.toc a { color: var(--charcoal); text-decoration: none; display: inline-block; padding-block: 0.15rem; }
.toc__list > li > a { color: var(--navy); }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
@media (max-width: 39.99rem) {
  .toc__list ul { display: none; }
  .toc { margin-bottom: 2rem; padding-bottom: 1rem; }
  .toc a { padding-block: 0.5rem; }
  .toc__list { gap: 0.25rem; }
}
@media (min-width: 64rem) {
  .with-toc { grid-template-columns: 15.5rem minmax(0, 1fr); }
  .toc { position: sticky; top: 2rem; align-self: start; border-bottom: 0; padding-bottom: 0; margin-bottom: 0; max-height: calc(100vh - 4rem); overflow-y: auto; }
}

[id] { scroll-margin-top: 1.5rem; }
.doc-section + .doc-section { margin-top: var(--space-section); }
.doc-section > .section-title { margin-bottom: 2rem; }

.capability { border-top: 1px solid var(--rule-strong); padding-top: 2rem; display: grid; gap: 1rem 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .capability { grid-template-columns: 3rem minmax(0, 1fr); } }
.capability + .capability { margin-top: 2.5rem; }

/* Expandable detail (Services) */
.more { margin-top: 1.25rem; }
.more__toggle {
  display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--step-small); color: var(--navy); padding-block: 0.4rem;
}
.more__toggle::-webkit-details-marker { display: none; }
.more__toggle::before {
  content: '+'; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: none;
  border: 1px solid var(--gold); border-radius: 50%; font-size: 1.05rem; line-height: 1; color: var(--navy);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.more__toggle:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; }
.more[open] > .more__toggle::before { content: '\2212'; background: var(--stone); }
.more__body { padding-top: 0.5rem; }
.more__body > .case__part:first-child { border-top: 0; }
.capability__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem); line-height: 1.25; margin-bottom: 1rem; }
.capability__lede { font-size: 1.125rem; line-height: 1.6; }
.list-intro { margin-top: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; color: var(--navy); font-size: var(--step-small); }
.note { margin-top: 1.25rem; font-size: var(--step-small); color: var(--charcoal); padding-top: 1rem; border-top: 1px solid var(--rule); }

.ticks { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 0.75rem; height: 2px; background: var(--gold); }

.panel { background: var(--stone); padding: clamp(1.5rem, 1.1rem + 2vw, 2.75rem); }
.panel p { max-width: var(--measure); }
.case { border-top: 1px solid var(--rule-strong); padding-top: 2rem; }
.case + .case { margin-top: 2.75rem; }
.case > .more { margin-top: 0.25rem; }
.case__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem); line-height: 1.25; margin-bottom: 1.25rem; }
.case__part { display: grid; gap: 0.4rem 2rem; grid-template-columns: minmax(0, 1fr); padding-block: 1.1rem; border-top: 1px solid var(--rule); }
.case__title + .case__part { border-top: 0; padding-top: 0.25rem; }
.case__label { font-family: var(--font-body); font-size: var(--step-small); font-weight: 600; line-height: 1.5; padding-top: 0.1rem; }
@media (min-width: 46rem) {
  .case__part { grid-template-columns: 10.5rem minmax(0, 1fr); }
}
.case__cta { margin-top: 1.25rem; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 3.5rem 5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 62rem) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); } .contact--no-form { grid-template-columns: minmax(0, 1fr); } }
.details { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.details dt { font-size: var(--step-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.details dd { margin: 0.2rem 0 0; }
.contact__details p { max-width: 30rem; }
.contact__form { min-width: 0; }
.contact__details .contact__note { max-width: var(--measure); margin-top: 1rem; font-size: var(--step-small); color: var(--charcoal); }

.enquiry__fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.5rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 600; color: var(--navy); font-size: var(--step-small); }
.field__flag { font-weight: 400; color: var(--slate); font-size: var(--step-label); margin-left: 0.35rem; }
.field__help { font-size: 0.875rem; color: var(--slate); max-width: 36rem; line-height: 1.5; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--charcoal); background: var(--white);
  border: 1px solid var(--field-border); border-radius: 2px; padding: 0.75rem 0.875rem; min-height: 3rem;
}
.field textarea { resize: vertical; min-height: 10rem; line-height: 1.5; }
.field select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 52%, calc(100% - 0.9rem) 52%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid='true'] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field__error { color: var(--error); font-size: 0.875rem; font-weight: 500; }
.field__error::before { content: '! '; font-weight: 700; }
fieldset[disabled] input, fieldset[disabled] select, fieldset[disabled] textarea { background-color: var(--field-disabled); cursor: not-allowed; }
.field--trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry { position: relative; }
.enquiry__privacy { font-size: 0.875rem; color: var(--charcoal); max-width: 36rem; }
.form-status:not(:empty), .form-alert:not(:empty) { margin-top: 1.5rem; padding: 1rem 1.25rem; font-weight: 500; }
.form-status:not(:empty) { background: var(--stone); color: var(--navy); border-left: 3px solid var(--navy); }
.form-alert:not(:empty) { background: #FBEDEB; color: var(--error); border-left: 3px solid var(--error); }

/* ---------- Collaborate ---------- */
.collaborate__intro { max-width: var(--measure); margin-bottom: 2.25rem; }
.collaborate__outro { max-width: var(--measure); margin-top: 2.5rem; }

/* ---------- Generic prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.prose ul { padding-left: 1.25rem; margin-block: 1rem; }

/* ---------- Preview review hub ---------- */
.hub__head { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hub__logo { width: var(--logo-w); margin-left: calc(var(--logo-w) * -0.062); margin-bottom: 1.5rem; }
.hub__title { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: var(--step-page); line-height: 1.1; }
.hub__lede { color: var(--on-navy); max-width: 40rem; margin-top: 1rem; font-size: var(--step-lead); }
.hub__body { display: grid; gap: 3.5rem; padding-block: 3.5rem 5rem; }
.hub__body section { min-width: 0; }
.hub__body > section > p { max-width: var(--measure); margin-bottom: 1rem; }
.hub__small { font-size: var(--step-small); margin-top: 1rem; max-width: 48rem; }
.hub-table { width: 100%; border-collapse: collapse; font-size: var(--step-small); display: block; overflow-x: auto; }
.hub-table th, .hub-table td { text-align: left; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.hub-table th { font-size: var(--step-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); border-bottom-color: var(--navy); }

/* ---------- Motion and print ---------- */
/* Sections rise gently into view (site.js adds .reveal only when motion is welcome).
   Movement only, no fade, so text keeps full contrast at every moment. */
.reveal { transform: translateY(2rem); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .preview-bar, .site-nav, .nav-toggle, .skip-link, .toc, .enquiry, .site-footer__nav, .prefs { display: none !important; }
  .band, .site-footer { background: none !important; color: #000 !important; padding-block: 1.5rem !important; }
  .closing__title, .closing__body { color: #000 !important; }
  a { text-decoration: none; }
}
