/* The Utah Docket
   Redesign, Nov. 15, 2026. Docket-sheet layout: every story list carries its date in a left column.
   Type: Newsreader (headlines, reading text), Public Sans (navigation, dates, labels, tables).
   Color: navy ink, salt gray bands, beehive gold for labels and the one large callout. */

:root {
  --ink: #16233a;
  --ink-2: #4a5870;
  --paper: #ffffff;
  --salt: #edf1f4;
  --rule: #cbd4dc;
  --gold: #8a5a00;
  --gold-hi: #e0b54a;
  --mark: #fff4d6;
  --on-ink: #d3dbe6;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: max(1.25rem, calc((100% - 72rem) / 2));
  --date-col: 6.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------------------------------------------------------------- header */
.bar {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.25rem; row-gap: 0.2rem;
  padding: 0.95rem var(--gut) 0.9rem;
  background: var(--ink); color: #fff;
  border-bottom: 4px solid var(--gold-hi);
}
.bar :focus-visible { outline-color: var(--gold-hi); }
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.1;
  letter-spacing: -0.012em; text-decoration: none; color: #fff;
}
.wordmark:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.tagline, .edition { margin: 0; font-family: var(--sans); font-size: 0.875rem; color: var(--on-ink); }
.edition { margin-left: auto; font-variant-numeric: tabular-nums; }

.sections {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--rule);
}
.sections-in {
  display: flex; gap: 1.6rem; padding: 0 var(--gut);
  overflow-x: auto; scrollbar-width: none;
}
.sections-in::-webkit-scrollbar { display: none; }
.sections a {
  flex: none; padding: 0.8rem 0 0.65rem;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none;
  border-bottom: 3px solid transparent;
}
.sections a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.sections a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------------------------------------------------------------- shared labels */
.where {
  display: block; margin: 0 0 0.25rem;
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; line-height: 1.35;
  color: var(--gold);
}
.byline {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 0 0 1.5rem;
  font-family: var(--sans); font-size: 0.875rem; color: var(--ink-2);
}
.byline strong { color: var(--ink); font-weight: 600; }
.more {
  display: inline-block; margin-top: 0.25rem;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--gold);
}
.kicker {
  display: flex; flex-wrap: wrap; gap: 0.25rem 1rem;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--gold);
}
.kicker span + span { color: var(--ink-2); font-weight: 500; }

/* ---------------------------------------------------------------- front page */
.front {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3.5rem;
  padding: 3rem var(--gut) 3.5rem;
}
.lead h2 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.125rem, 3.7vw, 2.9rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.016em;
  text-wrap: balance;
}
.lead h2 a { text-decoration: none; }
.lead h2 a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.lead .dek { margin: 0 0 1rem; max-width: 36em; font-size: 1.3125rem; line-height: 1.45; color: var(--ink-2); }
.cols { columns: 2; column-gap: 2.25rem; margin-bottom: 0.5rem; }
.cols p { margin: 0 0 1em; font-size: 1.0625rem; }

.clockbar {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.75rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
}
.clockbar .big {
  font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 6.5vw, 4.75rem); line-height: 0.9;
  letter-spacing: -0.025em; color: var(--gold); font-variant-numeric: lining-nums;
}
.clockbar p { margin: 0; max-width: 30em; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.clockbar .lbl { display: block; margin-bottom: 0.15rem; font-weight: 700; color: var(--ink); }

.sec-h {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--ink);
}
.sec-h h3 { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; font-weight: 700; }
.sec-h a { flex: none; font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--gold); }

/* docket rows: date in the left column */
.brief-list { list-style: none; margin: 0; padding: 0; }
.brief-list li {
  display: grid; grid-template-columns: var(--date-col) minmax(0, 1fr); column-gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--rule);
}
.brief-list li > * { grid-column: 2; }
.brief-list .when {
  grid-column: 1; grid-row: 1 / span 3; padding-top: 0.15rem;
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; line-height: 1.35;
  color: var(--ink-2); font-variant-numeric: tabular-nums; text-wrap: balance;
}
.brief-list .hd {
  display: block; font-size: 1.25rem; line-height: 1.25; font-weight: 600; text-decoration: none;
  text-wrap: pretty;
}
.brief-list .hd:hover { color: var(--ink); text-decoration: underline; }
.brief-list .sm { display: block; margin-top: 0.3rem; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.side { --date-col: 5.25rem; }
.side .brief-list .hd { font-size: 1.125rem; }

/* data center band */
.dc-band { padding: 3rem var(--gut) 3.25rem; background: var(--salt); }
.dc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3.5rem; margin-top: 1.75rem; }
.dc-feature h2 {
  margin: 0.3rem 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.012em;
  text-wrap: balance;
}
.dc-feature h2 a { text-decoration: none; }
.dc-feature h2 a:hover { color: var(--ink); text-decoration: underline; }
.dc-feature .dek { margin: 0 0 1rem; font-size: 1.1875rem; line-height: 1.45; color: var(--ink-2); }
.dc-feature .teaser { margin: 0 0 0.75rem; font-size: 1.0625rem; }
.dc-band .brief-list li { display: block; }

.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1rem; border-top: 2px solid var(--ink);
}
.stat { display: grid; align-content: start; gap: 0.15rem; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--rule); }
.stat:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--rule); }
.stat .n { font-family: var(--serif); font-weight: 700; font-size: 2rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat .l { font-family: var(--sans); font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.stat .s { font-family: var(--sans); font-size: 0.75rem; line-height: 1.35; color: var(--ink-2); }

/* two-column bands */
.band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; padding: 3rem var(--gut) 3.5rem; }
.band + .band { background: var(--salt); }

.watch { margin-top: 1.75rem; padding: 1.2rem 1.25rem 0.9rem; background: var(--salt); border-top: 3px solid var(--gold); }
.band + .band .watch { background: var(--paper); }
.watch h4 { margin: 0 0 0.5rem; font-family: var(--sans); font-size: 0.9375rem; font-weight: 700; }
.watch p { margin: 0 0 0.6rem; font-size: 1rem; line-height: 1.45; }
.rail .watch { margin-top: 0; }

/* ---------------------------------------------------------------- footer */
.about {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem;
  padding: 2.5rem var(--gut) 3rem;
  background: var(--ink); color: var(--on-ink);
}
.about h4 { margin: 0 0 0.4rem; font-family: var(--sans); font-size: 0.9375rem; font-weight: 700; color: #fff; }
.about p { margin: 0; max-width: 38em; font-size: 1rem; line-height: 1.55; }

/* ---------------------------------------------------------------- section pages */
.section-page {
  display: grid; grid-template-columns: minmax(0, 1fr) 18.5rem; gap: 4rem;
  padding: 3rem var(--gut) 4rem;
}
.section-page h1 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(2.5rem, 5.2vw, 3.75rem); line-height: 1; font-weight: 700; letter-spacing: -0.022em;
}
.intro {
  margin: 0 0 0.5rem; padding-bottom: 1.75rem; padding-right: max(0px, calc(100% - 34em));
  font-size: 1.3125rem; line-height: 1.45; color: var(--ink-2);
  border-bottom: 2px solid var(--ink);
}
.section-page .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.5rem 0 0.5rem; }
.section-page .stat { padding-left: 1rem; border-left: 1px solid var(--rule); }
.section-page .stat:first-child { padding-left: 0; border-left: 0; }

.entry {
  display: grid; grid-template-columns: var(--date-col) minmax(0, 1fr); column-gap: 1.5rem;
  padding: 1.75rem 0; border-bottom: 1px solid var(--rule);
  scroll-margin-top: 4rem;
}
.entry .when {
  margin: 0; padding-top: 0.3rem; text-wrap: balance;
  font-family: var(--sans); font-size: 0.875rem; font-weight: 600; line-height: 1.35;
  color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.entry h2 { margin: 0.1rem 0 0.6rem; font-size: 1.625rem; line-height: 1.2; font-weight: 700; text-wrap: balance; }
.entry h2 a { text-decoration: none; }
.entry h2 a:hover { color: var(--ink); text-decoration: underline; }
.entry .e-main > p { margin: 0 0 0.8rem; max-width: 40em; }
.lead-entry h2 { font-size: clamp(1.875rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -0.012em; }
.cites { font-family: var(--sans); font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.cites a { color: var(--ink-2); }
.cites a:hover { color: var(--gold); }

/* rail */
.rail { display: flex; flex-direction: column; gap: 1.5rem; align-self: start; min-width: 0; }
.box { padding: 1.2rem 1.25rem 1rem; background: var(--salt); }
.box h3, .clock h3 { margin: 0 0 0.6rem; font-family: var(--sans); font-size: 0.9375rem; font-weight: 700; }
.box ul { margin: 0; padding-left: 1.1rem; font-size: 1rem; line-height: 1.45; }
.box li { margin-bottom: 0.5rem; }
.box p { margin: 0.5rem 0; font-size: 1rem; line-height: 1.45; }
.box > p > a { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--gold); }
.toc { list-style: none; padding: 0 !important; }
.toc li { margin: 0; border-top: 1px solid var(--rule); }
.toc li:first-child { border-top: 0; }
.toc a { display: block; padding: 0.45rem 0; font-size: 0.9375rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

.docket { list-style: none; padding: 0 !important; }
.docket li {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.75rem;
  margin: 0; padding: 0.5rem 0; border-top: 1px solid var(--rule); font-size: 0.9375rem; line-height: 1.4;
}
.docket li:first-child { border-top: 0; }
.docket .d { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.docket .future { color: var(--ink-2); }
.docket .future .d { color: var(--gold); }

.clock { padding: 1.25rem; background: var(--ink); color: #fff; }
.clock h3 { color: var(--on-ink); }
.clock .big { font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 1.1; color: var(--gold-hi); }
.clock p { margin: 0.6rem 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--on-ink); }

/* ---------------------------------------------------------------- articles */
.story {
  display: grid; grid-template-columns: minmax(0, 42rem) 18.5rem; justify-content: space-between; gap: 4rem;
  padding: 3rem var(--gut) 4rem;
}
.story h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.125rem, 4.2vw, 3rem); line-height: 1.07; font-weight: 700; letter-spacing: -0.018em;
  text-wrap: balance;
}
.story .dek { margin: 0 0 1.25rem; font-size: 1.375rem; line-height: 1.45; color: var(--ink-2); }
.story .byline { margin-bottom: 2rem; padding: 0.75rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.body { font-size: 1.1875rem; line-height: 1.65; }
.body p { margin: 0 0 1.15em; }
.body h2 { margin: 2.25rem 0 0.75rem; font-size: 1.5rem; line-height: 1.25; font-weight: 700; }
.body .pull {
  margin: 2rem 0; padding-left: 1.25rem; border-left: 4px solid var(--gold);
  font-size: 1.625rem; line-height: 1.3; font-weight: 500; font-style: italic;
}
.body .note {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2);
}
.sources h2 { margin: 2rem 0 0.75rem; font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.sources ol { margin: 0; padding-left: 1.25rem; font-family: var(--sans); font-size: 0.875rem; line-height: 1.5; }
.sources li { margin-bottom: 0.5rem; overflow-wrap: anywhere; scroll-margin-top: 4rem; }
.sources .src { color: var(--ink-2); }
.law li { margin-bottom: 0.5rem; }

.body .explainer {
  margin: 2.5rem 0 2.75rem; padding: 1.5rem 1.75rem 0.6rem;
  background: var(--salt); border-top: 3px solid var(--ink);
}
.body .explainer h2 { margin-top: 0; }
.body .explainer h3 { margin: 1.75rem 0 0.5rem; font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; }
.body .explainer p { font-size: 1.0625rem; line-height: 1.6; }
@media (max-width: 560px) { .body .explainer { padding: 1.25rem 1.1rem 0.4rem; } }

/* ---------------------------------------------------------------- trackers and tables */
.trk-h {
  margin: 3rem 0 0.5rem; padding-top: 1rem; border-top: 2px solid var(--ink);
  font-size: 1.75rem; line-height: 1.2; font-weight: 700; scroll-margin-top: 4rem;
}
.bill-h { margin: 1.75rem 0 0.5rem; font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; }
.trk-note { margin: 0 0 1rem; max-width: 42em; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.tw { overflow-x: auto; }
.tracker { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.875rem; line-height: 1.45; }
.tracker caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tracker th {
  padding: 0.6rem 0.9rem 0.6rem 0; text-align: left; vertical-align: bottom;
  font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); border-bottom: 2px solid var(--ink);
}
.tracker td { padding: 0.85rem 0.9rem 0.85rem 0; vertical-align: top; border-bottom: 1px solid var(--rule); }
.tracker td:first-child { width: 24%; }
.tracker td:nth-child(2) { width: 17%; }
.tracker td:nth-child(3) { width: 19%; }
.tracker.op td:first-child { width: 50%; }
.tracker strong { font-weight: 700; }
.tracker tr:target td { background: var(--mark); }
.dev { display: block; margin-top: 0.15rem; font-size: 0.8125rem; color: var(--ink-2); }
.tsrc { display: block; margin-top: 0.4rem; font-size: 0.75rem; line-height: 1.45; color: var(--ink-2); }
.tsrc a { color: var(--ink-2); }
.st { margin-right: 0.35rem; font-weight: 700; white-space: nowrap; }
.st::before {
  content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.35em;
  border-radius: 50%; background: currentColor; vertical-align: 0.05em;
}
.st-under-construction, .st-permit-approved { color: #1d6b3f; }
.st-proposed { color: var(--gold); }
.st-planned, .st-planned-or-under-construction { color: #2f5da8; }
.st-paused, .st-on-hold { color: #8a3b12; }
.trk-list { margin: 0; padding: 0; list-style: none; }
.trk-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.5; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .front, .band, .dc-grid, .section-page, .story { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .story > article { max-width: 42rem; }
}
@media (max-width: 760px) {
  .cols { columns: 1; }
  .section-page .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-page .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .tracker thead { display: none; }
  .tracker, .tracker tbody, .tracker tr, .tracker td { display: block; width: auto !important; }
  .tracker tr { padding: 0.6rem 0; border-bottom: 1px solid var(--ink); }
  .tracker td { padding: 0.2rem 0; border: 0; }
  .tracker td:not(:first-child)::before {
    content: attr(data-l) ": "; font-size: 0.75rem; font-weight: 700; color: var(--ink-2);
  }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .bar { padding-top: 0.8rem; padding-bottom: 0.75rem; }
  .wordmark { font-size: 1.5rem; }
  .edition { display: none; }
  .front, .band, .dc-band, .section-page, .story { padding-top: 2rem; padding-bottom: 2.5rem; }
  .brief-list li, .entry { grid-template-columns: minmax(0, 1fr); }
  .brief-list li > *, .brief-list .when, .entry .when { grid-column: 1; grid-row: auto; }
  .brief-list .when, .entry .when { padding-top: 0; margin-bottom: 0.15rem; }
  .clockbar { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .body { font-size: 1.125rem; }
}
