@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --slate: #2e3a40;
  --deep: #1e282d;
  --step: #384850;
  --ice: #bfd7db;
  --mist: #e8f1f2;
  --ink: #172023;
  --blaze: #ff6a2a;
  --gutter: clamp(20px, 4vw, 52px);
  --head: "Bricolage Grotesque", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --text: Georgia, "Times New Roman", serif;
  --size-display: clamp(3.4rem, 13vw, 12.5rem);
  --size-title: clamp(2.2rem, 5.4vw, 5rem);
  --size-section: clamp(1.7rem, 3vw, 2.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--slate);
  color: var(--mist);
  font-family: var(--text);
  font-size: 1.1875rem;
  line-height: 1.58;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blaze); }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
p { margin: 0 0 1.1em; max-width: 62ch; }
ul { margin: 0; padding-left: 1.15em; }
li { margin-bottom: 0.5em; max-width: 60ch; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  background: var(--blaze);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-family: var(--head);
  z-index: 20;
}
.skip:focus { top: 12px; }

.bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  padding: 22px var(--gutter);
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
}
.bar a { text-decoration: none; }
.bar a:hover { color: var(--blaze); }
.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; letter-spacing: -0.02em; font-size: 1.25rem; }
.wordmark img { width: 40px; height: auto; }
.bar nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.7rem; }

.cover {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
}
.cover > img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.cover .scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 21, 0.4);
}
.cover-text {
  position: relative;
  width: 100%;
  padding: 0 var(--gutter) clamp(32px, 7vh, 80px);
}
.display {
  font-size: var(--size-display);
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.cover-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2.4rem;
  margin-top: clamp(20px, 3.4vh, 40px);
}
.cover-line p {
  margin: 0;
  max-width: 34ch;
  font-size: 1.25rem;
}
.go {
  display: inline-block;
  background: var(--blaze);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.7rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.go:hover { background: var(--mist); color: var(--ink); }

.wrap { padding-inline: var(--gutter); }
.block { padding-block: clamp(96px, 13vw, 200px); position: relative; }

.lead {
  background: var(--slate) url("../img/contours-light.svg") center / cover no-repeat;
  padding-bottom: clamp(40px, 6vw, 90px);
}
.lead-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 var(--gutter);
  align-items: end;
}
.statement {
  grid-column: 1 / span 8;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.28;
  max-width: 28em;
  margin: 0;
}
.lead-note { grid-column: 9 / span 4; font-size: 1rem; margin: 0; }

.route { background: var(--slate); padding-bottom: 0; }
.route-head { padding-top: clamp(40px, 5vw, 80px); }
.route-head h2 { font-size: var(--size-title); max-width: 9ch; }

.leg { height: clamp(130px, 17vw, 250px); position: relative; z-index: 1; }
.leg svg { width: 100%; height: 100%; display: block; overflow: visible; }
.leg path {
  fill: none;
  stroke: var(--blaze);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 0.1 11;
  vector-effect: non-scaling-stroke;
}
.waypoint { display: flex; justify-content: center; margin-top: -2px; position: relative; z-index: 2; }
.waypoint span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--slate);
  border: 3px solid var(--blaze);
  display: grid;
  place-items: center;
}
.waypoint span::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blaze);
  transform: scale(0.01);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.waypoint.lit span::after { transform: scale(1); }
.on-step .waypoint span { background: var(--step); }

.stop { padding-block: clamp(28px, 4vw, 60px) clamp(70px, 9vw, 140px); }
.stop h3 { font-size: var(--size-title); }
.stop .tag, .stage .tag { font-family: var(--head); font-weight: 600; color: var(--ice); font-size: 1.25rem; margin: 0.9rem 0 0; letter-spacing: -0.01em; }
.stop-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.4rem; font-family: var(--head); font-weight: 600; }
.stop-links a:first-child { text-decoration-color: var(--blaze); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.frame { overflow: hidden; background: var(--deep); position: relative; }
.frame img { width: 100%; height: 112%; object-fit: cover; will-change: transform; margin-top: -6%; }

.stop-wide .frame { height: min(78vh, 820px); margin-inline: calc(var(--gutter) * -1); }
.stop-wide .words { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); margin-top: clamp(28px, 4vw, 56px); align-items: start; }
.stop-wide .words > div:first-child { grid-column: 1 / span 6; }
.stop-wide .words > div:last-child { grid-column: 8 / span 5; }

.stop-right { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); align-items: end; }
.stop-right .words { grid-column: 1 / span 5; grid-row: 1; }
.stop-right .frame { grid-column: 6 / span 7; aspect-ratio: 4 / 3; margin-right: calc(var(--gutter) * -1); }

.stop-band { background: var(--step); }
.stop-left { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); align-items: center; }
.stop-left .frame { grid-column: 1 / span 7; aspect-ratio: 5 / 4; margin-left: calc(var(--gutter) * -1); }
.stop-left .words { grid-column: 8 / span 5; grid-row: 1; }
.after { margin-top: 1.2rem; }

.stop-stack .words { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); margin-bottom: clamp(28px, 4vw, 56px); align-items: end; }
.stop-stack .words > div:first-child { grid-column: 1 / span 7; }
.stop-stack .words > div:last-child { grid-column: 9 / span 4; }
.stop-stack .frame { aspect-ratio: 21 / 9; margin-inline: calc(var(--gutter) * -1); }
.stop p { max-width: 46ch; }

.entry {
  background: var(--ice) url("../img/contours-dark.svg") center / cover no-repeat;
  color: var(--ink);
  padding-block: 0;
}
.entry a:hover { color: var(--ink); }
.entry-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); align-items: stretch; }
.entry-grid .frame { grid-column: 1 / span 5; min-height: 520px; margin-left: calc(var(--gutter) * -1); }
.entry-grid .frame img { height: 112%; }
.entry-words { grid-column: 7 / span 6; padding-block: clamp(80px, 11vw, 170px); }
.entry-words h2 { font-size: var(--size-title); margin-bottom: 0.5em; max-width: 10ch; }
.entry-words ul { margin-top: 1.4rem; }

.pause {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
}
.pause > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.pause .scrim { position: absolute; inset: 0; background: rgba(12, 18, 21, 0.42); }
.pause-text { position: relative; padding: 0 var(--gutter) clamp(40px, 8vh, 90px); width: 100%; }
.pause h2 { font-size: var(--size-title); max-width: 11ch; margin-bottom: 0.45em; }
.pause p { max-width: 40ch; }

.foot { background: var(--deep); padding: clamp(72px, 10vw, 150px) var(--gutter) 28px; }
.before { background: var(--step); padding: clamp(26px, 3.5vw, 46px); max-width: 880px; margin-bottom: clamp(56px, 8vw, 120px); }
.before h2 { font-size: var(--size-section); margin-bottom: 0.6em; }
.before p { margin: 0; max-width: 64ch; }
.big-name {
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(2.2rem, 10.6vw, 12rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0 0 clamp(28px, 4vw, 56px);
  white-space: nowrap;
}
.foot-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-family: var(--head); font-weight: 600; font-size: 1rem; }
.foot-links nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--blaze); }
.credit { margin: 36px 0 0; font-size: 1rem; color: var(--ice); max-width: 70ch; }

.pagetop {
  position: relative;
  padding: 170px var(--gutter) clamp(50px, 7vw, 100px);
  overflow: hidden;
}
.pagetop.with-photo { background: var(--deep); min-height: 62vh; display: flex; align-items: flex-end; }
.pagetop.with-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.pagetop.with-photo .scrim { position: absolute; inset: 0; background: rgba(12, 18, 21, 0.5); }
.pagetop .inner { position: relative; width: 100%; }
.pagetop h1 { font-size: clamp(3rem, 11vw, 10rem); line-height: 0.88; letter-spacing: -0.045em; max-width: 12ch; }
.pagetop .intro { margin: 1.4rem 0 0; font-size: 1.25rem; max-width: 36ch; }

.stage { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); }
.stage > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.stage .scrim { position: absolute; inset: 0; background: rgba(12, 18, 21, 0.4); }
.stage-text { position: relative; width: 100%; padding: 0 var(--gutter) clamp(32px, 6vh, 70px); }
.stage h1 { font-size: clamp(3rem, 10.5vw, 10rem); line-height: 0.88; letter-spacing: -0.045em; max-width: 9ch; }
.stage .tag { margin: 1rem 0 0; }

.sheet { padding-block: clamp(70px, 9vw, 140px); }
.note {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 var(--gutter);
  padding-block: clamp(26px, 3.6vw, 52px);
}
.note h2 { grid-column: 1 / span 4; font-size: var(--size-section); padding-right: 1rem; }
.note > div { grid-column: 6 / span 7; }
.note > div p:last-child { margin-bottom: 0; }
.pullout { font-size: clamp(1.45rem, 2.6vw, 2.25rem); line-height: 1.28; max-width: 26em; margin: 0 0 1.2em; }

.gate { background: var(--ice); color: var(--ink); padding-block: clamp(60px, 8vw, 120px); }
.gate a:hover { color: var(--ink); }
.gate-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); align-items: center; }
.gate-grid h2 { grid-column: 1 / span 5; font-size: var(--size-title); }
.gate-grid > div { grid-column: 7 / span 6; }
.gate .go { background: var(--ink); color: var(--mist); }
.gate .go:hover { background: var(--blaze); color: var(--ink); }
.gate small { display: block; margin-top: 1rem; font-size: 1rem; max-width: 50ch; }

.neighbours { background: var(--step); padding-block: clamp(50px, 7vw, 100px); }
.neighbours-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.6rem var(--gutter); }
.neighbours a { text-decoration: none; display: block; grid-column: span 6; }
.neighbours a:hover { color: var(--blaze); }
.neighbours .tag { font-family: var(--head); font-weight: 600; color: var(--ice); margin: 0 0 0.5rem; font-size: 1rem; }
.neighbours strong { font-family: var(--head); font-weight: 600; font-size: var(--size-section); letter-spacing: -0.03em; line-height: 1; }
.neighbours a:last-child { text-align: right; }

.plain { padding: 160px var(--gutter) clamp(60px, 8vw, 120px); }
.plain h1 { font-size: clamp(2.8rem, 8vw, 7rem); line-height: 0.9; letter-spacing: -0.045em; margin-bottom: 0.5em; max-width: 11ch; }
.plain .cols { max-width: 760px; }
.plain h2 { font-size: var(--size-section); margin: 1.8em 0 0.5em; }
.plain .stamp { color: var(--ice); font-size: 1rem; }
.mail { font-family: var(--head); font-weight: 600; font-size: clamp(1.5rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; word-break: break-all; }
.lost { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 80px var(--gutter); }
.lost h1 { font-size: clamp(3.4rem, 14vw, 12rem); line-height: 0.86; letter-spacing: -0.045em; margin-bottom: 0.3em; max-width: 8ch; }

@media (max-width: 860px) {
  .lead-grid, .stop-wide .words, .stop-stack .words, .stop-right, .stop-left, .entry-grid, .note, .gate-grid { display: block; }
  .statement { margin-bottom: 1.6rem; }
  .stop-wide .frame { height: 56vh; }
  .stop-right .frame, .stop-left .frame { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); margin-top: 28px; }
  .stop-right .words, .stop-left .words { margin-bottom: 28px; }
  .stop-right .frame, .stop-left .frame { margin-top: 0; }
  .stop-stack .frame { aspect-ratio: 4 / 3; }
  .stop-stack .words > div:last-child, .stop-wide .words > div:last-child { margin-top: 1rem; }
  .entry-grid .frame { min-height: 0; aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }
  .entry-words { padding-block: 60px; }
  .note h2 { margin-bottom: 0.6em; }
  .gate-grid h2 { margin-bottom: 1rem; }
  .neighbours a { grid-column: span 12; text-align: left !important; }
  .big-name { white-space: normal; font-size: clamp(2.6rem, 14vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waypoint span::after { transition: none; }
}

.js .rise { transform: translateY(34px); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .rise.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise { transform: none; transition: none; }
}

.glance { list-style: none; padding: 0; color: var(--ice); margin-bottom: 2.4rem; }

.stage-go { margin: 1.6rem 0 0; }
.stage-go .go { font-size: 1.05rem; }
.stop-links { align-items: center; }
.stop-links a[target="_blank"] {
  display: inline-block;
  background: var(--blaze);
  color: var(--ink);
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.stop-links a[target="_blank"]::after { content: " ↗"; }
.stop-links a[target="_blank"]:hover { background: var(--mist); color: var(--ink); }
