/* Light is the default. Dark follows the system unless theme-init.js sets data-theme, and the header toggle overrides both. */
:root {
  color-scheme: light;
  --navy: #14224f;
  --heading: var(--navy);
  --gold: #a67c2e;
  --ink: #202124;
  --paper: #ffffff;
  --focus: #005fcc;
  --muted: #3f4250;
  --gold-text: #7f6119;
  --line: #e4e5e8;
  --placeholder: #fff1c7;
  --error: #a01818;
  /* Solid brand panels (hero, footer, closing band) keep a deep navy in both themes; only the page itself flips. */
  --panel: #14224f;
  --on-panel: #ffffff;
  --panel-accent: #d7b66f;
  --on-gold: #14224f;
  --soft: #f7f8fa;
  --gold-button: #d7b66f;
  --logo-bg: transparent;
  --logo-ring: transparent;
  --footer: #0f1a40;
  --stage: linear-gradient(165deg, #f1f3f9 0%, #dce2f0 100%);
  --blur: none;
  color: var(--ink);
  background: var(--paper);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --navy: #c6d2ff; --heading: #f4ead0; --gold: #d7b66f; --gold-text: #d7b66f; --ink: #e9ebf1; --paper: #0e1428; --focus: #8ab8ff; --muted: #aeb4c4; --line: #2b3454;
    --placeholder: #4d4212; --error: #ff9d9d; --panel: #1b2a66; --footer: #101840; --soft: #151d38; --logo-bg: #efe9da; --logo-ring: #d7b66f; --stage: linear-gradient(165deg, #202c58 0%, #121a3a 100%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --navy: #c6d2ff; --heading: #f4ead0; --gold: #d7b66f; --gold-text: #d7b66f; --ink: #e9ebf1; --paper: #0e1428; --focus: #8ab8ff; --muted: #aeb4c4; --line: #2b3454;
  --placeholder: #4d4212; --error: #ff9d9d; --panel: #1b2a66; --footer: #101840; --soft: #151d38; --logo-bg: #efe9da; --logo-ring: #d7b66f; --stage: linear-gradient(165deg, #202c58 0%, #121a3a 100%);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button, a { min-height: 24px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .5rem; background: var(--paper); z-index: 1; }
.skip-link:focus { top: 1rem; }
.ph { color: var(--navy); background: var(--placeholder); border-bottom: 1px dotted var(--gold); padding: 0 .15em; }
/* clip, not hidden: hidden would make the frame a scroll container, and view() would track it instead of the page. */
.parallax-photo { position: relative; overflow: clip; }
.parallax-photo picture { position: absolute; inset: 0; display: block; }
.parallax-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 84%, transparent 100%); }

/* Blur-up: a 24px blurred copy sits behind the photo. Lazy photos stay transparent (JS only) until enhance.ts marks them loaded. */
.blur-up { position: relative; overflow: clip; }
.blur-up::before { content: ''; position: absolute; inset: 0; background: var(--blur) 50% 0% / cover no-repeat; filter: blur(16px); transform: scale(1.15); transition: opacity .6s ease; }
.blur-up.is-loaded::before { opacity: 0; }
.blur-up img { transition: opacity .6s ease; }
.js .blur-up[data-lazy]:not(.is-loaded) img { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  /* reveal.ts adds .reveal-ready only when it can also reveal, so nothing is ever left hidden. */
  .reveal-ready .motion-reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, .7, .2, 1); }
  .reveal-ready .motion-reveal.is-visible { opacity: 1; transform: none; }
  @supports (animation-timeline: view()) {
    .parallax-photo {
      animation: portrait-parallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    /* Whole-frame travel: the source is never cropped, so a head is never cut and no edge can show a gap. */
    @keyframes hero-parallax { from { transform: none; } to { transform: translateY(40px); } }
    /* The hero starts flush with its panel and only drifts down as it leaves the top of the screen. */
    .hero-image.parallax-photo { animation-name: hero-parallax; animation-range: exit 0% exit 100%; }
    @keyframes portrait-parallax {
      from { transform: translateY(-88px); }
      to { transform: translateY(88px); }
    }
  }
  @media (max-width: 680px) {
    @supports (animation-timeline: view()) { @keyframes portrait-parallax-small { from { transform: translateY(-44px); } to { transform: translateY(44px); } } .parallax-photo { animation-name: portrait-parallax-small; } }
  }
  /* Cross-document view transitions: a short cross-fade, with the header, logo and action bar held in place. */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  .brand img { view-transition-name: site-logo; }
  .mobile-actions { view-transition-name: quick-actions; }
  ::view-transition-old(root) { animation-name: vt-out; animation-duration: .16s; animation-timing-function: ease-in; }
  ::view-transition-new(root) { animation-name: vt-in; animation-duration: .3s; animation-timing-function: ease-out; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/_astro/hanken-grotesk-latin-wght-normal.CaVRRdDk.woff2') format('woff2-variations');
  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;
}

:root {
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums tabular-nums;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 6rem; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font-size: 1.0625rem; font-weight: 400; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button, a, summary { min-height: 24px; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { color: var(--heading); font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.2rem); letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; hyphens: manual; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.025em; line-height: 1.08; }
p, li { max-width: 70ch; text-wrap: pretty; }
::selection { color: var(--on-panel); background: var(--panel); }

.section-wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 30; left: 1rem; top: -5rem; padding: .7rem 1rem; color: var(--on-panel); background: var(--panel); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); width: min(100% - 3rem, 75rem); min-height: 5rem; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); font-size: 1.04rem; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.desktop-nav { display: flex; justify-content: flex-end; align-items: center; flex-wrap: nowrap; gap: clamp(.8rem, 2vw, 1.8rem); }
.desktop-nav a, .header-phone { color: var(--navy); font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.desktop-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .45rem; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .55rem .9rem; color: var(--on-panel); background: var(--panel); font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .18s ease, transform .18s ease; }
.header-phone:hover { background: color-mix(in srgb, var(--panel) 84%, white); }
.mobile-menu { display: none; position: relative; }
.phone-lead { white-space: pre; }
/* 900 to 1099px: the header keeps one row in French too, so the number stands alone and the gaps close up. */
@media (min-width: 900px) and (max-width: 1099px) {
  .header-inner { width: min(100% - 2rem, 75rem); gap: 1rem; }
  .desktop-nav { gap: .8rem; }
  .desktop-nav a { font-size: .84rem; }
  .phone-lead { display: none; }
}
.mobile-menu summary { display: flex; align-items: center; gap: .55rem; cursor: pointer; list-style: none; color: var(--navy); font-weight: 700; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-mark, .menu-mark::after { width: 1.2rem; height: 2px; background: var(--navy); }
.menu-mark { position: relative; }
.menu-mark::after { position: absolute; top: .4rem; left: 0; content: ''; }
.mobile-menu[open] .menu-mark { transform: rotate(45deg); }
.mobile-menu[open] .menu-mark::after { top: 0; transform: rotate(90deg); }
.mobile-menu nav { position: absolute; top: calc(100% + 1.25rem); right: -1rem; display: grid; min-width: min(19rem, calc(100vw - 2rem)); padding: .7rem 1.1rem; border: 1px solid var(--line); background: var(--paper); }
.mobile-menu nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 650; text-decoration: none; }
.mobile-menu nav a:last-child { border-bottom: 0; }

.home-hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: stretch; gap: clamp(1rem, 2vw, 2rem); width: min(100% - 3rem, 75rem); margin-inline: auto; padding-block: 0 clamp(1.5rem, 3vw, 3rem); }
.hero-image { grid-column: 2; grid-row: 1; min-width: 0; height: clamp(32rem, 48vw, 44rem); overflow: clip; background: var(--stage); }
.hero-image picture { display: block; height: 100%; }
.hero-photo { object-position: 50% 0%; }
.hero-panel { position: relative; grid-column: 1; grid-row: 1; display: flex; min-width: 0; flex-direction: column; justify-content: flex-end; container-type: inline-size; padding: clamp(1.5rem, 3.5vw, 3.25rem) clamp(1.5rem, 3.5vw, 3.25rem) clamp(2.5rem, 4.5vw, 4rem); border-top: 2px solid var(--panel-accent); color: var(--on-panel); background: var(--panel); }
.hero-panel h1 { max-width: 12ch; margin-bottom: 1.1rem; color: var(--on-panel); font-size: clamp(2.4rem, max(11cqi, min(13.4cqi, 1.2rem + 3.4vw)), 4.75rem); overflow-wrap: normal; hyphens: manual; }
.hero-kicker, .eyebrow { margin-bottom: .8rem; color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.hero-panel .hero-kicker { color: var(--on-panel); }
.hero-intro { max-width: 58ch; margin-bottom: 1.5rem; color: var(--on-panel); font-size: clamp(1rem, 1.35vw, 1.1875rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.15rem; border: 1px solid transparent; font-size: .94rem; font-weight: 650; line-height: 1.3; text-align: center; text-decoration: none; transition: color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover, .header-phone:hover { transform: translateY(-2px); }
.button:active, .header-phone:active, .mobile-actions a:active { transform: translateY(1px) scale(.985); }
.button-primary { color: var(--on-panel); background: var(--panel); border-color: color-mix(in srgb, var(--on-panel) 30%, var(--panel)); }
.button-primary:hover { color: var(--on-panel); background: color-mix(in srgb, var(--panel) 84%, white); box-shadow: 0 .6rem 1.4rem -.8rem var(--panel); }
.button-gold { color: var(--on-gold); background: var(--gold-button); }
.button-gold:hover { color: var(--on-gold); background: color-mix(in srgb, var(--gold-button) 80%, white); box-shadow: 0 .6rem 1.4rem -.7rem var(--gold-button); }
.hero-call { color: var(--on-panel); font-weight: 750; font-variant-numeric: tabular-nums; }
.section-heading { max-width: 45rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-heading h2 { margin-bottom: 0; }

.practice-band { padding-block: clamp(3rem, 6vw, 5rem); color: var(--ink); background: var(--paper); }
.inverse-heading h2 { color: var(--heading); }
.inverse-heading .eyebrow { color: var(--navy); }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.practice-tile { position: relative; display: grid; grid-template-columns: 3rem 1fr; align-content: stretch; grid-template-rows: auto 1fr auto; gap: .35rem 1rem; min-height: 0; padding: 1.6rem .8rem 1.8rem; border: 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: color .18s ease, background-color .18s ease; }
.practice-grid li:nth-last-child(-n+2) .practice-tile { border-bottom: 1px solid var(--line); }
.practice-tile:hover, .practice-tile:focus-visible { color: var(--navy); background: var(--soft); }
.practice-number { grid-row: span 3; color: var(--gold-text); font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.practice-title { color: var(--heading); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 650; letter-spacing: -.025em; line-height: 1.05; }
.practice-lead { max-width: 42ch; color: var(--muted); }
.tile-action { display: flex; align-items: center; gap: .5rem; align-self: end; margin-top: 1rem; color: var(--navy); font-size: .86rem; font-weight: 650; }
.tile-action .arrow-mark { border-color: var(--gold); }
.approach-section { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.approach-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 0; margin: 0; list-style: none; }
.approach-timeline li { padding-top: 1.35rem; border-top: 1px solid var(--line); }
.approach-timeline h3 { margin-bottom: .75rem; }
.approach-timeline p { margin-bottom: 0; }
.principal-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; padding-inline: max(0px, calc((100% - 75rem) / 2)); overflow: clip; background: var(--soft); }
.principal-section::before { content: ''; grid-column: 1; grid-row: 1; background: var(--stage); }
.principal-image { grid-column: 1; grid-row: 1; }
.principal-copy { grid-column: 2; grid-row: 1; }
/* minmax(0,1fr) caps the width, so aspect-ratio can no longer widen the page; align-self avoids a stretch conflict */
.principal-image { min-width: 0; aspect-ratio: 1 / 1; align-self: center; background: var(--stage); }
.principal-copy { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: clamp(2rem, 7vw, 6rem); }
.principal-copy h2 { max-width: 11ch; }
.principal-copy > p:not(.eyebrow) { max-width: 54ch; }
.principal-role { margin-top: -1rem; color: var(--muted); font-weight: 700; }
.text-action { display: inline-flex; align-items: center; gap: .55rem; margin-top: .8rem; font-weight: 750; }
.closing-band { padding-block: clamp(4.5rem, 8vw, 7rem); color: var(--on-panel); background: var(--panel); }
.closing-inner { display: grid; grid-template-columns: minmax(17rem, 1fr) auto auto; align-items: center; gap: 2rem; width: min(100% - 3rem, 75rem); margin-inline: auto; }
.closing-inner h2 { max-width: 10ch; margin-bottom: 0; color: var(--on-panel); }
.closing-phone { color: var(--on-panel); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }

.page-heading { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2vw, 1.5rem); color: var(--ink); background: var(--paper); }
.page-heading h1 { max-width: 15ch; margin-bottom: 1rem; color: var(--heading); }
@media (min-width: 900px) { .practice-wrap .page-heading h1 { max-width: none; font-size: clamp(2.4rem, 3.4vw, 3.4rem); } }
.page-lead { max-width: 67ch; margin-bottom: 0; color: var(--muted); font-size: 1.15rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; color: var(--muted); font-size: .87rem; }
.breadcrumbs a { color: var(--muted); }
.index-content { padding-block: 2rem 6rem; }
.index-grid .practice-tile { color: var(--navy); border-color: var(--line); background: var(--paper); }
.index-grid .practice-tile:hover, .index-grid .practice-tile:focus-visible { color: var(--navy); border-color: var(--navy); background: var(--soft); }
.index-grid .practice-lead { color: var(--ink); }
.index-grid .practice-number { color: var(--gold-text); }
.reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
.reading-content { min-width: 0; }
.reading-content h2 { margin-bottom: 1rem; }
.content-section { margin-bottom: 2.7rem; }
.content-section h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.content-paragraph { max-width: 68ch; }
.content-list { display: grid; gap: .65rem; padding-left: 1.4rem; }
.content-list li::marker { color: var(--gold); }
.practice-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; grid-template-areas: "head aside" "body aside"; grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 6vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.practice-wrap > .page-heading { grid-area: head; }
.practice-wrap > .practice-layout { display: contents; }
.practice-wrap .page-heading .section-wrap { width: auto; }
.practice-wrap .reading-content { grid-area: body; padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.practice-wrap .practice-sidebar { grid-area: aside; margin-top: clamp(2.5rem, 5vw, 4rem); }
.practice-sidebar { align-self: start; padding: 1.5rem; border-top: 4px solid var(--gold); background: var(--soft); }
.practice-sidebar .eyebrow { color: var(--navy); }
.sidebar-phone { display: block; margin-bottom: .6rem; font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.practice-sidebar .button { width: 100%; margin-block: .5rem 1rem; }
.help-list { padding-top: 1rem; border-top: 1px solid var(--line); }
.help-list h2 { font-size: 1.6rem; }
.help-list ul { display: grid; grid-template-columns: 1fr; gap: .8rem; padding-left: 1.1rem; }
.help-list li::marker { color: var(--gold); }
.faq-section { margin-top: 3rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 1rem .2rem; color: var(--navy); cursor: pointer; font-weight: 750; }
.faq-item p { padding: 0 .2rem 1rem; }
.people-list { display: grid; gap: 1rem; padding-block: 1.25rem 4rem; }
.person-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); color: var(--navy); }
.person-row img, .person-initials { width: 9rem; height: 9rem; aspect-ratio: 1; object-fit: cover; object-position: 50% 0%; }
.person-row img { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 84%, transparent 100%); }
.person-initials { display: grid; place-items: center; color: var(--on-panel); background: var(--panel); font-size: 2rem; font-weight: 500; }
.person-row strong, .person-row span span { display: block; }
.person-row strong { font-size: 1.6rem; font-weight: 650; }
.person-row > div p { margin: .5rem 0 0; color: var(--muted); }
.row-arrow { font-size: 1.5rem; font-weight: 800; }
.person-hero { display: grid; grid-template-columns: minmax(15rem, .8fr) 1.2fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); padding-block: 3rem; }
.person-portrait { width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0; background: var(--stage); }
.person-hero h2 { margin-bottom: 0; }
.person-hero + .reading-layout { padding-top: 1rem; }
.contact-layout { grid-template-columns: minmax(0, 1fr) 20rem; }
.about-photo { width: min(100%, 18rem); height: auto; aspect-ratio: 1 / 1; margin: 0 0 2.5rem; background: var(--stage); }
.map-link { padding: 1rem 0; }
.form-response { padding: 1rem; background: var(--soft); }
.page-actions { margin-top: 2rem; }
.ph { padding-inline: .15em; color: var(--ink); background: var(--placeholder); border-bottom: 1px dotted var(--gold); }
.hero-trust { max-width: 58ch; margin: -.4rem 0 1.1rem; color: var(--on-panel); font-size: .94rem; font-weight: 600; }
.arrow-mark { display: inline-block; width: .62rem; height: .62rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

.site-footer { padding: 3.5rem 1.5rem 2rem; color: var(--on-panel); background: var(--panel); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; width: min(100%, 75rem); margin-inline: auto; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-panel); font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.footer-primary p, .footer-contact p { margin-block: .8rem; color: var(--on-panel); }
.footer-primary address { font-style: normal; }
.footer-phone { color: var(--on-panel); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; grid-column: 1 / -1; }
.footer-legal a { color: var(--on-panel); }
.footer-legal { padding-top: .4rem; }
.mobile-actions { display: none; }

@media (max-width: 899px) {
  html { scroll-padding-top: 5.25rem; scroll-padding-bottom: 5.1rem; }
  /* Below 900px the header is the menu: logo, language and theme, menu. */
  .header-inner { grid-template-columns: auto 1fr auto; gap: 1rem; min-height: 4.25rem; }
  .desktop-nav, .header-phone { display: none; }
  .header-tools { justify-self: end; }
  .mobile-menu { display: block; justify-self: end; }
  .closing-inner { grid-template-columns: 1fr auto; }
  .closing-inner .button { grid-column: 1 / -1; justify-self: start; }
  .reading-layout { grid-template-columns: minmax(0, 1fr) 17rem; gap: 2rem; }
  .practice-wrap { grid-template-columns: minmax(0, 1fr) 17rem; column-gap: 2rem; }
}
@media (max-width: 680px) {
  .section-wrap { width: min(100% - 2rem, 75rem); }
  .header-inner { width: calc(100% - 2rem); }
  .brand { font-size: .95rem; }
  .brand img { width: 44px; height: 44px; }
  .hero-kicker { margin-bottom: .55rem; }
  .hero-actions { align-items: start; flex-direction: column; gap: .8rem; }
  .practice-band { padding-block: 2.5rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-tile { min-height: 0; grid-template-columns: 2.2rem 1fr; padding: 1.4rem 0; }
  .practice-grid li:nth-last-child(-n+2) .practice-tile { border-bottom: 0; }
  .practice-grid li:last-child .practice-tile { border-bottom: 1px solid var(--line); }
  .practice-number { font-size: 1.35rem; }
  .approach-section { padding-block: 1.5rem 2.5rem; }
  .approach-timeline { grid-template-columns: 1fr; gap: 1.4rem; }
  .approach-timeline li { padding-top: .9rem; }
  .principal-section { grid-template-columns: 1fr; }
  .principal-copy { grid-column: 1; grid-row: 2; }
  /* width-led: a fixed height plus aspect-ratio forced a 427px-wide frame at 320px */
  .principal-image { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .principal-copy { padding: 2rem 1.2rem 2.5rem; }
  .closing-inner { grid-template-columns: 1fr; gap: 1.3rem; width: calc(100% - 2rem); }
  .closing-phone { font-size: clamp(2rem, 9vw, 3rem); }
  .closing-inner .button { grid-column: auto; }
  .page-heading { padding-block: 1rem .25rem; }
  .breadcrumbs { margin-bottom: 1.3rem; }
  .reading-layout { grid-template-columns: 1fr; padding-block: 1.25rem 2.5rem; }
  .practice-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body" "aside"; grid-template-rows: auto; row-gap: 2rem; padding-bottom: 2.5rem; }
  .practice-wrap .reading-content { padding-top: 0; }
  .practice-wrap .practice-sidebar { margin-top: 0; }
  .help-list ul { grid-template-columns: 1fr; }
  .person-row { grid-template-columns: 5rem minmax(0, 1fr); gap: .9rem; padding-inline: 0; }
  .person-row img, .person-initials, .person-frame { width: 5rem; height: 5rem; }
  .person-row strong { font-size: 1.2rem; }
  .person-row .text-action, .person-row .person-links { grid-column: 2; }
  .person-hero { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-legal { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Pages with no side column (About, Team, legal) read as one centred column instead of leaving an empty rail. */
.reading-layout:not(.practice-layout):not(.contact-layout) { grid-template-columns: minmax(0, 48rem); justify-content: center; }
@media (min-width: 900px) {
  .about-photo { float: right; width: min(42%, 20rem); aspect-ratio: 4 / 5; margin: .3rem 0 1.5rem 2.5rem; }
}

/* Tiles in the same row fill the row, so their divider lines line up. */
.practice-grid > li { display: flex; }
.practice-grid > li > .practice-tile { flex: 1; }

/* ---- Round 4 ---- */
.brand img { border-radius: 50%; background: var(--logo-bg); box-shadow: 0 0 0 1.5px var(--logo-ring); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.brand img { transform: scale(var(--logo-scale, 1)); }
.brand:hover img { transform: rotate(-6deg) scale(calc(var(--logo-scale, 1) * 1.06)); }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.lang-switch, .theme-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.5rem; padding: 0; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: transparent; font-size: .8125rem; font-weight: 750; letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.lang-switch:hover, .theme-toggle:hover { border-color: var(--navy); background: var(--soft); transform: translateY(-1px); }
.lang-switch:active, .theme-toggle:active { transform: scale(.94); }
.theme-toggle { display: none; }
.js .theme-toggle { display: inline-flex; }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.mobile-menu nav .lang-link { color: var(--navy); }

/* Hero entrance: CSS only. The heading and portrait move but never start transparent, so the largest paint is not delayed. */
@media (prefers-reduced-motion: no-preference) {
  /* Entrance: the portrait settles with transform only (never transparent, it is the largest paint); text rises and fades in at 80ms steps. */
  .home-hero .hero-kicker, .home-hero .hero-trust, .home-hero .hero-intro, .home-hero .hero-actions, .home-hero h1 { animation-name: hero-rise; animation-duration: .7s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); animation-fill-mode: both; }
  .home-hero h1 { animation-name: hero-rise-heading; animation-delay: .08s; }
  .home-hero .hero-kicker { animation-delay: 0s; }
  .home-hero .hero-trust { animation-delay: .16s; }
  .home-hero .hero-intro { animation-delay: .24s; }
  .home-hero .hero-actions { animation-delay: .32s; }
  .person-portrait picture { animation-name: portrait-settle; animation-duration: .9s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); animation-fill-mode: both; }
  /* The hero portrait waits at 1.06 until enhance.ts marks it loaded, then settles: the move is seen on slow phones too. Transform only, never transparent (it is the LCP). */
  .js .hero-image:not(.is-loaded) picture { transform: scale(1.06); }
  .hero-image.is-loaded picture { animation: portrait-settle .9s cubic-bezier(.2, .7, .2, 1) both; }
  /* Gold hairline under the kicker draws in; it sits in the kicker's margin, so nothing moves. */
  .home-hero .hero-kicker { position: relative; }
  .home-hero .hero-kicker::after { content: ''; position: absolute; bottom: -.3rem; left: 0; width: 3rem; height: 2px; background: var(--panel-accent); transform-origin: left; animation: hairline-draw .6s cubic-bezier(.2, .7, .2, 1) .35s both; }
  /* Section rules draw in as their heading reveals (reveal-ready only exists when JS can also reveal). */
  .reveal-ready h2.motion-reveal::after, .reveal-ready .motion-reveal h2::after { transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1) .2s; }
  .reveal-ready h2.motion-reveal.is-visible::after, .reveal-ready .motion-reveal.is-visible h2::after { transform: none; }
  @keyframes hairline-draw { from { transform: scaleX(0); } }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes hero-rise-heading { from { opacity: 0; transform: translateY(24px); } }
  @keyframes portrait-settle { from { transform: scale(1.06); } }
  .practice-tile .practice-number, .practice-tile .practice-title { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
  .practice-tile:hover .practice-title, .practice-tile:focus-visible .practice-title { transform: translateX(.3rem); }
  .arrow-mark { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
  .practice-tile:hover .arrow-mark, .text-action:hover .arrow-mark, .practice-tile:focus-visible .arrow-mark { transform: translateX(.35rem) rotate(45deg); }
  .faq-item summary { transition: color .18s ease, padding-left .2s ease; }
  .faq-item summary:hover { padding-left: .5rem; }
  .person-row { transition: background-color .2s ease; }
  .person-row:hover { background: var(--soft); }
}
.content-section a, .page-lead a, .map-link a { transition: text-decoration-thickness .15s ease; }
.person-frame { display: block; width: 9rem; height: 9rem; background: var(--stage); }
.blur-up:not(.parallax-photo) picture { position: relative; display: block; }

/* Important block (footer and Disclaimer page) */
.disclaimer { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.1rem; padding: 1.4rem 1.6rem; border: 1px solid color-mix(in srgb, var(--on-panel) 24%, transparent); border-left: 4px solid var(--panel-accent); background: color-mix(in srgb, var(--on-panel) 7%, transparent); color: var(--on-panel); }
.disclaimer-icon { width: 2rem; height: 2rem; margin-top: .1rem; fill: none; stroke: var(--panel-accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.disclaimer h2 { margin: 0 0 .4rem; color: var(--on-panel); font-size: .8rem; font-weight: 750; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; }
.disclaimer p { max-width: 76ch; margin: 0 0 .7rem; color: var(--on-panel); font-size: .96rem; }
.disclaimer a { color: var(--panel-accent); font-weight: 700; }
.disclaimer-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; padding: 0; margin: 0 0 3rem; list-style: none; counter-reset: point; }
.disclaimer-points li { max-width: none; position: relative; padding: 1.4rem 1.3rem 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--gold); background: var(--soft); counter-increment: point; }
.disclaimer-points li::before { content: counter(point, decimal-leading-zero); display: block; margin-bottom: .8rem; color: var(--navy); font-size: 1.3rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.disclaimer-points strong { display: block; margin-bottom: .4rem; color: var(--navy); font-size: 1.1rem; line-height: 1.25; }
.disclaimer-points span { display: block; color: var(--ink); }
.legal-disclaimer .content-paragraph { padding: .2rem 0 .2rem 1.3rem; border-left: 3px solid var(--gold); }
.legal-disclaimer.reading-layout { grid-template-columns: minmax(0, 60rem); }

/* Contact: map beside the address and hours */
.reading-layout.contact-layout { grid-template-columns: minmax(0, 56rem); justify-content: start; }
.map-frame { position: relative; margin: 1.5rem 0 .4rem; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: .9rem; background: var(--soft); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { padding: .4rem 0 1.4rem; }


@media (max-width: 899px) { .disclaimer-points { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .map-frame { aspect-ratio: 4 / 5; }
  .disclaimer { grid-template-columns: 1fr; padding: 1.2rem; }
}
html[lang^="fr"] .breadcrumbs { text-transform: none; }
.footer-contact p, .footer-primary p { overflow-wrap: anywhere; }
.closing-band .eyebrow { color: var(--on-panel); }

/* ---- Round 4, loop 1 ---- */
/* Headings: one grotesk, lighter and larger, with a gold rule as the accent. */
.section-heading h2::after, .content-section h2::after, .book-block h2::after { content: ''; display: block; width: 3rem; height: 2px; margin-top: 1rem; background: var(--gold); }
.closing-inner h2::after, .book-block h2::after { background: var(--panel-accent); }
.closing-inner h2::after { content: ''; display: block; width: 3rem; height: 2px; margin-top: 1rem; }
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 .6rem 1.4rem -1rem rgb(10 20 60 / .4); }
@media (min-width: 900px) { .header-inner { transition: min-height .2s ease; } .site-header.is-scrolled .header-inner { min-height: 4rem; } }

/* Tap targets: 44px minimum for every standalone link and control. */
.brand { min-height: 44px; }
.footer-legal a, .footer-phone, .text-action, .tile-action, .map-link a, .sidebar-phone, .breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { gap: .2rem 1rem; }
.footer-legal a { padding-inline: .2rem; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.breadcrumbs { align-items: center; gap: .1rem .6rem; margin-bottom: .6rem; }
.lang-switch, .theme-toggle { min-width: 2.75rem; min-height: 2.75rem; }
.mobile-menu summary { min-width: 44px; min-height: 44px; }
.map-link { padding: 0 0 1.4rem; }

/* Trust strip under the hero: only facts the firm has confirmed. */
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; width: min(100% - 3rem, 75rem); padding: 0; margin: 1.5rem auto 0; list-style: none; }
.trust-strip li { max-width: none; margin-block: .5rem; padding: .3rem 0 .3rem .9rem; border-left: 2px solid var(--gold); color: var(--ink); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.practice-band { padding-top: clamp(3rem, 6vw, 5rem); }

/* Contact: booking block first */
.book-block { margin: 0 0 2.5rem; padding: clamp(1.4rem, 4vw, 2.4rem); border-top: 3px solid var(--panel-accent); color: var(--on-panel); background: var(--panel); scroll-margin-top: 6rem; }
.book-block h2 { margin-bottom: .6rem; color: var(--on-panel); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.book-block h3 { margin: 1.5rem 0 .5rem; color: var(--on-panel); font-size: 1.1rem; }
.book-block p, .book-block li { color: var(--on-panel); }
.book-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0 .6rem; }
.book-phone, .book-email { flex: 1 1 13rem; min-height: 4rem; font-size: 1.2rem; font-weight: 700; }
.book-email { border-color: var(--on-panel); color: var(--on-panel); background: transparent; font-size: 1.05rem; }
.book-email:hover { color: var(--on-panel); background: color-mix(in srgb, var(--on-panel) 14%, transparent); }
.book-hours { font-size: .95rem; }
.book-block ol { display: grid; gap: .4rem; padding-left: 1.3rem; margin: 0; }
.content-section { margin-bottom: 2rem; }

/* Person pages: one composed hero, key facts and a quiet note */
.person-hero { grid-template-areas: "crumbs crumbs" "portrait intro"; gap: .6rem clamp(2rem, 6vw, 5rem); padding-block: clamp(1.2rem, 3vw, 2.4rem) 1rem; }
.person-hero .breadcrumbs { grid-area: crumbs; }
.person-portrait { grid-area: portrait; }
.person-intro { grid-area: intro; }
.person-intro h1 { margin-bottom: 1rem; }
.person-summary { max-width: 36ch; margin-bottom: 0; color: var(--muted); font-size: 1.2rem; }
.person-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.4rem; }
.person-actions .text-action { margin-top: 0; }
.facts { display: grid; margin: 1.6rem 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--gold-text); font-size: .8125rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.facts dd { margin: 0; }
.person-callout { margin: 1.6rem 0; padding: 1rem 1.25rem; border-left: 3px solid var(--gold); background: var(--soft); font-size: .96rem; }
.person-callout p { margin: 0; }

/* Mobile menu: full-width sheet with a scrim */
.menu-sub { display: grid; padding-left: 1rem; }
.menu-sub a { min-height: 2.75rem; font-weight: 500 !important; }
.mobile-menu nav a, .mobile-menu nav .menu-call { display: flex; align-items: center; min-height: 3rem; }
.mobile-menu nav .menu-call { margin-top: .6rem; padding: 0 1rem; color: var(--on-gold); background: var(--gold-button); border: 0; font-weight: 700; }
.mobile-menu .menu-theme { display: none; }
@keyframes sheet-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

@media (max-width: 899px) {
  /* Home hero, 600 to 899px: the desktop two columns, edge to edge with no seam. The portrait fills a tall column, so it is scaled down from its 1000px source (sharp) and shows head and shoulders. */
  .home-hero { gap: 0; padding-block: 0; }
  .hero-image { height: auto; min-height: 30rem; }
  .hero-image.parallax-photo { animation-name: none; }
  .home-hero .hero-actions { display: none; }
  .person-portrait { animation-name: none; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { grid-template-columns: 8rem minmax(0, 1fr); }
  /* Sticky Call and Book bar, and the full-screen menu sheet, replace the desktop header controls. */
  body:has(.mobile-actions) .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  body:has(.mobile-menu[open]) { overflow: hidden; }
  body:has(.mobile-menu[open]) .mobile-actions { display: none; }
  .mobile-actions { position: fixed; z-index: 11; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: .6rem; padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility .3s; }
  .mobile-actions.is-away { transform: translateY(100%); visibility: hidden; }
  .mobile-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .45rem .65rem; border: 1px solid var(--gold-button); color: var(--on-gold); background: var(--gold-button); font-weight: 650; text-align: center; text-decoration: none; white-space: nowrap; transition: transform .18s ease; }
  .mobile-actions a:last-child { color: var(--navy); border-color: var(--navy); background: transparent; }
  .mobile-menu { position: static; }
  .mobile-menu nav { position: fixed; top: 4.3rem; right: 0; left: 0; max-height: calc(100dvh - 4.3rem); min-height: calc(100dvh - 4.3rem); min-width: 0; align-content: start; padding: .4rem max(1rem, 3vw) 1.4rem; overflow: auto; overscroll-behavior: contain; border: 0; border-bottom: 1px solid var(--line); box-shadow: 0 1.5rem 3rem rgb(10 20 60 / .3); animation: sheet-in .35s cubic-bezier(.2, .7, .2, 1); }
  .mobile-menu[open]::before { content: ''; position: fixed; inset: 4.3rem 0 0; background: rgb(6 10 30 / .55); }
}
/* Home hero on phones: portrait on top, navy panel directly beneath, one object with no seam, the heading and the first screen clear of the sticky bar. */
@media (max-width: 599px) {
  .home-hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-image { order: 1; width: 100%; height: auto; min-height: 0; margin: 0; aspect-ratio: 5 / 4; }
  .hero-panel { order: 2; width: 100%; margin: 0; padding: 1.4rem 1.25rem 1.75rem; }
}
@media (max-width: 680px) {
  .hero-trust { margin-bottom: 0; }
  .trust-strip { width: calc(100% - 2rem); gap: 0 1rem; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .trust-strip + .practice-band { padding-top: .5rem; }
  .person-hero { grid-template-areas: "crumbs" "portrait" "intro"; gap: .6rem; }
  .facts > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 430px) {
  .js .header-tools .theme-toggle { display: none; }
  .js .mobile-menu .menu-theme { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 3rem; padding: 0; border: 0; border-radius: 0; color: var(--navy); background: transparent; font-size: 1rem; font-weight: 650; letter-spacing: 0; }
}
@media (max-width: 380px) { .brand span { font-size: .9375rem; } .header-inner { gap: .75rem; } .header-tools { gap: .25rem; } }
@media (max-width: 400px) { .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (max-width: 340px) { .brand span { max-width: 5.6rem; line-height: 1.1; white-space: normal; } }
@media (max-width: 680px) { .person-hero { gap: 1.2rem; } .person-hero .breadcrumbs { margin-bottom: 0; } }
.mobile-menu .menu-theme { justify-content: flex-start; }

/* ---- Round 4, loop 2 ---- */
.hero-kicker, .eyebrow { font-size: .8125rem; letter-spacing: .1em; }
.disclaimer h2 { font-size: .8125rem; letter-spacing: .12em; }
.trust-strip { grid-auto-rows: 1fr; }
.trust-strip li { align-items: start; font-size: .8125rem; letter-spacing: .02em; text-transform: none; font-weight: 650; text-wrap: balance; }
.hero-trust span { display: block; white-space: nowrap; }
.footer-contact .footer-email { overflow-wrap: normal; }
.footer-contact .footer-email a { color: var(--on-panel); }
.home-hero { align-items: stretch; }
@media (min-width: 900px) { .hero-image { height: auto; min-height: clamp(32rem, 48vw, 44rem); } }
.principal-image { border-block: 0; }
:lang(fr) .hero-panel h1 { font-size: clamp(2.2rem, max(10cqi, min(12cqi, 1.1rem + 3vw)), 4.4rem); }
.contact-phone { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Contact: booking and form left, office and map in a right rail on desktop */
.reading-layout.contact-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); justify-content: stretch; align-items: start; padding-top: 1.5rem; }
.contact-aside { min-width: 0; }
.contact-aside .content-section { margin-bottom: 1rem; }
.contact-aside h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.contact-aside .map-frame { margin-top: 1rem; }
@media (min-width: 900px) { .contact-aside { position: sticky; top: 6.5rem; } }
@media (max-width: 899px) { .reading-layout.contact-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .hero-trust span { white-space: normal; } }
@media (max-width: 680px) { .hero-trust { margin-bottom: 1rem; } }

/* ---- Round 4, loop 3 ---- */
/* Team rows: the base frame rule sits later in the file than the mobile one, so pin the phone sizes with higher specificity. */
@media (max-width: 680px) {
  .person-row .person-frame, .person-row .person-initials { width: 5rem; height: 5rem; }
  .person-row img { width: 100%; height: 100%; }
}
/* Frames that sit beside or above text keep still; only the hero (leaving) and the firm block travel. */
.person-portrait, .about-photo { animation-name: none; }
.principal-image { z-index: 1; }
:root[data-theme="dark"] { --logo-scale: .86; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --logo-scale: .86; } }
.hero-panel :focus-visible, .closing-band :focus-visible, .site-footer :focus-visible, .book-block :focus-visible, .disclaimer :focus-visible { outline-color: #fff; }
.disclaimer a, .contact-phone { display: inline-flex; align-items: center; min-height: 44px; }
.hero-panel { align-self: stretch; }
@media (max-width: 680px) { :lang(fr) .hero-panel h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); } }
.hero-image, .principal-image, .person-portrait { margin: 0; }
@media (max-width: 680px) { .person-row { align-items: start; } .page-heading h1 { margin-bottom: .5rem; font-size: clamp(2.25rem, 9.2vw, 2.6rem); } }
@media (max-width: 680px) { :lang(fr) .hero-panel h1 { max-width: none; } }

/* ---- Round 4, loop 4 ---- */
@media (max-width: 899px) { .home-hero { width: 100%; } }
.hero-panel h1 { max-width: 16ch; }
.hero-trust { font-size: 1rem; }
.practice-lead { max-width: 32ch; }
.breadcrumbs .crumb { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.footer-legal a { padding-inline: 0; }
.person-row .text-action { padding-right: .4rem; }
.mobile-menu nav .menu-call { justify-content: center; }
.mobile-menu nav .menu-book { justify-content: center; margin-top: .6rem; padding: 0 1rem; border: 1px solid var(--navy); font-weight: 700; }
@media (max-width: 680px) { .map-frame { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: no-preference) {
  .practice-grid > li:nth-child(2) { transition-delay: .06s; }
  .practice-grid > li:nth-child(3) { transition-delay: .12s; }
  .practice-grid > li:nth-child(4) { transition-delay: .18s; }
}
.person-portrait { aspect-ratio: 5 / 4; }

/* Round 4 loop 5 */
.mobile-menu summary { padding: 6px 10px; margin-inline-end: -10px; border-radius: 6px; }
.site-footer { border-top: 1px solid rgb(255 255 255 / .12); background: var(--footer); }
:root[data-theme="dark"] .map-frame iframe { filter: invert(.9) hue-rotate(180deg) brightness(.95) contrast(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .map-frame iframe { filter: invert(.9) hue-rotate(180deg) brightness(.95) contrast(.9); } }
.team-closing { max-width: none; margin: 1.5rem 0 0; color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.team-closing a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 680px) {
  :lang(fr) .page-heading h1 { max-width: none; font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .principal-image.parallax-photo { animation: none; }
  .closing-band { padding-block: 3.25rem 3rem; }
  .site-footer { padding-top: 2.25rem; }
  :has(.closing-band) .site-footer .footer-phone { font-size: 1.05rem; font-weight: 600; }
  .people-list { padding-bottom: 4rem; }
}

/* ---- Round 4, loop 6 ---- */
/* Type scale: inner-page H2s sit a clear step below the H1 (at most 0.8 of it at every width). */
.reading-content h2, .content-section h2, .contact-aside h2, .help-list h2, .faq-section h2, .book-block h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.15; }
.page-updated { margin: -.4rem 0 1rem; color: var(--muted); font-size: .9375rem; }

/* Duplicates: the contact page and the disclaimer page already show what the footer would repeat. */
body[data-page="contact"] .footer-address, body[data-page="contact"] .footer-contact { display: none; }
body[data-page="disclaimer"] .site-footer .disclaimer { display: none; }

/* Trust chips: centred text on equal-height rails; 14px. */
.trust-strip li { display: flex; align-items: center; font-size: .875rem; line-height: 1.35; padding-block: .35rem; }
.tile-action { font-size: .9375rem; }
@media (max-width: 680px) {
  .hero-kicker, .eyebrow, .disclaimer h2, .facts dt, .lang-switch, .theme-toggle { font-size: .875rem; }
}
@media (max-width: 360px) { .mobile-actions { gap: .4rem; padding-inline: .6rem; } .mobile-actions a { padding-inline: .3rem; font-size: .9rem; } }

/* FAQ: a gold chevron replaces the browser triangle. */
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: .6rem; height: .6rem; margin-right: .3rem; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); }
.faq-item[open] summary::after { transform: rotate(-135deg); }
@media (prefers-reduced-motion: no-preference) { .faq-item summary::after { transition: transform .2s ease; } }

/* Footer email: a 44px target from padding alone, so the layout does not move. */
.footer-contact .footer-email a { padding-block: .8rem; }

/* The hero and profile portraits are preloaded, so their frames show the stage colour, never the blurred placeholder. */
.hero-image.blur-up::before, .person-portrait.blur-up::before { display: none; }

/* Team: two cards with large cut-out portraits on the stage. */
@media (min-width: 900px) {
  .people-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
  .person-row { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
  .person-row .person-frame, .person-row .person-initials { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .person-frame picture { display: block; height: 100%; }
  .person-row .person-frame img { width: 100%; height: 100%; aspect-ratio: auto; }
  .person-row strong { font-size: 1.75rem; }
  .team-closing { grid-column: 1 / -1; }
  /* Contact: two equal columns across the 1200px container. */
  .reading-layout.contact-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
}

/* Loop 8 (host): on phones the current page is already the H1, so the breadcrumb drops it; this stops long French trails wrapping onto an orphaned "/". A trail left with only Home is hidden. */
@media (max-width: 599px) {
  .breadcrumbs .crumb:last-child { display: none; }
  .breadcrumbs:not(:has(.crumb:nth-child(3))) { display: none; }
}

/* Loop 9 (host) */
@media (max-width: 599px) {
  /* Pages whose phone breadcrumb is hidden keep the same breathing room under the header. */
  .page-heading .section-wrap:not(:has(.breadcrumbs .crumb:nth-child(3))) { padding-top: 2.75rem; }
}
/* The footer email stays on one line wherever it fits; the <wbr> before @ covers the narrowest phones. */
@media (min-width: 361px) { .footer-contact .footer-email a { white-space: nowrap; } }

/* Loop 10 (host): navy buttons keep a visible edge on the dark page. */
:root[data-theme="dark"] .button-primary { border-color: color-mix(in srgb, var(--on-panel) 55%, var(--panel)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .button-primary { border-color: color-mix(in srgb, var(--on-panel) 55%, var(--panel)); } }

/* Loop 17 (host): the contact email printed in full; breaks only at the <wbr> before @ on the narrowest phones. */
.contact-email a { display: inline-flex; min-height: 44px; align-items: center; }

/* ---- Round 5: secondary practice areas ---- */
/* Quiet on purpose: one text link under the home tiles, and a plain link list on the index, both below the four main areas. */
.practice-more { margin: 1.25rem 0 0; }
.practice-more .text-action { margin-top: 0; font-weight: 650; }
.other-areas { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.other-areas h2 { margin-bottom: 1rem; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.15; }
.other-areas h2::after { content: ''; display: block; width: 3rem; height: 2px; margin-top: 1rem; background: var(--gold); }
.other-intro { max-width: 60ch; margin: 0 0 1.25rem; color: var(--muted); }
.other-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); padding: 0; margin: 0; list-style: none; }
.other-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: .7rem; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; }
.other-list a:hover, .other-list a:focus-visible { background: var(--soft); }
.other-list .arrow-mark { flex: none; border-color: var(--gold); }
@media (max-width: 680px) { .other-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .other-list a:hover .arrow-mark, .other-list a:focus-visible .arrow-mark { transform: translateX(.35rem) rotate(45deg); } }

.person-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: .8rem 0 0; }
.person-links .text-action { margin-top: 0; }
.linkedin-link { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .4rem; transition: opacity .2s ease; }
.linkedin-link svg { width: 1.6rem; height: 1.6rem; }
.linkedin-link:hover { opacity: .75; }
.brand[data-astro-cid-ua3ylhid] {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

img[data-astro-cid-ua3ylhid] {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.ph[data-astro-cid-evfp5v4q] {
  overflow-wrap: anywhere;
}

.nowrap[data-astro-cid-evfp5v4q] {
  white-space: nowrap;
}
form[data-astro-cid-i5bae2vv] {
  display: grid;
  gap: .5rem;
  max-width: 38rem;
}

form[data-astro-cid-i5bae2vv][hidden] {
  display: none;
}

input[data-astro-cid-i5bae2vv], select[data-astro-cid-i5bae2vv], textarea[data-astro-cid-i5bae2vv], button[data-astro-cid-i5bae2vv] {
  font: inherit;
  padding: .55rem;
}

input[data-astro-cid-i5bae2vv], select[data-astro-cid-i5bae2vv], textarea[data-astro-cid-i5bae2vv] {
  border: 1px solid var(--muted);
  border-radius: .35rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .15s;
}

input[data-astro-cid-i5bae2vv]:hover, select[data-astro-cid-i5bae2vv]:hover, textarea[data-astro-cid-i5bae2vv]:hover {
  border-color: var(--navy);
}

input[data-astro-cid-i5bae2vv][type="checkbox"] {
  padding: 0;
}

button[data-astro-cid-i5bae2vv][type="submit"] {
  justify-self: start;
  min-height: 3rem;
  padding: .7rem 1.4rem;
  border: 1px solid var(--on-panel);
  border-radius: 0;
  color: var(--on-panel);
  background: var(--panel);
  font-weight: 650;
  cursor: pointer;
  transition: background-color .18s, transform .18s;
}

button[data-astro-cid-i5bae2vv][type="submit"]:hover {
  background: color-mix(in srgb, var(--panel) 84%, white);
  transform: translateY(-2px);
}

button[data-astro-cid-i5bae2vv][type="submit"]:active {
  transform: translateY(1px) scale(.985);
}

textarea[data-astro-cid-i5bae2vv] {
  min-height: 8rem;
}

.consent[data-astro-cid-i5bae2vv] {
  display: flex;
  align-items: start;
  gap: .5rem;
}

.consent[data-astro-cid-i5bae2vv] input[data-astro-cid-i5bae2vv] {
  min-width: 24px;
  min-height: 24px;
}

.trap[data-astro-cid-i5bae2vv] {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error[data-astro-cid-i5bae2vv] {
  margin: 0;
  color: var(--error);
}

[data-astro-cid-i5bae2vv][aria-invalid="true"] {
  outline: 2px solid var(--error);
}

.form-status[data-astro-cid-i5bae2vv]:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
