/* Counsel of Record enhancements: loaded after the document's base stylesheet. */
:root {
  --cor-paper: #fbf8f0;
  --cor-paper-deep: #f3ede0;
  --cor-ink: #17201e;
  --cor-muted: #5d625b;
  --cor-red: #a62e22;
  --cor-red-dark: #742117;
  --cor-line: #cfc7b7;
  --cor-shadow: rgba(43, 35, 22, .11);
}

html { scroll-behavior: smooth; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 100; background: #17201e; color: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: .5rem; color: #fff; }
[hidden] { display: none !important; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.optional { font-weight: 400; color: var(--cor-muted); }
.connected-form fieldset:disabled { opacity: .55; }
.connected-form fieldset:disabled button { cursor: not-allowed; }
.connected-form .consent label { margin: 0; font-weight: 400; }
.form-status:empty { display: none; }
.record-exhibit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1.5rem; margin-top: 2rem; border: 1px solid var(--cor-line); background: #fffdf8; }
.record-exhibit figure { margin: 0; }
.record-exhibit img { display: block; width: 100%; height: 15rem; object-fit: contain; background: #f3ede0; }
.record-exhibit figcaption { font-size: .75rem; color: var(--cor-muted); margin-top: .6rem; }
.record-exhibit h3 { font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.15 var(--display); margin: .5rem 0; }
.record-exhibit p { color: var(--cor-muted); }
body { background: var(--cor-paper); color: var(--cor-ink); }
a { color: var(--cor-red-dark); text-underline-offset: .14em; text-decoration-thickness: 1px; }
a:hover { color: var(--cor-red); }
:focus-visible { outline: 3px solid var(--cor-red); outline-offset: 3px; }
.wrap { max-width: 76rem; padding-inline: clamp(1rem, 3vw, 2rem); }

.caption { background: linear-gradient(180deg, #fffdf7, var(--cor-paper)); border-bottom: 4px double var(--cor-ink); padding-block: 1.15rem .8rem; }
.caption .court { color: var(--cor-muted); font-size: .67rem; letter-spacing: .2em; }
.caption .sitename { font-size: clamp(1.55rem, 4vw, 2.35rem); letter-spacing: .055em; max-width: none; }
.caption .vs { margin-block: .28rem; }
.caption .docketno { font-size: .69rem; color: var(--cor-muted); }
nav.main { background: rgba(251,248,240,.94); border-bottom-color: var(--cor-line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); }
nav.main .navwrap { justify-content: flex-start; gap: clamp(.8rem, 2.5vw, 1.8rem); padding: .67rem clamp(1rem, 3vw, 2rem); overflow-x: auto; flex-wrap: nowrap; }
nav.main a { flex: 0 0 auto; font-size: .76rem; letter-spacing: .1em; }
nav.main a[aria-current="page"] { border-bottom-color: var(--cor-red); color: var(--cor-red-dark); }

main { padding-block: clamp(1.5rem, 4vw, 3.5rem) 4rem; }
.hero { grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem); gap: clamp(1.5rem, 5vw, 4rem); padding: .7rem 0 2.6rem; }
.hero h2 { font-size: clamp(2.05rem, 4.6vw, 3.65rem); line-height: 1.04; max-width: 17ch; letter-spacing: -.035em; }
.hero .lede { font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.58; }
.kicker { color: var(--cor-red-dark); }
.filedbox { background: #fffdf8; border-color: var(--cor-ink); box-shadow: 5px 5px 0 var(--cor-shadow); color: var(--cor-muted); }
.stamp { color: var(--cor-red); border-color: var(--cor-red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.hero-actions a { font-family: var(--display); font-size: .76rem; font-weight: 800; letter-spacing: .1em; padding: .7rem .95rem; text-decoration: none; text-transform: uppercase; }
.hero-actions a:first-child { background: var(--cor-ink); color: #fffdf7; }
.hero-actions a:first-child:hover { background: var(--cor-red-dark); }
.hero-actions a + a { border: 1px solid var(--cor-ink); color: var(--cor-ink); }

section.block { padding-top: clamp(2.2rem, 5vw, 4.5rem); }
.sec-head { gap: .85rem; }
.sec-num { color: var(--cor-red); font-size: clamp(2rem, 4vw, 3.15rem); }
.sec-head h2 { font-size: clamp(1.05rem, 2vw, 1.42rem); }
.sec-head .rule { border-color: var(--cor-ink); }
.docket { background: rgba(255,253,248,.64); box-shadow: 0 1px 0 var(--cor-shadow); }
.docket th { background: var(--cor-ink); }
.docket td { border-bottom-color: var(--cor-line); }
.docket tr:hover td { background: #f7f0e3; }
.docket .entry a { color: var(--cor-ink); }
.docket .entry a:hover { color: var(--cor-red); }
.docket .entry p { color: var(--cor-muted); }
.table-wrap { border-color: var(--cor-line); border-radius: 2px; background: #fffdf8; box-shadow: 0 2px 9px var(--cor-shadow); scrollbar-color: var(--cor-red) var(--cor-paper-deep); }
.table-wrap:focus-visible { outline-offset: 4px; }
.table-wrap .docket { margin: 0; min-width: 39rem; }
.table-wrap table { min-width: 38rem; }

.filterbar { background: #fffdf8; border-block: 1px solid var(--cor-line); padding: .85rem 0; }
.filterbar input, .filterbar select, .filterbar button { border: 1px solid var(--cor-line); border-radius: 0; font: inherit; min-height: 2.5rem; padding: .45rem .65rem; }
.filterbar input { background: #fffdf8; flex: 1 1 14rem; color: var(--cor-ink); }
.filterbar select { background: #fffdf8; color: var(--cor-ink); }
.filterbar button { background: var(--cor-ink); color: #fffdf7; cursor: pointer; font-family: var(--display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.filterbar button:hover { background: var(--cor-red-dark); }
#result-count, #no-results { color: var(--cor-muted); font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; }
#no-results { border-left: 3px solid var(--cor-red); padding-left: .75rem; }

article.sprigpost-document, .longform { max-width: 46rem; font-size: clamp(1.04rem, 1.3vw, 1.15rem); line-height: 1.76; }
article.sprigpost-document h1, .longform h1 { font-size: clamp(2.1rem, 5vw, 3.65rem); letter-spacing: -.035em; max-width: 19ch; }
article.sprigpost-document h2, .longform h2 { margin-top: 2.8rem; scroll-margin-top: 5rem; }
article.sprigpost-document h3, .longform h3 { margin-top: 2rem; }
article.sprigpost-document > p:first-of-type { color: var(--cor-muted); }
.article-tools { color: var(--cor-muted); display: flex; flex-wrap: wrap; font-family: var(--mono); font-size: .73rem; gap: .5rem 1rem; letter-spacing: .06em; margin: .85rem 0 1.25rem; text-transform: uppercase; }
.article-breadcrumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; margin: 0 0 1rem; text-transform: uppercase; }
.article-breadcrumb a { color: var(--cor-muted); }
.toc { background: #f7f0e3; border-color: var(--cor-line); border-left: 4px solid var(--cor-red); padding: 1.1rem 1.3rem; }
.toc ul { columns: 2; column-gap: 2rem; }
.toc li { break-inside: avoid; }
article.sprigpost-document figure { margin: 2rem 0; }
article.sprigpost-document figure img { display: block; width: 100%; background: var(--cor-paper-deep); }
article.sprigpost-document figcaption { border-left: 2px solid var(--cor-red); color: var(--cor-muted); font-size: .83rem; line-height: 1.55; margin-top: .7rem; padding-left: .75rem; }
article.sprigpost-document .table-wrap { max-width: calc(100vw - 2rem); }

.connected-form { background: #fffdf8; border: 1px solid var(--cor-line); max-width: 42rem; padding: clamp(1rem, 3vw, 1.75rem); }
.connected-form fieldset { border: 0; margin: 0; padding: 0; }
.connected-form label { display: block; font-family: var(--display); font-size: .9rem; font-weight: 700; margin: .9rem 0 .3rem; }
.connected-form input, .connected-form textarea, .connected-form select { background: #fffdf8; border: 1px solid var(--cor-line); border-radius: 0; color: var(--cor-ink); font: inherit; max-width: 100%; padding: .65rem .75rem; width: 100%; }
.connected-form textarea { min-height: 8rem; resize: vertical; }
.connected-form button { background: var(--cor-ink); border: 0; color: #fffdf7; cursor: pointer; font-family: var(--display); font-size: .78rem; font-weight: 800; letter-spacing: .1em; margin-top: 1rem; padding: .75rem 1rem; text-transform: uppercase; }
.connected-form button:hover { background: var(--cor-red-dark); }
.connected-form .consent, .connected-form .service-note, .form-status, .newsletter-state { color: var(--cor-muted); font-size: .86rem; }
.connected-form .consent input { accent-color: var(--cor-red); margin-top: .3rem; width: auto; }
.form-status, .newsletter-state { border-left: 3px solid var(--cor-red); margin-top: 1rem; padding-left: .75rem; }
.back-to-top { background: var(--cor-ink); border: 0; bottom: 1rem; color: #fffdf7; cursor: pointer; font-family: var(--display); font-size: .72rem; font-weight: 800; letter-spacing: .08em; opacity: 0; padding: .7rem .8rem; pointer-events: none; position: fixed; right: 1rem; text-transform: uppercase; transform: translateY(.5rem); transition: opacity .18s ease, transform .18s ease; z-index: 30; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero h2 { max-width: 20ch; }
  .filedbox { max-width: 24rem; }
  .toc ul { columns: 1; }
  .record-exhibit { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }
  .filterbar { display: grid; grid-template-columns: 1fr; gap: .45rem; }
  .filterbar input { min-width: 0; width: 100%; }
  .table-wrap .docket { min-width: 0; display: table; }
  .docket thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .docket tbody { display: block; }
  .docket tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 1rem; border-bottom: 1px solid var(--cor-line); }
  .docket tbody td { border: 0; padding: .2rem 0; }
  .docket .no { grid-column: 1; grid-row: 1; }
  .docket .entry { grid-column: 1 / -1; grid-row: 2; padding-top: .6rem; }
  .docket td:last-child { grid-column: 2; grid-row: 1; }
  .docket .stamp { padding: .12rem .4rem; font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back-to-top { transition: none; }
}
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  nav.main, .hero-actions, .back-to-top, .filterbar, #progress { display: none !important; }
  .caption { border-color: #000; }
  .table-wrap { box-shadow: none; overflow: visible; }
  .table-wrap table, .table-wrap .docket { min-width: 0; }
  a { color: #000; text-decoration: underline; }
}
