:root {
  color-scheme: light;
  --ink: #141414;
  --ink-soft: #3d3a35;
  --paper: #f5f0e8;
  --paper-deep: #e7dece;
  --line: rgba(20, 20, 20, 0.16);
  --steel: #24404f;
  --steel-soft: #dce8eb;
  --amber: #a36b2d;
  --night: #111817;
  --night-soft: #202926;
  --white: #fffaf2;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(163, 107, 45, 0.55);
  text-underline-offset: 0.18em;
}

.skip-link {
  background: var(--ink);
  color: var(--white);
  left: 1rem;
  padding: 0.55rem 0.8rem;
  position: absolute;
  top: -3rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  background: rgba(245, 240, 232, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 0.05rem;
  text-decoration: none;
}

.brand strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.brand span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  display: none;
  font: inherit;
  height: 2.6rem;
  padding: 0 0.8rem;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.55rem);
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  background: var(--night);
  color: var(--white);
  min-height: 88vh;
  overflow: hidden;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  width: 100%;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(17, 24, 23, 0.98) 0%, rgba(17, 24, 23, 0.83) 38%, rgba(17, 24, 23, 0.18) 72%),
    linear-gradient(0deg, rgba(17, 24, 23, 0.92) 0%, rgba(17, 24, 23, 0) 35%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-inner {
  display: grid;
  gap: 2.2rem;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 88vh;
  padding: clamp(6rem, 12vw, 9rem) clamp(1.1rem, 4vw, 2rem) 3rem;
  place-content: center start;
  position: relative;
  z-index: 1;
}

.kicker {
  color: #cdb992;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 9vw, 7.1rem);
  max-width: 12ch;
}

.subtitle {
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 43rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  align-items: center;
  border: 1px solid rgba(255, 250, 242, 0.42);
  display: inline-flex;
  font-weight: 700;
  min-height: 2.95rem;
  padding: 0.72rem 1rem;
  text-decoration: none;
}

.button.primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--night);
}

.button.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.button.light {
  border-color: var(--line);
}

.hero-note {
  border-left: 2px solid var(--amber);
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.95rem;
  max-width: 34rem;
  padding-left: 1rem;
}

.band {
  border-bottom: 1px solid var(--line);
  padding: clamp(3.8rem, 8vw, 6.8rem) clamp(1.1rem, 4vw, 2rem);
}

.band.dark {
  background: var(--night);
  color: var(--white);
}

.band.steel {
  background: var(--steel-soft);
}

.container {
  margin: 0 auto;
  max-width: var(--max);
}

.section-head {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 0.64fr);
  margin-bottom: clamp(2rem, 5vw, 3.3rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0;
}

.dark .section-head p {
  color: rgba(255, 250, 242, 0.72);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--night);
  border: 1px solid var(--line);
  overflow: hidden;
  width: 100%;
}

.video-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.definition {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.definition article,
.compact-card,
.resource-card,
.article-card {
  background: rgba(255, 250, 242, 0.55);
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
}

.definition strong {
  color: var(--amber);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.definition h3,
.compact-card h3,
.resource-card h3,
.article-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.definition p,
.compact-card p,
.resource-card p,
.article-card p {
  color: var(--ink-soft);
  margin: 0;
}

.role-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.role {
  border-top: 2px solid var(--amber);
  padding-top: 1rem;
}

.role .label {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.role h3 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.role p {
  color: rgba(255, 250, 242, 0.75);
}

.flow {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.flow-step {
  background: rgba(255, 250, 242, 0.06);
  border: 1px solid rgba(255, 250, 242, 0.17);
  min-height: 13rem;
  padding: 1.4rem;
}

.flow-step span {
  color: #cdb992;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.flow-step h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  margin: 1rem 0 0.55rem;
}

.flow-step p {
  color: rgba(255, 250, 242, 0.72);
  margin: 0;
}

.compact-grid,
.resource-grid,
.article-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.compact-card {
  background: transparent;
}

.resource-card,
.article-card {
  min-height: 14rem;
}

.tag {
  color: var(--amber);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.book-panel {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.55fr);
}

.book-panel > div {
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.book-index {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.book-index a {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 3.5rem;
  text-decoration: none;
}

.lead-capture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.lead-form,
.lead-side {
  background: rgba(255, 250, 242, 0.62);
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.klaviyo-embed-panel {
  max-width: min(100%, 48rem);
  min-height: 22rem;
  width: 100%;
}

.klaviyo-form-U54N3G :where(h1, h2, h3) {
  max-width: none;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-form label {
  color: var(--ink-soft);
  display: grid;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 0.35rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.22);
  color: var(--ink);
  font: inherit;
  min-height: 2.8rem;
  padding: 0.68rem 0.72rem;
  width: 100%;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .wide {
  grid-column: 1 / -1;
}

.consent-box {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
}

.lead-form .check {
  align-items: start;
  display: grid;
  font-weight: 600;
  gap: 0.65rem;
  grid-template-columns: 1.05rem 1fr;
}

.lead-form .check input {
  min-height: auto;
  margin-top: 0.2rem;
}

.form-note,
.form-status {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-status[data-kind="success"] {
  color: #1f6b44;
}

.form-status[data-kind="error"] {
  color: #8a2f24;
}

.lead-side h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
}

.lead-side p {
  color: var(--ink-soft);
}

.author-panel {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.8fr);
}

.author-photo {
  aspect-ratio: 1;
  background: var(--ink);
  margin: 0;
  max-width: 18rem;
  overflow: hidden;
}

.author-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.author-copy p {
  color: var(--ink-soft);
  margin-top: 0;
}

.author-profile {
  align-items: center;
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: minmax(14rem, 0.45fr) minmax(0, 0.8fr);
}

.author-photo-large {
  max-width: 22rem;
}

.author-profile .author-copy {
  display: grid;
  gap: 0.8rem;
}

.author-profile .author-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.author-profile .author-copy p {
  max-width: 48rem;
}

.article-card h3 + p {
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 2.2rem clamp(1.1rem, 4vw, 2rem);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
}

.footer-inner p {
  color: rgba(255, 250, 242, 0.72);
  margin: 0;
}

.page-hero {
  background: var(--night);
  color: var(--white);
  padding: clamp(6rem, 12vw, 9rem) clamp(1.1rem, 4vw, 2rem) clamp(3rem, 7vw, 5rem);
}

.page-hero .container {
  display: grid;
  gap: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  max-width: 12ch;
}

.page-hero p {
  color: rgba(255, 250, 242, 0.78);
  max-width: 44rem;
}

.notice {
  border-left: 2px solid var(--amber);
  color: var(--ink-soft);
  max-width: 48rem;
  padding-left: 1rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    left: 0;
    padding: 0 1rem 1rem;
    position: absolute;
    right: 0;
    top: 100%;
    transform: translateY(-120%);
    transition: transform 180ms ease;
    z-index: -1;
  }

  .site-nav[data-open="true"] {
    transform: translateY(0);
  }

  .site-nav a {
    border-top: 1px solid var(--line);
    padding: 0.85rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 76% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(17, 24, 23, 0.98) 0%, rgba(17, 24, 23, 0.78) 62%, rgba(17, 24, 23, 0.42) 100%),
      linear-gradient(0deg, rgba(17, 24, 23, 0.92) 0%, rgba(17, 24, 23, 0.04) 45%);
  }

  .hero-inner {
    min-height: 82vh;
  }

  .section-head,
  .definition,
  .role-grid,
  .flow,
  .compact-grid,
  .resource-grid,
  .article-grid,
  .book-panel,
  .author-panel,
  .author-profile,
  .lead-capture,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: center;
    width: 100%;
  }

  .band {
    padding-block: 3.2rem;
  }
}
