:root {
  color-scheme: dark;
  --ink: #080c0e;
  --night: #101719;
  --mist: #cfd4cf;
  --paper: #fff1d8;
  --gold: #d9a24a;
  --gold-bright: #f2c985;
  --rain: #5f8fa2;
  --moss: #546b48;
  --line: rgba(255, 241, 216, 0.18);
  --shadow: rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: linear-gradient(180deg, rgba(5, 8, 9, 0.82), rgba(5, 8, 9, 0));
}

.brand,
.site-header nav a,
.mobile-book-link,
footer a {
  text-decoration: none;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-header nav a {
  opacity: 0.82;
}

.mobile-book-link {
  display: none;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(242, 201, 133, 0.42);
  border-radius: 4px;
  background: rgba(5, 9, 10, 0.34);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header nav a:hover,
footer a:hover,
.text-link:hover {
  color: var(--gold-bright);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(22px, 6vw, 84px) 88px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/the-third-door.png");
  background-position: 56% center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 5, 6, 0.92) 0%, rgba(3, 5, 6, 0.7) 38%, rgba(3, 5, 6, 0.28) 74%),
    linear-gradient(180deg, rgba(3, 5, 6, 0.48) 0%, rgba(3, 5, 6, 0.12) 42%, rgba(3, 5, 6, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.book-number {
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.96;
}

h1 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(4.1rem, 12vw, 9.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.78);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.hero-copy {
  max-width: 630px;
  margin: 26px 0 0;
  color: rgba(255, 241, 216, 0.88);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.18;
}

.hero-actions,
.author-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-meta {
  margin: 18px 0 0;
  color: rgba(255, 241, 216, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  border-color: rgba(242, 201, 133, 0.7);
  background: var(--gold);
  color: #16110a;
}

.button-with-arrow::after {
  content: "->";
  margin-left: 10px;
  font-size: 1rem;
  line-height: 1;
}

.button-secondary {
  background: rgba(5, 9, 10, 0.32);
  color: var(--paper);
}

.intro,
.invitation,
.books,
.reader-echoes,
.author,
.beyond,
footer {
  padding-right: clamp(22px, 6vw, 84px);
  padding-left: clamp(22px, 6vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  padding-top: 96px;
  padding-bottom: 86px;
  background:
    linear-gradient(115deg, rgba(84, 107, 72, 0.22), transparent 42%),
    var(--night);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p:last-child,
.author-copy p {
  margin: 0;
  max-width: 650px;
  color: rgba(207, 212, 207, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.invitation {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
  background:
    linear-gradient(90deg, rgba(3, 5, 6, 0.84), rgba(3, 5, 6, 0.58)),
    linear-gradient(180deg, rgba(3, 5, 6, 0.1), rgba(3, 5, 6, 0.86)),
    url("assets/we-have-grown.jpeg") center 46% / cover;
  border-bottom: 1px solid var(--line);
}

.invitation-copy {
  max-width: 850px;
}

.invitation-copy h2 {
  margin-top: 12px;
}

.invitation-copy p:not(.section-kicker),
.invitation-panel p {
  color: rgba(255, 241, 216, 0.86);
  font-size: clamp(1.04rem, 1.45vw, 1.26rem);
}

.invitation-copy p:not(.section-kicker) {
  max-width: 720px;
}

.invitation-panel {
  padding: 28px;
  border: 1px solid rgba(242, 201, 133, 0.26);
  border-radius: 6px;
  background: rgba(5, 9, 10, 0.56);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
}

.invitation-panel p {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1.22;
}

.section-heading {
  max-width: 940px;
  margin-bottom: 44px;
}

.section-heading h2,
.intro h2,
.author h2 {
  margin-top: 12px;
}

.books {
  padding-top: 100px;
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 12% 18%, rgba(95, 143, 162, 0.18), transparent 34%),
    linear-gradient(180deg, var(--ink), #0f1514);
}

.book {
  display: grid;
  grid-template-columns: minmax(250px, 440px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.book-featured {
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}

.book img,
.book-card img {
  width: 100%;
  border: 1px solid rgba(255, 241, 216, 0.22);
  box-shadow: 0 28px 70px var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.book img:hover,
.book-card img:hover {
  border-color: rgba(242, 201, 133, 0.42);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.54);
  transform: scale(1.02);
}

.book-copy p:not(.book-number),
.book-card p:not(.book-number) {
  color: rgba(207, 212, 207, 0.86);
}

.tagline {
  margin: 18px 0 12px;
  color: var(--gold-bright) !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-style: italic;
  line-height: 1.2;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--paper);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  margin-top: 56px;
}

.book-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.58fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

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

.reader-echoes {
  padding-top: 92px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 162, 74, 0.16), transparent 28%),
    linear-gradient(180deg, #0f1514, #080c0e);
  border-top: 1px solid var(--line);
}

.echo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.74fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
}

.echo-feature,
.echo-card {
  border: 1px solid rgba(255, 241, 216, 0.16);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(255, 241, 216, 0.055), rgba(95, 143, 162, 0.055));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.echo-feature {
  padding: clamp(26px, 4vw, 46px);
}

.echo-label {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.echo-feature blockquote,
.echo-card blockquote {
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  line-height: 1.14;
}

.echo-feature blockquote {
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
}

.echo-feature p:last-child,
.echo-card p {
  margin: 22px 0 0;
  color: rgba(207, 212, 207, 0.86);
}

.echo-cards {
  display: grid;
  gap: 18px;
}

.echo-card {
  padding: 26px;
}

.echo-card blockquote {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.quote-band {
  min-height: 42vh;
  display: grid;
  place-items: center;
  padding: 80px 22px;
  background:
    linear-gradient(rgba(4, 8, 9, 0.66), rgba(4, 8, 9, 0.78)),
    url("assets/one-number-away.jpeg") center 58% / cover fixed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band p {
  max-width: 980px;
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 6rem);
  font-style: italic;
  line-height: 1.02;
  text-align: center;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.72);
}

.author {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.76fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
  background:
    linear-gradient(115deg, rgba(217, 162, 74, 0.12), transparent 40%),
    #0b1010;
}

.author-heading {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.author-mark {
  width: min(210px, 48vw);
  margin-top: 12px;
  border: 1px solid rgba(255, 241, 216, 0.18);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
}

.author-copy {
  align-items: flex-start;
  flex-direction: column;
}

.author-statement {
  max-width: 620px !important;
  color: var(--paper) !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
  font-style: italic;
  line-height: 1.22;
}

.signature {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 8px;
  color: rgba(255, 241, 216, 0.82) !important;
}

.signature span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem;
  font-style: italic;
}

.signature strong {
  color: var(--gold-bright);
  font-family: Parisienne, "Brush Script MT", cursive;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 12px 34px rgba(217, 162, 74, 0.18);
}

.beyond {
  padding-top: 88px;
  padding-bottom: 90px;
  background:
    radial-gradient(circle at 15% 22%, rgba(95, 143, 162, 0.16), transparent 32%),
    #080c0e;
  border-top: 1px solid var(--line);
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.beyond-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 241, 216, 0.15);
  border-radius: 6px;
  background: rgba(255, 241, 216, 0.04);
}

.beyond-label {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beyond-grid h3 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.beyond-grid p:not(.beyond-label) {
  color: rgba(207, 212, 207, 0.86);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: rgba(255, 241, 216, 0.7);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: flex-end;
}

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

  .site-header nav {
    display: none;
  }

  .mobile-book-link {
    display: inline-flex;
  }

  .hero {
    min-height: 88svh;
    padding-top: 104px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 5, 6, 0.52), rgba(3, 5, 6, 0.28) 36%, rgba(3, 5, 6, 0.94) 100%),
      linear-gradient(90deg, rgba(3, 5, 6, 0.84), rgba(3, 5, 6, 0.22));
  }

  .intro,
  .invitation,
  .echo-layout,
  .book,
  .author {
    grid-template-columns: 1fr;
  }

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

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

  .book-card {
    grid-template-columns: minmax(108px, 0.5fr) minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 1.02rem;
  }

  .hero {
    min-height: 88svh;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(3.1rem, 19vw, 4.6rem);
  }

  .hero-copy {
    font-size: 1.32rem;
  }

  .button {
    width: 100%;
  }

  .intro,
  .invitation,
  .books,
  .reader-echoes,
  .beyond,
  .author {
    padding-top: 68px;
    padding-bottom: 68px;
  }

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

  .book-card img {
    max-width: 260px;
  }

  footer {
    flex-direction: column;
  }
}
