:root {
  --ink: #251b18;
  --muted: #6e5d56;
  --paper: #fffaf2;
  --soft: #f4ebe1;
  --rose: #a43c48;
  --terracotta: #ad6c50;
  --moss: #5d6b4f;
  --charcoal: #151515;
  --line: rgba(37, 27, 24, 0.16);
  --shadow: 0 24px 70px rgba(37, 27, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.site-nav .nav-action {
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 90px) clamp(18px, 5vw, 72px) 38px;
  background:
    linear-gradient(110deg, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.7)),
    url("bookcover.jpeg") center / cover;
}

.hero-copy,
.section-copy,
.preorder-copy {
  max-width: 680px;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 10vw, 8.5rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.hero-subtitle {
  margin: 24px 0 0;
  color: var(--rose);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;
}

.hero-description,
.preorder-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.hero-actions,
.quote-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  background: transparent;
  color: var(--ink);
}

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

.hero-media {
  display: flex;
  justify-content: center;
}

.book-cover {
  width: min(58vw, 460px);
  border: 12px solid #211b18;
  box-shadow: var(--shadow);
}

.launch-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--charcoal);
  color: #fff;
}

.launch-band div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
}

.launch-band span {
  color: #e7c0a8;
  font-weight: 800;
  text-transform: uppercase;
}

.launch-band a {
  font-weight: 800;
}

.book-section,
.author-section,
.contact-section,
.form-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.section-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.book-feature {
  padding: clamp(18px, 4vw, 38px);
  background: var(--soft);
  border: 1px solid var(--line);
}

.book-feature img {
  width: min(100%, 390px);
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.author-section {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  background: #f8f1e8;
}

.author-image-wrap img {
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.quote-section {
  justify-content: center;
  padding: clamp(52px, 8vw, 96px) 18px;
  background: var(--moss);
  color: #fff;
  text-align: center;
}

.quote-section p {
  flex-basis: 100%;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  font-weight: 700;
  line-height: 0.95;
}

.quote-section .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.contact-section {
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
}

.contact-card {
  border: 1px solid var(--line);
  background: #fffdf8;
}

.contact-card img {
  width: 100%;
}

.contact-card ul,
.form-aside ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 22px;
  list-style: none;
}

.contact-card li,
.form-aside li {
  color: var(--muted);
}

.contact-card strong {
  display: inline-block;
  min-width: 86px;
  color: var(--ink);
}

.preorder-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 350px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(46px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: #f8f1e8;
}

.preorder-hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.5rem);
}

.preorder-hero img {
  box-shadow: var(--shadow);
}

.form-section {
  align-items: start;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
}

.preorder-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  background: #fffdf8;
  border: 1px solid var(--line);
}

.form-heading h2,
.form-aside h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(37, 27, 24, 0.28);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.checkbox-label {
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--rose);
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--moss);
  font-weight: 800;
}

.form-aside {
  position: sticky;
  top: 96px;
  background: var(--charcoal);
  color: #fff;
}

.form-aside img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.form-aside div {
  padding: 24px;
}

.form-aside p,
.form-aside li {
  color: #e6dcd2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header,
  .site-nav,
  .launch-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .hero,
  .book-section,
  .author-section,
  .contact-section,
  .preorder-hero,
  .form-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .book-cover {
    width: min(78vw, 390px);
  }

  .form-aside {
    position: static;
  }
}

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

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    text-align: center;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 4.75rem);
  }

  .book-cover {
    width: min(78vw, 300px);
    border-width: 8px;
  }

  .quote-section p {
    font-size: clamp(2.15rem, 14vw, 3.4rem);
  }
}
