:root {
  color-scheme: light;
  --paper: #fbf6ee;
  --paper-deep: #f2e7d8;
  --ink: #342f2b;
  --muted: #74685f;
  --line: #e5d7c7;
  --sepia: #8b5f3e;
  --rose: #b78374;
  --sage: #69735c;
  --gold: #c58b45;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(197, 139, 69, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(183, 131, 116, 0.12), transparent 30rem), var(--paper);
  color: var(--ink);
  font-family:
    Iowan Old Style, Palatino Linotype, Palatino, Georgia, serif;
}

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

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -10rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 1.25rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  border-radius: 999px;
  height: 3rem;
  object-fit: cover;
  width: 3rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.88rem;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

.hero,
.page-hero,
.section,
.split-section,
.principles,
.path-grid,
.newsletter-panel,
.access-gate {
  margin: 0 auto;
  max-width: 1180px;
  padding: 4rem 1.25rem;
}

.hero {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  min-height: 70vh;
}

.hero h1,
.page-hero h1,
.newsletter-panel h1 {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0.4rem 0 1.2rem;
}

.hero p,
.page-hero p,
.section-heading p,
.split-section p,
.newsletter-panel p {
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.8;
  max-width: 42rem;
}

.eyebrow {
  color: var(--sepia);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-art {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 2rem 5rem rgba(52, 47, 43, 0.12);
  overflow: hidden;
  padding: 1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  border-radius: 999px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  padding: 0.9rem 1.25rem;
  text-decoration: none;
}

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

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.75fr 1fr;
  margin-bottom: 2rem;
}

.section-heading h2,
.split-section h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0.4rem 0;
}

.book-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.book-grid.featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.book-card {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 1.25rem 3rem rgba(52, 47, 43, 0.08);
  padding: 1rem;
}

.book-cover-wrap {
  aspect-ratio: 2 / 3;
  background: var(--paper-deep);
  border-radius: 1rem;
  overflow: hidden;
}

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

.book-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0.45rem 0;
}

.book-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.split-section {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.95fr 1.05fr;
}

.split-section img,
.about-hero img {
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 1.5rem 4rem rgba(52, 47, 43, 0.1);
}

.text-link {
  color: var(--sepia);
  display: inline-block;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  margin-top: 1rem;
}

.compact {
  padding-top: 1rem;
}

.about-hero {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.principles,
.path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
}

.principles article,
.path-grid a,
.newsletter-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: 0 1.25rem 3rem rgba(52, 47, 43, 0.07);
  padding: 1.5rem;
}

.principles h2,
.path-grid strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.12;
}

.principles p,
.path-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.path-grid a {
  text-decoration: none;
}

.path-grid span {
  color: var(--gold);
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.newsletter-panel {
  margin-top: 3rem;
  max-width: 900px;
  text-align: center;
}

.access-gate {
  display: grid;
  min-height: 76vh;
  place-items: center;
}

.gate-card {
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(242, 231, 216, 0.88)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 2rem 5rem rgba(52, 47, 43, 0.14);
  max-width: 680px;
  padding: 2rem;
  text-align: center;
}

.gate-card img {
  border-radius: 1.5rem;
  height: 8rem;
  margin: 0 auto 1rem;
  object-fit: cover;
  width: 8rem;
}

.gate-card h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0.4rem 0 1rem;
}

.gate-card p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
}

.gate-form {
  display: grid;
  gap: 0.8rem;
  margin: 1.75rem auto 0;
  max-width: 430px;
  text-align: left;
}

.gate-form label {
  color: var(--muted);
  display: grid;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-form input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 0.9rem 1rem;
}

.gate-form button {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  margin-top: 0.35rem;
  padding: 0.95rem 1.2rem;
}

.gate-note {
  border-top: 1px solid var(--line);
  font-size: 0.94rem !important;
  margin-top: 1.4rem;
  padding-top: 1rem;
}

.newsletter-panel p {
  margin-left: auto;
  margin-right: auto;
}

.mock-form {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 2rem auto 0;
  max-width: 560px;
  padding: 0.5rem;
}

.mock-form span {
  color: var(--muted);
  padding-left: 1rem;
}

.mock-form button {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  padding: 0.9rem 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 3rem;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--sepia);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .hero,
  .section-heading,
  .split-section,
  .about-hero,
  .principles,
  .path-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 520px) {
  .book-grid,
  .book-grid.featured {
    grid-template-columns: 1fr;
  }

  .mock-form {
    align-items: stretch;
    border-radius: 1.4rem;
    flex-direction: column;
    padding: 1rem;
  }

  .mock-form span {
    padding-left: 0;
  }
}
