/* McPhee Kelshaw concept: the escarpment, cut along its own skyline, rising in front of the name. */
:root {
  --navy: #10294b;
  --navy-deep: #0a1c35;
  --haze: #d3dbe0;
  --haze-2: #e3e8eb;
  --gold: #c2961f;
  --gold-light: #e2bd55;
  --rust: #b0441c;
  --rust-deep: #923612;
  --sand: #e9a27a;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --ink: #10294b;
  --ink-2: #26344a;
  --rule: rgba(16, 41, 75, 0.2);
  --rule-light: rgba(246, 244, 239, 0.24);
  --display: "Epilogue", "Helvetica Neue", Arial, sans-serif;
  --text: "Petrona", Georgia, "Times New Roman", serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 7.5vw, 112px);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 19px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
b, strong { font-weight: 500; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--navy); padding: 10px 16px; z-index: 100; font-family: var(--display); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.nb { white-space: nowrap; }

/* Buttons: one primary colour per ground. Navy on light grounds, gold on navy. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; font-family: var(--display); font-weight: 500; font-size: 16px; text-decoration: none; border-radius: 2px; border: 1.5px solid currentColor; transition: background-color .16s ease, color .16s ease, border-color .16s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-solid { background: var(--rust); color: #fff; border-color: var(--rust); }
.btn-solid:hover { background: var(--rust-deep); border-color: var(--rust-deep); }
.btn-line { color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--paper); }
.on-dark .btn-solid { background: var(--rust); border-color: var(--rust); color: #fff; }
.on-dark .btn-solid:hover { background: #c4562c; border-color: #c4562c; }
.on-dark .btn-line { color: var(--paper); }
.on-dark .btn-line:hover { background: var(--paper); color: var(--navy); }
.textlink { font-family: var(--display); font-weight: 500; font-size: 16.5px; text-decoration: underline; text-underline-offset: .25em; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--paper); transition: box-shadow .2s ease; }
.site-head.is-scrolled { box-shadow: 0 10px 24px rgba(5, 15, 30, .2); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 76px; transition: min-height .2s var(--ease); }
.is-scrolled .head-row { min-height: 64px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; transition: height .2s var(--ease); }
.is-scrolled .brand img { height: 40px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-family: var(--display); font-size: 15.5px; font-weight: 500; text-decoration: none; padding: 10px 12px; border-radius: 2px; color: rgba(246,244,239,.86); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sand); }
.head-actions { display: flex; gap: 10px; }
.head-actions .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; background: none; border: 1.5px solid rgba(246,244,239,.5); color: var(--paper); border-radius: 2px; font-family: var(--display); font-size: 15px; padding: 0 14px; }
.mobile-nav { display: none; }
@media (max-width: 1080px) { .nav { display: none; } .head-actions { margin-left: auto; } }
@media (max-width: 720px) {
  .head-row { min-height: 64px; gap: 8px; }
  .brand img { height: 34px; }
  .is-scrolled .brand img { height: 32px; }
  .head-actions { gap: 6px; }
  .head-actions .btn { padding: 0 11px; }
  .head-actions .btn .label-long { display: none; }
  .head-actions .btn svg { display: none; }
  .head-actions .btn-enquire { display: none; }
  .menu-btn { display: inline-flex; align-items: center; padding: 0 11px; }
  .mobile-nav { display: block; border-top: 1px solid var(--rule-light); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--gutter); font-family: var(--display); font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--rule-light); }
}

/* Home hero: haze-blue sky field; the escarpment, cut on its own skyline, rises through the name */
.hero { background: var(--haze); color: var(--navy); position: relative; overflow: hidden; }
.hero-home { --fs: clamp(48px, 7.9vw, 120px); }
.hero-home .hero-text { padding-top: clamp(40px, 5vw, 76px); position: relative; z-index: 1; }
.masthead { font-size: var(--fs); font-weight: 500; letter-spacing: -0.045em; line-height: 0.94; max-width: none; text-wrap: initial; }
.masthead .nb { display: block; }
.ridge { position: relative; z-index: 2; pointer-events: none; overflow: hidden; }
.ridge img { width: 100%; height: auto; clip-path: var(--ridge-clip); }
.hero-home .ridge { margin-top: calc(-1.3 * var(--fs)); aspect-ratio: 2560 / 940; }
.hero-home .ridge img { width: 116%; max-width: none; margin-left: -6%; }
.sky-actions { position: absolute; left: 0; right: 0; bottom: clamp(20px, 2.6vw, 40px); z-index: 3; display: flex; justify-content: flex-end; }
.sky-box { background: var(--paper); color: var(--navy); padding: 26px 28px 22px; max-width: 540px; border-radius: 2px; box-shadow: 0 18px 50px rgba(5, 15, 30, .28); }
.sky-lede { margin: 0 0 16px; font-size: 20px; line-height: 1.45; }
.sky-where { margin: 14px 0 0; font-family: var(--display); font-size: 14.5px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-home .ridge img { animation: rise 1.1s var(--ease) both .15s; }
  @keyframes rise { from { transform: translateY(40px); } to { transform: none; } }
}
@media (max-width: 860px) {
  .hero-home { --fs: clamp(46px, 13vw, 84px); }
  .hero-home .hero-text { padding-top: 28px; }
  .masthead .nb { display: inline; white-space: normal; }
  .hero-home .ridge { aspect-ratio: 390 / 250; margin-top: calc(-1.32 * var(--fs)); }
  .hero-home .ridge img { width: 250%; margin-left: -18%; margin-top: -4%; }
  .sky-actions { position: static; padding: 0; display: block; }
  .sky-box { max-width: none; box-shadow: none; border-radius: 0; padding: 20px var(--gutter) 28px; background: var(--navy); color: var(--paper); }
  .sky-box .btn-line { color: var(--paper); }
  .sky-box .hero-actions { flex-wrap: nowrap; }
  .sky-box .hero-actions .btn { flex: 1 1 auto; padding: 0 14px; }
  .sky-box .hero-actions .btn-line { flex: 0 0 auto; }
  .sky-where { color: rgba(246,244,239,.8); }
  .sky-lede { font-size: 17px; }
}
@media (max-width: 600px) { .hero-inner .hero-actions .btn { flex: 1 1 auto; } }

/* Inner hero: same sky; the crest cuts across the foot of the headline */
.inner-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: clamp(40px, 5vw, 76px); position: relative; z-index: 1; }
.hero-inner h1 { font-size: clamp(42px, 6vw, 92px); letter-spacing: -0.045em; line-height: 0.96; }
.hero-lede { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; margin: 0 0 22px; }
.inner-aside { padding-top: 8px; }
.ridge-strip { aspect-ratio: 2560 / 470; margin-top: calc(-1 * clamp(36px, 4.6vw, 70px)); }
.ridge-strip img { width: 150%; max-width: none; margin-top: -9%; }
.ridge-strip.crop-mid img { margin-left: -12%; }
.ridge-strip.crop-right img { margin-left: -45%; margin-top: -13%; }
@media (max-width: 860px) { .inner-grid { grid-template-columns: 1fr; } .ridge-strip { aspect-ratio: 390 / 150; margin-top: 0; } .ridge-strip img { width: 260%; margin-left: -10%; margin-top: -12%; } .ridge-strip.crop-right img { margin-left: -120%; margin-top: -20%; } }

/* Sections */
.section { padding: var(--section) 0; }
.haze { background: var(--haze-2); }
.section-head { display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head h2 { font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -0.04em; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 54ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 14px; } }
.on-dark { background: var(--navy); color: var(--paper); }
.more { margin-top: 32px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* Signature: six matters hanging from the traced ridge; accredited areas on the high ground */
.ridge-matters { padding-top: var(--section); }
.ridge-matters-head { position: absolute; z-index: 3; top: 0; right: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gutter)); width: min(46%, 600px); }
.ridge-matters-head h2 { font-size: clamp(30px, 3.1vw, 48px); letter-spacing: -0.035em; line-height: 1.06; }
.ridge-art { --h: clamp(560px, 46vw, 680px); position: relative; height: var(--h); }
.ridge-art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ridge-art path { fill: var(--navy); }
.ridge-plot { position: absolute; inset: 0; }
.marks { position: absolute; inset: 0; }
.mark { position: absolute; z-index: 2; top: calc(var(--y) * var(--h)); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--navy); }
.mark.hi { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--rust); box-shadow: 0 0 0 4px var(--paper); }
.stem { position: absolute; top: calc(var(--y) * var(--h)); height: calc((var(--y2) - var(--y)) * var(--h) + 24px); width: 1.5px; margin-left: -0.75px; background: rgba(246,244,239,.5); }
.stem.hi { width: 2px; margin-left: -1px; background: var(--sand); }
.labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.lab { position: absolute; top: calc(var(--y) * var(--h) + 24px); width: 13.2%; padding: 0 0 0 16px; color: var(--paper); }
.lab h3 { font-size: clamp(22px, 2.1vw, 31px); letter-spacing: -0.025em; line-height: 1.08; }
.lab h3 a { text-decoration: none; color: var(--paper); }
.lab h3 a:hover { text-decoration: underline; }
.lab p { margin: 10px 0 0; font-family: var(--display); font-size: 15.5px; line-height: 1.45; color: rgba(246,244,239,.92); }
.lab .acc { color: var(--sand); }
.lab a { color: #fff; text-decoration-color: rgba(246,244,239,.45); }
.ridge-foot { position: absolute; left: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gutter)); bottom: clamp(32px, 3.4vw, 52px); width: 32%; background: transparent; }
.ridge-foot p { margin: 0 0 16px; font-size: 17px; line-height: 1.5; color: rgba(246,244,239,.9); }
@media (max-width: 1100px) {
  .ridge-art { height: auto; }
  .ridge-matters-head { position: static; width: auto; padding: 0 var(--gutter) 28px; }
  .ridge-plot { position: relative; }
  .ridge-art svg { position: relative; height: clamp(150px, 26vw, 260px); }
  .marks { inset: 0 0 auto 0; height: clamp(150px, 26vw, 260px); }
  .mark { top: calc(var(--y) * clamp(150px, 26vw, 260px)); }
  .stem { display: none; }
  .labels { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; padding: 8px var(--gutter) 0; background: var(--navy); margin-top: -1px; }
  .lab { position: static; width: auto; border-left: 1.5px solid rgba(246,244,239,.4); }
  .lab.hi { border-left: 2px solid var(--sand); }
  .ridge-foot { position: static; width: auto; padding: 36px var(--gutter) 48px; background: var(--navy); }
}
@media (max-width: 600px) { .labels { grid-template-columns: 1fr; gap: 22px; } .mark { width: 10px; height: 10px; margin: -5px 0 0 -5px; } .mark.hi { width: 16px; height: 16px; margin: -8px 0 0 -8px; } }

/* Courts: court names hang in the margin beside who appears there */
.courts-h { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.04em; margin-bottom: clamp(28px, 3.5vw, 48px); }
.court-lines { --cg: clamp(24px, 5vw, 80px); }
.court-row { display: grid; grid-template-columns: 4fr 8fr; gap: var(--cg); padding: 22px 0; border-top: 1px solid var(--rule); }
.court-row h3 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }
.court-line { font-family: var(--display); font-size: clamp(19px, 1.65vw, 24px); line-height: 1.38; letter-spacing: -0.012em; margin: 0; }
.court-line a { text-decoration-thickness: 1px; text-decoration-color: rgba(16,41,75,.3); }
.court-lines .court-desk, .court-lines .more { margin-left: calc((100% - var(--cg)) * 4 / 12 + var(--cg)); }
.court-desk { font-size: 18px; color: var(--ink-2); margin-top: 0; padding-top: 22px; border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .court-row { grid-template-columns: 1fr; gap: 8px; } .court-lines .court-desk, .court-lines .more { margin-left: 0; } }

/* History band: photo with an overlapping dated panel */
.history-band { padding: var(--section) 0; }
.history-band .wrap { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.hist-photo { grid-column: 1 / 8; grid-row: 1; margin: 0; }
.hist-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 74% 50%; }
.hist-panel { grid-column: 6 / 13; grid-row: 1; background: var(--navy); color: var(--paper); padding: clamp(28px, 3.4vw, 52px); position: relative; z-index: 1; }
.hist-panel h2 { font-size: clamp(28px, 2.9vw, 42px); letter-spacing: -0.03em; margin-bottom: 22px; }
.dated { list-style: none; margin: 0; padding: 0; }
.dated li { padding: 14px 0; border-top: 1px solid var(--rule-light); font-size: 17.5px; line-height: 1.5; color: rgba(246,244,239,.9); }
.dated b { display: inline-block; min-width: 4.2em; font-family: var(--display); font-weight: 500; color: var(--sand); }
.hist-panel .textlink { color: var(--paper); }
@media (max-width: 960px) { .history-band .wrap { display: block; } .hist-panel { margin-top: -48px; margin-left: 16px; } }

/* Courts register */
.courts { border-top: 2px solid var(--navy); }
.court { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.court h3 { font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -0.025em; line-height: 1.12; }
.court-who { margin: 0; font-family: var(--display); font-weight: 500; font-size: 16.5px; line-height: 1.55; }
.court-who a { text-decoration-color: rgba(16,41,75,.35); }
.court-what { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 860px) { .court { grid-template-columns: 1fr; gap: 8px; } }

/* History */
.history { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hist-fig { margin: 0; }
.hist-fig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 50%; }
@media (max-width: 860px) { .hist-fig img { aspect-ratio: 4 / 3; } }
.hist-h { font-size: clamp(32px, 3.8vw, 54px); letter-spacing: -0.035em; margin-bottom: 22px; }
.history .lead { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.5; margin: 0 0 16px; }
.history .lead em { font-style: normal; color: var(--rust-deep); }
.went { margin-top: 28px; border-top: 1px solid var(--rule); }
.went p { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17.5px; }
.went b { font-family: var(--display); font-weight: 500; }
@media (max-width: 860px) { .history { grid-template-columns: 1fr; } }
.history-photo { width: 100%; height: auto; aspect-ratio: 2560 / 867; object-fit: cover; }
.history.paper > div:first-child { position: sticky; top: 110px; align-self: start; }
.history-photo-wrap { margin: 0 auto; }
.history-photo-wrap figcaption { margin-top: 10px; }
figcaption, .cap { font-family: var(--display); font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.faq-side { position: sticky; top: 110px; align-self: start; }
.faq-side .visit-card { padding: 20px 0 0; border-top: 2px solid var(--navy); }
.faq-side h2 { font-size: clamp(32px, 3.8vw, 54px); letter-spacing: -0.035em; margin-bottom: 24px; }
.faq-fig { margin: 0 0 20px; }
.faq-fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 30% 40%; }
.visit-card { font-family: var(--display); font-size: 16.5px; line-height: 1.55; margin: 0; }
.visit-card a { font-weight: 500; }
@media (max-width: 860px) { .faq-fig { display: none; } }
.faq-item { padding: 24px 0; border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item h3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 10px; }
.faq-item p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* Practice areas page */
.practice-layout { display: grid; grid-template-columns: 2.4fr 9.6fr; gap: clamp(28px, 4vw, 64px); padding-top: clamp(48px, 6vw, 88px); }
.practice-index { position: sticky; top: 96px; align-self: start; font-family: var(--display); display: grid; gap: 2px; }
.practice-index p { margin: 0 0 8px; font-size: 14.5px; color: var(--ink-2); }
.practice-index a { text-decoration: none; padding: 8px 0 8px 14px; border-left: 2px solid var(--rule); font-size: 16px; }
.practice-index a.hi { border-left-color: var(--rust); }
.practice-index a:hover { text-decoration: underline; }
.chapters .chapter { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 4vw, 56px); margin-bottom: 24px; border: 1px solid var(--rule); border-radius: 2px; scroll-margin-top: 90px; }
.chapters .chapter-dark { border-color: var(--navy); }
.acc-tag { display: inline-block; margin: 0 0 14px; font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--sand); }
.where { margin-top: 22px; font-family: var(--display); font-size: 16px; line-height: 1.5; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.two h3 { font-size: 20px; margin-bottom: 10px; }
.two .matter-lines li { grid-template-columns: 1fr; gap: 6px; }
.route { list-style: none; margin: 24px 0 0; padding: 0 0 0 28px; position: relative; }
.route::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 12px; width: 2px; background: var(--sand); }
.route li { position: relative; padding: 0 0 22px; }
.route li::before { content: ""; position: absolute; top: 5px; left: -29px; width: 14px; height: 14px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 3px var(--navy); }
.route strong { display: block; font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.2; }
.route span { display: block; margin-top: 6px; font-size: 17px; line-height: 1.5; color: rgba(246,244,239,.88); }
@media (max-width: 1100px) { .chapters .chapter { grid-template-columns: 1fr; } }
.practice-layout > *, .chapters .chapter > * { min-width: 0; }
@media (max-width: 860px) { .practice-layout { grid-template-columns: minmax(0, 1fr); } .practice-index { position: static; grid-template-columns: 1fr 1fr; } .two { grid-template-columns: 1fr; } .chapters .chapter { padding: 28px 20px; } }

.jump { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; }
.chapter-dark .chapter-intro { color: rgba(246,244,239,.9); }
.jump a { font-family: var(--display); font-size: 15.5px; font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1.5px solid var(--rule); border-radius: 2px; }
.jump a:hover { border-color: var(--navy); }
.chapters { margin-top: clamp(32px, 4vw, 56px); }
.chapter { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 64px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.chapter-side { align-self: start; }
.chapter h2 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.03em; overflow-wrap: break-word; }
.spec-line { font-family: var(--display); font-size: 15px; font-weight: 500; margin: 14px 0 0; display: inline-flex; gap: 8px; align-items: center; }
.spec-line::before { content: ""; width: 22px; height: 2px; background: var(--rust); display: inline-block; }
.on-dark .spec-line::before { background: var(--sand); }
.chapter-intro { margin-top: 0; color: var(--ink-2); }
.chapter-dark .muted { color: rgba(246,244,239,.86); }
.handled { font-family: var(--display); font-size: 16.5px; line-height: 1.55; }
.chapter-act { margin-top: 18px; }
.chapter-dark { background: var(--navy); color: var(--paper); border-top: 0; }
.chapter-dark + .chapter { border-top: 0; }
.chapter-dark .chapter-intro { color: rgba(246,244,239,.86); }
.chapter-dark .spec-line { color: var(--sand); }
.lead-who { margin: 18px 0 0; font-family: var(--display); font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.lead-who span { display: block; font-size: 14.5px; font-weight: 400; letter-spacing: 0; color: inherit; opacity: .8; margin-bottom: 2px; }
.chapter-act { margin-top: 26px; }
.chapter-dark .firm-list li { border-color: var(--rule-light); }
.chapter-dark + .chapter-dark { border-top: 1px solid var(--rule-light); }
@media (max-width: 860px) { .chapter-side { position: static; } }
.firm-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.firm-list li { break-inside: avoid; padding: 12px 0 12px 22px; position: relative; line-height: 1.4; border-bottom: 1px solid var(--rule); }
.firm-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 2px; background: var(--rust); }
.on-dark .firm-list li::before { background: var(--sand); }
.firm-list.one { columns: 1; }
@media (max-width: 600px) { .firm-list { columns: 1; } }
.pull { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 14px; }
.matter-lines { list-style: none; margin: 0; padding: 0; }
.matter-lines li { padding: 20px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: baseline; }
.matter-lines li:last-child { border-bottom: 1px solid var(--rule); }
.matter-lines strong { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.015em; line-height: 1.2; }
.matter-lines span { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.on-dark .matter-lines li { border-color: var(--rule-light); }
.on-dark .matter-lines span { color: rgba(246,244,239,.84); }
@media (max-width: 700px) { .matter-lines li { grid-template-columns: 1fr; gap: 6px; } }

/* Team page */
.team-layout { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(32px, 5vw, 80px); }
.team-index { position: sticky; top: 100px; align-self: start; font-family: var(--display); }
.team-index h2 { font-size: 15px; font-weight: 500; letter-spacing: 0; margin: 22px 0 6px; color: var(--ink-2); }
.team-index h2:first-child { margin-top: 0; }
.team-index a { display: block; text-decoration: none; padding: 6px 0; font-size: 16.5px; }
.team-index a:hover { text-decoration: underline; }
.bio { padding: 0 0 clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule); scroll-margin-top: 100px; }
.bio:last-child { border-bottom: 0; }
.bio h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.035em; }
.bio .role { font-family: var(--display); font-size: 16px; font-weight: 500; margin: 12px 0 4px; }
.bio .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; line-height: 1.45; margin: 10px 0 26px; font-family: var(--display); font-size: 15px; color: var(--ink-2); }
.bio .facts span::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--rust); margin-right: 8px; transform: translateY(-1px); }
.bio .body { max-width: 66ch; }
.bio .body p:first-child { font-size: 21px; line-height: 1.5; }
.roster { display: none; list-style: none; margin: 0 0 48px; padding: 0; border-top: 2px solid var(--navy); }
.roster li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); }
.roster a { font-weight: 500; font-size: 18px; }
.roster span { font-size: 15px; color: var(--ink-2); text-align: right; }
.bio-call { font-family: var(--display); font-size: 16.5px; margin-top: 18px; }
.bio-matters { font-family: var(--display); font-size: 15.5px; margin: 0 0 18px; }
.bio-matters a { font-weight: 500; }
.more-bio summary { cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 16.5px; text-decoration: underline; text-underline-offset: .25em; min-height: 44px; display: flex; align-items: center; }
.more-bio[open] summary { margin-bottom: 12px; }
.bio-call a { font-weight: 500; }
@media (max-width: 860px) { .team-layout { grid-template-columns: 1fr; } .team-index { position: static; display: none; } .roster { display: block; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.contact-facts dl { margin: 0; }
.contact-facts dt { font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink-2); margin-top: 26px; }
.contact-facts dt:first-child { margin-top: 0; }
.contact-facts dd { margin: 4px 0 0; font-size: 20px; }
.contact-facts dd a { font-family: var(--display); font-weight: 500; }
.form { background: var(--haze-2); padding: clamp(24px, 4vw, 48px); border-radius: 2px; }
.form h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 8px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-family: var(--display); font-weight: 500; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid rgba(16,41,75,.4); background: #fff; color: var(--ink); border-radius: 2px; min-height: 50px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--rust); outline-offset: 0; border-color: var(--navy); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
.form-note { margin-top: 18px; padding: 16px 18px; background: var(--navy); color: var(--paper); font-size: 17px; border-radius: 2px; }
.form-note a { color: var(--sand); font-weight: 500; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer: the same ridge closes the page */
.site-foot { background: var(--navy); color: var(--paper); position: relative; margin-top: clamp(70px, 8vw, 120px); }
.foot-ridge { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(50px, 7vw, 110px); width: 100%; display: block; }
.foot-ridge path { fill: var(--navy); }
.foot-grid { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: 32px; padding: 56px 0 40px; }
.foot-grid h2 { font-size: 15px; font-weight: 500; letter-spacing: 0; color: rgba(246,244,239,.7); margin-bottom: 12px; }
.foot-grid p, .foot-grid li { font-size: 16.5px; line-height: 1.55; margin: 0 0 6px; color: rgba(246,244,239,.88); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid a { color: var(--paper); }
.foot-grid li a, .foot-legal a { display: inline-block; padding: 6px 0; }
.foot-grid li { margin: 0; }
.foot-grid .big { font-family: var(--display); font-size: 22px; font-weight: 500; text-decoration: none; }
.foot-legal { border-top: 1px solid var(--rule-light); padding: 22px 0 32px; font-size: 14.5px; color: rgba(246,244,239,.76); display: grid; gap: 6px; }
.foot-legal a { color: var(--paper); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

.team-call { font-family: var(--display); font-size: 17px; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 2px solid var(--navy); }
.team-call a { font-weight: 500; }
.bio:not(.principal) h2 { font-size: clamp(28px, 3vw, 40px); }
.faq-side .faq-fig { margin-top: 28px; display: block; }
@media (max-width: 860px) { .faq-side .faq-fig { display: none; } }
a { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
