/* ============================================================
   Kwilu Law Chamber — styles.css
   Modern, clean, monochrome + brass. Built on the KLC brand.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink:        #14150f;   /* warm near-black */
  --ink-2:      #2c2e26;
  --paper:      #fcfbf7;   /* warm ivory */
  --paper-2:    #f2f0e8;
  --paper-3:    #e9e6db;
  --muted:      #6a6b60;
  --line:       rgba(20, 21, 15, 0.12);
  --line-soft:  rgba(20, 21, 15, 0.07);

  --brass:      #a9823f;   /* accent */
  --brass-2:    #c39a52;
  --brass-deep: #8a6a2e;
  --brass-tint: rgba(169, 130, 63, 0.12);

  --white:      #ffffff;

  --shadow-sm:  0 1px 2px rgba(20,21,15,.06), 0 4px 14px rgba(20,21,15,.05);
  --shadow-md:  0 8px 30px rgba(20,21,15,.10);
  --shadow-lg:  0 24px 60px rgba(20,21,15,.18);

  --radius:     16px;
  --radius-lg:  24px;

  --container:  1180px;
  --gutter:     clamp(1.15rem, 4vw, 2.5rem);

  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 2.5px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  border-radius: 8px;
  z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.section-title {
  font-size: clamp(1.9rem, 1.3rem + 2.9vw, 3.35rem);
  font-weight: 500;
}
.section-title em {
  font-style: italic;
  color: var(--brass-deep);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .3s var(--ease),
              color .3s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--brass); --btn-fg: #fff; }
.btn--accent:hover { --btn-bg: var(--brass-deep); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: clamp(.7rem, 1.6vw, 1.15rem) 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              padding .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(252, 251, 247, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px rgba(20,21,15,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .85rem;
  max-width: none;               /* full-bleed: logo hugs the far-left corner */
  padding-inline: clamp(1rem, 2.5vw, 2rem);
}
/* Compact header CTA so the full nav + EN–FR toggle stay in frame */
.nav-cta { padding: .62rem 1.2rem; font-size: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; flex: 0 0 auto; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .72rem;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.lang-toggle:hover { border-color: var(--brass-2); background: rgba(169,130,63,.22); }
.site-header.scrolled .lang-toggle { border-color: var(--line); color: var(--ink); background: var(--paper-2); }
.site-header.scrolled .lang-toggle:hover { border-color: var(--brass); color: var(--brass-deep); background: var(--brass-tint); }
.lang-opt { display: inline-flex; align-items: center; gap: .42rem; }
.lang-opt--en { display: none; }
html[lang="fr"] .lang-opt--fr { display: none; }
html[lang="fr"] .lang-opt--en { display: inline-flex; }
.lang-flag {
  width: 20px; height: 13px;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.brand-logo {
  width: 46px; height: 46px; object-fit: contain;
  transition: opacity .4s var(--ease);
}
.brand-logo--dark { position: absolute; opacity: 0; }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  color: #fff;
  white-space: nowrap;
  transition: color .4s var(--ease);
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color .4s var(--ease);
}
/* When header solid, swap to dark logo + dark text */
.site-header.scrolled .brand-logo--light { opacity: 0; }
.site-header.scrolled .brand-logo--dark  { opacity: 1; position: static; }
.site-header.scrolled .brand-name { color: var(--ink); }
.site-header.scrolled .brand-sub  { color: var(--muted); }

.nav { display: flex; align-items: center; gap: clamp(.85rem, 1.6vw, 1.5rem); }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.5vw, 1.5rem);
  list-style: none;
  padding: 0;
}
.nav-list a {
  position: relative;
  font-weight: 500;
  font-size: .92rem;
  color: rgba(255,255,255,.9);
  padding: .3rem 0;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--brass-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a.is-current::after { transform: scaleX(1); }
.nav-list a:hover,
.nav-list a.is-current { color: var(--brass-2); }
.site-header.scrolled .nav-list a { color: var(--ink-2); }
.site-header.scrolled .nav-list a:hover { color: var(--brass-deep); }
.site-header.scrolled .nav-list a.is-current { color: var(--brass-deep); }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: #fff;
  transition: transform .35s var(--ease), opacity .25s var(--ease), background .35s;
}
.site-header.scrolled .nav-toggle { border-color: var(--line); background: transparent; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
/* Blurred, scaled copy fills the side space behind the contained video.
   Kept close in brightness to the crisp video so the feathered edges vanish into it. */
.hero-video--bg {
  object-fit: cover;
  filter: blur(34px) saturate(1.03) brightness(.72);
  transform: scale(1.18);
}
/* Main video, framed on the right — shown in full, nothing cropped */
.hero-video--main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
  display: block;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,16,11,.5) 0%, rgba(15,16,11,.28) 35%, rgba(15,16,11,.55) 100%),
    radial-gradient(120% 90% at 15% 20%, rgba(15,16,11,.3), transparent 60%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-inner { max-width: 56ch; position: relative; }

/* Video on the right — aspect matches the source (768×850) so nothing is cropped.
   Edges are feathered so it melts into the ambient backdrop with no visible frame. */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 768 / 850;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 17%, #000 83%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0%, #000 17%, #000 83%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 91%, transparent 100%);
          mask-composite: intersect;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.4rem;
}
.eyebrow-mark {
  width: 34px; height: 1.5px;
  background: var(--brass-2);
  display: inline-block;
}
.hero-title {
  font-size: clamp(1.9rem, 1.1rem + 3.1vw, 3.15rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}
.hero-title span { display: block; }
.hero-title--accent { color: #fff; font-style: italic; font-weight: 400; }
.hero-lead {
  font-size: clamp(1rem, .96rem + .3vw, 1.16rem);
  color: rgba(255,255,255,.9);
  max-width: 46ch;
  margin-bottom: 2.1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2.4rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
}
.hero-badges li { display: flex; align-items: center; gap: .5rem; }
.hero-badges li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass-2);
  box-shadow: 0 0 0 4px rgba(195,154,82,.2);
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 20px;
  display: grid;
  place-items: start center;
  padding-top: 7px;
}
.hero-scroll span {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: #fff;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  70% { opacity: 1; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(16px); }
}

/* ---------- Section shell ---------- */
.section { padding: clamp(3.6rem, 7vw, 7rem) 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-eyebrow {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
  margin-bottom: .9rem;
}
.section-eyebrow--light { color: var(--brass-2); }
.section-intro { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }

/* ---------- Practice areas ---------- */
.practice-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.25rem);
}
.p-card {
  position: relative;
  padding: 1.7rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
  overflow: hidden;
}
.p-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--brass-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.p-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.p-card:hover::before { transform: scaleX(1); }
.p-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--brass-tint);
  color: var(--brass-deep);
  margin-bottom: 1.1rem;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.p-icon svg { width: 26px; height: 26px; }
.p-card:hover .p-icon { background: var(--ink); color: var(--brass-2); }
.p-card h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.p-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.p-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--brass-deep);
}
.p-link span { transition: transform .3s var(--ease); }
.p-link:hover span { transform: translateX(4px); }

/* ---------- About ---------- */
.about { background: var(--paper-2); }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--paper-3);
}
.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.about-slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .about-slide { transition: none; }
}
.about-badge {
  position: absolute;
  left: -18px; bottom: -22px;
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--ink);
  color: var(--paper);
  padding: .9rem 1.2rem;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.about-badge img { width: 42px; height: 42px; }
.about-badge strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.about-badge span { font-size: .78rem; color: rgba(255,255,255,.7); }

.about-values { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.about-values li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-2); }
.tick {
  flex: none;
  display: grid; place-items: center;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brass-tint);
  color: var(--brass-deep);
  font-size: .8rem;
  font-weight: 700;
}
.about-copy .section-title { margin-bottom: 1.2rem; }
.about-copy p { color: var(--muted); text-align: justify; text-justify: inter-word; hyphens: auto; }

/* ---------- Process — 3D orbit gallery ---------- */
.process {
  position: relative;
  overflow: hidden;
  background: radial-gradient(130% 105% at 50% -10%, #1c1d15 0%, #101109 55%, #0b0c07 100%);
  color: #fff;
}
.process .section-title { color: #fff; }
.orbit-stars {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .7;
  background-image:
    radial-gradient(1.6px 1.6px at 30px 40px, rgba(255,255,255,.45), transparent),
    radial-gradient(1.2px 1.2px at 120px 90px, rgba(255,255,255,.30), transparent),
    radial-gradient(1.8px 1.8px at 190px 30px, rgba(255,255,255,.38), transparent),
    radial-gradient(1px 1px at 240px 130px, rgba(255,255,255,.25), transparent),
    radial-gradient(1.3px 1.3px at 80px 160px, rgba(255,255,255,.22), transparent);
  background-size: 280px 200px;
  background-repeat: repeat;
}

.orbit {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.4rem, 2vw, 1.6rem);
  margin-top: clamp(1.8rem, 4vw, 3rem);
}
.orbit-stage {
  position: relative;
  width: min(620px, 76vw);
  height: 340px;
  perspective: 1150px;
  perspective-origin: 50% 46%;
  flex: none;
}
.orbit-ring {
  position: absolute; inset: 0;
  margin: 0; padding: 0; list-style: none;
  transform-style: preserve-3d;
}
.orbit-card {
  position: absolute;
  top: 50%; left: 50%;
  width: 244px; height: 288px;
  margin: -144px 0 0 -122px;
  padding: 1.9rem 1.6rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  /* transform / opacity / z-index set per-card by JS (coverflow) */
  opacity: .38;
  will-change: transform, opacity;
  transition: transform .85s cubic-bezier(.32, .06, .18, 1), opacity .6s var(--ease),
              border-color .6s var(--ease), background .6s var(--ease), box-shadow .6s var(--ease);
}
.orbit-card.is-front {
  opacity: 1;
  background: rgba(26, 27, 19, .82);
  border-color: rgba(169, 130, 63, .55);
  box-shadow: 0 34px 70px -28px rgba(0,0,0,.8), 0 0 0 1px rgba(169,130,63,.18);
}
.orbit-card .step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: .7rem;
}
.orbit-card h3 { font-size: 1.28rem; margin-bottom: .5rem; color: #fff; }
.orbit-card p { color: rgba(255,255,255,.72); font-size: .94rem; line-height: 1.5; }

.orbit-nav {
  position: relative;
  z-index: 2;
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.orbit-nav svg { width: 22px; height: 22px; }
.orbit-nav:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: #14150f;
  transform: scale(1.06);
}
.orbit-nav:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .orbit-ring { transition: none; }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: stretch;
}
.member--lead {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.member-photo { position: relative; background: var(--paper-3); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.member-body { padding: clamp(1.5rem, 3vw, 2.4rem); align-self: center; }
.member-role {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
  margin-bottom: .5rem;
}
.member-name { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); margin-bottom: .8rem; }
.member-bio { color: var(--muted); margin-bottom: 1.2rem; }
.member-bio-col p { text-align: justify; text-justify: inter-word; hyphens: auto; }
.member-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.member-tags li {
  font-size: .8rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.team-side { display: flex; flex-direction: column; gap: 1rem; }
.member-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.member-mini:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }
.mini-avatar {
  flex: none;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass-2);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .05em;
}
.member-mini h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
.team-join {
  margin-top: auto;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  background: var(--brass-tint);
  font-size: .95rem;
}
.team-join a { color: var(--brass-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Testimonials ---------- */
.testimonials {
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(169,130,63,.18), transparent 55%),
    var(--ink);
  color: var(--paper);
}
.testimonials .section-title { color: #fff; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.quote {
  padding: 1.9rem 1.7rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s;
}
.quote:hover { transform: translateY(-5px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.stars { color: var(--brass-2); letter-spacing: .15em; margin-bottom: 1rem; }
.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.5;
  color: rgba(255,255,255,.94);
  margin-bottom: 1.3rem;
}
.quote figcaption strong { display: block; }
.quote figcaption span { font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Booking ---------- */
.book {
  background: var(--ink);
  color: #fff;
}
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

.book-panel {
  color: #fff;
  align-self: center;
}

.book-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
  min-height: 100%;
}
.book-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}
.book-panel-head { margin-bottom: 1.6rem; }
.book-panel .section-eyebrow { color: rgba(255, 255, 255, .72); }
.book-panel .section-eyebrow .eyebrow-idx { color: var(--brass); }
.book-panel .section-title { color: #fff; margin-bottom: .8rem; }
.book-panel-lead {
  color: rgba(255, 255, 255, .8);
  font-size: .98rem;
  line-height: 1.6;
  margin: 0;
}

.field { margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: .45rem;
  color: rgba(255, 255, 255, .9);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .82rem .95rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: rgba(250, 249, 244, .94);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 11px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8b8878; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 4px var(--brass-tint);
  background: #fff;
}
.field input:user-invalid, .field select:user-invalid {
  border-color: #e06b52;
}
.consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .84rem;
  color: rgba(255, 255, 255, .72);
  margin: .4rem 0 1.3rem;
  cursor: pointer;
}
.consent input { flex: none; margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brass); }
.form-status { margin-top: 1rem; font-size: .92rem; font-weight: 600; min-height: 1.2em; color: #fff; }
.form-status.ok { color: #e7c98d; }
.form-status.err { color: #f0a08e; }

.book-call {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.book-call span { display: block; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: .3rem; }
.book-call a { font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.book-call a:hover { color: var(--brass); }

/* ---------- Press / In the news ---------- */
.press-news { background: var(--paper); }
.press-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 560px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--paper-3);
}
.press-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.press-slide.is-active { opacity: 1; }
@media (max-width: 560px) {
  .press-slider { aspect-ratio: 4 / 3; }
}
.press-videos-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem);
  color: var(--ink);
  margin: clamp(2.6rem, 5vw, 3.6rem) 0 1.5rem;
}
.press-videos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.press-video { display: flex; flex-direction: column; gap: .65rem; scroll-margin-top: 96px; }
.press-video-el { transition: box-shadow .4s var(--ease), outline-color .4s var(--ease); outline: 2px solid transparent; outline-offset: 3px; }
.press-video.is-highlighted .press-video-el {
  outline-color: var(--brass);
  box-shadow: 0 0 0 4px var(--brass-tint), var(--shadow-lg);
}
.press-video-el {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #000;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.press-video-cap {
  font-size: .84rem;
  line-height: 1.35;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 900px) { .press-videos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .press-videos { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
.press-grid {
  list-style: none;
  margin: clamp(2.2rem, 4vw, 3.2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.press-card { display: flex; }
.press-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.6rem 1.6rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.press-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(169, 130, 63, 0.4);
}
.press-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 1.1rem;
}
.press-outlet {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.2;
}
.press-type {
  flex: none;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brass-deep);
  background: var(--brass-tint);
  padding: .28rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.press-headline {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.34;
  color: var(--ink-2);
  flex: 1;
}
.press-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.press-date { font-size: .85rem; color: var(--muted); }
.press-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brass-deep);
}
.press-cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.press-card-link:hover .press-cta svg { transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .press-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.contact-list { list-style: none; padding: 0; margin-top: 1.8rem; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.c-ico {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--brass-tint);
  color: var(--brass-deep);
}
.c-ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-body); font-weight: 600; margin-bottom: .15rem; }
.contact-list div { color: var(--muted); }
.contact-list a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.contact-list a:hover { color: var(--brass-deep); }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact-map iframe { width: 100%; height: clamp(320px, 42vw, 470px); border: 0; filter: grayscale(0.25) contrast(1.04); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { width: 54px; height: 54px; margin-bottom: .8rem; }
.footer-name { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: .4rem; }
.footer-tag { font-size: .92rem; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.72); font-size: .93rem; margin-bottom: .55rem; transition: color .25s var(--ease); }
.footer-col p a { display: inline; margin-bottom: 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.8rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-scroll span { animation: none; }
  .btn:hover, .p-card:hover, .quote:hover, .member-mini:hover { transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 2.6rem); }
  .hero-inner { max-width: none; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
}

@media (max-width: 1200px) {
  /* A blurred/scrolled header would otherwise become the containing block for the
     fixed menu (backdrop-filter creates one), trapping it inside the header bar.
     Drop the filter on mobile so the slide-in menu fills the full viewport height. */
  .site-header,
  .site-header.scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* Mobile navigation */
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    height: 100vh;
    height: 100dvh;
    width: min(86vw, 380px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.15rem;
    padding: 5.5rem 2rem 2.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--ink);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    z-index: 90;
  }
  .nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 1.3rem; }
  .nav-list a { color: rgba(255,255,255,.9); font-size: 1.15rem; }
  .site-header.scrolled .nav-list a { color: rgba(255,255,255,.9); }
  .nav-cta { align-self: flex-start; }
  .nav-toggle { display: flex; z-index: 95; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* keep toggle bars white while menu open even when header solid */
  .site-header.scrolled .nav-toggle.active span { background: #fff; }
  body.nav-open { overflow: hidden; }

  .team-grid { grid-template-columns: 1fr; }
  .member--lead { grid-template-columns: 1fr; }
  .member-photo img { min-height: 380px; }
  .contact-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
}

@media (max-width: 620px) {
  .practice-grid { grid-template-columns: 1fr; }
  .quote-grid    { grid-template-columns: 1fr; }
  .orbit-stage { width: 92vw; height: 300px; }
  .orbit-card { width: 200px; height: 250px; margin: -125px 0 0 -100px; padding: 1.5rem 1.2rem; }
  .orbit-nav { width: 42px; height: 42px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-badges { gap: .5rem 1.2rem; }
  .brand-sub { display: none; }
  .footer-bottom { flex-direction: column; }
}

/* Compact header on small screens so the brand, EN–FR toggle and menu all fit */
@media (max-width: 720px) {
  .header-inner { gap: .55rem; }
  .brand { gap: .55rem; }
  .brand-logo { width: 40px; height: 40px; }
  .lang-toggle { padding: .4rem; gap: 0; }
  .lang-code { display: none; }        /* flag-only toggle */
  .lang-flag { width: 22px; height: 15px; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: .96rem; }
  .brand-logo { width: 36px; height: 36px; }
}

/* ============================================================
   Nav dropdown menus (Our Team / Practice Areas)
   ============================================================ */
.has-menu { position: relative; }
.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  font-size: .92rem;
  color: rgba(255,255,255,.9);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.site-header.scrolled .nav-menu-btn { color: var(--ink-2); }
.has-menu:hover .nav-menu-btn,
.has-menu:focus-within .nav-menu-btn { color: var(--brass-2); }
.site-header.scrolled .has-menu:hover .nav-menu-btn,
.site-header.scrolled .has-menu:focus-within .nav-menu-btn { color: var(--brass-deep); }
.nav-menu-btn .caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-menu.open .nav-menu-btn .caret { transform: rotate(180deg); }
.nav-menu-btn::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--brass-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.has-menu:hover .nav-menu-btn::after,
.has-menu:focus-within .nav-menu-btn::after,
.has-menu.open .nav-menu-btn::after,
.nav-menu-btn.is-current::after { transform: scaleX(1); }
.nav-menu-btn.is-current { color: var(--brass-2); }
.site-header.scrolled .nav-menu-btn.is-current { color: var(--brass-deep); }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: .5rem;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  left: auto;
  transform: translateY(8px);
  min-width: 250px;
  max-width: min(440px, calc(100vw - 2rem));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
  z-index: 120;
}
.nav-menu::before { /* pointer arrow */
  content: "";
  position: absolute;
  top: -6px; right: 34px; left: auto;
  transform: rotate(45deg);
  width: 12px; height: 12px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.nav-menu::after { /* invisible hover bridge */
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu,
.has-menu.open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: .55rem .8rem;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: .92rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-menu a::after { display: none; } /* cancel nav underline */
.nav-menu a strong { font-weight: 600; font-size: .94rem; }
.nav-menu a span { font-size: .77rem; color: var(--muted); }
.nav-menu a:hover { background: var(--brass-tint); color: var(--brass-deep); }
.nav-menu a:hover span { color: var(--brass-deep); }
.nav-menu--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-width: 440px;
}

/* ============================================================
   Accordions (practice areas + team)
   ============================================================ */
.accordion { width: 100%; }
.team-accordion { max-width: 980px; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: .8rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.acc-item:last-child { margin-bottom: 0; }
.acc-item.open { box-shadow: var(--shadow-md); border-color: transparent; }
.acc-h { margin: 0; font: inherit; font-weight: 500; }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
}
.acc-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--brass-tint);
  color: var(--brass-deep);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.acc-icon svg { width: 24px; height: 24px; }
.acc-item.open .acc-icon { background: var(--ink); color: var(--brass-2); }
.acc-title { font-size: 1.26rem; font-weight: 500; color: var(--ink); }
.acc-tag {
  margin-left: auto;
  padding-right: 1rem;
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--muted);
}
.acc-caret {
  flex: none;
  width: 22px; height: 22px;
  color: var(--muted);
  transition: transform .35s var(--ease), color .3s var(--ease);
}
.acc-item.open .acc-caret { transform: rotate(180deg); color: var(--brass-deep); }
.acc-head:hover .acc-title,
.acc-head:hover .member-name { color: var(--brass-deep); }
.acc-item.open .acc-tag { opacity: 0; }

/* smooth height reveal via max-height */
.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease);
}
.acc-item.open .acc-panel { max-height: 560px; }
.member-acc.open .acc-panel { max-height: 2200px; }
.acc-panel-inner { min-height: 0; }

.practice-acc .acc-panel-inner {
  padding: 0 1.6rem 1.5rem calc(1.4rem + 46px + 1rem);
}
.practice-acc .acc-panel-inner p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 68ch;
}

/* Team accordion */
.member-head { padding: .95rem 1.4rem; gap: 1.1rem; }
.member-thumb {
  flex: none;
  width: 62px; height: 62px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--paper-2);
  background: var(--paper-2);
}
.member-headtext { display: flex; flex-direction: column; }
.member-head .member-name { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.member-head .member-role {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--brass-deep);
  margin: 0;
}
.member-head .acc-caret { margin-left: auto; }
.member-acc .acc-panel-inner {
  padding: .3rem 1.6rem 1.7rem 1.4rem;
}
.member-panel {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 1.9rem;
  align-items: stretch;
}
.member-portrait {
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-md);
  min-height: 460px;
}
.member-portrait img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Articling card: the artwork is a wide wordmark (transparent PNG), not a portrait —
   show it whole on a clean panel sized to its own proportions instead of cropping it. */
#member-articling .member-portrait {
  background: var(--paper-2);
  padding: clamp(1rem, 2.5vw, 1.8rem);
  display: grid;
  place-items: center;
}
#member-articling .member-portrait img {
  width: 100%;
  height: auto;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
}
.member-panel p { color: var(--muted); margin-bottom: 1rem; }
.member-bio-col .member-tags { margin: 1.1rem 0; }
.member-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 1.8rem;
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  align-content: start;
}
.meta-block h4 {
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: .55rem;
}
.meta-block ul { list-style: none; padding: 0; display: grid; gap: .38rem; }
.meta-block li {
  position: relative;
  padding-left: 1rem;
  font-size: .88rem;
  color: var(--ink-2);
}
.meta-block li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

@media (prefers-reduced-motion: reduce) {
  .acc-panel, .nav-menu, .acc-caret, .caret { transition: none; }
}

/* ---- Accordion / dropdown responsive ---- */
@media (max-width: 720px) {
  .acc-tag { display: none; }
  .member-panel { grid-template-columns: 1fr; gap: 1.1rem; }
  .member-meta { grid-template-columns: 1fr; }
  .member-portrait { max-width: 300px; }
  .member-portrait img { aspect-ratio: 3 / 4; }
  .practice-acc .acc-panel-inner { padding: 0 1.3rem 1.3rem 1.3rem; }
  .member-acc .acc-panel-inner { padding: .2rem 1.3rem 1.4rem 1.3rem; }
  .acc-title { font-size: 1.15rem; }
}

@media (max-width: 1200px) {
  /* Dropdowns collapse into the mobile slide-in nav */
  .nav-menu-btn {
    width: 100%;
    justify-content: space-between;
    color: rgba(255,255,255,.9);
    font-size: 1.15rem;
  }
  .site-header.scrolled .nav-menu-btn { color: rgba(255,255,255,.9); }
  .nav-menu-btn::after { display: none; }

  .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: .3rem 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height .38s var(--ease);
    border-left: 1px solid rgba(255,255,255,.16);
  }
  .nav-menu::before, .nav-menu::after { display: none; }
  .nav-menu--cols { grid-template-columns: 1fr; min-width: 0; }
  .has-menu.open .nav-menu { max-height: 520px; }
  .nav-menu a { color: rgba(255,255,255,.72); padding: .5rem .9rem; }
  .nav-menu a span { color: rgba(255,255,255,.45); }
  .nav-menu a:hover { background: transparent; color: #fff; }
  .nav-menu a:hover span { color: rgba(255,255,255,.7); }
}

/* ============================================================
   Editorial polish (ui-ux-pro-max: Swiss modernism + trust)
   ============================================================ */
/* Numbered section index on eyebrows */
.eyebrow-idx {
  font-variant-numeric: tabular-nums;
  color: var(--brass);
  font-weight: 700;
  letter-spacing: .06em;
  margin-right: .35rem;
}
.eyebrow-idx::after {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin: 0 .5rem 0 .6rem;
  opacity: .55;
}
.section-eyebrow--light .eyebrow-idx { color: var(--brass-2); }

/* Press / "as seen on" trust strip */
.press {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.press-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.1rem) var(--gutter);
}
.press-label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.press-viewport {
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.press-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  gap: .6rem 1.9rem;
  list-style: none;
  margin: 0 auto; padding: 0 1.9rem;
}
.press-track.is-animating {
  animation: press-pingpong 13s ease-in-out infinite alternate;
}
@keyframes press-pingpong {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--press-travel, 0)); }
}
@media (prefers-reduced-motion: reduce) {
  .press-track.is-animating { animation: none; }
}
.press-list li {
  font-family: var(--font-display);
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  font-weight: 500;
  color: var(--ink);
  opacity: .78;
  position: relative;
  transition: opacity .3s var(--ease);
  white-space: nowrap;
}
.press-list li:hover { opacity: 1; }
.press-list li + li::before {
  content: "";
  position: absolute;
  left: -1rem; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
  transform: translateY(-50%);
  opacity: .5;
}
@media (max-width: 620px) {
  .press-viewport { max-width: 100%; }
}

/* ============================================================
   Brand curtain (page-load reveal) + hero Swiss meta corners
   ============================================================ */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  display: grid;
  place-items: center;
  animation: curtainUp .7s var(--ease) .95s forwards;
}
.page-curtain img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  opacity: 0;
  animation: curtainLogo .6s var(--ease) .1s forwards;
}
@keyframes curtainLogo {
  0%   { opacity: 0; transform: translateY(12px) scale(.94); }
  100% { opacity: 1; transform: none; }
}
@keyframes curtainUp {
  to { transform: translateY(-101%); }
}
@media (prefers-reduced-motion: reduce) {
  .page-curtain { display: none; }
}

/* Hero editorial meta corners */
.hero-meta {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
  font-weight: 500;
}
.hero-meta--left  { left: var(--gutter); }
.hero-meta--right { right: var(--gutter); }
@media (max-width: 820px) {
  .hero-meta { display: none; }
}

/* ============================================================
   Footer refresh (reference-inspired: rules, social row, top)
   ============================================================ */
.footer-rule {
  border: 0;
  border-top: 1px dashed rgba(255,255,255,.16);
  margin: 0;
}
.site-footer .footer-grid {
  border-bottom: 0;
  padding: clamp(2.4rem, 4vw, 3.6rem) 0;
}
.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.1rem) 0;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-socials a,
.footer-top {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.7);
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), background .3s var(--ease);
}
.footer-socials svg,
.footer-top svg { width: 19px; height: 19px; }
.footer-socials a:hover,
.footer-top:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
  background: var(--brass);
  color: #fff;
}
.footer-top { border-style: dashed; }
.footer-top:hover { border-style: solid; }

.site-footer .footer-bottom {
  padding: 1.6rem 0 0;
  border-top: 0;
}

@media (max-width: 640px) {
  .footer-social-row { flex-direction: column; align-items: flex-start; gap: 1.3rem; }
}

/* ============================================================
   Testimonials — auto-scrolling marquee (sample-inspired)
   ============================================================ */
.testimonials .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.testimonials .section-intro { color: rgba(255,255,255,.62); }

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: .4rem 0;
  list-style: none;
  animation: tmarquee 60s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes tmarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.t-card {
  flex: 0 0 auto;
  width: clamp(288px, 78vw, 384px);
  margin-right: 1.25rem;
  padding: 1.6rem 1.7rem;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.t-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.t-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.t-avatar {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brass-2), var(--brass-deep));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
}
.t-id strong {
  display: block;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
}
.t-id span { font-size: .8rem; color: rgba(255,255,255,.5); }
.t-card blockquote {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    width: auto;
    padding: 0 var(--gutter);
  }
  .t-card { margin-right: 0; }
  .t-card[aria-hidden="true"] { display: none; }
}

/* ============================================================
   Hero refresh (inspiration: arrow eyebrow + bottom scroll bar)
   ============================================================ */
.eyebrow-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--brass-2);
}
.eyebrow-arrow svg { width: 40px; height: 8px; }

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.9rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-foot-note {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.hero-foot-scroll {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.hero-foot-scroll svg {
  width: 16px; height: 16px;
  animation: heroFootBob 1.9s var(--ease) infinite;
}
.hero-foot-scroll:hover { color: #fff; }
@keyframes heroFootBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-foot-scroll svg { animation: none; }
}
@media (max-width: 600px) {
  .hero-foot-note { display: none; }
  .hero-foot-scroll { display: none; }
  .hero-foot { display: none; }
}
