:root {
  --sky: #56a8cf;
  --sky-deep: #1668a0;
  --violet: #6b4f8c;
  --violet-deep: #3f1f70;
  --gold: #e8be73;
  --gold-deep: #c9651a;
  --ember: #c14533;
  --ochre: #e76a1e;
  --forest: #2f5d3e;
  --moss: #62a559;
  --path: #cba872;
  --ink: #1f2a33;
  --ink-soft: #4a5560;
  --ink-mute: #7e8791;
  --paper: #fffcf4;
  --paper-2: #f7f1e4;
  --paper-3: #ffe5d2;
  --line: #e8ddc8;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --container: min(1100px, calc(100% - 40px));
  --wide: min(1200px, calc(100% - 40px));
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.08rem;
  line-height: 1.66;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p,
h1,
h2,
h3,
ul,
dl,
dt,
dd,
blockquote,
figure {
  margin: 0;
}

ul {
  padding: 0;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 100;
  transform: translateY(calc(-100% - 32px));
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.copy-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.copy-stack p,
.about-grid p,
.for-item p,
.find-card p,
.resources p,
.contact p,
.form-note,
.footer p,
.footer li {
  color: var(--ink-soft);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 252, 244, 0.94);
  backdrop-filter: blur(10px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 32px rgba(31, 42, 51, 0.06);
}

.nav-inner {
  display: flex;
  width: var(--wide);
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.nav-mark {
  position: relative;
  z-index: 52;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--serif);
  line-height: 0.95;
}

.wordmark__main {
  display: block;
  font-style: italic;
  font-weight: 500;
}

.wordmark__lower {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.wordmark__bridge {
  font-size: 0.62em;
  font-style: italic;
  font-weight: 400;
}

.wordmark__god {
  color: var(--gold-deep);
  font-size: 0.82em;
  font-weight: 700;
}

.wordmark__descriptor {
  color: var(--gold-deep);
  font-size: 0.62em;
  font-style: italic;
  font-weight: 500;
}

.wordmark--nav .wordmark__main {
  font-size: 1.65rem;
}

.wordmark--nav .wordmark__lower {
  font-size: 1.18rem;
}

.wordmark--footer .wordmark__main {
  color: var(--paper);
  font-size: 2rem;
}

.wordmark--footer .wordmark__lower {
  color: var(--paper);
  font-size: 1.35rem;
}

.wordmark--cover {
  align-items: center;
  text-align: center;
}

.wordmark--cover .wordmark__main {
  font-size: 3rem;
}

.wordmark--cover .wordmark__lower {
  font-size: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 8px;
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-bottom-color: currentColor;
  color: var(--ink);
}

.nav-links .nav-cta {
  margin-left: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--violet);
}

.nav-burger {
  position: relative;
  z-index: 52;
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

section {
  padding: 96px 32px;
}

.hero {
  padding-top: 72px;
  padding-bottom: 24px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(86, 168, 207, 0.18), rgba(255, 252, 244, 0) 42%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 72px;
  width: var(--wide);
  align-items: center;
  margin: 0 auto;
}

.hero-copy {
  max-width: 690px;
}

.hero-eyebrow {
  margin-bottom: 20px;
  color: var(--violet-deep);
  font-family: var(--serif);
  font-size: 1.48rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.25;
}

.hero h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 500;
  line-height: 0.94;
}

.hero h1 .ital {
  color: var(--violet);
  font-style: italic;
}

.hero h1 .gold {
  color: var(--gold-deep);
  font-weight: 700;
}

.hero-sub {
  max-width: 620px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-body {
  max-width: 650px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.btn-primary {
  background: var(--violet);
  color: var(--paper);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-gold {
  background: var(--gold-deep);
  color: var(--paper);
}

.btn-disabled {
  border-color: var(--line);
  color: var(--ink-mute);
}

.arrow {
  font-weight: 900;
}

.book-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-wrap::before {
  content: "";
  position: absolute;
  inset: 12% 0 auto 12%;
  width: 82%;
  height: 78%;
  border: 1px solid rgba(107, 79, 140, 0.18);
  background: linear-gradient(135deg, rgba(107, 79, 140, 0.08), rgba(232, 190, 115, 0.16));
  transform: rotate(4deg);
}

.book-cover {
  position: relative;
  width: min(100%, 330px);
  border: 1px solid rgba(31, 42, 51, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 26px 54px rgba(31, 42, 51, 0.18);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}

.book-cover:hover {
  transform: rotate(0deg) translateY(-4px);
}

.book-cover--placeholder {
  display: grid;
  aspect-ratio: 425 / 623;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.about-book {
  background: var(--paper-2);
}

.about-grid,
.author-grid,
.body-cols,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}

.about-grid h2 {
  max-width: 520px;
}

.section-heading {
  text-align: center;
}

.for-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 48px;
}

.for-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.for-item .n,
.find-card .n {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
}

.find {
  background:
    linear-gradient(135deg, rgba(86, 168, 207, 0.14), rgba(107, 79, 140, 0) 36%),
    var(--violet);
  color: var(--paper);
}

.find .eyebrow {
  color: var(--gold);
}

.find h2 {
  max-width: 780px;
  color: var(--paper);
}

.find-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.find-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 252, 244, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.08);
}

.find-card h3 {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
}

.find-card p {
  color: rgba(255, 252, 244, 0.82);
}

.author {
  background: var(--paper-2);
}

.author-photo {
  width: min(100%, 390px);
  min-height: 520px;
  border-radius: var(--radius);
  object-fit: cover;
}

.author-photo--placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(86, 168, 207, 0.18), rgba(232, 190, 115, 0.14)),
    var(--paper);
}

.author-photo--placeholder span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: rgba(255, 252, 244, 0.82);
  color: var(--ink-mute);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pull {
  margin-top: 14px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.pull p {
  color: var(--violet);
  font-family: var(--serif);
  font-size: 2.15rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
}

.pull cite,
.message-feature cite {
  display: block;
  margin-top: 10px;
  color: var(--ink-mute);
  font-style: normal;
  font-weight: 800;
}

.book-detail {
  background: var(--paper);
}

.book-detail .lede {
  max-width: 760px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.2rem;
  font-weight: 700;
}

.body-cols {
  margin-top: 56px;
}

.topic-eyebrow {
  margin-bottom: 16px;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 800;
}

.book-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.book-meta .row {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.book-meta .k {
  color: var(--violet);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-meta .v {
  color: var(--ink);
  font-weight: 800;
}

.buy-box {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: stretch;
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.opt {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.opt .label {
  color: var(--violet);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.opt .price {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.opt .price span {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 700;
}

.opt .note,
.form-note {
  color: var(--ink-mute);
  font-size: 0.98rem;
}

.form-note {
  margin-top: 14px;
}

.form-note a {
  border-bottom: 1px solid currentColor;
  color: var(--violet);
  font-weight: 800;
}

.resources {
  background:
    linear-gradient(180deg, rgba(232, 190, 115, 0.12), rgba(98, 165, 89, 0)),
    var(--moss);
  color: var(--paper);
  text-align: center;
}

.resources .eyebrow {
  color: var(--gold);
}

.resources h2,
.resources p {
  color: var(--paper);
}

.resources p {
  margin-top: 18px;
  opacity: 0.86;
}

.badge {
  display: inline-flex;
  margin-top: 26px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 252, 244, 0.28);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact {
  background: var(--paper);
}

.direct-email {
  margin-top: 4px;
}

.direct-email a {
  border-bottom: 1px solid currentColor;
  color: var(--violet);
  font-weight: 900;
}

.invite {
  margin-top: 10px;
  padding: 22px;
  border-left: 3px solid var(--gold-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-2);
}

.invite h3 {
  margin-bottom: 8px;
  color: var(--violet);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form label {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 16px;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--violet);
  outline: 2px solid rgba(107, 79, 140, 0.14);
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form .btn {
  align-self: flex-start;
  border: 0;
  cursor: pointer;
}

.message-feature {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  color: var(--paper);
  text-align: center;
}

.message-feature .narrow {
  max-width: 900px;
}

.message-feature blockquote p {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 3.05rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

.message-feature cite {
  color: rgba(255, 252, 244, 0.78);
}

.footer {
  background: var(--ink);
  color: rgba(255, 252, 244, 0.75);
  padding: 64px 32px 40px;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer h4 {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer p {
  margin-top: 14px;
  color: rgba(255, 252, 244, 0.72);
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--gold);
}

.foot-bottom {
  display: flex;
  max-width: 1100px;
  justify-content: space-between;
  gap: 18px;
  margin: 52px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 252, 244, 0.12);
  color: rgba(255, 252, 244, 0.52);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .author-grid,
  .body-cols,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .book-wrap {
    order: -1;
    width: min(100%, 270px);
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 4.55rem;
  }

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

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

  .buy-box {
    grid-template-columns: 1fr 1fr;
  }

  .buy-box .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 32px, 1100px);
    --wide: min(100% - 32px, 1200px);
  }

  html {
    scroll-padding-top: 74px;
  }

  .nav-inner {
    min-height: 68px;
  }

  .wordmark--nav .wordmark__main {
    font-size: 1.5rem;
  }

  .wordmark--nav .wordmark__lower {
    font-size: 1.02rem;
  }

  .nav-burger {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 18px 44px rgba(31, 42, 51, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-cta {
    margin: 0;
    justify-content: center;
    padding: 0 12px;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 40px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-sub {
    font-size: 1.12rem;
  }

  h2 {
    font-size: 3rem;
  }

  .for-list,
  .find-grid,
  .book-meta,
  .buy-box,
  .form .row2,
  .foot-inner {
    grid-template-columns: 1fr;
  }

  .author-photo {
    width: 100%;
    min-height: 380px;
  }

  .message-feature blockquote p {
    font-size: 2.25rem;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-ctas .btn,
  .form .btn {
    width: 100%;
  }

  .find-card {
    min-height: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  .book-cover {
    transition: none;
  }

  .book-cover:hover {
    transform: rotate(-1.5deg);
  }
}
