:root {
  color-scheme: dark;
  --ink: #14120e;
  --ink-soft: #1d1a14;
  --paper: #ded3bd;
  --paper-deep: #cfc0a4;
  --text: #f1eadb;
  --muted: #c1b7a3;
  --copper: #d89043;
  --amber: #f1bc62;
  --cyan: #77b6b5;
  --line: rgba(229, 199, 145, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.has-cookie-banner {
  padding-bottom: 96px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button {
  font: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #85511e;
}

.hero {
  background: #090806;
}

.hero > img {
  display: block;
  width: 100%;
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 30px;
  padding: 15px 24px;
  border: 1px solid #f4ca80;
  border-radius: 2px;
  background: linear-gradient(120deg, #a85823 0%, #e5a34c 52%, #f1bd62 100%);
  color: #17110a;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  outline: 2px solid #fff0c7;
  outline-offset: 3px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 7vw, 96px);
  padding-block: clamp(72px, 10vw, 132px);
  color: var(--ink);
}

#about {
  position: relative;
}

#about::after {
  position: absolute;
  z-index: -1;
  inset: 0 calc((100vw - 100%) / -2);
  background: var(--paper);
  content: "";
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.book-meta li {
  padding: 6px 9px;
  border: 1px solid rgba(117, 72, 29, 0.34);
  color: #65401d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intro h2,
.scene h2,
.story-card h2,
.promise h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.intro h2 {
  max-width: 500px;
  font-size: clamp(42px, 5.6vw, 72px);
}

.intro__copy p {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.68;
}

.intro__copy p + p {
  margin-top: 20px;
}

.intro__copy .series-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid #a75e26;
  background: rgba(255, 250, 235, 0.46);
  font-weight: 650;
  line-height: 1.5;
}

.scene {
  position: relative;
  min-height: min(740px, 82svh);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.9) 0%, rgba(13, 12, 10, 0.42) 54%, rgba(13, 12, 10, 0.12) 100%),
    linear-gradient(180deg, transparent 42%, rgba(13, 12, 10, 0.8) 100%);
}

.scene__copy {
  position: relative;
  z-index: 1;
  padding-block: 100px 72px;
}

.scene__number {
  margin: 0 0 12px;
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.scene h2 {
  max-width: 700px;
  font-size: clamp(44px, 7vw, 84px);
}

.scene__copy > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: #e0d6c4;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.story {
  display: grid;
  gap: clamp(64px, 10vw, 128px);
  padding-block: clamp(76px, 11vw, 142px);
}

.story-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.story-card figure {
  margin: 0;
}

.story-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 24px 28px 0 rgba(216, 144, 67, 0.08), 0 26px 70px rgba(0, 0, 0, 0.34);
}

.story-card__label {
  margin: 0;
  color: var(--amber);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.story-card h2 {
  font-size: clamp(36px, 4.2vw, 54px);
}

.story-card__body > p:not(.story-card__label) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.64;
}

.story-card__body > p:not(.story-card__label) + p {
  margin-top: 16px;
}

.promise {
  padding-block: clamp(70px, 10vw, 126px);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(130deg, rgba(216, 144, 67, 0.12), transparent 40%),
    #1a1712;
}

.promise h2 {
  max-width: 760px;
  font-size: clamp(44px, 6vw, 78px);
}

.promise__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--line);
}

.promise article {
  min-height: 300px;
  padding: clamp(24px, 3.2vw, 42px);
  background: #17140f;
}

.promise article > span {
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.promise h3 {
  margin: 68px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 500;
}

.promise article p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.promise__action {
  display: flex;
  justify-content: center;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-block: 28px;
  color: #8f8575;
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(241, 188, 98, 0.28);
  background: rgba(18, 16, 12, 0.97);
  text-align: center;
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.5);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  display: inline;
  margin: 0 12px 0 0;
  color: #d8cfbe;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-banner button {
  padding: 8px 14px;
  border: 0;
  border-radius: 2px;
  background: var(--amber);
  color: #1a140b;
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 820px) {
  .intro,
  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card__body {
    max-width: 720px;
  }

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

  .promise article {
    min-height: auto;
  }

  .promise h3 {
    margin-top: 34px;
  }
}

@media (max-width: 580px) {
  body.has-cookie-banner {
    padding-bottom: 138px;
  }

  .shell {
    width: min(100% - 28px, var(--max));
  }

  .button {
    width: 100%;
    margin-top: 22px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .intro {
    gap: 28px;
    padding-block: 56px;
  }

  .intro h2,
  .scene h2,
  .story-card h2,
  .promise h2 {
    letter-spacing: -0.025em;
  }

  .intro h2 {
    font-size: 40px;
  }

  .intro__copy p,
  .scene__copy > p:last-child,
  .story-card__body > p:not(.story-card__label) {
    font-size: 16px;
    line-height: 1.55;
  }

  .scene {
    min-height: 600px;
  }

  .scene > img {
    object-position: 45% center;
  }

  .scene__copy {
    padding-block: 80px 44px;
  }

  .scene h2 {
    font-size: 42px;
  }

  .story {
    gap: 70px;
    padding-block: 64px;
  }

  .story-card {
    gap: 24px;
  }

  .story-card img {
    aspect-ratio: 4 / 3;
    box-shadow: 12px 14px 0 rgba(216, 144, 67, 0.08);
  }

  .story-card h2 {
    font-size: 36px;
  }

  .promise {
    padding-block: 58px;
  }

  .promise h2 {
    font-size: 40px;
  }

  .promise__grid {
    margin-top: 34px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cookie-banner p {
    display: block;
    margin: 0 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
