:root {
  --ink: #12161e;
  --dusk: #1c2430;
  --paper: #ede3d1;
  --quiet: #9ea8b2;
  --amber: #db9e52;
  --sage: #739e80;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(165deg, #1a2230 0%, var(--ink) 42%, #0e1218 100%);
  color: var(--paper);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.float-nav {
  position: fixed;
  z-index: 30;
  left: 18px;
  bottom: 28%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--amber);
  color: #1a1208;
  text-decoration: none;
  font: 650 12px/1 "Avenir Next", sans-serif;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.float-nav a:nth-child(2) {
  background: var(--dusk);
  color: var(--paper);
  border: 1px solid rgba(237, 227, 209, 0.18);
}
.float-nav a:nth-child(3) {
  background: var(--sage);
  color: #0e1612;
}
.float-nav a.is-pressed { transform: scale(0.96); opacity: 0.85; }

.mast {
  max-width: 40rem;
  padding: 16vh 10vw 10vh 22vw;
}
.eyebrow {
  margin: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font: 600 11px/1 "Avenir Next", sans-serif;
  color: var(--sage);
}
.mast h1 {
  margin: 0.35em 0 0;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-size: clamp(3.4rem, 11vw, 7.2rem);
  line-height: 0.9;
  font-weight: 700;
}
.sub {
  margin: 0.55em 0 0;
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: clamp(1.25rem, 3.4vw, 1.9rem);
  color: var(--amber);
  font-style: italic;
}
.intro {
  margin-top: 1.8rem;
  max-width: 32rem;
  font-size: 1.12rem;
  color: var(--quiet);
}

.essay, .frames, .legal, .endnote {
  max-width: 40rem;
  padding: 0 10vw 4.2rem 22vw;
}
h2 {
  margin: 0 0 1rem;
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: 1.85rem;
  font-weight: 700;
}
.essay p, .frames p, .legal p {
  color: var(--quiet);
  font-size: 1.04rem;
}

.shot-line img {
  display: block;
  width: min(200px, 38vw);
  height: auto;
  margin: 0.9rem 0 1.5rem;
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}

.legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem 3rem;
  max-width: 58rem;
}
.legal a { color: var(--amber); }

.endnote {
  padding-bottom: 7rem;
  font: 500 13px/1.45 "Avenir Next", sans-serif;
  color: var(--quiet);
}
.endnote a { color: var(--amber); }

@media (max-width: 820px) {
  .float-nav {
    left: auto;
    right: 14px;
    top: auto;
    bottom: 18px;
    flex-direction: row;
  }
  .mast, .essay, .frames, .legal, .endnote {
    padding-left: 8vw;
    padding-right: 8vw;
  }
  .legal { grid-template-columns: 1fr; }
}
