/* Keren Levi Law — V2 stylesheet
   Layered scenes: stone parallax backdrops, cut-out portraits, floating objects, masked reveals.
   Palette: ink / stone / paper / brass / mist. Type: Frank Ruhl Libre + Assistant. */

:root {
  --ink: #182233; --ink-2: #232f44; --ink-3: #2f3d55;
  --stone: #ede9e1; --stone-2: #e3ded3; --stone-3: #d8d2c4;
  --paper: #f9f7f2;
  --brass: #a8894f; --brass-2: #c4a96a; --brass-3: #e2cf9a; --brass-text: #7f6430;
  --mist: #dde3df; --mist-2: #cfd8d2;
  --text: #2a2f38; --muted: #5c6370;
  --line: rgba(24, 34, 51, 0.14); --line-strong: rgba(24, 34, 51, 0.3);
  --display: "Frank Ruhl Libre", "David Libre", Georgia, "Times New Roman", serif; /* self-hosted, see assets/fonts.css */
  --body: "Assistant", "Heebo", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px; --gutter: clamp(20px, 5vw, 64px); --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1); --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--stone); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brass); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--body); font-weight: 600; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 300; color: var(--ink-2); line-height: 1.55; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-bottom: 0.45em; }
.section-head .lead { margin-bottom: 0.6em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 3px; border: 1px solid transparent; font-family: var(--body); font-weight: 600; font-size: 1rem; cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn-brass { background: var(--brass-text); color: var(--paper); border-color: var(--brass-text); }
.btn-brass:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.hero .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--paper); color: var(--paper); }
.btn-phone { background: var(--ink); color: var(--paper); min-height: 42px; padding: 0 16px; }
.btn-phone:hover { background: var(--brass); color: var(--paper); }

/* ---------- header */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--header-h); background: linear-gradient(to bottom, rgba(237,233,225,.92), rgba(237,233,225,0)); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.is-solid { background: rgba(237, 233, 225, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { max-width: 1320px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.header-inner a { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--brass); font-family: var(--display); font-size: 1rem; color: var(--brass); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.brand-sub { font-size: .8rem; color: var(--muted); }
.nav ul { display: flex; gap: clamp(12px, 1.7vw, 26px); list-style: none; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--ink-2); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: inline-start; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav-lang { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-weight: 600; font-size: .95rem; color: var(--ink-2); border-bottom: 1px solid var(--brass); padding-bottom: 1px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; border-radius: 3px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1040px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(24,34,51,.12); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav li:last-child a { border-bottom: 0; }
  .nav-lang { display: block; }
  .lang { display: none; }
  .menu-btn { display: flex; }
  .brand-sub { display: none; }
}
@media (max-width: 560px) { .btn-phone { display: none; } }

/* ---------- hero chapter (scroll-scrubbed) */
.hero { position: relative; min-height: 100svh; background: var(--ink); }
.hero.is-enhanced { height: 320svh; }
.stage { position: relative; height: 100svh; min-height: 560px; overflow: clip; }
.is-enhanced .stage { position: sticky; top: 0; }
.stage .poster, .stage .sequence { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .poster { object-fit: cover; object-position: 50% 55%; }
.stage .sequence { display: none; }
.is-enhanced .stage .sequence { display: block; }
.is-enhanced .stage .poster.is-hidden { visibility: hidden; }
.stage-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(18,24,36,.82) 0%, rgba(18,24,36,.45) 34%, rgba(18,24,36,0) 62%), linear-gradient(to bottom, rgba(237,233,225,.35) 0%, rgba(237,233,225,0) 22%); }
.hero-copy { position: absolute; inset-inline-start: var(--gutter); bottom: clamp(56px, 9vh, 110px); max-width: min(640px, calc(100% - 2 * var(--gutter))); color: var(--paper); }
.hero-copy h1, .hero-copy h2 { color: var(--paper); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-copy .hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 300; color: rgba(249,247,242,.92); max-width: 52ch; margin-top: 1.1em; }
.hero-kicker { font-family: var(--body); font-weight: 600; color: var(--brass-2); font-size: 1.05rem; margin: 0 0 .5em; }
.hero-title-b { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.hero:not(.is-enhanced) .stage { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 40px) var(--gutter) 64px; gap: 40px; }
.hero:not(.is-enhanced) .hero-copy { position: relative; z-index: 1; inset: auto; max-width: 640px; }
.is-enhanced .hero-copy { opacity: 0; transform: translateY(14px); will-change: opacity, transform; }
.scroll-hint { position: absolute; inset-inline-end: var(--gutter); bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(249,247,242,.85); font-size: .85rem; letter-spacing: .06em; transition: opacity .5s var(--ease); }
.scroll-hint i { width: 1px; height: 54px; background: linear-gradient(to bottom, rgba(249,247,242,0), rgba(249,247,242,.9)); animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.scroll-hint.is-gone { opacity: 0; }
.hero:not(.is-enhanced) .scroll-hint { display: none; }

/* ---------- scenes: parallax backdrops, glows, cut-outs, floating objects */
.scene { position: relative; overflow: clip; isolation: isolate; }
.scene-bg { position: absolute; inset: -18% 0; z-index: -2; background-size: cover; background-position: center; opacity: .55; will-change: transform; }
.scene-bg-soft { opacity: .32; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--stone) 0%, rgba(237,233,225,.55) 18%, rgba(237,233,225,.55) 82%, var(--stone) 100%); pointer-events: none; }
.scene-glow { position: absolute; z-index: -1; width: min(70vw, 900px); aspect-ratio: 1; border-radius: 50%; inset-inline-end: -12%; bottom: -25%; background: radial-gradient(circle, rgba(196,169,106,.42) 0%, rgba(196,169,106,.12) 40%, rgba(196,169,106,0) 70%); pointer-events: none; }
.scene-glow-ink { background: radial-gradient(circle, rgba(196,169,106,.22) 0%, rgba(196,169,106,.06) 40%, rgba(196,169,106,0) 70%); }
.scene-ring { position: absolute; z-index: -1; width: min(60vw, 760px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(168,137,79,.45); inset-inline-start: -14%; top: 8%; pointer-events: none; will-change: transform; }
.scene-ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(168,137,79,.25); }
.cutout { margin: 0; position: absolute; bottom: 0; z-index: 1; pointer-events: none; height: min(88%, 720px); will-change: transform; }
.cutout img { height: 100%; width: auto; filter: drop-shadow(0 30px 40px rgba(24,34,51,.28)); }
.float-obj { position: absolute; z-index: 0; pointer-events: none; will-change: transform; }
.float-obj img { filter: drop-shadow(0 24px 30px rgba(24,34,51,.22)); }

/* masked reveals (one entrance each, once) */
.js .mask-up { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); }
.js .mask-up.is-in { clip-path: inset(0 0 0 0); }
.js .mask-side { clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease); }
[dir="ltr"] .js .mask-side, .js [dir="ltr"] .mask-side { clip-path: inset(0 100% 0 0); }
.js .mask-side.is-in { clip-path: inset(0 0 0 0) !important; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- intro scene */
.intro { padding-block: var(--section); min-height: 92svh; display: flex; align-items: center; }
.intro-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 7fr) 5fr; }
.intro-text h2 { margin-bottom: clamp(24px, 3vw, 40px); max-width: 14ch; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; max-width: 640px; }
.pillar { border-top: 1px solid var(--brass); padding-top: 16px; }
.pillar h3 { margin-bottom: .35em; font-size: 1.35rem; }
.pillar p { margin: 0; color: var(--muted); }
.intro-cutout { inset-inline-end: clamp(0px, 6vw, 120px); height: min(90%, 760px); }
@media (max-width: 960px) {
  .intro { min-height: 0; display: block; padding-bottom: 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-cutout { position: relative; inset: auto; height: auto; margin: 32px auto 0; display: flex; justify-content: center; transform: none !important; }
  .intro-cutout img { height: min(70vh, 560px); }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- practice tabs + object stage */
.practice { padding-block: var(--section); background: var(--paper); }
.tabs { display: grid; grid-template-columns: 220px minmax(0, 1fr) 280px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.tablist { display: flex; flex-direction: column; border-inline-start: 1px solid var(--line); }
.tablist [role="tab"] { appearance: none; background: transparent; border: 0; text-align: start; cursor: pointer; font-family: var(--body); font-size: 1.02rem; font-weight: 600; color: var(--muted); padding: 13px 18px; position: relative; transition: color .25s var(--ease); }
.tablist [role="tab"]::before { content: ""; position: absolute; inset-inline-start: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--brass); transform: scaleY(0); transition: transform .3s var(--ease); }
.tablist [role="tab"]:hover { color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] { color: var(--ink); }
.tablist [role="tab"][aria-selected="true"]::before { transform: scaleY(1); }
.tabpanels [role="tabpanel"] { animation: panel .45s var(--ease); }
@keyframes panel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabpanels h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .4em; }
.tabpanels .lead { margin-bottom: .9em; }
.cols { list-style: none; columns: 2 210px; column-gap: 32px; margin: 1.2em 0 1.6em; }
.cols li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); padding-inline-start: 18px; position: relative; }
.cols li::before { content: ""; position: absolute; inset-inline-start: 0; top: 17px; width: 8px; height: 1px; background: var(--brass); }
.link-more { font-weight: 600; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.object-stage { position: sticky; top: calc(var(--header-h) + 40px); height: 420px; display: grid; place-items: center; }
.object-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(196,169,106,.35) 0%, rgba(196,169,106,.08) 45%, rgba(196,169,106,0) 68%); }
.object-float { position: relative; width: 78%; aspect-ratio: 1; display: grid; place-items: center; will-change: transform; }
.object-float img { max-height: 100%; width: auto; max-width: 100%; filter: drop-shadow(0 28px 32px rgba(24,34,51,.25)); transition: opacity .45s var(--ease), transform .6s var(--ease); animation: floaty 7s ease-in-out infinite; }
.object-float img.is-swapping { opacity: 0; transform: translateY(18px) scale(.96); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.object-shadow { position: absolute; bottom: 38px; width: 46%; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(24,34,51,.22), rgba(24,34,51,0) 70%); }
.no-js .tabpanels [role="tabpanel"][hidden] { display: block; }
.no-js .tabpanels [role="tabpanel"] { padding-bottom: 48px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.no-js .tablist, .no-js .object-stage { display: none; }
@media (max-width: 1100px) { .tabs { grid-template-columns: 240px 1fr; } .object-stage { display: none; } }
@media (max-width: 760px) {
  .tabs { grid-template-columns: 1fr; }
  .tablist { flex-direction: row; overflow-x: auto; border-inline-start: 0; border-bottom: 1px solid var(--line); gap: 4px; padding-bottom: 2px; scrollbar-width: thin; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 40px), transparent); }
  .tablist [role="tab"] { scroll-snap-align: start; }
  .tablist [role="tab"] { white-space: nowrap; padding: 12px 14px; }
  .tablist [role="tab"]::before { inset-inline: 0; top: auto; bottom: -1px; width: auto; height: 2px; transform: scaleX(0); }
  .tablist [role="tab"][aria-selected="true"]::before { transform: scaleX(1); }
  .cols { columns: 1; }
}

/* ---------- full-bleed image bands with parallax */
.band { position: absolute; inset: 0; overflow: clip; z-index: 0; }
.band-img { position: absolute; inset: -20% 0; background-size: cover; background-position: center 65%; will-change: transform; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(221,227,223,.18) 0%, rgba(221,227,223,.6) 30%, rgba(221,227,223,.9) 55%, var(--stone) 100%); }
.band-shade-light { background: linear-gradient(180deg, rgba(249,247,242,.92) 0%, rgba(249,247,242,.86) 100%); }
.band-low { inset: 0; }

/* ---------- mediation */
.mediation { position: relative; padding-block: var(--section); overflow: clip; }
.mediation-inner { position: relative; z-index: 1; }
.on-band h2, .on-band .lead { text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.panel { background: rgba(249,247,242,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 2px solid var(--brass); padding: clamp(24px, 3vw, 44px); max-width: 980px; }
.advantages-title { font-size: 1.1rem; font-family: var(--body); font-weight: 600; color: var(--brass-text); margin: 1.2em 0 18px; }
.post-meta .cat, .takeaways h2, .step-n, .breadcrumb li + li::before { color: var(--brass-text); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line-strong); }
.adv { padding-top: 24px; position: relative; }
.adv::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 48px; height: 2px; background: var(--brass); }
.adv h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .2em; }
.adv p { margin: 0; color: var(--muted); }
.mediation-lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: clamp(48px, 6vw, 88px); }
.mediation-lists h3, .mediation-family h3 { margin-bottom: .6em; }
.ticks { list-style: none; }
.ticks li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; }
[dir="rtl"] .ticks li { padding: 9px 26px 9px 0; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 21px; width: 12px; height: 1px; background: var(--brass); }
.mediation-family { margin-top: clamp(40px, 5vw, 64px); max-width: 72ch; }
.mediation-family h3 + p { margin-bottom: 1.6em; }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0; }
.areas li { padding: 4px 16px; border-inline-end: 1px solid var(--brass); font-weight: 600; color: var(--ink-2); }
.areas li:first-child { padding-inline-start: 0; }
.areas li:last-child { border-inline-end: 0; }
.pull { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 760px; text-align: center; }
.pull p { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.35; color: var(--ink); margin: 0 auto; max-width: 26ch; }
.pull p::before { content: "“"; color: var(--brass); } .pull p::after { content: "”"; color: var(--brass); }
.closing { text-align: center; color: var(--muted); margin-top: 1.4em; }
@media (max-width: 860px) { .mediation-lists { grid-template-columns: 1fr; } .adv-grid { grid-template-columns: 1fr; gap: 20px; } .adv::before { display: none; } .adv { border-top: 1px solid var(--line); padding-top: 18px; } }

/* ---------- EPA: depth composition */
.epa { padding-block: var(--section); background: var(--paper); }
.epa-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.epa-side { position: sticky; top: calc(var(--header-h) + 24px); }
.depth { position: relative; aspect-ratio: 4 / 3; overflow: visible; }
.depth-img { position: absolute; inset: 0; overflow: clip; will-change: transform; }
.depth-img img { width: 100%; height: 100%; object-fit: cover; }
.depth-obj { position: absolute; inset-inline-end: -8%; bottom: -14%; width: 26%; will-change: transform; }
.depth-obj img { filter: drop-shadow(0 24px 28px rgba(24,34,51,.3)); }
.acc { border-top: 1px solid var(--line-strong); }
.acc:last-child { border-bottom: 1px solid var(--line-strong); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 28px; height: 28px; position: relative; flex: none; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; background: var(--brass); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.acc summary i::before { width: 16px; height: 1.5px; }
.acc summary i::after { width: 1.5px; height: 16px; }
.acc[open] summary i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc-body { padding-bottom: 28px; max-width: 66ch; }
.acc-body h4 { margin: 1.2em 0 .5em; }
.acc-body ul { list-style: none; }
.acc-body ul li { padding: 6px 0 6px 18px; position: relative; }
[dir="rtl"] .acc-body ul li { padding: 6px 18px 6px 0; }
.acc-body ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 17px; width: 8px; height: 1px; background: var(--brass); }
.quote { margin: 1.4em 0; padding-inline-start: 20px; border-inline-start: 2px solid var(--brass); }
.quote p { font-family: var(--display); font-size: 1.25rem; line-height: 1.45; color: var(--ink); margin-bottom: .4em; }
.quote cite { font-style: normal; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .epa-grid { grid-template-columns: 1fr; } .epa-side { position: static; } .depth { margin-bottom: 40px; } }

/* ---------- legacy */
.legacy { padding-top: var(--section); }
.legacy-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.legacy-text { max-width: 66ch; }
.legacy-dilemmas { background: rgba(249,247,242,.9); padding: clamp(24px, 3vw, 40px); border-top: 2px solid var(--brass); position: sticky; top: calc(var(--header-h) + 24px); box-shadow: 0 30px 60px rgba(24,34,51,.08); }
.legacy-dilemmas h3 { margin-bottom: .6em; }
.questions { list-style: none; }
.questions li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.questions li:last-child { border-bottom: 0; }
.float-key { width: clamp(120px, 14vw, 220px); inset-inline-end: 3%; top: 6%; rotate: -12deg; }
.float-docs { width: clamp(140px, 16vw, 260px); inset-inline-start: 2%; top: 46%; rotate: 8deg; opacity: .9; }
.legacy-process { position: relative; margin-top: clamp(48px, 6vw, 96px); padding-block: clamp(56px, 7vw, 110px); overflow: clip; }
.legacy-process .wrap { position: relative; z-index: 1; }
.legacy-process h3 { margin-bottom: 1em; }
.process { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; border-top: 1px solid var(--line-strong); }
.process li { counter-increment: step; padding-top: 18px; position: relative; }
.process li::before { content: counter(step); position: absolute; top: -14px; inset-inline-start: 0; background: var(--paper); padding-inline-end: 8px; font-family: var(--display); color: var(--brass); font-size: 1.1rem; }
.process h4 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin-bottom: .3em; }
.process p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; } .float-key, .float-docs { display: none; } }
@media (max-width: 860px) { .legacy-grid { grid-template-columns: 1fr; } .legacy-dilemmas { position: static; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- how we work */
.how { padding-block: var(--section); background: var(--paper); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { position: relative; padding: 28px 0 0; border-top: 1px solid var(--line-strong); }
.step-n { position: absolute; top: -22px; inset-inline-start: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--brass); display: grid; place-items: center; font-family: var(--display); color: var(--brass-text); font-size: 1.2rem; }
.steps h3 { margin: 24px 0 .4em; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- faq + glossary */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.acc-faq summary { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-family: var(--body); font-weight: 600; padding: 18px 0; }
.acc-faq .acc-body { padding-bottom: 20px; }
.glossary { padding-block: var(--section); background: var(--paper); }
.terms { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 40px; border-top: 1px solid var(--line-strong); }
.term { padding: 18px 0; border-bottom: 1px solid var(--line); }
.term dt { font-family: var(--display); font-size: 1.3rem; color: var(--ink); margin-bottom: .3em; }
.term dd { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* ---------- about scene */
.about { padding-block: var(--section); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-portrait { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; box-shadow: 0 40px 70px rgba(24,34,51,.16); }
.about-portrait figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--brass); font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.about-portrait figcaption span { font-family: var(--body); font-size: .9rem; color: var(--muted); }
.about-text .section-head { margin-bottom: 24px; }
.about-cred { margin-top: 2em; }
.about-cred h3 { margin-bottom: .6em; }
.about-public { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-strong); }
.about-public figure { margin: 0; }
.about-public img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.about-public h3 { margin-bottom: .5em; }
@media (max-width: 860px) { .about-grid, .about-public { grid-template-columns: 1fr; } .about-portrait { position: static; max-width: 460px; } }

/* ---------- links */
.links { padding-block: var(--section); background: var(--paper); }
.link-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 40px; border-top: 1px solid var(--line-strong); }
.link-grid li { border-bottom: 1px solid var(--line); }
.link-grid a { display: block; padding: 18px 0; color: var(--ink); }
.link-grid a:hover .link-t { color: var(--brass); }
.link-t { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.25rem; transition: color .25s var(--ease); }
.link-t svg { flex: none; color: var(--brass); }
.link-d { display: block; color: var(--muted); font-size: .96rem; margin-top: 4px; }

/* ---------- voices */
.band-ink { background: var(--ink); color: rgba(249,247,242,.9); }
.band-ink.scene::before { background: none; }
.band-ink h2, .band-ink h3 { color: var(--paper); }
.band-ink a { color: var(--brass-2); }
.voices { padding-block: var(--section); }
.voices .wrap { padding-inline-end: clamp(var(--gutter), 30vw, 420px); }
.voices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(249,247,242,.12); border: 1px solid rgba(249,247,242,.12); }
.voice { margin: 0; padding: clamp(24px, 3vw, 44px); background: var(--ink); }
.voice p { font-family: var(--display); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--paper); margin-bottom: .8em; }
.voice p::before { content: "“"; color: var(--brass-2); } .voice p::after { content: "”"; color: var(--brass-2); }
.voice cite { font-style: normal; color: rgba(249,247,242,.65); font-size: .95rem; }
.outcomes { margin-top: clamp(48px, 6vw, 88px); max-width: 640px; }
.outcomes h3 { margin-bottom: .6em; }
.band-ink .ticks li { border-color: rgba(249,247,242,.14); }
.band-ink .ticks li::before { background: var(--brass-2); }
.tagline { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--brass-2); margin: 1.2em 0 0; }
.voices-cutout { inset-inline-end: clamp(0px, 4vw, 80px); height: min(92%, 760px); }
.voices-cutout img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
@media (max-width: 960px) { .voices .wrap { padding-inline-end: var(--gutter); } .voices-cutout { display: none; } .voices-grid { grid-template-columns: 1fr; } }

/* ---------- contact scene */
.contact { padding-block: var(--section); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .95rem; }
.contact-list dd { margin: 0; font-weight: 600; color: var(--ink); }
.contact-form { background: var(--paper); padding: clamp(24px, 3vw, 44px); border-top: 2px solid var(--brass); box-shadow: 0 40px 70px rgba(24,34,51,.1); position: relative; z-index: 2; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; color: var(--text); background: #fff; border: 1px solid var(--line-strong); border-radius: 3px; padding: 12px 14px; min-height: 48px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(168,137,79,.18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #a04032; }
.field .err { color: #a04032; font-size: .88rem; display: none; }
.field.is-invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.check input { min-height: 0; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brass); }
.field.check label { font-weight: 400; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-status { margin: 16px 0 0; font-weight: 600; color: var(--ink); min-height: 1.5em; }
.form-status.is-error { color: #a04032; }
.contact { padding-bottom: 0; }
.contact .wrap { padding-bottom: 0; }
.contact-grid { align-items: stretch; }
.contact-info { position: relative; display: flex; flex-direction: column; }
.contact-cutout { position: absolute; inset: auto; bottom: 0; inset-inline-start: 0; height: auto; margin: 0; pointer-events: none; }
.contact-cutout img { height: min(48vh, 430px); width: auto; }
.contact-form { margin-bottom: clamp(56px, 7vw, 110px); }
@media (max-width: 860px) { .contact-cutout { display: none; } }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } .contact-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- footer */
.site-footer { background: var(--stone-2); border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); font-size: .93rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: clamp(28px, 4vw, 64px); }
.footer-brand .brand-name { display: block; font-size: 1.5rem; }
.footer-brand .brand-sub { display: block; margin-bottom: 12px; }
.footer-brand a, .footer-a11y { font-weight: 600; }
.footer-a11y { border-bottom: 1px solid var(--brass); }
.footer-note h3 { font-family: var(--body); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: .4em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; margin-top: 32px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }
.back-top { font-weight: 600; border-bottom: 1px solid var(--brass); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- inner page (accessibility statement) */
.page { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 var(--section); }
.page-inner { max-width: 800px; }
.page h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .3em; }
.page h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 1.6em 0 .5em; }
.page .contact-list { margin: 1em 0 2em; }

/* ---------- accessibility widget */
.a11y { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 80; font-family: var(--body); }
.a11y-btn { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--brass); background: var(--ink); color: var(--paper); font-weight: 600; font-size: .95rem; cursor: pointer; box-shadow: 0 10px 30px rgba(24,34,51,.3); }
.a11y-btn:hover { background: var(--brass); }
.a11y-panel { position: absolute; bottom: 60px; inset-inline-end: 0; width: min(340px, calc(100vw - 36px)); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 30px 60px rgba(24,34,51,.25); padding: 16px; color: var(--text); }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.a11y-head h2 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; }
.a11y-close { width: 36px; height: 36px; border: 1px solid var(--line-strong); background: transparent; border-radius: 4px; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { font: inherit; font-weight: 600; font-size: .92rem; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 4px; cursor: pointer; text-align: center; }
.a11y-grid button:hover { border-color: var(--brass); }
.a11y-grid button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; }
.a11y-reset { font: inherit; font-weight: 600; background: transparent; border: 0; color: var(--ink); cursor: pointer; text-decoration: underline; padding: 6px 0; }
.a11y-foot a { font-weight: 600; border-bottom: 1px solid var(--brass); }
@media (max-width: 560px) { .a11y-btn span { display: none; } .a11y-btn { padding: 0 11px; } }

/* accessibility modes (classes on <html>) */
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }
html.a11y-fs-3 { font-size: 140%; }
html.a11y-font, html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font h4, html.a11y-font .pull p, html.a11y-font .voice p, html.a11y-font .quote p, html.a11y-font .brand-name { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .01em; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; outline-offset: 2px; }
html.a11y-grayscale main, html.a11y-grayscale .site-footer, html.a11y-grayscale .site-header { filter: grayscale(1); }
html.a11y-cursor, html.a11y-cursor a, html.a11y-cursor button, html.a11y-cursor input, html.a11y-cursor select, html.a11y-cursor textarea, html.a11y-cursor summary { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'><path d='M4 2l16 10-7 1 4 7-3 2-4-7-6 5z' fill='%23182233' stroke='%23fff' stroke-width='1.2'/></svg>") 4 2, auto !important; }
html.a11y-contrast body, html.a11y-contrast main, html.a11y-contrast section, html.a11y-contrast .panel, html.a11y-contrast .legacy-dilemmas, html.a11y-contrast .contact-form, html.a11y-contrast .site-footer, html.a11y-contrast .site-header, html.a11y-contrast .nav, html.a11y-contrast .voice, html.a11y-contrast .a11y-panel, html.a11y-contrast .a11y-grid button, html.a11y-contrast .tabpanels, html.a11y-contrast .acc, html.a11y-contrast .field input, html.a11y-contrast .field select, html.a11y-contrast .field textarea { background: #000 !important; background-image: none !important; color: #fff !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast h4, html.a11y-contrast p, html.a11y-contrast li, html.a11y-contrast dt, html.a11y-contrast dd, html.a11y-contrast label, html.a11y-contrast summary, html.a11y-contrast cite, html.a11y-contrast .lead, html.a11y-contrast .brand-name, html.a11y-contrast .brand-sub, html.a11y-contrast [role="tab"] { color: #fff !important; text-shadow: none !important; }
html.a11y-contrast a, html.a11y-contrast .link-t, html.a11y-contrast .tagline, html.a11y-contrast .hero-kicker { color: #ffd23f !important; }
html.a11y-contrast .btn-brass, html.a11y-contrast .a11y-btn, html.a11y-contrast .a11y-grid button[aria-pressed="true"] { background: #ffd23f !important; color: #000 !important; border-color: #ffd23f !important; }
html.a11y-contrast .scene-bg, html.a11y-contrast .scene-glow, html.a11y-contrast .scene-ring, html.a11y-contrast .band, html.a11y-contrast .object-glow, html.a11y-contrast .stage-shade, html.a11y-contrast .float-obj { display: none !important; }
html.a11y-contrast .scene::before { display: none; }
html.a11y-contrast .stage .poster, html.a11y-contrast .stage .sequence, html.a11y-contrast .cutout, html.a11y-contrast .object-stage, html.a11y-contrast .depth-obj { display: none !important; }
html.a11y-contrast .stage { background: #000 !important; }
html.a11y-contrast .hero.is-enhanced { height: auto; }
html.a11y-contrast .is-enhanced .stage, html.a11y-contrast .hero:not(.is-enhanced) .stage { position: relative; height: auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: calc(var(--header-h) + 32px) var(--gutter) 64px; gap: 40px; }
html.a11y-contrast .is-enhanced .hero-copy { opacity: 1 !important; transform: none !important; position: relative; }
html.a11y-contrast .field.is-invalid input, html.a11y-contrast .field.is-invalid textarea { border-color: #ffd23f !important; }
html.a11y-contrast .field input, html.a11y-contrast .field select, html.a11y-contrast .field textarea { border: 2px solid #fff !important; }
html.a11y-contrast .btn-phone, html.a11y-contrast .btn-ghost, html.a11y-contrast .menu-btn, html.a11y-contrast .a11y-close { border-color: #ffd23f !important; }
html.a11y-contrast .site-header.is-solid { box-shadow: 0 1px 0 #ffd23f; }
html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after { animation: none !important; transition: none !important; }
html.a11y-no-motion .js .reveal, html.a11y-no-motion .js .mask-up, html.a11y-no-motion .js .mask-side { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.a11y-no-motion [data-parallax] { transform: none !important; }
html.a11y-no-motion .scroll-hint { display: none; }

/* ---------- reduced motion: stills and normal flow */
@media (prefers-reduced-motion: reduce) {
  .hero.is-enhanced { height: auto; }
  .is-enhanced .stage { position: relative; }
  .stage .sequence { display: none !important; }
  .is-enhanced .stage .poster.is-hidden { visibility: visible; }
  .is-enhanced .hero-copy { opacity: 1 !important; transform: none !important; position: relative; }
  .hero.is-enhanced .stage { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 40px) var(--gutter) 64px; gap: 40px; }
  .scroll-hint, .scroll-hint i { animation: none; display: none; }
  .js .reveal, .js .mask-up, .js .mask-side { opacity: 1; transform: none; clip-path: none; transition: none; }
  .object-float img { animation: none; }
  .tabpanels [role="tabpanel"] { animation: none; }
  [data-parallax] { transform: none !important; }
}
@media print { .site-header, .scroll-hint, .menu-btn, .contact-form, .a11y, .cutout, .float-obj, .scene-bg { display: none; } .hero { height: auto !important; } }

/* ---------- blog: listing */
.blog-home { padding-block: var(--section); background: var(--paper); }
.post-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.post-card { display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.post-card figure { margin: 0; overflow: clip; aspect-ratio: 16 / 10; background: var(--stone-2); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover img { transform: scale(1.04); }
.post-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.post-meta .cat { color: var(--brass-text); font-weight: 600; }
.post-card h3 { font-size: 1.35rem; line-height: 1.25; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brass); }
.post-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.post-card .more { font-weight: 600; border-bottom: 1px solid var(--brass); align-self: flex-start; padding-bottom: 1px; }
.blog-page { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.section-actions { margin-top: clamp(28px, 4vw, 48px); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; color: var(--brass); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brass); }

/* ---------- blog: article */
.article { padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) 0 var(--section); }
.article-head { max-width: 820px; }
.article-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin: .2em 0 .45em; }
.article-head .lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
.article-byline { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; color: var(--muted); font-size: .92rem; flex-wrap: wrap; }
.article-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 1px solid var(--brass); }
.article-byline strong { color: var(--ink); font-weight: 600; }
.article-hero { margin: clamp(28px, 4vw, 48px) 0; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.article-body { max-width: 72ch; font-size: 1.08rem; }
.article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.6em 0 .55em; scroll-margin-top: calc(var(--header-h) + 16px); }
.article-body h2:first-child { margin-top: 0; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; }
.article-body ul li { padding: 6px 0 6px 20px; position: relative; }
[dir="rtl"] .article-body ul li { padding: 6px 20px 6px 0; }
.article-body ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; width: 10px; height: 1px; background: var(--brass); }
.article-body ol { counter-reset: s; list-style: none; }
.article-body ol li { counter-increment: s; padding: 8px 0 8px 40px; position: relative; }
[dir="rtl"] .article-body ol li { padding: 8px 40px 8px 0; }
.article-body ol li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 8px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass); font-family: var(--display); display: grid; place-items: center; font-size: .95rem; }
.takeaways { background: var(--paper); border-inline-start: 3px solid var(--brass); padding: clamp(18px, 2.5vw, 28px) clamp(20px, 3vw, 32px); margin: 0 0 clamp(28px, 4vw, 40px); }
.takeaways h2 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; color: var(--brass); margin: 0 0 10px; }
.takeaways ul { margin: 0; }
.takeaways li { padding: 5px 0 5px 20px; position: relative; }
[dir="rtl"] .takeaways li { padding: 5px 20px 5px 0; }
.takeaways li::before { content: ""; position: absolute; inset-inline-start: 0; top: 16px; width: 10px; height: 1px; background: var(--brass); }
.article-summary { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 1.6em; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border-top: 2px solid var(--brass); padding-top: 14px; font-size: .95rem; }
.toc h2 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.toc ol { list-style: none; }
.toc li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--brass); }
.article-faq details { border-top: 1px solid var(--line-strong); }
.article-faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.article-faq summary { font-family: var(--body); font-weight: 600; font-size: 1.1rem; padding: 14px 0; }
.article-faq .acc-body { padding-bottom: 16px; }
.refs { list-style: none; margin: 0 0 1.2em; }
.refs li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.refs li::before { display: none; }
.refs a { font-weight: 600; }
.refs .refs-d { display: block; color: var(--muted); font-size: .92rem; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; background: var(--paper); padding: clamp(18px, 2.5vw, 28px); border-top: 2px solid var(--brass); margin: clamp(32px, 4vw, 48px) 0; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.author-box h2 { font-size: 1.05rem; font-family: var(--body); font-weight: 700; margin-bottom: 6px; }
.author-box p { margin: 0; color: var(--muted); font-size: .96rem; }
.article-cta { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin: clamp(32px, 4vw, 48px) 0; }
.article-cta h2 { color: var(--paper); font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: .3em; }
.article-cta p { margin: 0; color: rgba(249,247,242,.8); }
.article-disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.related { padding-block: clamp(48px, 6vw, 80px); background: var(--paper); }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .toc { position: static; } .article-cta { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; } }
html.a11y-contrast .takeaways, html.a11y-contrast .author-box, html.a11y-contrast .article-cta, html.a11y-contrast .post-card { background: #000 !important; color: #fff !important; }

/* ---------- V3: second scroll chapter (hourglass) */
.chapter-2 { position: relative; min-height: 70svh; background: var(--stone); }
.chapter-2.is-enhanced { height: 200svh; }
.chapter-2 .stage { min-height: 520px; }
.chapter-2 .stage-shade { background: linear-gradient(to top, rgba(237,233,225,.92) 0%, rgba(237,233,225,.55) 38%, rgba(237,233,225,0) 70%); }
.chapter-2 .hero-copy { color: var(--ink); }
.chapter-2 .hero-copy h2 { color: var(--ink); text-shadow: none; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.chapter-2 .hero-copy .hero-sub { color: var(--ink-2); }
.chapter-2 .hero-kicker { color: var(--brass-text); }
.chapter-2 .btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.chapter-2 .btn-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.chapter-2:not(.is-enhanced) .stage { height: auto; min-height: 70svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 64px var(--gutter); gap: 24px; }
.chapter-2:not(.is-enhanced) .hero-copy { position: relative; z-index: 1; inset: auto; max-width: 640px; }
@media (prefers-reduced-motion: reduce) {
  .chapter-2.is-enhanced { height: auto; }
  .chapter-2.is-enhanced .stage { height: auto; min-height: 70svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 64px var(--gutter); gap: 24px; }
}
html.a11y-contrast .chapter-2.is-enhanced { height: auto; }

/* ---------- V3: tools teaser on home */
.tools-home { padding-block: var(--section); }
.tool-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.tool-card a { display: block; height: 100%; background: var(--paper); border-top: 2px solid var(--brass); padding: clamp(22px, 3vw, 32px); color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tool-card a:hover { transform: translateY(-4px); box-shadow: 0 24px 40px rgba(24,34,51,.12); }
.tool-card h3 { font-size: 1.35rem; margin: 12px 0 .4em; }
.tool-card p { margin: 0; color: var(--muted); }
.tool-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--brass); font-family: var(--display); color: var(--brass-text); }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }

/* ---------- V3: tools page */
.tools-page .section-head { max-width: 70ch; }
.tool-nav { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.tool-nav a { display: grid; gap: 6px; background: var(--paper); border-top: 2px solid var(--brass); padding: 18px 20px; color: var(--text); }
.tool-nav a strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.tool-nav a span:last-child { color: var(--muted); font-size: .95rem; }
.tool { padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h) + 16px); }
.tool h2 { margin-bottom: .4em; }
.tool .lead { max-width: 68ch; margin-bottom: 1.4em; }
.tool-app { max-width: 820px; }
.tool-form { background: var(--paper); padding: clamp(20px, 3vw, 32px); border-top: 2px solid var(--brass); }
.tool-q { border: 0; padding: 0; margin: 0 0 18px; }
.tool-q legend, .tool-q > label { font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 8px; padding: 0; }
.tool-radio { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 6px 0; cursor: pointer; }
[dir="rtl"] .tool-radio { margin: 0 0 6px 18px; }
.tool-radio input { width: 20px; height: 20px; accent-color: var(--brass-text); }
.tool-check .tool-radio { display: flex; align-items: flex-start; }
.tool-q input[type="number"], .tool-q select { font: inherit; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; min-width: 120px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tool-result { background: var(--paper); border-inline-start: 3px solid var(--brass); padding: clamp(20px, 3vw, 32px); margin-top: 20px; }
.tool-result h3 { margin-bottom: .4em; }
.tool-result h4 { margin: 1.2em 0 .5em; }
.tool-note { color: var(--brass-text); font-weight: 600; }
.tool-shares { list-style: none; margin: .5em 0 1.2em; }
.tool-shares li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.tool-extra { display: block; color: var(--muted); font-size: .95rem; font-weight: 400; }
.tool-notes { list-style: none; color: var(--muted); font-size: .92rem; }
.tool-notes li { padding: 4px 0 4px 16px; position: relative; }
[dir="rtl"] .tool-notes li { padding: 4px 16px 4px 0; }
.tool-notes li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 8px; height: 1px; background: var(--brass); }
.tool-list { list-style: none; }
.tool-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.tool-list input:checked + span { text-decoration: line-through; color: var(--muted); }
.tools-page .article-cta { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) { .tool-nav { grid-template-columns: 1fr; } }
@media print { .site-header, .a11y, .tool-nav, .tools-page .article-cta, .tool-form, .site-footer, .breadcrumb { display: none !important; } .tool { border: 0; padding: 0; } .tool-result { border: 0; padding: 0; } }
html.a11y-contrast .tool-form, html.a11y-contrast .tool-result, html.a11y-contrast .tool-card a, html.a11y-contrast .tool-nav a { background: #000 !important; color: #fff !important; }

/* ---------- V3 fixes: contact cut-out clearance, nested fieldsets */
.contact-info { padding-bottom: min(40vh, 360px); }
.contact-cutout img { height: min(40vh, 360px); }
.tool-q fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tool-q fieldset legend { font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 8px; padding: 0; }

/* ---------- V3 round-3 fixes */
@media (max-width: 480px) { .scroll-hint { display: none; } }
.related .post-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tool { display: grid; grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tool-head { grid-column: 1 / -1; }
.tool-app { max-width: none; }
.tool-aside { border-top: 2px solid var(--brass); padding-top: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.tool-aside h3 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin-bottom: .5em; }
.tool-aside-note { color: var(--muted); font-size: .92rem; }
.tool-radio input { width: 22px; height: 22px; }
.a11y { inset-inline-end: auto; inset-inline-start: 18px; }
.a11y-panel { inset-inline-end: auto; inset-inline-start: 0; }
.contact-cutout { padding-bottom: 72px; }
.footer-brand a, .contact-list a, .footer-a11y { display: inline-block; padding-block: 4px; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } .tool-aside { position: static; } .footer-brand a, .contact-list a, .footer-a11y { padding-block: 8px; } }

/* ---------- V3 round-4 fixes */
.contact-info { padding-bottom: calc(min(40vh, 360px) + 72px); }
.blog-page .post-card h2 { font-size: 1.35rem; line-height: 1.25; }
.header-inner, .nav ul { max-width: 100%; box-sizing: border-box; }

/* ---------------------------------------------------------------- share bar */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 28px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.share-compact { margin: 18px 0 0; padding-top: 14px; }
.share-label { font-family: var(--body); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brass-text); }
.share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.share li { margin: 0; padding: 0; }
.share li::before { content: none; }
.share-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; padding: 0; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.share-btn svg { width: 20px; height: 20px; }
.share-btn:hover, .share-btn:focus-visible { background: var(--brass-text); border-color: var(--brass-text); color: var(--paper); transform: translateY(-1px); }
.share-toast { font-size: .9rem; color: var(--brass-text); min-height: 1.2em; }
.share-toast:empty { display: none; }
.article-head .share-compact { border-top: 0; padding-top: 4px; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .share-btn { transition: none; } .share-btn:hover { transform: none; } }

/* ---------------------------------------------------------------- legal pages */
.legal-page .page-inner { max-width: 860px; }
.legal-page h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.legal-page p, .legal-page li { font-size: 1.05rem; line-height: 1.7; }
.legal-toc { margin: 20px 0 28px; padding: 18px 22px; border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.legal-toc ol { margin: 0; padding-inline-start: 1.2em; columns: 2; column-gap: 28px; }
.legal-toc li { break-inside: avoid; margin: 4px 0; font-size: .98rem; }
.legal-links { margin-top: 32px; }
.form-privacy { font-size: .9rem; color: var(--ink-2); margin: -4px 0 12px; line-height: 1.5; }
.form-privacy a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

/* ---------------------------------------------------------------- V4: mega menu */
.nav > ul > li { position: relative; }
.nav-row { display: flex; align-items: center; gap: 2px; }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; border-radius: 50%; padding: 0; }
.sub-toggle svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.sub-toggle:hover { color: var(--brass-text); }
.has-sub.is-open .sub-toggle svg, .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 6px); inset-inline-start: -14px; min-width: 300px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--brass); box-shadow: 0 22px 44px rgba(24,34,51,.14); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; z-index: 60; }
.sub::before { content: ""; position: absolute; top: -10px; inset-inline: 0; height: 10px; }
.sub ul { display: flex; flex-direction: column; gap: 0; list-style: none; margin: 0; padding: 0; }
.sub li { margin: 0; }
.sub li::before { content: none; }
.sub a { display: block; padding: 10px 12px; border-radius: 3px; font-weight: 600; font-size: .95rem; color: var(--ink); white-space: normal; line-height: 1.3; }
.sub a::after { content: none; }
.sub a:hover, .sub a:focus-visible { background: rgba(168,137,79,.1); color: var(--ink); }
.sub-label { display: block; }
.sub-d { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.sub-wide .sub { min-width: 560px; }
.sub-wide .sub ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.sub-end .sub { inset-inline-start: auto; inset-inline-end: -14px; }
@media (min-width: 1041px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (max-width: 1040px) {
  .nav { max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .nav-row { justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-row a { border-bottom: 0 !important; flex: 1; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub { position: static; min-width: 0; border: 0; border-top: 0; box-shadow: none; padding: 0 0 8px; background: transparent; opacity: 1; visibility: visible; transform: none; transition: none; display: none; }
  .has-sub.is-open .sub { display: block; }
  .sub-wide .sub ul { grid-template-columns: 1fr; }
  .sub a { padding: 10px 16px; border-bottom: 0 !important; font-size: .98rem; }
  .sub-d { display: none; }
}
.brand-logo { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 560px) { .brand-logo { height: 40px; max-width: 160px; } }
.anchor-alias { position: absolute; top: calc(-1 * var(--header-h)); }

/* ---------------------------------------------------------------- V4: static hero */
.hero-static { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + clamp(32px, 6vh, 72px)) 0 0; background: var(--stone); }
.hero-static .scene-bg { opacity: .5; }
.hero-static .scene-glow { inset-inline-end: 8%; bottom: -10%; width: min(60vw, 760px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .85fr); gap: clamp(24px, 4vw, 72px); align-items: end; width: 100%; }
.hero-text { padding-bottom: clamp(48px, 8vh, 96px); align-self: center; }
.hero-static .hero-kicker { color: var(--brass-text); font-size: 1rem; letter-spacing: .02em; }
.hero-static h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; margin: 0 0 .35em; color: var(--ink); }
.hero-static .hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 300; color: var(--ink-2); max-width: 50ch; line-height: 1.55; margin: 0; }
.hero-about { margin: 1.4em 0 0; max-width: 56ch; font-size: 1.04rem; line-height: 1.65; color: var(--ink-2); border-inline-start: 2px solid var(--brass); padding-inline-start: 18px; }
.hero-about a { font-weight: 600; color: var(--brass-text); border-bottom: 1px solid var(--brass); white-space: nowrap; }
.hero-chips { list-style: none; margin: 1.3em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li { margin: 0; font-size: .86rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 13px; background: rgba(255,255,255,.45); }
.hero-chips li::before { content: none; }
.hero-static .cta-row { margin-top: 1.8em; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-portrait { position: relative; margin: 0; display: flex; justify-content: center; align-items: flex-end; align-self: end; min-height: 0; }
.hero-portrait img { position: relative; z-index: 1; height: min(82svh, 760px); max-height: 760px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(24,34,51,.28)); }
.hero-ring { position: absolute; bottom: 8%; left: 50%; width: min(78%, 520px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(168,137,79,.5); background: radial-gradient(circle, rgba(196,169,106,.28) 0%, rgba(196,169,106,.08) 55%, rgba(196,169,106,0) 72%); }
.hero-ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(168,137,79,.28); }
@media (max-width: 900px) {
  .hero-static { min-height: 0; padding-top: calc(var(--header-h) + 24px); }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-text { padding-bottom: 24px; }
  .hero-portrait img { height: min(56svh, 520px); }
  .hero-ring { width: 70%; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-in { animation: hero-in .8s var(--ease) both; animation-delay: var(--d, 0ms); }
.hero-portrait.hero-in { animation-duration: 1s; }
@media (prefers-reduced-motion: reduce) { .hero-in { animation: none; } }
html.a11y-no-motion .hero-in { animation: none; }

/* ---------------------------------------------------------------- V4: practice tiles */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.area-grid li { margin: 0; }
.area-grid li::before { content: none; }
.area-tile { position: relative; width: 100%; min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: start; padding: 22px 22px 56px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font-family: var(--body); color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease); }
.area-tile img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 10px 14px rgba(24,34,51,.18)); transition: transform .4s var(--ease); }
.area-label { font-family: var(--display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 500; line-height: 1.2; }
.area-short { font-size: .95rem; color: var(--muted); line-height: 1.45; }
.area-plus { position: absolute; inset-inline-end: 18px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.area-plus i { position: relative; width: 14px; height: 14px; display: block; }
.area-plus i::before, .area-plus i::after { content: ""; position: absolute; background: var(--ink); inset: 50% auto auto 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.area-plus i::after { transform: translateY(-50%) rotate(90deg); transition: transform .3s var(--ease); }
.area-tile:hover, .area-tile:focus-visible { border-color: var(--brass); box-shadow: 0 18px 36px rgba(24,34,51,.1); transform: translateY(-3px); background: rgba(255,255,255,.8); }
.area-tile:hover img { transform: translateY(-4px); }
.area-tile[aria-expanded="true"] { border-color: var(--brass-text); background: var(--paper); box-shadow: 0 18px 36px rgba(24,34,51,.12); }
.area-tile[aria-expanded="true"] .area-plus { background: var(--brass-text); border-color: var(--brass-text); }
.area-tile[aria-expanded="true"] .area-plus i::before, .area-tile[aria-expanded="true"] .area-plus i::after { background: var(--paper); }
.area-tile[aria-expanded="true"] .area-plus i::after { transform: translateY(-50%) rotate(0deg); }
.area-tile[aria-expanded="true"]::after { content: ""; position: absolute; left: 50%; bottom: -13px; width: 22px; height: 22px; background: var(--paper); border-inline-start: 1px solid var(--brass-text); border-bottom: 1px solid var(--brass-text); transform: translateX(-50%) rotate(-45deg); }
.area-panels { margin-top: clamp(18px, 2.4vw, 28px); }
.area-panel { background: var(--paper); border: 1px solid var(--brass-text); border-radius: 4px; animation: panel .45s var(--ease); scroll-margin-top: calc(var(--header-h) + 16px); }
.area-panel-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); }
.area-main h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 0 0 .4em; padding-inline-end: 110px; }
.area-main .lead { margin-bottom: .9em; }
.area-block { margin-top: 1.6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.area-block h4 { font-family: var(--body); font-weight: 600; font-size: 1.05rem; color: var(--brass-text); margin: 0 0 .5em; }
.area-quote { margin: 1.6em 0 0; }
.area-side { display: flex; flex-direction: column; gap: 14px; }
.area-side > img { width: 140px; height: 140px; object-fit: contain; align-self: center; filter: drop-shadow(0 16px 20px rgba(24,34,51,.22)); animation: floaty 7s ease-in-out infinite; }
.area-side h4 { font-family: var(--body); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brass-text); margin: 6px 0 0; }
.area-related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.area-related li { margin: 0; }
.area-related li::before { content: none; }
.area-related a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .96rem; color: var(--ink); line-height: 1.35; }
.area-related a:hover { color: var(--brass-text); }
.area-side .btn { margin-top: 8px; align-self: flex-start; }
.area-close { position: absolute; top: 18px; inset-inline-end: 18px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.area-close:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 1000px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area-panel-inner { grid-template-columns: 1fr; } .area-side > img { display: none; } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } .area-tile { min-height: 0; padding-bottom: 60px; } .area-main h3 { padding-inline-end: 0; margin-top: 36px; } }

/* ---------------------------------------------------------------- V4: client logo */
.brand-logo { height: 52px; width: auto; max-width: 240px; display: block; }
.brand:has(.brand-logo) { gap: 0; }
.footer-logo { width: 200px; height: auto; display: block; margin-bottom: 14px; opacity: .92; }
.practice + .intro { padding-top: clamp(56px, 8vw, 110px); }
@media (max-width: 560px) { .brand-logo { height: 42px; max-width: 190px; } }

/* ---------------------------------------------------------------- Google map (click to load) */
.map-card { position: relative; margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 7; min-height: 320px; }
.map-card iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-facade { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 28px; background: radial-gradient(circle at 50% 40%, rgba(196,169,106,.18), rgba(196,169,106,0) 60%), repeating-linear-gradient(0deg, rgba(24,34,51,.04) 0 1px, transparent 1px 44px), repeating-linear-gradient(90deg, rgba(24,34,51,.04) 0 1px, transparent 1px 44px); }
.map-facade svg { width: 40px; height: 40px; color: var(--brass-text); }
.map-address { font-family: var(--display); font-size: 1.35rem; margin: 0; color: var(--ink); }
.map-facade .cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.map-note { font-size: .86rem; color: var(--muted); margin: 4px 0 0; max-width: 52ch; }
@media (max-width: 640px) { .map-card { aspect-ratio: auto; min-height: 380px; } .map-card.is-loaded { height: 380px; } }
