* {
  box-sizing: border-box;
}

:root {
  --ink: #241f1c;
  --soft-ink: #5b514a;
  --cream: #f8f0e7;
  --warm-cream: #f4e5d6;
  --taupe: #c8ad99;
  --rose: #d7a797;
  --cocoa: #7b5e50;
  --deep-cocoa: #3a2822;
  --gold: #b88a54;
  --white: #ffffff;
  --blue: #12304f;
  --teal: #1b998b;
  --shadow: 0 24px 70px rgba(58, 40, 34, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

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

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

.container {
  width: min(1160px, calc(100% - 42px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(248, 240, 231, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 40, 34, 0.10);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--deep-cocoa);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--deep-cocoa);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

nav a {
  opacity: 0.88;
  transition: opacity 160ms ease, color 160ms ease;
}

nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.amazon-link {
  padding: 9px 15px;
  border: 1px solid rgba(58, 40, 34, 0.22);
  border-radius: 999px;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--warm-cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-boy-book.png");
  background-size: cover;
  background-position: center center;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(42, 29, 24, 0.18) 0%, rgba(42, 29, 24, 0.20) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 96px;
  text-align: center;
  color: var(--white);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.34);
}

.small-title {
  margin: 0 0 16px;
  font-size: 1.04rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  color: var(--deep-cocoa);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  color: var(--deep-cocoa);
  font-size: 1.45rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.25rem;
  font-weight: 400;
}

.hero-actions,
.contact-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(58, 40, 34, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(58, 40, 34, 0.20);
}

.button.small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.primary {
  background: var(--white);
  color: var(--deep-cocoa);
}

.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.dark {
  background: var(--deep-cocoa);
  color: var(--white);
}

.outline {
  background: transparent;
  color: var(--deep-cocoa);
  border: 1px solid rgba(58, 40, 34, 0.26);
}

.section {
  padding: 92px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 900;
}

.eyebrow.gold {
  color: #f2c16d;
}

.lead,
.section-heading p,
.clue-copy p,
.book-body p,
.author-grid p,
.contact-section p,
.trailer-card p {
  color: var(--soft-ink);
  font-size: 1.06rem;
}

.featured-section {
  background: var(--cream);
}

.clue-section {
  background: var(--deep-cocoa);
}

.clue-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #112e4c;
  box-shadow: var(--shadow);
}

.clue-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.clue-copy {
  padding: 56px;
  align-self: center;
}

.clue-copy h2,
.clue-copy p {
  color: var(--white);
}

.clue-copy p {
  opacity: 0.9;
}

.mini-tags,
.reader-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.mini-tags span,
.reader-tags span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
}

.books-section {
  background: linear-gradient(180deg, var(--warm-cream) 0%, var(--cream) 100%);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.book-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.book-img {
  height: 430px;
  overflow: hidden;
  background: var(--blue);
}

.book-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-img.poster img {
  object-position: center top;
}

.book-body {
  padding: 32px;
}

.status {
  margin-bottom: 10px;
  color: var(--teal) !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status.coming {
  color: #b36b46 !important;
}

.scene-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.scene-strip article {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(58, 40, 34, 0.12);
}

.scene-strip img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.scene-strip article:nth-child(3) img {
  object-fit: contain;
  padding: 18px;
  background: var(--blue);
}

.scene-strip h3 {
  margin: 0;
  padding: 20px 22px 22px;
  font-size: 1.15rem;
}

.trailer-section {
  background: var(--cream);
}

.trailer-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.trailer-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.trailer-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.trailer-thumb span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-cocoa);
  font-size: 2rem;
  box-shadow: 0 14px 28px rgba(0,0,0,0.20);
}


.author-section {
  background: var(--warm-cream);
}

.author-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 54px;
  align-items: center;
}

.author-photo-wrap {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
  border: 9px solid rgba(255,255,255,0.75);
}

.author-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.contact-section {
  background: var(--cream);
}

.contact-section .secondary {
  background: var(--deep-cocoa);
  color: var(--white);
  border: none;
}

.site-footer {
  background: var(--deep-cocoa);
  color: rgba(255,255,255,0.86);
  padding: 28px 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 13px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-bg {
    background-position: center center;
  }

  .clue-card,
  .book-grid,
  .trailer-card,
  .author-grid {
    grid-template-columns: 1fr;
  }

  .clue-copy {
    padding: 38px;
  }

  .scene-strip {
    grid-template-columns: 1fr;
  }

  .scene-strip img {
    height: auto;
    max-height: 420px;
  }

  .author-photo-wrap {
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-name {
    font-size: 1.18rem;
  }

  nav {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    padding-top: 86px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .book-img {
    height: 360px;
  }

  .trailer-card {
    padding: 26px;
  }

  .author-photo-wrap {
    width: 220px;
    height: 220px;
  }

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