:root {
  --pine: #141914;
  --bark: #3a2d24;
  --fur: #77786f;
  --bone: #e8e1d2;
  --lichen: #a8ad94;
  --blood: #8b2e24;
  --shale: #50606a;
  --resin: #b46a32;
  --ink: #11130f;
  --paper: #f4efe5;
  --mist: #fbf7ed;
  --line: rgba(20, 25, 20, 0.16);
  --light-line: rgba(232, 225, 210, 0.24);
  --shadow: 0 24px 70px rgba(8, 10, 8, 0.32);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Atkinson Hyperlegible", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--pine);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(20, 25, 20, 0.9);
  border-bottom: 1px solid rgba(232, 225, 210, 0.14);
  color: var(--bone);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 52px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 850;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: transparent;
  border: 0;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.brand-mark img {
  height: 36px;
  width: 36px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 1.8vw, 24px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(232, 225, 210, 0.88);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #fff;
}

.nav-toggle {
  display: none;
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(22px, 6vw, 76px);
}

.hero {
  align-items: end;
  color: #fff;
  display: grid;
  gap: clamp(30px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  min-height: 94vh;
  overflow: hidden;
  padding: 124px clamp(22px, 6vw, 76px) 76px;
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(8, 10, 8, 0.9) 0%, rgba(8, 10, 8, 0.68) 48%, rgba(8, 10, 8, 0.36) 100%),
    linear-gradient(0deg, rgba(8, 10, 8, 0.85) 0%, rgba(8, 10, 8, 0) 46%),
    url("images/hero-frost-line.jpg") center / cover;
  inset: 0;
  position: absolute;
  transform: scale(1.01);
  z-index: -1;
}

.hero-inner {
  max-width: 850px;
  padding-bottom: 22px;
}

.eyebrow {
  color: var(--resin);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2.35rem, 5.8vw, 5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.68rem);
}

.hero-lede {
  color: var(--paper);
  font-size: clamp(1.14rem, 2vw, 1.58rem);
  font-weight: 700;
  margin: 24px 0 0;
  max-width: 760px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.button.primary {
  background: var(--blood);
  color: #fff;
}

.button.secondary {
  background: var(--pine);
  color: #fff;
}

.button.ghost {
  background: rgba(20, 25, 20, 0.28);
  border-color: rgba(232, 225, 210, 0.72);
  color: #fff;
}

.button:hover,
.button:focus {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hero-stack {
  align-items: end;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  margin: 0;
  min-height: 560px;
  position: relative;
}

.hero-cover {
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(232, 225, 210, 0.26);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: min(58vw, 360px);
}

.hero-cover-main {
  position: relative;
  z-index: 3;
}

.hero-cover-side {
  filter: saturate(0.92) brightness(0.9);
  position: absolute;
  top: 96px;
  width: min(44vw, 260px);
  z-index: 1;
}

.hero-cover-side.one {
  left: clamp(0px, 3vw, 34px);
  transform: rotate(-8deg);
}

.hero-cover-side.two {
  right: clamp(0px, 3vw, 34px);
  transform: rotate(8deg);
}

.scroll-cue {
  border-bottom: 1px solid rgba(232, 225, 210, 0.7);
  bottom: 28px;
  color: rgba(232, 225, 210, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  position: absolute;
  right: clamp(22px, 6vw, 76px);
  text-decoration: none;
}

.start-panel {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(244, 239, 229, 0.94), rgba(232, 225, 210, 0.8)),
    url("images/pack-pups.jpg") center / cover;
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(220px, 430px) minmax(0, 1fr);
}

.start-cover img {
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(20, 25, 20, 0.24);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: min(100%, 430px);
}

.start-copy {
  max-width: 800px;
}

.large-copy {
  color: var(--bark);
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  font-weight: 700;
  margin: 24px 0 22px;
}

.promise-strip,
.world-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promise-strip span,
.world-points span {
  background: rgba(20, 25, 20, 0.08);
  border: 1px solid rgba(20, 25, 20, 0.18);
  border-radius: 4px;
  color: var(--pine);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 10px;
}

.series {
  background:
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 100%);
}

.section-heading {
  max-width: 960px;
}

.split-heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  max-width: none;
}

.split-heading > p,
.section-heading p:last-child {
  color: var(--bark);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  margin: 0;
}

.book-shelf {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.book-card {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 14px;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 14px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.book-card:hover {
  border-color: rgba(139, 46, 36, 0.42);
  transform: translateY(-2px);
}

.book-card img {
  aspect-ratio: 2 / 3;
  background: var(--pine);
  border-radius: 3px;
  object-fit: cover;
  width: 100%;
}

.book-info {
  display: grid;
  gap: 8px;
}

.book-number {
  color: var(--blood);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.book-card h3 {
  font-size: clamp(1.26rem, 2vw, 1.58rem);
}

.book-card p:last-child {
  color: var(--bark);
  font-size: 0.95rem;
  margin: 0;
}

.start-book {
  background: #f8ead5;
  border-color: rgba(139, 46, 36, 0.44);
}

.reveal-soon {
  background: #f1e8dc;
}

.world {
  align-items: center;
  background: var(--pine);
  color: var(--bone);
  display: grid;
  gap: clamp(34px, 6vw, 78px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

.world .eyebrow,
.newsletter .eyebrow,
.buy-links .eyebrow {
  color: #d7a26c;
}

.world-copy p {
  color: rgba(232, 225, 210, 0.82);
  font-size: 1.08rem;
}

.world-points span {
  background: rgba(232, 225, 210, 0.08);
  border-color: rgba(232, 225, 210, 0.18);
  color: var(--bone);
}

.map-panel {
  border: 1px solid var(--light-line);
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.map-panel img {
  aspect-ratio: 7 / 5;
  object-fit: cover;
  width: 100%;
}

.newsletter {
  align-items: stretch;
  background: var(--bark);
  color: var(--bone);
  display: grid;
  gap: clamp(24px, 5vw, 58px);
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
}

.newsletter-art {
  background:
    linear-gradient(0deg, rgba(20, 25, 20, 0.08), rgba(20, 25, 20, 0.08)),
    url("images/ghost-bear.jpg") center / cover;
  min-height: 520px;
}

.newsletter-panel {
  align-self: center;
  max-width: 700px;
}

.newsletter-panel p {
  color: rgba(232, 225, 210, 0.84);
}

.signup {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  max-width: 560px;
}

.signup label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.signup input {
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid transparent;
  border-radius: 4px;
  color: var(--pine);
  font: inherit;
  min-height: 54px;
  padding: 12px 14px;
  width: 100%;
}

.signup input:focus {
  border-color: var(--resin);
  outline: none;
}

.form-note {
  font-size: 0.9rem;
}

.parent-note {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.parent-note > p {
  color: var(--bark);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  margin: 0;
}

.about {
  align-items: stretch;
  background: var(--mist);
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
}

.about-copy {
  align-self: center;
  max-width: 760px;
}

.about-copy p {
  color: var(--bark);
  font-size: 1.08rem;
}

.about-art {
  background:
    linear-gradient(0deg, rgba(20, 25, 20, 0.12), rgba(20, 25, 20, 0.12)),
    url("images/pack-pups.jpg") center / cover;
  min-height: 460px;
}

.buy-links {
  background:
    linear-gradient(90deg, rgba(20, 25, 20, 0.94), rgba(20, 25, 20, 0.76)),
    url("images/hero-frost-line.jpg") center / cover;
  color: var(--bone);
  text-align: center;
}

.buy-links p {
  color: rgba(232, 225, 210, 0.82);
}

.button-row.center {
  justify-content: center;
}

.site-footer {
  align-items: start;
  background: var(--pine);
  color: var(--bone);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 38px clamp(22px, 6vw, 76px);
}

.site-footer p {
  color: rgba(232, 225, 210, 0.72);
  margin: 12px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: flex-end;
  max-width: 760px;
}

.site-footer a {
  color: var(--bone);
  font-weight: 700;
  text-decoration: none;
}

.privacy-page {
  background: var(--paper);
}

.privacy-main {
  margin: 0 auto;
  max-width: 900px;
  padding: 130px 22px 80px;
}

.privacy-main h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
}

.privacy-main h2 {
  font-size: 2rem;
  margin-top: 42px;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 130px;
  }

  .hero-stack {
    justify-self: start;
    min-height: 420px;
    width: min(100%, 640px);
  }

  .hero-cover {
    width: min(46vw, 280px);
  }

  .hero-cover-side {
    top: 56px;
    width: min(34vw, 210px);
  }

  .book-shelf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    background: transparent;
    border: 1px solid rgba(232, 225, 210, 0.6);
    border-radius: 4px;
    color: var(--bone);
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    padding: 8px 12px;
  }

  .site-nav {
    background: rgba(20, 25, 20, 0.98);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 18px 22px 24px;
    position: absolute;
    right: 0;
    top: 65px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .start-panel,
  .split-heading,
  .world,
  .newsletter,
  .parent-note,
  .about {
    grid-template-columns: 1fr;
  }

  .book-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-art,
  .about-art {
    min-height: 360px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding: 110px 20px 64px;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(8, 10, 8, 0.94) 0%, rgba(8, 10, 8, 0.38) 78%),
      url("images/hero-frost-line.jpg") center / cover;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .section {
    padding: 64px 20px;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stack {
    display: none;
  }

  .book-shelf {
    grid-template-columns: 1fr;
  }

  .book-card {
    align-items: start;
    grid-template-columns: 104px 1fr;
    grid-template-rows: auto;
  }

  .book-card img {
    width: 104px;
  }

  .book-card h3 {
    font-size: 1.22rem;
  }

  .book-card p:last-child {
    font-size: 0.92rem;
  }

  .scroll-cue {
    left: 20px;
    right: auto;
  }
}
