:root {
  color-scheme: light;
  --navy: #102334;
  --deep-navy: #0b1d2b;
  --ivory: #f2eadd;
  --paper: #fbf8f2;
  --teal: #70c9b9;
  --deep-teal: #175e54;
  --ink: #162a39;
  --muted: #4d5a62;
  --hero-muted: #c0cdd0;
  --rule: #d8dcd6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
body, h1, h2, h3, p, dl, dd, ol { margin: 0; }
a { color: var(--deep-teal); font-weight: 650; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2 { font-family: var(--serif); letter-spacing: -.045em; text-wrap: balance; }
h2 { line-height: 1.08; }
section[id] { scroll-margin-top: 2rem; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }

.skip-link { position: absolute; inset-block-start: .5rem; inset-inline-start: .5rem; background: var(--paper); padding: .6rem 1rem; transform: translateY(-150%); z-index: 2; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--deep-navy); border-bottom: 1px solid #304959; color: var(--ivory); }
.header-layout { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1rem; }
.masthead { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; text-decoration: none; color: var(--ivory); font: bold clamp(1.35rem, 3vw, 1.85rem)/1.15 var(--serif); letter-spacing: -.04em; }
.masthead img { border-radius: 50%; flex: none; }
.masthead-last { color: var(--teal); font-style: italic; }
nav { display: flex; gap: clamp(1.2rem, 3vw, 2.3rem); align-items: center; }
nav a { color: var(--hero-muted); font-size: .92rem; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--ivory); text-decoration: underline; }
nav .nav-community { color: var(--teal); padding-inline-start: 1.15rem; border-inline-start: 1px solid #3b5360; }

.hero { color: var(--ivory); background: radial-gradient(ellipse at 75% 85%, #1b3a46 0%, var(--navy) 59%, var(--deep-navy) 100%); border-bottom: 3px solid var(--teal); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 1fr); gap: clamp(2rem, 6.2vw, 6.5rem); align-items: center; padding-block: clamp(3.2rem, 6.3vw, 6.25rem); }
.brand-line { margin-bottom: 1.2rem; color: var(--ivory); font: bold 1.22rem/1.4 var(--serif); }
.brand-line em { color: var(--teal); }
h1 { font-size: clamp(3.1rem, 6.2vw, 5.45rem); line-height: .99; }
.hero-dek { max-width: 37rem; margin-top: 1.5rem; color: var(--hero-muted); font-size: clamp(1.04rem, 2vw, 1.24rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .63rem 1.05rem; border: 1px solid transparent; border-radius: .32rem; text-align: center; text-decoration: none; font-size: .95rem; font-weight: 700; line-height: 1.3; }
.button-primary { background: var(--teal); color: #0b302c; }
.button-primary:hover { background: #9edcce; }
.button-secondary { border-color: #759097; color: var(--ivory); }
.button-secondary:hover { background: #254452; }
.button-dark { background: var(--navy); color: var(--ivory); }
.button-dark:hover { background: #23495b; }

.case-card { align-self: center; padding: 1.3rem 1.45rem 1.35rem; border: 1px solid #65858a; border-top: 3px solid var(--teal); border-radius: .55rem; background: #102735; box-shadow: 0 1.2rem 3rem #07192358; }
.case-card-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; font-size: 1rem; font-weight: 700; }
.case-status { color: #c1eee2; font-size: .85rem; border: 1px solid #58857b; border-radius: 1rem; padding: .1rem .55rem; }
.case-date { display: flex; align-items: center; gap: .85rem; margin-block: .85rem; }
.date-number { color: var(--teal); font: bold 4.1rem/.98 var(--serif); letter-spacing: -.085em; }
.date-month { color: var(--ivory); font-weight: 700; }
.case-date p:not(.date-month) { color: var(--hero-muted); font-size: .9rem; }
.case-facts > div { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: .45rem; border-block-start: 1px solid #3d5b67; padding-block: .65rem; font-size: .9rem; line-height: 1.4; }
.case-facts dt { color: var(--hero-muted); }
.case-facts dd { color: var(--ivory); font-weight: 650; text-align: right; }
.case-facts .unresolved { color: var(--teal); }
.case-source { display: inline-block; margin-top: .6rem; color: var(--teal); font-size: .9rem; }

.case-section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-heading h2, .record-intro h2 { font-size: clamp(2.15rem, 4vw, 3.3rem); }
.checked { font-size: .9rem; color: var(--muted); }
.brief-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid #8a9a99; border-bottom: 1px solid var(--rule); }
.brief-item { padding: 1.25rem 1.6rem 1.25rem 0; }
.brief-item + .brief-item { border-left: 1px solid var(--rule); padding-left: 1.6rem; }
.brief-item h3, .timeline h3 { font-size: 1.05rem; line-height: 1.38; }
.brief-item p { margin-block: .5rem .9rem; color: var(--muted); }
.brief-item a, .timeline a { font-size: .92rem; }

.discussion-section { background: #e1eee7; border-block: 1px solid #c2d9cf; }
.discussion-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.25rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }
.section-label { font-size: .9rem; color: var(--deep-teal); font-weight: 760; margin-bottom: .65rem; }
.discussion-layout h2 { font-size: clamp(2.15rem, 4vw, 3.45rem); }
.discussion-details { max-width: 24rem; }
.discussion-details .button { margin-block: .85rem .55rem; }
.small-note { font-size: .9rem; color: var(--muted); }

.record-section { display: grid; grid-template-columns: minmax(13rem, .7fr) minmax(0, 1.3fr); gap: clamp(1.6rem, 5vw, 5rem); padding-block: clamp(3.2rem, 6vw, 5.7rem); }
.record-intro p:not(.section-label) { margin-top: .75rem; color: var(--muted); max-width: 20rem; }
.timeline { list-style: none; padding: 0; }
.timeline li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .65rem; padding-block: 1rem; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline time { font-size: .9rem; font-weight: 700; color: var(--deep-teal); }
.timeline p { margin-block: .2rem .35rem; color: var(--muted); }
.site-footer { background: var(--deep-navy); color: var(--hero-muted); }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: .85rem 2.5rem; padding-block: 1.65rem; }
.footer-layout p { max-width: 37rem; font-size: .95rem; }
.footer-name { color: var(--ivory); font: bold 1.5rem/1.3 var(--serif); white-space: nowrap; }
.footer-name em, .site-footer a { color: var(--teal); }

.project-hero .hero-layout { grid-template-columns: minmax(0, 1.5fr) minmax(15rem, .85fr); }
.project-hero h1 { max-width: 15ch; font-size: clamp(2.7rem, 5.8vw, 4.6rem); line-height: 1.03; }
.project-scope { color: var(--teal); font-size: .94rem; font-weight: 750; margin-bottom: .95rem; }
.project-summary p { margin-top: .7rem; color: var(--hero-muted); }
.project-summary a { display: inline-block; margin-top: .8rem; color: var(--teal); }
.project-content { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); align-items: start; gap: clamp(2rem, 5vw, 4.6rem); padding-block: clamp(2.6rem, 5vw, 4.3rem); }
.project-content h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .85rem; }
.project-proposal > p + p { margin-top: 1rem; }
.project-proposal > h3 { font-size: 1.13rem; margin-block: 1.6rem .45rem; }
.project-proposal .project-addition { margin-block: 1.15rem; border-inline-start: 3px solid var(--deep-teal); padding-inline-start: 1rem; }
.project-addition p + p { margin-top: .65rem; }
.project-sources { border-top: 1px solid var(--rule); padding-top: .85rem; margin-top: 1.35rem; font-size: .95rem; }
.project-task { border: 1px solid #b5d1c5; border-top: 3px solid var(--deep-teal); border-radius: .45rem; background: #e1eee7; padding: clamp(1.15rem, 3vw, 1.55rem); }
.project-task h2 { font-size: clamp(1.65rem, 3vw, 2.05rem); margin-bottom: .55rem; }
.project-task p + p { margin-top: .75rem; }
.project-task ol { padding-inline-start: 1.35rem; margin-block: .7rem .85rem; }
.project-task li + li { margin-top: .32rem; }
.project-task .button { margin-block: 1rem .7rem; }
.project-task .small-note { font-size: .93rem; }
.project-log { max-width: 73rem; border-top: 1px solid var(--rule); padding-block: 1.2rem 3rem; color: var(--muted); }
.project-log time { font-weight: 700; color: var(--deep-teal); }

@media (max-width: 860px) {
  .hero-layout { grid-template-columns: minmax(0, 1.1fr) minmax(17.5rem, .9fr); gap: 1.8rem; }
  .desktop-break { display: none; }
  .brief-item, .brief-item + .brief-item { padding-inline: 1rem; }
  .brief-item:first-child { padding-left: 0; }
}
@media (max-width: 675px) {
  .wrap { width: calc(100% - 2rem); }
  .header-layout { flex-wrap: wrap; gap: .65rem; padding-block: .7rem; }
  .masthead img { width: 36px; height: 36px; }
  nav { gap: .4rem 1rem; flex-wrap: wrap; }
  nav .nav-community { padding-inline-start: .8rem; }
  .hero-layout, .discussion-layout, .record-section { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { padding-block: 2.6rem; }
  h1 { font-size: clamp(2.8rem, 10vw, 4.3rem); }
  .brand-line { margin-bottom: .75rem; }
  .hero-dek { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.3rem; }
  .case-card { padding: 1rem 1.1rem; }
  .brief-grid { grid-template-columns: minmax(0, 1fr); }
  .brief-item, .brief-item + .brief-item { border-left: 0; padding: 1rem 0; }
  .brief-item + .brief-item { border-top: 1px solid var(--rule); }
  .footer-layout { align-items: start; flex-direction: column; }
  .project-hero .hero-layout, .project-content { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 370px) {
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .hero-actions .button { flex-grow: 1; }
}

@media print {
  @page { margin: .65in; }
  .project-page { background: #fff; color: #111; font: 10.5pt/1.38 var(--sans); }
  .project-page .site-header, .project-page .site-footer, .project-page .skip-link,
  .project-page .hero-actions, .project-page .project-summary, .project-task, .project-log { display: none; }
  .project-page .wrap { width: 100%; }
  .project-hero { background: none; color: #111; border: 0; }
  .project-hero .hero-layout, .project-content { display: block; padding: 0; }
  .project-hero h1 { max-width: none; font-size: 25pt; }
  .project-hero .hero-dek { color: #222; font-size: 11pt; margin: .6rem 0 .9rem; }
  .project-content h2 { font-size: 16pt; margin: 0 0 .4rem; }
  .project-proposal > h3 { margin-block: .7rem .3rem; }
  .project-proposal .project-addition { margin-block: .6rem; }
  .project-sources { margin-top: .7rem; }
}
