:root {
  --bg: #140e0c;
  --raised: #2a1c17;
  --accent: #e4572e;
  --accent2: #8fbfb2;
  --text: #f4e7d4;
  --muted: #7a6a60;
  --slip: #cdbdae;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent2);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.spine {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10.5rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(180deg, var(--raised), var(--bg));
  border-right: 1px solid #3a2a22;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 5;
}

.spine__brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.spine__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spine__list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.spine__list a:hover {
  color: var(--accent);
}

.spine__scroll {
  margin-top: auto;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.canvas {
  margin-left: 10.5rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 6rem;
  max-width: 1100px;
}

.hero {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.hero--window {
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .hero--window {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

.hero__frame {
  margin: 0;
  padding: 0.75rem;
  background: var(--raised);
  border: 1px solid #4a3328;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0.35rem 0 1rem;
}

.hero h1 span {
  color: var(--accent);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.tagline {
  color: var(--slip);
  max-width: 32ch;
}

.section-intro--right {
  text-align: right;
  margin-bottom: 1.5rem;
}

.section-intro h2 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
}

.band {
  margin-bottom: 4rem;
}

.cork__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(205, 189, 174, 0.08), transparent 50%),
    repeating-linear-gradient(
      -4deg,
      #3d2c22 0,
      #3d2c22 2px,
      #36271e 2px,
      #36271e 6px
    );
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid #4a3529;
}

.cork__pin {
  background: var(--slip);
  color: #2a211c;
  padding: 1.25rem 1.35rem;
  border-radius: 4px;
  box-shadow: 3px 4px 12px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
}

.cork__pin--tilt {
  transform: rotate(2deg);
}

.cork__pin--low {
  transform: rotate(-0.5deg) translateY(6px);
}

.cork__pin h3 {
  margin: 0 0 0.5rem;
  color: #2a211c;
}

.cork__pin p {
  margin: 0;
  font-size: 0.98rem;
}

.pair {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .pair {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.accordion details {
  background: var(--raised);
  border: 1px solid #4a3328;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--slip);
}

.accordion__body h3 {
  color: var(--text);
  margin-top: 1.25rem;
}

.footer {
  border-top: 1px solid #3a2a22;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.dock {
  display: none;
}

@media (max-width: 820px) {
  .spine {
    display: none;
  }

  .canvas {
    margin-left: 0;
    padding-bottom: 5.5rem;
  }

  .section-intro--right {
    text-align: left;
  }

  .dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: space-around;
    gap: 0.5rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(20, 14, 12, 0.94);
    border-top: 1px solid #3a2a22;
    backdrop-filter: blur(8px);
    z-index: 10;
  }

  .dock a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
  }
}