/* =========================================================================
   Z M Legal Consultancy — main.css
   Mobile-first. Breakpoints: 768px tablet · 1024px desktop · 1280px wide
   Contrast (WCAG AA) checked for every text/surface pair listed in :root.
   ========================================================================= */

:root {
  /* Palette */
  --c-dark: #1C2420;            /* deep green-black: dark surface + ink        */
  --c-dark-2: #232C27;          /* raised dark                                  */
  --c-stone: #EDE6DC;           /* warm stone: light surface + text on dark     */
  --c-stone-2: #E3DACD;         /* deeper stone band                            */
  --c-copper: #A06A3F;          /* rare accent: rules, focus, markers (non-text) */
  --c-copper-on-light: #84532D; /* accent text on stone      5.2:1              */
  --c-copper-on-dark: #C08A5E;  /* accent text on dark       5.3:1              */
  --c-sage-on-light: #535E57;   /* secondary text on stone   5.5:1              */
  --c-sage-on-dark: #98A39B;    /* secondary text on dark    6.1:1              */
  --c-line-on-light: rgba(28, 36, 32, 0.2);
  --c-line-on-dark: rgba(237, 230, 220, 0.2);

  /* Type */
  --f-serif: "Newsreader Variable", "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-sans: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --pad: clamp(20px, 6.5vw, 104px);
  --gutter: clamp(16px, 1.8vw, 24px);
  --header-h: clamp(84px, 9vw, 136px);
  --section-y: clamp(88px, 11vw, 176px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur: 1.1s;
}

/* Surfaces set colour + the local tokens components read from */
.surface-dark    { background-color: var(--c-dark);    color: var(--c-stone); --muted: var(--c-sage-on-dark);  --line: var(--c-line-on-dark);  --accent: var(--c-copper-on-dark); }
.surface-stone   { background-color: var(--c-stone);   color: var(--c-dark);  --muted: var(--c-sage-on-light); --line: var(--c-line-on-light); --accent: var(--c-copper-on-light); }
.surface-stone-2 { background-color: var(--c-stone-2); color: var(--c-dark);  --muted: var(--c-sage-on-light); --line: var(--c-line-on-light); --accent: var(--c-copper-on-light); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--c-copper); color: var(--c-stone); }

.skip-link {
  position: absolute; left: var(--pad); top: 12px; z-index: 100;
  padding: 10px 16px; background: var(--c-stone); color: var(--c-dark);
  font-size: .875rem; text-decoration: none;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.col-label, .col-main, .col-main-narrow { grid-column: 1 / -1; }
.section { padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

@media (min-width: 1024px) {
  .col-label { grid-column: 1 / 4; }
  .col-main { grid-column: 4 / 13; }
  .col-main-narrow { grid-column: 4 / 11; }
}

/* ---------- Type ---------- */
.display {
  font-family: var(--f-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.display .line { display: inline; }
@media (min-width: 768px) { .display .line { display: block; } }

.display--hero { font-size: clamp(2.125rem, 1.35rem + 2.7vw, 3.875rem); }
.display--l    { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 4rem); }
.display--m    { font-size: clamp(1.875rem, 1.35rem + 1.8vw, 3.125rem); line-height: 1.06; }

.statement {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(1.625rem, 1.15rem + 1.75vw, 2.875rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.label {
  font-family: var(--f-sans);
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 32rem;
}
.body-copy { max-width: 34rem; color: var(--muted); }
.body-copy + .body-copy { margin-top: 1em; }

.rule {
  display: block;
  width: 64px;
  height: 1px;
  margin-block: clamp(24px, 2.6vw, 36px);
  background: currentColor;
  opacity: .45;
}

/* ---------- Links & buttons ---------- */
.arrow { flex: none; width: 18px; height: 10px; transition: transform .45s var(--ease), color .3s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 2.4vw, 40px);
  min-height: 52px;
  padding: 14px 30px;
  border: 1px solid color-mix(in srgb, currentColor 62%, transparent);
  font-size: .9375rem;
  line-height: 1.2;
  letter-spacing: .005em;
  text-decoration: none;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background-color: color-mix(in srgb, currentColor 7%, transparent); border-color: currentColor; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--nav { min-height: 48px; padding: 12px clamp(28px, 2.6vw, 44px); font-size: .875rem; }
.btn--sm { min-height: 44px; padding: 10px 18px; gap: 16px; font-size: .8125rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  text-decoration: none;
  transition: border-color .4s var(--ease);
}
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover .arrow { transform: translateX(4px); color: var(--accent); }

.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: var(--c-copper); }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 40; color: var(--c-stone); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.8vw, 44px) var(--pad);
}
.brand {
  --mark-h: clamp(26px, 2.5vw, 40px);
  display: inline-flex; align-items: center;
  gap: calc(var(--mark-h) * .62);
  text-decoration: none;
}
.brand__mark { height: var(--mark-h); width: auto; aspect-ratio: 2048 / 773; }
.brand__name { font-size: clamp(.8125rem, .76rem + .22vw, .9375rem); letter-spacing: .005em; white-space: nowrap; }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: clamp(22px, 2.8vw, 44px); }
.site-nav__link { position: relative; display: inline-block; padding-block: 6px; font-size: .9375rem; text-decoration: none; }
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding-inline: 4px; font-size: .875rem; }
.menu-toggle__icon { position: relative; width: 22px; height: 8px; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { bottom: 0; }

@media (min-width: 1024px) {
  .site-nav { display: flex; align-items: center; gap: clamp(28px, 3.2vw, 52px); }
  .menu-toggle { display: none; }
}

/* Expertise page: brand sits on stone, nav sits on the photograph */
.site-header--split .brand,
.site-header--split .menu-toggle { color: var(--c-dark); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.8vw, 44px) var(--pad) 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .7s var(--ease);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .875rem; }
.mobile-menu__list { margin-top: clamp(48px, 10vh, 96px); border-top: 1px solid var(--line); }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-serif); font-size: clamp(2.25rem, 1.6rem + 3vw, 3.25rem); line-height: 1.1;
  text-decoration: none;
}
.mobile-menu__link .arrow { width: 22px; height: 12px; color: var(--muted); }
.mobile-menu__meta { margin-top: auto; padding-top: 48px; font-size: .875rem; color: var(--muted); }
.mobile-menu__meta a { text-decoration: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 26, 23, .55) 0%, rgba(20, 26, 23, 0) 24%, rgba(20, 26, 23, 0) 66%, rgba(20, 26, 23, .5) 100%),
    rgba(20, 26, 23, .58);
}
@media (min-width: 768px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(20, 26, 23, .78) 0%, rgba(20, 26, 23, 0) 32%, rgba(20, 26, 23, 0) 70%, rgba(20, 26, 23, .45) 100%),
      linear-gradient(90deg, rgba(20, 26, 23, .88) 0%, rgba(20, 26, 23, .64) 36%, rgba(20, 26, 23, .2) 70%, rgba(20, 26, 23, .1) 100%);
  }
}
.hero__content { padding-top: calc(var(--header-h) + 32px); padding-bottom: 128px; }
.hero__intro { max-width: 31rem; color: rgba(237, 230, 220, .86); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6; }
.hero__cta { margin-top: clamp(32px, 3.4vw, 48px); }

.scroll-cue {
  position: absolute; left: max(12px, calc(var(--pad) - 16px)); bottom: clamp(28px, 4.4vw, 60px);
  display: inline-flex; align-items: center; gap: 22px;
  font-size: .875rem; color: rgba(237, 230, 220, .86); text-decoration: none;
}
.scroll-cue::before { content: ""; width: 1px; height: 42px; background: currentColor; opacity: .7; }

/* ---------- Approach statement ---------- */
.approach .statement { max-width: 34ch; }
@media (min-width: 1024px) { .approach .statement { max-width: none; } }
.approach__foot { margin-top: clamp(40px, 4vw, 64px); }

/* ---------- Expertise index (home) ---------- */
.index__title { margin-bottom: clamp(40px, 5vw, 72px); }
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px; row-gap: 6px;
  align-items: center;
  padding: clamp(20px, 2.2vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.index-row__title { font-family: var(--f-serif); font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.375rem); line-height: 1.1; letter-spacing: -.01em; }
.index-row__desc { grid-column: 1 / 2; font-size: .9375rem; color: var(--muted); }
.index-row .arrow { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 12px; color: var(--muted); }
.index-row:hover .arrow, .index-row:focus-visible .arrow { transform: translateX(6px); color: var(--accent); }
@media (min-width: 1024px) {
  .index-row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .index-row__title { grid-column: 4 / 8; }
  .index-row__desc { grid-column: 8 / 12; grid-row: 1; }
  .index-row .arrow { grid-column: 12; grid-row: 1; justify-self: end; }
}

/* ---------- Principal ---------- */
.principal { row-gap: 48px; align-items: center; }
.principal__media { grid-column: 1 / -1; background: var(--c-dark-2); }
.principal__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.principal__body { grid-column: 1 / -1; }
.principal__name { margin-top: 20px; }
.principal__role { margin-top: 10px; color: var(--muted); }
.principal__bio { margin-top: 28px; }
@media (min-width: 768px) {
  .principal__media { grid-column: 1 / 6; }
  .principal__body { grid-column: 7 / 13; }
}
@media (min-width: 1024px) { .principal__media { grid-column: 1 / 5; } .principal__body { grid-column: 6 / 12; } }

.facts { margin-block: 36px 40px; border-top: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: minmax(0, 9rem) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.facts__row dt { padding-top: 3px; }

/* ---------- Image band ---------- */
.band { height: clamp(320px, 50vw, 760px); overflow: hidden; background: var(--c-dark-2); }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact strip ---------- */
.contact-strip .statement { max-width: 18ch; }
.contact-strip__note { margin-top: 20px; }
.contact-strip__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px;
  margin-top: clamp(40px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line);
}
.contact-strip__item { display: grid; gap: 4px; }
.contact-strip__item a { font-size: clamp(1rem, .96rem + .2vw, 1.125rem); text-decoration: none; }
.contact-strip__item a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact-strip__row .btn { margin-left: auto; }
@media (max-width: 767px) { .contact-strip__row .btn { margin-left: 0; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 32px 28px; border-top: 1px solid var(--c-line-on-dark); font-size: .875rem; }
.site-footer__grid { row-gap: 40px; }
.site-footer__col { grid-column: 1 / -1; }
.site-footer__col .label { margin-bottom: 14px; }
.site-footer__col address { font-style: normal; }
.site-footer__col p, .site-footer__col address, .site-footer__col dd { color: var(--muted); line-height: 1.7; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__tag { margin-top: 20px; max-width: 18rem; }
.reg-list div { display: flex; flex-wrap: wrap; gap: 0 8px; }
.reg-list dt { color: var(--c-stone); }
@media (min-width: 768px) { .site-footer__col { grid-column: span 6; } }
@media (min-width: 1024px) {
  .site-footer__col--brand { grid-column: 1 / 4; }
  .site-footer__col--office { grid-column: 4 / 7; }
  .site-footer__col--contact { grid-column: 7 / 10; }
  .site-footer__col--reg { grid-column: 10 / 13; }
}
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 0; padding-top: 0; border-top: 0;
  font-size: .8125rem; color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a, .footer-links button { min-height: 24px; text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: var(--c-stone); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  max-width: 27rem; padding: 24px;
  border: 1px solid var(--c-line-on-light);
  box-shadow: 0 24px 48px -28px rgba(10, 14, 12, .55);
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.cookie.is-visible { opacity: 1; transform: none; }
.cookie__title { margin-bottom: 10px; }
.cookie__text { font-size: .875rem; line-height: 1.55; color: var(--muted); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .cookie { left: var(--pad); right: auto; bottom: 24px; } }

/* ---------- Expertise page: split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); }
.split__content { padding: calc(var(--header-h) + 48px) var(--pad) 88px; container-type: inline-size; }
.split__content .display { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem); }
@supports (font-size: 1cqi) {
  .split__content .display { font-size: clamp(2.5rem, 14.5cqi, 4.5rem); }
}
.split__media { position: relative; height: 72vh; min-height: 420px; background: var(--c-dark-2); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 200px; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 26, 23, .42), rgba(20, 26, 23, 0));
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 40% minmax(0, 1fr); min-height: 100vh; }
  .split__content { padding: calc(var(--header-h) + 64px) clamp(32px, 3.2vw, 56px) 96px var(--pad); }
  .split__media { position: sticky; top: 0; align-self: start; height: 100vh; min-height: 0; }
}

.practice-list { margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line); max-width: 30rem; }
.practice-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 56px; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  text-decoration: none;
  transition: padding .5s var(--ease), box-shadow .5s var(--ease);
}
.practice-row .arrow { color: var(--muted); }
.practice-row:hover .arrow, .practice-row:focus-visible .arrow { transform: translateX(6px); color: var(--accent); }
.practice-row[aria-expanded="true"] { padding-left: 16px; box-shadow: inset 2px 0 0 var(--c-copper); }
.practice-row[aria-expanded="true"] .arrow { color: var(--accent); transform: translateX(6px); }

/* Detail content — without JS: a plain dark section listing every area */
.details { padding-block: var(--section-y); }
.detail { padding-inline: var(--pad); max-width: 60rem; }
.detail + .detail { margin-top: var(--section-y); }
.detail__close { display: none; }
.detail__lede { margin-top: 0; max-width: 34rem; color: rgba(237, 230, 220, .86); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.55; }
.detail__subhead { margin-top: clamp(40px, 4vw, 56px); margin-bottom: 14px; }
.detail__list { border-top: 1px solid var(--line); }
.detail__list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail__cta { margin-top: clamp(40px, 4vw, 56px); }
.detail h2:focus { outline: none; }

/* With JS: an overlay panel that takes over the photograph */
.js .details {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: 100%; padding: 0; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform .8s var(--ease), visibility 0s linear .8s;
}
.js .details.is-open { transform: none; visibility: visible; transition: transform .8s var(--ease), visibility 0s; }
.js .detail { display: none; margin: 0; padding: 20px var(--pad) 72px; }
.js .detail.is-active { display: block; }
.js .detail__close { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 40px; font-size: .875rem; }
@media (min-width: 1024px) {
  .js .details { width: 60%; z-index: 30; }
  .js .detail { padding: calc(var(--header-h) + 64px) clamp(40px, 6vw, 112px) 96px; }
  .js .detail__close { margin-bottom: 48px; }
  /* Solid strip behind the main menu, so panel content scrolls under it instead of showing through. */
  .js .details::before {
    content: ""; display: block; position: sticky; top: 0; z-index: 2;
    height: var(--header-h); margin-bottom: calc(var(--header-h) * -1);
    background: linear-gradient(180deg, var(--c-dark) 0, var(--c-dark) calc(100% - 8px), rgba(28, 36, 32, 0) 100%);
    pointer-events: none;
  }
}

/* ---------- Reveal (one quiet entrance) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Section details ---------- */
.col-label { margin-bottom: 24px; }
@media (min-width: 1024px) { .col-label { margin-bottom: 0; padding-top: .9em; } }
.index__inner { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.split__label { margin-bottom: clamp(20px, 2.2vw, 32px); }
.detail > .label { margin-bottom: 18px; }
.mobile-menu__close svg { display: block; }
.detail__close svg { display: block; }
.principal__media { margin: 0; }
.band { margin: 0; }

/* ---------- Inner pages ---------- */
.site-header--light { color: var(--c-dark); }
.page-intro { padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) 0 clamp(64px, 8vw, 128px); }
.page-intro .display { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); max-width: 15em; }
.page-intro .lede { margin-top: 0; }
.page-intro__label { margin-bottom: 28px; }
@media (min-width: 1024px) { .page-intro__label { margin-bottom: 0; padding-top: 1.1em; } }

/* About */
.principal--about { align-items: center; }
@media (min-width: 768px) { .principal--about .principal__media { position: sticky; top: 32px; } }
.principal--about .principal__bio + .principal__bio { margin-top: 1em; }
.facts--wide .facts__row { grid-template-columns: minmax(0, 8.5rem) 1fr; }
@media (min-width: 768px) { .facts--wide .facts__row { grid-template-columns: minmax(0, 11rem) 1fr; } }
.pro-details { border-top: 1px solid var(--line); font-size: .9375rem; }
.pro-details__row { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pro-details__row dd { color: var(--muted); }
@media (min-width: 768px) { .pro-details__row { grid-template-columns: minmax(0, 14rem) 1fr; } }
.pro-details__note { margin-top: 28px; font-size: .875rem; color: var(--muted); }

/* Insights */
.insight-list { border-top: 1px solid var(--line); }
.insight-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 8px; align-items: start;
  padding: clamp(24px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.insight-row__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 16px; font-size: .875rem; color: var(--muted); }
.insight-row__title { grid-column: 1 / 2; font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.375rem); line-height: 1.1; letter-spacing: -.01em; }
.insight-row__sum { grid-column: 1 / 2; max-width: 38rem; font-size: .9375rem; color: var(--muted); }
.insight-row .arrow { grid-column: 2; grid-row: 2 / span 2; align-self: center; width: 22px; height: 12px; color: var(--muted); }
.insight-row:hover .arrow, .insight-row:focus-visible .arrow { transform: translateX(6px); color: var(--accent); }
@media (min-width: 1024px) {
  .insight-row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .insight-row__meta { grid-column: 1 / 4; grid-row: 1 / span 2; flex-direction: column; gap: 4px; padding-top: .55em; }
  .insight-row__title { grid-column: 4 / 11; grid-row: 1; }
  .insight-row__sum { grid-column: 4 / 11; grid-row: 2; }
  .insight-row .arrow { grid-column: 12; grid-row: 1 / span 2; justify-self: end; }
}
.list-note { margin-top: 28px; max-width: 34rem; font-size: .875rem; color: var(--muted); }

/* Article */
.article__head { max-width: 46rem; }
.article__meta { margin-bottom: 20px; font-size: .9375rem; color: var(--muted); }
.article__head .display { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.prose { max-width: 40rem; font-family: var(--f-serif); font-size: clamp(1.125rem, 1.06rem + .3vw, 1.25rem); line-height: 1.65; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin: 2.2em 0 .6em; font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.prose ul { margin: 1.2em 0; border-top: 1px solid var(--line); }
.prose li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--f-sans); font-size: 1rem; line-height: 1.5; }
.article__foot { max-width: 40rem; margin-top: clamp(48px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.article__foot p + p { margin-top: 12px; }
.article__foot .link-arrow { margin-top: 28px; color: var(--c-dark); }

/* ---------- Approach ---------- */
.principles { border-top: 1px solid var(--line); }
.principle {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 20px; row-gap: 8px; align-items: start;
  padding: clamp(28px, 3.4vw, 52px) 0; border-bottom: 1px solid var(--line);
}
.principle__num { grid-row: 1 / span 2; font-family: var(--f-serif); font-size: clamp(2.5rem, 1.8rem + 3vw, 5.5rem); line-height: .9; letter-spacing: -.02em; color: var(--muted); }
.principle__title { grid-column: 2; font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.375rem); line-height: 1.1; letter-spacing: -.01em; }
.principle__text { grid-column: 2; max-width: 30rem; color: var(--muted); }
@media (min-width: 1024px) {
  .principle { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .principle__num { grid-column: 1 / 4; grid-row: 1; }
  .principle__title { grid-column: 4 / 8; grid-row: 1; }
  .principle__text { grid-column: 8 / 13; grid-row: 1; padding-top: .35em; }
}

/* ---------- Contact ---------- */
.form { display: grid; gap: 32px; max-width: 40rem; --field-line: color-mix(in srgb, var(--c-dark) 60%, transparent); }
.field { display: grid; gap: 6px; }
.field input, .field select, .field textarea {
  width: 100%; margin: 0; padding: 10px 0 12px; font: inherit; font-size: 1.0625rem; line-height: 1.4; color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0; appearance: none; -webkit-appearance: none;
  transition: border-color .3s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select {
  padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C2420' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.field input:hover, .field select:hover, .field textarea:hover, .field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--c-dark); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; font-size: .9375rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-dark); }
.form-status { min-height: 1.5em; font-size: .9375rem; color: var(--accent); }
.measure { max-width: 40rem; }
.map-slot {
  position: relative; display: grid; place-items: center; margin-top: clamp(40px, 4vw, 64px);
  height: clamp(240px, 32vw, 440px); border: 1px solid var(--field-line, var(--line)); color: var(--muted); font-size: .875rem; text-align: center;
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)),
    linear-gradient(to bottom right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px));
}
.map-slot span { padding: 6px 12px; background: var(--c-stone-2); }
.btn--nav[aria-current="page"] { background-color: color-mix(in srgb, currentColor 8%, transparent); border-color: currentColor; }
.index__inner .list-note { max-width: none; }

/* Expertise photo: stronger dark fade at the top on desktop so the menu stays readable over bright foliage */
@media (min-width: 1024px) {
  .split__media::after {
    height: 280px;
    background: linear-gradient(180deg, rgba(20, 26, 23, .74) 0%, rgba(20, 26, 23, .68) 34%, rgba(20, 26, 23, 0) 100%);
  }
}

/* Home principal block: space between the short bio and the link (no facts list there). */
.principal__bio + .link-arrow { margin-top: 32px; }

/* Legal pages: running text blocks */
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.legal-text .body-copy { max-width: 40rem; }
.legal-text .body-copy strong { color: var(--c-dark); font-weight: 500; }
.legal-text .facts { margin-top: 0; }
