:root { --paper: #faf8f1; --ink: #262e30; --accent: #285b67; --rule: #cbd1c9; }
h1 { text-wrap: balance; }
.skip { position: absolute; top: -8em; left: 1em; }
.skip:focus { top: 1em; background: var(--paper); padding: .5em; }
.passages { display: grid; gap: .35rem; margin-top: .7rem; font: .95rem/1.45 'Segoe UI', sans-serif; }
.passages [aria-current="page"] { color: var(--ink); font-weight: 600; }
.ocean { grid-template-columns: repeat(2,minmax(0,1fr)); }
.detail, .horizon, .answer { grid-column: 1 / -1; }
.detail figure, .answer figure { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: clamp(20px,3vw,44px); }
.detail figcaption, .answer figcaption { margin: 0; }
.horizon figcaption { max-width: 51ch; font-size: clamp(1.25rem,2vw,1.7rem); line-height: 1.4; }
.answer { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.answer figcaption { font-size: clamp(1.7rem,3vw,2.65rem); font-style: italic; line-height: 1.2; }
.view { overflow: hidden; }
.ocean.one-panel { display: block; }
.ocean.one-panel .listening-young, .ocean.one-panel .question { max-width: min(74%, 480px); margin-inline: auto; }
.ocean.one-panel .detail figure { display: block; }
.ocean.one-panel .detail .view { aspect-ratio: 1859 / 846; display: grid; place-items: center; }
.ocean.one-panel .detail img { width: 66%; }
.ocean.one-panel .detail figcaption { max-width: 52ch; margin-top: .48em; }
@media (prefers-reduced-motion: no-preference) {
  /* Begin with the exact crop used for the glint, at the same displayed size. */
  .one-panel .horizon[aria-current="step"] .view { animation: open-frame 1.8s ease-in-out both; }
  .one-panel .horizon[aria-current="step"] img { transform-origin: top left; animation: open-water 1.8s ease-in-out both; }
  @keyframes open-frame { from { clip-path: inset(17%); } to { clip-path: inset(0); } }
  @keyframes open-water {
    from { transform: translate(50%,50%) scale(2.2763) translate(-42.2%,-62.23%); }
    to { transform: translate(0,0) scale(1) translate(0,0); }
  }
}
@media (max-width: 780px) {
  .ocean { grid-template-columns: minmax(0,1fr); }
  .ocean li:not(.horizon) { max-width: 88%; margin-inline: auto; }
  .detail figure, .answer figure { display: block; }
  .detail figcaption, .answer figcaption { margin-top: .48em; }
  .ocean.one-panel .detail { max-width: 100%; }
  .passages { margin-top: .6rem; }
}
@media print {
  .spread { display: block; }
  .ocean, .ocean.one-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ocean.one-panel li:not([aria-current="step"]) { display: list-item; }
  .ocean li { width: 100%; max-width: none; }
  .ocean .view, .ocean img { animation: none !important; }
}
