:root {

  --ink: #101413;
  --ink-soft: #2b3735;
  --body: #44514e;
  --muted: #61706d;
  --line: #d6dedc;
  --field: #6e7c79;
  --wash: #f2f5f4;
  --paper: #ffffff;
  --on-dark: #c9d3d1;
  --band-bg: #101413;
  --band-text: #c9d3d1;
  --header-bg: #ffffff;
  --btn-bg: #101413;
  --btn-text: #f4f7f6;
  --panel-bg: rgba(255,255,255,.93);
  --panel-text: #101413;
  --accent: #14524e;
  --accent-soft: #e6efee;
  --ok: #14524e;
  --err: #8a1c1c;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-logo: 'Cinzel', Georgia, serif;

  --text-body: 17px;
  --text-h1: clamp(34px, 5vw, 56px);
  --text-h2: clamp(26px, 3.4vw, 36px);
  --text-h3: 20px;
  --text-eyebrow: 13px;
  --text-small: 14px;
  --measure: 68ch;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-xxl: 96px;

  --max-width: 1160px;
  --gutter: 24px;
  --section-space: 96px;
  --header-height: 78px;
  --header-h: var(--header-height);
  --on-image: #ffffff;
  --radius: 4px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {

  --ink: #eef2f0;
  --ink-soft: #d3dbd9;
  --body: #a8b4b1;
  --muted: #8b9895;
  --line: #2b3634;
  --field: #7d8a87;
  --wash: #141a19;
  --paper: #0c100f;
  --on-dark: #a8b4b1;
  --band-bg: #141a19;
  --band-text: #a8b4b1;
  --header-bg: #0c100f;
  --btn-bg: #eef2f0;
  --btn-text: #0c100f;
  --panel-bg: rgba(12,16,15,.88);
  --panel-text: #eef2f0;
  --accent: #6fbab2;
  --accent-soft: #15302d;
  --ok: #6fbab2;
  --err: #e8908c;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {

  --ink: #eef2f0;
  --ink-soft: #d3dbd9;
  --body: #a8b4b1;
  --muted: #8b9895;
  --line: #2b3634;
  --field: #7d8a87;
  --wash: #141a19;
  --paper: #0c100f;
  --on-dark: #a8b4b1;
  --band-bg: #141a19;
  --band-text: #a8b4b1;
  --header-bg: #0c100f;
  --btn-bg: #eef2f0;
  --btn-text: #0c100f;
  --panel-bg: rgba(12,16,15,.88);
  --panel-text: #eef2f0;
  --accent: #6fbab2;
  --accent-soft: #15302d;
  --ok: #6fbab2;
  --err: #e8908c;
  color-scheme: dark;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/sourceserif-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/sourceserif-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/sourceserif-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/sourceserif-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/sourceserif-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/sourceserif-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-normal-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-normal-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/cinzel-full-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/cinzel-full-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; z-index: 100;
}
.skip-link:focus { left: 0; }

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

.wrap { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
/* header and hero use more of a wide screen than the reading sections */
.wrap--wide { max-width: 1440px; padding: 0 clamp(24px, 3.5vw, 56px); }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

/* ---------- header ---------- */

.site-header { background: var(--header-bg); position: sticky; top: 0; z-index: 50; }

/* On pages that open with the photo, the bar sits over it with no background,
   so the image runs to the top of the window. It fills in once you scroll past
   the photo — otherwise the text underneath would read through it. */
body.has-hero .site-header { background: transparent; transition: background .25s ease; }
body.has-hero .site-header.is-solid { background: var(--header-bg); }
body.has-hero .hero { margin-top: calc(-1 * var(--header-h)); }
body.has-hero .hero__panel { padding-top: calc(var(--space-xl) + var(--header-h)); }

/* Over the photo everything reads light, in both themes: the photo is dark either way. */
/* Only the bar's own controls turn light. The child selector matters: the
   dropdown panels are solid, and their links must keep the page colours or they
   go white on white. */
body.has-hero .site-header:not(.is-solid) .site-header__logo,
body.has-hero .site-header:not(.is-solid) .nav > a,
body.has-hero .site-header:not(.is-solid) .nav > a:hover,
body.has-hero .site-header:not(.is-solid) .nav > a[aria-current="page"],
body.has-hero .site-header:not(.is-solid) .nav__group > button,
body.has-hero .site-header:not(.is-solid) .nav__group > button:hover,
body.has-hero .site-header:not(.is-solid) .nav-toggle,
body.has-hero .site-header:not(.is-solid) .pill:not(.pill--accent) { color: var(--on-image); }
body.has-hero .site-header:not(.is-solid) .nav-toggle,
body.has-hero .site-header:not(.is-solid) .pill:not(.pill--accent):not(.settings__toggle) { border-color: var(--on-image); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md); min-height: var(--header-height);
}

.site-header__logo { display: block; color: var(--ink); }
.logo-word { font-family: 'Cinzel', Georgia, serif; font-weight: 400; fill: currentColor; }
.logo-sub { font-family: 'Cinzel', Georgia, serif; font-weight: 400; fill: currentColor; }
.site-header__logo svg { width: 200px; height: auto; display: block; }

.header-tools { display: flex; align-items: center; gap: var(--space-xs); }

.nav { display: flex; align-items: center; gap: var(--space-md); }

.nav a {
  font-size: var(--text-small);
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav__group { position: relative; }

.nav__group > button {
  font: inherit; font-size: var(--text-small);
  color: var(--ink-soft); background: none; border: 0; padding: 0;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav__group > button::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav__group > button:hover { color: var(--ink); }

.nav__submenu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 250px; background: var(--paper); border: 1px solid var(--line);
  padding: var(--space-xs) 0; display: none; box-shadow: 0 6px 24px rgba(0,0,0,.09);
}
/* Opening is driven by script (hover opens, only a click closes). :focus-within
   keeps it working for the keyboard and if the script never runs. */
.nav__group:focus-within .nav__submenu,
.nav__group[data-open="true"] .nav__submenu { display: block; }

.nav__submenu a { display: block; padding: 10px 20px; font-size: var(--text-small); }
.nav__submenu a:hover { background: var(--wash); text-decoration: none; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 48px; min-height: 44px; padding: 0 12px;
  font: inherit; font-size: var(--text-small);
  color: var(--ink-soft); background: none;
  border: 1px solid var(--field); border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }

/* The language and theme control carries no outline — the flag alone reads as a
   button. Transparent rather than removed, so its size never shifts. */
.settings__toggle,
.settings__toggle:hover { border-color: transparent; }

/* One control for language and theme, opened as a small menu. */
.settings { position: relative; }
.pill__icon { width: 16px; height: 16px; }
.settings__code { font-weight: 600; letter-spacing: .04em; }

.menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 190px; padding: var(--space-xs) 0;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.menu[hidden] { display: none; }

.menu__label {
  margin: var(--space-xs) 0 2px; padding: 0 16px;
  font-size: var(--text-eyebrow); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

.menu__item {
  display: flex; align-items: center; justify-content: flex-start; gap: var(--space-sm);
  width: 100%; min-height: 44px; padding: 0 16px;
  font: inherit; font-size: var(--text-small); text-align: left;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer; text-decoration: none;
}
.menu__item:hover { background: var(--wash); color: var(--ink); }
.menu__item[aria-current="true"] { color: var(--accent); font-weight: 600; }
.menu__item[aria-current="true"]::after { content: "\2713"; margin-left: auto; }

/* Flags and theme icons sit in the same 21px column so the labels line up. */
.flag {
  width: 21px; height: 14px; flex: none; display: block;
  border-radius: 2.4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}
.menu__icon { width: 21px; height: 18px; flex: none; }
.settings__toggle .flag { width: 20px; height: 13px; }

.pill--accent {
  background: var(--accent); border-color: var(--accent); color: #ffffff; font-weight: 600;
}
:root[data-theme="dark"] .pill--accent { color: #0c100f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill--accent { color: #0c100f; } }
.pill--accent:hover { opacity: .88; color: #ffffff; border-color: var(--accent); }
:root[data-theme="dark"] .pill--accent:hover { color: #0c100f; }

.nav-toggle { display: none; }

/* ---------- hero ---------- */

/* Full-bleed photograph, graded to monochrome and dimmed, with the wordmark and
   the firm's introduction set over it on the left. Stacked grid, so a long
   headline grows the hero instead of being clipped. */
/* The photo is exactly one screen tall — never taller, so nothing spills below
   the fold — and grows only if the words themselves need more room. */
.hero { display: grid; background: var(--band-bg); min-height: 100svh; }
.hero > * { grid-area: 1 / 1; }
.hero__media {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .32; filter: grayscale(1);
  pointer-events: none; /* its opacity paints it over the buttons; let clicks through */
}
.hero__panel { display: flex; align-items: center; padding: var(--space-xl) 0; }
.hero__inner { max-width: 52ch; }

.hero__title {
  margin: 0;
  font-family: var(--font-logo);
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
}
:root[data-theme="dark"] .hero__title { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__title { color: var(--ink); } }

.hero__sub { margin: var(--space-lg) 0 0; color: var(--band-text); font-size: clamp(18px, 1.6vw, 22px); }
/* each headline line stays whole where there is room for it */
@media (min-width: 900px) { .hero__title { white-space: nowrap; } }

/* ---------- sections ---------- */

.section { padding: var(--section-space) 0; }
.section--wash { background: var(--wash); }

.section-title {
  margin: 0 0 var(--space-lg);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.2;
}
.section-title--rule { display: flex; align-items: center; gap: var(--space-md); }
.section-title--rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- situations ---------- */

.situations { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

.situation {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-md);
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: var(--space-md);
  text-decoration: none;
}
.situation:hover { border-color: var(--accent); }
.situation q {
  font-family: var(--font-display); font-size: var(--text-h3);
  color: var(--ink); line-height: 1.4;
}
.situation .go { font-size: var(--text-small); color: var(--accent); font-weight: 600; }

/* ---------- intro band ---------- */

.band-dark { background: var(--band-bg); color: var(--band-text); padding: var(--section-space) 0; }
.band-dark .inner { max-width: var(--measure); }
.band-dark .lead {
  font-family: var(--font-display); font-size: var(--text-h2);
  color: #ffffff; line-height: 1.25; margin: 0 0 var(--space-md); font-weight: 600;
}
:root[data-theme="dark"] .band-dark .lead { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band-dark .lead { color: var(--ink); } }
.band-dark p { margin: 0; }

/* ---------- practice cards ---------- */

.cards { display: grid; gap: var(--space-lg) var(--space-md); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.pcard { display: flex; flex-direction: column; gap: var(--space-sm); text-decoration: none; }
.pcard__body { display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; padding-top: var(--space-sm); border-top: 2px solid var(--accent); }
.pcard h3 { margin: 0; font-size: var(--text-h3); font-weight: 600; }
.pcard p { margin: 0; font-size: var(--text-small); flex: 1; }
.pcard .go { font-size: var(--text-small); color: var(--accent); font-weight: 600; text-decoration: none; }
.pcard:hover .go { text-decoration: underline; text-underline-offset: 4px; }

/* Photographs run in black and white, like the cover, so a mixed set of sources
   still reads as one firm rather than a stock-photo grid. */
.pcard__media, .page-banner {
  /* height:auto is required: the width/height HTML attributes are a
     presentational hint that otherwise beats aspect-ratio and stretches these. */
  display: block; width: 100%; height: auto; object-fit: cover;
  filter: grayscale(1); background: var(--wash);
  transition: filter .3s ease;
}
.pcard__media { aspect-ratio: 16 / 10; }
.pcard:hover .pcard__media { filter: grayscale(1) brightness(1.06); }
.page-banner { aspect-ratio: 21 / 8; margin: 0 0 var(--space-lg); }
@media (max-width: 620px) { .page-banner { aspect-ratio: 16 / 9; } }

.card { text-align: left; padding-top: var(--space-sm); border-top: 1px solid var(--line); }
.card__media {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  filter: grayscale(1); background: var(--wash); margin: 0 0 var(--space-sm);
}
.card__title { margin: 0 0 var(--space-sm); font-size: var(--text-h3); font-weight: 600; }
.card__text { margin: var(--space-sm) 0 0; font-size: var(--text-small); }

/* ---------- credentials ---------- */

.creds { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-xl); align-items: start; }
.creds p { max-width: var(--measure); margin: 0 0 var(--space-md); }
.creds dl { display: flex; flex-direction: column; gap: var(--space-md); margin: 0; }
.creds dt { font-size: var(--text-eyebrow); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.creds dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; }

/* ---------- process ---------- */

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.step { border-top: 2px solid var(--accent); padding-top: var(--space-sm); }
.step::before {
  counter-increment: s; content: counter(s);
  display: block; font-family: var(--font-display); font-size: var(--text-h3);
  color: var(--accent); margin-bottom: var(--space-xs);
}
.step h3 { margin: 0 0 6px; font-size: var(--text-h3); font-weight: 600; }
.step p { margin: 0; font-size: var(--text-small); }
.process-note { margin: var(--space-lg) 0 0; font-size: var(--text-small); color: var(--muted); max-width: var(--measure); }

/* ---------- faq ---------- */

.faq { max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--space-md) 0;
  font-family: var(--font-display); font-size: var(--text-h3); color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4em; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 var(--space-md); font-size: var(--text-small); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  background: var(--btn-bg); color: var(--btn-text);
  border: 1px solid var(--btn-bg); border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--text-small); font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn:hover { opacity: .88; }
.btn[disabled] { opacity: .5; cursor: default; }

.btn--accent { background: var(--accent); border-color: var(--accent); color: #ffffff; }
:root[data-theme="dark"] .btn--accent { color: #0c100f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--accent { color: #0c100f; } }

.btn--ghost { background: none; color: var(--ink); border-color: var(--field); }
.cta .btn--ghost { color: #ffffff; border-color: #ffffff; }
:root[data-theme="dark"] .cta .btn--ghost { color: var(--ink); border-color: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta .btn--ghost { color: var(--ink); border-color: var(--ink); }
}

/* ---------- prose ---------- */

.prose { max-width: var(--measure); }
.prose h2 { margin: 0 0 var(--space-md); font-size: var(--text-h2); font-weight: 600; }
.prose p { margin: 0 0 var(--space-md); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-xl); align-items: start; }
.contact__headline { margin: 0 0 var(--space-sm); font-size: var(--text-h2); font-weight: 600; }
.contact__text { margin: 0 0 var(--space-lg); }

.form { display: grid; gap: var(--space-md); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--text-small); font-weight: 600; color: var(--ink); }
.field .req { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--field); border-radius: var(--radius);
  padding: 13px 14px; width: 100%;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 1px solid var(--accent); }

.form__privacy { margin: 0; font-size: var(--text-small); color: var(--muted); }
.form__status { margin: 0; font-size: var(--text-small); }
.form__status[data-state] { padding: 12px 16px; border-radius: var(--radius); font-weight: 600; }
.form__status[data-state="ok"] { color: var(--ok); border: 1px solid var(--ok); background: var(--accent-soft); }
.form__status[data-state="error"] { color: var(--err); border: 1px solid var(--err); }
.form__hp { position: absolute; left: -9999px; }

.aside-card { background: var(--wash); border: 1px solid var(--line); padding: var(--space-lg) var(--space-md); }
.aside-card h2 { margin: 0 0 var(--space-xs); font-size: var(--text-h3); font-weight: 600; }
.aside-card p { margin: 0 0 var(--space-md); font-size: var(--text-small); }
.aside-card .promise { margin: var(--space-md) 0 0; font-size: var(--text-small); color: var(--muted); }
.aside-card a.mail { color: var(--accent); font-weight: 600; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.credits { border-collapse: collapse; width: 100%; font-size: var(--text-small); background: var(--paper); }
table.credits th, table.credits td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.credits th { color: var(--muted); font-weight: 600; }
table.credits tbody tr:last-child td { border-bottom: 0; }
table.credits a { color: var(--accent); }

/* ---------- reviews ---------- */

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: var(--space-md); }
.review blockquote { margin: 0 0 var(--space-sm); font-family: var(--font-display); font-size: var(--text-h3); color: var(--ink); line-height: 1.45; }
.review figcaption { font-size: var(--text-small); color: var(--muted); }
.reviews__source { margin: var(--space-md) 0 0; font-size: var(--text-small); }
.reviews__source a { color: var(--accent); font-weight: 600; }

.price { margin: var(--space-sm) 0 0; font-size: var(--text-small); color: var(--muted); }
.price strong { color: var(--ink); }

/* ---------- blog ---------- */

.post-list { display: grid; gap: var(--space-lg); max-width: 52rem; }
.post-card { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-md); align-items: start; text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
.post-card:hover img { filter: none; }
.post-card__title { margin: 6px 0 8px; font-size: var(--text-h3); font-weight: 600; line-height: 1.3; }
.post-card__excerpt { margin: 0; font-size: var(--text-small); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.post-grid a { text-decoration: none; display: flex; flex-direction: column; gap: var(--space-xs); }
.post-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
.post-grid h3 { margin: 0; font-size: var(--text-h3); font-weight: 600; line-height: 1.3; }
.post-grid a:hover img { filter: none; }

.meta { font-size: var(--text-small); color: var(--muted); }

.article { max-width: var(--measure); }
.article__title { margin: 0 0 var(--space-sm); font-size: var(--text-h1); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
.article__hero { margin: var(--space-lg) 0; }
.article__hero img { filter: grayscale(1); }
.article__byline { margin: 0 0 var(--space-lg); font-size: var(--text-small); color: var(--ink-soft); }
.article h2 { margin: var(--space-xl) 0 var(--space-sm); font-size: var(--text-h2); font-weight: 600; }
.article p { margin: 0 0 var(--space-md); }
.article ul, .article ol { margin: 0 0 var(--space-md); padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article__note { margin: 0 0 var(--space-md); padding: var(--space-md); background: var(--accent-soft); border-left: 3px solid var(--accent); }
.article__related { margin: var(--space-xl) 0 0; padding-top: var(--space-md); border-top: 1px solid var(--line); font-size: var(--text-small); }
.article__disclaimer { margin: var(--space-lg) 0 0; font-size: var(--text-small); color: var(--muted); font-style: italic; }
.tags { margin: 6px 0 0; font-size: var(--text-small); color: var(--muted); }

/* Client access hand-off page: the note and the staff link sit quietly under
   the main button — clients must not confuse the two doors. */
.access__note { margin: var(--space-md) 0 0; font-size: var(--text-small); color: var(--muted); max-width: var(--measure); }
.access__staff { margin: var(--space-lg) 0 0; font-size: var(--text-small); }
.access__staff a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.access__staff a:hover { color: var(--ink); }

.post-cta { margin: var(--space-xl) 0 0; padding: var(--space-lg) var(--space-md); background: var(--wash); border: 1px solid var(--line); }
.post-cta h2 { margin: 0 0 var(--space-xs); font-size: var(--text-h3); font-weight: 600; }
.post-cta p { margin: 0 0 var(--space-md); font-size: var(--text-small); }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.back-link { display: inline-block; margin-bottom: var(--space-md); font-size: var(--text-small); color: var(--accent); text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- closing cta ---------- */

.cta { background: var(--band-bg); color: var(--band-text); padding: var(--section-space) 0; }
.cta h2 { margin: 0 0 var(--space-sm); font-size: var(--text-h2); color: #ffffff; font-weight: 600; }
:root[data-theme="dark"] .cta h2 { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta h2 { color: var(--ink); } }
.cta p { margin: 0 0 var(--space-lg); max-width: var(--measure); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* ---------- footer ---------- */

.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: var(--space-xl) 0 var(--space-lg); font-size: var(--text-small); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin-bottom: var(--space-md); }
.site-footer a { text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); color: var(--muted); margin-bottom: var(--space-md); }
.site-footer__legal { margin: 0; color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: 1fr; gap: var(--space-lg); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .steps { grid-template-columns: 1fr; gap: var(--space-md); }
  .post-grid, .reviews { grid-template-columns: 1fr; }
  .nav { gap: var(--space-sm); }
  .site-header__logo svg { width: 170px; }
}

@media (max-width: 620px) {
  :root { --section-space: 56px; }

  .site-header__inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .site-header__logo svg { width: 160px; }

  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    font: inherit; font-size: var(--text-small);
    background: none; border: 1px solid var(--field); border-radius: var(--radius);
    color: var(--ink-soft); cursor: pointer;
  }

  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-xs) 0 var(--space-sm); }
  .nav[data-open="true"] { display: flex; }
  .nav a, .nav__group > button { padding: 13px 0; width: 100%; min-height: 44px; display: flex; align-items: center; }

  .nav__group { width: 100%; }
  .nav__submenu { position: static; transform: none; display: block; border: 0; box-shadow: none; padding: 0 0 0 var(--space-sm); min-width: 0; }

  .hero__inner { padding: var(--space-lg) var(--space-md); }
  .situations, .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
}

/* ---------- hero: core matters box ---------- */

/* Stands in for the hero's buttons. Closed: one liquid-glass row (title + three
   tabs). Open: a dark panel unrolls downward over the page, so nothing moves.
   It always sits on the dark photo, so its colours are the same in both themes. */
.matter-card { max-width: 560px; margin-top: var(--space-lg); color: #c9d3d1; }
.matter-top {
  position: relative; border-radius: 14px;
  background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)), rgba(16, 20, 19, .45); /* dark tint keeps AA over bright surf */
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 -10px 18px -10px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .28);
}
/* refraction through an SVG displacement map: Chromium only (class set by script); others keep the plain blur */
.liquid-refract .matter-top { backdrop-filter: url(#matter-liquid) blur(7px) saturate(170%); }
.matter-head {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 6px 16px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #e6ecea;
}
.matter-head:hover { color: #ffffff; }
.matter-head::after {
  content: ""; width: 7px; height: 7px; margin: -4px 2px 0 12px;
  border-right: 1.5px solid #6fbab2; border-bottom: 1.5px solid #6fbab2; transform: rotate(45deg); transition: transform .25s ease;
}
.matter-head[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.matter-tabs { display: flex; justify-content: space-between; gap: 12px; padding: 0 16px; }
.matter-tab {
  flex: 1 1 0; display: grid; gap: 1px; min-height: 48px; padding: 4px 0 8px; text-align: left; white-space: nowrap;
  background: none; border: 0; border-bottom: 2px solid transparent;
  font: inherit; font-size: 13px; font-weight: 500; line-height: 1.25; color: #dfe7e5; cursor: pointer;
}
.matter-tab:hover { color: #ffffff; }
.matter-tab[aria-selected="true"] { color: #ffffff; border-bottom-color: #b9e3de; }
.matter-head:focus-visible, .matter-tab:focus-visible { outline: 2px solid #6fbab2; outline-offset: 2px; }
.matter-tab__num { font-size: 11px; letter-spacing: .08em; color: #b9e3de; }
.matter-card.is-open .matter-top { border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: none; }
.matter-body {
  background: #101413; border: 1px solid rgba(255, 255, 255, .18); border-top: 0;
  border-radius: 0 0 14px 14px; box-shadow: 0 16px 32px rgba(0, 0, 0, .35);
  /* unrolls downward by un-clipping (no height to measure); hidden content is also out of the tab order */
  clip-path: inset(0 -40px 100% -40px); visibility: hidden; transition: clip-path .28s ease, visibility 0s .28s;
}
.matter-card.is-open .matter-body { clip-path: inset(0 -40px -60px -40px); visibility: visible; transition-delay: 0s; }
/* the three panels share one cell, so the box keeps its height when the tab changes */
.matter-panels { display: grid; padding: 16px 16px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.matter-panel { grid-area: 1 / 1; }
.matter-panel[hidden] { display: block; visibility: hidden; }
.matter-panel h2 { margin: 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.25; color: #ffffff; }
.matter-panel p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: #c9d3d1; }
.matter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 16px 16px; }
.matter-actions .btn--accent { background: #6fbab2; border-color: #6fbab2; color: #0c100f; }
.matter-actions a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--text-small); color: #ffffff; text-underline-offset: 4px; }

/* The hero block sits on the bottom of the first screen, so the OPEN box ends 16px
   above its edge at any height. On a screen too short for it, the hero grows and
   the block starts right under the header. */
body.has-hero .hero__panel { align-items: flex-end; padding-top: calc(var(--header-h) + 8px); padding-bottom: 16px; }
@media (max-height: 800px) and (min-width: 620px) {
  .hero__sub, .matter-card { margin-top: 16px; }
}
@media (max-width: 620px) {
  body.has-hero .hero__panel { padding-top: 124px; }
  /* phone: the text block uses the page gutter (no extra side inset) so everything takes fewer lines */
  .hero__inner { padding: 12px 0 0; }
  .hero__sub, .matter-card { margin-top: 16px; }
  .matter-head, .matter-tabs { padding-left: 12px; padding-right: 12px; }
  .matter-tabs { gap: 8px; }
  .matter-tab { font-size: 12px; }
  .matter-panels { padding: 14px 12px 0; }
  .matter-actions { flex-wrap: nowrap; padding: 12px 12px 14px; }
  .matter-actions .btn { padding-left: 18px; padding-right: 18px; }
}
/* very narrow phones: a long label wraps instead of pushing the box off-screen */
@media (max-width: 359px) { .matter-tab { min-width: 0; white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .matter-body, .matter-head::after { transition: none; } }