@font-face { font-family: "Caslon Display"; src: url("fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caslon Text"; src: url("fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caslon Text"; src: url("fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Franklin"; src: url("fonts/libre-franklin-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --paper: #1F1C1C;
  --deep: #161313;
  --stone: #292524;
  --ink: #F1EDE4;
  --muted: #B5AEA8;
  --gold: #D2A766;
  --gold-line: #B48338;
  --rule: #3D3836;
  --display: "Caslon Display", "Caslon Text", "Big Caslon", Georgia, serif;
  --text: "Caslon Text", "Big Caslon", Georgia, serif;
  --ui: "Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --margin-col: 13rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--gold-line); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, address { margin: 0; padding: 0; font-style: normal; }
ul, ol { list-style: none; }
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; font-family: var(--ui); font-size: 0.9rem; z-index: 20; }
.skip:focus { left: 0; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
.topbar .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-block: 0.9rem; }
.brand { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; font-family: var(--ui); font-size: 0.875rem; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--muted); white-space: nowrap; padding-block: 0.2rem; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3.1rem, 8.4vw, 6.25rem); line-height: 0.98; letter-spacing: -0.01em; }
.fullname { margin-top: 1rem; font-style: italic; font-size: 1.2rem; color: var(--muted); }
.calling { margin-top: 1.75rem; max-width: 34rem; font-size: 1.2rem; line-height: 1.55; }
.firm { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--ink); display: flex; align-items: center; gap: 1.1rem; max-width: 34rem; }
.firm img { width: 4rem; height: auto; flex: none; }
.firm-role { font-family: var(--display); font-size: 1.55rem; line-height: 1.2; }
.firm-place { margin-top: 0.25rem; font-family: var(--ui); font-size: 0.875rem; color: var(--muted); }
.also { margin-top: 1.25rem; max-width: 34rem; font-family: var(--ui); font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.also li + li { margin-top: 0.2rem; }
.also b { font-weight: 500; color: var(--ink); }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-block; font-family: var(--ui); font-size: 0.9375rem; font-weight: 500; line-height: 1; padding: 0.9rem 1.3rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.btn-solid { background: var(--gold); border-color: var(--gold); color: var(--paper); }
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.portrait { display: block; width: 100%; }

/* Sections: heading in the margin, as in a law report */
.section { border-top: 1px solid var(--rule); padding-block: clamp(3rem, 7vw, 5rem); }
.section > .wrap { display: grid; grid-template-columns: var(--margin-col) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4rem); }
.section h2, .section h1 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.15; align-self: start; position: sticky; top: 5rem; }
.section h2::after, .section h1::after { content: ""; display: block; width: 2.25rem; height: 1px; background: var(--gold-line); margin-top: 1rem; }
.section[id] { scroll-margin-top: 3.5rem; }
.intro { max-width: 40rem; color: var(--muted); margin-bottom: 2.25rem; }
h3 { font-family: var(--text); font-weight: 400; font-style: italic; font-size: 1.35rem; line-height: 1.3; margin: 3rem 0 0.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--ink); }
.body > h3:first-child, .intro + h3 { margin-top: 0; }
h4 { font-family: var(--text); font-weight: 400; font-size: 1.15rem; line-height: 1.4; }

/* Profile */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); gap: clamp(2rem, 4vw, 3.5rem); }
.prose p { max-width: 38rem; }
.prose p + p { margin-top: 1.1rem; }
.prose p:first-child { font-size: 1.2rem; line-height: 1.6; }
.panel + .panel { margin-top: 2.25rem; }
.panel-title { font-style: italic; font-size: 1.1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--ink); margin-bottom: 0.4rem; }
.areas li, .creds > div { padding-block: 0.55rem; border-bottom: 1px solid var(--rule); font-size: 0.95rem; line-height: 1.45; }
.creds dt { font-family: var(--ui); font-size: 0.8125rem; color: var(--gold); }
.creds small { display: block; font-family: var(--ui); font-size: 0.8125rem; color: var(--muted); margin-top: 0.15rem; }

/* Dated entries */
.ledger > li, .works > li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 1.5rem; padding-block: 1.15rem; border-bottom: 1px solid var(--rule); }
.works > li { grid-template-columns: 4rem minmax(0, 1fr); }
.ledger .d, .works .y { font-family: var(--ui); font-size: 0.875rem; color: var(--gold); padding-top: 0.3rem; font-variant-numeric: tabular-nums; }
.org { font-style: italic; margin-top: 0.1rem; }
.desc, .earlier { margin-top: 0.4rem; font-size: 0.97rem; line-height: 1.6; color: var(--muted); max-width: 40rem; }
.earlier b { font-weight: 400; color: var(--ink); }
.meta { margin-top: 0.2rem; font-size: 0.97rem; color: var(--muted); }
.links { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; font-family: var(--ui); font-size: 0.875rem; }
.cite { margin-top: 0.5rem; font-family: var(--ui); font-size: 0.875rem; }
.cite summary { cursor: pointer; color: var(--muted); width: fit-content; }
.cite p { margin-top: 0.4rem; padding: 0.75rem 1rem; background: var(--stone); font-family: var(--text); font-size: 0.95rem; line-height: 1.55; }
.footnote { margin-top: 1.5rem; font-family: var(--ui); font-size: 0.8125rem; color: var(--muted); }

/* Featured article */
.feature { background: var(--stone); padding: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 3rem; }
.feature .label, .feature .yr, .feature .jr { font-family: var(--ui); font-size: 0.875rem; color: var(--muted); }
.feature .label { color: var(--gold); font-weight: 500; }
.feature .label::after, .feature .yr::after { content: ","; }
.feature h4 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.22; margin-top: 0.75rem; max-width: 38rem; }
.feature h4 + p { margin-top: 0.9rem; max-width: 40rem; color: var(--muted); font-size: 1rem; }

/* Commentary */
.outlet-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; margin-top: 3rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--ink); }
.outlet:first-of-type .outlet-head { margin-top: 0; }
.outlet-head h3 { margin: 0; padding: 0; border: 0; }
.outlet-head span, .outlet-head a { font-family: var(--ui); font-size: 0.875rem; color: var(--muted); }
.columns > li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 1.5rem; padding-block: 0.8rem; border-bottom: 1px solid var(--rule); line-height: 1.45; }
.columns time { font-family: var(--ui); font-size: 0.875rem; color: var(--gold); padding-top: 0.2rem; font-variant-numeric: tabular-nums; }
.columns a { text-decoration: none; }
.columns a:hover { text-decoration: underline; }

/* Recognition */
.honours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.honours li { padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.honours strong { display: block; font-weight: 400; font-size: 1.1rem; line-height: 1.4; }
.honours span { display: block; margin-top: 0.3rem; font-size: 0.95rem; line-height: 1.55; color: var(--muted); }

/* Offices */
.offices-band { background: var(--stone); }
.firm-line { display: flex; align-items: center; gap: 1.1rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--ink); }
.firm-line img { width: 4.5rem; flex: none; }
.firm-line .name { font-family: var(--display); font-size: 1.75rem; line-height: 1.2; }
.firm-line .sub { font-family: var(--ui); font-size: 0.875rem; color: var(--muted); margin-top: 0.2rem; }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.offices li { padding-block: 1.35rem; border-bottom: 1px solid var(--rule); }
.offices .where { font-family: var(--ui); font-size: 0.875rem; font-weight: 500; color: var(--gold); }
.offices address { margin-top: 0.3rem; font-size: 1.1rem; line-height: 1.5; max-width: 20rem; }

/* Contact */
.contact { background: var(--deep); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); scroll-margin-top: 3.5rem; }
.contact .wrap { display: grid; grid-template-columns: var(--margin-col) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4rem); }
.contact h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.15; }
.contact h2::after { content: ""; display: block; width: 2.25rem; height: 1px; background: var(--gold-line); margin-top: 1rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.contact .note { max-width: 26rem; color: #CFCAC5; margin-bottom: 1.5rem; }
.contact dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid #3D3836; }
.contact dt { font-family: var(--ui); font-size: 0.875rem; color: #D2A766; padding-top: 0.2rem; }
.contact dd { overflow-wrap: anywhere; }
.contact a { text-decoration-color: #7A6240; }
.contact a:hover { color: #E3BE84; }
.contact .btn { border-color: #fff; color: #fff; }
.contact .btn-solid { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.contact .btn:hover { border-color: #E3BE84; color: #E3BE84; }
.contact .btn-solid:hover { background: #E3BE84; color: var(--deep); }

footer.site { background: var(--deep); color: #CFCAC5; border-top: 1px solid #4A4443; font-family: var(--ui); font-size: 0.8125rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem; }

@media (max-width: 60rem) {
  .section > .wrap, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .section h2, .section h1, .contact h2 { position: static; margin-bottom: 2rem; }
  .profile { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 46rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-portrait { order: -1; max-width: 13rem; }
  .honours, .offices, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .ledger > li, .columns > li { grid-template-columns: minmax(0, 1fr); row-gap: 0.15rem; }
  .ledger .d, .columns time { padding-top: 0; }
  .works > li { grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; }
  .topbar .wrap { flex-direction: column; gap: 0.4rem; padding-block: 0.7rem; }
  .nav { width: 100%; gap: 1.25rem; }
  .section[id], .contact { scroll-margin-top: 5.5rem; }
  .contact dl > div { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .topbar, .actions { display: none; }
  .contact, footer.site { background: #fff; color: #000; }
}

/* Multi-page additions */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: 0 1px 0 var(--gold-line); }
.section.first { border-top: 0; }
.practice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; border-top: 1px solid var(--ink); }
.practice li { padding-block: 1.4rem; border-bottom: 1px solid var(--rule); }
.practice h3 { font-family: var(--display); font-style: normal; font-size: 1.6rem; line-height: 1.2; margin: 0; padding: 0; border: 0; }
.practice p { margin-top: 0.6rem; font-size: 0.97rem; line-height: 1.6; color: var(--muted); }
.instruct { margin-top: 1.5rem; max-width: 40rem; color: var(--muted); }
.instruct a { color: var(--ink); }
.more { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-family: var(--ui); font-size: 0.9375rem; font-weight: 500; }
.feature { margin-bottom: 0; }
.feature + h3, .feature + .works { margin-top: 3rem; }
@media (max-width: 46rem) { .practice { grid-template-columns: minmax(0, 1fr); } }
.firm img, .firm-line img { filter: invert(1) brightness(0.93); }
@media print { .firm img, .firm-line img { filter: none; } :root { --paper: #fff; --stone: #f3f3f3; --ink: #000; --muted: #333; --gold: #6b4a1a; --rule: #ccc; } }
