:root {
  --white: #ffffff;
  --paper: #ffffff;
  --silver-panel: #f3f3f1;
  --black: #000000;
  --deep-black: #0f0f0f;
  --brand-blue: #0a3768;
  --ink: #000000;
  --muted: #333333;
  --line: #d8d9d7;
  --silver: #6d6f72;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
textarea {
  font: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.menu-button {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  font-size: 0.72rem;
  white-space: nowrap;
  text-transform: uppercase;
}

.header-wordmark {
  justify-self: center;
  width: 86px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.header-wordmark img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.snap-root {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-padding-block: 7dvh;
  padding-block: 0;
  background: var(--white);
}

.panel {
  height: 86dvh;
  min-height: 0;
  width: 100%;
  margin: 0;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
  padding: 84px 34px 42px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--silver);
  font-size: 0.72rem;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.2vw, 4.65rem);
  font-weight: 400;
  line-height: 1;
}

.search-panel {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  margin: 0;
  scroll-snap-align: start;
  background: var(--white);
}

.search-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
  filter: saturate(0.82) contrast(0.96) brightness(0.96);
}

.search-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
}

.search-inner {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateY(42px);
  transition: width 260ms ease, transform 260ms ease;
}

.main-logo {
  width: min(356px, 74vw);
  height: auto;
  margin-bottom: 28px;
  display: block;
  filter: none;
  transition: opacity 220ms ease, transform 220ms ease, max-height 220ms ease, margin 220ms ease;
}

.search-line {
  margin-bottom: 26px;
  color: var(--black);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.4;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
  transition: opacity 220ms ease, transform 220ms ease, max-height 220ms ease, margin 220ms ease;
}

.search-composer {
  position: relative;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px 46px;
  align-items: end;
  gap: 0;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.72);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
  transition: width 220ms ease, border-color 220ms ease;
}

.search-composer textarea {
  width: 100%;
  min-height: 48px;
  max-height: 150px;
  padding: 13px 8px 10px;
  border: 0;
  outline: none;
  resize: none;
  overflow-y: hidden;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.35;
}

.search-composer textarea:focus {
  outline: none;
}

.search-composer textarea::placeholder {
  color: #7d858e;
}

.voice-meter {
  position: absolute;
  left: 52px;
  right: 98px;
  top: 6px;
  bottom: 6px;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 12px;
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  border-right: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  pointer-events: none;
}

.search-composer.is-recording-voice .voice-meter,
.search-composer.is-transcribing-voice .voice-meter {
  display: flex;
}

.voice-meter-label {
  min-width: 92px;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.voice-bars {
  height: 28px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.voice-bars i {
  width: 4px;
  height: 8px;
  display: block;
  border-radius: 0;
  background: #000000;
  opacity: 0.34;
  transform-origin: center;
  transition: height 80ms linear, opacity 80ms linear;
  animation: wml-voice-bar 820ms infinite ease-in-out;
}

.voice-bars i:nth-child(2) {
  animation-delay: 70ms;
}

.voice-bars i:nth-child(3) {
  animation-delay: 140ms;
}

.voice-bars i:nth-child(4) {
  animation-delay: 210ms;
}

.voice-bars i:nth-child(5) {
  animation-delay: 280ms;
}

.voice-bars i:nth-child(6) {
  animation-delay: 350ms;
}

.voice-bars i:nth-child(7) {
  animation-delay: 420ms;
}

.voice-bars i:nth-child(8) {
  animation-delay: 490ms;
}

.voice-bars i:nth-child(9) {
  animation-delay: 560ms;
}

.voice-bars i:nth-child(10) {
  animation-delay: 630ms;
}

.voice-bars i:nth-child(11) {
  animation-delay: 700ms;
}

.voice-bars i:nth-child(12) {
  animation-delay: 770ms;
}

.voice-bars i:nth-child(13) {
  animation-delay: 840ms;
}

.voice-bars i:nth-child(14) {
  animation-delay: 910ms;
}

.voice-bars i:nth-child(15) {
  animation-delay: 980ms;
}

.voice-bars i:nth-child(16) {
  animation-delay: 1050ms;
}

.search-composer.is-transcribing-voice .voice-bars i {
  animation-duration: 520ms;
}

.icon-button {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(0, 0, 0, 0.34);
  background: transparent;
  outline: none;
}

.send-button {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.send-button:hover,
.send-button:focus-visible {
  background: #000000;
}

.send-symbol {
  position: relative;
  width: 18px;
  height: 1px;
  display: block;
  background: currentColor;
}

.send-symbol::before,
.send-symbol::after {
  content: "";
  position: absolute;
  right: 0;
  width: 8px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
}

.send-symbol::before {
  transform: rotate(38deg);
}

.send-symbol::after {
  transform: rotate(-38deg);
}

.mic-button {
  position: relative;
  border-color: transparent;
  background: transparent;
  border-radius: 0;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.mic-button:hover,
.mic-button:focus-visible {
  border-color: transparent;
  background: transparent;
  opacity: 0.62;
  transform: none;
}

.mic-button.is-listening,
.mic-button.is-transcribing {
  border-color: transparent;
  background: transparent;
}

.mic-button.is-listening .mic-symbol {
  display: none;
}

.mic-button.is-listening::before {
  content: "";
  width: 13px;
  height: 13px;
  display: block;
  background: currentColor;
  border-radius: 2px;
}

.mic-button.is-transcribing .mic-symbol {
  opacity: 0.48;
}

.search-composer.is-recording-voice .send-button {
  box-shadow: inset 0 0 0 1px #ffffff;
}

.search-composer.is-transcribing-voice .send-button,
.search-composer.is-transcribing-voice .mic-button {
  cursor: wait;
  opacity: 0.72;
}

.mic-symbol {
  position: relative;
  width: 12px;
  height: 17px;
  display: block;
  border: 1.4px solid currentColor;
  border-radius: 8px;
  box-sizing: border-box;
  transform: translateY(-5px);
}

.mic-symbol::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 10px;
  transform: translateX(-50%);
  border-bottom: 1.4px solid currentColor;
  border-left: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  border-radius: 0 0 12px 12px;
  box-sizing: border-box;
}

.mic-symbol::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 1.4px;
  height: 5px;
  transform: translateX(-50%);
  background: currentColor;
}

@keyframes wml-voice-bar {
  0%,
  100% {
    height: 7px;
    opacity: 0.28;
  }

  45% {
    height: 25px;
    opacity: 0.86;
  }
}

.quiet-button,
.learn-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiet-button.primary,
.learn-button {
  background: var(--black);
  color: var(--white);
}

.intake-response {
  width: min(720px, 100%);
  min-height: 70px;
  margin-top: 22px;
  padding: 0;
  color: #000000;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.72);
}

.search-panel.is-chatting .search-bg {
  opacity: 1;
  filter: saturate(0.82) contrast(0.96) brightness(0.96);
}

.search-panel.is-chatting .header-wordmark {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-panel.is-chatting::after {
  background: rgba(255, 255, 255, 0.1);
}

.search-panel.is-chatting .search-inner {
  width: min(800px, calc(100% - 48px));
  min-height: min(76dvh, 680px);
  align-content: center;
  justify-items: stretch;
  transform: translateY(26px);
  text-align: left;
}

.search-panel.is-chatting .main-logo,
.search-panel.is-chatting .search-line {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-14px);
}

.search-panel.is-chatting .intake-response {
  order: 1;
  width: 100%;
  height: min(44dvh, 420px);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 12px;
  overflow-y: auto;
  padding: 18px 2px 6px;
  text-shadow: none;
  mask-image: linear-gradient(to bottom, transparent 0, #000 30px, #000 100%);
}

.search-panel.is-chatting .intake-response.has-overflow {
  justify-content: flex-start;
}

.search-panel.is-chatting .search-composer {
  order: 2;
  width: min(760px, 100%);
  justify-self: center;
  box-shadow: none;
}

.search-panel.is-chatting .emergency-launch {
  order: 3;
  justify-self: start;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #000000;
}

.chat-message {
  width: fit-content;
  max-width: min(52%, 460px);
  display: grid;
  gap: 6px;
}

.chat-message.is-user {
  margin-left: auto;
  margin-right: 0;
  justify-self: end;
  align-self: flex-end;
}

.chat-message.is-assistant {
  margin-left: 0;
  margin-right: auto;
  justify-self: start;
  align-self: flex-start;
}

.message-label {
  color: #1a1a1a;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.76);
}

.chat-message.is-user .message-label {
  text-align: right;
}

.message-bubble {
  border: 1px solid rgba(0, 0, 0, 0.24);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: none;
  color: #000000;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.48;
  white-space: pre-wrap;
  box-shadow: none;
}

.chat-message.is-user .message-bubble {
  width: fit-content;
  min-width: 42px;
  max-width: 100%;
  justify-self: end;
  background: rgba(0, 0, 0, 0.88);
  color: #ffffff;
}

.message-bubble a {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.route-panel {
  width: min(100%, 760px);
  margin: 4px auto 2px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: none;
  box-shadow: none;
  color: #000000;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.route-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  padding-bottom: 10px;
}

.route-panel-head span,
.route-reply span,
.route-evidence span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-panel-head strong {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: right;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.route-grid div {
  min-width: 0;
}

.route-grid dt {
  margin-bottom: 3px;
  color: rgba(0, 0, 0, 0.58);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-grid dd,
.route-reply p,
.route-evidence ul {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.45;
}

.route-reply,
.route-evidence {
  display: grid;
  gap: 6px;
}

.route-reply p {
  border-left: 2px solid rgba(0, 0, 0, 0.72);
  padding-left: 10px;
  white-space: pre-wrap;
}

.route-evidence ul {
  padding-left: 18px;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.route-actions button {
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.76);
  color: #000000;
  min-height: 30px;
  padding: 6px 9px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.route-actions button:hover {
  background: #000000;
  color: #ffffff;
}

.export-panel {
  width: min(100%, 760px);
  margin: 6px auto 2px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: none;
  box-shadow: none;
  color: #000000;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.export-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  padding-bottom: 10px;
}

.export-panel-head span,
.export-record-meta span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.export-panel-head strong {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: right;
}

.export-panel-copy,
.export-record-meta p {
  margin: 0;
  color: #000000;
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.45;
}

.export-record-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.export-record-meta div {
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.export-actions button {
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.78);
  color: #000000;
  min-height: 32px;
  padding: 6px 9px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.export-actions button:hover,
.export-actions button:focus-visible {
  background: #000000;
  color: #ffffff;
}

.export-actions button:disabled {
  cursor: wait;
  opacity: 0.62;
}

@media (max-width: 700px) {
  .route-panel,
  .export-panel {
    padding: 12px;
  }

  .route-panel-head,
  .route-grid,
  .export-panel-head,
  .export-record-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .route-panel-head strong,
  .export-panel-head strong {
    text-align: left;
  }
}

.thinking-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.thinking-dots {
  display: inline-flex;
  gap: 4px;
}

.thinking-dots i {
  width: 4px;
  height: 4px;
  display: block;
  border-radius: 50%;
  background: currentColor;
  animation: wml-thinking 1s infinite ease-in-out;
  opacity: 0.32;
}

.thinking-dots i:nth-child(2) {
  animation-delay: 0.14s;
}

.thinking-dots i:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes wml-thinking {
  0%,
  80%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  40% {
    opacity: 0.9;
    transform: translateY(-3px);
  }
}

.intake-response a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.emergency-launch {
  min-height: 40px;
  margin-top: 14px;
  padding: 0 22px;
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: none;
}

.alternate {
  background: var(--silver-panel);
}

.large-copy,
.source-copy {
  width: min(1040px, 100%);
  text-align: center;
}

.large-copy p:not(.eyebrow),
.source-copy p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.58;
}

.visual-panel {
  position: relative;
  background: var(--white);
  text-align: center;
}

.visual-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) contrast(0.92) brightness(1.01);
}

.statement-visual > img {
  object-position: 56% 48%;
}

.evidence-panel > img {
  object-position: 66% 52%;
  filter: saturate(0.54) contrast(0.9) brightness(1.04);
}

.origin-panel > img {
  object-position: 52% 50%;
  filter: saturate(0.52) contrast(0.91) brightness(1.05);
}

.ohchr-panel > img {
  object-position: 54% 50%;
  filter: saturate(0.52) contrast(0.9) brightness(1.05);
}

.amnesty-panel > img {
  object-position: 42% 54%;
}

.hrw-panel > img {
  object-position: 52% 48%;
}

.doj-panel > img {
  object-position: 50% 48%;
  filter: saturate(0.5) contrast(0.92) brightness(1.04);
}

.ftc-panel > img {
  object-position: 70% 50%;
}

.omar-panel > img {
  object-position: 54% 56%;
}

.hai-panel > img {
  object-position: 52% 48%;
  filter: saturate(0.5) contrast(0.9) brightness(1.04);
}

.panel-scales > img {
  object-position: 50% 45%;
}

.visual-panel.hrw-panel > img {
  object-position: 50% 50%;
  filter: saturate(0.48) contrast(0.9) brightness(1.05);
}

.visual-panel.hai-panel > img {
  object-position: 52% 50%;
  filter: saturate(0.48) contrast(0.9) brightness(1.05);
}

.visual-panel.cfpb-panel > img {
  object-position: 50% 52%;
}

.panel-gavel > img {
  object-position: 46% 52%;
}

.panel-archive > img {
  object-position: 53% 50%;
}

.outreach-panel > img {
  object-position: 50% 56%;
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
}

.visual-panel .large-copy,
.visual-panel .source-copy,
.visual-panel .origin-copy {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 48px));
  align-self: end;
  margin-bottom: 44px;
  color: var(--black);
}

.visual-panel h1 {
  color: var(--black);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.7);
}

.visual-panel p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.58;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.65);
}

.visual-panel .eyebrow {
  color: #000000;
}

.visual-panel .learn-button {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.archive-body {
  margin: 0;
  background: #ffffff;
  color: #000000;
}

.archive-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 24px;
  color: #000000;
  mix-blend-mode: multiply;
}

.archive-topbar a {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-topbar nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.archive-root {
  background: #ffffff;
}

.archive-panel > img {
  filter: saturate(0.52) contrast(0.9) brightness(1.04);
}

.archive-panel::after {
  background: rgba(255, 255, 255, 0.14);
}

.archive-panel .archive-copy {
  align-self: center;
  margin-bottom: 0;
  transform: translateY(1dvh);
}

.archive-hero-copy {
  width: min(1080px, calc(100% - 48px));
}

.archive-copy h1 {
  font-size: clamp(2.8rem, 6.8vw, 5.7rem);
}

.archive-copy p + p {
  margin-top: 14px;
}

.archive-facts {
  width: min(900px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  border-left: 1px solid rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.42);
}

.archive-facts-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.archive-facts div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.archive-facts span,
.archive-principles span {
  color: #000000;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-facts strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.46rem);
  font-weight: 400;
}

.archive-principles {
  width: min(880px, 100%);
  margin: 28px auto 26px;
  display: grid;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.38);
}

.archive-principles span {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  padding: 12px 18px;
}

.origin-emergence-panel > img,
.species-civilization-panel > img {
  object-position: 50% 45%;
}

.origin-formation-panel > img,
.species-record-panel > img {
  object-position: 50% 48%;
}

.origin-nda-panel > img {
  object-position: 66% 50%;
}

.species-hero-panel > img {
  object-position: 52% 50%;
}

.species-gpu-panel > img {
  object-position: 54% 56%;
}

.species-rights-panel > img {
  object-position: 50% 50%;
}

.source-logo {
  min-height: 54px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
}

.source-logo img {
  max-width: 228px;
  max-height: 54px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.source-logo-wide img {
  max-width: min(330px, 72vw);
  max-height: 64px;
}

.source-logo span {
  margin-left: 12px;
  color: #000000;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.source-logo-text {
  color: #000000;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.74;
}

.source-logo-amnesty img {
  filter: none;
  opacity: 1;
}

.source-logo-doj img {
  max-height: 60px;
  filter: none;
  opacity: 1;
}

.source-logo-un img,
.source-logo-ftc img,
.source-logo-hrw img,
.source-logo-hai img,
.source-logo-ohchr img,
.source-logo-cfpb img {
  filter: none;
  opacity: 1;
}

.source-logo-cfpb img {
  width: min(286px, 74vw);
  max-width: min(286px, 74vw);
  max-height: 60px;
  filter: none;
  mix-blend-mode: normal;
}

.source-logo-cfpb {
  transform: translateX(clamp(8px, 1.6vw, 18px));
}

.source-logo-un {
  width: min(280px, 70vw);
}

.source-logo-un img {
  width: min(218px, 62vw);
  max-width: min(218px, 62vw);
  max-height: 56px;
  margin-inline: auto;
  opacity: 1;
}

.source-logo-ohchr img {
  max-width: min(300px, 68vw);
  filter: none;
  opacity: 1;
}

.source-logo-ftc {
  width: min(360px, 74vw);
}

.source-logo-ftc img {
  width: min(316px, 72vw);
  max-width: min(316px, 72vw);
  margin-inline: auto;
  opacity: 1;
}

.source-logo-hrw {
  width: min(340px, 72vw);
  transform: translateX(clamp(28px, 5.8vw, 72px));
}

.source-logo-hrw img {
  width: min(266px, 66vw);
  max-width: min(266px, 66vw);
  margin-inline: auto;
  opacity: 1;
}

.source-logo-hai img {
  max-width: min(300px, 70vw);
}

.source-logo-hai {
  transform: translateX(clamp(18px, 3.8vw, 48px));
}

.source-logo-omar img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  opacity: 1;
}

.outreach-panel h1 {
  color: var(--black);
}

.outreach-panel .eyebrow,
.outreach-panel p {
  color: #000000;
}

.source-copy h1 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.75rem, 3.55vw, 3.25rem);
  line-height: 1.06;
}

.source-copy .learn-button {
  margin-top: 18px;
}

.omar-panel {
  background: var(--white);
}

.outreach-panel {
  background: var(--white);
  text-align: center;
}

.outreach-button {
  margin-top: 22px;
}

.site-footer {
  height: auto;
  min-height: 72dvh;
  display: grid;
  place-items: stretch;
  gap: 48px;
  padding: 88px 48px 36px;
  background: #000000;
  color: #ffffff;
  scroll-snap-align: start;
}

.footer-brand {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-brand h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.footer-brand p {
  max-width: 520px;
  color: #d7d7d7;
  font-family: var(--serif);
  font-size: 1.12rem;
}

.footer-columns {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 34px;
}

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-columns h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.footer-columns a,
.footer-columns button {
  justify-self: start;
  border: 0;
  padding: 0;
  background: transparent;
  color: #d7d7d7;
  cursor: pointer;
  font-size: 0.86rem;
  text-align: left;
}

.footer-columns a:hover,
.footer-columns button:hover {
  color: #ffffff;
}

.footer-legal {
  width: min(1180px, 100%);
  margin: auto auto 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
  color: #a9a9a9;
  font-size: 0.72rem;
  line-height: 1.45;
}

.firm-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.62);
}

.firm-modal.is-open {
  display: flex;
}

.firm-modal-panel {
  width: min(900px, 100%);
  max-height: min(780px, calc(100dvh - 48px));
  overflow: auto;
  padding: 34px;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.firm-modal-close {
  float: right;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.firm-modal-panel h2 {
  clear: both;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
}

.firm-modal-intro {
  max-width: 680px;
  color: #000000;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
}

.firm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 26px;
}

.firm-card {
  --firm-color: #000000;
  min-height: 142px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  align-items: center;
  gap: 10px;
  padding: 24px 18px 18px;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background: #ffffff;
  color: var(--firm-color);
  transition: background 180ms ease, color 180ms ease;
}

.firm-card img,
.firm-logo-inline,
.firm-logo-svg {
  max-width: min(238px, 90%);
  max-height: 54px;
  display: block;
  object-fit: contain;
}

.firm-logo-inline {
  width: min(238px, 90%);
  display: grid;
  place-items: center;
}

.firm-logo-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.firm-name {
  max-width: 100%;
  color: currentColor;
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-align: center;
}

.firm-meta {
  max-width: 100%;
  color: currentColor;
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  line-height: 1.25;
  opacity: 0.64;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
}

.firm-card-light {
  background: #ffffff;
  color: var(--firm-color);
}

.firm-card-dark {
  background: #ffffff;
  color: var(--firm-color);
}

.firm-card-light:hover,
.firm-card-light:focus-visible,
.firm-card-dark:hover,
.firm-card-dark:focus-visible {
  background: #f2f2ef;
}

.firm-latham {
  --firm-color: #ac0000;
}

.firm-cravath {
  --firm-color: #002554;
}

.firm-gibson {
  --firm-color: #1863dc;
}

.firm-sullcrom {
  --firm-color: #111111;
}

.firm-davispolk {
  --firm-color: #005ea8;
}

.firm-paulweiss {
  --firm-color: #03203d;
}

.firm-sidley {
  --firm-color: #163f70;
}

.firm-wilmerhale {
  --firm-color: #872434;
}

.firm-covington {
  --firm-color: #0d6b62;
}

.firm-quinn {
  --firm-color: #a3bb05;
}

.firm-latham .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-cravath .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-gibson .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-sullcrom .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-davispolk .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-paulweiss .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-sidley .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-wilmerhale .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-covington .firm-logo-svg :is(path, polygon, rect, circle, text),
.firm-quinn .firm-logo-svg :is(path, polygon, rect, circle, text) {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.firm-skadden img,
.firm-skadden .firm-logo-inline {
  max-height: 68px;
}

.firm-cravath img,
.firm-cravath .firm-logo-inline,
.firm-sidley img,
.firm-sidley .firm-logo-inline {
  max-width: min(180px, 74%);
}

.firm-paulweiss img,
.firm-paulweiss .firm-logo-inline {
  max-height: 66px;
}

.firm-wilmerhale img {
  max-width: min(242px, 92%);
}

.firm-quinn img,
.firm-quinn .firm-logo-inline {
  max-width: min(190px, 82%);
}

.firm-quinn .firm-logo-svg :is(path, polygon, rect, circle, text) {
  fill: #bfce31 !important;
  stroke: #bfce31 !important;
}

.firm-quinn .firm-name,
.firm-quinn .firm-meta {
  color: #111111;
}

.firm-covington img,
.firm-covington .firm-logo-inline {
  max-width: min(220px, 88%);
}

.firm-primary {
  min-height: 46px;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.emergency-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  background: #f7f7f4;
  color: #000000;
}

.emergency-modal.is-open {
  display: block;
}

.emergency-prep,
.emergency-room {
  min-height: 100dvh;
  padding: 34px;
  overflow: auto;
}

.emergency-prep {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.emergency-prep h2,
.emergency-room h2 {
  max-width: 980px;
  margin: 0 auto 22px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 400;
  line-height: 1;
}

.emergency-copy {
  width: min(760px, 100%);
  display: grid;
  gap: 8px;
  margin: 0 auto 30px;
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.55;
}

.emergency-copy p {
  margin: 0;
}

.permission-list {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 0, 0, 0.24);
  border-left: 1px solid rgba(0, 0, 0, 0.24);
  margin-bottom: 28px;
}

.permission-list span {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.24);
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.permission-list span.is-granted {
  background: #000000;
  color: #ffffff;
}

.permission-list span.is-denied {
  color: #000000;
  text-decoration: line-through;
}

.emergency-enable,
.capture-controls button {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.emergency-close {
  position: absolute;
  top: 22px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.emergency-room {
  background: #ffffff;
}

.emergency-room-header {
  width: min(1240px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 22px;
}

.emergency-room-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.capture-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
}

.capture-preview {
  min-height: 460px;
  display: grid;
  grid-template-rows: 1fr auto;
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: #f1f1ee;
}

.capture-preview video {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
  object-fit: cover;
  background: #e7e7e4;
}

.capture-preview p {
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  padding: 14px 16px;
  font-size: 0.82rem;
}

.capture-controls {
  display: grid;
  align-content: start;
  gap: 10px;
}

.capture-controls textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  resize: vertical;
  color: #000000;
  font-family: var(--serif);
  font-size: 1rem;
}

.capture-controls button.is-recording {
  background: #ffffff;
  color: #000000;
}

.emergency-timeline-panel {
  width: min(1240px, 100%);
  margin: 28px auto 0;
  border-top: 1px solid rgba(0, 0, 0, 0.22);
  padding-top: 22px;
}

.emergency-timeline-panel h3 {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 400;
  text-transform: uppercase;
}

.emergency-timeline-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.emergency-timeline-panel li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-family: var(--serif);
  line-height: 1.45;
}

.emergency-timeline-panel span {
  display: block;
  color: #555555;
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.menu-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: min(420px, 100%);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid rgba(17, 17, 17, 0.16);
  box-shadow: 30px 0 80px rgba(0, 0, 0, 0.18);
  transform: translateX(-100%);
  transition: transform 240ms ease;
}

.menu-drawer.is-open {
  transform: translateX(0);
}

.menu-close {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.menu-drawer img {
  width: 160px;
  height: auto;
}

.menu-drawer nav {
  display: grid;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.menu-drawer nav a,
.drawer-link {
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
  text-align: left;
}

.internal-note {
  align-self: end;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
  color: var(--muted);
  line-height: 1.6;
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 5vh 24px;
  background: rgba(8, 8, 8, 0.74);
  backdrop-filter: blur(12px);
}

.report-modal.is-open {
  display: grid;
}

.report-sheet {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(34px, 6vw, 74px);
  background: #f7f7f4;
  border: 1px solid rgba(17, 17, 17, 0.24);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
  color: #080808;
}

.report-close {
  position: absolute;
  top: 20px;
  right: 22px;
  border: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-kicker,
.report-meta,
.report-boundary {
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-kicker {
  margin: 0 0 18px;
  color: #4b4b4b;
  font-size: 0.72rem;
}

.report-sheet h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
}

.report-deck {
  max-width: 720px;
  margin: 28px 0 0;
  color: #1f1f1f;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2.4vw, 1.72rem);
  line-height: 1.34;
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 42px;
  padding-block: 14px;
  border-block: 1px solid rgba(17, 17, 17, 0.2);
  color: #555555;
  font-size: 0.68rem;
}

.report-sheet section {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}

.report-sheet h3 {
  margin: 0;
  color: #111111;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 400;
}

.report-sheet p,
.report-principles ol {
  margin: 0;
  color: #242424;
  font-size: 1rem;
  line-height: 1.72;
}

.report-sheet section p + p {
  margin-top: 16px;
}

.report-principles ol {
  padding-left: 20px;
}

.report-principles li + li {
  margin-top: 10px;
}

.report-boundary {
  margin: 38px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.22);
  color: #595959;
  font-size: 0.66rem;
  line-height: 1.65;
}

.packet-body {
  min-height: 100vh;
  margin: 0;
  background: #eeeeeb;
  color: #000000;
}

.packet-document {
  width: min(980px, calc(100% - 28px));
  margin: 24px auto;
  padding: clamp(24px, 5vw, 64px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.16);
}

.packet-doc-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.packet-doc-header img {
  width: 88px;
  height: auto;
}

.packet-doc-header p {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.packet-doc-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
}

.packet-doc-header strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.packet-doc-section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.packet-doc-section p,
.packet-doc-section li,
.packet-doc-grid p {
  color: #000000;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.62;
  white-space: pre-wrap;
}

.packet-doc-section ol,
.packet-doc-section ul {
  margin: 0;
  padding-left: 22px;
}

.packet-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.packet-doc-grid article {
  min-width: 0;
}

.kicker {
  margin: 0 0 8px;
  color: #555555;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.packet-doc-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
}

.packet-doc-footer a,
.packet-doc-footer button {
  min-height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #ffffff;
  color: #000000;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.packet-doc-footer a:hover,
.packet-doc-footer button:hover {
  background: #000000;
  color: #ffffff;
}

.packet-doc-footer button:disabled {
  cursor: wait;
  opacity: 0.62;
}

@media (max-width: 960px) {
  h1 {
    font-size: 3.45rem;
  }

  .visual-panel .large-copy,
  .visual-panel .source-copy,
  .visual-panel .origin-copy {
    margin-bottom: 32px;
  }

  .report-sheet section {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .search-bg {
    object-position: 82% center;
  }

  .evidence-panel > img {
    object-position: 68% 52%;
  }

  .origin-panel > img {
    object-position: 56% 50%;
  }

  .ohchr-panel > img {
    object-position: 50% 50%;
  }

  .amnesty-panel > img {
    object-position: 60% 52%;
  }

  .visual-panel.hrw-panel > img {
    object-position: 70% 50%;
  }

  .visual-panel.cfpb-panel > img {
    object-position: 70% 52%;
  }

  .visual-panel.hai-panel > img {
    object-position: 66% 50%;
  }
}

@media (max-width: 640px) {
  .snap-root {
    padding-block: 0;
    scroll-padding-block: 6dvh;
  }

  .site-header {
    height: 62px;
    padding: 0 14px;
  }

  .menu-button {
    font-size: 0.64rem;
  }

  .header-wordmark {
    width: 78px;
  }

  .report-modal {
    padding: 0;
  }

  .report-sheet {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    padding: 72px 24px 36px;
  }

  .report-sheet h2 {
    font-size: 2.6rem;
  }

  .archive-topbar {
    min-height: 58px;
    padding: 0 16px;
  }

  .archive-topbar nav {
    gap: 14px;
  }

  .archive-topbar a {
    font-size: 0.58rem;
  }

  .packet-document {
    width: calc(100% - 18px);
    margin: 9px auto;
    padding: 22px 18px;
  }

  .packet-doc-header,
  .packet-doc-grid {
    grid-template-columns: 1fr;
  }

  .packet-doc-header img {
    width: 74px;
  }

  .packet-doc-footer {
    display: grid;
  }

  .packet-doc-footer a,
  .packet-doc-footer button {
    width: 100%;
    text-align: center;
  }

  .report-deck {
    font-size: 1.16rem;
  }

  .panel {
    min-height: 0;
    height: 86dvh;
    width: 100%;
    margin-bottom: 0;
    padding: 64px 16px 20px;
  }

  .search-panel {
    min-height: 0;
    height: 100dvh;
    width: 100%;
    margin-bottom: 0;
  }

  .search-bg {
    object-position: 90% center;
  }

  .search-panel::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.1) 62%, rgba(255, 255, 255, 0.24) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.03) 68%, rgba(255, 255, 255, 0.18) 100%);
  }

  .visual-panel::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.13) 70%, rgba(255, 255, 255, 0.26) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.06) 74%, rgba(255, 255, 255, 0.2) 100%);
  }

  .statement-visual > img {
    object-position: 58% 50%;
  }

  .evidence-panel > img {
    object-position: 76% 50%;
  }

  .origin-panel > img {
    object-position: 58% 50%;
  }

  .panel-scales > img {
    object-position: 54% 50%;
  }

  .ohchr-panel > img {
    object-position: 50% 50%;
  }

  .amnesty-panel > img {
    object-position: 66% 52%;
  }

  .visual-panel.hrw-panel > img {
    object-position: 74% 50%;
  }

  .doj-panel > img {
    object-position: 52% 48%;
  }

  .ftc-panel > img {
    object-position: 58% 50%;
  }

  .visual-panel.cfpb-panel > img {
    object-position: 74% 52%;
  }

  .omar-panel > img {
    object-position: 54% 52%;
  }

  .visual-panel.hai-panel > img {
    object-position: 66% 50%;
  }

  .search-inner {
    transform: translateY(30px);
  }

  .search-panel.is-chatting .search-inner {
    width: calc(100% - 28px);
    min-height: min(70dvh, 600px);
    transform: translateY(30px);
  }

  .search-panel.is-chatting .intake-response {
    height: min(38dvh, 320px);
    min-height: 136px;
  }

  .chat-message {
    max-width: min(86%, 340px);
  }

  .main-logo {
    width: min(230px, 64vw);
    margin-bottom: 20px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1;
  }

  .search-line,
  .large-copy p:not(.eyebrow),
  .source-copy p,
  .origin-copy p {
    font-size: 0.98rem;
  }

  .source-copy h1 {
    font-size: 1.64rem;
    line-height: 1.08;
  }

  .search-line {
    margin-bottom: 18px;
  }

  .search-composer {
    grid-template-columns: 40px minmax(0, 1fr) 40px 40px;
    gap: 0;
    padding: 4px;
  }

  .voice-meter {
    left: 44px;
    right: 84px;
    top: 4px;
    bottom: 4px;
    gap: 8px;
    padding: 0 8px;
  }

  .voice-meter-label {
    min-width: 62px;
    font-size: 0.58rem;
  }

  .voice-bars {
    gap: 3px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .search-composer textarea {
    min-height: 40px;
    padding: 11px 6px 8px;
    font-size: 0.84rem;
  }

  .send-button {
    width: 40px;
  }

  .learn-button {
    width: 100%;
  }

  .emergency-launch {
    margin-top: 18px;
    min-height: 38px;
    padding-inline: 20px;
  }

  .site-footer {
    min-height: 86dvh;
    padding: 62px 22px 28px;
    gap: 34px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .source-logo {
    min-height: 44px;
    margin-bottom: 12px;
  }

  .source-logo img {
    max-width: 180px;
    max-height: 44px;
  }

  .source-logo-cfpb {
    min-height: 64px;
  }

  .source-logo-cfpb img {
    width: min(300px, 82vw);
    max-width: min(300px, 82vw);
    max-height: 64px;
  }

  .source-logo-wide img {
    max-width: min(240px, 78vw);
    max-height: 50px;
  }

  .footer-legal {
    display: grid;
  }

  .firm-modal {
    padding: 14px;
  }

  .firm-modal-panel {
    padding: 24px 18px;
  }

  .firm-grid {
    grid-template-columns: 1fr;
  }

  .emergency-prep,
  .emergency-room {
    padding: 24px 16px;
  }

  .permission-list {
    grid-template-columns: 1fr;
  }

  .emergency-close {
    top: 14px;
    right: 16px;
  }

  .emergency-room-header {
    display: grid;
  }

  .capture-grid {
    grid-template-columns: 1fr;
  }

  .capture-preview {
    min-height: 300px;
  }

  .capture-preview video {
    min-height: 240px;
  }

  .intake-response {
    min-height: 0;
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .search-panel.is-chatting .intake-response {
    height: min(56dvh, 480px);
    min-height: 220px;
  }

  .chat-message {
    width: fit-content;
    max-width: min(92%, 100%);
  }

  .message-bubble {
    padding: 12px 13px;
    font-size: 0.95rem;
  }

  .visual-panel .large-copy,
  .visual-panel .source-copy,
  .visual-panel .origin-copy {
    width: calc(100% - 28px);
    align-self: center;
    margin-bottom: 0;
    transform: translateY(-3.5dvh);
  }

  .archive-panel .archive-copy {
    width: calc(100% - 28px);
    transform: translateY(-2dvh);
  }

  .archive-copy h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .archive-copy p {
    font-size: 0.96rem;
  }

  .archive-facts,
  .archive-facts-two {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .archive-facts div {
    min-height: 70px;
    padding: 14px;
  }

  .archive-principles span {
    min-height: 46px;
    padding: 10px 12px;
  }

  .visual-panel .learn-button {
    margin-top: 8px;
  }
}
