:root {
  color-scheme: light;
  --ink: #183638;
  --muted: #526769;
  --line: #c6cfca;
  --paper: #f6f6f0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1464px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px) 42px; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #af5c17; outline-offset: 3px; }
nav { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); }
nav a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }
a:hover { text-decoration: underline; }
header { padding: clamp(28px, 4vw, 56px) 0 25px; }
h1 { margin: 0; font-size: clamp(34px, 4.5vw, 66px); letter-spacing: -.065em; line-height: 1.15; }
header p, footer p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; word-break: keep-all; }
.controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 19px; }
.controls button { min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 14px; font-weight: 650; }
.views { display: flex; }
.views button:first-child { border-radius: 5px 0 0 5px; }
.views button:last-child { border-left: 0; border-radius: 0 5px 5px 0; }
.views button[aria-pressed="true"] { color: white; background: var(--ink); }
#play { border-radius: 5px; }
#play span[aria-hidden] { display: inline-block; min-width: 16px; color: #287167; }
#studies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
article { min-width: 0; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #658c93; }
.caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; margin: 12px 0 5px; }
article h2 { margin: 0; font-size: clamp(18px, 1.6vw, 25px); letter-spacing: -.045em; line-height: 1.3; }
.flight { font-size: 13px; font-weight: 680; text-decoration: none; }
article p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; word-break: keep-all; }
footer { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); }
footer h2 { font-size: 21px; letter-spacing: -.035em; margin: 0; }
footer p { margin-top: 5px; }
.sources { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; }
@media (max-width: 960px) { #studies { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  #studies { grid-template-columns: 1fr; }
  .controls button { padding: 8px 12px; min-height: 44px; }
  .caption { margin-top: 9px; }
}
