@font-face {
  font-family: "Archivo Black";
  src: url("/archivo-black.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #171a1b;
  --surface: #252a2a;
  --paper: #e5ded0;
  --muted: #b6bebc;
  --ink: #191d1d;
  --orange: #ff8250;
  --line: #434a48;
  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font: 16px/1.5 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: #f2efe7; background: var(--page); }
[hidden] { display: none !important; }
h1, h2, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.layout { width: min(93%, 1450px); margin-inline: auto; }
.label { font: 600 .73rem/1.25 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead h1 { display: flex; align-items: baseline; gap: .9rem; font-size: 1rem; }
.wordmark { font: 400 clamp(1.4rem, 2.35vw, 2rem)/1 var(--display); letter-spacing: -.07em; text-decoration: none; text-transform: uppercase; }
.edition { color: var(--orange); font: 500 .75rem/1.1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.header-link { color: var(--muted); text-decoration: none; white-space: nowrap; font-size: .82rem; }
.header-link:hover { color: #fff; }

.atlas { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 16.5rem; grid-template-areas: "views places"; border: 1px solid var(--line); }
.places { grid-area: places; background: var(--surface); padding: 1.5rem 1rem; border-left: 1px solid var(--line); }
.places > .label { margin: .1rem .75rem 1.25rem; color: var(--muted); }
.place { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1rem .75rem; border-top: 1px solid var(--line); text-decoration: none; overflow-wrap: anywhere; line-height: 1.2; }
.place:last-child { border-bottom: 1px solid var(--line); }
.place small { display: block; margin-top: .4rem; color: var(--muted); font: .7rem/1.3 var(--mono); }
.indicator { font-size: .95rem; flex: none; }
.place:hover { background: #313937; }
.place[aria-current="location"] { color: var(--ink); background: var(--orange); border-color: transparent; }
.place[aria-current="location"] small { color: #391e16; }

.views { grid-area: views; min-width: 0; }
.view + .view { border-top: 1px solid var(--line); }
.landscape { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; aspect-ratio: 1.85; min-height: 420px; padding: clamp(1rem, 3vw, 2.2rem); overflow: hidden; background: #373e3d; }
.landscape img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.view-coast img { object-position: center 46%; }
.view-sand img { object-position: center 57%; }
.view-beach img { object-position: center 52%; }
.landscape::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(5 10 12 / 25%), transparent 39%, rgb(8 12 13 / 18%) 54%, rgb(7 11 12 / 84%));
}
.caption { align-self: flex-start; padding: .58rem .7rem; background: var(--page); font: .75rem/1.15 var(--mono); }
.landscape h2 { margin-left: -.045em; font: 400 clamp(2.5rem, 6.3vw, 7.3rem)/.92 var(--display); letter-spacing: -.075em; text-transform: uppercase; overflow-wrap: anywhere; }
.view-beach h2 { font-size: clamp(1.85rem, 5.5vw, 6.4rem); }

.note { display: grid; grid-template-columns: minmax(5rem, .6fr) minmax(0, 2.2fr) minmax(9rem, .85fr); gap: 1.25rem; align-items: start; padding: 1.35rem clamp(1rem, 3vw, 2rem); background: var(--paper); color: var(--ink); }
.note .label { padding-top: .25rem; }
.note p { font-size: .92rem; }
.external { justify-self: end; font-size: .82rem; font-weight: 650; }
.external:hover { color: #823a23; }
.note a:focus-visible { outline-color: #833c25; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 6rem); padding: 3.25rem 0; }
.about .label { color: var(--orange); }
.about h2 { margin-top: .65rem; font: 400 clamp(1.8rem, 4.5vw, 4rem)/1 var(--display); letter-spacing: -.06em; }
.about p:not(.label) { color: var(--muted); max-width: 55ch; }
.about details { max-width: 55ch; margin-top: 1.1rem; border-top: 1px solid var(--line); }
.about summary { cursor: pointer; padding: .8rem 0; font-size: .875rem; }
.about details p, .about ul { font-size: .82rem; }
.about ul { margin: .75rem 0 0; padding-left: 1.2rem; }

@media (max-width: 1050px) {
  .atlas { grid-template-columns: minmax(0, 1fr) 12.25rem; }
  .note { grid-template-columns: minmax(5rem, .55fr) minmax(0, 2fr); }
  .external { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .masthead { min-height: 64px; }
  .masthead h1 { gap: .6rem; }
  .atlas { grid-template-columns: minmax(0, 1fr); grid-template-areas: "places" "views"; }
  .places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .places > .label { grid-column: 1/-1; margin: 0; padding: .8rem .7rem; }
  .place { min-height: 65px; font-size: .85rem; padding: .65rem; }
  .place + .place { border-left: 1px solid var(--line); }
  .place:last-child { border-bottom: 0; }
  .place small { font-size: .62rem; }
  .indicator { display: none; }
  .landscape { aspect-ratio: 1.22; min-height: 0; }
  .landscape h2 { font-size: clamp(2.5rem, 10.6vw, 5.2rem); }
  .view-beach h2 { font-size: clamp(1.8rem, 7.8vw, 4.3rem); }
  .about { grid-template-columns: minmax(0, 1fr); padding-block: 2.5rem; }
}

@media (max-width: 430px) {
  .edition { font-size: .63rem; }
  .header-link { font-size: .73rem; }
  .note { display: block; }
  .note p { margin: .6rem 0 .75rem; }
}
