*, *::before, *::after { box-sizing: border-box }
:root { color-scheme: dark; font-family: system-ui, sans-serif; color: var(--text); background: var(--bg) }
body { margin: 0 }
.lt { --bg: #141513; --text: #f0eee6; --muted: #b6b5aa; --rule: #373932; --accent: #ff9a61; --panel: #1c1e19 }
.fr { --bg: #111922; --text: #f5eee4; --muted: #b5c3cb; --rule: #35444d; --accent: #ffbf90; --panel: #1b2731 }
a { color: inherit }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px }
.frame { max-width: 1540px; margin: auto; padding: 0 clamp(20px, 5vw, 82px) }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 78px; border-bottom: 1px solid var(--rule) }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 820; letter-spacing: .13em; text-decoration: none }
.mark { width: 23px; height: 23px; border: 1px solid var(--accent); display: inline-grid; place-items: center; transform: rotate(45deg) scale(.8) }
.mark::before { content: ''; width: 9px; height: 9px; border: 1px solid var(--accent) }
.fr .mark { border-radius: 50%; transform: none; background: linear-gradient(0deg, #ffbf90 45%, transparent 46%) }
.fr .mark::before { display: none }
.fr .brand { font: italic 21px Georgia, serif; letter-spacing: -.02em }
.mark { flex: 0 0 23px }
.mast-note, .scene-location, .scene-number, .scene-nav .index { font: 660 .68rem/1.3 ui-monospace, monospace; letter-spacing: .15em; color: var(--accent) }
.mast-note { text-align: right }
.intro { padding: clamp(29px, 4vw, 65px) 0 clamp(24px, 3vw, 45px) }
.intro h1 { margin: 0; font-size: clamp(2.35rem, 7.6vw, 7.7rem); line-height: .96; letter-spacing: -.069em; word-spacing: .045em; font-weight: 850; text-wrap: balance }
.intro p { margin: 15px 0 0; color: var(--muted); font-size: clamp(.88rem, 1.4vw, 1.1rem) }
.fr .intro { text-align: center }
.fr .intro h1 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.061em; font-style: italic }
.content { display: grid; grid-template-columns: minmax(155px, 20%) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 38px); align-items: start }
.scene-nav { display: grid; gap: 0; border-top: 1px solid var(--rule) }
.scene-nav a { text-decoration: none; min-height: 54px; padding: 13px 10px 13px 0; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); font-weight: 680 }
.scene-nav a::after { margin-left: auto; content: '↗'; color: var(--accent); opacity: 0 }
.scene-nav a[aria-current], .scene-nav a:hover { color: var(--accent) }
.scene-nav a[aria-current]::after, .scene-nav a:hover::after { opacity: 1 }
.scene { margin: 0; min-width: 0; background: var(--panel) }
.scene[hidden] { display: none }
.photo { display: block; width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; background: var(--panel) }
.lt #dunes img { object-position: center 63% }
.lt #lagoon img { object-position: center 54% }
.fr #raz img { object-position: center 44% }
.fr #men-ruz img { object-position: center 54% }
.scene figcaption { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(12px, 3vw, 32px); padding: clamp(16px, 2.6vw, 37px); border-bottom: 1px solid var(--rule) }
.scene-label { margin: 0 }
.scene-number { margin-right: 9px; opacity: .8 }
.scene h2 { margin: 4px 0 0; font-size: clamp(1.45rem, 3.3vw, 3.2rem); letter-spacing: -.053em; word-spacing: .035em; line-height: 1 }
.scene p:last-child { margin: 0; color: var(--muted); text-wrap: pretty; line-height: 1.55 }
.fr .content { grid-template-columns: minmax(0, 1fr) }
.fr .scene-nav { display: flex; justify-content: center; gap: clamp(12px, 4vw, 66px); border: 0 }
.fr .scene-nav a { border-bottom-color: transparent; gap: 8px; padding-inline: 8px }
.fr .scene-nav a[aria-current] { border-color: var(--accent) }
.fr .scene-nav a::after { display: none }
.fr .scene { position: relative }
.fr .photo { aspect-ratio: 2.35 }
.fr .scene h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em }
.fr .scene figcaption { border-left: 2px solid var(--accent); padding-inline: clamp(16px, 4vw, 56px) }
.credits { color: var(--muted); border-top: 1px solid var(--rule); padding: 16px 0 24px; margin-top: 26px; font-size: .79rem; line-height: 1.55 }
.credits summary { width: fit-content; cursor: pointer }
.credits ul { padding-inline-start: 22px }
.credits a { text-decoration-color: var(--accent); text-underline-offset: 2px }
@media (max-width: 690px) {
  .masthead { min-height: 62px }
  .mast-note { font-size: .53rem }
  .intro h1 { font-size: clamp(2.18rem, 10.4vw, 4.6rem) }
  .content { grid-template-columns: minmax(0, 1fr) }
  .scene-nav, .fr .scene-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-top: 0; align-items: stretch }
  .scene-nav a, .fr .scene-nav a { justify-content: center; text-align: center; min-height: 47px; font-size: clamp(.68rem, 3vw, .93rem); padding: 7px 4px; line-height: 1.15; gap: 5px }
  .scene-nav a::after { display: none }
  .scene-nav a[aria-current] { border-color: var(--accent) }
  .scene-nav .index { display: none }
  .photo, .fr .photo { aspect-ratio: 1.15 }
  .scene figcaption { grid-template-columns: minmax(0, 1fr); gap: 11px }
  .scene p:last-child { font-size: .92rem }
}
