/* Compact touch-first adjustments kept separate from the desktop visual system. */
@media (max-width: 700px) {
  body { min-width: 320px; }
  .page-shell { padding: 0 16px; }
  .topbar { height: 68px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 28px; height: 28px; font-size: 22px; }
  .profile { width: 38px; height: 38px; }
  .hero { min-height: 0; padding: 45px 0 54px; gap: 30px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); letter-spacing: -1.5px; }
  .intro { margin: 20px 0 25px; font-size: 14px; line-height: 1.8; }
  .hero-art { height: min(76vw, 315px); }
  .sun { width: 140px; height: 140px; right: 30px; top: 34px; }
  .arch-back { width: 180px; height: 210px; left: 30px; }
  .arch-front { width: 180px; height: 155px; }
  .vase { left: 37%; transform: translateX(-50%); }
  .test-section { padding: 50px 0 64px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: clamp(34px, 10vw, 42px); }
  .section-heading > p { max-width: 255px; font-size: 13px; }
  .progress-row { margin-bottom: 12px; }
  .question-card { padding: 19px 12px 14px; box-shadow: 5px 6px 0 rgba(20, 39, 58, .05); }
  .question-number { font-size: 31px; }
  .question-kicker { font-size: 9px; margin-top: 0; }
  .question-top h3 { font-size: 17px; line-height: 1.45; }
  .choices { gap: 10px; margin: 20px 0; }
  .choice { min-height: 0; padding: 6px; border-radius: 2px; }
  .choice.selected { padding: 5px; }
  .choice-image { height: calc((100vw - 64px) * .57); max-height: 142px; font-size: 42px; }
  .choice-title { margin: 7px 1px 1px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .choice-sub { margin: 0 1px; min-height: 28px; font-size: 10px; line-height: 1.35; }
  .card-footer { gap: 12px; padding-top: 13px; }
  .card-footer p { max-width: 150px; font-size: 10px; line-height: 1.45; }
  .card-footer button, .result button { min-height: 42px; padding: 10px 17px; font-size: 13px; }
  .result { margin: 8px 0 52px; padding: 60px 18px; }
  .result h2 { font-size: 38px; }
  footer { padding: 20px 0 28px; font-size: 9px; }
}

@media (max-width: 375px) {
  .page-shell { padding: 0 12px; }
  .hero { padding-top: 34px; }
  .hero-art { height: 260px; }
  .choices { gap: 7px; }
  .choice-image { height: calc((100vw - 52px) * .57); }
  .choice-title { font-size: 11px; }
  .choice-sub { font-size: 9px; }
}
