/* Layout concept: a bound law report in the journal's own navy and gold. Navy bands carry the masthead,
   paper pages carry the text, and a shelf of spines holds the archive. */
:root {
  --paper: #F8F8F5; --ink: #121F36; --muted: #526078; --rule: #D3D9E4; --wash: #ECEFF5;
  --buckram: #0E2447; --on-buckram: #F2F4F8; --on-buckram-soft: #BAC6DA;
  --gilt: #875F0B; --gilt-bright: #E0B95A; --gilt-ink: #14213A;
  --cover: #FCFAF3; --cover-ink: #0E2447; --cover-rule: #B8912F;
  --head: #FCFAF3; --head-ink: #0E2447; --head-accent: #875F0B;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --caslon: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0B1424; --ink: #E8ECF4; --muted: #A2AEC4; --rule: #26344E; --wash: #142035; --buckram: #12294F; --gilt: #E0B95A; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #0B1424; --ink: #E8ECF4; --muted: #A2AEC4; --rule: #26344E; --wash: #142035; --buckram: #12294F; --gilt: #E0B95A; color-scheme: dark; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--buckram); }
* { box-sizing: border-box; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; }
.band :focus-visible, .site-head :focus-visible { outline-color: var(--gilt-bright); }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
h2 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; }
h3 { font-family: var(--ui); font-size: 1rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.prose { max-width: 40em; display: grid; gap: 1em; }
.muted { color: var(--muted); }
.label { font-family: var(--ui); font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.ph { background: var(--mark-bg); color: var(--mark-fg); padding: .05em .3em; border-bottom: 1px dashed currentColor; font-style: normal; }

.draft-note { background: var(--mark-bg); color: var(--mark-fg); font-family: var(--ui); font-size: .85rem; line-height: 1.4; padding-block: 8px; }

.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--buckram); color: var(--on-buckram); border-bottom: 1px solid color-mix(in srgb, var(--gilt-bright) 35%, transparent); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.brand svg { width: 24px; height: 24px; flex: none; }
.brand i { font-family: var(--caslon); font-size: .92em; }
.menu-btn { display: none; font: 600 .9rem var(--ui); color: inherit; background: none; border: 1px solid var(--on-buckram-soft); padding: 7px 12px; cursor: pointer; }
.nav { display: flex; align-items: center; gap: 4px; font-family: var(--ui); font-size: .92rem; font-weight: 500; }
.nav a { text-decoration: none; padding: 8px 10px; }
.nav a:hover { color: var(--gilt-bright); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gilt-bright); }
.nav a.nav-submit { background: var(--gilt-bright); color: var(--gilt-ink); margin-left: 8px; padding-inline: 14px; }
.nav a.nav-submit:hover { color: var(--gilt-ink); background: var(--on-buckram); }

.band { background: var(--buckram); color: var(--on-buckram); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(40px, 7vw, 76px); }
.hero-text { min-width: 0; display: grid; gap: 22px; }
.masthead { font-family: var(--display); font-size: clamp(3.4rem, 12vw, 7.6rem); line-height: .95; letter-spacing: -.012em; }
.masthead i { font-family: var(--caslon); font-size: .9em; letter-spacing: -.03em; color: var(--gilt-bright); }
.subtitle { font-family: var(--caslon); font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.3; max-width: 28em; }
.lede { max-width: 34em; color: var(--on-buckram-soft); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; font: 600 .95rem/1.2 var(--ui); padding: 12px 18px; text-decoration: none; border: 1px solid var(--gilt-bright); cursor: pointer; }
.btn.solid { background: var(--gilt-bright); color: var(--gilt-ink); }
.btn.line { background: none; color: var(--on-buckram); }
.btn.line:hover { background: color-mix(in srgb, var(--gilt-bright) 18%, transparent); }
.btn.solid:hover { background: var(--on-buckram); border-color: var(--on-buckram); }
.btn.plain { background: none; color: var(--ink); border-color: var(--ink); }
.btn.plain:hover { background: var(--wash); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-buckram-soft) 40%, transparent); }
.facts dt { font-family: var(--ui); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-buckram-soft); }
.facts dd { margin: 2px 0 0; font-family: var(--caslon); font-size: 1.05rem; }

.cover { display: block; text-decoration: none; background: var(--cover); color: var(--cover-ink); aspect-ratio: 7 / 10; max-width: 100%; padding: 8% 9%; box-shadow: 10px 12px 0 rgba(0, 0, 0, .28); transition: transform .2s ease; }
.cover:hover { transform: translateY(-4px); }
.cover-frame { height: 100%; border: 1px solid var(--cover-rule); padding: 9% 7%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; gap: 8px; }
.cover svg { width: 44%; height: auto; }
.cover-name { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1; }
.cover-sub { font-family: var(--caslon); font-size: .76rem; line-height: 1.35; }
.cover-meta { font-family: var(--ui); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }

.cfp { background: var(--wash); border-bottom: 1px solid var(--rule); }
.cfp-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 14px; font-family: var(--ui); font-size: .98rem; }
.cfp-row a { font-weight: 600; }

.section { padding-block: clamp(44px, 7vw, 72px); border-bottom: 1px solid var(--rule); }
.section:last-child { border-bottom: 0; }
.stack { display: grid; gap: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); }
.split > * { min-width: 0; }
.head-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.text-link { font-family: var(--ui); font-size: .95rem; font-weight: 600; color: var(--gilt); }

.shelf { display: flex; align-items: flex-end; gap: 4px; height: 210px; overflow: hidden; border-bottom: 6px solid var(--buckram); padding-top: 10px; }
.spine { flex: 0 0 46px; height: 100%; background: var(--buckram); color: var(--on-buckram); text-decoration: none; writing-mode: vertical-rl; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .05em; border-top: 3px solid var(--gilt-bright); border-bottom: 3px solid var(--gilt-bright); transition: transform .18s ease; }
.spine:hover, .spine:focus-visible { transform: translateY(-8px); }
.spine .sp-name { font-family: var(--caslon); font-size: .95rem; font-weight: 400; letter-spacing: 0; }
.ghost { flex: 0 0 46px; height: 100%; border: 1px dashed var(--rule); border-bottom: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--ui); font-size: .86rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 12px; height: 18px; display: inline-block; background: var(--buckram); }
.key.dash { background: none; border: 1px dashed var(--muted); }

.subjects { columns: 2; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.subjects li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--rule); }
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.quad > div { display: grid; gap: 6px; align-content: start; }
.quad p, .pub p { color: var(--muted); font-size: 1rem; }
.pub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pub > div { display: grid; gap: 6px; align-content: start; }

blockquote { margin: 0; font-family: var(--caslon); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; display: grid; gap: 1em; }
.byline { font-family: var(--ui); font-size: .95rem; }

.page-head { padding-block: clamp(30px, 5vw, 52px); display: grid; gap: 10px; }
.crumb { font-family: var(--ui); font-size: .86rem; color: var(--on-buckram-soft); }
.crumb a { color: inherit; }
.page-head h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; }
.page-head p { max-width: 36em; color: var(--on-buckram-soft); }

.meta { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); margin: 0; font-size: 1rem; }
.meta dt, .meta dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--rule); }
.meta dt { font-family: var(--ui); font-size: .9rem; font-weight: 600; padding-right: 16px; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; font-variant-numeric: tabular-nums; }
th { font-family: var(--ui); font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; text-align: left; padding: 8px 16px 8px 0; border-bottom: 2px solid var(--ink); }
td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.seat { padding: 14px 0; border-top: 1px solid var(--rule); display: grid; gap: 2px; }
.seat small { font-family: var(--ui); font-size: .85rem; color: var(--muted); }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); padding: 12px 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 1.6rem; line-height: 1.1; color: var(--gilt); }
.checks { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); align-self: start; display: grid; gap: 2px; }
.toc button { all: unset; cursor: pointer; font-family: var(--ui); font-size: .92rem; padding: 5px 0; }
.toc button:hover { color: var(--gilt); }
.toc button:focus-visible { outline: 2px solid var(--gilt); }
.layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
.layout > * { min-width: 0; }
.article { display: grid; gap: 44px; }
.article section { display: grid; gap: 14px; scroll-margin-top: 96px; }
.note { font-family: var(--ui); font-size: .92rem; line-height: 1.45; }
.cite { font-family: var(--body); background: var(--wash); padding: 12px 14px; font-size: 1rem; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 4px; min-width: 0; font-family: var(--ui); font-size: .88rem; font-weight: 500; }
.field.full { grid-column: 1 / -1; }
.field input, .field select { font: 400 1rem var(--ui); padding: 9px 10px; border: 1px solid var(--muted); background: var(--paper); color: var(--ink); width: 100%; border-radius: 0; }
#cl-out { width: 100%; min-height: 330px; font: 400 .98rem/1.5 var(--body); padding: 12px; border: 1px solid var(--rule); background: var(--wash); color: var(--ink); resize: vertical; border-radius: 0; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#cl-status { font-family: var(--ui); font-size: .9rem; color: var(--muted); }

.site-foot { background: var(--buckram); color: var(--on-buckram); font-family: var(--ui); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 40px 28px; }
.foot-grid > div { display: grid; gap: 6px; align-content: start; }
.foot-name { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.foot-grid a { text-decoration: none; color: var(--on-buckram-soft); }
.foot-grid a:hover { color: var(--gilt-bright); }
.foot-grid .label { color: var(--on-buckram-soft); }
.foot-base { border-top: 1px solid color-mix(in srgb, var(--on-buckram-soft) 35%, transparent); padding-block: 14px; color: var(--on-buckram-soft); font-size: .85rem; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--buckram); flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--gilt-bright); }
  .nav.open { display: flex; }
  .nav a.nav-submit { margin: 8px 0 0; text-align: center; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .cover { width: 230px; }
  .split, .layout, .pub { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quad, .board, .form { grid-template-columns: minmax(0, 1fr); }
  .subjects { columns: 1; }
  .meta { grid-template-columns: minmax(0, 1fr); }
  .meta dd { border-top: 0; padding-top: 0; }
  .shelf { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover, .spine { transition: none; }
  .cover:hover, .spine:hover, .spine:focus-visible { transform: none; }
}

body::before { background: var(--head); }
.site-head { background: var(--head); color: var(--head-ink); border-bottom: 2px solid var(--gilt-bright); }
.site-head :focus-visible { outline-color: var(--head-ink); }
.brand { font-size: 1.55rem; gap: 10px; }
.brand img { height: 46px; width: auto; display: block; }
.head-row { min-height: 70px; }
.nav { gap: 0; font-size: .88rem; }
.nav a { padding: 8px 8px; }
.nav a:hover { color: var(--head-accent); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--head-accent); }
.nav a.nav-submit { background: var(--head-ink); color: var(--head); }
.nav a.nav-submit:hover { background: var(--head-accent); color: var(--head); }
.menu-btn { border-color: var(--head-ink); }
.masthead span { color: var(--gilt-bright); }
.tagline { font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gilt-bright); }
.cover-frame { justify-content: space-between; padding: 8% 6%; }
.cover-frame img { width: 92%; display: block; }
.cover-theme { font-family: var(--caslon); font-size: .84rem; line-height: 1.35; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; }
.person img { width: 120px; height: 148px; object-fit: cover; display: block; }
.person div { display: grid; gap: 3px; }
.person b { font-family: var(--caslon); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.person p { font-size: .98rem; color: var(--muted); }
.poster { width: 100%; height: auto; display: block; box-shadow: 8px 10px 0 var(--wash); }
.dates { border-top: 3px solid var(--buckram); }
.downloads { display: grid; gap: 0; }
.downloads a, .downloads span.dl { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule); font-family: var(--ui); font-size: .95rem; font-weight: 500; text-decoration: none; }
.downloads a:hover { color: var(--gilt); }
.downloads em { font-style: normal; color: var(--muted); font-weight: 400; white-space: nowrap; }
.big-note { font-family: var(--caslon); font-size: 1.15rem; line-height: 1.5; }
.foot-grid { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
.foot-mail { color: var(--on-buckram) !important; }
.not-found { padding-block: 80px; display: grid; gap: 16px; justify-items: start; }
@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--head); flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 2px solid var(--gilt-bright); font-size: 1rem; }
  .nav.open { display: flex; }
  .nav a.nav-submit { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 900px) { .people { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .person { grid-template-columns: 96px minmax(0, 1fr); } .person img { width: 96px; height: 118px; } }

body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.prose { align-content: start; }
body::before { background: var(--head); }
.site-head { background: var(--head); color: var(--head-ink); border-bottom: 2px solid var(--gilt-bright); }
.site-head :focus-visible { outline-color: var(--head-ink); }
.brand { font-size: 1.55rem; gap: 10px; }
.brand img { height: 46px; width: auto; display: block; }
.head-row { min-height: 70px; }
.nav { gap: 0; font-size: .88rem; }
.nav a { padding: 8px 8px; }
.nav a:hover { color: var(--head-accent); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--head-accent); }
.nav a.nav-submit { background: var(--head-ink); color: var(--head); }
.nav a.nav-submit:hover { background: var(--head-accent); color: var(--head); }
.menu-btn { border-color: var(--head-ink); }
.masthead span { color: var(--gilt-bright); }
.tagline { font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gilt-bright); }
.cover-frame { justify-content: space-between; padding: 8% 6%; }
.cover-frame img { width: 92%; display: block; }
.cover-theme { font-family: var(--caslon); font-size: .84rem; line-height: 1.35; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; }
.person img { width: 120px; height: 148px; object-fit: cover; display: block; }
.person div { display: grid; gap: 3px; }
.person b { font-family: var(--caslon); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.person p { font-size: .98rem; color: var(--muted); }
.poster { width: 100%; height: auto; display: block; box-shadow: 8px 10px 0 var(--wash); }
.dates { border-top: 3px solid var(--buckram); }
.downloads { display: grid; gap: 0; }
.downloads a, .downloads span.dl { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule); font-family: var(--ui); font-size: .95rem; font-weight: 500; text-decoration: none; }
.downloads a:hover { color: var(--gilt); }
.downloads em { font-style: normal; color: var(--muted); font-weight: 400; white-space: nowrap; }
.big-note { font-family: var(--caslon); font-size: 1.15rem; line-height: 1.5; }
.foot-grid { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
.foot-mail { color: var(--on-buckram) !important; }
.not-found { padding-block: 80px; display: grid; gap: 16px; justify-items: start; }
@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--head); flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 2px solid var(--gilt-bright); font-size: 1rem; }
  .nav.open { display: flex; }
  .nav a.nav-submit { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 900px) { .people { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .person { grid-template-columns: 96px minmax(0, 1fr); } .person img { width: 96px; height: 118px; } }
