/* Approved NewApology direction, scoped to the Brittle opening and transport.
   Reuse the index's licensed type and neutral palette; retain in-flow navigation,
   the protected reading measure and existing player logic. */
@font-face {
  font-family: 'Public Sans';
  src: url('assets/fonts/public-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* This stylesheet is opt-in to the record. Hide chrome, not the scroll path. */
html, body { scrollbar-width: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; width: 0; height: 0; }

.record-page {
  --bg: #FFFFFF;
  --ink: #313131;
  --ink-2: #686868;
  --hairline: #DEDEDE;
  --font-display: 'Public Sans', ui-sans-serif, system-ui, sans-serif;
}
:root[data-theme='dark'] .record-page {
  --bg: #121212;
  --ink: #E9E9E9;
  --ink-2: #ACACAC;
  --hairline: #404040;
}

.record-page .site-head-inner { align-items: center; padding-block: 1.25rem; }
.record-page .mark {
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  color: var(--ink);
  font: 500 0.8125rem/1.5 var(--font-display);
}
.record-page .mark img { width: 42px; height: auto; }
.record-page .site-nav { padding-top: 0; gap: 1.5rem; }
.record-page .site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.record-page .site-head .theme-toggle {
  padding: 0.5rem 0;
  border: 0;
  font: 400 0.8125rem/1.5 var(--font-display);
  letter-spacing: 0;
  transition: none;
}
.record-page .site-head .theme-toggle:hover { color: var(--ink); background: transparent; }
.record-page .site-head .theme-toggle svg { transition: none; }
.record-page .site-head .theme-toggle:hover svg { transform: none; }
.record-page .site-head :focus-visible { outline-color: var(--ink); }
:root:not([data-theme]) .record-page .theme-toggle { display: none; }

.record-page .record-opening {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 2.5vw, 3rem);
}
.record-opening .record-head { margin-bottom: 0; }
.record-opening .display {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.record-opening .lede { max-width: 40rem; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 400; }
.record-opening .meta-row {
  margin-top: 1.5rem;
  padding-bottom: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0;
}
.record-page .record-stage { padding-top: 0; border-top: 0; }
html.js .record-opening [data-rise] { opacity: 1; transform: none; transition: none; }

/* A contextual source above the topics, not a second manuscript presentation. */
.record-page .record-paper-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  width: fit-content;
  max-width: 100%;
  min-width: 44px;
  min-height: 44px;
  color: var(--ink);
  font: 400 1rem/1.5 var(--font-display);
  text-decoration: none;
}
.record-page .record-paper-heading { display: block; max-width: 100%; }
.record-page .record-paper-format { display: inline-block; padding-left: 0.25rem; color: var(--ink-2); font-size: 0.75rem; white-space: nowrap; }
.record-page .record-paper-description { color: var(--ink-2); font-size: 0.8125rem; line-height: 1.5; }
.record-page .record-paper-link:hover .record-paper-title { color: var(--ink-2); }
.record-page .record-paper-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.record-page .topics-rail .timeline-list { margin-top: 0.75rem; }

/* The footer keeps only the Manila clock; research presentation lives in the index. */
.record-page .site-foot { border-top: 0; padding-block: 1.5rem; }
.record-page .site-foot .foot-line { justify-content: flex-end; margin-top: 0; }

/* A typographic transport, not four boxed calls to action. IDs and native
   button semantics retain the existing player bindings and error recovery. */
.record-page .controls { align-items: center; gap: 0.25rem; }
.record-page .control {
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.375rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 0.8125rem/1.5 var(--font-display);
  letter-spacing: 0;
  text-transform: none;
  transition: none;
}
.record-page .control.play { min-width: 52px; font-size: 0.875rem; font-weight: 500; }
.record-page .control:hover { background: transparent; color: var(--ink-2); }
.record-page .control:active { color: var(--ink); }
.record-page .control:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.record-page #resetButton { margin-left: auto; color: var(--ink-2); }
.record-page #resetButton:hover { color: var(--ink); }

@media (max-width: 47.5rem) {
  .record-page .site-head-inner { gap: 1rem; }
  .record-page .site-nav { gap: 1rem; }
}
