/* Shared submission design system. Light is deliberately the default; dark is opt-in. */

:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #edf2f8;
  --text: #102033;
  --text-muted: #526174;
  --border: #d7e0eb;
  /* Borders that carry meaning rather than decoration: the antibiogram grid, table rules.
     WCAG 2.2 non-text contrast (1.4.11) applies to these because you need them to read the
     structure. Held at 3:1; --border stays subtle for purely decorative dividers. */
  --border-strong: #718096;
  --accent: #0b57c7;
  --accent-strong: #083f91;
  --accent-soft: #e8f1ff;
  --accent-text: #ffffff;
  --ok: #146c43;
  --ok-soft: #e8f5ee;
  --warn: #805500;
  --warn-soft: #fff4d6;
  --danger: #a33131;
  --danger-soft: #fdecec;
  --focus: #0b57c7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(23, 43, 77, .10), 0 2px 8px rgba(23, 43, 77, .06);
  --shadow-soft: 0 8px 24px rgba(23, 43, 77, .07);
  --measure: 68ch;
}

:root[data-theme="dark"] {
  --bg: #0e1116;
  --surface: #161b22;
  --surface-2: #1d232c;
  --text: #e8eaed;
  --text-muted: #9aa4b2;
  --border: #2b323c;
  --accent: #7aa7e8;
  --accent-strong: #a9c7f2;
  --accent-soft: #16233a;
  --accent-text: #0e1116;
  --ok: #5dd39e;
  --ok-soft: #13291f;
  --warn: #e3b341;
  --warn-soft: #2a2312;
  --danger: #ff6b6b;
  --danger-soft: #2d1615;
  --focus: #7aa7e8;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .4);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, .28);
}

:root[data-project="sixty-days"] {
  --accent: #00666d;
  --accent-strong: #00474c;
  --accent-soft: #e3f3f3;
  --focus: #00666d;
}

:root[data-project="sixty-days"][data-theme="dark"] {
  --accent: #75cbd0;
  --accent-strong: #a2e0e3;
  --accent-soft: #123033;
  --focus: #75cbd0;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI Variable", "Aptos", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden; /* the page never scrolls sideways; wide things scroll inside themselves */
}

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

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

/* --- Layout ------------------------------------------------------------- */

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--measure); }

section { padding: 76px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .55em; font-weight: 680; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 6vw, 4.8rem); letter-spacing: -.045em; max-width: 15ch; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.025em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }

a { color: var(--accent); }

/* --- Header ------------------------------------------------------------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { font-weight: 760; letter-spacing: -.025em; margin-right: auto; font-size: 1.02rem; }
.brand span { color: var(--text-muted); font-weight: 450; }
header.site nav { display: flex; gap: 4px; flex-wrap: wrap; }
header.site nav a {
  padding: 6px 10px; border-radius: 8px; text-decoration: none;
  color: var(--text-muted); font-size: .9rem;
}
header.site nav a:hover { background: var(--surface); color: var(--text); }

/* --- Buttons ------------------------------------------------------------ */

button, .btn {
  font: inherit; cursor: pointer; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 10px 16px; min-height: 44px; /* touch target */
  font-weight: 620;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
button:hover, .btn:hover { background: var(--surface-2); transform: translateY(-1px); }
button[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: var(--accent-text);
  font-weight: 600; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }

.theme-toggle { min-height: 40px; padding: 6px 12px; font-size: .85rem; }

/* --- Info button -------------------------------------------------------- */

.info {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; min-height: 20px; padding: 0;
  border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted);
  font-size: 11px; font-weight: 700; font-style: normal;
  vertical-align: middle; margin-left: 4px;
}
.info:hover { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }

.popover {
  position: absolute; z-index: 100; max-width: min(340px, calc(100vw - 32px));
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 16px; font-size: .9rem;
}
.popover h4 { margin: 0 0 6px; font-size: .95rem; }
.popover p { margin: 0 0 8px; font-size: .875rem; }
.popover .why { color: var(--text-muted); }
.popover a { font-size: .8rem; }
.popover[hidden] { display: none; }

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden; padding: 104px 0 84px;
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--accent-soft) 88%, transparent) 0, transparent 34%),
    linear-gradient(180deg, var(--surface), var(--bg));
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -180px; width: 460px; height: 460px;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent); border-radius: 50%;
  box-shadow: 0 0 0 70px color-mix(in srgb, var(--accent) 4%, transparent),
              0 0 0 140px color-mix(in srgb, var(--accent) 3%, transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 64px; align-items: center; }
.hero-copy { min-width: 0; }
.hero .lede { font-size: clamp(1.08rem, 2.2vw, 1.28rem); color: var(--text-muted); max-width: 58ch; }
.hero-proof {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  border-radius: 22px; box-shadow: var(--shadow); padding: 26px;
}
.proof-label { color: var(--text-muted); font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.proof-value { display: block; margin: 8px 0 2px; font-size: 2.15rem; line-height: 1; letter-spacing: -.04em; color: var(--accent-strong); }
.proof-list { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.proof-list li { padding: 11px 0; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-muted); }
.proof-list b { color: var(--text); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; min-width: 160px; flex: 1 1 200px; box-shadow: var(--shadow-soft);
}
.stat b { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.stat span { font-size: .82rem; color: var(--text-muted); }

/* --- Cards & steps ------------------------------------------------------ */

.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft);
}
.card h3 { display: flex; align-items: center; gap: 8px; }
.step-n {
  display: inline-grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%; background: var(--accent); color: var(--accent-text);
  font-size: .8rem; font-weight: 700;
}

.callout {
  border-left: 3px solid var(--warn); background: var(--warn-soft);
  padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0;
}
.callout.danger { border-left-color: var(--danger); background: var(--danger-soft); }
.callout.ok { border-left-color: var(--ok); background: var(--ok-soft); }
.callout p:last-child { margin-bottom: 0; }

/* --- Console ------------------------------------------------------------ */

.console { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px)  { .console { grid-template-columns: 300px 1fr; } }
@media (min-width: 1200px) { .console { grid-template-columns: 280px 1fr 360px; } }

.pane {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; min-width: 0; box-shadow: var(--shadow-soft);
}
.pane h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.pane .subhead { margin-top: 26px; }
.control {
  display: block; width: 100%; min-height: 44px; margin: 7px 0 12px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--bg); color: var(--text); padding: 9px 10px; font: inherit;
}
textarea.control { resize: vertical; }
.fixture-image {
  display: block; width: 100%; max-height: 360px; object-fit: contain; margin-top: 14px;
  border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg);
}
.fixture-image[hidden] { display: none; }
.card.compact { padding: 12px; margin-bottom: 10px; }
.eyebrow {
  color: var(--accent); font-size: .78rem; font-weight: 750;
  letter-spacing: .08em; text-transform: uppercase;
}
.conformance-link { margin-top: 20px; }

.clock {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  background: var(--accent-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px;
}
.clock b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.clock .note { font-size: .78rem; color: var(--text-muted); }

/* --- Antibiogram grid --------------------------------------------------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.grid { border-collapse: collapse; width: 100%; font-size: .875rem; min-width: 480px; }
table.grid th, table.grid td {
  /* border-strong, not border: these rules are how you tell which drug a number belongs to. */
  border: 1px solid var(--border-strong); padding: 8px 10px; text-align: center; white-space: nowrap;
}
table.grid th[scope="row"] { text-align: left; font-style: italic; font-weight: 550; }
table.grid thead th { background: var(--surface-2); font-size: .78rem; }

/* Status is never colour alone: every cell carries a text label too. */
td.s-high { background: var(--ok-soft); color: var(--ok); font-weight: 650; }
td.s-mid  { background: var(--warn-soft); color: var(--warn); font-weight: 650; }
td.s-low  { background: var(--danger-soft); color: var(--danger); font-weight: 650; }
td.s-none {
  color: var(--text-muted); font-size: .78rem;
  background: repeating-linear-gradient(45deg, transparent, transparent 5px,
              var(--surface-2) 5px, var(--surface-2) 10px);
}
td.changed { animation: flash 1.1s ease-out; }
@keyframes flash {
  0%   { box-shadow: inset 0 0 0 3px var(--accent); }
  100% { box-shadow: inset 0 0 0 3px transparent; }
}

/* --- Activity stream ---------------------------------------------------- */

.stream { display: flex; flex-direction: column; gap: 8px; max-height: 460px; overflow-y: auto; }
.event {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
  background: var(--bg); font-size: .875rem;
}
.event .agent {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700;
  color: var(--text-muted); white-space: nowrap; padding-top: 2px;
}
.event.reject { border-color: var(--danger); background: var(--danger-soft); }
.event.accept { border-color: var(--ok); }
.event .why { color: var(--text-muted); font-size: .8rem; margin-top: 4px; }

.chip {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; border: 1px solid var(--border);
}
.chip.ok { background: var(--ok-soft); color: var(--ok); border-color: var(--ok); }
.chip.bad { background: var(--danger-soft); color: var(--danger); border-color: var(--danger); }
.chip.wait { background: var(--surface-2); color: var(--text-muted); }

/* --- Claims ------------------------------------------------------------- */

.claim { border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin-bottom: 10px; background: var(--bg); }
.claim .quote {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem; background: var(--surface-2); padding: 6px 8px; border-radius: 6px;
  margin-top: 8px; overflow-x: auto; white-space: pre;
}

/* --- Evidence & tables -------------------------------------------------- */

ol.refs { padding-left: 22px; }
ol.refs li { margin-bottom: 12px; max-width: var(--measure); }

table.plain { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 520px; }
table.plain th, table.plain td {
  border-bottom: 1px solid var(--border); padding: 10px; text-align: left; vertical-align: top;
}
table.plain th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }

details { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; background: var(--surface); }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 10px; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85em; background: var(--surface-2); padding: 2px 5px; border-radius: 4px;
}

footer.site {
  border-top: 1px solid var(--border); padding: 32px 0 48px;
  color: var(--text-muted); font-size: .85rem;
}

/* --- First-use clarity and premium workflow ----------------------------- */

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading p { margin: 0; color: var(--text-muted); }
.journey {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow-soft); margin: 28px 0;
}
.journey-step { background: var(--surface); padding: 22px; min-height: 158px; }
.journey-step .step-index { display: block; color: var(--accent); font-size: .76rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.journey-step h3 { margin-top: 12px; }
.journey-step p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.console-shell {
  background: color-mix(in srgb, var(--surface-2) 62%, var(--bg));
  border: 1px solid var(--border); border-radius: 24px; padding: 18px;
  box-shadow: var(--shadow);
}
.console-intro {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 4px 4px 18px;
}
.console-intro p { margin: 0; color: var(--text-muted); }
.control-group { padding: 16px 0; border-top: 1px solid var(--border); }
.control-group:first-of-type { border-top: 0; padding-top: 0; }
.control-kicker { display: block; color: var(--accent); font-weight: 760; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.control-help { color: var(--text-muted); font-size: .8rem; margin: 6px 0 10px; }
.trust-band { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.trust-item { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 7px 12px; font-size: .8rem; color: var(--text-muted); }
.trust-item b { color: var(--text); }
.boundary-line {
  margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--accent);
  color: var(--text-muted); font-size: .86rem; max-width: 62ch;
}
.boundary-line b { color: var(--text); }
.judge-hero {
  background:
    radial-gradient(circle at 88% 0, var(--accent-soft), transparent 32%),
    linear-gradient(180deg, var(--surface), var(--bg));
  padding: 88px 0 70px;
}
.judge-hero h1 { max-width: none; }

.model-briefing {
  display: grid; grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
  gap: 26px; margin-top: 32px; padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--accent-soft) 54%, var(--surface)));
  box-shadow: var(--shadow);
}
.briefing-copy { padding: 18px 12px 18px 18px; align-self: center; }
.model-chip {
  display: inline-flex; padding: 6px 10px; margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  border-radius: 999px; color: var(--accent-strong); background: var(--surface);
  font-size: .72rem; font-weight: 780; letter-spacing: .07em; text-transform: uppercase;
}
.briefing-copy p { color: var(--text-muted); }
.model-proof { margin: 22px 0; }
.model-proof div {
  display: grid; grid-template-columns: 74px 1fr; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--border);
}
.model-proof div:last-child { border-bottom: 1px solid var(--border); }
.model-proof dt { font-weight: 760; color: var(--text); }
.model-proof dd { margin: 0; color: var(--text-muted); }
.text-link { font-weight: 680; text-underline-offset: 3px; }
.briefing-media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: stretch;
  min-height: 300px;
}
.briefing-media img, .briefing-media video {
  width: 100%; height: 100%; min-height: 260px; object-fit: cover;
  border-radius: 15px; border: 1px solid var(--border); background: var(--surface-2);
}
.evaluator-path {
  margin-top: 24px; padding: 20px; border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.evaluator-path h2 { font-size: 1.15rem; margin-bottom: 10px; }
.evaluator-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.evaluator-actions a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px;
  border: 1px solid var(--border); border-radius: 10px; text-decoration: none;
  background: var(--surface); font-weight: 680;
}
.evaluator-actions a:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
/* --- Architecture and evaluation proof -------------------------------- */

.workflow-progress {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  list-style: none; margin: 0 0 18px; padding: 0;
}
.workflow-progress li {
  position: relative; min-width: 0; padding: 13px 14px 13px 42px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text-muted); font-size: .8rem;
}
.workflow-progress li::before {
  content: attr(data-step); position: absolute; left: 12px; top: 12px;
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--surface-2); color: var(--text);
  font-weight: 760; font-variant-numeric: tabular-nums;
}
.workflow-progress li.is-active {
  border-color: var(--accent); background: var(--accent-soft); color: var(--text);
  box-shadow: 0 0 0 1px var(--accent);
}
.workflow-progress li.is-active::before,
.workflow-progress li.is-complete::before {
  background: var(--accent); color: var(--accent-text);
}
.workflow-progress b { display: block; color: var(--text); }

.architecture-map {
  display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(220px, 1.2fr) auto minmax(180px, 1fr);
  align-items: stretch; gap: 12px; margin: 26px 0;
}
.arch-node {
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
  padding: 20px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.arch-node.accent {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--border));
  background: var(--accent-soft);
}
.arch-node small {
  color: var(--text-muted); font-size: .76rem; text-transform: uppercase;
  letter-spacing: .07em; font-weight: 760;
}
.arch-node strong { margin: 5px 0; font-size: 1.02rem; }
.arch-node span { color: var(--text-muted); font-size: .84rem; }
.arch-arrow {
  display: grid; place-items: center; color: var(--accent); font-weight: 800;
  font-size: 1.35rem; min-width: 24px;
}
.judge-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px;
}
.judge-metric {
  padding: 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.judge-metric b { display: block; color: var(--accent-strong); font-size: 1.45rem; }
.judge-metric span { color: var(--text-muted); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.footer-links a { font-weight: 620; }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-proof { max-width: 620px; }
  .journey { grid-template-columns: 1fr 1fr; }
  .bar { align-items: flex-start; height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
  .brand { width: 100%; }
  header.site nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  header.site nav a { white-space: nowrap; }
  .model-briefing { grid-template-columns: 1fr; }
  .briefing-media { min-height: 260px; }
  .architecture-map { grid-template-columns: 1fr; }
  .arch-arrow { transform: rotate(90deg); min-height: 24px; }
  .judge-metrics { grid-template-columns: 1fr 1fr; }
  .workflow-progress { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  section { padding: 58px 0; }
  .hero { padding: 76px 0 60px; }
  h1 { font-size: clamp(2.25rem, 13vw, 3.35rem); }
  .brand span { display: none; }
  .journey { grid-template-columns: 1fr; }
  .journey-step { min-height: 0; }
  .section-heading, .console-intro { align-items: flex-start; flex-direction: column; }
  .console-shell { padding: 10px; border-radius: 18px; }
  .stat-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .stat { min-width: 0; }
  .briefing-media { grid-template-columns: 1fr; min-height: 0; }
  .briefing-media img, .briefing-media video { min-height: 220px; }
  .briefing-copy { padding: 8px; }
  .judge-metrics, .workflow-progress { grid-template-columns: 1fr; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--accent); color: var(--accent-text); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }
