* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
body { scrollbar-color: var(--accent) var(--bg); }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: -.025em; text-wrap: balance; }
h1 { line-height: .98; }
h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.05; }
h3 { font-size: 36px; line-height: 1.1; }
p { max-width: 65ch; }
p + p { margin-top: 22px; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { padding-inline: var(--gutter); }
.skip { position: fixed; top: 10px; left: 10px; transform: translateY(-180%); z-index: 20; padding: 12px 18px; background: var(--ink); color: var(--bg); }
.skip:focus { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 70px; height: 58px; object-fit: contain; }
.brand span { font: 500 18px/1 var(--text); letter-spacing: -.025em; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { text-decoration: none; font-size: 18px; padding-block: 12px; }
.nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 26px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: 18px; font-weight: 500; border: 0; border-radius: 0; width: fit-content; transition: transform 180ms ease, opacity 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(1px) scale(.98); }
.lead { font-size: 18px; line-height: 1.5; }
.caption { font-size: 14px; line-height: 1.45; margin-top: 12px; max-width: 65ch; }
.question-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.question-switch[hidden] { display: none; }
.question-switch button { border: 0; border-radius: 0; min-height: 50px; padding: 12px 20px; background: var(--surface); font-size: 18px; transition: transform 180ms ease; }
.question-switch button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.question-switch button:hover { transform: translateY(-2px); }
.question-panel h3 { margin-bottom: 24px; max-width: 18ch; }
.question-panel + .question-panel { margin-top: 48px; }
.question-panel[hidden] { display: none; }
.question-panel.is-current { margin-top: 0; }
.question-panel a { display: inline-block; margin-top: 28px; }
.meta { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.related { display: flex; flex-wrap: wrap; gap: 24px; }
.credits { max-width: 850px; margin-top: 44px; font-size: 14px; line-height: 1.5; }
.credits summary { width: fit-content; padding-block: 10px; cursor: pointer; }
.credits ul { padding-left: 20px; margin-block: 14px 0; }
.credits li + li { margin-top: 10px; }
.email { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: -.025em; text-decoration: none; line-height: 1; display: block; width: fit-content; }
.email:hover { text-decoration: underline; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.image-frame { overflow: hidden; }
@keyframes arrive { from { transform: translateY(18px); opacity: .65; } to { transform: translateY(0); opacity: 1; } }
@keyframes picture-arrive { from { transform: scale(1.045); } to { transform: scale(1); } }
.onload { animation: arrive 850ms cubic-bezier(.16,1,.3,1) both; }
.onload:nth-child(2) { animation-delay: 70ms; }
.onload:nth-child(3) { animation-delay: 140ms; }
.hero-image { animation: picture-arrive 7s cubic-bezier(.16,1,.3,1) both; }
.is-visible { animation: arrive 700ms cubic-bezier(.16,1,.3,1) both; }
@media (max-width: 700px) {
  body { font-size: 18px; }
  h2 { font-size: 36px; }
  h3 { font-size: 30px; }
  .brand img { width: 58px; height: 48px; }
  .brand span { font-size: 18px; }
  .nav { gap: 18px; }
  .nav a { font-size: 18px; }
  .lead { font-size: 18px; }
  .question-switch { gap: 6px; margin-bottom: 28px; }
  .question-switch button { padding-inline: 14px; font-size: 18px; }
  .meta { gap: 20px; }
  .credits { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
