:root {
  --ink: #14211f;
  --evergreen: #163f35;
  --moss: #476d55;
  --river: #2d6f73;
  --clay: #b56545;
  --gold: #c79a43;
  --fig: #5d3d52;
  --paper: #f7f4ee;
  --white: #fffdf8;
  --mist: #e7ece7;
  --line: rgba(20, 33, 31, 0.14);
  --shadow: 0 22px 60px rgba(20, 33, 31, 0.16);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 184px;
  max-width: 210px;
}

.brand-logo {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg,
.btn svg,
.icon-link svg,
.small-action svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  padding: 0.55rem 0.72rem;
  border-radius: 6px;
  color: rgba(20, 33, 31, 0.76);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(22, 63, 53, 0.09);
  color: var(--evergreen);
  outline: none;
}

.nav-cta {
  margin-left: 0.25rem;
  border: 1px solid rgba(22, 63, 53, 0.2);
  background: var(--evergreen);
  color: var(--white) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #102f28 !important;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 19, 18, 0.92) 0%, rgba(12, 19, 18, 0.72) 34%, rgba(12, 19, 18, 0.24) 66%, rgba(12, 19, 18, 0.08) 100%),
    linear-gradient(0deg, rgba(20, 33, 31, 0.18), rgba(20, 33, 31, 0));
}

.hero-inner,
.page-hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 7rem 0 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

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

.page-hero h1 {
  font-size: 3.3rem;
}

.hero-copy {
  max-width: 620px;
  margin: 1.25rem 0 0;
  font-size: 1.16rem;
  color: rgba(255, 253, 248, 0.88);
}

.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--gold);
  color: #17130b;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #d5a84e;
  outline: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--evergreen);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--mist);
  outline: none;
}

.btn-quiet {
  border-color: var(--line);
  color: var(--evergreen);
  background: var(--white);
}

.btn-quiet:hover,
.btn-quiet:focus-visible {
  border-color: rgba(22, 63, 53, 0.34);
  background: rgba(22, 63, 53, 0.06);
  outline: none;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 253, 248, 0.78);
}

.hero-proof li {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.08);
}

.band {
  padding: 4.6rem 0;
}

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

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

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

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

.section-kicker {
  margin: 0 0 0.65rem;
  color: var(--clay);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.band-green .section-kicker,
.band-ink .section-kicker {
  color: var(--gold);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.48fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head h2,
.split h2,
.callout h2,
.page-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1.08;
}

.section-head p,
.split p,
.callout p,
.page-hero p {
  margin: 0;
  color: rgba(20, 33, 31, 0.72);
}

.band-green .section-head p,
.band-green .split p,
.band-green .callout p,
.band-ink .section-head p,
.band-ink .split p,
.band-ink .callout p {
  color: rgba(255, 253, 248, 0.88);
}

.path-grid,
.course-grid,
.edition-grid,
.tool-grid,
.pillar-grid {
  display: grid;
  gap: 1rem;
}

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

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

.edition-grid,
.tool-grid,
.pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.path-card,
.course-card,
.edition-card,
.tool-card,
.pillar-card,
.step-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.3rem;
  box-shadow: 0 14px 32px rgba(20, 33, 31, 0.07);
}

.band-green .feature-card,
.band-green .path-card,
.band-green .course-card,
.band-green .edition-card,
.band-green .tool-card,
.band-green .pillar-card,
.band-ink .feature-card,
.band-ink .path-card,
.band-ink .course-card,
.band-ink .edition-card,
.band-ink .tool-card,
.band-ink .pillar-card {
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.26);
  box-shadow: none;
}

.path-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.course-card,
.edition-card,
.tool-card {
  min-height: 276px;
  display: flex;
  flex-direction: column;
}

.feature-card h3,
.path-card h3,
.course-card h3,
.edition-card h3,
.tool-card h3,
.pillar-card h3,
.step-card h3,
.contact-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
  line-height: 1.25;
}

.path-card p,
.course-card p,
.edition-card p,
.tool-card p,
.pillar-card p,
.step-card p,
.contact-card p {
  margin: 0;
  color: rgba(20, 33, 31, 0.68);
}

.band-green .path-card p,
.band-green .course-card p,
.band-green .edition-card p,
.band-green .tool-card p,
.band-green .pillar-card p,
.band-ink .path-card p,
.band-ink .course-card p,
.band-ink .edition-card p,
.band-ink .tool-card p,
.band-ink .pillar-card p {
  color: rgba(255, 253, 248, 0.86);
}

.label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.22rem 0.5rem;
  margin-bottom: 0.85rem;
  border-radius: 5px;
  background: rgba(181, 101, 69, 0.13);
  color: #7f4129;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.band-green .label,
.band-ink .label {
  background: rgba(255, 253, 248, 0.12);
  color: #ffd98a;
}

.card-spacer {
  flex: 1;
}

.icon-link,
.small-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--evergreen);
  font-weight: 850;
  text-decoration: none;
}

.band-green .icon-link,
.band-ink .icon-link,
.band-green .small-action,
.band-ink .small-action {
  color: #f1c86d;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 2.5rem;
  align-items: center;
}

.split-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.band-green .split-panel,
.band-ink .split-panel {
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.26);
  box-shadow: none;
}

.sequence {
  display: grid;
  gap: 0.7rem;
  margin: 1.3rem 0 0;
}

.sequence-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.sequence-row span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--evergreen);
  font-weight: 850;
}

.band-green .sequence-row span,
.band-ink .sequence-row span {
  background: #f1c86d;
  color: #17130b;
}

.sequence-row strong {
  display: block;
  margin-bottom: 0.12rem;
}

.band-green .sequence-row strong,
.band-ink .sequence-row strong {
  color: var(--white);
}

.sequence-row p {
  margin: 0;
  font-size: 0.95rem;
}

.callout {
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.callout p {
  margin-top: 0.65rem;
  color: rgba(255, 253, 248, 0.88);
}

.book-cover {
  min-height: 430px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(20, 33, 31, 0.96), rgba(22, 63, 53, 0.96) 54%, rgba(93, 61, 82, 0.95)),
    radial-gradient(circle at 80% 18%, rgba(199, 154, 67, 0.7), transparent 28%);
  border: 1px solid rgba(255, 253, 248, 0.2);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-cover .eyebrow {
  color: #f1c86d;
}

.book-cover .book-title {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1.05;
  margin: 0;
}

.book-cover .book-subtitle {
  margin: 0.85rem 0 0;
  color: rgba(255, 253, 248, 0.88);
}

.book-cover .book-author {
  margin: 2rem 0 0;
  color: var(--gold);
  font-weight: 850;
}

.wide-media {
  overflow: hidden;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(20, 33, 31, 0.16);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.wide-media img {
  width: 100%;
  aspect-ratio: 1983 / 793;
  object-fit: cover;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(20, 33, 31, 0.98), rgba(22, 63, 53, 0.94) 58%, rgba(93, 61, 82, 0.94)),
    var(--ink);
  color: var(--white);
  padding: 5rem 0 4.4rem;
}

.page-hero p {
  max-width: 720px;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: rgba(255, 253, 248, 0.88);
}

.page-hero .eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
}

.page-hero .page-hero-inner > p:not(.breadcrumb):not(.eyebrow) {
  color: rgba(255, 253, 248, 0.94) !important;
}

.breadcrumb {
  margin: 0 0 1rem;
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 253, 248, 0.86);
  text-decoration: none;
}

.page-section {
  padding: 4.2rem 0;
}

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

.step-card {
  min-height: 224px;
}

.step-card::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  color: var(--clay);
  font-weight: 900;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.42fr);
  gap: 2rem;
  align-items: start;
}

.text-list {
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.text-list li {
  padding-left: 1.1rem;
  position: relative;
}

.text-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  position: absolute;
  left: 0;
  top: 0.67rem;
}

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

.mini-form {
  display: grid;
  gap: 0.8rem;
}

.mini-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 750;
}

.mini-form input,
.mini-form textarea,
.mini-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 0.8rem;
  font: inherit;
  color: var(--ink);
}

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

.site-footer {
  background: #101817;
  color: rgba(255, 253, 248, 0.84);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 253, 248, 0.9);
  text-decoration: none;
}

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

.footer-logo {
  width: min(285px, 100%);
  height: auto;
  border-radius: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 74px;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.75rem;
  }

  .nav-cta {
    margin-left: 0;
  }
}

@media (max-width: 1040px) {
  .path-grid,
  .course-grid,
  .edition-grid,
  .tool-grid,
  .pillar-grid,
  .steps,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    font-size: 0.86rem;
  }
}

@media (max-width: 840px) {
  .hero {
    min-height: 76vh;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(12, 19, 18, 0.94), rgba(12, 19, 18, 0.68)),
      linear-gradient(0deg, rgba(20, 33, 31, 0.3), rgba(20, 33, 31, 0));
  }

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

  .page-hero h1 {
    font-size: 2.6rem;
  }

  .section-head,
  .split,
  .two-col,
  .callout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .callout {
    align-items: start;
  }

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

@media (max-width: 620px) {
  .nav-shell,
  .hero-inner,
  .page-hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 1.1rem, var(--max));
  }

  .brand {
    min-width: 0;
    max-width: 174px;
  }

  .brand-logo {
    max-height: 50px;
  }

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

  .page-hero h1,
  .section-head h2,
  .split h2,
  .callout h2,
  .page-section h2 {
    font-size: 2rem;
  }

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

  .band,
  .page-section {
    padding: 3rem 0;
  }

  .path-grid,
  .course-grid,
  .edition-grid,
  .tool-grid,
  .pillar-grid,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .book-cover {
    min-height: 350px;
  }
}

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