:root {
  color-scheme: light;
  --paper: #f3ede2;
  --paper-light: #fbf7ef;
  --paper-deep: #e6dac8;
  --ink: #211f1b;
  --muted: #5f594f;
  --charcoal: #202925;
  --charcoal-soft: #2a3731;
  --cream: #fff9ef;
  --ember: #8f3e26;
  --ember-light: #d89972;
  --forge: #9b472e;
  --liberate: #5f6029;
  --inspire: #35665d;
  --mineral: #d9dfd7;
  --line: #cbbdab;
  --focus-light: #ffd47d;
  --focus-dark: #075f54;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ember);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  outline: 3px solid var(--focus-dark);
  outline-offset: 4px;
  border-radius: 0.12rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  background: var(--cream);
  color: var(--ink);
  font-weight: 750;
}

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

.shell {
  width: min(100% - 3rem, 78rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(255, 249, 239, 0.2);
  background: var(--charcoal);
  color: var(--cream);
}

.header-inner {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.wordmark,
.footer-brand {
  color: inherit;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.wordmark {
  flex: 0 1 16rem;
  font-size: 1rem;
}

.primary-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.primary-nav {
  justify-content: flex-end;
}

.primary-nav a,
.footer-nav a {
  color: inherit;
  font-size: 0.86rem;
  font-weight: 680;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.primary-nav a:hover,
.footer-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--ember-light);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.35em;
}

.primary-nav a:focus-visible,
.footer-nav a:focus-visible,
.wordmark:focus-visible,
.footer-brand:focus-visible {
  outline-color: var(--focus-light);
}

.nav-divider {
  width: 1px;
  height: 1.2rem;
  background: rgba(255, 249, 239, 0.32);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--cream);
}

.hero::before {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--ember-light), transparent);
  opacity: 0.7;
}

.hero-layout {
  position: relative;
  display: grid;
  min-height: min(49rem, calc(100vh - 5.5rem));
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 0.3fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(5rem, 10vw, 9rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.chapter-label,
.movement-kicker {
  margin: 0 0 1.5rem;
  font-size: 0.77rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--ember-light);
}

h1,
h2,
h3 {
  margin-block: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  font-size: clamp(3.2rem, 7.3vw, 6.7rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.hero-intro {
  display: grid;
  max-width: 57rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 3rem;
  margin-top: clamp(2.8rem, 5vw, 4.5rem);
  color: #ded8cc;
}

.hero-intro p {
  margin: 0;
}

.hero-mark {
  position: relative;
  width: min(100%, 14rem);
  aspect-ratio: 1 / 1.5;
  justify-self: end;
}

.hero-mark::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(216, 153, 114, 0.45);
  border-radius: 50% 50% 42% 58% / 58% 44% 56% 42%;
  content: "";
  transform: rotate(8deg);
}

.hero-mark span {
  position: absolute;
  left: 50%;
  display: block;
  width: 0.72rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ember-light);
  transform: translateX(-50%);
}

.hero-mark span:first-child {
  top: 18%;
}

.hero-mark span:nth-child(2) {
  top: 47%;
}

.hero-mark span:last-child {
  bottom: 18%;
}

.chapter {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--line);
}

.chapter-paper {
  background: var(--paper-light);
}

.chapter-mineral {
  background: var(--mineral);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(8rem, 0.28fr) minmax(0, 1fr);
  gap: 2rem clamp(3rem, 8vw, 9rem);
}

.chapter-label {
  padding-top: 0.7rem;
  color: var(--ember);
}

.prose {
  max-width: 47rem;
}

.prose p,
.waitlist-copy p {
  margin-block: 0 1.35rem;
}

.prose p:last-child,
.waitlist-copy p:last-child {
  margin-bottom: 0;
}

.opening-line {
  color: #37332d;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.52;
}

.movement-chapter {
  overflow: hidden;
  background: var(--paper-deep);
}

.movement-intro {
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.movement-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.movement-list::before {
  position: absolute;
  top: 0.47rem;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  background: #9e8e7b;
}

.movement {
  --movement-accent: var(--forge);
  position: relative;
  padding: 3rem clamp(1rem, 3vw, 2.6rem) 1rem;
}

.movement::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: clamp(1rem, 3vw, 2.6rem);
  width: 1rem;
  aspect-ratio: 1;
  border: 0.22rem solid var(--paper-deep);
  border-radius: 50%;
  content: "";
  background: var(--movement-accent);
  box-shadow: 0 0 0 1px var(--movement-accent);
}

.movement + .movement {
  border-left: 1px solid rgba(95, 89, 79, 0.32);
}

.movement-liberate {
  --movement-accent: var(--liberate);
}

.movement-inspire {
  --movement-accent: var(--inspire);
}

.movement-kicker {
  margin-bottom: 0.8rem;
  color: var(--movement-accent);
}

.movement h3 {
  margin-bottom: 1.5rem;
}

.movement p:last-child {
  margin: 0;
}

.movement-close {
  max-width: 48rem;
  margin: clamp(4rem, 8vw, 7rem) 0 0 auto;
  padding-top: 1.75rem;
  border-top: 2px solid var(--ember);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.5;
}

.whole-life-chapter {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.whole-life-chapter::after {
  position: absolute;
  right: -10rem;
  bottom: -14rem;
  width: 32rem;
  aspect-ratio: 1;
  border: 1px solid rgba(143, 62, 38, 0.25);
  border-radius: 50%;
  content: "";
}

.whole-life-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 3rem clamp(4rem, 10vw, 11rem);
  align-items: start;
}

.whole-life-heading h2 {
  max-width: 10ch;
}

.whole-life-copy {
  padding-top: clamp(1rem, 5vw, 5rem);
}

.doorway-chapter {
  background: var(--paper-deep);
}

.stewardship-chapter {
  background: var(--paper);
}

.waitlist-chapter {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--charcoal-soft);
  color: var(--cream);
}

.waitlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 3rem clamp(4rem, 10vw, 10rem);
}

.waitlist-heading .chapter-label {
  color: var(--ember-light);
}

.waitlist-heading h2 {
  max-width: 12ch;
}

.waitlist-copy {
  max-width: 42rem;
}

.waitlist-copy .opening-line {
  color: var(--cream);
}

.waitlist-copy a:not(.primary-cta) {
  color: #f1bd91;
  overflow-wrap: anywhere;
}

.waitlist-copy a:focus-visible {
  outline-color: var(--focus-light);
}

.primary-cta {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--ember-light);
  background: var(--ember-light);
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

.primary-cta:hover {
  border-color: var(--cream);
  background: var(--cream);
}

.primary-cta:focus-visible {
  outline-color: var(--focus-light);
  outline-offset: 5px;
}

.external-note {
  margin-top: 0.65rem;
  color: #d6d1c7;
  font-size: 0.88rem;
}

.restrained-note {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 249, 239, 0.26);
  color: #d6d1c7;
}

.site-footer {
  padding-block: 3.5rem;
  background: #171d1a;
  color: var(--cream);
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem 4rem;
}

.footer-brand {
  font-size: 1.08rem;
}

.footer-layout p {
  margin: 0.6rem 0 0;
  color: #c8c3b9;
  font-size: 0.88rem;
}

.footer-layout .copyright {
  margin-top: 1.5rem;
}

.footer-nav {
  max-width: 33rem;
  justify-content: flex-end;
}

.legal-main {
  min-height: 60vh;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--paper-light);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(8rem, 0.28fr) minmax(0, 1fr);
  gap: 2rem clamp(3rem, 8vw, 9rem);
}

.legal-copy {
  max-width: 48rem;
}

.legal-copy h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
}

.legal-copy h2 {
  margin-top: clamp(3.2rem, 7vw, 5.5rem);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.legal-copy p,
.legal-copy li {
  max-width: 44rem;
}

.legal-copy a {
  overflow-wrap: anywhere;
}

.updated {
  margin: 0 0 3rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.legal-note {
  margin-top: 3.5rem;
  padding: 1.5rem;
  border-left: 3px solid var(--ember);
  background: var(--paper);
}

.route-home {
  display: inline-block;
  margin-top: 2.5rem;
  font-weight: 750;
}

.not-found-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--charcoal);
  color: var(--cream);
}

.not-found-main {
  position: relative;
  display: grid;
  flex: 1;
  overflow: hidden;
  align-items: center;
  padding-block: clamp(5rem, 12vw, 10rem);
}

.not-found-main::after {
  position: absolute;
  right: -7rem;
  bottom: -11rem;
  width: min(55vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 153, 114, 0.55);
  border-radius: 50%;
  content: "";
}

.not-found-copy {
  position: relative;
  z-index: 1;
  max-width: 50rem;
}

.not-found-copy .eyebrow {
  margin-bottom: 2rem;
}

.not-found-copy h1 {
  max-width: 13ch;
  margin-bottom: 2rem;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
}

.not-found-copy p {
  max-width: 35rem;
  color: #ded8cc;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.not-found-copy a {
  display: inline-block;
  margin-top: 1.5rem;
  color: #f1bd91;
  font-weight: 750;
}

.not-found-copy a:focus-visible {
  outline-color: var(--focus-light);
}

@media (max-width: 58rem) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1.2rem;
  }

  .wordmark {
    flex-basis: auto;
  }

  .primary-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) 7rem;
  }

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

  .movement-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .movement-list::before {
    top: 0;
    bottom: 0;
    left: 0.48rem;
    width: 1px;
    height: auto;
  }

  .movement {
    padding: 0 0 3.5rem 3.25rem;
  }

  .movement::before {
    top: 0.4rem;
    left: 0;
  }

  .movement + .movement {
    border-left: 0;
  }

  .movement:last-child {
    padding-bottom: 0;
  }
}

@media (max-width: 48rem) {
  .shell {
    width: min(100% - 2rem, 78rem);
  }

  .nav-divider {
    display: none;
  }

  .hero-layout,
  .editorial-grid,
  .whole-life-layout,
  .waitlist-layout,
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-layout {
    padding-block: 5.5rem 6.5rem;
  }

  .hero-mark {
    display: none;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 5rem);
  }

  .chapter-label {
    padding-top: 0;
    margin-bottom: 0;
  }

  .editorial-grid,
  .whole-life-layout,
  .waitlist-layout,
  .legal-layout {
    gap: 1.4rem;
  }

  .whole-life-heading h2,
  .waitlist-heading h2 {
    max-width: none;
  }

  .whole-life-copy {
    padding-top: 0;
  }

  .footer-layout {
    flex-direction: column;
  }

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

@media (max-width: 30rem) {
  body {
    font-size: 1rem;
  }

  .primary-nav {
    gap: 0.45rem 0.9rem;
  }

  .primary-nav a,
  .footer-nav a {
    font-size: 0.82rem;
  }

  .hero-layout {
    padding-block: 4.5rem 5.5rem;
  }

  .chapter,
  .waitlist-chapter {
    padding-block: 4.5rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .primary-cta {
    width: 100%;
  }
}

@media (max-width: 22rem) {
  .shell {
    width: min(100% - 1.5rem, 78rem);
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .wordmark {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
