:root {
  color-scheme: light;
  --ink: #162221;
  --forest: #102624;
  --deep: #082f2a;
  --teal: #0b6057;
  --green: #45d6b5;
  --orange: #ff8a3d;
  --gold: #ffd15b;
  --paper: #fff;
  --line: #c8d4cf;
  --muted: #465953;
  --wrap: 1240px;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.65; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.spread { padding-block: clamp(3.7rem, 7.7vw, 7.2rem); }
.skip { position: absolute; top: -120px; left: .5rem; background: white; padding: .65rem 1rem; color: var(--teal); }
.skip:focus { top: .5rem; z-index: 200; }
#main:focus { outline: 0; }
a { color: var(--teal); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #c9430d; outline-offset: 4px; }
button, select { font: inherit; }
button, summary { cursor: pointer; }
p, ul, ol, dl, figure { margin: 0; }
p + p { margin-top: .8rem; }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
h1, h2 { letter-spacing: -.06em; }
h2 { font-size: clamp(2.35rem, 5.15vw, 4.45rem); font-weight: 800; }
h3 { font-size: clamp(1.23rem, 2.2vw, 1.8rem); letter-spacing: -.032em; }
img { display: block; width: 100%; height: auto; }
picture { display: block; }
.crumbs { display: flex; flex-wrap: wrap; gap: .12rem .6rem; font-size: .78rem; margin-block: 1.05rem; color: var(--muted); }
.crumbs a { color: inherit; }
.hero { background: var(--forest); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(1rem, 3.25vw, 3.75rem); align-items: center; }
.hero-copy { padding-block: clamp(2.75rem, 7vw, 6.7rem); }
.hero h1 { font-size: clamp(3.1rem, 6.4vw, 6rem); font-weight: 820; line-height: .96; }
.hero-copy p { max-width: 44ch; margin-top: 1.35rem; color: #e0ebe7; font-size: clamp(1rem, 1.45vw, 1.19rem); }
.hero picture { border-bottom: .46rem solid var(--orange); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #536a63; padding: 0 0 .18rem; }
.facts div { padding: 1.12rem .9rem 1.22rem 0; }
.facts div + div { border-left: 1px solid #536a63; padding-left: clamp(.8rem, 2.3vw, 2.1rem); }
.facts dt { color: var(--gold); font-size: .8rem; font-weight: 750; }
.facts dd { margin: .24rem 0 0; font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.26; font-weight: 740; }
.facts dd small { font-size: .68em; }

.section-lead { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr); gap: 1rem clamp(1.6rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(1.65rem, 4vw, 3.3rem); }
.section-lead p { max-width: 54ch; }
.case-grid, .work-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.4rem); align-items: center; }
.case-lines { border-left: 4px solid var(--teal); padding-left: clamp(1rem, 3vw, 2.1rem); list-style: none; }
.case-lines li + li { border-top: 1px solid var(--line); margin-top: 1.15rem; padding-top: 1.15rem; }
.case-lines h3, .role-row h3, .work-options h3, .next-grid h3 { margin-bottom: .55rem; }
.plate { min-width: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.plate figcaption { font-size: .84rem; padding: .75rem 1rem; border-top: 1px solid var(--line); }
.case-reveal { border-left: .4rem solid var(--orange); padding: .9rem 1.05rem; margin-top: 1.7rem; background: #f1f4f2; }
summary { font-weight: 760; }
details p, details ul { margin-top: .6rem; }
.in-text { margin-top: 1rem; font-size: .93rem; }

.roles { background: var(--deep); color: #fff; }
.roles .section-lead, .role-row { border-bottom: 1px solid #55736a; padding-bottom: clamp(1.6rem, 3.75vw, 3.1rem); }
.roles .section-lead p, .roles .role-foot { color: #dfebe7; }
.role-row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.25rem, 5vw, 4.6rem); align-items: center; }
.role-row + .role-row { padding-top: clamp(1.6rem, 3.75vw, 3.1rem); }
.role-row h3 { color: var(--gold); }
.role-reverse { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.role-reverse > div { grid-column: 2; grid-row: 1; }
.role-reverse > figure { grid-column: 1; grid-row: 1; }
.read-link { display: inline-flex; justify-content: space-between; gap: .8rem; align-items: center; font-weight: 750; margin-top: .9rem; }
.roles a { color: var(--green); }
.next-start a { color: #fff; }
.next-start .link-rows a:hover { color: var(--gold); }
.roles :focus-visible, .next-start :focus-visible, .state-section :focus-visible { outline-color: var(--gold); }
.role-foot { margin-top: 1rem; font-size: .94rem; }

.work-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.work-options article { border-top: 1px solid var(--line); padding-block: .9rem; }
.work-options article:first-child { border-top: 4px solid var(--orange); }
.work-options article:last-child { padding-bottom: 0; }

.state-section { background: var(--forest); color: white; }
.state-section .section-lead p { color: #e0eae7; }
.state-controls { max-width: 30rem; margin-bottom: 1rem; }
.state-controls label { display: block; color: var(--gold); font-size: .84rem; font-weight: 760; margin-bottom: .34rem; }
.state-controls select { min-height: 3.2rem; padding: .52rem .76rem; border: 1px solid var(--line); border-radius: .18rem; }
.state-controls select { width: 100%; color: var(--ink); background: #fff; font-weight: 720; }
.state-profile { background: #fff; color: var(--ink); border-top: .38rem solid var(--green); padding: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.state-profile h3 { font-size: clamp(1.55rem, 3.2vw, 2.7rem); }
.state-pay { display: block; color: var(--teal); font-size: clamp(1.85rem, 4.1vw, 3.6rem); line-height: 1; letter-spacing: -.05em; margin-top: .6rem; font-variant-numeric: tabular-nums; }
.state-hour { display: block; color: var(--muted); margin: .35rem 0 .75rem; font-size: .9rem; }
.state-path { font-size: clamp(1.18rem, 2vw, 1.5rem); line-height: 1.25; font-weight: 780; margin-top: 1rem; }
.state-detail { margin-top: .25rem; }
 .state-overview, .state-numbers { padding: clamp(1.15rem, 3.25vw, 2.3rem); }
.state-numbers { border-left: 1px solid var(--line); background: #f1f4f2; }
.state-label { font-size: .83rem; font-weight: 750; }
.state-pay { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.state-numbers h4 { margin: 1.4rem 0 .5rem; font-size: .95rem; }
.state-rents div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: .5rem; }
.state-rents dd { margin: 0; font-weight: 780; font-variant-numeric: tabular-nums; }
.rent-caption { font-size: .76rem; color: var(--muted); margin-top: .5rem; }
.state-note { margin-top: .8rem; font-size: .86rem; color: #e0eae7; }
.state-sources, .references { margin-top: 1rem; padding-top: .65rem; border-top: 1px solid #55736a; font-size: .9rem; }
.state-sources a { color: var(--green); }

.next-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 1rem; }
.next-grid article { padding: clamp(1.25rem, 4vw, 3rem); }
.next-start { color: #fff; background: var(--deep); border-top: .36rem solid var(--green); }
.next-cases { border: 1px solid var(--line); border-top: .36rem solid var(--orange); }
.link-rows, .case-links { list-style: none; padding: 0; margin: 1rem 0 0; }
.link-rows li { border-top: 1px solid #55736a; }
.link-rows a { min-height: 2.9rem; display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-block: .5rem; font-weight: 710; text-decoration: none; }
.link-rows a:hover { text-decoration: underline; }
.case-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.case-links a { display: inline-block; padding: .35rem .6rem; border: 1px solid var(--line); font-weight: 710; font-size: .86rem; }
.references { border-color: var(--line); }
.references ul { padding-left: 1.2rem; }

@media (max-width: 780px) {
  .section-lead, .case-grid, .work-grid { grid-template-columns: 1fr; }
  .work-grid > figure { grid-row: 2; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .hero-grid, .role-row, .hero .facts, .next-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 0; }
  .hero-copy { padding-block: 2.25rem 1.5rem; }
  .hero h1 { font-size: clamp(2.55rem, 9vw, 3.6rem); max-width: 12ch; }
  .hero picture { margin-bottom: 1.15rem; }
  .facts div, .facts div + div { border-left: 0; padding: .65rem 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: baseline; gap: .6rem; }
  .facts div + div { border-top: 1px solid #536a63; }
  .role-reverse > div, .role-reverse > figure { grid-column: auto; grid-row: auto; }
  .state-profile { grid-template-columns: 1fr; }
  .state-numbers { border-left: 0; border-top: 1px solid var(--line); }
}

@media print {
  .site-head, .guide-nav { display: none; }
}
