/* BeefTube · Roter Boulevard. Prototype: homepage and Sashka/KuchenTV case.
   Loaded after style.css by build_website_pilot.py. Fonts stay local. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #fff;
  --ink: #111;
  --muted: #595959;
  --accent: #e30613;
  --accent-dark: #bd0510;
  --line: #d7d3ce;
  --paper: #f3f1ee;
  --teal-light: #f3f1ee;
  --radius: 2px;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --focus: #005fcc;
}
body { font-family: Inter, Arial, sans-serif; background: var(--paper); }
a { color: var(--ink); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px white;
}
header, main, footer { max-width: 1280px; padding-inline: 40px; }
header { gap: 28px; min-height: 110px; padding-block: 20px; }
.brand, .brand:hover { background: none; padding: 0; line-height: 0; }
.brand img { height: 46px; }
header nav { gap: 24px; margin-left: 0; }
header nav a { font-size: 13px; font-weight: 700; border-bottom: 3px solid transparent; }
header nav a:hover { border-bottom-color: var(--accent); }
.header-search { color: var(--ink); border: 2px solid var(--ink); border-radius: 0; font-weight: 700; min-height: 44px; }
.header-search span { margin-left: 15px; }
.draft { background: var(--ink); color: white; border: 0; font-size: 11px; letter-spacing: .045em; padding: 10px 20px; }
h1, h2, .case-intro h3, .preview-head h3, .principle h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em;
}
h1 { font-size: clamp(44px, 5vw, 72px); line-height: 1.02; margin: 12px 0 18px; }
h2 { font-size: 36px; line-height: 1.08; }
.eyebrow { font: 700 11px/1.5 Inter, Arial, sans-serif; letter-spacing: .09em; color: var(--accent-dark); }
.home-hero { grid-template-columns: minmax(0, 1fr) 250px; padding: 42px 0 32px; gap: 32px; }
.hero p { color: var(--ink); font-size: 17px; line-height: 1.6; }
.hero-note { border-left: 4px solid var(--accent); padding-left: 22px; }
.hero-note p { font-size: 14px; color: var(--muted); }
.archive-count { font-weight: 700; font-size: 13px; }
.archive-count span { color: var(--muted); }
.archive-search { margin: 0 0 36px; }
.search-form { border: 2px solid var(--ink); border-radius: 0; min-height: 64px; }
button, .button { border-radius: 2px; font-size: 13px; font-weight: 700; min-height: 44px; }
.search-form button { min-height: 48px; padding-inline: 25px; }
.search-tabs button { border-radius: 2px; background: white; border-color: var(--line); font-size: 12px; }
.search-tabs button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); }
.search-tabs button:hover { border-color: var(--ink); }
.section-head { border-top: 4px solid var(--ink); padding-top: 13px; align-items: baseline; }
.section-head h2 { font-size: 36px; }
.section-head>span { font: 700 10px/1.5 Inter, Arial, sans-serif; letter-spacing: .07em; }
.cases { gap: 24px; }
.case-card { border-radius: 0; background: white; }
.case-intro { padding: 28px; }
.case-intro h3 { font-size: 36px; line-height: 1.05; letter-spacing: -.01em; margin: 16px 0; }
.case-intro p { font-size: 16px; line-height: 1.65; }
.case-meta { font: 12px/1.5 Inter, Arial, sans-serif; flex-wrap: wrap; }
.case-meta span { border-radius: 0; color: var(--ink); }
.featured { grid-template-columns: 1.4fr 1fr; border: 2px solid var(--ink); }
.featured .case-intro { background: var(--accent); color: white; padding: 34px; }
.featured .case-intro h3 { font-size: clamp(40px, 4.5vw, 60px); line-height: 1.02; letter-spacing: -.015em; }
.featured .case-intro h3 a, .featured .eyebrow, .featured .case-intro p, .featured .case-meta { color: white; }
.featured .case-intro .button { background: var(--ink); border-color: var(--ink); color: white; min-height: 48px; }
.featured .case-intro .button:hover { background: #333; border-color: #333; }
.featured .case-meta span { background: transparent; color: white; border-color: white; }
.case-preview { padding: 32px; border-left: 0; }
.preview-head { align-items: baseline; flex-wrap: wrap; }
.preview-head h3 { font-size: 32px; }
.preview-head>a { font-size: 12px; text-decoration: underline; }
.mini-timeline li { grid-template-columns: 100px minmax(0,1fr); }
.mini-timeline time { font-size: 12px; }
.mini-timeline li>div { border-left: 2px solid var(--ink); padding-bottom: 30px; }
.mini-timeline li>div:before { width: 10px; height: 10px; left: -6px; border-radius: 0; background: var(--accent); border-color: var(--accent); }
.mini-timeline strong { font-size: 16px; }
.mini-timeline p { font-size: 14px; }
.mini-timeline a { display: inline-flex; min-height: 44px; align-items: center; }
.creator-card { border-radius: 0; background: white; gap: 12px; }
.creator-card:hover { border-color: var(--ink); background: white; }
.creator-card>div { min-width: 0; overflow-wrap: anywhere; }
.creator-card h3 { font-size: 16px; }
.creator-card p { font-size: 12px; }
.avatar, .creator-card:nth-child(3n+1) .avatar, .creator-card:nth-child(3n+2) .avatar {
  border-radius: 0; background: var(--ink); color: white; font: 800 32px/1 var(--display);
}
.creator-arrow { color: var(--accent); }
.principle { background: white; border: 0; border-top: 5px solid var(--accent); padding: 30px; }
.principle h2 { font-size: 30px; }
.principle h3 { font-size: 15px; }
.principle p { font-size: 13px; }
/* The case opens loudly, then gives the long source material a quiet reading surface. */
.breadcrumb { margin: 22px 0 18px; }
.compact { background: var(--accent); color: white; max-width: none; padding: 36px; margin-bottom: 20px; }
.compact h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.04; max-width: 1000px; margin: 14px 0 22px; }
.compact .eyebrow, .compact a, .compact .stand { color: white; }
.compact a:hover { text-decoration-thickness: 3px; }
.compact .stand { margin-top: 18px; font-size: 13px; }
.notice { background: #fff9db; border: 1px solid #d2c493; border-left: 4px solid #806000; border-radius: 0; font-size: 14px; }
.notice h2 { font-size: 28px; }
.case-layout { grid-template-columns: 205px minmax(0,1fr); gap: 32px; margin-top: 32px; }
.jump a { font-size: 13px; min-height: 44px; color: var(--ink); border-radius: 0; }
.jump a:hover, .jump a[aria-current=location] { background: white; border-color: var(--accent); color: var(--accent-dark); }
.sidebar-note { border-top: 4px solid var(--ink); }
.sidebar-note strong { font-weight: 700; font-size: 14px; }
.sidebar-note p { font-size: 12px; }
.summary { border-radius: 0; background: white; border: 1px solid var(--line); border-top: 5px solid var(--ink); padding: 30px; }
.summary p { font-size: 18px; line-height: 1.7; max-width: 68ch; }
.summary>a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.changes { background: white; border-left: 4px solid var(--accent); font-size: 14px; }
.changes h2 { font: 700 18px/1.4 Inter, Arial, sans-serif; text-transform: none; }
.filters { border-radius: 0; background: white; }
.filters label { font-size: 12px; }
.filters select { border-color: #737373; border-radius: 2px; font-size: 14px; }
#count { font-size: 12px; }
.timeline { border-left: 2px solid var(--ink); }
.event { background: white; border-radius: 0; padding: 24px; }
.event:before { border-radius: 0; background: var(--accent); left: -33px; }
.event h3 { font-size: 19px; }
.event p { font-size: 16px; line-height: 1.75; max-width: 68ch; }
.event-meta { font-size: 12px; }
.tag, .status { border-radius: 0; font-size: 12px; }
.source { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 13px; border-radius: 0; text-decoration: underline; }
.quote blockquote { border-left: 3px solid var(--ink); font-size: 16px; line-height: 1.75; }
.permalink, .copy { min-height: 44px; font-size: 12px; }
.position { background: white; border-radius: 0; padding: 24px; }
.position p { font-size: 16px; line-height: 1.75; }
.position .small { font-size: 13px; }
.bibliography { background: white; padding: 12px 24px 12px 44px; }
.bibliography li { padding: 18px 0; font-size: 16px; }
.bibliography .small { font-size: 13px; }
footer { border-top: 4px solid var(--ink); margin-top: 48px; font-size: 13px; }
@media (max-width: 1023px) {
  header nav { order: 3; width: 100%; margin: 0; }
  .header-search { margin-left: auto; }
  .home-hero { grid-template-columns: minmax(0,1fr) 210px; gap: 24px; }
  .featured { grid-template-columns: 1.2fr 1fr; }
  .featured .case-intro, .case-preview { padding: 24px; }
  .case-layout { grid-template-columns: 165px minmax(0,1fr); gap: 24px; }
}
@media (max-width: 767px) {
  header, main, footer { padding-inline: 20px; }
  header { gap: 16px; padding-block: 18px 10px; }
  .brand img { height: 36px; }
  .header-search { font-size: 11px; padding: 9px; }
  .header-search span { margin-left: 7px; }
  header nav { gap: 8px 20px; justify-content: flex-start; }
  header nav a { font-size: 12px; padding: 8px 0; min-height: 44px; }
  .draft { font-size: 10px; line-height: 1.6; }
  .home-hero { display: block; padding: 28px 0; }
  .home-hero h1 { font-size: clamp(36px, 7.5vw, 54px); letter-spacing: -.015em; }
  .hero p { font-size: 16px; }
  .hero-note { display: none; }
  .eyebrow { font-size: 11px; }
  .search-form { min-height: 60px; padding-left: 13px; gap: 9px; }
  .search-form button { padding-inline: 12px; }
  .search-tools { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .search-tabs button { padding: 8px 18px; }
  .section-head { gap: 12px; align-items: center; }
  .section-head h2 { font-size: 30px; }
  .section-head>span { font-size: 9px; max-width: 135px; text-align: right; }
  .cases, .creator-grid { grid-template-columns: 1fr; }
  .featured { display: block; }
  .featured .case-intro { padding: 24px; }
  .featured .case-intro h3 { font-size: 42px; }
  .case-intro h3 { font-size: 32px; }
  .case-intro p { font-size: 15px; }
  .case-preview { border-top: 2px solid var(--ink); }
  .preview-head h3 { font-size: 30px; }
  .mini-timeline li { grid-template-columns: 96px minmax(0,1fr); }
  .principle { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .principle h2 { font-size: 30px; }
  .compact { padding: 24px; }
  .compact h1 { font-size: clamp(36px, 8vw, 52px); letter-spacing: -.015em; }
  .case-layout { display: block; }
  .case-sidebar { position: static; margin-bottom: 28px; }
  .jump { flex-direction: row; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
  .jump a { border: 1px solid var(--line); padding: 10px 12px; background: white; }
  .sidebar-note { display: none; }
  .summary, .position { padding: 22px; }
  .summary h2 { font-size: 30px; }
  .summary p { font-size: 17px; }
  .changes { padding: 18px; }
  .filters { padding: 14px; }
  .filters label { min-width: 120px; flex: 1; }
  .filters select { width: 100%; }
  .timeline { padding-left: 18px; }
  .event { padding: 18px; }
  .event:before { left: -26px; }
  .grid { grid-template-columns: 1fr; }
  .source { font-size: 12px; }
  .bibliography { padding-left: 30px; padding-right: 16px; }
  footer { flex-wrap: wrap; }
}
@media (max-width: 359px) {
  header, main, footer { padding-inline: 16px; }
  .brand img { height: 30px; }
  .header-search { font-size: 10px; }
  .header-search span { display: none; }
  .featured .case-intro, .case-preview, .compact { padding: 20px; }
  .featured .case-intro h3 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Shared treatment for creator, court, legal and error pages. */
.brand:has(img), .brand:has(img):hover { background: transparent; padding: 0; line-height: 1; }
.brand img { display: block; width: 190px; height: auto; max-width: 100%; }
.compact p { color: white; }
.court-card { background: white; border-radius: 0; border-top: 4px solid var(--ink); }
.court-card h2 { font-size: clamp(28px, 3.4vw, 42px); }
.court-card h3 { font-size: 18px; }
.court-card p, .court-facts { font-size: 16px; }
.court-meta, .court-documents { font-size: 13px; }
.court-filters input { background: white; border: 1px solid #737373; border-radius: 2px; }
.court-filters select { min-height: 44px; border: 1px solid #737373; padding: 10px; background: white; max-width: 100%; }
.court-toc { background: white; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 0; }
.court-filters input:focus-visible, .court-toc summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 3px white;
}
.tablewrap { border-radius: 0; background: white; }
.tablewrap:focus-visible { outline-color: var(--focus); }
.legal { max-width: 800px; background: white; padding: 36px; margin-top: 32px; border-top: 5px solid var(--accent); }
.legal h1 { font-size: clamp(36px, 5vw, 64px); }
.legal p { font-size: 17px; line-height: 1.75; }
@media (max-width: 767px) {
  .brand img { width: 155px; }
  .court-card { padding: 22px; }
  .court-facts { grid-template-columns: 1fr; }
  .court-filters label { width: 100%; min-width: 0; }
  .court-filters label:first-child { min-width: 0; }
  .court-filters input, .court-filters select { width: 100%; }
  .legal { padding: 24px; }
}
@media (max-width: 359px) { .brand img { width: 130px; } }
/* Published releases with the text wordmark remain usable during logo migration. */
.brand:not(:has(img)) {
  display: inline-flex; align-items: center; min-height: 44px;
  background: var(--accent); color: white; padding: 9px 13px 11px;
  font: 800 42px/.9 var(--display); letter-spacing: -.02em; text-transform: uppercase;
}
.brand:not(:has(img)) span { color: inherit; }
@media (max-width: 767px) { .brand:not(:has(img)) { font-size: 36px; } }
@media (max-width: 359px) { .brand:not(:has(img)) { font-size: 32px; } }
