/* Sultan Mazhar Sher Khan, v4. Multi-page; navy and brass, Caslon headings, his own photographs. */

@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/host-grotesk.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/libre-caslon-text.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/libre-caslon-text-italic.woff2") format("woff2"); }

:root {
  --navy: #13234a;
  --navy-950: #0b1530;
  --navy-800: #1b2f5e;
  --brass: #b4873a;
  --brass-soft: #e8d3a8;
  --brass-tint: #f5ecd9;
  --brass-ink: #7a5a1f;
  --stone: #f4f1ea;
  --paper: #fbf9f4;
  --white: #ffffff;
  --canvas: #efebe2;
  --line: #e6dfd1;
  --line-2: #d5cab5;
  --ink: #0d1117;
  --ink-2: #4b5563;
  --ink-3: #626873;
  --on-navy: #f6f3ec;
  --on-navy-2: #b9c2d8;
  --wire: #9aa6c2;

  --sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;

  --sh-sm: 0 1px 2px rgba(13, 17, 23, 0.05), 0 2px 6px -2px rgba(13, 17, 23, 0.06);
  --sh-lg: 0 1px 2px rgba(13, 17, 23, 0.05), 0 28px 56px -28px rgba(13, 17, 23, 0.3);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: 20px;
  --max: 1200px;
  --top-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 20px); }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font: 400 17px/1.6 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--brass-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.center { text-align: center; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn .i { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-brass { background: var(--brass); color: var(--navy-950); box-shadow: 0 8px 20px -10px rgba(180, 135, 58, 0.7); }
.btn-brass:hover { background: #c39548; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.38); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn-light:hover { border-color: var(--line-2); }

/* ---------- header and menu ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 21, 48, 0.97); color: #fff; border-bottom: 1px solid rgba(180, 135, 58, 0.35); }
.top-in { max-width: 1320px; margin: 0 auto; height: var(--top-h); padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-role { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass-soft); margin-top: 3px; }
.burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 10px; }
.burger .i { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.menu-open .burger .i-open { display: none; }
.menu-open .burger .i-close { display: block; }

/* mobile menu: full-height sheet */
.menu {
  position: fixed; inset: var(--top-h) 0 0 0; background: var(--navy-950); overflow-y: auto;
  padding: 12px var(--gut) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 20px;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.menu-open .menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.menu-list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; align-items: center; }
.menu-list > li > a { flex: 1; padding: 15px 0; font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; }
.menu-list a[aria-current="page"] { color: var(--brass-soft); }
.sub-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; }
.sub-toggle .i { transition: transform 0.3s var(--ease); }
.sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.sub { flex-basis: 100%; display: none; padding: 0 0 12px 14px; border-left: 1px solid var(--brass); margin-bottom: 14px; }
.has-sub.open .sub { display: block; }
.sub a { display: block; padding: 9px 0; }
.sub b { display: block; font-weight: 500; font-size: 17px; }
.sub span { font-size: 13.5px; color: var(--on-navy-2); }
.sub a[aria-current="page"] b { color: var(--brass-soft); }
.menu-cta { align-self: stretch; flex: none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(180, 135, 58, 0.18), transparent 60%),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px); }
.ph-in { position: relative; max-width: var(--max); margin: 0 auto; padding: 44px var(--gut) 52px; display: grid; gap: 28px; align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--on-navy-2); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 9vw, 4.4rem); line-height: 1.04; max-width: 18ch; }
.page-hero h1 em { color: var(--brass-soft); }
.ph-lede { margin-top: 16px; max-width: 40rem; font-size: 18px; line-height: 1.55; color: var(--on-navy-2); text-wrap: pretty; }
.hero-quals { margin-top: 10px; font-size: 13px; letter-spacing: 0.04em; color: var(--brass-soft); }
.ph-portrait { width: 132px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--brass), 0 0 0 7px rgba(180, 135, 58, 0.18); }
.ph-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- home hero ---------- */
.hero { background: var(--navy-950); color: var(--on-navy); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50rem 36rem at 80% 40%, rgba(180, 135, 58, 0.16), transparent 65%),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px); }
.hero-in { position: relative; max-width: var(--max); margin: 0 auto; padding: 40px var(--gut) 64px; display: grid; gap: 40px; }
.eyebrow { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-soft); }
.hero h1 { margin-top: 16px; color: #fff; font-size: clamp(2.7rem, 11vw, 5.2rem); line-height: 1; }
.hero-copy .hero-quals { margin-top: 20px; }
.hero-lede { margin-top: 22px; max-width: 36rem; font-size: 18.5px; line-height: 1.55; color: var(--on-navy-2); text-wrap: pretty; }
.hero-lede + .hero-lede { margin-top: 14px; }
.hero-lede em { font-family: var(--serif); color: #fff; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-portrait { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.frame { position: relative; border-radius: 200px 200px 14px 14px; overflow: hidden; aspect-ratio: 4 / 5; background: #d9d6cf; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(232, 211, 168, 0.7); border-radius: 190px 190px 8px 8px; pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.badge { position: absolute; left: -6px; bottom: 26px; display: flex; flex-direction: column; padding: 12px 16px; background: var(--paper); color: var(--ink); border-radius: 12px; box-shadow: var(--sh-lg); }
.badge-k { font-family: var(--serif); font-size: 17px; }
.badge-v { font-size: 13px; color: var(--ink-3); }

/* figures */
.figures { background: var(--paper); border-bottom: 1px solid var(--line); }
.figures-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.figures li { padding: 24px var(--gut); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.figures li:nth-child(even) { border-left: 1px solid var(--line); }
.figures li:last-child { grid-column: 1 / -1; }
.figures b { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.figures span { font-size: 14px; line-height: 1.4; color: var(--ink-2); }

/* ---------- sections ---------- */
.sect { padding: 72px var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.head { max-width: 44rem; margin: 0 auto 40px; text-align: center; }
.head.left { text-align: left; margin-left: 0; }
.kicker { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 12px; }
.head h2 { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.06; }
.head p:not(.kicker) { margin-top: 16px; color: var(--ink-2); text-wrap: pretty; }
.note { margin-top: 20px; font-size: 14px; color: var(--ink-3); max-width: 60ch; }

.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy .kicker { color: var(--brass-soft); }
.band-navy .head h2 { color: #fff; }
.band-navy .head h2 em { color: var(--brass-soft); }
.band-navy .head p:not(.kicker) { color: var(--on-navy-2); }
.band-soft { background: var(--paper); border-block: 1px solid var(--line); }

/* practice lists */
.split-lists { display: grid; gap: 16px; }
.list-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; box-shadow: var(--sh-sm); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.list-card:hover { border-color: var(--brass); box-shadow: var(--sh-lg); transform: translateY(-2px); }
.list-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.list-card-head h2, .list-card-head h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -0.02em; }
.list-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--navy); color: var(--brass-soft); }
.list-n { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.icon-list { margin: 8px 0 18px; }
.icon-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 16.5px; }
.icon-list li:last-child { border-bottom: 0; }
.icon-list .ic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--brass-tint); color: var(--brass-ink); }
.icon-list .ic .i { width: 17px; height: 17px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--navy); }
.more .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.list-card:hover .more .i { transform: translateX(3px); }

/* statutes (home) */
.statutes { display: grid; gap: 10px; max-width: 900px; margin: 0 auto 36px; }
.statutes li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 4px 16px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.statutes .yr { grid-row: span 2; font-family: var(--serif); font-size: 26px; color: var(--brass-soft); }
.statutes b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: #fff; }
.role-tag { justify-self: start; display: inline-flex; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--brass-tint); color: var(--brass-ink); white-space: nowrap; }
.band-navy .statutes .role-tag { background: rgba(180, 135, 58, 0.18); color: var(--brass-soft); }

/* photo + copy */
.sect-photo { display: grid; gap: 36px; align-items: center; }
.photo { border-radius: 16px; overflow: hidden; box-shadow: var(--sh-lg); max-width: 460px; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.photo img[src$="lecture-podium.jpg"] { object-position: 82% 50%; }
.photo-copy h2 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.06; margin-top: 0; }
.photo-copy > p:not(.kicker) { margin-top: 16px; color: var(--ink-2); max-width: 36rem; }
.photo-copy .btn { margin-top: 24px; }
.dated { margin-top: 22px; border-top: 1px solid var(--line); }
.dated li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.dated i { font-style: normal; color: var(--ink-3); }
.yr { font-family: var(--serif); color: var(--brass-ink); font-variant-numeric: lining-nums tabular-nums; flex: none; min-width: 3em; }
.photo-stack { position: relative; max-width: 460px; }
.photo-stack .photo-2 { display: none; }

/* explore tiles */
.tiles { display: grid; gap: 12px; }
.tile { display: grid; gap: 6px; padding: 22px; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-sm); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.tile:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.tile .i { width: 24px; height: 24px; color: var(--brass); margin-bottom: 8px; }
.tile b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.tile span { font-size: 15px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--navy-950); color: var(--on-navy); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 20rem at 50% 120%, rgba(180, 135, 58, 0.25), transparent 70%); }
.cta-in { position: relative; padding: 80px var(--gut); max-width: 44rem; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.06; }
.cta-band h2 em { color: var(--brass-soft); }
.cta-band p { margin-top: 14px; color: var(--on-navy-2); }
.cta-band .hero-cta { justify-content: center; }

/* next-page band */
.next-band { border-top: 1px solid var(--line); background: var(--paper); }
.next { max-width: var(--max); margin: 0 auto; padding: 32px var(--gut); display: flex; align-items: center; gap: 14px; }
.next span { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.next b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: -0.02em; }
.next .i { margin-left: auto; width: 26px; height: 26px; color: var(--brass); transition: transform 0.3s var(--ease); }
.next:hover .i { transform: translateX(4px); }

/* ---------- profile ---------- */
.doc { display: grid; gap: 40px; }
.prose p { margin-bottom: 1.15em; font-size: 18px; line-height: 1.7; max-width: 66ch; text-wrap: pretty; }
.prose .drop::first-letter { float: left; font-family: var(--serif); font-size: 4.2em; line-height: 0.8; padding: 0.08em 0.1em 0 0; color: var(--navy); }
.facts { display: grid; gap: 14px; align-content: start; }
.fact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.fact-card h2 { font-size: 22px; margin-bottom: 8px; }
.kv > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { font-weight: 500; font-size: 15px; line-height: 1.4; }
.kv dt span { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.kv dd { font-family: var(--serif); font-size: 14px; color: var(--brass-ink); white-space: nowrap; }
.plain li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; justify-content: space-between; gap: 10px; }
.plain li:last-child { border-bottom: 0; }
.plain span { font-family: var(--serif); font-size: 14px; color: var(--brass-ink); white-space: nowrap; }

/* ---------- experience ---------- */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hl { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; background: var(--navy); color: var(--on-navy-2); border-radius: 14px; }
.hl b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1; color: var(--brass-soft); }
.hl span { font-size: 14.5px; line-height: 1.45; color: #fff; }
.hl i { font-style: normal; font-size: 13px; }
.roles-grid { display: grid; gap: 10px; margin-top: 28px; }
.roles-grid li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: start; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-sm); }
.r-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--brass-tint); color: var(--brass-ink); }
.roles-grid b { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; }
.roles-grid div span { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 3px; }
.roles-grid .yr { grid-column: 2; font-size: 14px; }
.wide-photo { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wide-photo img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--sh-lg); }
.photo-contained { max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 72px; display: flex; justify-content: center; }
.photo-contained img { width: 100%; max-width: 340px; height: auto; border-radius: 16px; box-shadow: var(--sh-lg); }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.timeline::after { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--brass); transform-origin: top; transform: scaleY(var(--fill, 1)); }
.t-item { position: relative; padding: 0 0 36px 32px; }
.t-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--stone); border: 2px solid var(--brass); z-index: 1; }
.t-when { font-family: var(--serif); font-size: 15px; color: var(--brass-ink); }
.t-body h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; letter-spacing: -0.015em; margin-top: 4px; }
.where { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.t-body ul { margin-top: 12px; display: grid; gap: 8px; }
.t-body li { position: relative; padding-left: 18px; font-size: 15.5px; color: var(--ink-2); max-width: 70ch; }
.t-body li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.t-body ul + .where { margin-top: 18px; }

/* ---------- practice area pages ---------- */
.area-toc { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)) 28px; padding: 0 var(--gut) 4px; }
.area-toc::-webkit-scrollbar { display: none; }
.area-toc a { flex: none; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); background: var(--paper); transition: border-color 0.2s, color 0.2s; }
.area-toc a:hover { color: var(--ink); border-color: var(--brass); }
.areas { display: grid; gap: 12px; }
.area { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); }
.area-l { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--brass-soft); font-family: var(--serif); font-style: italic; font-size: 20px; }
.area h2 { font-size: clamp(1.45rem, 4.6vw, 1.9rem); line-height: 1.15; }
.area p { margin-top: 8px; color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.proof { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.proof li { padding: 4px 10px; border-radius: 999px; font-size: 13px; background: var(--brass-tint); color: var(--brass-ink); }

/* ---------- laws drafted ---------- */
.law-list { display: grid; gap: 10px; }
.law { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-sm); }
.law-yr { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--brass); }
.law h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.015em; }
.law p { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); max-width: 60ch; }
.reg-grid { display: grid; gap: 10px; }
.reg-grid li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.reg-grid .law-yr { font-size: 22px; color: var(--brass-soft); }
.reg-grid b { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.3; color: #fff; }
.frames { display: grid; gap: 10px; }
.frames li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.frames .i { width: 24px; height: 24px; color: var(--brass); margin-top: 2px; }
.frames b { display: block; font-weight: 600; font-size: 16.5px; }
.frames span { display: block; font-size: 15px; color: var(--ink-2); margin-top: 2px; }

/* ---------- lectures ---------- */
.lectures li { display: grid; grid-template-columns: 3.4em 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lectures li:first-child { border-top: 1px solid var(--line); }
.lectures .yr { font-size: 22px; line-height: 1.2; }
.lectures b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.3; }
.lectures div span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.train { display: grid; gap: 0 32px; }
.train li { display: grid; grid-template-columns: 3.4em 1fr; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.train .yr { grid-row: span 2; }
.train b { font-weight: 500; font-size: 15.5px; line-height: 1.4; }
.train span:not(.yr) { font-size: 13.5px; color: var(--ink-3); }

/* ---------- reported judgments ---------- */
.topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: 920px; margin: 0 auto 24px; }
.topics p { font-size: 14px; color: var(--ink-3); }
.topics ul { display: flex; flex-wrap: wrap; gap: 6px; }
.topics li { padding: 4px 11px; border-radius: 999px; font-size: 13.5px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- clients ---------- */
.clients { display: grid; gap: 12px; }
.client { padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); }
.c-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: var(--brass-soft); margin-bottom: 18px; }
.c-ic .i { width: 22px; height: 22px; }
.client h2 { font-size: 25px; line-height: 1.15; }
.client p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }

/* ---------- team ---------- */
.team-say { max-width: 52rem; margin: 0 auto; text-align: center; font-size: clamp(1.6rem, 5.4vw, 2.6rem); line-height: 1.25; color: var(--navy); }
.team-say em { color: var(--brass-ink); }
.team-viz { max-width: 640px; margin: 52px auto 0; }
.tv-case, .tv-lead { display: flex; align-items: center; gap: 12px; width: fit-content; margin: 0 auto; padding: 10px 18px 10px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--sh-sm); font-size: 13.5px; color: var(--ink-3); }
.tv-case b, .tv-lead b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.tv-case .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brass-tint); color: var(--brass-ink); }
.tv-lead img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.tv-wires { width: 100%; height: 56px; }
.tv-wires path { fill: none; stroke: var(--wire); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.tv-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tv-roles span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; background: var(--navy); color: #fff; border-radius: 12px; font-size: 14px; font-weight: 500; }
.tv-roles .i { color: var(--brass-soft); }
.team-points { display: grid; gap: 0; max-width: 960px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.team-points li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.team-points b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; }
.team-points span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { display: grid; gap: 20px; max-width: 980px; }
.card-me { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--navy); color: #fff; border-radius: 16px; }
.card-me img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 2px var(--brass); }
.p-name { font-family: var(--serif); font-size: 22px; }
.p-role { color: var(--on-navy-2); font-size: 14.5px; }
.p-quals { color: var(--brass-soft); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.ways { display: grid; gap: 10px; }
.way { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-sm); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.way:hover { border-color: var(--brass); transform: translateY(-1px); box-shadow: var(--sh-lg); }
.way-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--brass-soft); flex: none; }
.way b { display: block; font-weight: 600; font-size: 15.5px; }
.way span:not(.way-ic) { font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.way-go { margin-left: auto; color: var(--brass); }

/* ---------- footer ---------- */
.foot { background: var(--navy-950); color: var(--on-navy-2); padding: 52px var(--gut) calc(100px + env(safe-area-inset-bottom)); }
.foot-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 32px; }
.foot-name { font-family: var(--serif); font-size: 22px; color: #fff; }
.foot-role { font-size: 14px; margin-top: 4px; }
.foot-contact { margin-top: 18px; display: grid; gap: 8px; font-size: 14.5px; }
.foot-contact a, .foot-contact span { display: inline-flex; align-items: center; gap: 10px; }
.foot-contact a:hover { color: #fff; }
.foot-contact .i { width: 16px; height: 16px; color: var(--brass); }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 14.5px; }
.foot-links a:hover { color: #fff; }
.fine { max-width: var(--max); margin: 28px auto 0; font-size: 12.5px; line-height: 1.6; opacity: 0.85; }
.fine a { text-decoration: underline; text-underline-offset: 2px; }
.fine + .fine { margin-top: 10px; }

/* mobile dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 244, 0.97); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.dock.show { transform: none; }
.menu-open .dock { transform: translateY(110%); }
.pg-contact .dock { display: none; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (min-width: 600px) {
  :root { --gut: 32px; }
  .figures-in { grid-template-columns: repeat(3, 1fr); }
  .figures li:nth-child(even) { border-left: 0; }
  .figures li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
  .figures li:last-child { grid-column: auto / span 2; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: repeat(4, 1fr); }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .reg-grid { grid-template-columns: 1fr 1fr; }
  .frames { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .train { grid-template-columns: 1fr 1fr; }
  .law { grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; }
  .ph-portrait { width: 168px; }
  .t-item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding-left: 36px; }
  .t-when { padding-top: 4px; }
  .foot-links { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- desktop ---------- */
@media (min-width: 1180px) {
  :root { --top-h: 76px; }
  .burger { display: none; }
  .menu { position: static; inset: auto; padding: 0; background: none; overflow: visible; flex-direction: row; align-items: center; gap: 22px; visibility: visible; opacity: 1; transform: none; transition: none; }
  .menu-list { display: flex; align-items: center; gap: 2px; }
  .menu-list > li { border: 0; position: relative; flex-wrap: nowrap; }
  .menu-list > li > a { padding: 8px 10px; font-family: var(--sans); font-size: 14.5px; letter-spacing: -0.005em; color: var(--on-navy-2); border-radius: 8px; transition: color 0.2s, background-color 0.2s; }
  .menu-list > li > a:hover { color: #fff; }
  .menu-list > li > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
  .sub-toggle { width: 22px; height: 30px; margin-left: -6px; background: none; color: var(--on-navy-2); }
  .sub-toggle .i { width: 15px; height: 15px; }
  .sub { position: absolute; top: calc(100% + 14px); left: -12px; width: 300px; display: block; padding: 8px; margin: 0; border: 0; background: var(--paper); color: var(--ink); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(0, 0, 0, 0.5);
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s; }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .sub a { padding: 12px 14px; border-radius: 10px; transition: background-color 0.2s; }
  .sub a:hover, .sub a[aria-current="page"] { background: var(--brass-tint); }
  .sub b { font-size: 16px; font-family: var(--serif); font-weight: 400; }
  .sub a[aria-current="page"] b { color: var(--brass-ink); }
  .sub span { color: var(--ink-3); }
  .menu-cta { height: 40px; align-self: auto; }
  .dock { display: none; }
  .foot { padding-bottom: 52px; }
}

@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding-top: 72px; padding-bottom: 96px; gap: 64px; }
  .hero-portrait { margin: 0 0 0 auto; }
  .badge { left: -36px; }
  .figures-in { grid-template-columns: repeat(5, 1fr); }
  .figures li { border-top: 0; padding: 30px 24px; }
  .figures li:last-child { grid-column: auto; }
  .figures li:not(:first-child) { border-left: 1px solid var(--line); }
  .sect { padding: 104px var(--gut); }
  .head { margin-bottom: 52px; }
  .ph-in { grid-template-columns: 1fr auto; padding-top: 64px; padding-bottom: 72px; }
  .ph-portrait { width: 200px; }
  .split-lists { grid-template-columns: 1fr 1fr; gap: 20px; }
  .list-card { padding: 30px 30px 26px; }
  .statutes li { grid-template-columns: 80px 1fr auto; padding: 18px 24px; }
  .statutes .yr { grid-row: auto; }
  .statutes .role-tag { justify-self: end; }
  .sect-photo { grid-template-columns: 0.8fr 1fr; gap: 80px; }
  .photo-stack .photo-2 { display: block; position: absolute; width: 52%; right: -18%; bottom: -12%; border: 6px solid var(--stone); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .doc { grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
  .facts { position: sticky; top: calc(var(--top-h) + 24px); }
  .highlights { gap: 16px; }
  .hl { padding: 28px 24px; }
  .areas { gap: 14px; }
  .area { grid-template-columns: 56px 1fr; padding: 30px 32px; gap: 24px; }
  .area-l { width: 56px; height: 56px; font-size: 24px; }
  .area-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
  .area-toc { position: sticky; top: calc(var(--top-h) + 24px); flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .area-toc { box-shadow: inset 1px 0 0 var(--line); }
  .area-toc a { border: 0; background: none; height: auto; padding: 8px 0 8px 14px; border-radius: 0; transition: color 0.2s, box-shadow 0.2s; }
  .area-toc a:hover, .area-toc a.on { box-shadow: inset 2px 0 0 var(--brass); color: var(--ink); }
  .reg-grid { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .client { padding: 30px 28px; }
  .team-points { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .contact { grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
  .contact .note { grid-column: 2; margin-top: 0; }
  .foot-in { grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .t-item { grid-template-columns: 180px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tv-wires path { animation: none; }
}
