:root {
  --bg: #f4efe2;
  --surface: rgba(255, 252, 245, 0.92);
  --surface-strong: #fffdf7;
  --ink: #1e2d28;
  --muted: #5d685f;
  --line: rgba(30, 45, 40, 0.12);
  --brand: #126f5d;
  --brand-strong: #0d5647;
  --accent: #d3a64b;
  --shadow: 0 24px 60px rgba(17, 31, 26, 0.16);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(211, 166, 75, 0.14), transparent 32%),
    linear-gradient(180deg, #f7f2e6 0%, var(--bg) 100%);
}

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

a {
  color: inherit;
}

.shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 3rem 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 31, 26, 0.5), rgba(18, 31, 26, 0.68)),
    url("assets/reading-main.jpg") center center / cover no-repeat;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(12, 30, 25, 0.22), transparent 50%),
    linear-gradient(0deg, rgba(12, 30, 25, 0.2), transparent 35%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 360px);
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 6rem);
}

.hero__copy {
  color: #fff9ef;
}

.eyebrow,
.panel__label {
  margin: 0 0 0.9rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #f1d18a;
}

.hero h1,
.panel h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.lede,
.panel p,
.footer p {
  font-family: Arial, Helvetica, sans-serif;
}

.lede {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.75;
  color: rgba(255, 249, 239, 0.9);
}

.hero__actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ebc874);
  color: #1b2019;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(12, 30, 25, 0.25);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(12, 30, 25, 0.32);
  filter: saturate(1.05);
}

.button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.45);
  outline-offset: 4px;
}

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

.book-card {
  display: block;
  width: min(100%, 280px);
  padding: 1rem;
  border: 1px solid rgba(255, 249, 239, 0.2);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 252, 245, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.book-card img {
  width: 100%;
  border-radius: 18px;
}

.details {
  position: relative;
  margin-top: -4.5rem;
  padding: 0 0 5rem;
}

.details__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.panel {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel--accent {
  background:
    linear-gradient(180deg, rgba(18, 111, 93, 0.08), rgba(255, 253, 247, 0.98)),
    var(--surface-strong);
}

.panel__label {
  color: var(--brand);
}

.panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.panel p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.footer {
  padding: 0 0 2rem;
}

.footer__inner {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__layout,
  .details__layout {
    grid-template-columns: 1fr;
  }

  .hero__layout {
    min-height: auto;
    padding: 3rem 0 6rem;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero__book {
    justify-content: flex-start;
  }

  .details {
    margin-top: -3rem;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1.25rem, 1100px);
  }

  .hero {
    padding: 1rem 0 2.5rem;
  }

  .hero__layout {
    gap: 1.75rem;
    padding: 2rem 0 4rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 3.8rem);
  }

  .lede {
    font-size: 1rem;
    line-height: 1.65;
  }

  .button,
  .book-card {
    width: 100%;
  }

  .panel {
    padding: 1.5rem;
  }

  .details {
    margin-top: -2rem;
    padding-bottom: 3.5rem;
  }
}
