:root {
  --sage: #b4b8a3;
  --gold: #bfa168;
  --ink: #3c4d5d;
  --ink-soft: #5d6c7a;
  --nav: #8e98a2;
  --cream: #f7ecd8;
  --paper: #ffffff;
  --line: rgba(60, 77, 93, 0.14);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  --script: "Great Vibes", cursive;
  --wrap: 1080px;
  --header: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
}

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

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 10;
}

.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

#connect,
#order {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.55rem 0.8rem;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--nav);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.site-nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 2.5rem 0 4.5rem;
}

.book-cover {
  width: min(100%, 380px);
  margin-inline: auto;
}

.script-title {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(4.2rem, 7vw, 6.4rem);
  line-height: 0.86;
  color: var(--gold);
  text-align: center;
}

.kicker {
  margin: 1.1rem 0 1.4rem;
  text-align: center;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}

.hero-copy {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
}

.hero-copy p { margin: 0 0 1.15rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-fill {
  background: var(--gold);
  color: white;
}

.btn:hover { filter: brightness(0.96); }

.btn:disabled {
  cursor: default;
  opacity: 1;
}

.btn:disabled:hover { filter: none; }

.band { padding: 4.5rem 0; }

.band-sage {
  background: var(--sage);
  color: white;
}

.band-cream { background: var(--cream); }

.split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.stack-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--ink);
  text-transform: uppercase;
}

.band-sage p,
.page-sage p { color: white; }

.lede {
  margin-top: 0;
  font-size: 1.28rem;
  line-height: 1.45;
}

.author-home {
  display: grid;
  grid-template-columns: minmax(240px, 460px) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-cream { background: var(--cream); }

.section-title {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
}

.meditations-home {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.meditations-home .actions {
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
}

.quote {
  max-width: 920px;
}

.quote p {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.quote cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order {
  text-align: center;
  padding: 5rem 0 4.5rem;
}

.cart {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.8rem;
  color: var(--gold);
}

.order-note {
  color: var(--ink-soft);
  margin: 1.4rem 0 0;
}

.connect {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.connect .intro { color: white; }

.form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 0;
  background: white;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.75rem 0.85rem;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-family: var(--serif);
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.05rem;
}

.form-status[data-state="error"] { color: #3c2a22; }

#connect-turnstile {
  margin: 0.25rem 0 0.15rem;
}

.site-footer {
  background: var(--sage);
  color: white;
  padding: 1.5rem 0 2.4rem;
}

.footer-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.8rem;
}

.socials p {
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ink);
}

.social-links { display: flex; gap: 0.8rem; }

.social-links a {
  width: 28px;
  height: 28px;
  color: #f7f3ea;
}

.social-links svg { width: 100%; height: 100%; display: block; }

.lockup {
  text-align: center;
  color: #8d7040;
}

.lockup img {
  height: 64px;
  width: auto;
  margin-inline: auto;
}

.lockup span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.page {
  padding: 3rem 0 4.5rem;
}

.page-sage {
  background: var(--sage);
  color: white;
}

.page h1.section-title { margin-bottom: 1.2rem; }

.page-sage h1 { color: var(--ink); }

.narrow { max-width: 980px; }

.author-page img {
  float: right;
  width: min(280px, 38%);
  margin: 0.35rem 0 1rem 1.75rem;
}

.more-link { font-weight: 600; }

.player {
  background: white;
  border: 1px solid rgba(191, 161, 104, 0.7);
  padding: 1.2rem 1.3rem 1.4rem;
  margin: 1.5rem 0 2rem;
}

.player p { margin: 0 0 0.3rem; }

.player h2 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  text-transform: none;
  letter-spacing: 0;
}

.player audio { width: min(100%, 480px); }

.track-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 2rem;
}

.track-columns ul {
  list-style: disc;
  margin: 0;
  padding-left: 1.2rem;
}

.track-columns li { margin: 0.28rem 0; }

.track-columns a {
  text-decoration: none;
  color: var(--ink);
}

.track-columns a:hover,
.track-columns a[aria-current="true"] {
  color: #8d7040;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem 4rem;
  align-items: start;
}

.disclaimer {
  font-size: 0.98rem;
  margin-top: 0;
}

.pill {
  display: inline-block;
  margin: 1.4rem 0 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resource-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resource-links li { margin: 0.45rem 0; }

.resource-links a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

.resource-links a:hover { color: #8d7040; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.2rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav { display: flex; }

  .hero,
  .split,
  .author-home,
  .meditations-home,
  .connect,
  .author-page,
  .track-columns,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .footer-row { justify-content: space-between; }

  .author-page img {
    float: none;
    width: min(100%, 420px);
    margin: 0 0 1.2rem;
  }

  .script-title { font-size: 4rem; }
}
