/* Funnel components: Capacity Audit, Off Switch landing, Coaching offer.
   Extends the base tokens + atoms in styles.css. Same brand, new machinery. */

:root {
  --moss: #6f7a54;
  --clay: #a95f3d;
  --muted: rgba(17, 19, 15, 0.62);
  --muted-paper: rgba(245, 241, 232, 0.72);
  --hair: rgba(17, 19, 15, 0.14);

  --dom-physical: #a95f3d;
  --dom-mental: #5f7788;
  --dom-emotional: #b0863e;
  --dom-spiritual: #6f7a54;
}

body.funnel {
  background: var(--ink);
  color: var(--paper);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.button-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.button-ghost {
  background: transparent;
  border-color: rgba(17, 19, 15, 0.28);
  color: var(--ink);
}

.button-ghost:hover {
  border-color: var(--ink);
}

.button-block {
  width: 100%;
}

/* ---------------------------------------------------------------- Funnel hero */

.f-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: 150px clamp(18px, 4vw, 56px) 64px;
  overflow: hidden;
  color: var(--paper);
}

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

.f-hero-media,
.f-hero-shade,
.f-hero-grid {
  position: absolute;
  inset: 0;
}

.f-hero-media {
  z-index: -3;
}

.f-hero-media img {
  filter: grayscale(0.55) saturate(0.8) contrast(1.04);
  object-position: 50% 42%;
}

.f-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 19, 15, 0.9) 0%, rgba(17, 19, 15, 0.66) 46%, rgba(17, 19, 15, 0.3) 100%),
    linear-gradient(0deg, rgba(17, 19, 15, 0.92) 0%, rgba(17, 19, 15, 0) 46%);
}

.f-hero-grid {
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.f-hero-content {
  min-width: 0;
  max-width: 900px;
}

.f-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.6vw, 6.6rem);
}

.f-hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(245, 241, 232, 0.86);
  font-size: clamp(1.05rem, 1.55vw, 1.26rem);
}

.f-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.f-hero-meta {
  margin: 18px 0 0;
  color: rgba(245, 241, 232, 0.6);
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Progress preview bar shown in hero + inline CTAs */
.step-preview {
  display: flex;
  gap: 6px;
  margin: 4px 0 26px;
  max-width: 380px;
}

.step-preview span {
  position: relative;
  height: 6px;
  flex: 1;
  background: rgba(245, 241, 232, 0.2);
}

.step-preview span.is-first {
  background: var(--signal);
}

.step-preview span.is-last {
  background: rgba(245, 241, 232, 0.5);
}

.step-preview.on-paper span {
  background: rgba(17, 19, 15, 0.16);
}

.step-preview.on-paper span.is-first {
  background: var(--clay);
}

.step-preview.on-paper span.is-last {
  background: rgba(17, 19, 15, 0.4);
}

/* Side panel in hero */
.f-panel {
  min-width: 0;
  align-self: center;
  border: 1px solid var(--white-line);
  background: rgba(17, 19, 15, 0.5);
  backdrop-filter: blur(14px);
  padding: 24px;
  box-shadow: var(--shadow);
}

.f-panel > span {
  display: block;
  margin-bottom: 14px;
  color: var(--signal);
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
}

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

.f-panel-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--white-line);
  color: rgba(245, 241, 232, 0.86);
}

.f-panel-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.f-panel-list b {
  color: var(--signal);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------------------------------------------------------------- Sections */

.f-section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 56px);
}

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

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

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

.f-head {
  max-width: 900px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.f-head.left {
  margin-left: 0;
  text-align: left;
}

.f-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.f-head p {
  max-width: 640px;
  margin: 20px auto 0;
  color: inherit;
  opacity: 0.72;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.f-head.left p {
  margin-left: 0;
}

/* Card grids */
.card-row {
  display: grid;
  gap: 1px;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.card-row.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.charcoal .card-row,
.ink .card-row {
  background: var(--white-line);
  border-color: var(--white-line);
}

.card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
}

.charcoal .card,
.ink .card {
  background: var(--charcoal);
}

.ink .card {
  background: var(--ink);
}

.card span.tag {
  color: var(--clay);
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
}

.charcoal .card span.tag,
.ink .card span.tag {
  color: var(--signal);
}

.card h3 {
  margin: 22px 0 12px;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

.card h3.push {
  margin-top: auto;
}

.card p {
  margin: 0;
  color: color-mix(in srgb, currentColor 66%, transparent);
}

.card .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--signal);
}

.paper .card .num {
  color: var(--clay);
}

/* Domain method cards get a color rail */
.card.domain {
  border-top: 3px solid var(--rail, var(--signal));
}

/* ---------------------------------------------------------------- Big CTA band */

.cta-band {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
  background: var(--signal);
  color: var(--ink);
  text-align: center;
}

.cta-band h2 {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.cta-band p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(17, 19, 15, 0.72);
  font-size: 1.1rem;
}

.cta-band .button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------------------------------------------------------------- Assessment modal */

.assessment-modal {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  height: min(840px, calc(100vh - 32px));
  max-height: none;
  padding: 0;
  border: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(12, 13, 12, 0.5);
}

.assessment-modal .modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
}

.assessment-modal::backdrop {
  background: rgba(12, 13, 12, 0.76);
  backdrop-filter: blur(3px);
}

body.assessment-open {
  overflow: hidden;
}

.modal-shell {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 0 clamp(20px, 4vw, 42px);
  border-bottom: 1px solid var(--hair);
}

.modal-header .brand strong {
  color: var(--ink);
}

.modal-header .brand em {
  color: var(--muted);
  opacity: 1;
}

.modal-header .brand-mark {
  border-color: rgba(17, 19, 15, 0.4);
}

.modal-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 19, 15, 0.2);
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 150ms ease;
}

.modal-close:hover {
  border-color: var(--clay);
  color: var(--clay);
}

.assessment-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(20px, 4vw, 42px);
  border-bottom: 1px solid var(--hair);
  color: var(--clay);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.assessment-progress div {
  height: 3px;
  background: rgba(17, 19, 15, 0.12);
}

.assessment-progress i {
  display: block;
  width: 16%;
  height: 100%;
  background: var(--clay);
  transition: width 240ms ease;
}

.quiz-form {
  display: grid;
  align-items: center;
  min-height: 540px;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 6vw, 78px);
}

.result-view {
  padding: clamp(26px, 4vw, 46px) clamp(18px, 4vw, 40px);
  background: var(--paper);
}

[hidden] {
  display: none !important;
}

.is-result .quiz-form,
.is-result .assessment-progress {
  display: none !important;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
  animation: stepIn 300ms ease;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step > .eyebrow {
  color: var(--clay);
}

.quiz-step h2 {
  max-width: 780px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.question-note {
  max-width: 720px;
  margin: 12px 0 4px;
  color: var(--muted);
}

/* Domain step: statement + frequency scale */
.scale-stack {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-top: 30px;
}

.scale-row {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.4);
}

.scale-row > p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
}

.scale-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.scale-options label {
  display: block;
  cursor: pointer;
}

.scale-options input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.scale-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 6px;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.05;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.scale-options label:hover span {
  border-color: var(--clay);
}

.scale-options input:checked + span {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--paper);
}

.scale-options input:focus-visible + span {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

/* Single-choice option stack (contact position etc.) */
.option-stack {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-top: 26px;
}

.choice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.choice:hover,
.choice.is-selected {
  border-color: var(--clay);
  background: rgba(169, 95, 61, 0.08);
}

.choice input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--clay);
  cursor: pointer;
}

.choice strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

/* Textarea + writing meter */
textarea,
.contact-grid input {
  width: 100%;
  border: 1px solid rgba(17, 19, 15, 0.24);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  margin-top: 26px;
  padding: 16px;
  resize: vertical;
  max-width: 820px;
}

textarea:focus-visible,
.contact-grid input:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

.writing-meter {
  max-width: 820px;
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(17, 19, 15, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.writing-meter-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}

.writing-meter-top span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.writing-meter-top small {
  color: var(--muted);
  font-size: 12px;
}

.writing-meter-track {
  overflow: hidden;
  height: 5px;
  background: rgba(17, 19, 15, 0.1);
}

.writing-meter-track i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--clay);
  transition: width 240ms ease;
}

.writing-meter p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.field-trust {
  max-width: 820px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 820px;
  margin-top: 26px;
}

.contact-grid label {
  color: var(--ink);
  font-weight: 500;
}

.contact-grid label span {
  color: var(--muted);
  font-weight: 400;
}

.contact-grid input {
  min-height: 48px;
  margin-top: 7px;
  padding: 0 14px;
}

.wide-field,
.consent-field {
  grid-column: 1 / -1;
}

.consent-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.5;
}

.consent-field input {
  min-height: 18px;
  margin: 4px 0 0;
  accent-color: var(--clay);
}

.consent-field a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--clay);
  font-size: 14px;
  font-weight: 500;
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------------------------------------------------------------- Result view */

.result-hero {
  max-width: 820px;
  margin: 0 auto 26px;
  text-align: center;
}

.result-hero .eyebrow {
  color: var(--clay);
}

.result-hero h3 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.result-summary {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Domain bars */
.domain-bars {
  width: min(820px, 100%);
  margin: 0 auto 28px;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.4);
  padding: clamp(20px, 3vw, 30px);
}

.domain-bars-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  gap: 16px;
}

.domain-bars-head span {
  color: var(--clay);
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.domain-bars-head small {
  color: var(--muted);
  font-size: 0.82rem;
}

.dbar {
  position: relative;
  display: grid;
  grid-template-columns: 138px 1fr 46px;
  gap: 16px;
  align-items: center;
  padding: 13px 14px;
  border-top: 1px solid rgba(17, 19, 15, 0.08);
}

.dbar:first-of-type {
  border-top: 0;
}

.dbar.is-constraint {
  border-top-color: transparent;
  background: color-mix(in srgb, var(--rail) 10%, transparent);
  box-shadow: inset 3px 0 0 var(--rail);
}

.dbar.is-constraint + .dbar {
  border-top-color: transparent;
}

.dbar-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.dbar-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1;
}

.dbar-name svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--rail);
}

.dbar-chip {
  align-self: flex-start;
  padding: 3px 7px;
  background: var(--clay);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.dbar.is-constraint .dbar-name {
  color: var(--clay);
}

.dbar-track {
  height: 10px;
  background: rgba(17, 19, 15, 0.1);
  overflow: hidden;
}

.dbar-fill {
  height: 100%;
  width: 0;
  background: var(--rail);
  transition: width 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dbar-val {
  text-align: right;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}

.dbar.is-constraint .dbar-val {
  color: var(--clay);
}

/* Executive strip */
.result-executive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(820px, 100%);
  margin: 0 auto 26px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.result-executive article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.5);
}

.result-executive small {
  color: var(--clay);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-executive strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.result-executive p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Result flow sections */
.result-flow {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.rf-section {
  padding: clamp(22px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--hair);
}

.rf-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--clay);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rf-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.rf-lead {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.5;
}

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

.rf-points li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid rgba(17, 19, 15, 0.08);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.rf-points li:first-child {
  border-top: 0;
}

.rf-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--clay);
}

/* Reframe: reflex / actual / check */
.rf-diagnosis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(17, 19, 15, 0.1);
  border: 1px solid rgba(17, 19, 15, 0.1);
}

.rf-diagnosis article {
  padding: 16px 18px;
  background: var(--paper);
}

.rf-diagnosis small {
  display: block;
  margin-bottom: 6px;
  color: var(--clay);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.rf-diagnosis p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* First move block */
.rf-move {
  padding: clamp(22px, 3vw, 30px);
  background: var(--charcoal);
  color: var(--paper);
}

.rf-move .rf-label {
  color: var(--signal);
}

.rf-move .rf-lead {
  color: var(--paper);
}

.rf-move ol {
  margin: 14px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
  counter-reset: move;
}

.rf-move ol li {
  position: relative;
  padding: 11px 0 11px 40px;
  border-top: 1px solid var(--white-line);
  color: rgba(245, 241, 232, 0.82);
  counter-increment: move;
}

.rf-move ol li::before {
  content: counter(move, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--signal);
  font-family: var(--display);
  font-weight: 700;
}

/* Numbered risk list */
.rf-numbered {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: risk;
}

.rf-numbered li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-top: 1px solid rgba(17, 19, 15, 0.08);
  color: var(--muted);
  line-height: 1.55;
  counter-increment: risk;
}

.rf-numbered li:first-child {
  border-top: 0;
}

.rf-numbered li::before {
  content: counter(risk);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--clay);
  font-family: var(--display);
  font-weight: 700;
}

/* Result next-step / bridge */
.result-bridge {
  width: min(820px, 100%);
  margin: 26px auto 0;
  display: grid;
  gap: 14px;
}

.bridge-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.5);
}

.bridge-card.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.bridge-card .eyebrow {
  color: var(--clay);
  margin-bottom: 8px;
}

.bridge-card.primary .eyebrow {
  color: var(--signal);
}

.bridge-card h4 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4rem;
  line-height: 1;
}

.bridge-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 440px;
}

.bridge-card.primary p {
  color: rgba(245, 241, 232, 0.74);
}

.bridge-card .button {
  white-space: nowrap;
}

.result-tools {
  width: min(820px, 100%);
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
}

.result-tools p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 420px;
}

.result-confirm {
  width: min(820px, 100%);
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.result-confirm strong {
  color: var(--ink);
}

.bridge-card.spirit {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.bridge-card.spirit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 12, 0.97) 0%, rgba(12, 13, 12, 0.72) 46%, rgba(12, 13, 12, 0.38) 100%),
    url("../spiritual-figure.png") center right / cover no-repeat;
}

.bridge-card.spirit > * {
  position: relative;
  z-index: 1;
}

/* Graphic icons on cards */
.card-icon {
  margin-bottom: 4px;
  color: var(--clay);
}

.charcoal .card-icon,
.ink .card-icon {
  color: var(--signal);
}

.card.domain .card-icon {
  color: var(--rail);
}

.card-icon svg {
  width: 34px;
  height: 34px;
}

/* ---------------------------------------------------------------- Off Switch landing capture */

.capture {
  width: min(520px, 100%);
  margin-top: 6px;
  border: 1px solid var(--white-line);
  background: rgba(17, 19, 15, 0.5);
  backdrop-filter: blur(14px);
  padding: clamp(22px, 3vw, 30px);
}

.capture .eyebrow {
  color: var(--signal);
  margin-bottom: 10px;
}

.capture h3 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.capture p.lead {
  margin: 0 0 18px;
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.98rem;
}

.capture-form {
  display: grid;
  gap: 10px;
}

.capture-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(245, 241, 232, 0.3);
  border-radius: 0;
  background: rgba(12, 13, 12, 0.4);
  color: var(--paper);
  font: inherit;
}

.capture-form input::placeholder {
  color: rgba(245, 241, 232, 0.5);
}

.capture-form input:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.capture-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(245, 241, 232, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

.capture-consent input {
  min-height: 16px;
  width: 16px;
  margin: 3px 0 0;
  accent-color: var(--signal);
}

.capture-consent a {
  color: var(--signal);
  text-decoration: underline;
}

.capture .form-error {
  color: #e6a07a;
}

.capture-success {
  text-align: left;
}

.capture-success .check {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid var(--signal);
  color: var(--signal);
  font-size: 22px;
}

.capture-success h3 {
  margin-bottom: 10px;
}

.capture-success p {
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.96rem;
  margin: 0 0 18px;
}

/* Inside-the-guide list */
.inside-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--hair);
}

.charcoal .inside-list,
.ink .inside-list {
  border-color: var(--white-line);
}

.inside-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hair);
  list-style: none;
}

.charcoal .inside-list li,
.ink .inside-list li {
  border-color: var(--white-line);
}

.inside-list ol,
.inside-list ul {
  margin: 0;
  padding: 0;
}

.inside-list .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--signal);
}

.paper .inside-list .num {
  color: var(--clay);
}

.inside-list h3 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.inside-list p {
  margin: 0;
  color: color-mix(in srgb, currentColor 66%, transparent);
}

/* ---------------------------------------------------------------- Offer page */

.reframe-quote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.reframe-quote p.big {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  margin: 0 0 24px;
}

.reframe-quote p.body {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted-paper);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.ink .reframe-quote p.body,
.charcoal .reframe-quote p.body {
  color: var(--muted-paper);
}

.paper .reframe-quote p.body {
  color: var(--muted);
}

.forfit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white-line);
  border: 1px solid var(--white-line);
}

.forfit-col {
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--charcoal);
}

.forfit-col h3 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.forfit-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.forfit-col li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-top: 1px solid var(--white-line);
  color: rgba(245, 241, 232, 0.82);
  line-height: 1.5;
}

.forfit-col li:first-child {
  border-top: 0;
}

.forfit-col.yes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

.forfit-col.no li::before {
  content: "×";
  position: absolute;
  left: 2px;
  top: 11px;
  color: var(--clay);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Spiritual figure band */
.spirit-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(56px, 8vw, 120px) clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--paper);
}

.spirit-split .spirit-copy {
  max-width: 560px;
}

.spirit-split .eyebrow {
  color: var(--signal);
}

.spirit-split h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
}

.spirit-split p.sub {
  margin: 22px 0 0;
  color: rgba(245, 241, 232, 0.8);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
}

.spirit-fig {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 540px);
  justify-self: center;
}

.spirit-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.94);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 52%, transparent 82%);
  mask-image: radial-gradient(circle at 50% 48%, #000 52%, transparent 82%);
}

.spirit-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spirit-tags span {
  position: absolute;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(216, 204, 184, 0.9);
}

.spirit-tags span:nth-child(1) { top: 24%; left: 4%; }
.spirit-tags span:nth-child(2) { top: 24%; right: 4%; text-align: right; }
.spirit-tags span:nth-child(3) { bottom: 26%; left: 4%; }
.spirit-tags span:nth-child(4) { bottom: 26%; right: 4%; text-align: right; }

@media (max-width: 760px) {
  .spirit-split {
    grid-template-columns: 1fr;
  }
  .spirit-fig {
    order: -1;
    width: min(100%, 380px);
  }
  .spirit-tags span {
    font-size: 0.62rem;
  }
}

/* Engagement steps */
.engagement {
  max-width: 1000px;
  margin: 0 auto;
  counter-reset: eng;
}

.engagement-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(18px, 4vw, 44px);
  padding: clamp(24px, 3vw, 34px) 0;
  border-top: 1px solid var(--white-line);
}

.paper .engagement-step {
  border-color: var(--hair);
}

.engagement-step:first-child {
  border-top: 0;
}

.engagement-step .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--signal);
}

.paper .engagement-step .num {
  color: var(--clay);
}

.engagement-step h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
}

.engagement-step p {
  margin: 0;
  max-width: 680px;
  color: color-mix(in srgb, currentColor 68%, transparent);
}

/* Booking */
.booking {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid var(--white-line);
  background: var(--charcoal);
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
}

.booking .eyebrow {
  color: var(--signal);
}

.booking h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.booking p {
  max-width: 540px;
  margin: 0 auto 24px;
  color: rgba(245, 241, 232, 0.78);
}

.calendly-slot {
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 24px;
  border: 1px dashed var(--white-line);
  color: rgba(245, 241, 232, 0.5);
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- Simple funnel footer bridge */

.funnel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--white-line);
}

.funnel-footer .brand strong {
  color: var(--paper);
}

.funnel-footer nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.funnel-footer nav a {
  padding: 8px 12px;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.72);
}

.funnel-footer nav a:hover {
  color: var(--paper);
}

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1040px) {
  .f-hero {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .f-panel,
  .capture {
    max-width: 560px;
  }

  .card-row.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-row.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .f-hero {
    display: block;
    padding: 118px 18px 40px;
  }

  .f-panel,
  .capture {
    margin-top: 26px;
    max-width: 100%;
  }

  .f-section {
    padding: 56px 18px;
  }

  .card-row.cols-2,
  .card-row.cols-3,
  .card-row.cols-4 {
    grid-template-columns: 1fr;
  }

  .scale-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .result-executive,
  .rf-diagnosis {
    grid-template-columns: 1fr;
  }

  .dbar {
    grid-template-columns: 92px 1fr 40px;
    gap: 10px;
  }

  .dbar.is-constraint .dbar-label::after {
    display: none;
  }

  .bridge-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bridge-card .button {
    width: 100%;
  }

  .result-tools {
    flex-direction: column;
    align-items: flex-start;
  }

  .forfit {
    grid-template-columns: 1fr;
  }

  .engagement-step {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .quiz-form {
    padding: 26px 20px;
  }

  .assessment-modal {
    width: 100vw;
    height: 100svh;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-step.is-active,
  .dbar-fill {
    animation: none !important;
    transition: none !important;
  }
}
