/* =====================================================================
   BALALA & PARTNERS — main stylesheet
   Palette: burgundy #770022 on warm ink black. Square corners throughout.
   ===================================================================== */

:root {
  --ink:      #120f0f;   /* page black */
  --ink-2:    #1a1515;   /* raised black */
  --ink-3:    #241c1c;   /* panels */
  --oxblood:  #770022;   /* brand red */
  --crimson:  #9c1440;   /* hover red */
  --ember:    #e2506f;   /* red text on black */
  --vellum:   #efe8e0;   /* light text / light sections */
  --paper:    #f6f1eb;
  --mute:     #a69c96;
  --mute-ink: #6b605b;
  --line:     rgba(239, 232, 224, .12);
  --line-ink: rgba(18, 15, 15, .14);

  --serif: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --sans:  "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* ---- LIGHT theme (default surfaces) ---- */
  --bg:        #fcfbf9;   /* page white */
  --bg-2:      #f3eeea;   /* alternate band: warm stone */
  --surface:   #ebe4df;   /* image wells, avatars */
  --fg:        #1c1515;   /* main text */
  --fg-soft:   #4b413e;   /* body copy */
  --mute:      #6f6460;   /* secondary text */
  --accent:    #8a0a30;   /* red text that passes contrast on white */
  --line:        rgba(28, 21, 21, .12);
  --line-strong: rgba(28, 21, 21, .28);
  --line-faint:  rgba(28, 21, 21, .06);
  --ghost:       rgba(119,0,34, .07);
  --glass-bg: linear-gradient(140deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.55) 60%, rgba(119,0,34,.04) 100%);
  --glass-edge: rgba(28, 21, 21, .07);
  --glass-top:  rgba(255, 255, 255, .95);
  --btn-glass-bg: rgba(255,255,255,.55);
  --btn-glass-border: rgba(28,21,21,.2);
  --header-bg: rgba(252,251,249,.78);
  --shadow-lux: 0 1px 0 rgba(255,255,255,.9) inset, 0 40px 80px -36px rgba(70,20,20,.28), 0 14px 30px -18px rgba(70,20,20,.18);
  --shadow-red: 0 26px 50px -22px rgba(119,0,34,.5);

  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 84px;
}

/* ---- DARK scope: footer, menu, stats card, red bands ---- */
.on-dark, .site-footer, .mobile-menu, .intro .stats, .story__placeholder, .story__badge, .cta-band, .marquee,
.menu-open .site-header {
  --bg: var(--ink); --bg-2: var(--ink-2); --surface: var(--ink-3);
  --fg: var(--vellum); --fg-soft: #d6ccc4; --mute: #a69c96; --accent: var(--ember);
  --line: rgba(239,232,224,.12); --line-strong: rgba(239,232,224,.3); --line-faint: rgba(239,232,224,.05); --ghost: rgba(255,255,255,.05);
  --glass-bg: linear-gradient(140deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.025) 60%, rgba(119,0,34,.05) 100%);
  --glass-edge: rgba(255,255,255,.09); --glass-top: rgba(255,255,255,.16);
  --btn-glass-bg: rgba(255,255,255,.06); --btn-glass-border: rgba(255,255,255,.22);
  --shadow-lux: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 80px -30px rgba(0,0,0,.85), 0 18px 36px -18px rgba(0,0,0,.6);
  color: var(--fg);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.68 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--oxblood); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--oxblood); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.section--dark { background: var(--bg-2); }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 100% 0%, rgba(119,0,34,.08), transparent 70%);
}
.section > .container { position: relative; }

/* ---------- glass ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-edge);
  border-top-color: var(--glass-top);
  box-shadow: var(--shadow-lux);
}

/* ---------- type ---------- */
.section-title {
  font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.02em;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem); margin-bottom: .45em;
}
.sub-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; margin: 1.6em 0 .7em; }
.section-lede { max-width: 56ch; color: var(--mute); font-size: 1.125rem; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--fg); }
.prose p { max-width: 68ch; }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--fg); --fill: var(--crimson);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; overflow: hidden; isolation: isolate;
  font: 600 .95rem/1 var(--sans); letter-spacing: .04em;
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  transition: color .5s var(--ease), border-color .5s, box-shadow .5s, transform .4s var(--ease-out);
}
.btn::before { /* sweep fill */
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fill);
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn > span { position: relative; display: inline-block; }
.btn--red   { --bg: var(--oxblood); --fg: #fff; --fill: #530018; box-shadow: var(--shadow-red); }
.btn--red:hover { box-shadow: 0 34px 70px -22px rgba(156,20,64,.7); }
.btn--glass {
  --fill: var(--oxblood);
  background: var(--btn-glass-bg); border-color: var(--btn-glass-border);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--glass:hover { border-color: var(--oxblood); color: #fff; }
.btn--light { --bg: var(--vellum); --fg: var(--ink); --fill: var(--ink); }
.btn--light:hover { color: var(--vellum); }
.btn--ghost-light { --fg: #fff; border-color: rgba(255,255,255,.45); --fill: rgba(0,0,0,.35); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arr { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s var(--ease-out); }
.link-line { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; position: relative; font-weight: 600; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--oxblood); transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(0); }
.link-line:hover .arr { transform: translateX(6px); }

/* =====================================================================
   PAGE-LOAD CURTAIN
   ===================================================================== */
.curtain { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.curtain__panel { position: absolute; inset: 0; background: var(--oxblood); }
.curtain__panel::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #fff;
  transform: scaleX(0); transform-origin: left; animation: curtainLine 1s var(--ease) .1s forwards;
}
.curtain__mark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px;
  font: 500 clamp(3rem, 8vw, 6rem)/1 var(--serif); color: #fff;
}
.curtain__mark span { opacity: 0; transform: translateY(40%); animation: markIn .9s var(--ease-out) forwards; }
.curtain__mark span:last-child { animation-delay: .15s; }
.curtain__mark i { width: 2px; height: 1.1em; background: #fff; transform: scaleY(0); animation: markBar .8s var(--ease) .3s forwards; }
@keyframes curtainLine { to { transform: scaleX(1); } }
@keyframes markIn { to { opacity: 1; transform: none; } }
@keyframes markBar { to { transform: scaleY(1); } }

html.is-loaded .curtain__panel { transform: translateY(-100%); transition: transform 1.1s var(--ease) .05s; }
html.is-loaded .curtain__mark { opacity: 0; transform: translateY(-40px); transition: all .6s var(--ease); }
html.is-loaded .curtain { visibility: hidden; transition: visibility 0s 1.3s; }
html:not(.js) .curtain { display: none; }
.curtain--fast .curtain__mark { display: none; }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 210; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--oxblood), var(--ember)); transform-origin: left; transform: scaleX(0); }



/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h);
  transition: transform .6s var(--ease), background .4s, box-shadow .4s, height .4s;
}
.site-header__inner { height: 100%; max-width: 1480px; margin: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.site-header.is-scrolled {
  --header-h: 70px;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -24px rgba(70,20,20,.25);
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark {
  display: flex; align-items: center; justify-content: center; white-space: nowrap; min-width: 46px; padding: 0 6px; height: 46px; background: var(--oxblood);
  font: 600 1.05rem/1 var(--serif); color: #fff; letter-spacing: -.02em; box-shadow: var(--shadow-red);
}
.brand__mark em { font-style: italic; font-weight: 400; margin-inline: 1px; }
.brand__name { font: 600 1.42rem/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand__name small { display: block; font: 500 .62rem/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--mute); margin-top: 7px; }

.nav ul { display: flex; gap: clamp(14px, 2vw, 32px); }
.nav li { position: relative; }
.nav__link { display: block; height: 1.5em; line-height: 1.5; overflow: hidden; font-size: .95rem; font-weight: 500; }
.nav__link span { display: block; position: relative; transition: transform .55s var(--ease); }
.nav__link span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav__link:hover span, .nav__link:focus-visible span { transform: translateY(-100%); }
.nav li::after { content: ""; position: absolute; left: 0; bottom: -8px; height: 1px; width: 100%; background: var(--oxblood); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.nav li:hover::after, .nav li:has(.is-active)::after { transform: scaleX(1); }

.burger { display: none; width: 46px; height: 46px; position: relative; z-index: 3; border: 1px solid var(--line); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child  { top: 22px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 190; visibility: hidden; display: flex; flex-direction: column; justify-content: safe center; padding: 110px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu__bg { position: fixed; inset: 0; background: rgba(18,15,15,.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.mobile-menu__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--oxblood); }
.mobile-menu__nav { position: relative; display: flex; flex-direction: column; }
.mobile-menu__nav a { overflow: hidden; font: 500 clamp(2.4rem, 11vw, 3.6rem)/1.15 var(--serif); border-bottom: 1px solid var(--line); padding: 6px 0; }
.mobile-menu__nav a span { display: block; transform: translateY(110%); transition: transform .8s var(--ease-out); transition-delay: calc(.25s + var(--i) * .06s); }
.mobile-menu__nav a[aria-current] { color: var(--accent); }
.mobile-menu__foot { position: relative; margin-top: 36px; display: flex; flex-direction: column; gap: 10px; color: var(--mute); opacity: 0; transition: opacity .6s .6s; }
.mobile-menu__foot .btn { margin-top: 12px; }
.menu-open .mobile-menu { visibility: visible; }
.menu-open .mobile-menu__bg { clip-path: inset(0 0 0 0); }
.menu-open .mobile-menu__nav a span { transform: none; }
.menu-open .mobile-menu__foot { opacity: 1; }
.menu-open { overflow: hidden; }

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 160px; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__photo { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: 0; filter: grayscale(1) contrast(1.1);
  animation: kenburns 24s ease-in-out infinite alternate; transition: opacity var(--hero-fade, 2.5s) ease-in-out; }
.hero__photo.is-on { opacity: .16; }
.hero__photo:nth-of-type(even) { animation-name: kenburns2; animation-duration: 28s; }
@keyframes kenburns2 { from { transform: scale(1.16) translate(2%, 1%); } to { transform: scale(1.04); } }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.18) translate(-2%, -1%); } }
.hero__vignette { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 60% at 20% 45%, rgba(252,251,249,.55) 0%, rgba(252,251,249,.2) 60%, transparent 100%),
  linear-gradient(180deg, transparent 0%, transparent 72%, var(--bg) 100%); }
.hero { background: linear-gradient(160deg, #ffffff 0%, var(--bg) 45%, #f1e9e5 100%); }

.hero__kicker { display: flex; align-items: center; gap: 16px; color: var(--mute); font-size: .95rem; margin-bottom: 34px; }
.hero__kicker-line { width: 56px; height: 1px; background: var(--oxblood); }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(3.3rem, 10vw, 9.2rem); line-height: .94; letter-spacing: -.035em; margin-bottom: 36px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title-red { color: var(--oxblood); font-style: italic; font-weight: 400; }
.hero__lede { max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--fg-soft); margin-bottom: 40px; }

/* hero entrance (fires after curtain) */
.hero-in { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.hero__title .hero-in { opacity: 1; transform: translateY(105%) skewY(6deg); }
html.is-loaded .hero-in { opacity: 1; transform: none; }
html:not(.js) .hero-in { opacity: 1; transform: none; }

.hero__panel { position: absolute; right: calc(var(--gutter) + 70px); bottom: 150px; width: min(360px, 40vw); padding: 26px 28px 22px; }
.hero__panel-label { color: var(--mute); font-size: .85rem; margin-bottom: 8px; }
.rotator { position: relative; height: 2.4em; overflow: hidden; margin: 0 0 18px; font: 500 1.5rem/1.2 var(--serif); }
.rotator__item { position: absolute; inset: 0; transform: translateY(110%); transition: transform .9s var(--ease); }
.rotator__item.is-on { transform: none; }
.rotator__item.is-out { transform: translateY(-110%); }
.hero__panel-bar { display: block; height: 2px; background: var(--line); }
.hero__panel-bar i { display: block; height: 100%; background: var(--oxblood); transform-origin: left; transform: scaleX(0); }
.hero__panel-bar i.run { animation: bar 3.2s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

.hero__scroll { position: absolute; left: var(--gutter); bottom: 46px; width: 26px; height: 44px; border: 1px solid var(--line-strong); display: block; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 9px; background: var(--ember); transform: translateX(-50%); animation: scrollCue 1.8s var(--ease) infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%, -4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 16px); } }

.hero__wordmark { position: absolute; left: 0; right: 0; bottom: -0.18em; z-index: -1; white-space: nowrap; pointer-events: none;
  font: 500 clamp(6rem, 19vw, 20rem)/1 var(--serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(119,0,34,.22); }
.hero__wordmark span { display: inline-block; padding-left: 4vw; will-change: transform; }

/* =====================================================================
   INTRO (light)
   ===================================================================== */
.intro { background: var(--bg); color: var(--fg); }
.intro__statement { font: 400 clamp(1.7rem, 3.6vw, 3.1rem)/1.22 var(--serif); letter-spacing: -.015em; max-width: 26ch; margin-bottom: clamp(60px, 8vw, 110px); }
.scrub-text .sw { opacity: .14; transition: opacity .25s linear; }
.scrub-text .sw.on { opacity: 1; }
html:not(.js) .scrub-text .sw { opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.intro .stats { background: linear-gradient(140deg, rgba(18,15,15,.96), rgba(36,28,28,.94)); color: var(--vellum); }
.stat { padding: clamp(26px, 3vw, 44px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font: 500 clamp(2.6rem, 4.6vw, 4.2rem)/1 var(--serif); margin: 0 0 12px; color: var(--fg); }
.stat__num .count { color: inherit; }
.stat__label { color: var(--mute); font-size: .95rem; margin: 0; }

/* =====================================================================
   AREAS LIST (rows)
   ===================================================================== */
.area-list { border-top: 1px solid var(--line); counter-reset: none; }
.area-row { border-bottom: 1px solid var(--line); position: relative; }
.area-row > a { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 60px; gap: 30px; align-items: center; padding: clamp(24px, 3vw, 38px) 0; isolation: isolate; }
.area-row__fill { position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(36,0,10,.35) 0%, transparent 45%),
    radial-gradient(55% 140% at 88% 0%, rgba(226,80,111,.45), transparent 62%),
    radial-gradient(40% 120% at 8% 100%, rgba(156,20,64,.5), transparent 70%),
    linear-gradient(90deg, var(--oxblood), #510017);
  /* clip (not scale) so the lettering is never squashed; JS sets data-edge to the side the pointer came from */
  clip-path: inset(100% 0 0 0); transition: clip-path .75s var(--ease); }
.area-row > a[data-edge="top"] .area-row__fill { clip-path: inset(0 0 100% 0); }

/* ---- "Balala & Partners" lettering inside the fill ---- */
.area-row__fill::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 25% 50%, rgba(106,0,30,.55), transparent 75%), radial-gradient(40% 80% at 70% 50%, rgba(106,0,30,.4), transparent 75%); }
.bp-pattern { position: absolute; left: -10%; right: -10%; top: 50%; display: flex; flex-direction: column; gap: .02em;
  transform: translateY(-50%) rotate(-5deg); pointer-events: none; white-space: nowrap;
  font: 500 clamp(2.8rem, 5.6vw, 5.2rem)/1 var(--serif); letter-spacing: -.035em; }
.bp-line { display: flex; width: max-content; animation: bpDrift 46s linear infinite; animation-play-state: paused; }
.bp-line > span { padding-right: .55em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); }
.bp-line > span em { font-style: italic; -webkit-text-stroke-color: rgba(255,170,190,.14); }
.bp-line:nth-child(1) { margin-left: -8%; }
.bp-line:nth-child(2) { margin-left: -38%; font-style: italic; animation-direction: reverse; animation-duration: 54s; }
.bp-line:nth-child(2) > span { -webkit-text-stroke-color: rgba(255,255,255,.09); }
.bp-line:nth-child(3) { margin-left: -21%; }
.bp-line:nth-child(3) > span { color: rgba(27,0,8,.08); -webkit-text-stroke-color: rgba(255,255,255,.03); }
.area-row > a.is-fill .bp-line, .area-row > a:focus-visible .bp-line { animation-play-state: running; }
@keyframes bpDrift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bp-line { animation: none; } }
.area-row__title { font: 500 clamp(1.7rem, 3.4vw, 3rem)/1.05 var(--serif); letter-spacing: -.02em; transition: transform .7s var(--ease), color .45s .12s; }
.area-row__short { color: var(--mute); transition: color .5s; max-width: 44ch; }
.area-row > a.is-fill { color: #fff; }
.area-row__go { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); transition: background .5s, border-color .5s, transform .6s var(--ease); }
/* fill grows from the edge the cursor enters and drains out of the edge it leaves */
.area-row > a.is-fill .area-row__fill, .area-row > a:focus-visible .area-row__fill { clip-path: inset(0 0 0 0); }
html:not(.js) .area-row > a:hover .area-row__fill { clip-path: inset(0 0 0 0); }
.area-row > a.is-fill .area-row__title, .area-row > a:focus-visible .area-row__title { transform: translateX(22px); color: #fff; }
.area-row > a.is-fill .area-row__short { color: #f3dede; }
.area-row > a.is-fill .area-row__go { background: #fff; color: var(--oxblood); border-color: #fff; transform: rotate(-45deg); }
.area-list--compact .area-row__title { font-size: clamp(1.4rem, 2.4vw, 2.1rem); }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 50px) 0; background: var(--oxblood); position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--oxblood), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--oxblood), transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(30px, 4vw, 70px); width: max-content; animation: marquee 32s linear infinite; will-change: transform; }
.marquee__word { font: 400 clamp(2.8rem, 7vw, 6rem)/1 var(--serif); font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.85); transition: color .4s; }
.marquee__word:nth-child(4n+1) { color: #fff; -webkit-text-stroke: 0; font-style: normal; }
.marquee__gem { width: 14px; height: 14px; background: #fff; transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   PROCESS
   ===================================================================== */
.process__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); }
.process__head { position: sticky; top: 120px; align-self: start; }
.process__head .btn { margin-top: 18px; }
.steps { position: relative; display: grid; gap: 22px; padding-left: 40px; }
.steps__line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps__line i { display: block; width: 100%; height: 100%; background: var(--oxblood); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 12px var(--crimson); }
.step { position: relative; padding: clamp(26px, 3vw, 40px); transition: transform .6s var(--ease-out), box-shadow .6s; }
.step::before { content: ""; position: absolute; left: -45px; top: 44px; width: 11px; height: 11px; background: var(--bg); border: 1px solid var(--oxblood); transform: rotate(45deg); transition: background .4s; }
.step.is-in::before { background: var(--oxblood); }
.step:hover { transform: translateX(8px); box-shadow: var(--shadow-lux), var(--shadow-red); }
.step__n { position: absolute; right: 24px; top: 6px; font: 500 5rem/1 var(--serif); color: var(--ghost); }
.step h3 { font: 500 1.6rem/1.15 var(--serif); margin-bottom: 10px; }
.step p { color: var(--fg-soft); margin: 0; max-width: 50ch; }

/* =====================================================================
   PEOPLE
   ===================================================================== */
.person-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.person { display: block; text-align: left; }
.person__open { display: block; width: 100%; text-align: left; }
.person__frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); margin-bottom: 18px; box-shadow: var(--shadow-lux); }
.person__frame img, .person__frame .portrait-mono { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s; filter: grayscale(1) contrast(1.05); }
.person__frame .portrait-mono, .contact-card__photo .portrait-mono { filter: none; }
.person:hover .person__frame img, .person:hover .portrait-mono { transform: scale(1.06); filter: grayscale(0); }
.person__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(119,0,34,.55)); opacity: 0; transition: opacity .6s; }
.person:hover .person__frame::after { opacity: 1; }
.person__name { display: block; font: 500 1.45rem/1.15 var(--serif); }
.person__role { display: block; color: var(--accent); font-size: .95rem; margin: 4px 0 0; }
.person__focus { display: block; color: var(--mute); font-size: .9rem; margin-top: 6px; }

.portrait-mono { display: grid; place-items: center; background:
  radial-gradient(80% 60% at 50% 30%, rgba(119,0,34,.16), transparent 70%),
  linear-gradient(160deg, #efe8e3, #ddd2cc); }
.portrait-mono span { font: 400 clamp(3rem, 6vw, 5rem)/1 var(--serif); font-style: italic; color: rgba(119,0,34,.75); letter-spacing: -.03em; }

/* red wipe on image reveal */
.person__wipe { position: absolute; inset: 0; z-index: 2; background: var(--oxblood); transform: scaleX(1); transform-origin: right; pointer-events: none; }
.reveal-img .person__frame img, .reveal-img .person__frame .portrait-mono { transform: scale(1.25); }
.reveal-img.is-in .person__wipe { transform: scaleX(0); transition: transform 1.1s var(--ease) calc(var(--stagger, 0s) + .1s); }
.reveal-img.is-in .person__frame img, .reveal-img.is-in .person__frame .portrait-mono { transform: scale(1); transition: transform 1.6s var(--ease-out) calc(var(--stagger, 0s) + .25s), filter .8s; }
.reveal-img.is-in:hover .person__frame img, .reveal-img.is-in:hover .portrait-mono { transform: scale(1.06); }

/* filters */
.filters { position: relative; display: inline-flex; border: 1px solid var(--line); margin-bottom: 48px; }
.filter { position: relative; z-index: 1; padding: 14px 26px; font-weight: 600; font-size: .92rem; color: var(--mute); transition: color .4s; }
.filter.is-on { color: #fff; }
.filters__ink { position: absolute; top: 0; bottom: 0; left: 0; background: var(--oxblood); transition: transform .6s var(--ease), width .6s var(--ease); box-shadow: var(--shadow-red); }
.person.is-hidden { display: none; }
.person.is-filtering { animation: personIn .7s var(--ease-out) both; }
@keyframes personIn { from { opacity: 0; transform: translateY(30px); } }

/* =====================================================================
   DRAWERS / ENQUIRY
   ===================================================================== */
.enquiry, .drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.enquiry__scrim, .drawer__scrim { position: absolute; inset: 0; background: rgba(40,14,14,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .6s; }
.enquiry__panel, .drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(70px, 8vw, 90px) clamp(24px, 4vw, 52px) 40px;
  background: linear-gradient(160deg, rgba(255,255,255,.94), rgba(247,242,238,.9));
  transform: translateX(105%); transition: transform .85s var(--ease);
  border-left: 3px solid var(--oxblood);
}
.is-open { visibility: visible; }
.is-open .enquiry__scrim, .is-open .drawer__scrim { opacity: 1; }
.is-open .enquiry__panel, .is-open .drawer__panel { transform: none; }
.enquiry__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border: 1px solid var(--line); transition: background .4s, transform .6s var(--ease); }
.enquiry__close:hover { background: var(--oxblood); transform: rotate(90deg); }
.enquiry__close:hover span { background: #fff; }
.enquiry__close span { position: absolute; left: 13px; right: 13px; top: 23px; height: 1.5px; background: var(--fg); transform: rotate(45deg); }
.enquiry__close span + span { transform: rotate(-45deg); }
.enquiry__title { font: 500 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); margin-bottom: 14px; }
.enquiry__lede { color: var(--mute); margin-bottom: 30px; }
.is-open .enquiry__panel > *, .is-open .drawer__content > * { animation: panelItem .8s var(--ease-out) both; }
.is-open .enquiry__panel > *:nth-child(2) { animation-delay: .25s; } .is-open .enquiry__panel > *:nth-child(3) { animation-delay: .32s; } .is-open .enquiry__panel > *:nth-child(4) { animation-delay: .4s; }
@keyframes panelItem { from { opacity: 0; transform: translateX(40px); } }

.profile__head { display: flex; gap: 22px; align-items: end; margin-bottom: 28px; }
.profile__photo { width: 140px; flex: none; aspect-ratio: 4/5; overflow: hidden; box-shadow: var(--shadow-lux); }
.profile__photo img, .profile__photo .portrait-mono { width: 100%; height: 100%; object-fit: cover; }
.profile__photo .portrait-mono span { font-size: 2.6rem; }
.profile__name { font: 500 2.2rem/1.05 var(--serif); }
.profile__role { color: var(--accent); margin: 6px 0 0; }
.profile__bio { color: var(--fg-soft); font-size: 1.05rem; }
.profile__facts { margin: 26px 0 30px; border-top: 1px solid var(--line); }
.profile__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile__facts dt { color: var(--mute); font-size: .9rem; }
.profile__facts dd { margin: 0; }
.profile__facts a { color: var(--accent); }

/* =====================================================================
   FORMS
   ===================================================================== */
.form { display: grid; gap: 22px; }
.form.glass { padding: clamp(26px, 4vw, 52px); }
.form__title { font: 500 2rem/1.1 var(--serif); margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 0 10px; font: inherit; color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); outline: none; resize: vertical; appearance: none;
}
.field select { cursor: pointer; padding-right: 30px; }
.field select option { background: var(--bg); color: var(--fg); }
.field--select::after { content: ""; position: absolute; right: 6px; top: 32px; width: 8px; height: 8px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 0; top: 26px; color: var(--mute); pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease-out), color .3s; }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field--select label { transform: translateY(-22px) scale(.78); color: var(--accent); }
.field::after { /* focus underline */ }
.field:not(.field--select)::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--oxblood); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::before { transform: scaleX(1); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--accent); }
.field__err { display: block; color: var(--accent); font-size: .85rem; margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--mute); cursor: pointer; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin-top: 2px; border: 1px solid var(--line-strong); display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.check input:checked { background: var(--oxblood); border-color: var(--oxblood); }
.check input:checked::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { color: var(--accent); text-decoration: underline; }
.check.has-error span { color: var(--accent); }
.form__hint { color: var(--mute); font-size: .88rem; margin: -6px 0 0; }
.form__status { margin: 0; min-height: 1.4em; font-size: .95rem; }
.form__status.ok { color: #1d7a43; } .form__status.error { color: var(--accent); }
.form__flash { padding: 14px 18px; border-left: 3px solid var(--oxblood); background: rgba(119,0,34,.07); }
.btn.is-loading span { opacity: .4; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.file { display: flex; align-items: center; gap: 16px; border: 1px dashed var(--line-strong); padding: 14px; cursor: pointer; transition: border-color .3s, background .3s; }
.file:hover { border-color: var(--oxblood); background: rgba(119,0,34,.05); }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file:focus-within { outline: 2px solid var(--ember); outline-offset: 3px; }
.file__btn { background: var(--oxblood); color: #fff; padding: 10px 16px; font-weight: 600; font-size: .9rem; }
.file__name { color: var(--mute); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file.has-error { border-color: var(--accent); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 350; transform: translate(-50%, calc(100% + 60px)); opacity: 0; visibility: hidden; max-width: calc(100% - 32px);
  padding: 18px 26px; color: var(--fg); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-left: 3px solid var(--oxblood); box-shadow: var(--shadow-lux); transition: transform .7s var(--ease), opacity .5s .2s, visibility 0s .7s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .7s var(--ease), opacity .4s, visibility 0s; }

/* =====================================================================
   INNER PAGE HERO
   ===================================================================== */
.page-hero { background: linear-gradient(170deg, #ffffff 0%, var(--bg) 50%, #f2ebe7 100%); position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(70px, 10vw, 140px)) 0 clamp(70px, 9vw, 120px); isolation: isolate; }
.page-hero__img { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: .14; filter: grayscale(1); transform: scale(1.15); }
html.is-loaded .page-hero__img { transform: scale(1); transition: transform 2.4s var(--ease-out); }
.page-hero__glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -25vw; top: -35vw; background: radial-gradient(circle, rgba(119,0,34,.16), transparent 62%); animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-6vw, 4vw) scale(1.1); } }
.page-hero__grid { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--maxw); margin: auto; padding-inline: var(--gutter); }
.page-hero__grid i { border-left: 1px solid var(--line-faint); transform: scaleY(0); transform-origin: top; }
.page-hero__grid i:last-child { border-right: 1px solid var(--line-faint); }
html.is-loaded .page-hero__grid i { transform: scaleY(1); transition: transform 1.6s var(--ease); }
html.is-loaded .page-hero__grid i:nth-child(2) { transition-delay: .1s; } html.is-loaded .page-hero__grid i:nth-child(3) { transition-delay: .2s; } html.is-loaded .page-hero__grid i:nth-child(4) { transition-delay: .3s; }
.page-hero__title { font: 500 clamp(2.8rem, 7.5vw, 6.6rem)/.98 var(--serif); letter-spacing: -.03em; max-width: 16ch; margin-bottom: 28px; }
.page-hero__lede { max-width: 54ch; color: var(--fg-soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.page-hero__rule { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--oxblood), transparent); transform: scaleX(0); transform-origin: left; }
html.is-loaded .page-hero__rule { transform: scaleX(1); transition: transform 1.8s var(--ease) .5s; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; color: var(--mute); font-size: .9rem; margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--oxblood); }
.crumbs a:hover { color: var(--accent); }

/* split word reveal (used for headings) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(5deg); transform-origin: left bottom; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
.split.is-in .w > span { transform: none; }
.page-hero .split .w > span { --base: 250ms; }
html.is-loaded .page-hero .split .w > span { transform: none; }
html:not(.js) .split .w > span { transform: none; }

/* generic reveals */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); transition-delay: var(--d, var(--stagger, 0s)); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.page-hero .reveal { transition-delay: .75s; }
html.is-loaded .page-hero .reveal { opacity: 1; transform: none; filter: none; }

/* note: no clip-path on the initial state — IntersectionObserver treats clipped targets as invisible */
.reveal-up { opacity: 0; transform: translateY(60px); transition: transform 1.2s var(--ease-out); transition-delay: var(--stagger, 0s); }
.reveal-up.is-in { transform: none; animation: wipeUp 1.2s var(--ease) var(--stagger, 0s) both; }
@keyframes wipeUp { from { opacity: 1; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(-40% -40% -40% -40%); } }
.reveal-row { position: relative; }
.reveal-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--oxblood); transform: scaleX(0); transform-origin: left; }
.reveal-row > * { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--stagger, 0s) + .15s); }
.reveal-row.is-in::after { animation: rowLine 1.6s var(--ease) var(--stagger, 0s) both; }
.reveal-row.is-in > * { opacity: 1; transform: none; }
@keyframes rowLine { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

html:not(.js) .reveal, html:not(.js) .reveal-up, html:not(.js) .reveal-row > * { opacity: 1; transform: none; filter: none; clip-path: none; }
html:not(.js) .person__wipe { display: none; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.story { background: var(--bg); color: var(--fg); }
.story .prose p { color: var(--fg-soft); }
.story__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__media { position: relative; }
.story__frame { position: relative; aspect-ratio: 4/5; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(18,15,15,.55); }
.story__frame img { width: 100%; height: 100%; object-fit: cover; }
.story__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(70% 60% at 30% 20%, rgba(119,0,34,.55), transparent 70%), linear-gradient(160deg, #241c1c, #120f0f); }
.story__placeholder span { font: 500 clamp(4rem, 10vw, 8rem)/1 var(--serif); color: var(--vellum); }
.story__placeholder em { color: var(--ember); }
.story__badge { position: absolute; right: -24px; bottom: -30px; padding: 24px 28px; min-width: 200px; background: linear-gradient(140deg, rgba(119,0,34,.92), rgba(72,0,20,.9)); color: #fff; }
.story__badge-num { font: 500 3.2rem/1 var(--serif); margin: 0 0 6px; }
.story__badge p:last-child { margin: 0; opacity: .85; font-size: .92rem; }

.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value { position: relative; padding: clamp(28px, 3vw, 40px); overflow: hidden; transition: transform .6s var(--ease-out); }
.value::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--oxblood); transform: scaleX(.18); transform-origin: left; transition: transform .8s var(--ease); }
.value:hover { transform: translateY(-8px); }
.value:hover::before { transform: scaleX(1); }
.value h3 { font: 500 1.55rem/1.15 var(--serif); margin: 10px 0 14px; }
.value p { color: var(--fg-soft); margin: 0; }

.courts__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); }
.courts__list { columns: 2; column-gap: 40px; }
.courts__list li { break-inside: avoid; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 1.25rem/1.3 var(--serif); }
.community__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.community__media { margin: 0; }
.community__frame { aspect-ratio: 4 / 3; margin: 0; box-shadow: 0 50px 90px -40px rgba(70,20,20,.45); }
.community__frame img, .community__ph { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; filter: none; will-change: transform; }
.reveal-img .community__frame img, .reveal-img .community__frame .community__ph { transform: none; }
.community__ph { display: grid; place-items: center; background: radial-gradient(70% 60% at 30% 25%, rgba(119,0,34,.45), transparent 70%), linear-gradient(160deg, #2a1c1c, #120f0f); }
.community__ph > span { font: italic 500 clamp(2.6rem, 5vw, 4.4rem)/1 var(--serif); color: #f3ece6; }
.community__text .section-lede { margin-bottom: 28px; }
.community__points { border-top: 1px solid var(--line); }
.community__points li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); color: var(--fg-soft); }
.community__points li span { position: relative; display: block; }
.community__points li span::before { content: ""; position: absolute; left: -26px; top: .55em; width: 8px; height: 8px; background: var(--oxblood); transform: rotate(45deg); }
@media (max-width: 900px) { .community__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   PRACTICE AREAS
   ===================================================================== */
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: clamp(28px, 3vw, 40px); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease-out), box-shadow .6s; }
.tile__fill { position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--crimson), var(--oxblood) 50%, #42001a); transform: scaleY(0); transform-origin: 50% var(--o, 100%); transition: transform .8s var(--ease); }
.tile:hover, .tile:focus-visible { transform: translateY(-10px); box-shadow: var(--shadow-lux), var(--shadow-red); }
.tile.is-fill .tile__fill, .tile:focus-visible .tile__fill { transform: scaleY(1); }
html:not(.js) .tile:hover .tile__fill { transform: scaleY(1); }
.tile__title { font: 500 clamp(1.6rem, 2.2vw, 2rem)/1.1 var(--serif); margin-bottom: 16px; }
.tile__short { color: var(--fg-soft); transition: color .5s; }
.tile { transition: transform .6s var(--ease-out), box-shadow .6s, color .5s; }
.tile:hover, .tile:focus-visible { color: #fff; }
.tile:hover .tile__services { color: #fff; }
.tile__avatar { transition: background .5s, color .5s, border-color .5s; }
.tile:hover .tile__avatar { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.tile:hover .tile__short { color: #f6dae2; }
.tile__services { margin: 8px 0 28px; display: grid; gap: 6px; font-size: .92rem; color: var(--fg-soft); transition: color .5s; }
.tile__services li { padding-left: 18px; position: relative; }
.tile__services li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--oxblood); transition: background .4s; }
.tile:hover .tile__services li::before { background: #fff; }
.tile__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.tile__contacts { display: flex; }
.tile__avatar { width: 38px; height: 38px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font: italic 500 .85rem/1 var(--serif); margin-right: -8px; }
.tile__go { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, color .4s; }
.tile:hover .tile__go { transform: rotate(-45deg); background: #fff; color: var(--oxblood); border-color: #fff; }

.area-detail__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.area-detail .lead { font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.4 var(--serif); }
.service-list { border-top: 1px solid var(--line); }
.service-list li { padding: 20px 0 20px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.1rem; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 30px; width: 9px; height: 9px; background: var(--oxblood); transform: rotate(45deg); }
.area-detail__ask { margin-top: 60px; padding: clamp(26px, 4vw, 44px); }
.area-detail__ask .sub-title { margin-top: 0; }
.area-detail__ask p { color: var(--mute); }

.key-contacts { position: sticky; top: 110px; display: grid; gap: 18px; }
.key-contacts__title { font: 500 1.9rem/1 var(--serif); padding-bottom: 16px; border-bottom: 2px solid var(--oxblood); margin-bottom: 6px; }
.contact-card { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px; align-items: center; transition: transform .6s var(--ease-out); }
.contact-card:hover { transform: translateX(-6px); }
.contact-card__photo { position: relative; aspect-ratio: 4/5; overflow: hidden; display: block; }
.contact-card__photo img, .contact-card__photo .portrait-mono { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform 1.2s var(--ease-out); }
.contact-card:hover .contact-card__photo img { filter: none; }
.contact-card__photo .portrait-mono span { font-size: 2rem; }
.reveal-img.contact-card__photo .portrait-mono, .reveal-img.contact-card__photo img { transform: scale(1.25); }
.reveal-img.is-in.contact-card__photo .portrait-mono, .reveal-img.is-in.contact-card__photo img { transform: none; }
.contact-card__name { font: 500 1.35rem/1.15 var(--serif); }
.contact-card__role { color: var(--accent); font-size: .9rem; margin: 2px 0 10px; }
.contact-card__links { display: grid; gap: 4px; font-size: .88rem; color: var(--mute); word-break: break-word; }
.contact-card__links a:hover { color: var(--accent); }

/* =====================================================================
   CAREERS
   ===================================================================== */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 1fr auto 56px; gap: 24px; align-items: center; padding: 30px 0; text-align: left; }
.acc__title { font: 500 clamp(1.4rem, 2.6vw, 2.2rem)/1.15 var(--serif); transition: color .4s, transform .6s var(--ease); }
.acc__btn:hover .acc__title { color: var(--accent); transform: translateX(10px); }
.acc__meta { color: var(--mute); font-size: .92rem; }
.acc__icon { position: relative; width: 56px; height: 56px; border: 1px solid var(--line); transition: background .4s, transform .6s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--oxblood); border-color: var(--oxblood); color: #fff; transform: rotate(180deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.acc__panel > .acc__inner { overflow: hidden; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner > * { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s var(--ease-out); }
.acc.is-open .acc__inner > * { opacity: 1; transform: none; transition-delay: .25s; }
.acc__inner { padding-bottom: 0; }
.acc.is-open .acc__inner { padding-bottom: 36px; }
.acc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 10px 0 30px; }
.acc__cols h4 { font: 500 1.2rem/1.2 var(--serif); margin-bottom: 12px; color: var(--accent); }
.ticks li { position: relative; padding: 6px 0 6px 24px; color: var(--fg-soft); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 11px; border: solid var(--oxblood); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.apply__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }

.jobs-empty { position: relative; padding: clamp(30px, 4vw, 56px); max-width: 760px; overflow: hidden; }
.jobs-empty::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--oxblood); }
.jobs-empty__title { font: 500 clamp(1.7rem, 2.8vw, 2.4rem)/1.1 var(--serif); margin-bottom: 14px; }
.jobs-empty p { color: var(--fg-soft); max-width: 58ch; margin-bottom: 26px; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__info { display: grid; gap: 34px; align-content: start; }
.info-block__h { font-size: .9rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.info-block p, .info-block address { margin: 0; font-size: 1.1rem; }
.link-big { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.2 var(--serif); background: linear-gradient(var(--oxblood), var(--oxblood)) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease); word-break: break-word; }
.link-big:hover { background-size: 100% 1px; }
.contact-map { margin: 0; }
.contact-map__frame { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); box-shadow: 0 40px 80px -36px rgba(70,20,20,.4); }
.contact-map__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px var(--line); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) sepia(.12); transition: filter .8s var(--ease); }
.contact-map:hover iframe { filter: none; }

/* privacy */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.legal__toc { position: sticky; top: 110px; padding: 26px; }
.legal__toc-h { font-weight: 600; color: var(--accent); font-size: .9rem; }
.legal__toc ol { display: grid; gap: 8px; list-style: decimal inside; color: var(--mute); }
.legal__toc a:hover { color: var(--accent); }
.legal__body h2 { font: 500 1.9rem/1.15 var(--serif); margin: 1.6em 0 .5em; scroll-margin-top: 110px; }
.legal__body h2:first-of-type { margin-top: .4em; }
.legal__body ul { list-style: none; display: grid; gap: 8px; margin-bottom: 1em; }
.legal__body li { padding-left: 22px; position: relative; color: var(--fg-soft); }
.legal__body li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--oxblood); }
.note { padding: 14px 18px; border-left: 3px solid var(--oxblood); background: rgba(119,0,34,.06); color: var(--accent); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--oxblood); padding-block: clamp(80px, 10vw, 140px); isolation: isolate; }
.cta-band__shine { position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from 0deg at 50% 50%, transparent 0 70%, rgba(255,255,255,.12) 80%, transparent 90%); animation: shine 14s linear infinite; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 0% 100%, rgba(0,0,0,.45), transparent 70%); }
@keyframes shine { to { transform: rotate(360deg); } }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: end; }
.cta-band__title { font: 500 clamp(2.3rem, 5vw, 4.4rem)/1.02 var(--serif); letter-spacing: -.02em; color: #fff; }
.cta-band__side p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 26px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink); padding-top: clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-h { font-size: .9rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.footer-note { color: var(--mute); max-width: 34ch; margin-top: 22px; font-size: .95rem; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .site-footer address, .footer-hours { color: var(--fg-soft); font-size: .95rem; }
.footer-links a { background: linear-gradient(var(--ember), var(--ember)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.footer-links a:hover { color: #fff; background-size: 100% 1px; }
.footer-hours { margin-top: 12px; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); transition: background .4s, border-color .4s, transform .5s var(--ease-out); }
.social a:hover { background: var(--oxblood); border-color: var(--oxblood); transform: translateY(-4px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-wordmark { overflow: hidden; margin-top: clamp(50px, 8vw, 100px); white-space: nowrap; text-align: center; line-height: .8; padding-top: .1em; }

.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-block: 26px 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: .88rem; }
.footer-base p { margin: 0; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }
.footer-disclaimer { flex-basis: 100%; font-size: .8rem; opacity: .75; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 180; display: flex; align-items: center; gap: 0; filter: drop-shadow(0 16px 26px rgba(70,20,20,.28)); }
.wa-float__icon { position: relative; width: 46px; height: 46px; display: grid; place-items: center; background: #1fa855; color: #fff; }
.wa-float__icon::before { content: ""; position: absolute; inset: 0; border: 2px solid #25d366; animation: waPulse 2.4s var(--ease-out) infinite; }
.wa-float__icon svg { width: 22px; height: 22px; fill: currentColor; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; background: rgba(255,255,255,.92); color: var(--fg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); height: 46px; display: flex; align-items: center; font-weight: 600; font-size: .85rem; transition: max-width .6s var(--ease), padding .6s var(--ease); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 180px; padding: 0 16px; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
html.js .wa-float { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s var(--ease-out); }
html.is-loaded .wa-float { opacity: 1; transform: none; transition-delay: 1.4s; }


/* =====================================================================
   PUBLICATIONS
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pubs__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 48px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; padding: 10px 18px; font-size: .9rem; font-weight: 600; color: var(--fg-soft); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .45s, border-color .45s; }
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--oxblood); transform: translateY(101%); transition: transform .55s var(--ease); }
.chip:hover { border-color: var(--oxblood); color: #fff; }
.chip:hover::before, .chip.is-on::before { transform: none; }
.chip.is-on { color: #fff; border-color: var(--oxblood); box-shadow: var(--shadow-red); }
.pubs__search { display: flex; align-items: center; border-bottom: 1px solid var(--line-strong); min-width: min(320px, 100%); transition: border-color .3s; }
.pubs__search:focus-within { border-color: var(--oxblood); }
.pubs__search input { flex: 1; border: 0; background: transparent; padding: 12px 0; font: inherit; color: var(--fg); outline: none; min-width: 0; }
.pubs__search button { width: 40px; height: 40px; display: grid; place-items: center; }
.pubs__search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pubs__note { color: var(--fg-soft); margin: -24px 0 36px; }
.pubs__note a { color: var(--accent); text-decoration: underline; }
.pubs__empty { padding: clamp(30px, 5vw, 60px); max-width: 640px; }
.pubs__empty .sub-title { margin-top: 0; }

.pub-ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 20px;
  background: radial-gradient(70% 70% at 80% 10%, rgba(119,0,34,.22), transparent 70%), linear-gradient(150deg, #f4ece8, #e6dad4); }
.pub-ph span { font: italic 400 clamp(1.4rem, 2.4vw, 2.2rem)/1.1 var(--serif); color: rgba(119,0,34,.7); }

.pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.pub-card__link { display: flex; flex-direction: column; height: 100%; background: rgba(255,255,255,.7); box-shadow: var(--shadow-lux); transition: transform .6s var(--ease-out), box-shadow .6s; }
.pub-card__link:hover { transform: translateY(-8px); box-shadow: var(--shadow-lux), var(--shadow-red); }
.pub-card__media { aspect-ratio: 16 / 10; margin: 0; box-shadow: none; }
.pub-card__media img { filter: none; }
.pub-card__link:hover .pub-card__media img, .pub-card__link:hover .pub-ph { transform: scale(1.06); }
.pub-card__media .pub-ph { transition: transform 1.4s var(--ease-out); }
.pub-card__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; flex: 1; }
.pub-card__body::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--oxblood); transform: scaleX(.12); transform-origin: left; transition: transform .8s var(--ease); }
.pub-card__link:hover .pub-card__body::before { transform: scaleX(1); }
.pub-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .85rem; color: var(--mute); }
.pub-card__cat { color: var(--accent); font-weight: 600; }
a.pub-card__cat:hover { text-decoration: underline; }
.pub-card__title { font: 500 clamp(1.35rem, 1.8vw, 1.6rem)/1.2 var(--serif); letter-spacing: -.01em; transition: color .4s; }
.pub-card__link:hover .pub-card__title { color: var(--accent); }
.pub-card__excerpt { color: var(--fg-soft); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pub-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--mute); }

.pub-lead { margin-bottom: clamp(40px, 6vw, 70px); }
.pub-lead__link { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; }
.pub-lead__media { aspect-ratio: 16 / 10; margin: 0; }
.pub-lead__media img { filter: none; }
.pub-lead__link:hover .pub-lead__media img, .pub-lead__link:hover .pub-ph { transform: scale(1.04); }
.pub-lead__media .pub-ph { transition: transform 1.4s var(--ease-out); }
.pub-lead__media .pub-ph span { font-size: clamp(2rem, 4vw, 3.4rem); }
.pub-lead__body { position: relative; z-index: 3; margin-left: -80px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; transition: transform .7s var(--ease-out); }
.pub-lead__link:hover .pub-lead__body { transform: translateX(-10px); }
.pub-lead__title { font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.1 var(--serif); letter-spacing: -.02em; }
.pub-lead .link-line { align-self: flex-start; margin-top: 6px; color: var(--accent); }
.pub-lead__link:hover .link-line .arr { transform: translateX(6px); }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pager__n { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.pager__n:hover { border-color: var(--oxblood); color: var(--accent); }
.pager__n.is-on { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }

/* single publication */
.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; padding: 12px var(--gutter); background: var(--oxblood); color: #fff; font-size: .9rem; text-align: center; }
.preview-bar a { text-decoration: underline; font-weight: 600; margin-left: 8px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mute); font-size: .92rem; margin-bottom: 22px; }
.article__title { font-size: clamp(2.4rem, 5.6vw, 5rem); max-width: 22ch; }
.article__figure { margin: calc(clamp(30px, 4vw, 56px) * -1) 0 0; position: relative; z-index: 2; max-width: 720px; }
.article__frame { aspect-ratio: 16 / 9; max-height: 400px; margin: 0; }
.article__frame img { filter: none; }
.article__section { padding-top: clamp(50px, 7vw, 90px); }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 7vw, 110px); align-items: start; }
.article__body { font-size: 1.12rem; line-height: 1.8; color: var(--fg-soft); max-width: 70ch; }
.article__body > p:first-child { font: 400 clamp(1.3rem, 2vw, 1.55rem)/1.55 var(--serif); color: var(--fg); }
.article__body > p:first-child::first-letter { float: left; font: 500 4.6em/.8 var(--serif); color: var(--oxblood); margin: .06em .1em 0 0; }
.article__body h2 { font: 500 clamp(1.7rem, 2.6vw, 2.2rem)/1.15 var(--serif); color: var(--fg); margin: 1.8em 0 .55em; }
.article__body h3 { font: 500 1.45rem/1.2 var(--serif); color: var(--fg); margin: 1.6em 0 .5em; }
.article__body ul, .article__body ol { margin: 0 0 1.2em; padding-left: 0; display: grid; gap: 8px; }
.article__body ul li { position: relative; padding-left: 26px; }
.article__body ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; background: var(--oxblood); transform: rotate(45deg); }
.article__body ol { counter-reset: ol; }
.article__body ol li { position: relative; padding-left: 34px; counter-increment: ol; }
.article__body ol li::before { content: counter(ol) "."; position: absolute; left: 0; color: var(--accent); font: 500 1.1em/1.6 var(--serif); }
.article__body blockquote { margin: 1.6em 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--oxblood); font: italic 400 clamp(1.3rem, 2vw, 1.6rem)/1.45 var(--serif); color: var(--fg); }
.article__body strong { color: var(--fg); }
.article__body .ql-align-center { text-align: center; } .article__body .ql-align-right { text-align: right; }
.article__aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.author-card { padding: 24px; }
.author-card__label { font-size: .82rem; font-weight: 600; color: var(--accent); margin: 0 0 14px; }
.author-card__who { display: flex; gap: 16px; align-items: center; }
.author-card__photo { flex: none; width: 70px; aspect-ratio: 4/5; overflow: hidden; background: var(--surface); }
.author-card__photo img, .author-card__photo .portrait-mono { width: 100%; height: 100%; object-fit: cover; }
.author-card__photo .portrait-mono span { font-size: 1.5rem; }
.author-card__name { display: block; font: 500 1.25rem/1.2 var(--serif); }
.author-card__role { display: block; color: var(--accent); font-size: .88rem; }
.author-card__who:hover .author-card__name { color: var(--accent); }
.author-card__mail { display: inline-block; margin-top: 16px; font-size: .9rem; font-weight: 600; border-bottom: 1px solid var(--oxblood); }
.share__row { display: flex; gap: 8px; }
.share__row a, .share__row button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease-out); }
.share__row a:hover, .share__row button:hover { background: var(--oxblood); border-color: var(--oxblood); color: #fff; transform: translateY(-4px); }
.share__row svg { width: 18px; height: 18px; fill: currentColor; }
.share__copy svg { fill: none; }

/* latest publications on home */
.latest { background: var(--bg); }

@media (max-width: 1100px) {
  .pub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article__grid { grid-template-columns: 1fr; }
  .article__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 900px) {
  .pub-lead__link { grid-template-columns: 1fr; }
  .pub-lead__body { margin: -50px 16px 0; }
  .article__frame { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .pub-grid { grid-template-columns: 1fr; }
  .pubs__search { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
}


/* =====================================================================
   FIXED-BACKGROUND BAND  (the "fixed background / parallax window" effect)
   The parent clips a position:fixed layer, so the backdrop stays still while
   the page scrolls over it. Works on iOS too (unlike background-attachment).
   ===================================================================== */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; clip-path: inset(0); overflow: hidden; color: #fff; isolation: isolate; }
.band__bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 75% 30%, rgba(156,20,64,.75), transparent 70%), radial-gradient(50% 60% at 10% 90%, rgba(119,0,34,.55), transparent 70%), linear-gradient(160deg, #2a0d0d, #120f0f 70%); }
.band__bg--img { background-size: cover; background-position: center; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,15,15,.55), rgba(54,0,15,.55)); }
.band__bg:not(.band__bg--img)::after { background:
  repeating-linear-gradient(90deg, transparent 0 calc(12.5vw - 1px), rgba(255,255,255,.05) calc(12.5vw - 1px) 12.5vw); }
.band__mono { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font: 500 38vw/1 var(--serif); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); white-space: nowrap; }
.band__mono em { font-style: italic; }
.band__inner { padding-block: clamp(90px, 14vw, 180px); }
.band__title { font: 500 clamp(2.8rem, 7.5vw, 7rem)/1 var(--serif); letter-spacing: -.03em; max-width: 14ch; margin-bottom: 28px; }
.band__title .w:nth-child(2) > span { font-style: italic; color: #ffb3c6; }
.band__text { max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.85); }

/* =====================================================================
   INTRO IMAGE
   ===================================================================== */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 100px); align-items: center; margin-bottom: clamp(60px, 8vw, 110px); }
.intro__copy { max-width: 620px; }
.intro__label { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .92rem; font-weight: 600; color: var(--accent); }
.intro__label span { width: 44px; height: 1px; background: var(--oxblood); }
.intro__title { font: 500 clamp(2.2rem, 4.4vw, 3.9rem)/1.04 var(--serif); letter-spacing: -.025em; margin: 0 0 24px; max-width: 16ch; }
.intro__title .w:last-child > span { font-style: italic; color: var(--oxblood); }
.intro__text { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.7; color: var(--fg-soft); max-width: 50ch; margin: 0 0 34px; }
.intro__pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-ink, var(--line)); margin-bottom: 34px; }
.intro__pillars li { position: relative; padding: 22px 18px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.intro__pillars li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.intro__pillars li::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 40px; background: var(--oxblood); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(var(--stagger, 0s) + .5s); }
.intro__pillars li + li::before { left: 18px; }
.intro__pillars li.is-in::before { transform: scaleX(1); }
.intro__pillars strong { font: 500 1.2rem/1.2 var(--serif); color: var(--fg); }
.intro__pillars small { font-size: .9rem; color: var(--mute); line-height: 1.5; }
.intro__link { color: var(--accent); }
@media (max-width: 640px) {
  .intro__pillars { grid-template-columns: 1fr; }
  .intro__pillars li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .intro__pillars li + li::before { left: 0; }
}
.intro__media { position: relative; margin: 0; }
.intro__frame { aspect-ratio: 4 / 5; margin: 0; box-shadow: 0 50px 90px -40px rgba(70,20,20,.45); }
.intro__frame img, .intro__ph { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; filter: none; will-change: transform; }
.reveal-img .intro__frame img, .reveal-img .intro__frame .intro__ph { transform: none; }
.intro__ph { display: grid; place-items: center; background: radial-gradient(70% 55% at 70% 25%, rgba(119,0,34,.5), transparent 70%), linear-gradient(165deg, #2a1c1c, #120f0f); }
.intro__ph > span { font: 500 clamp(4rem, 9vw, 8rem)/1 var(--serif); color: #f3ece6; letter-spacing: -.03em; }
.intro__ph em { color: var(--ember); }
.intro__tag { position: absolute; left: -32px; bottom: 40px; padding: 16px 22px; background: rgba(255,255,255,.86); font: italic 500 1.15rem/1.2 var(--serif); color: var(--fg); opacity: 0; transform: translateX(-30px); transition: opacity 1s var(--ease-out) 1.1s, transform 1.2s var(--ease-out) 1.1s; }
.intro__media.is-in .intro__tag { opacity: 1; transform: none; }

/* =====================================================================
   STATS — animated bar
   ===================================================================== */
/* a page-coloured panel slides off to unveil the bar (no clip-path: it would hide the bar from IntersectionObserver) */
.stats--anim { position: relative; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(18,15,15,.55); }
.stats--anim::before { content: ""; position: absolute; inset: -1px; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, var(--oxblood) 0 6px, var(--bg) 6px); transform-origin: right; transition: transform 1.4s var(--ease); }
.stats--anim.is-in::before { transform: scaleX(0); }
.stats--anim .stat { position: relative; border-left: 0; }
.stats--anim .stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--line); transform: scaleY(0); transition: transform 1.2s var(--ease) calc(.6s + var(--k) * .15s); }
.stats--anim.is-in .stat + .stat::before { transform: scaleY(1); }
.stats--anim .stat__num, .stats--anim .stat__label { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(.5s + var(--k) * .15s); }
.stats--anim .stat__label { transition-delay: calc(.7s + var(--k) * .15s); }
.stats--anim.is-in .stat__num, .stats--anim.is-in .stat__label { opacity: 1; transform: none; }
.stat__bar { display: block; height: 2px; width: 100%; max-width: 120px; background: rgba(255,255,255,.08); margin: 0 0 14px; overflow: hidden; }
.stat__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--oxblood), var(--ember)); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-out) calc(.6s + var(--k) * .15s); }
.stats--anim.is-in .stat__bar i { transform: scaleX(1); }
.stats__sheen { position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.09), transparent); transform: skewX(-18deg); }
.stats--anim.is-in .stats__sheen { animation: sheen 2.2s var(--ease) 1.4s both; }
@keyframes sheen { to { left: 120%; } }
.stats--anim .stat:hover .stat__num { color: #fff; }
.stats--anim .stat::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 120%, rgba(156,20,64,.35), transparent 70%); opacity: 0; transition: opacity .8s; pointer-events: none; }
.stats--anim .stat:hover::after { opacity: 1; }

/* =====================================================================
   STEPS — slow, soft reveal (shadow blooms in)
   ===================================================================== */
.reveal-soft { opacity: 0; transform: translateY(46px); box-shadow: 0 0 0 rgba(0,0,0,0) !important;
  transition: opacity 1.6s var(--ease-out), transform 1.8s var(--ease-out), box-shadow 2.6s var(--ease-out) !important;
  transition-delay: calc(var(--stagger, 0s) * 2), calc(var(--stagger, 0s) * 2), calc(var(--stagger, 0s) * 2 + .5s) !important; }
.reveal-soft.is-in { opacity: 1; transform: none; box-shadow: var(--shadow-lux) !important; }
.step.reveal-soft.is-in:hover { transform: translateX(8px); box-shadow: var(--shadow-lux), var(--shadow-red) !important; transition-delay: 0s !important; transition-duration: 1s, 1s, 1.2s !important; }
html:not(.js) .reveal-soft { opacity: 1; transform: none; }

/* =====================================================================
   FOOTER WORDMARK — letters rise one by one, then fill with red
   ===================================================================== */
.footer-wordmark { position: relative; }
.footer-wordmark__line { display: inline-block; white-space: nowrap; font: 500 clamp(3.2rem, 12vw, 12.6rem)/.9 var(--serif); letter-spacing: -.045em; padding-bottom: .04em; }
.footer-wordmark .fw-ch { display: inline-block; color: transparent; -webkit-text-stroke: 1px rgba(226,80,111,.55);
  background: linear-gradient(180deg, var(--crimson) 0%, var(--oxblood) 45%, #3a0505 100%) no-repeat 0 100% / 100% 0%;
  -webkit-background-clip: text; background-clip: text;
  transform: translateY(105%) rotate(6deg); opacity: 0;
  transition: transform 1.3s var(--ease-out), opacity .8s, background-size 1.6s var(--ease), -webkit-text-stroke-color 1.6s;
  transition-delay: calc(var(--i) * 55ms), calc(var(--i) * 55ms), calc(1s + var(--i) * 55ms), calc(1s + var(--i) * 55ms); }
.footer-wordmark .fw-sp { display: inline-block; width: .25em; }
.footer-wordmark.is-in .fw-ch { transform: none; opacity: 1; background-size: 100% 100%; -webkit-text-stroke-color: rgba(226,80,111,0); }
.footer-wordmark__rule { display: block; height: 1px; margin: 0 var(--gutter); background: linear-gradient(90deg, transparent, var(--oxblood), transparent); transform: scaleX(0); transition: transform 2s var(--ease) .4s; }
.footer-wordmark.is-in .footer-wordmark__rule { transform: scaleX(1); }
.footer-wordmark .fw-ch:hover { transform: translateY(-8%); transition-delay: 0s; transition-duration: .5s; }


/* =====================================================================
   MEGA MENU — Areas of Counsel
   ===================================================================== */
.nav li.has-mega { display: flex; align-items: center; gap: 6px; }
.nav__chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .5s var(--ease); opacity: .7; }
.mega-open .nav__chev { transform: translateY(1px) rotate(-135deg); color: var(--accent); opacity: 1; }
.mega-open .site-header { transform: none !important; }

.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: -1; visibility: hidden; pointer-events: none;
  background: rgba(252,251,249,.97); box-shadow: 0 40px 80px -30px rgba(70,20,20,.35), 0 1px 0 var(--line) inset;
  clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease), visibility 0s .75s; }
.mega-open .mega { visibility: visible; pointer-events: auto; clip-path: inset(0 0 -80px 0); transition: clip-path .8s var(--ease), visibility 0s; }
.mega__rule { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--oxblood), var(--ember) 50%, var(--oxblood)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .1s; }
.mega-open .mega__rule { transform: scaleX(1); }
.mega::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 80% at 10% 0%, rgba(119,0,34,.07), transparent 70%); }

.mega__inner { max-width: 1480px; margin: 0 auto; padding: 44px var(--gutter) 48px; display: grid; grid-template-columns: 230px minmax(0, 1fr) 330px; gap: clamp(28px, 3vw, 56px); align-items: stretch; position: relative; z-index: 1; }

.mega__intro { border-right: 1px solid var(--line); padding-right: 28px; display: flex; flex-direction: column; gap: 14px; }
.mega__eyebrow { font: italic 500 2rem/1.05 var(--serif); margin: 0; color: var(--fg); }
.mega__lead { color: var(--fg-soft); font-size: .95rem; margin: 0; }
.mega__all { align-self: flex-start; margin-top: auto; color: var(--accent); font-size: .92rem; }
.mega__intro > * { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .8s var(--ease-out); }
.mega-open .mega__intro > * { opacity: 1; transform: none; transition-delay: .2s; }
.mega-open .mega__intro > *:nth-child(2) { transition-delay: .28s; }
.mega-open .mega__intro > *:nth-child(3) { transition-delay: .36s; }

.mega__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px 32px; align-content: start; }
.mega__gtitle { position: relative; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 0 0 12px; padding-bottom: 10px;
  opacity: 0; transform: translateY(14px); transition: opacity .6s calc(.18s + var(--g) * .08s), transform .8s var(--ease-out) calc(.18s + var(--g) * .08s); }
.mega-open .mega__gtitle { opacity: 1; transform: none; }
.mega__gtitle::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) calc(.25s + var(--g) * .08s); }
.mega-open .mega__gtitle::after { transform: scaleX(1); }
.mega__group ul { display: grid; gap: 2px; }
.mega__group li { overflow: hidden; padding-left: 12px; margin-left: -12px; }
.mega__link { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px 9px 0; font: 500 1.15rem/1.25 var(--serif); color: var(--fg); isolation: isolate;
  transform: translateY(110%); transition: transform .8s var(--ease-out) calc(.22s + var(--l) * .035s), color .35s, padding .45s var(--ease); }
.mega-open .mega__link { transform: none; }
.mega__link::before { content: ""; position: absolute; left: -12px; right: 0; top: 0; bottom: 0; z-index: -1; background: linear-gradient(90deg, rgba(119,0,34,.09), transparent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.mega__link::after { content: ""; position: absolute; left: -12px; top: 22%; bottom: 22%; width: 2px; background: var(--oxblood); transform: scaleY(0); transition: transform .4s var(--ease); }
.mega__link .arr { width: 16px; height: 16px; opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .45s var(--ease-out); flex: none; }
.mega__link:hover, .mega__link:focus-visible, .mega__link.is-cur { color: var(--accent); padding-left: 10px; }
.mega__link:hover::before, .mega__link:focus-visible::before, .mega__link.is-cur::before { transform: scaleX(1); }
.mega__link:hover::after, .mega__link:focus-visible::after, .mega__link.is-cur::after { transform: scaleY(1); }
.mega__link:hover .arr, .mega__link:focus-visible .arr, .mega__link.is-cur .arr { opacity: 1; transform: none; }

/* live preview card */
.mega__preview { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 280px; color: #fff; isolation: isolate;
  background: radial-gradient(70% 80% at 85% 0%, rgba(226,80,111,.45), transparent 62%), linear-gradient(150deg, var(--oxblood), #42001a);
  box-shadow: var(--shadow-red); clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease) .15s; }
.mega-open .mega__preview { clip-path: inset(0 0 0 0); }
.mega__pbg { position: absolute; inset: 0; z-index: -1; }
.mega__pbg .bp-pattern { font-size: 3.4rem; }
.mega__pbg .bp-line > span { -webkit-text-stroke-color: rgba(255,255,255,.07); }
.mega__pbg .bp-line > span em { -webkit-text-stroke-color: rgba(255,170,190,.12); }
.mega-open .mega__pbg .bp-line { animation-play-state: running; }
.mega__pbody { display: flex; flex-direction: column; gap: 10px; padding: 28px; width: 100%; background: linear-gradient(0deg, rgba(36,0,10,.55), transparent); }
.mega__ptitle { font: 500 1.75rem/1.1 var(--serif); }
.mega__pshort { font-size: .92rem; color: rgba(255,255,255,.85); }
.mega__ppeople { font-size: .82rem; color: #ffc9d6; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); }
.mega__ppeople:empty { display: none; }
.mega__pbody.swap > * { animation: megaSwap .6s var(--ease-out) both; }
.mega__pbody.swap > *:nth-child(2) { animation-delay: .05s; }
.mega__pbody.swap > *:nth-child(3) { animation-delay: .1s; }
@keyframes megaSwap { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }

/* page dims softly behind the open menu */
.mega-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(28,21,21,.18); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.mega-open .mega-scrim { opacity: 1; visibility: visible; transition: opacity .6s, visibility 0s; }

/* ---- mobile: grouped accordion inside the full-screen menu ---- */
.mm-group { border-bottom: 1px solid var(--line); }
.mm-group__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-menu__nav .mm-group__row a { border-bottom: 0; flex: 1; }
.mm-group__toggle { position: relative; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); transition: background .4s, border-color .4s; }
.mm-group__toggle i { position: absolute; left: 13px; right: 13px; top: 21px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease), background .4s; }
.mm-group__toggle i + i { transform: rotate(90deg); }
.mm-group.is-open .mm-group__toggle { background: var(--oxblood); border-color: var(--oxblood); }
.mm-group.is-open .mm-group__toggle i { background: #fff; }
.mm-group.is-open .mm-group__toggle i + i { transform: rotate(0); }
.mm-group__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.mm-group.is-open .mm-group__panel { grid-template-rows: 1fr; }
.mm-group__inner { overflow: hidden; }
.mm-group__title { margin: 14px 0 4px; font: 700 .75rem/1 var(--sans); color: var(--accent); }
.mobile-menu__nav .mm-group__link { display: block; font: 500 1.15rem/1.3 var(--serif); border: 0; border-left: 1px solid var(--line); padding: 7px 0 7px 14px; color: var(--fg-soft); }
.mobile-menu__nav .mm-group__link:hover { color: var(--accent); border-left-color: var(--oxblood); }
.mm-group__inner > :last-child { margin-bottom: 18px; }

@media (max-width: 1240px) { .mega, .mega-scrim, .nav__chev { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega__link, .mega__intro > *, .mega__gtitle { transform: none !important; opacity: 1 !important; } }


/* =====================================================================
   COOKIE NOTICE
   ===================================================================== */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 260; width: min(440px, calc(100% - 40px)); }
.cookie[hidden] { display: none; }
.cookie__inner { position: relative; padding: 26px 26px 22px; overflow: hidden;
  background: linear-gradient(140deg, rgba(255,255,255,.95), rgba(250,246,243,.9)); box-shadow: 0 40px 80px -30px rgba(70,20,20,.45), 0 10px 30px -14px rgba(70,20,20,.25);
  transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform 1s var(--ease), opacity .6s; }
.cookie.is-on .cookie__inner { transform: none; opacity: 1; }
.cookie__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--oxblood); transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease) .5s; }
.cookie.is-on .cookie__bar { transform: scaleY(1); }
.cookie__title { font: 500 1.5rem/1.1 var(--serif); margin-bottom: 10px; }
.cookie__text { font-size: .9rem; line-height: 1.6; color: var(--fg-soft); margin-bottom: 18px; }
.cookie__text a { color: var(--accent); text-decoration: underline; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__inner > * { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .8s var(--ease-out); }
.cookie.is-on .cookie__inner > * { opacity: 1; transform: none; transition-delay: .45s; }
.cookie.is-on .cookie__inner > .cookie__text { transition-delay: .55s; }
.cookie.is-on .cookie__inner > .cookie__actions { transition-delay: .65s; }
.footer-cookies { color: inherit; font: inherit; font-size: inherit; padding: 0; }
.footer-cookies:hover { color: #fff; }
@media (max-width: 640px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cookie-open .wa-float { opacity: 0 !important; pointer-events: none; }
}

/* map placeholder until consent */
.contact-map__gate { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center;
  background: radial-gradient(60% 60% at 50% 40%, rgba(119,0,34,.08), transparent 70%),
              repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
              repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), var(--bg-2); }
.contact-map__gtext { max-width: 30ch; font-size: .88rem; color: var(--fg-soft); }
.contact-map__pin { width: 22px; height: 22px; background: var(--oxblood); transform: rotate(45deg); box-shadow: var(--shadow-red); animation: pinBob 2.4s ease-in-out infinite; }
@keyframes pinBob { 50% { transform: rotate(45deg) translate(-4px, -4px); } }
.contact-map.is-loaded .contact-map__gate { opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.contact-map__noscript { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 10px; text-align: center; background: var(--oxblood); color: #fff; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1240px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 1100px) {
  .burger { display: block; }
  .person-grid, .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-detail__grid { grid-template-columns: 1fr; }
  .key-contacts { position: static; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .key-contacts__title { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero { padding-bottom: 60px; align-items: stretch; }
  .hero__panel { position: relative; right: auto; bottom: auto; width: auto; margin: 44px var(--gutter) 0; }
  .hero { flex-direction: column; justify-content: center; }
  .hero__inner { margin-top: auto; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .area-row > a { grid-template-columns: 1fr 48px; gap: 10px 18px; }
  .area-row__short { grid-column: 1; grid-row: 2; font-size: .95rem; }
  .area-row__go { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 520px; }
  .intro__tag { left: 12px; }
  .band { min-height: 64vh; }
  .process__grid, .story__grid, .courts__grid, .cta-band__inner, .contact__grid, .apply__grid, .legal { grid-template-columns: 1fr; }
  .process__head, .legal__toc { position: static; }
  .story__badge { right: 12px; bottom: -24px; }
  .acc__btn { grid-template-columns: 1fr 48px; }
  .acc__meta { grid-column: 1; grid-row: 2; }
  .acc__icon { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; }
  .acc__cols { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__mark { min-width: 40px; height: 40px; font-size: .95rem; }
  .brand__name { font-size: 1.18rem; }
  .brand__name small { font-size: .54rem; letter-spacing: .36em; }
  .person-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .person__name { font-size: 1.15rem; }
  .person__focus { display: none; }
  .tile-grid, .value-grid, .value-grid--3 { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .field-row { grid-template-columns: 1fr; }
  .courts__list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 90px 1fr; }
  .key-contacts { grid-template-columns: 1fr; }
  .profile__head { flex-direction: column; align-items: flex-start; }
  .profile__facts div { grid-template-columns: 1fr; gap: 2px; }
  .btn { padding: 0 22px; }
  .hero__title { font-size: clamp(3rem, 14.5vw, 4.6rem); }
  .wa-float { right: 14px; bottom: 14px; }
  .wa-float__icon { width: 42px; height: 42px; }
  .wa-float__label { height: 42px; }
  .steps { padding-left: 26px; }
  .step::before { left: -31px; }
}

/* reduced motion: show everything, stop loops */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .curtain { display: none; }
  .reveal, .reveal-up, .reveal-row > *, .hero-in, .split .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .person__wipe { display: none; }
  .scrub-text .sw { opacity: 1; }
  .stats--anim::before { display: none; }
  .stats--anim, .stats--anim * , .reveal-soft, .footer-wordmark .fw-ch, .intro__tag { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .footer-wordmark .fw-ch { background-size: 100% 100% !important; }
  .stat__bar i, .footer-wordmark__rule { transform: none !important; }
  .marquee__track { animation: none; }
}

/* =====================================================================
   JUSTIFIED BODY TEXT
   Longer reading paragraphs get a clean right edge. Hyphenation keeps the
   word spacing even. Add class="justify" to any other paragraph to opt in.
   Phones fall back to left-aligned, where narrow justified columns gape.
   ===================================================================== */
.justify,
.intro__text,
.story .prose p,
.community__text .section-lede,
.area-detail__main > p,
.article__body p,
.profile__bio,
.legal__body p,
.jobs-empty p,
.acc__inner > .lead {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  text-wrap: pretty;
}
/* the large drop-cap opening paragraph of an article reads better ragged */
.article__body > p:first-child { text-align: left; hyphens: manual; }
@media (max-width: 640px) {
  .justify, .intro__text, .story .prose p, .community__text .section-lede, .area-detail__main > .lead,
  .article__body p, .profile__bio, .legal__body p, .jobs-empty p, .acc__inner > .lead { text-align: left; hyphens: manual; }
}

.footer-map { background: linear-gradient(var(--ember), var(--ember)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.footer-map:hover { color: #fff; background-size: 100% 1px; }

/* images inside article text */
.article__img { margin: 2em 0; max-width: 620px; }
.article__imgframe { position: relative; display: block; overflow: hidden; background: var(--surface); box-shadow: 0 40px 80px -40px rgba(70,20,20,.4); }
.article__imgframe img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-out) .2s; }
.article__img.is-in .article__imgframe img { transform: none; }
.article__img figcaption { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--oxblood); font-size: .9rem; color: var(--mute); text-align: left; }
html:not(.js) .article__imgframe img { transform: none; }

/* ===== Firm monogram logo (replaces the text mark) ===== */
.brand__mark--logo { background: none; box-shadow: none; padding: 0; min-width: 0; height: 46px; }
.brand__logo { height: 100%; width: auto; display: block; }
.brand__logo--light { display: none; }
.site-footer .brand__logo--dark, .menu-open .site-header .brand__logo--dark, .on-dark .brand__logo--dark { display: none; }
.site-footer .brand__logo--light, .menu-open .site-header .brand__logo--light, .on-dark .brand__logo--light { display: block; }
@media (max-width: 1240px) { .brand__mark--logo { height: 40px; min-width: 0; } }

/* multi-paragraph bios in the profile drawer */
.profile__bio + .profile__bio { margin-top: .9em; }
.info-block__more { font-size: .95rem !important; color: var(--fg-soft); margin-top: 6px !important; }
.info-block__more a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }
.section--tight { padding-block: 0 clamp(48px, 7vw, 90px); }
.support-note .section-lede { max-width: 60ch; }
@media (min-width: 1101px) { .person-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ===== Practice area pages: calmer type ===== */
.page-area .page-hero__title { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.04; max-width: 24ch; margin-bottom: 20px; }
.page-area .page-hero__lede { font-size: clamp(1rem, 1.2vw, 1.12rem); }
.area-detail .lead { font: 400 clamp(1.02rem, 1.15vw, 1.12rem)/1.75 var(--sans); color: var(--fg-soft); }
.area-detail .sub-title { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.service-list li { font-size: 1rem; padding: 15px 0 15px 30px; }
.service-list li::before { top: 23px; width: 8px; height: 8px; }
.area-detail__ask .sub-title { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.contact-card__name { font-size: 1.15rem; }

/* ===== Advocate photos: colour by default, larger, stronger hover ===== */
/* Our advocates (Home) and Our People cards */
@media (min-width: 1101px) {
  .person-grid--five { gap: 18px; margin-inline: clamp(-48px, -2.4vw, 0px); }
}
.person__frame { transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out); }
.person__frame img, .person__frame .portrait-mono { filter: none; }
.person__frame::after { opacity: 1; }
.person:hover .person__frame { transform: translateY(-10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 60px 90px -34px rgba(60,0,18,.55), 0 26px 46px -22px rgba(0,0,0,.45); }
.person:hover .person__frame img, .person:hover .portrait-mono,
.reveal-img.is-in:hover .person__frame img, .reveal-img.is-in:hover .portrait-mono { transform: scale(1.1); }

/* Key contacts on practice area pages */
.contact-card { grid-template-columns: 128px 1fr; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.contact-card__photo img, .contact-card__photo .portrait-mono { filter: none; }
.contact-card:hover { transform: translate(-12px, -4px);
  box-shadow: 0 50px 80px -32px rgba(60,0,18,.5), 0 20px 40px -20px rgba(0,0,0,.4); }
.reveal-img.is-in.contact-card__photo img, .reveal-img.is-in.contact-card__photo .portrait-mono { transition: transform 1.2s var(--ease-out); }
.contact-card:hover .contact-card__photo img, .contact-card:hover .contact-card__photo .portrait-mono { transform: scale(1.08); }
@media (max-width: 720px) { .contact-card { grid-template-columns: 104px 1fr; } }

/* ===== Subtle geometric star pattern (eight-pointed khatam, star-and-cross lattice) =====
   One tile, two colours. Opacity is kept very low and the pattern is faded
   behind text, so it reads as texture rather than decoration. */
:root {
  --pat-burgundy: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%3E%3Cpath%20d='M30.00%2C0.00L0.00%2C30.00L-30.00%2C0.00L-0.00%2C-30.00ZM21.21%2C21.21L-21.21%2C21.21L-21.21%2C-21.21L21.21%2C-21.21ZM10.78%2C4.46L4.46%2C10.78L-4.46%2C10.78L-10.78%2C4.46L-10.78%2C-4.46L-4.46%2C-10.78L4.46%2C-10.78L10.78%2C-4.46ZM150.00%2C0.00L120.00%2C30.00L90.00%2C0.00L120.00%2C-30.00ZM141.21%2C21.21L98.79%2C21.21L98.79%2C-21.21L141.21%2C-21.21ZM130.78%2C4.46L124.46%2C10.78L115.54%2C10.78L109.22%2C4.46L109.22%2C-4.46L115.54%2C-10.78L124.46%2C-10.78L130.78%2C-4.46ZM30.00%2C120.00L0.00%2C150.00L-30.00%2C120.00L-0.00%2C90.00ZM21.21%2C141.21L-21.21%2C141.21L-21.21%2C98.79L21.21%2C98.79ZM10.78%2C124.46L4.46%2C130.78L-4.46%2C130.78L-10.78%2C124.46L-10.78%2C115.54L-4.46%2C109.22L4.46%2C109.22L10.78%2C115.54ZM150.00%2C120.00L120.00%2C150.00L90.00%2C120.00L120.00%2C90.00ZM141.21%2C141.21L98.79%2C141.21L98.79%2C98.79L141.21%2C98.79ZM130.78%2C124.46L124.46%2C130.78L115.54%2C130.78L109.22%2C124.46L109.22%2C115.54L115.54%2C109.22L124.46%2C109.22L130.78%2C115.54ZM90.00%2C60.00L60.00%2C90.00L30.00%2C60.00L60.00%2C30.00ZM81.21%2C81.21L38.79%2C81.21L38.79%2C38.79L81.21%2C38.79ZM70.78%2C64.46L64.46%2C70.78L55.54%2C70.78L49.22%2C64.46L49.22%2C55.54L55.54%2C49.22L64.46%2C49.22L70.78%2C55.54ZM30.00%2C0.00L42.43%2C0.00M21.21%2C21.21L30.00%2C30.00M0.00%2C30.00L0.00%2C42.43M-21.21%2C21.21L-30.00%2C30.00M-30.00%2C0.00L-42.43%2C0.00M-21.21%2C-21.21L-30.00%2C-30.00M-0.00%2C-30.00L-0.00%2C-42.43M21.21%2C-21.21L30.00%2C-30.00M150.00%2C0.00L162.43%2C0.00M141.21%2C21.21L150.00%2C30.00M120.00%2C30.00L120.00%2C42.43M98.79%2C21.21L90.00%2C30.00M90.00%2C0.00L77.57%2C0.00M98.79%2C-21.21L90.00%2C-30.00M120.00%2C-30.00L120.00%2C-42.43M141.21%2C-21.21L150.00%2C-30.00M30.00%2C120.00L42.43%2C120.00M21.21%2C141.21L30.00%2C150.00M0.00%2C150.00L0.00%2C162.43M-21.21%2C141.21L-30.00%2C150.00M-30.00%2C120.00L-42.43%2C120.00M-21.21%2C98.79L-30.00%2C90.00M-0.00%2C90.00L-0.00%2C77.57M21.21%2C98.79L30.00%2C90.00M150.00%2C120.00L162.43%2C120.00M141.21%2C141.21L150.00%2C150.00M120.00%2C150.00L120.00%2C162.43M98.79%2C141.21L90.00%2C150.00M90.00%2C120.00L77.57%2C120.00M98.79%2C98.79L90.00%2C90.00M120.00%2C90.00L120.00%2C77.57M141.21%2C98.79L150.00%2C90.00M90.00%2C60.00L102.43%2C60.00M81.21%2C81.21L90.00%2C90.00M60.00%2C90.00L60.00%2C102.43M38.79%2C81.21L30.00%2C90.00M30.00%2C60.00L17.57%2C60.00M38.79%2C38.79L30.00%2C30.00M60.00%2C30.00L60.00%2C17.57M81.21%2C38.79L90.00%2C30.00'%20fill='none'%20stroke='rgba%28119%2C0%2C34%2C.075%29'%20stroke-width='1'/%3E%3C/svg%3E");
  --pat-white: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%3E%3Cpath%20d='M30.00%2C0.00L0.00%2C30.00L-30.00%2C0.00L-0.00%2C-30.00ZM21.21%2C21.21L-21.21%2C21.21L-21.21%2C-21.21L21.21%2C-21.21ZM10.78%2C4.46L4.46%2C10.78L-4.46%2C10.78L-10.78%2C4.46L-10.78%2C-4.46L-4.46%2C-10.78L4.46%2C-10.78L10.78%2C-4.46ZM150.00%2C0.00L120.00%2C30.00L90.00%2C0.00L120.00%2C-30.00ZM141.21%2C21.21L98.79%2C21.21L98.79%2C-21.21L141.21%2C-21.21ZM130.78%2C4.46L124.46%2C10.78L115.54%2C10.78L109.22%2C4.46L109.22%2C-4.46L115.54%2C-10.78L124.46%2C-10.78L130.78%2C-4.46ZM30.00%2C120.00L0.00%2C150.00L-30.00%2C120.00L-0.00%2C90.00ZM21.21%2C141.21L-21.21%2C141.21L-21.21%2C98.79L21.21%2C98.79ZM10.78%2C124.46L4.46%2C130.78L-4.46%2C130.78L-10.78%2C124.46L-10.78%2C115.54L-4.46%2C109.22L4.46%2C109.22L10.78%2C115.54ZM150.00%2C120.00L120.00%2C150.00L90.00%2C120.00L120.00%2C90.00ZM141.21%2C141.21L98.79%2C141.21L98.79%2C98.79L141.21%2C98.79ZM130.78%2C124.46L124.46%2C130.78L115.54%2C130.78L109.22%2C124.46L109.22%2C115.54L115.54%2C109.22L124.46%2C109.22L130.78%2C115.54ZM90.00%2C60.00L60.00%2C90.00L30.00%2C60.00L60.00%2C30.00ZM81.21%2C81.21L38.79%2C81.21L38.79%2C38.79L81.21%2C38.79ZM70.78%2C64.46L64.46%2C70.78L55.54%2C70.78L49.22%2C64.46L49.22%2C55.54L55.54%2C49.22L64.46%2C49.22L70.78%2C55.54ZM30.00%2C0.00L42.43%2C0.00M21.21%2C21.21L30.00%2C30.00M0.00%2C30.00L0.00%2C42.43M-21.21%2C21.21L-30.00%2C30.00M-30.00%2C0.00L-42.43%2C0.00M-21.21%2C-21.21L-30.00%2C-30.00M-0.00%2C-30.00L-0.00%2C-42.43M21.21%2C-21.21L30.00%2C-30.00M150.00%2C0.00L162.43%2C0.00M141.21%2C21.21L150.00%2C30.00M120.00%2C30.00L120.00%2C42.43M98.79%2C21.21L90.00%2C30.00M90.00%2C0.00L77.57%2C0.00M98.79%2C-21.21L90.00%2C-30.00M120.00%2C-30.00L120.00%2C-42.43M141.21%2C-21.21L150.00%2C-30.00M30.00%2C120.00L42.43%2C120.00M21.21%2C141.21L30.00%2C150.00M0.00%2C150.00L0.00%2C162.43M-21.21%2C141.21L-30.00%2C150.00M-30.00%2C120.00L-42.43%2C120.00M-21.21%2C98.79L-30.00%2C90.00M-0.00%2C90.00L-0.00%2C77.57M21.21%2C98.79L30.00%2C90.00M150.00%2C120.00L162.43%2C120.00M141.21%2C141.21L150.00%2C150.00M120.00%2C150.00L120.00%2C162.43M98.79%2C141.21L90.00%2C150.00M90.00%2C120.00L77.57%2C120.00M98.79%2C98.79L90.00%2C90.00M120.00%2C90.00L120.00%2C77.57M141.21%2C98.79L150.00%2C90.00M90.00%2C60.00L102.43%2C60.00M81.21%2C81.21L90.00%2C90.00M60.00%2C90.00L60.00%2C102.43M38.79%2C81.21L30.00%2C90.00M30.00%2C60.00L17.57%2C60.00M38.79%2C38.79L30.00%2C30.00M60.00%2C30.00L60.00%2C17.57M81.21%2C38.79L90.00%2C30.00'%20fill='none'%20stroke='rgba%28255%2C255%2C255%2C.085%29'%20stroke-width='1'/%3E%3C/svg%3E");
  --pat-burgundy-soft: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%3E%3Cpath%20d='M30.00%2C0.00L0.00%2C30.00L-30.00%2C0.00L-0.00%2C-30.00ZM21.21%2C21.21L-21.21%2C21.21L-21.21%2C-21.21L21.21%2C-21.21ZM10.78%2C4.46L4.46%2C10.78L-4.46%2C10.78L-10.78%2C4.46L-10.78%2C-4.46L-4.46%2C-10.78L4.46%2C-10.78L10.78%2C-4.46ZM150.00%2C0.00L120.00%2C30.00L90.00%2C0.00L120.00%2C-30.00ZM141.21%2C21.21L98.79%2C21.21L98.79%2C-21.21L141.21%2C-21.21ZM130.78%2C4.46L124.46%2C10.78L115.54%2C10.78L109.22%2C4.46L109.22%2C-4.46L115.54%2C-10.78L124.46%2C-10.78L130.78%2C-4.46ZM30.00%2C120.00L0.00%2C150.00L-30.00%2C120.00L-0.00%2C90.00ZM21.21%2C141.21L-21.21%2C141.21L-21.21%2C98.79L21.21%2C98.79ZM10.78%2C124.46L4.46%2C130.78L-4.46%2C130.78L-10.78%2C124.46L-10.78%2C115.54L-4.46%2C109.22L4.46%2C109.22L10.78%2C115.54ZM150.00%2C120.00L120.00%2C150.00L90.00%2C120.00L120.00%2C90.00ZM141.21%2C141.21L98.79%2C141.21L98.79%2C98.79L141.21%2C98.79ZM130.78%2C124.46L124.46%2C130.78L115.54%2C130.78L109.22%2C124.46L109.22%2C115.54L115.54%2C109.22L124.46%2C109.22L130.78%2C115.54ZM90.00%2C60.00L60.00%2C90.00L30.00%2C60.00L60.00%2C30.00ZM81.21%2C81.21L38.79%2C81.21L38.79%2C38.79L81.21%2C38.79ZM70.78%2C64.46L64.46%2C70.78L55.54%2C70.78L49.22%2C64.46L49.22%2C55.54L55.54%2C49.22L64.46%2C49.22L70.78%2C55.54ZM30.00%2C0.00L42.43%2C0.00M21.21%2C21.21L30.00%2C30.00M0.00%2C30.00L0.00%2C42.43M-21.21%2C21.21L-30.00%2C30.00M-30.00%2C0.00L-42.43%2C0.00M-21.21%2C-21.21L-30.00%2C-30.00M-0.00%2C-30.00L-0.00%2C-42.43M21.21%2C-21.21L30.00%2C-30.00M150.00%2C0.00L162.43%2C0.00M141.21%2C21.21L150.00%2C30.00M120.00%2C30.00L120.00%2C42.43M98.79%2C21.21L90.00%2C30.00M90.00%2C0.00L77.57%2C0.00M98.79%2C-21.21L90.00%2C-30.00M120.00%2C-30.00L120.00%2C-42.43M141.21%2C-21.21L150.00%2C-30.00M30.00%2C120.00L42.43%2C120.00M21.21%2C141.21L30.00%2C150.00M0.00%2C150.00L0.00%2C162.43M-21.21%2C141.21L-30.00%2C150.00M-30.00%2C120.00L-42.43%2C120.00M-21.21%2C98.79L-30.00%2C90.00M-0.00%2C90.00L-0.00%2C77.57M21.21%2C98.79L30.00%2C90.00M150.00%2C120.00L162.43%2C120.00M141.21%2C141.21L150.00%2C150.00M120.00%2C150.00L120.00%2C162.43M98.79%2C141.21L90.00%2C150.00M90.00%2C120.00L77.57%2C120.00M98.79%2C98.79L90.00%2C90.00M120.00%2C90.00L120.00%2C77.57M141.21%2C98.79L150.00%2C90.00M90.00%2C60.00L102.43%2C60.00M81.21%2C81.21L90.00%2C90.00M60.00%2C90.00L60.00%2C102.43M38.79%2C81.21L30.00%2C90.00M30.00%2C60.00L17.57%2C60.00M38.79%2C38.79L30.00%2C30.00M60.00%2C30.00L60.00%2C17.57M81.21%2C38.79L90.00%2C30.00'%20fill='none'%20stroke='rgba%28119%2C0%2C34%2C.045%29'%20stroke-width='1'/%3E%3C/svg%3E");
  --pat-white-soft: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%3E%3Cpath%20d='M30.00%2C0.00L0.00%2C30.00L-30.00%2C0.00L-0.00%2C-30.00ZM21.21%2C21.21L-21.21%2C21.21L-21.21%2C-21.21L21.21%2C-21.21ZM10.78%2C4.46L4.46%2C10.78L-4.46%2C10.78L-10.78%2C4.46L-10.78%2C-4.46L-4.46%2C-10.78L4.46%2C-10.78L10.78%2C-4.46ZM150.00%2C0.00L120.00%2C30.00L90.00%2C0.00L120.00%2C-30.00ZM141.21%2C21.21L98.79%2C21.21L98.79%2C-21.21L141.21%2C-21.21ZM130.78%2C4.46L124.46%2C10.78L115.54%2C10.78L109.22%2C4.46L109.22%2C-4.46L115.54%2C-10.78L124.46%2C-10.78L130.78%2C-4.46ZM30.00%2C120.00L0.00%2C150.00L-30.00%2C120.00L-0.00%2C90.00ZM21.21%2C141.21L-21.21%2C141.21L-21.21%2C98.79L21.21%2C98.79ZM10.78%2C124.46L4.46%2C130.78L-4.46%2C130.78L-10.78%2C124.46L-10.78%2C115.54L-4.46%2C109.22L4.46%2C109.22L10.78%2C115.54ZM150.00%2C120.00L120.00%2C150.00L90.00%2C120.00L120.00%2C90.00ZM141.21%2C141.21L98.79%2C141.21L98.79%2C98.79L141.21%2C98.79ZM130.78%2C124.46L124.46%2C130.78L115.54%2C130.78L109.22%2C124.46L109.22%2C115.54L115.54%2C109.22L124.46%2C109.22L130.78%2C115.54ZM90.00%2C60.00L60.00%2C90.00L30.00%2C60.00L60.00%2C30.00ZM81.21%2C81.21L38.79%2C81.21L38.79%2C38.79L81.21%2C38.79ZM70.78%2C64.46L64.46%2C70.78L55.54%2C70.78L49.22%2C64.46L49.22%2C55.54L55.54%2C49.22L64.46%2C49.22L70.78%2C55.54ZM30.00%2C0.00L42.43%2C0.00M21.21%2C21.21L30.00%2C30.00M0.00%2C30.00L0.00%2C42.43M-21.21%2C21.21L-30.00%2C30.00M-30.00%2C0.00L-42.43%2C0.00M-21.21%2C-21.21L-30.00%2C-30.00M-0.00%2C-30.00L-0.00%2C-42.43M21.21%2C-21.21L30.00%2C-30.00M150.00%2C0.00L162.43%2C0.00M141.21%2C21.21L150.00%2C30.00M120.00%2C30.00L120.00%2C42.43M98.79%2C21.21L90.00%2C30.00M90.00%2C0.00L77.57%2C0.00M98.79%2C-21.21L90.00%2C-30.00M120.00%2C-30.00L120.00%2C-42.43M141.21%2C-21.21L150.00%2C-30.00M30.00%2C120.00L42.43%2C120.00M21.21%2C141.21L30.00%2C150.00M0.00%2C150.00L0.00%2C162.43M-21.21%2C141.21L-30.00%2C150.00M-30.00%2C120.00L-42.43%2C120.00M-21.21%2C98.79L-30.00%2C90.00M-0.00%2C90.00L-0.00%2C77.57M21.21%2C98.79L30.00%2C90.00M150.00%2C120.00L162.43%2C120.00M141.21%2C141.21L150.00%2C150.00M120.00%2C150.00L120.00%2C162.43M98.79%2C141.21L90.00%2C150.00M90.00%2C120.00L77.57%2C120.00M98.79%2C98.79L90.00%2C90.00M120.00%2C90.00L120.00%2C77.57M141.21%2C98.79L150.00%2C90.00M90.00%2C60.00L102.43%2C60.00M81.21%2C81.21L90.00%2C90.00M60.00%2C90.00L60.00%2C102.43M38.79%2C81.21L30.00%2C90.00M30.00%2C60.00L17.57%2C60.00M38.79%2C38.79L30.00%2C30.00M60.00%2C30.00L60.00%2C17.57M81.21%2C38.79L90.00%2C30.00'%20fill='none'%20stroke='rgba%28255%2C255%2C255%2C.07%29'%20stroke-width='1'/%3E%3C/svg%3E");
  --pat-size: 120px;
}
/* Off-white page: pattern shows towards the edges of the screen, clear behind the reading column */
body { background-color: var(--bg);
  background-image: radial-gradient(ellipse 62% 85% at 42% 50%, var(--bg) 40%, rgba(252,251,249,.6) 70%, rgba(252,251,249,0) 100%), var(--pat-burgundy);
  background-size: 100% 100%, var(--pat-size) var(--pat-size); background-attachment: fixed, fixed; }
.intro { background: transparent; }
/* Inner page headers: same quiet strength as the page body,
   a lighter tile that fades out behind the headline */
.page-hero { background:
  radial-gradient(ellipse 70% 120% at 20% 55%, #fff 35%, rgba(255,255,255,.6) 65%, rgba(255,255,255,0) 100%),
  var(--pat-burgundy-soft) 0 0 / var(--pat-size) var(--pat-size),
  linear-gradient(170deg, #ffffff 0%, var(--bg) 50%, #f2ebe7 100%); }
@media (max-width: 760px) {
  body { background-attachment: scroll, scroll; background-image: linear-gradient(var(--bg), rgba(252,251,249,.55)), var(--pat-burgundy); }
}

/* Our People: one card per row on phones */
@media (max-width: 640px) {
  .person-grid { grid-template-columns: 1fr; gap: 34px; }
  .person { max-width: 420px; }
  .person__name { font-size: 1.35rem; }
  .person__focus { display: block; }
}

/* Burgundy swipes (page-load curtain and image reveals): a whisper of the pattern */
.curtain__panel { background: var(--pat-white-soft) 0 0 / var(--pat-size) var(--pat-size), var(--oxblood); }
.person__wipe { background: var(--pat-white-soft) 0 0 / 96px 96px, var(--oxblood); }

/* ===== Advocates: one-by-one reveal =====
   Each card rises in, a burgundy curtain lifts, then a lighter patterned curtain
   follows it, the photo settles from a soft blur, and the name and role rise last.
   --stagger is set per card (0s, .26s, .52s ...) so they play in sequence. */
@keyframes personRise { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
@keyframes personText { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.js .person.reveal-img:not(.is-in) .person__frame { opacity: 0; transform: translateY(56px); }
.person.reveal-img.is-in .person__frame { animation: personRise 1s var(--ease-out) var(--stagger, 0s) backwards; }

/* curtain 1: the burgundy wipe lifts upwards */
.person.reveal-img .person__wipe { transform-origin: top; transform: scaleY(1); }
.person.reveal-img.is-in .person__wipe { transform: scaleY(0); transition: transform 1s var(--ease) calc(var(--stagger, 0s) + .3s); }
/* curtain 2: a lighter, patterned panel follows */
.person.reveal-img .person__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--pat-white-soft) 0 0 / 96px 96px, #9c2a4a; transform-origin: top; transform: scaleY(1); }
.person.reveal-img.is-in .person__frame::before { transform: scaleY(0); transition: transform 1s var(--ease) calc(var(--stagger, 0s) + .5s); }

/* photo: settles from a slight zoom and blur */
.person.reveal-img .person__frame img, .person.reveal-img .person__frame .portrait-mono { transform: scale(1.3); filter: blur(6px); }
.person.reveal-img.is-in .person__frame img, .person.reveal-img.is-in .person__frame .portrait-mono { transform: scale(1); filter: none;
  transition: transform 1.8s var(--ease-out) calc(var(--stagger, 0s) + .5s), filter 1.1s var(--ease-out) calc(var(--stagger, 0s) + .55s); }

/* text rises after the photo */
.js .person.reveal-img:not(.is-in) :is(.person__name, .person__role, .person__focus) { opacity: 0; }
.person.reveal-img.is-in .person__name  { animation: personText .8s var(--ease-out) calc(var(--stagger, 0s) + .95s) backwards; }
.person.reveal-img.is-in .person__role  { animation: personText .8s var(--ease-out) calc(var(--stagger, 0s) + 1.08s) backwards; }
.person.reveal-img.is-in .person__focus { animation: personText .8s var(--ease-out) calc(var(--stagger, 0s) + 1.2s) backwards; }

/* after the sequence: hover reacts immediately */
.person.is-done .person__frame img, .person.is-done .person__frame .portrait-mono { transition: transform 1.2s var(--ease-out), filter .6s; }
.person.reveal-img.is-in:hover .person__frame img, .person.reveal-img.is-in:hover .person__frame .portrait-mono { transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .person.reveal-img .person__frame::before { display: none; }
  .person.reveal-img .person__frame, .person.reveal-img .person__frame img, .person.reveal-img .person__frame .portrait-mono,
  .person.reveal-img :is(.person__name, .person__role, .person__focus) { opacity: 1 !important; transform: none !important; filter: none !important; }
}
html:not(.js) .person__frame::before { display: none; }

/* ===== Practice groups ===== */
/* Our Practice page: three group tiles */
.tile-grid--groups .tile { min-height: 420px; }
.tile-grid--groups .tile__services li { font-size: .95rem; }
@media (max-width: 1100px) { .tile-grid--groups { grid-template-columns: 1fr; } .tile-grid--groups .tile { min-height: 0; } }

/* Group page: jump links to each practice area */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 10px; }
.subnav a { padding: 9px 14px; font-size: .88rem; font-weight: 500; border: 1px solid var(--line-strong); background: rgba(255,255,255,.6);
  transition: background .35s, color .35s, border-color .35s; }
.subnav a:hover, .subnav a:focus-visible { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }

/* Group page: one section per practice area */
.subarea { position: relative; padding: clamp(36px, 5vw, 56px) 0 8px; border-top: 1px solid var(--line); margin-top: clamp(30px, 4vw, 44px); scroll-margin-top: 110px; }
.subarea__n { position: absolute; top: clamp(30px, 4vw, 44px); right: 0; font: 500 clamp(2.6rem, 4vw, 3.6rem)/1 var(--serif); color: var(--ghost); margin: 0; }
.subarea__title { font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); margin: 0 0 16px; max-width: 80%; }
.subarea__title::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 14px; background: var(--oxblood); }
.subarea__text { font-size: 1.02rem; line-height: 1.75; color: var(--fg-soft); text-align: justify; text-justify: inter-word; hyphens: auto; }
.service-list--sub { margin-top: 18px; }
.subarea + .area-detail__ask { margin-top: clamp(44px, 6vw, 70px); }

/* Home: practice group pillars are links */
.intro__pillars a { color: inherit; transition: color .3s; }
.intro__pillars a:hover strong { color: var(--accent); }

/* Home timeline: years in the step cards */
.steps--years .step__n { font-size: clamp(2.4rem, 3.4vw, 3.2rem); top: 14px; letter-spacing: -.02em; }
.steps--years .step h3 { padding-right: 5.5em; }

/* Menus: group titles link to the group page */
.mega__gtitle a, .mm-group__title a { color: inherit; }
.mega__gtitle a:hover { color: var(--accent); }
