:root {
  --paper: #fff3e4;
  --ink: #1a2744;
  --coral: #e23d2e;
  --lagoon: #0e8a86;
  --marigold: #f0a202;
  --mint: #128a52;
  --muted: rgba(26, 39, 68, 0.58);
  --cork: #c48a4a;
  --spine: 212px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}

.desk {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--spine) minmax(0, 1fr);
}

.spine {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 28px 18px;
  background: #1a2744;
  color: #fff3e4;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 6px solid var(--coral);
}

.spine-mark {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marigold);
}

.spine-word {
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 0;
}

.spine a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 243, 228, 0.18);
  font-size: 0.95rem;
}

.spine a:hover,
.spine a:focus-visible {
  color: var(--marigold);
}

.canvas {
  min-width: 0;
  padding: 36px 40px 80px;
}

.hero-window {
  background: #2a3348;
  border-radius: 14px;
  padding: 10px 10px 14px;
  box-shadow: 12px 18px 0 rgba(226, 61, 46, 0.22);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 12px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--marigold);
}

.window-dot:nth-child(2) {
  background: var(--lagoon);
}

.window-dot:nth-child(3) {
  background: var(--coral);
}

.window-title {
  margin-left: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff3e4;
}

.hero-window img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 6px;
}

.hero-copy {
  margin-top: 28px;
  max-width: 40rem;
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.95;
}

.hero-copy p {
  margin: 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.intro-band {
  margin: 48px auto 12px;
  max-width: 28rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.cork {
  margin-top: 12px;
  background:
    radial-gradient(circle at 20% 30%, rgba(240, 162, 2, 0.18), transparent 40%),
    repeating-linear-gradient(90deg, #c48a4a 0 12px, #b57c3e 12px 24px);
  border: 10px solid #8d5a2a;
  padding: 28px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pin-note {
  background: #fffdf6;
  padding: 18px 16px 22px;
  box-shadow: 4px 8px 0 rgba(26, 39, 68, 0.12);
  transform: rotate(-1.2deg);
  position: relative;
}

.pin-note:nth-child(2) {
  transform: rotate(1.4deg);
  background: #fff4ea;
}

.pin-note:nth-child(3) {
  transform: rotate(0.6deg);
}

.pin-note:nth-child(4) {
  transform: rotate(-0.8deg);
  background: #eef8f6;
}

.pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 0 #8b1f16;
}

.pin-note h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
}

.pin-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.pair {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
}

.pair figure {
  margin: 0;
}

.pair img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px 28px 22px 22px;
  border: 10px solid var(--ink);
  background: #111;
}

.pair figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal {
  margin-top: 56px;
  max-width: 42rem;
}

.legal h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.dropcap::first-letter {
  float: left;
  font-size: 3.4rem;
  line-height: 0.8;
  padding-right: 10px;
  color: var(--coral);
  font-weight: 700;
}

.legal p {
  line-height: 1.55;
  color: var(--ink);
}

.legal a {
  color: var(--lagoon);
}

.foot {
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .desk {
    grid-template-columns: 1fr;
  }

  .spine {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
  }

  .spine nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .spine a {
    border: 0;
    padding: 0;
  }

  .canvas {
    padding: 24px 18px 64px;
  }

  .cork,
  .pair {
    grid-template-columns: 1fr;
  }

  .hero-window img,
  .pair img {
    height: 240px;
  }
}
