/* SARARA & CO. ADVOCATES — stylesheet v2 (abstract theme, light + dark) */
:root {
  --navy: #0e1f36; --navy-2: #16304f; --gold: #b48a3c; --gold-2: #d4ad5f;
  --teal: #1f6f78; --clay: #b5543a; --ivory: #f3ece0;
  --bg: #ffffff; --bg-alt: #f8f5ee; --surface: #ffffff;
  --text: #1c2430; --muted: #566476; --heading: #0e1f36; --line: #e3dfd3;
  --link: #16304f; --accent-text: #8a6a24;
  --header-bg: rgba(255,255,255,.94); --input-bg: #ffffff;
  --btn-navy-bg: #0e1f36; --btn-navy-fg: #ffffff; --section-dark: #0e1f36;
  --shadow: 0 18px 40px -22px rgba(14,31,54,.4);
  --radius: 4px; --max: 1180px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
[data-theme="dark"] {
  --bg: #08111f; --bg-alt: #0c192b; --surface: #102139;
  --text: #d5dde8; --muted: #9aaec4; --heading: #f3ece0; --line: #1f3250;
  --link: #d4ad5f; --accent-text: #d4ad5f;
  --header-bg: rgba(8,17,31,.93); --input-bg: #0c192b;
  --btn-navy-bg: #d4ad5f; --btn-navy-fg: #0e1f36; --section-dark: #0b1829;
  --shadow: 0 18px 40px -22px rgba(0,0,0,.75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; transition: background .25s, color .25s; }
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--heading); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold-2); color: var(--navy); padding: .6rem 1rem; z-index: 400; }
.skip:focus { left: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Abstract art ---------- */
.art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.art svg { width: 100%; height: 100%; max-width: none; }
.drift { animation: drift var(--dur, 20s) ease-in-out var(--delay, 0s) infinite alternate; }
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(var(--dx), var(--dy)); } }
.parallax { transition: transform .4s ease-out; }
.card-art { position: relative; height: 96px; margin: -2rem -2rem 1.5rem; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.strip { position: relative; height: 38px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #cfd6e0; font-size: .82rem; letter-spacing: .02em; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { color: #e8d9b5; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.4); }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--teal), var(--clay)); transform: scaleX(0); transform-origin: left; }
.bar { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .8rem; line-height: 1.1; }
.brand .mark { width: 42px; height: 42px; flex: none; border-radius: 3px; }
.brand .wm { display: flex; flex-direction: column; }
.brand strong { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .08em; color: var(--heading); white-space: nowrap; }
.brand .wm > span { font-size: .64rem; letter-spacing: .34em; color: var(--accent-text); text-transform: uppercase; margin-top: 2px; }
.nav ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { white-space: nowrap; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text); font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--heading); border-bottom-color: var(--gold); }
.nav .show-sm { display: none; }
.tools { display: flex; align-items: center; gap: .5rem; }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; color: var(--heading); transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--gold); background: var(--bg-alt); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 40px; height: 40px; cursor: pointer; padding: 0 9px; }
.menu-btn span { display: block; height: 2px; background: var(--heading); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .95rem 1.7rem; border-radius: var(--radius); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all .2s; font-family: var(--sans); line-height: 1.2; text-align: center; }
.btn-sm { padding: .7rem 1.1rem; font-size: .72rem; white-space: nowrap; }
.btn-gold { background: var(--gold-2); color: var(--navy); }
.btn-gold:hover { background: #ecd08f; color: var(--navy); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--btn-navy-bg); color: var(--btn-navy-fg); }
.btn-navy:hover { background: var(--gold); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--heading); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--heading); background: var(--bg-alt); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero .art { z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,31,54,.97) 0%, rgba(14,31,54,.88) 40%, rgba(14,31,54,.2) 100%); }
.hero .container { padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { font-size: 1.2rem; color: #d3dae4; max-width: 56ch; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 3rem 0 0; padding: 0; list-style: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.hero-meta li::before { content: "◆"; font-size: .55rem; margin-right: .6rem; vertical-align: middle; }
.eyebrow { display: inline-block; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.2rem; font-weight: 600; }
.eyebrow.dark { color: var(--accent-text); background: none; }

.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero .art { left: 52%; z-index: -1; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
.page-hero .container { padding: clamp(3.4rem, 7vw, 5.4rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: .3em; max-width: 22ch; }
.page-hero p { color: #cfd6e0; max-width: min(60ch, 100%); margin: 0; font-size: 1.1rem; }
.crumbs { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.1rem; }
.crumbs a { color: var(--gold-2); }
.crumbs a:hover { color: #fff; }
.chip-meta { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.3rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #cfd6e0; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--section-dark); color: #d3dae4; position: relative; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow.dark { color: var(--gold-2); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.rule { width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--clay)); margin: 1.2rem 0 1.6rem; border: 0; }
.center .rule { margin-inline: auto; }
.grid { display: grid; gap: 1.8rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); padding: 2rem; border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; display: block; color: var(--text); overflow: hidden; }
a.card:hover, .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--text); }
.card h3 { margin-bottom: .4em; }
.card h3 a { color: var(--heading); }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1em; }
.more { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent-text); }
.more::after { content: " →"; }
.card.action { padding-top: 2rem; }
.card.action .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: .6rem; }
.value { padding: 0 0 0 1.4rem; border-left: 3px solid var(--gold); }
.value h3 { font-size: 1.3rem; margin-bottom: .25em; }
.value p { color: var(--muted); font-size: .97rem; margin: 0; }
.dark .value p { color: #b9c3d1; }
.panel { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 2.6rem; border-radius: var(--radius); position: relative; overflow: hidden; isolation: isolate; }
.panel .art { z-index: -1; opacity: .15; }
.panel h3 { color: #fff; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.14); display: flex; gap: .8rem; }
.panel li::before { content: "◆"; color: var(--gold-2); font-size: .7rem; margin-top: .5rem; }
.panel li:last-child { border-bottom: 0; }
.quote-art { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.quote-art .art { z-index: -2; }
.quote-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,31,54,.95) 10%, rgba(14,31,54,.2) 75%); }
.pullquote { font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.3; color: #fff; padding: 2rem; margin: 0; font-style: italic; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.step { counter-increment: s; padding-top: 3.2rem; position: relative; }
.step::before { content: "0" counter(s); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 2.8rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: .95rem; }
.cta-band { background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band .art { z-index: -1; opacity: .35; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfd6e0; max-width: 56ch; margin-inline: auto; }
.draft-note { font-size: .82rem; color: var(--muted); border-left: 3px solid var(--gold); background: var(--bg-alt); padding: .7rem 1rem; margin: 0 0 2rem; }
.notice { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1rem; margin-top: 1.5rem; }

/* ---------- Practice areas ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-bottom: 1.5rem; }
.search-input { position: relative; flex: 1 1 260px; max-width: 420px; }
.search-input input { padding-left: 2.6rem; }
.search-input svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.count { font-size: .85rem; color: var(--muted); }
.pa { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; padding: 3rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.pa:first-of-type { border-top: 0; }
.pa h2 { font-size: 2rem; }
.pa .tag { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; display: block; margin-bottom: .6rem; }
.pa ul { padding-left: 1.2rem; }
.pa li { margin-bottom: .4rem; }
.pa .art-sq { position: relative; height: 120px; margin-top: 1.2rem; border-radius: var(--radius); overflow: hidden; }
.pa-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.pa-nav a, .pill { border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; background: var(--surface); color: var(--text); font-family: var(--sans); cursor: pointer; }
.pa-nav a:hover, .pill:hover { background: var(--btn-navy-bg); color: var(--btn-navy-fg); border-color: var(--btn-navy-bg); }
.pill.on { background: var(--btn-navy-bg); color: var(--btn-navy-fg); border-color: var(--btn-navy-bg); }
.empty { padding: 2rem; border: 1px dashed var(--line); text-align: center; color: var(--muted); border-radius: var(--radius); }

/* ---------- Team ---------- */
.person .avatar { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem; }
.person .avatar .badge { position: absolute; left: 1rem; bottom: 1rem; background: var(--navy); color: var(--gold-2); font-family: var(--serif); font-size: 1.4rem; letter-spacing: .08em; padding: .35rem .8rem; border-radius: 2px; }
.person h3 { margin-bottom: .1em; font-size: 1.4rem; }
.person .role { color: var(--accent-text); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: .6rem; display: block; }
.person p { color: var(--muted); font-size: .95rem; }

/* ---------- Insights / articles ---------- */
.post { display: flex; flex-direction: column; }
.post .meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; margin-bottom: .6rem; }
.post h3 { font-size: 1.4rem; }
.post .more { margin-top: auto; }
.layout-article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.toc { position: sticky; top: 100px; font-size: .88rem; }
.toc h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; color: var(--muted); margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.on { color: var(--heading); border-left-color: var(--gold); }
.prose { max-width: 70ch; font-size: 1.06rem; }
.prose h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose .lede { font-size: 1.25rem; color: var(--heading); font-family: var(--serif); line-height: 1.5; }
.share { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2.4rem 0; align-items: center; }
.share span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; }
.callout { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 1.6rem 1.8rem; border-radius: var(--radius); margin: 2.5rem 0; }
.callout h3 { margin-bottom: .3em; }

/* ---------- FAQ / glossary ---------- */
details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.35rem; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details ul { margin: .8rem 0 0; color: var(--muted); }
.faq-group h2 { font-size: 1.6rem; margin: 2.5rem 0 .5rem; }
.gloss { margin: 0; }
.gloss-item { padding: 1.2rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.gloss-item dt { font-family: var(--serif); font-size: 1.4rem; color: var(--heading); }
.gloss-item dd { margin: .2rem 0 0; color: var(--muted); }

/* ---------- Tools: matcher, checklist ---------- */
.tool { padding: clamp(1.5rem, 4vw, 2.6rem); }
.tool .q { font-family: var(--serif); font-size: 1.7rem; color: var(--heading); margin-bottom: 1rem; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.option { text-align: left; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; cursor: pointer; font: inherit; color: var(--text); transition: border-color .2s, transform .2s; }
.option:hover { border-color: var(--gold); transform: translateY(-2px); }
.tool-progress { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .8rem; font-weight: 600; }
.result { border-left: 4px solid var(--gold); padding-left: 1.4rem; }
.result .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.checklist { list-style: none; margin: 1.2rem 0; padding: 0; }
.checklist li { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.checklist input { width: 20px; height: 20px; margin-top: .25rem; accent-color: var(--gold); flex: none; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.row-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.add-item { display: flex; gap: .6rem; margin-top: 1rem; }
.add-item input { flex: 1; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.info-item { margin-bottom: 1.8rem; }
.info-item h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .4rem; font-weight: 600; }
.form-card { background: var(--bg-alt); padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius); }
.field { margin-bottom: 1.2rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend, .label { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .45rem; font-weight: 600; color: var(--heading); padding: 0; }
.field .hint { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; }
input, select, textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: var(--input-bg); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--clay); }
.err { color: var(--clay); font-size: .82rem; margin: .35rem 0 0; min-height: 0; }
[data-theme="dark"] .err { color: #e8957c; }
.err:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: .3rem; flex: none; accent-color: var(--gold); }
.check label { text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; color: var(--muted) !important; font-size: .86rem !important; margin: 0 !important; }
.counter { text-align: right; font-size: .76rem; color: var(--muted); margin-top: .25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; display: inline-block; margin: 0; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.chip span { display: inline-block; border: 1px solid var(--line); background: var(--input-bg); padding: .6rem 1.05rem; border-radius: 999px; font-size: .9rem; color: var(--text); transition: all .15s; }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--btn-navy-bg); color: var(--btn-navy-fg); border-color: var(--btn-navy-bg); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.stepper { display: flex; gap: .5rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.stepper li { flex: 1; border-top: 3px solid var(--line); padding-top: .6rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stepper li.done, .stepper li.on { border-color: var(--gold); }
.stepper li.on { color: var(--heading); font-weight: 600; }
.pane h2 { font-size: 1.8rem; }
.pane:focus { outline: none; }
.form-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.review { margin: 0 0 1.4rem; }
.review div { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.review dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.review dd { margin: 0; word-break: break-word; }
.success { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: var(--radius); }
.success:focus { outline: none; }
.success textarea { min-height: 120px; font-size: .9rem; }
.success-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.map-box { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); min-height: 300px; position: relative; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box p { font-size: .85rem; color: var(--muted); max-width: 36ch; }

/* ---------- Search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 11vh 1rem 1rem; background: rgba(6,12,22,.62); backdrop-filter: blur(3px); }
.palette-box { width: min(660px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; }
.palette-box input { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.15rem 1.3rem; font-size: 1.1rem; background: transparent; }
.palette-box input:focus { outline: none; }
.palette ul { list-style: none; margin: 0; padding: .4rem; max-height: 52vh; overflow: auto; }
.palette li a { display: flex; flex-direction: column; gap: .1rem; padding: .7rem .9rem; border-radius: 4px; color: var(--text); }
.palette li a[aria-selected="true"], .palette li a:hover { background: var(--bg-alt); }
.palette .r-top { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--heading); }
.palette .cat { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); white-space: nowrap; align-self: center; }
.palette .r-desc { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.palette-foot { display: flex; gap: 1.2rem; flex-wrap: wrap; padding: .7rem 1.2rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.palette-empty { padding: 1.6rem; text-align: center; color: var(--muted); }
kbd { font-family: var(--sans); font-size: .72rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px; padding: 0 .4rem; background: var(--bg-alt); }
.results { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.results li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.results a { font-family: var(--serif); font-size: 1.5rem; color: var(--heading); }
.results .cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); display: block; }
.results p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Footer & utilities ---------- */
.site-footer { background: #091526; color: #aab5c4; padding: 4rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #aab5c4; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .brand strong { color: #fff; }
.site-footer .brand .wm > span { color: var(--gold-2); }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size: .8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.legal nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.disclaimer { font-size: .78rem; color: #8593a6; max-width: 80ch; padding-bottom: 1.2rem; }
.fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; background: var(--gold-2); color: var(--navy); padding: .85rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .3s; }
.fab.show { transform: none; }
.fab:hover { color: var(--navy); background: #ecd08f; }
.backtop { position: fixed; right: 1.2rem; bottom: 5rem; z-index: 90; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; font-size: 1.1rem; }
.backtop.show { opacity: 1; pointer-events: auto; }
#toast { position: fixed; left: 50%; bottom: 1.6rem; transform: translate(-50%, 200%); background: var(--navy); color: #fff; padding: .8rem 1.3rem; border-radius: 4px; font-size: .9rem; z-index: 500; transition: transform .3s; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
#toast.show { transform: translate(-50%, 0); }
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 250; max-width: 640px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.35); border-radius: 6px; padding: 1.2rem 1.4rem; font-size: .9rem; }
.consent p { margin: 0 0 .9rem; color: var(--muted); }
.consent .row-actions { margin: 0; }
.err404 { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; isolation: isolate; }
.err404 .art { z-index: -1; opacity: .5; }
.err404 h1 { color: #fff; }
.err404 .big { font-family: var(--serif); font-size: clamp(6rem, 20vw, 12rem); line-height: 1; color: var(--gold-2); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .drift, .parallax { animation: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); display: none; max-height: 80vh; overflow: auto; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; }
  .nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .show-sm { display: block; }
  .hide-sm { display: none; }
}
@media (max-width: 960px) {
  .hero::after { background: linear-gradient(180deg, rgba(14,31,54,.9) 0%, rgba(14,31,54,.8) 100%); }
  .g3, .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .pa, .layout-article { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .page-hero .art { left: 25%; opacity: .5; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .steps, .row2, .footer-grid, .options { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .review div { grid-template-columns: 1fr; gap: .2rem; }
  .brand strong { font-size: 1.1rem; letter-spacing: .05em; }
  .brand .mark { width: 34px; height: 34px; }
  .brand .wm > span { letter-spacing: .26em; }
  .bar { gap: .6rem; }
  .tools { gap: .35rem; }
  .stepper li { font-size: .6rem; }
  .fab { left: 1rem; right: 1rem; text-align: center; }
  .backtop { bottom: 4.8rem; }
}
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .fab, .backtop, .strip, .art, .share, .no-print, .palette { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .page-hero, .hero { background: none; color: #000; }
  .page-hero h1, .page-hero p, .hero h1, .crumbs, .crumbs a { color: #000; }
  .checklist li { break-inside: avoid; }
}

/* ---------- Profile & leadership ---------- */
.profile-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; padding-bottom: 0; }
.profile-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,31,54,.96) 0%, rgba(14,31,54,.9) 42%, rgba(14,31,54,0) 72%); }
.profile-hero > .art { left: 40%; z-index: -1; opacity: .38; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.profile-hero .container { padding: clamp(2.6rem, 5vw, 4.4rem) 0 0; }
.ph-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
.ph-text { padding-bottom: clamp(4.2rem, 7vw, 6rem); }
.ph-text h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 4.8rem); margin-bottom: .15em; }
.ph-text .lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.85rem); color: #e8dcc0; max-width: 26ch; line-height: 1.3; }
.ph-text .hero-meta { margin-top: 1.6rem; flex-direction: column; gap: .45rem; }
.ph-text .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.art-block svg { width: 100%; height: 100%; max-width: none; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: -2.6rem 0 0; position: relative; z-index: 4; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts > div { padding: 1.3rem 1.5rem; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.facts dd { margin: .3rem 0 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; color: var(--heading); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.profile-grid .prose { max-width: none; }
.side { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.side .card { padding: 1.6rem; }
.side .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.side h3 { font-size: 1.3rem; }
.side ul { list-style: none; padding: 0; margin: 0; }
.side li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; word-break: break-word; }
.side li:last-child { border-bottom: 0; }
.matter { display: grid; grid-template-columns: 170px 1fr; gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.matter .k { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; padding-top: .5rem; }
.matter h3 { font-size: 1.45rem; margin-bottom: .3em; }
.matter p { color: var(--muted); margin: 0; }
.edu { list-style: none; padding: 0; margin: 0 0 0 .4rem; border-left: 2px solid var(--gold); }
.edu li { padding: .2rem 0 1.5rem 1.5rem; position: relative; }
.edu li::before { content: ""; position: absolute; left: -8px; top: .6rem; width: 14px; height: 14px; background: var(--gold); border-radius: 50%; }
.edu strong { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--heading); font-weight: 600; }
.edu span { color: var(--muted); font-size: .95rem; }
.feature-person { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fp-body { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 0; align-self: center; }
.tick { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.tick li { padding-left: 1.4rem; position: relative; margin-bottom: .45rem; }
.tick li::before { content: "◆"; color: var(--gold); font-size: .6rem; position: absolute; left: 0; top: .55rem; }
.split.flip { grid-template-columns: .8fr 1.2fr; }
.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 1.6rem; }
.tag-pill { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; font-size: .8rem; color: var(--muted); background: var(--surface); }
@media (max-width: 960px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-grid { align-items: start; }
  .ph-text { padding-bottom: 3.6rem; }
  .ph-photo { max-width: 340px; margin: 0 auto; order: -1; }
  .profile-hero > .art { left: 0; opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .profile-hero::after { background: linear-gradient(180deg, rgba(14,31,54,.88) 0%, rgba(14,31,54,.82) 100%); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .profile-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .feature-person { grid-template-columns: 1fr; gap: 0; }
  .fp-photo { padding: 1.5rem 0 0; display: flex; justify-content: center; }
  .fp-photo .stage { max-width: 300px; }
  .fp-body { padding: 1.5rem; }
  .split.flip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; margin-top: -1.6rem; }
  .facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts > div:last-child { border-bottom: 0; }
  .matter { grid-template-columns: 1fr; gap: .3rem; }
  .matter .k { padding-top: 0; }
}

/* ---------- Portrait stage: transparent cut-out merged with abstract art ---------- */
.stage { position: relative; width: 100%; aspect-ratio: 2 / 3; isolation: isolate; --ring: rgba(14,31,54,.24); --shape2: #0e1f36; }
[data-theme="dark"] .stage, .stage[data-tone="dark"] { --ring: rgba(243,236,224,.24); --shape2: #f3ece0; }
.stage-art, .stage-front { position: absolute; inset: 0; pointer-events: none; }
.stage-art { z-index: 0; }
.stage-front { z-index: 3; }
.stage-art svg, .stage-front svg { width: 100%; height: 100%; max-width: none; overflow: visible; }
.stage-img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; z-index: 2; filter: drop-shadow(0 16px 22px rgba(0,0,0,.28)); }
.ph-photo { position: relative; width: 100%; max-width: 460px; justify-self: center; margin: 0; }
.ph-photo .art-block { position: absolute; width: 27%; aspect-ratio: 1; left: -6%; bottom: 5%; z-index: 4; overflow: hidden; border-radius: 2px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.55); }
.feature-portrait { width: 100%; max-width: 400px; justify-self: center; }
.fp-photo { background: var(--navy); overflow: hidden; display: block; align-self: stretch; }
.fp-photo .stage { height: 100%; aspect-ratio: auto; min-height: 420px; }
.fp-photo .stage-img { width: auto; height: 100%; left: 50%; transform: translateX(-50%); max-width: none; }
.fp-photo .stage-art svg, .fp-photo .stage-front svg { overflow: hidden; }
body { overflow-x: clip; }

/* ---------- Logo ---------- */
.brand .logo { height: 46px; width: auto; max-width: none; }
.brand .logo-d { display: none; }
[data-theme="dark"] .site-header .logo-l { display: none; }
[data-theme="dark"] .site-header .logo-d, .site-footer .logo-d { display: block; }
.site-footer .brand .logo { height: 54px; }
.map-box { padding: 0; min-height: 340px; }
.map-box iframe { min-height: 340px; }
@media (max-width: 600px) { .brand .logo { height: 34px; } }
@media (max-width: 960px) { .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,31,54,.82), rgba(14,31,54,.7)); } }
