:root {
  color-scheme: light;
  --paper: #fbf6eb;
  --paper-deep: #f0e5d2;
  --ink: #2e2a24;
  --muted: #665f55;
  --line: #d9cbb9;
  --teal: #2f6f6a;
  --teal-dark: #244f4c;
  --rose: #b46b61;
  --gold: #c18b42;
  --white: #fffdf8;
  --shadow: 0 18px 45px rgba(46, 42, 36, 0.16);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Avenir, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background:
    linear-gradient(90deg, rgba(47, 111, 106, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(46, 42, 36, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 56px);
  color: var(--ink);
  background: rgba(251, 246, 235, 0.9);
  border-bottom: 1px solid rgba(217, 203, 185, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(112px, 14vh, 150px) clamp(20px, 6vw, 72px) clamp(42px, 8vh, 88px);
  overflow: hidden;
  color: var(--white);
  background: transparent;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(32, 29, 24, 0.68) 0%, rgba(32, 29, 24, 0.34) 44%, rgba(32, 29, 24, 0.02) 100%),
    linear-gradient(0deg, rgba(32, 29, 24, 0.3), rgba(32, 29, 24, 0) 58%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

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

.hero .eyebrow {
  color: #f4d8b0;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  max-width: 9ch;
  margin-bottom: 14px;
  font-size: clamp(3.6rem, 8vw, 6.4rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-line {
  max-width: 16ch;
  margin-bottom: 10px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.hero-support {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  text-shadow: none;
}

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

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.72);
}

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

.section {
  padding: clamp(62px, 10vw, 120px) clamp(20px, 5vw, 56px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-band {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.62), rgba(240, 229, 210, 0.48));
}

.intro-grid,
.feature-grid,
.grownups-grid,
.moments-grid {
  display: grid;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.intro-grid {
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
}

.book-cover {
  aspect-ratio: 0.74;
  padding: 18px;
  background: #efe2c9;
  border: 1px solid rgba(108, 83, 51, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.book-cover-inner {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: grid;
  align-content: space-between;
  padding: 26px;
  text-align: center;
  border: 1px solid rgba(47, 111, 106, 0.28);
  background: var(--paper);
}

.book-cover-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(255, 253, 248, 0.42), rgba(255, 253, 248, 0.18));
}

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

.cover-series,
.cover-note {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cover-title {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.95;
}

.intro-copy {
  scroll-margin-top: 90px;
}

.prototype-note {
  max-width: 660px;
  padding-left: 14px;
  color: var(--teal-dark);
  border-left: 3px solid var(--gold);
  font-size: 0.98rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
}

.facts div {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--teal-dark);
  font-weight: 800;
}

dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.image-feature {
  background: var(--white);
}

.feature-grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
}

.photo-frame {
  margin: 0;
}

.photo-frame img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(108, 83, 51, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.real-anjou {
  background: #f6ecdb;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.trait-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--line);
}

.trait-row article {
  padding-top: 28px;
}

.story-moments {
  background: var(--paper);
}

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

.moments-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.grownups {
  background: var(--teal-dark);
  color: var(--white);
}

.grownups .eyebrow {
  color: #f4d8b0;
}

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

.grownups p {
  color: rgba(255, 253, 248, 0.82);
}

.grownups-grid {
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.grownups-copy p:last-child {
  margin-bottom: 0;
}

.updates {
  background: var(--white);
}

.updates-inner {
  max-width: 760px;
}

.signup-form {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.form-row {
  display: flex;
  gap: 10px;
}

input,
button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  background: #f8f0e3;
}

button {
  padding: 0 16px;
  color: var(--white);
  font-weight: 800;
  background: var(--teal);
}

input:disabled,
button:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.form-note {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.form-note a {
  color: var(--teal-dark);
  font-weight: 800;
}

.page-main {
  min-height: 72vh;
  background: var(--paper);
}

.narrow-page {
  max-width: 800px;
}

.page-title {
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.page-intro {
  color: var(--ink);
  font-size: 1.16rem;
}

.narrow-page h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 26px clamp(20px, 5vw, 56px);
  background: #2c2924;
}

.site-footer p {
  margin: 0 0 4px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.95rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-nav a {
  color: rgba(255, 253, 248, 0.88);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .hero {
    min-height: 76vh;
    align-items: flex-end;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(32, 29, 24, 0.86) 0%, rgba(32, 29, 24, 0.6) 30%, rgba(32, 29, 24, 0.34) 48%, rgba(32, 29, 24, 0) 66%);
  }

  .hero-copy {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  }

  .hero .eyebrow {
    color: #2f2a22;
    text-shadow: none;
  }

  .hero-image {
    object-position: 68% 26%;
  }

  .intro-grid,
  .feature-grid,
  .grownups-grid,
  .moments-grid {
    grid-template-columns: 1fr;
  }

  .book-cover {
    width: min(320px, 100%);
  }

  .facts,
  .trait-row {
    grid-template-columns: 1fr;
  }

  .trait-row article + article {
    border-top: 1px solid var(--line);
  }
}

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

  .nav {
    gap: 8px 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 74vh;
    padding-top: 76px;
  }

  h1 {
    font-size: 3.8rem;
  }

  .hero-line {
    font-size: 1.55rem;
  }

  .hero-support,
  p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
