/* The Press Check — page styles, extends styles.css */

.masthead-compact { padding-top: clamp(14px, 2vw, 24px); }
.masthead-compact .masthead-brand { font-size: clamp(1.9rem, 4vw, 2.8rem); }

.px-hero .hero-title { max-width: 24ch; }

.px-form { width: 100%; max-width: 560px; }
.px-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.px-inputrow { display: flex; gap: 12px; flex-wrap: wrap; }
.px-url {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 15px 16px;
  background: var(--paper);
  border: 1px solid var(--ink-hairline);
  color: var(--ink);
  transition: border-color 0.2s var(--ease-paper), box-shadow 0.2s var(--ease-paper);
}
.px-url::placeholder { color: rgba(90, 83, 68, 0.55); }
.px-url:hover { border-color: var(--ink-muted); }
.px-url:focus-visible { outline: none; border-color: var(--press-red); box-shadow: 0 0 0 2px rgba(194, 57, 29, 0.2); }
.px-form .friction { margin-top: 10px; }
.px-error {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--press-red-deep);
  margin-top: 10px;
}

/* Theater */
.px-theater { background: var(--paper-deep); }
.px-console {
  max-width: 720px;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 1px 0 rgba(26,23,18,0.3), 0 16px 40px rgba(26,23,18,0.18);
}
.px-console-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.14);
}
.px-feed {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--paper-on-ink);
  padding: 20px;
  min-height: 220px;
}
.px-feed .px-line { opacity: 0; }
html.js .px-feed .px-line { animation: pxLine 0.4s var(--ease-paper) forwards; }
@keyframes pxLine { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.px-feed .px-line .ok { color: #8FBC8F; }
.px-feed .px-line .bad { color: #E8836A; }

.px-counters {
  display: flex;
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(24px, 4vw, 40px);
  flex-wrap: wrap;
}
.px-counter { display: flex; flex-direction: column; }
.px-counter-n {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.px-counter-bad .px-counter-n { color: var(--press-red); }
.px-counter-l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 8px;
}

/* Report */
.px-verdict { margin-bottom: clamp(40px, 5vw, 64px); }
.px-score {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(4.5rem, 12vw, 9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 16px 0 8px;
}
.px-score-max { font-size: 0.35em; color: var(--ink-muted); font-weight: 500; }
.px-verdict-word {
  font-style: italic;
  font-weight: 500;
  color: var(--press-red);
  max-width: none;
}

.px-findings { margin-bottom: clamp(48px, 6vw, 80px); }
.px-finding {
  border-top: 1px solid var(--ink-hairline);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  max-width: 820px;
}
.px-finding:last-child { border-bottom: 1px solid var(--ink-hairline); }
.px-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 4px;
}
.px-status-fail { color: var(--press-red); }
.px-status-warn { color: #9A6700; }
.px-status-pass { color: #3A6B35; }
.px-finding-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.px-finding-detail { color: var(--ink-muted); font-size: 15px; max-width: 60ch; }

/* Blurred remainder + gate */
.px-rest-wrap { position: relative; }
.px-rest { margin-top: 16px; }
.px-blurred {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  opacity: 0.75;
}
.px-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(to bottom, transparent, rgba(248, 245, 238, 0.75) 30%, rgba(248, 245, 238, 0.9));
}
.px-gate-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 1px 0 rgba(26,23,18,0.2), 0 24px 56px rgba(26,23,18,0.22);
  padding: clamp(28px, 4vw, 48px);
  max-width: 560px;
  width: 100%;
}
.px-gate-head {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.px-gate-sub { color: var(--ink-muted); font-size: 15px; margin-bottom: 24px; max-width: 46ch; }

.px-cta {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 3px double var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.px-cta p { color: var(--ink-muted); max-width: 52ch; }
.px-cta .close-alt { font-size: 14px; }

@media (max-width: 640px) {
  .px-finding { grid-template-columns: 1fr; gap: 8px; }
  .px-inputrow .btn { flex: 1 1 100%; text-align: center; }
}
