/* ===========================================================================
   Dirty Deals — An Oklahoma Accountability Project
   Brand tokens first, then layout in page order.
   =========================================================================== */

:root {
  /* Paper and ink */
  --paper:    #F4F0E7;   /* page background */
  --card:     #FBF8F1;   /* raised panels: tip line, case files */
  --ink:      #1B1917;   /* headings, hard rules */
  --body:     #3A352F;   /* running text */
  --muted:    #5A544C;   /* labels, eyebrows */
  --faint:    #8C857A;   /* "coming soon" text */
  --rule:     #C9C0AE;   /* hairlines, input borders */
  --tan:      #D8C9A3;   /* source-list ticks, scrollbar */

  /* Stamp red */
  --red:      #8A2A22;
  --red-dark: #6A1E18;

  /* The hatched placeholder fill on empty video slots */
  --hatch-a:  #EAE4D6;
  --hatch-b:  #E1DACA;

  --serif: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --mono:  'Courier Prime', 'Courier New', Courier, monospace;

  --wrap:  1180px;
  --gutter: 20px;
}

/* --------------------------------------------------------------- base ---- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }

::selection { background: var(--red); color: var(--paper); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { letter-spacing: -.01em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Anchored panels sit below the sticky masthead. */
[id] { scroll-margin-top: 110px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 13px;
  z-index: 50;
}
.skip:focus { left: 8px; top: 8px; color: var(--paper); }

/* Small caps-y monospace label used all over the page. */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.eyebrow--red   { color: var(--red); font-size: 11px; letter-spacing: .2em; margin-bottom: 10px; }
.eyebrow--tight { font-size: 10px; letter-spacing: .2em; margin-bottom: 14px; }

/* ----------------------------------------------------------- masthead ---- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand__mark { height: 46px; width: auto; display: block; }
.brand__words {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav a { color: var(--ink); }
.nav a:hover { color: var(--red); }
.nav__out { color: var(--red); }

/* --------------------------------------------------------------- hero ---- */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 48px;
  align-items: start;
  padding: 60px 0 52px;
  border-bottom: 1px solid var(--rule);
}

.hero__lede { min-width: 0; }

.hero__logo { margin: 0 0 26px -6px; }
.hero__logo img { width: 100%; max-width: 520px; display: block; }

.hero__hook {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 18px;
  max-width: 22em;
  text-wrap: pretty;
}

.hero__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 26px;
  max-width: 34em;
  text-wrap: pretty;
}

/* -------------------------------------------------------------- buttons -- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--tight { gap: 12px; margin-bottom: 26px; }

.btn {
  display: inline-block;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }

.btn--solid {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.btn--solid:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--paper); }

.btn--ghost { color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* Case-file row: lighter weight than the hero pair. */
.btn--outline {
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 20px;
  font-size: 12px;
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--soon {
  border: 1px dashed var(--rule);
  color: var(--faint);
  padding: 12px 20px;
  font-size: 12px;
  cursor: default;
}

/* ----------------------------------------------------------- tip line ---- */

.tip {
  min-width: 0;
  border: 1px solid var(--rule);
  background: var(--card);
  padding: 26px;
}

.tip__title { font-size: 26px; font-weight: 700; margin: 0 0 8px; }

.tip__body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 18px;
  text-wrap: pretty;
}

.tip__fine {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0 0;
}

/* Once a tip is sent, Action Network swaps its form for a thank-you block.
   The card's heading, pitch and fine print would otherwise stay stacked
   around it; the original design dropped them at this point, so do the same. */
#tip:has(#can_thank_you) .tip__title,
#tip:has(#can_thank_you) .tip__body,
#tip:has(#can_thank_you) .tip__fine { display: none; }

/* If Action Network's script is blocked or down, the card would sit empty.
   This link waits a few seconds before appearing and disappears the moment
   the form renders, so on a normal load nobody ever sees it. */
.an-fallback {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  visibility: hidden;
  animation: an-fallback-in 0s 4s forwards;
}
.an-form:has(#can_embed_form) .an-fallback { display: none; }
@keyframes an-fallback-in { to { visibility: visible; } }

/* ================================================== Action Network form -- */

/* The tip form is Action Network's embed ("got-a-dirty-deal"). It renders
   real DOM into #can-form-area-got-a-dirty-deal — no iframe — so everything
   below restyles their markup in place to match the card around it.

   Their stylesheet (loaded first, in <head>) sets nearly everything with
   !important on two-ID selectors. Every rule here is anchored to #tip, which
   adds a third ID, so these win on specificity rather than on load order.
   Don't shorten the selectors — the form quietly reverts to Action Network's
   Helvetica-and-orange look. */

/* The embed's own boxes: no border, padding, float or Helvetica. */
#tip .can_embed,
#tip #can_embed_form,
#tip #can_embed_form #can_embed_form_inner {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* Action Network titles the form twice (an h2 and an h4, both "Got a dirty
   deal?") and repeats the card's fine print as its own disclaimer. The card
   already shows both. */
#tip #can_embed_form #can_embed_form_inner > h2,
#tip #can_embed_form #can_embed_form_inner > h4,
#tip #can_embed_form #donate_disclaimer { display: none !important; }

/* It also floats the fields and the button into two narrow columns
   (#can_embed_form.can_float). Unfloat both so the form runs the full width
   of the card, one field under another as in the design. */
#tip #can_embed_form #form_col1,
#tip #can_embed_form #form_col2 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#tip #can_embed_form ul,
#tip #can_embed_form li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: none !important;
}

/* One field per row, 14px apart — the design's original field spacing. */
#tip #can_embed_form #new_answer li.core_field,
#tip #can_embed_form #new_answer li.control-group { margin: 0 0 14px !important; }

/* ------------------------------------------------------------- labels -- */

#tip #can_embed_form #new_answer .control-label {
  display: block !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-family: var(--mono) !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
}

/* Some Action Network field types float the placeholder up into a second
   label as you type. Every field here already has a real label above it. */
#tip #can_embed_form .floatlabel-wrapper .floatlabel-label { display: none !important; }

/* ------------------------------------------------------------- fields -- */

#tip #can_embed_form #new_answer input[type="email"],
#tip #can_embed_form #new_answer input[type="text"],
#tip #can_embed_form #new_answer input[type="tel"],
#tip #can_embed_form #new_answer select,
#tip #can_embed_form #new_answer textarea {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 11px !important;
  box-sizing: border-box !important;
  font-family: var(--mono) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color .15s, box-shadow .15s !important;
}

#tip #can_embed_form #new_answer textarea {
  min-height: 112px !important;
  resize: vertical !important;
  white-space: pre-wrap !important;
}

#tip #can_embed_form #new_answer input::placeholder,
#tip #can_embed_form #new_answer textarea::placeholder { color: var(--faint) !important; opacity: 1 !important; }

#tip #can_embed_form #new_answer input:focus,
#tip #can_embed_form #new_answer select:focus,
#tip #can_embed_form #new_answer textarea:focus {
  border-color: var(--red) !important;
  box-shadow: inset 0 0 0 1px var(--red) !important;
}

/* "Not in US?" reveals a country picker. Kept, but quiet. */
#tip #can_embed_form .international_link-wrap { display: block !important; margin: -4px 0 14px !important; }
#tip #can_embed_form .international_link {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .04em !important;
  color: var(--muted) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  cursor: pointer !important;
}
/* No display rule here: Action Network shows and hides this with .hide. */
#tip #can_embed_form .country_drop_wrap { margin: 0 0 14px !important; }

/* ------------------------------------------------------------- submit -- */

#tip #can_embed_form #new_answer input[type="submit"] {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 4px 0 0 !important;
  padding: 14px 24px !important;
  font-family: var(--mono) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  color: var(--paper) !important;
  background: var(--red) !important;
  border: 2px solid var(--red) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: background-color .15s, border-color .15s !important;
}
#tip #can_embed_form #new_answer input[type="submit"]:hover {
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  color: var(--paper) !important;
}
#tip #can_embed_form #new_answer input[type="submit"]:focus-visible {
  outline: 2px solid var(--red) !important;
  outline-offset: 3px !important;
}

/* Their sending spinner — beside the button rather than floated off it. */
#tip #can_embed_form #new_answer .ajax-loading {
  float: none !important;
  margin: 0 0 0 12px !important;
  position: relative !important;
  top: 3px !important;
}

/* ------------------------------------------------------------- errors -- */

/* Element-qualified on purpose: the field rules above are input[type=…],
   and a bare .error_input scores lower than those and never shows. */
#tip #can_embed_form #new_answer input.error_input,
#tip #can_embed_form #new_answer textarea.error_input,
#tip #can_embed_form #new_answer select.error_input,
#tip #can_embed_form #new_answer input.error_input:focus,
#tip #can_embed_form #new_answer textarea.error_input:focus {
  border-color: var(--red) !important;
  box-shadow: inset 0 0 0 1px var(--red) !important;
  color: var(--ink) !important;
}
#tip #can_embed_form #new_answer input.error_input::placeholder,
#tip #can_embed_form #new_answer textarea.error_input::placeholder { color: var(--red) !important; }

/* No display rule on #error_message: Action Network toggles it. */
#tip #can_embed_form label.error,
#tip #can_embed_form #error_message {
  width: auto !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  text-align: left !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  color: var(--red) !important;
}
#tip #can_embed_form #error_message strong { color: var(--red) !important; }

/* ------------------------------------------------------- email opt-in -- */

#tip #can_embed_form #d_sharing {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
  color: var(--muted) !important;
}
#tip #can_embed_form #d_sharing label {
  position: relative !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 0 0 24px !important;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  color: var(--muted) !important;
}
#tip #can_embed_form #d_sharing input[type="checkbox"] {
  position: absolute !important;
  left: 0 !important;
  top: 1px !important;
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  accent-color: var(--red);
}
#tip #can_embed_form #d_sharing a {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  color: var(--red) !important;
}

/* ------------------------------------------- sponsor and attribution -- */

/* "Sponsored by: This Land" stays — it tells a tipster who receives what
   they send. Set as fine print under a rule, with Action Network's mark and
   the card's own fine print below it. */
#tip #can_embed_form #action_info {
  float: none !important;
  width: auto !important;
  margin: 22px 0 0 !important;
  padding: 14px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--rule) !important;
  background: transparent !important;
  text-align: left !important;
}
#tip #can_embed_form #action_info .action_owner,
#tip #can_embed_form #action_info .action_info_user {
  float: none !important;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}
#tip #can_embed_form #action_info,
#tip #can_embed_form #action_info .action_info_user,
#tip #can_embed_form #action_info strong,
#tip #can_embed_form #action_info a {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  color: var(--muted) !important;
}
#tip #can_embed_form #action_info strong {
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  margin-right: 4px;
}
#tip #can_embed_form #action_info a {
  color: var(--body) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
#tip #can_embed_form #action_info a:hover { color: var(--red) !important; }

/* Action Network's own mark stays, sized to sit quietly under the form. */
#tip #can_embed_form #logo_wrap {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  text-align: left !important;
}
#tip #can_embed_form #logo_wrap a,
#tip #can_embed_form #logo_wrap a svg { display: inline-block !important; margin: 0 !important; }
#tip #can_embed_form #logo_wrap svg { width: 92px !important; height: auto !important; opacity: .65; }

/* ---------------------------------------------------- after it's sent -- */

/* Action Network replaces the form with #can_thank_you. Its heading and
   message are set in Action Network (README section 3); here they take the
   card's voice, under a red "Received" label like the stamp on a case file. */
#tip #can_embed_form #can_thank_you {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  text-align: left !important;
  font-family: var(--serif) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}
#tip #can_embed_form #can_thank_you::before {
  content: "Received";
  display: block;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}
#tip #can_embed_form #can_thank_you :is(h1, h2, h3) {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: var(--serif) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
  text-align: left !important;
  text-shadow: none !important;
  color: var(--ink) !important;
  scroll-margin-top: 110px;
}
#tip #can_embed_form #can_thank_you :is(h4, p) {
  margin: 0 0 12px !important;
  font-family: var(--serif) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: left !important;
  text-shadow: none !important;
  color: var(--body) !important;
}

/* Share buttons, if Action Network shows them: outline chips like the
   footer's social links, not Facebook-blue and Twitter-cyan slabs. */
#tip #can_embed_form .can_thank_you-block {
  float: none !important;
  width: auto !important;
  margin: 16px 0 0 !important;
}
#tip #can_embed_form .can_thank_you-block .share_button {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  margin: 0 10px 10px 0 !important;
  padding: 10px 16px !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: var(--red) !important;
  background: transparent !important;
  border: 1px solid var(--red) !important;
}
#tip #can_embed_form .can_thank_you-block .share_button:hover {
  background: var(--red) !important;
  color: var(--paper) !important;
}
/* The rule above would otherwise un-hide the one Action Network turns off. */
#tip #can_embed_form .can_thank_you-block .share_button.share-google { display: none !important; }

/* ---------------------------------------------------------- sections ----- */

.section { padding: 56px 0; }
.section--episodes { padding-bottom: 8px; }
.section--rule { border-top: 2px solid var(--ink); }
#clips { margin-top: 32px; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.section--episodes .section__head { margin-bottom: 28px; }

.section__title { font-size: 38px; font-weight: 700; margin: 0; }

.section__intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 26px;
  max-width: 46em;
  text-wrap: pretty;
}
#files .section__intro { margin-bottom: 34px; }

/* -------------------------------------------------------- episode rows --- */

.ep {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.ep__media, .ep__text { min-width: 0; }

.ep__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 5px 9px;
}
.ep__meta .eyebrow { font-size: 11px; letter-spacing: .18em; }

.ep__title { font-size: 30px; font-weight: 700; line-height: 1.15; margin: 0 0 10px; text-wrap: pretty; }

.ep__subject { font-family: var(--mono); font-size: 13px; color: var(--red); margin: 0 0 14px; }

.ep__blurb { font-size: 17px; line-height: 1.6; color: var(--body); margin: 0 0 18px; text-wrap: pretty; }

.ep__links { margin: 0; }

.ulink {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}
.ulink:hover { text-decoration: none; border-bottom-color: var(--red-dark); }

/* ------------------------------------------------------ video placeholder */

.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid var(--rule);
  background: repeating-linear-gradient(135deg, var(--hatch-a) 0 12px, var(--hatch-b) 12px 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  overflow: hidden;
}

.embed__slot {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.embed__note {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* Loaded state: a poster with a play button, then the real iframe on click. */
.embed.is-armed { padding: 0; cursor: pointer; background: var(--ink); border-color: var(--ink); }
.embed.is-armed .embed__slot,
.embed.is-armed .embed__note { display: none; }

.embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.embed__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(27, 25, 23, .28);
  cursor: pointer;
  padding: 0;
  width: 100%;
  transition: background-color .15s;
}
.embed__play:hover { background: rgba(27, 25, 23, .12); }
.embed__play::after {
  content: "";
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23F4F0E7'/%3E%3C/svg%3E") no-repeat 54% 50% / 34px 34px;
  box-shadow: 0 2px 14px rgba(27, 25, 23, .35);
}

.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------- clips ---- */

.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--tan); border-radius: 8px; }

.clip { flex: 0 0 auto; width: 206px; scroll-snap-align: start; margin: 0; }

.clip__frame {
  aspect-ratio: 9 / 16;
  border: 1px solid var(--rule);
  background: repeating-linear-gradient(135deg, var(--hatch-a) 0 12px, var(--hatch-b) 12px 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  margin-bottom: 10px;
}

.clip__len {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--paper);
  padding: 4px 7px;
}
.clip__note { font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--muted); }

.clip__title { font-size: 16px; font-weight: 600; margin: 0 0 4px; text-wrap: pretty; }
.clip__from {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------- case files ---- */

.file {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
  border: 1px solid var(--rule);
  background: var(--card);
  padding: 30px;
  margin-bottom: 26px;
}
.file__body { min-width: 0; }

.file__title { font-size: 28px; font-weight: 700; line-height: 1.2; margin: 0 0 6px; text-wrap: pretty; }
.file__subject { font-family: var(--mono); font-size: 13px; color: var(--red); margin: 0 0 22px; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin: 0 0 24px;
}
.facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.facts dd { margin: 0; font-size: 16px; line-height: 1.5; }

.file__srchead {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin: 0 0 12px;
}

.sources {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.sources li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
  padding-left: 16px;
  border-left: 2px solid var(--tan);
}

.file__stamp { justify-self: end; text-align: center; }
.file__stamp img { width: 130px; display: block; opacity: .92; margin: 0 auto 6px; }
.file__number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
}

/* ------------------------------------------------------------- footer ---- */

.foot { border-top: 2px solid var(--ink); }

.foot__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 56px;
}
.foot__brand, .foot__social { min-width: 0; }

.foot__logo { width: 230px; display: block; margin: 0 0 18px -4px; }

.foot__domain {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.foot__line {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  max-width: 32em;
  text-wrap: pretty;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.chip--live { border: 1px solid var(--red); color: var(--red); }
.chip--live:hover { background: var(--red); color: var(--paper); text-decoration: none; }
.chip--soon { border: 1px dashed var(--rule); color: var(--faint); }

.foot__legal {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

/* ------------------------------------------------------------- narrow ---- */

@media (max-width: 640px) {
  .hero { padding: 40px 0 36px; gap: 36px; }
  .hero__hook { font-size: 22px; }
  .section { padding: 40px 0; }
  .section__title { font-size: 30px; }
  .ep__title { font-size: 26px; }
  .file { padding: 22px; }
  .file__title { font-size: 24px; }
  .file__stamp { justify-self: start; }
  .tip { padding: 22px; }
  .brand__words { display: none; }
  .nav { gap: 16px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------- print ---- */

@media print {
  .masthead, .nav, .tip, .rail, .btn-row, .skip { display: none !important; }
  body { background: #fff; }
  .file { break-inside: avoid; border-color: #999; }
}
