@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic-400.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --cream: #f4f3ef;
  --paper: #fbfaf7;
  --green: #143a2e;
  --green-soft: #dfe8e2;
  --orange: #e5751c;
  --orange-ink: #b84f0b;
  --orange-focus: #ca5e0d;
  --orange-hover: #9f440d;
  /* Small orange text. --orange-ink is 4.27:1 on the #eeece6 card, under the 4.5
     WCAG 1.4.3 wants for small text; it stays the colour for strokes and headings. */
  --orange-text: #9f440d;
  --orange-soft: #f7e1cf;
  --ink: #16130f;
  --muted: #625f58;
  --line: rgba(22, 19, 15, 0.16);
  --line-strong: rgba(22, 19, 15, 0.34);
  --max: 1160px;
  --measure: 720px;
  --pad: clamp(1.2rem, 4vw, 3.2rem);
  --section: clamp(4.8rem, 9vw, 8rem);
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-synthesis: none;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.shell {
  width: min(calc(100% - (var(--pad) * 2)), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 239, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.explore-link,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.explore-link {
  padding-inline: 0.75rem;
  color: var(--muted);
  font-size: 0.91rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--orange-hover);
  background: var(--orange-hover);
  color: var(--paper);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-arrow {
  font-size: 1.15em;
}

:focus-visible {
  outline: 3px solid var(--orange-focus);
  outline-offset: 4px;
}

.hero {
  padding-block: clamp(3.4rem, 7vw, 6.4rem) var(--section);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2.8rem, 7vw, 7rem);
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

h1 {
  margin-bottom: 1.45rem;
  font-size: clamp(2.7rem, 5.8vw, 5.45rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.serif {
  color: var(--orange-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.hero-note {
  max-width: 590px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.decision-model {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.3rem);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(20, 58, 46, 0.09);
}

.decision-model svg {
  width: 100%;
  height: auto;
}

.decision-model figcaption {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.example-model {
  margin-block: 1.8rem 0;
}

.model-op {
  fill: none;
  stroke: var(--orange-ink);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.model-gloss {
  fill: #625f58;
  font-family: "Geist", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.model-frame {
  fill: #f4f3ef;
  stroke: rgba(22, 19, 15, 0.16);
  stroke-width: 1.5;
}

.model-node {
  fill: #fbfaf7;
  stroke: #143a2e;
  stroke-width: 2;
}

.model-node-soft {
  fill: #dfe8e2;
  stroke: #143a2e;
  stroke-width: 2;
}

.model-node-hot {
  fill: #f7e1cf;
  stroke: var(--orange-ink);
  stroke-width: 2;
}

.model-line {
  fill: none;
  stroke: #143a2e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.model-line-hot {
  fill: none;
  stroke: var(--orange-ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.model-line-muted {
  fill: none;
  stroke: #8b8880;
  stroke-width: 2;
  stroke-dasharray: 6 7;
  stroke-linecap: round;
}

.model-dot {
  fill: var(--orange-ink);
}

.model-text {
  fill: #16130f;
  font-family: "Geist", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.model-label,
.model-note {
  fill: #625f58;
  font-family: "Geist", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.model-white {
  fill: #fbfaf7;
}

.answer-wrap {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.answer-block {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2rem, 4vw, 3.2rem);
}

.answer-label {
  margin: 0;
  color: var(--orange-ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.answer-block p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--green);
  font-size: clamp(1.18rem, 2vw, 1.52rem);
  font-weight: 520;
  line-height: 1.48;
}

.section {
  padding-block: var(--section);
}

.section-paper {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.section-green {
  background: var(--green);
  color: var(--paper);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.4rem, 5vw, 4.4rem);
}

.section-head p:last-child {
  max-width: var(--measure);
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-green .eyebrow,
.section-green .section-head p:last-child {
  color: #c7d5cd;
}

.section-green .serif {
  color: #f3b47f;
}

.pain-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.pain-card,
.fit-card {
  min-height: 100%;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--cream);
}

.pain-card p:last-child,
.fit-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.card-tag {
  margin-bottom: 1.3rem;
  color: var(--orange-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.failure-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

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

.failure-list li {
  position: relative;
  padding: 1.15rem 0 1.15rem 2rem;
  border-top: 1px solid var(--line);
}

.failure-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.failure-list li::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--orange-ink);
  border-radius: 50%;
}

.mechanism-box {
  padding: clamp(1.7rem, 4vw, 3rem);
  border-left: 5px solid var(--orange);
  background: var(--green);
  color: var(--paper);
}

.mechanism-box p:last-child {
  margin-bottom: 0;
  color: #cedad3;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

.proof-label {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(251, 250, 247, 0.28);
  border-radius: 999px;
  color: #c7d5cd;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.proof-copy p {
  color: #d8e1dc;
}

.proof-copy p:last-child {
  margin-bottom: 0;
}

.equation {
  margin-block: 1.8rem;
  padding: 1.35rem;
  border: 1px solid rgba(251, 250, 247, 0.2);
  background: rgba(251, 250, 247, 0.06);
  color: var(--paper);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 550;
  line-height: 1.55;
}

.equation strong {
  color: #f3b47f;
}

.fit-card {
  background: var(--paper);
}

.fit-card.is-not {
  background: #eeece6;
}

.fit-list {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
}

.fit-list li + li {
  margin-top: 0.7rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 210px;
  padding: 1.5rem 1.4rem 1.6rem;
  border-top: 1px solid rgba(251, 250, 247, 0.28);
  border-bottom: 1px solid rgba(251, 250, 247, 0.28);
  border-left: 1px solid rgba(251, 250, 247, 0.28);
  counter-increment: process;
}

.process-list li:last-child {
  border-right: 1px solid rgba(251, 250, 247, 0.28);
}

.process-list li::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 3.5rem;
  color: #f3b47f;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-list strong {
  display: block;
  max-width: 15ch;
  font-size: 1rem;
  line-height: 1.35;
}

.faq-list {
  max-width: 860px;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 1rem 3rem 1rem 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  color: var(--orange-ink);
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 740px;
  padding: 0 2.5rem 1.4rem 0;
  color: var(--muted);
}

.faq-answer p {
  margin-bottom: 0;
}

.related-reading {
  padding-block: 0 var(--section);
}

.related-heading {
  margin: 0 0 1.15rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-list {
  max-width: 860px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.related-list li {
  border-bottom: 1px solid var(--line);
}

.related-list a {
  display: block;
  padding: 0.9rem 0;
  font-weight: 600;
  text-decoration: none;
}

.related-list a:hover,
.related-list a:focus-visible {
  color: var(--orange-hover);
  text-decoration: underline;
}

.cta-section {
  padding-block: var(--section);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: calc(var(--radius) + 0.5rem);
  background: var(--orange-soft);
}

.cta-panel h2 {
  max-width: 780px;
  margin-bottom: 0.8rem;
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.booking-hero {
  padding-block: clamp(3.4rem, 7vw, 6.4rem) var(--section);
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
  gap: clamp(2.8rem, 7vw, 7rem);
  align-items: start;
}

.booking-copy h1 {
  max-width: 12ch;
}

.booking-boundary {
  margin-block: 2rem 3.2rem;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--orange-ink);
  background: var(--orange-soft);
}

.booking-boundary strong {
  display: block;
  margin-bottom: 0.35rem;
}

.booking-boundary p,
.booking-section p:last-child,
.calendar-head p:last-child,
.calendar-fallback,
.calendar-privacy {
  margin-bottom: 0;
  color: var(--muted);
}

.booking-section {
  padding-block: 2rem;
  border-top: 1px solid var(--line-strong);
}

.booking-section h2,
.calendar-head h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.booking-kicker {
  margin-bottom: 0.65rem;
  color: var(--orange-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: booking-step;
}

.booking-steps li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0 1rem 2.6rem;
  border-top: 1px solid var(--line);
  counter-increment: booking-step;
}

.booking-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.booking-steps li::before {
  content: "0" counter(booking-step);
  position: absolute;
  top: 1.05rem;
  left: 0;
  color: var(--orange-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.booking-steps span {
  color: var(--muted);
}

.booking-checklist {
  margin: 1.4rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.booking-checklist li {
  position: relative;
  padding: 0.72rem 0 0.72rem 2rem;
  border-top: 1px solid var(--line);
}

.booking-checklist li:last-child {
  border-bottom: 1px solid var(--line);
}

.booking-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0.1rem;
  color: var(--green);
  font-weight: 700;
}

.booking-not-fit {
  padding: 1rem;
  background: #eeece6;
}

.booking-calendar {
  position: sticky;
  top: 6.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.35rem);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(20, 58, 46, 0.09);
}

.calendar-head {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.calendly-inline-widget {
  min-width: 320px;
  height: 740px;
  background: var(--paper);
}

.calendar-fallback,
.calendar-privacy {
  padding-inline: clamp(1.5rem, 3vw, 2.25rem);
  font-size: 0.82rem;
}

.calendar-fallback {
  padding-top: 1.2rem;
}

.calendar-fallback a {
  font-weight: 650;
  text-underline-offset: 0.2em;
}

.calendar-privacy {
  padding-top: 0.75rem;
  padding-bottom: 1.5rem;
}

.footer-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
}

.footer-links a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-underline-offset: 0.2em;
}

@media (max-width: 860px) {
  .hero-grid,
  .failure-grid,
  .proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 3.5rem;
  }

  .decision-model {
    max-width: 620px;
  }

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

  .process-list li:nth-child(2) {
    border-right: 1px solid rgba(251, 250, 247, 0.28);
  }

  .process-list li:nth-child(n + 3) {
    border-top: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-panel .button {
    justify-self: start;
  }

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

  .booking-calendar {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 72px;
  }

  .explore-link {
    display: none;
  }

  .nav-actions .button {
    min-width: 48px;
    padding-inline: 0.9rem;
  }

  .nav-cta-label {
    display: none;
  }

  .decision-model {
    padding: 0.7rem;
  }

  .model-text {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: 0;
  }

  .model-label {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0;
  }

  .model-note {
    display: none;
  }

  .answer-block,
  .pain-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .answer-block {
    gap: 0.8rem;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 0;
    border-right: 1px solid rgba(251, 250, 247, 0.28);
    border-bottom: 0;
  }

  .process-list li:nth-child(n + 2) {
    border-top: 0;
  }

  .process-list li:last-child {
    border-bottom: 1px solid rgba(251, 250, 247, 0.28);
  }

  .process-list li::before {
    margin-bottom: 1.2rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.5rem;
  }

  .booking-steps li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .calendly-inline-widget {
    height: 690px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .decision-model {
    margin-inline: -0.25rem;
  }

  .cta-panel .button,
  .hero-copy .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
