:root {
  --void: #0d1117;
  --dusk: #1a1f2e;
  --panel: #252b3b;
  --flare: #e63946;
  --gold: #ffd166;
  --cyan: #4cc9f0;
  --ink: #f8f9fa;
  --mute: #8b95a8;
  --spine: 11.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 18% 0%, rgba(230, 57, 70, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(76, 201, 240, 0.1), transparent 50%),
    var(--void);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

.bay-spine {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--spine);
  padding: 2rem 1.1rem;
  border-right: 1px solid rgba(76, 201, 240, 0.18);
  background: rgba(13, 17, 23, 0.92);
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  z-index: 4;
}

.bay-spine__mark {
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.bay-spine__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bay-spine__list a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.bay-spine__list a:hover,
.bay-spine__list a.is-here {
  color: var(--flare);
}

.bay-deck {
  margin-left: var(--spine);
  padding: 0 7vw 5rem;
}

.editorial {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12vh 0 4rem;
  max-width: 52rem;
}

.kicker {
  margin: 0 0 1rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
}

.editorial h1 {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.lede {
  margin: 1.1rem 0 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--gold);
  font-style: italic;
}

.tag {
  margin: 1.6rem 0 0;
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--mute);
}

.editorial__film {
  margin: 2.4rem 0 0;
  max-width: 22rem;
  border: 1px solid rgba(255, 209, 102, 0.28);
  overflow: hidden;
}

.editorial__film img {
  display: block;
  width: 100%;
  height: 9rem;
  object-fit: cover;
}

.intro {
  margin: 0 0 2.2rem;
}

.intro--end {
  text-align: right;
  margin-left: auto;
  max-width: 34rem;
}

.intro h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.intro p {
  margin: 0;
  color: var(--mute);
  line-height: 1.5;
}

.path-band,
.shot-band {
  padding: 4.5rem 0 2rem;
}

.path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.path-steps li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.4rem 1.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(139, 149, 168, 0.22);
}

.path-steps__n {
  grid-row: span 2;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 1.5rem;
  color: var(--flare);
  padding-top: 0.15rem;
}

.path-steps h3 {
  margin: 0;
  font-size: 1.25rem;
}

.path-steps p {
  margin: 0;
  grid-column: 2;
  color: var(--mute);
  line-height: 1.5;
}

.vignettes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.vignettes img {
  width: 100%;
  height: 9.5rem;
  object-fit: cover;
  filter: saturate(0.92);
}

.polaroids {
  position: relative;
  min-height: 28rem;
  margin: 2rem auto 0;
  max-width: 44rem;
}

.polaroid {
  position: absolute;
  width: 13.6rem;
  background: #f4efe4;
  color: #1a1f2e;
  padding: 0.7rem 0.7rem 1.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.polaroid img {
  display: block;
  width: 100%;
  height: 16.5rem;
  object-fit: cover;
  object-position: top;
}

.polaroid figcaption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.polaroid--a {
  left: 4%;
  top: 1.2rem;
  transform: rotate(-8deg);
}

.polaroid--b {
  left: 34%;
  top: 4.2rem;
  transform: rotate(4deg);
  z-index: 2;
}

.polaroid--c {
  right: 2%;
  top: 0.4rem;
  transform: rotate(11deg);
}

.legal-sheet {
  margin-top: 5rem;
  background: #f3eee3;
  color: #1c2433;
  padding: 3rem 8% 4rem;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
}

.legal-sheet h2 {
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
}

.legal-sheet p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
  color: #3a4456;
}

.legal-sheet section + section {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px dashed rgba(28, 36, 51, 0.25);
}

.mail {
  color: #b42332;
  font-weight: 700;
}

@media (max-width: 860px) {
  .bay-spine {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-top: 1px solid rgba(76, 201, 240, 0.18);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  }

  .bay-spine__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
  }

  .bay-deck {
    margin-left: 0;
    padding: 0 1.2rem 5.5rem;
  }

  .polaroids {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .polaroid {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: min(100%, 18rem);
    margin: 0 auto;
    transform: none;
  }

  .vignettes {
    grid-template-columns: 1fr;
  }
}
