/* Unclunk My Site: homepage styles */
@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --cream: #FFFFFF;      /* ground (was cream) */
  --sand: #F1EFEA;
  --sand-deep: #E3E1DC;
  --charcoal: #1F2B4D;   /* navy ink (was charcoal) */
  --ink-soft: #4A5570;
  --orange: #F7941D;      /* decorative accent only */
  --orange-ink: #A85400;  /* text, buttons (AA on cream and with white) */
  --orange-light: #F7941D;/* accent on charcoal */
  --sage: #7C8977;
  --white: #FFFFFF;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.4vw, 3.9rem);

  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(4rem, 3rem + 4vw, 7rem);

  --wrap: 72rem;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-family: var(--sans); font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
p { margin: 0; }
a { color: var(--orange-ink); text-underline-offset: 0.18em; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--charcoal); color: var(--cream); padding: .6rem 1rem; z-index: 10; border-radius: 6px; }
.skip:focus { top: 1rem; color: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .8rem 1.4rem;
  background: var(--orange-ink); color: var(--white);
  border: 2px solid var(--orange-ink); border-radius: 999px;
  font: 600 var(--step-0)/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); }
.btn-small { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: var(--step--1); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { padding-block: 1.1rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-family: var(--serif); font-size: 1.35rem; color: var(--charcoal); text-decoration: none; line-height: 1; margin: 0; }
.wordmark span { color: var(--orange-ink); }
.wordmark:hover { color: var(--charcoal); }
.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list a:not(.btn) { color: var(--charcoal); text-decoration: none; font-weight: 500; }
.nav-list a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 640px) {
  .nav-list li:not(:last-child) { display: none; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) var(--space-xl); }
.hero-grid { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 4rem; } }
.hero h1 { font-size: var(--step-4); max-width: 15ch; }
.lede { margin-top: var(--space-m); font-size: var(--step-1); color: var(--ink-soft); max-width: 36rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--space-l); }
.hero-note { margin-top: 1rem; font-size: var(--step--1); color: var(--ink-soft); }

/* The signature element: a crossed-off chore list */
.chores {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: 0 1px 0 var(--sand-deep), 0 18px 40px -24px rgba(31, 43, 77, .35);
  transform: rotate(-1.2deg);
  max-width: 28rem;
  justify-self: center;
  width: 100%;
}
.chores-title { font-family: var(--serif); font-size: var(--step-1); margin-bottom: .9rem; }
.chores-list { list-style: none; margin: 0; padding: 0; }
.chores-list li {
  position: relative;
  padding: .7rem 0 .7rem 2.1rem;
  border-top: 1px solid var(--sand);
  color: var(--charcoal);
}
.chores-list li::before {
  content: ""; position: absolute; left: 0; top: .9rem;
  width: 1.15rem; height: 1.15rem; border: 2px solid var(--sand-deep); border-radius: 4px;
  transition: background-color .2s, border-color .2s;
}
.chores-list span {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-position: 0 58%;
  background-size: 100% 2px;
  color: var(--ink-soft);
}
.chores-done {
  margin-top: .9rem; padding-top: .9rem; border-top: 2px solid var(--charcoal);
  font-weight: 700;
}
/* Animated state (JS adds .is-animating before the sequence runs) */
.chores.is-animating .chores-list span { background-size: 0 2px; color: var(--charcoal); transition: background-size .45s ease-out, color .3s; }
.chores.is-animating .chores-list li.done span { background-size: 100% 2px; color: var(--ink-soft); }
.chores.is-animating .chores-done { opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.chores.is-animating.finished .chores-done { opacity: 1; transform: none; }
.chores-list li.done::before, .chores:not(.is-animating) .chores-list li::before { background: var(--orange); border-color: var(--orange); }
.chores.is-animating .chores-list li:not(.done)::before { background: transparent; border-color: var(--sand-deep); }

/* Sections */
section h2 { font-size: var(--step-3); }
.section-intro { margin-top: 1rem; max-width: 40rem; color: var(--ink-soft); font-size: var(--step-1); }

.problem { background: var(--sand); padding-block: var(--space-xl); }
.split { display: grid; gap: var(--space-l); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.problem h2 + p { margin-top: var(--space-m); max-width: 34rem; }
.familiar { list-style: none; margin: 0; padding: 0; }
.familiar li { padding: 1rem 0; border-bottom: 1px solid var(--sand-deep); font-size: var(--step-1); line-height: 1.45; }
.familiar li:first-child { padding-top: 0; }
.aside { margin-top: var(--space-m); font-family: var(--serif); font-size: var(--step-1); color: var(--orange-ink); }

.purpose { padding-block: var(--space-xl); }
.statement { max-width: 22ch; font-size: var(--step-4); }
.purpose-grid { display: grid; gap: var(--space-l); margin-top: var(--space-l); }
@media (min-width: 900px) { .purpose-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.purpose-intro { font-size: var(--step-1); max-width: 34rem; }
.jobs { margin: 0; display: grid; gap: 1.6rem; }
.jobs div { border-left: 3px solid var(--orange); padding-left: 1.2rem; }
.jobs dt { font-weight: 700; font-size: var(--step-1); }
.jobs dd { margin: .3rem 0 0; color: var(--ink-soft); }

.how { padding-block: var(--space-xl); border-top: 1px solid var(--sand-deep); }
.steps { list-style: none; margin: var(--space-l) 0 0; padding: 0; counter-reset: step; display: grid; gap: 2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--charcoal); color: var(--cream);
  font-family: var(--serif); font-size: 1.15rem;
}
.steps p { margin-top: .5rem; color: var(--ink-soft); }

.craig { background: var(--charcoal); color: var(--cream); padding-block: var(--space-xl); }
.craig-grid { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 860px) { .craig-grid { grid-template-columns: 420px 1fr; gap: 4.5rem; } }
.craig-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 887 / 1187; object-fit: cover; }
@media (max-width: 859px) { .craig-photo { max-width: 26rem; } }
.craig-copy p { margin-top: 1rem; max-width: 38rem; color: #E3E1DC; }
.craig-copy h2 { color: var(--cream); }
.craig-copy h2 + p { margin-top: var(--space-m); }
.promises { display: grid; gap: 1.6rem; margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid #3A4668; }
@media (min-width: 620px) { .promises { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.promises h3 { color: var(--orange-light); }
.promises p { margin-top: .4rem; }

.proof { padding-block: var(--space-xl); }
.quote { margin: 0 auto; max-width: 52rem; }
.quote blockquote { margin: 0; position: relative; }
.quote blockquote::before {
  content: "“"; display: block; font-family: var(--serif); font-size: 6rem; line-height: .6; color: var(--orange); margin-bottom: .6rem;
}
.quote p { font-family: var(--serif); font-size: var(--step-2); line-height: 1.45; }
.quote figcaption { margin-top: var(--space-m); color: var(--ink-soft); font-weight: 600; }

/* Start / step-by-step form */
.start { background: var(--sand); padding-block: var(--space-xl) 64px; }
.start-head { text-align: center; max-width: 40rem; margin: 0 auto var(--space-l); }
.start-head .section-intro { margin-inline: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.stepper { max-width: 46rem; margin: 0 auto 1.5rem; text-align: center; scroll-margin-top: 1.5rem; }
.stepper[hidden] { display: none; }
.stepper-count { margin: 0 0 .8rem; font-weight: 600; color: var(--ink-soft); }
.stepper-count b { color: var(--orange-ink); }
.stepper-track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stepper-track::before, .stepper-track::after { content: ""; position: absolute; top: 17px; left: 12.5%; height: 4px; border-radius: 4px; }
.stepper-track::before { right: 12.5%; background: var(--sand-deep); }
.stepper-track::after { width: calc(75% * var(--progress)); background: var(--orange-ink); transition: width .35s ease; }
.stepper-track li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.stepper-track span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--sand-deep); color: var(--ink-soft); font-family: var(--serif); transition: background-color .2s, color .2s, border-color .2s; }
.stepper-track .is-done span, .stepper-track .is-current span { background: var(--orange-ink); border-color: var(--orange-ink); color: var(--white); }
.stepper-track .is-current span { box-shadow: 0 0 0 6px rgba(168, 84, 0, .16); }
.stepper-track .is-current { color: var(--orange-ink); }
.stepper-time { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 0; padding: .35rem .9rem; border-radius: 999px; background: var(--cream); color: var(--ink-soft); font-size: var(--step--1); }
.stepper-time svg { width: 16px; height: 16px; }

.form-card { max-width: 46rem; margin-inline: auto; background: var(--white); border: 1px solid var(--sand-deep); border-radius: 16px; padding: clamp(1.5rem, 1rem + 3vw, 3rem); box-shadow: 0 30px 60px -40px rgba(31, 43, 77, .45); }

.step { text-align: center; }
.step + .step { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--sand); }
.is-stepped .step { display: none; margin: 0; padding: 0; border: 0; }
.is-stepped .step.is-active { display: block; animation: step-in .3s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.step-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.3rem; background: var(--charcoal); color: var(--orange-light); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--orange); }
.step-icon svg { width: 30px; height: 30px; }
.step-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); line-height: 1.2; margin: 0 0 .5rem; text-wrap: balance; }
.step-title:focus { outline: none; }
.step-intro { color: var(--ink-soft); margin: 0 auto 1.8rem; max-width: 32rem; }
.step-body { max-width: 36rem; margin: 0 auto; display: grid; gap: 1.3rem; text-align: left; }
.step-body-2 { grid-template-columns: 1fr 1fr; }
.step-body-2 .privacy { grid-column: 1 / -1; }

.intake .field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.intake .field[hidden] { display: none; }
.intake label, .field-label { font-weight: 600; color: var(--charcoal); }
.choice, .choice * { font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-soft); }
.intake input[type="text"], .intake input[type="email"], .intake textarea {
  width: 100%; min-height: 3.1rem; padding: .75rem .9rem; font: inherit; font-weight: 400; color: var(--charcoal);
  background: var(--white); border: 1.5px solid #C9CDD6; border-radius: 10px;
}
.intake textarea { min-height: 6rem; resize: vertical; }
.intake input:focus, .intake textarea:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 4px rgba(168, 84, 0, .16); }
.intake [aria-invalid="true"] { border-color: #A3261B; }
.hint { margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
.err { color: #A3261B; font-size: var(--step--1); font-weight: 600; margin: 0; }
.err:empty { display: none; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; height: 100%; min-height: 3.3rem; padding: .7rem .9rem; text-align: center; border: 1.5px solid #C9CDD6; border-radius: 10px; background: var(--white); color: var(--charcoal); transition: border-color .15s, background-color .15s; }
.choice:hover span { border-color: var(--orange-ink); }
.choice input:checked + span { border-color: var(--orange-ink); background: rgba(168, 84, 0, .08); box-shadow: inset 0 0 0 1px var(--orange-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--orange-ink); outline-offset: 2px; }
.choices-big .choice span { min-height: 6.5rem; padding: 1.1rem; }
.choices-big strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.choices-big small { font-weight: 500; color: var(--ink-soft); font-size: var(--step--1); }

.step-nav { display: none; max-width: 36rem; margin: 1.8rem auto 0; gap: .8rem; }
.is-stepped .step-nav, .step[data-step="4"] .step-nav { display: flex; }
.step-nav .btn { flex: 1; min-height: 3.4rem; border-radius: 10px; }
.step-nav .step-back { flex: 0 0 auto; padding-inline: 1.4rem; }
.intake:not(.is-stepped) .step-back { display: none; }
.privacy { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }

.status:empty { display: none; }
.status { max-width: 36rem; margin: 1.5rem auto 0; padding: 1.2rem 1.3rem; border-radius: 10px; background: var(--cream); border-left: 4px solid var(--orange-ink); text-align: left; }
.status.is-error { border-left-color: #A3261B; }
.status.is-success { border-left-color: var(--sage); }
.status h3 { font-size: var(--step-1); }
.status p { margin-top: .4rem; }
.status .btn { margin-top: .9rem; }

.start-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 24px; margin: 16px 0 0; padding: 0; list-style: none; font-size: var(--step--1); line-height: 1; color: var(--ink-soft); }
.start-meta li { display: inline-flex; align-items: center; gap: .4rem; }
.start-meta svg { flex: none; display: block; width: 16px; height: 16px; color: var(--orange); stroke: var(--orange); }

@media (max-width: 600px) {
  .step-body-2, .choices-big { grid-template-columns: 1fr; }
  .stepper-track li { font-size: .8rem; }
  .stepper-track span { width: 32px; height: 32px; }
  .stepper-track::before, .stepper-track::after { top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .is-stepped .step.is-active { animation: none; } .stepper-track::after { transition: none; } }

/* Footer */
.site-footer { padding-block: var(--space-l); }
.footer-inner { display: grid; gap: .5rem; justify-items: center; text-align: center; color: var(--ink-soft); }
.footer-inner .wordmark { font-size: 1.5rem; margin-bottom: 0; }
.footer-subtext { color: #4b5563; line-height: 1.5; margin-bottom: .5rem; }
.small { font-size: var(--step--1); }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem .9rem; margin-bottom: .5rem; }
.contact-label { color: #4b5563; }
.footer-contact-btn { display: inline-block; color: var(--orange); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s ease-in-out; }
.footer-contact-btn:hover { border-color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wm-accent { color: var(--orange-ink); }

/* Hero: the untangling line */
.hb { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--space-xl); }
.hb h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); max-width: 17ch; line-height: 1.04; }
.line { margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; }
.line svg { width: 100%; height: auto; display: block; overflow: visible; }
.line .tangle { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.line circle { fill: var(--orange-ink); }
.line .lbl { font: 600 15px var(--sans); fill: var(--ink-soft); }
.line .goal { font: 400 20px var(--serif); fill: var(--charcoal); }
@media (max-width: 640px) { .line .lbl { font-size: 22px; } .line .goal { font-size: 30px; } }
.hb-bottom { display: grid; gap: 2rem; align-items: start; }
.hb .lede { margin-top: 0; }
.hb-bottom { max-width: none; gap: 0; }
.hb .lede { max-width: none; }
@media (min-width: 900px) { .hb .lede { font-size: 1.45rem; } }
.hb-bottom .hero-actions { margin-top: var(--space-l); }
.draw { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.6s ease-in-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fade { opacity: 0; animation: fade .5s ease 2.6s forwards; }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .draw { stroke-dashoffset: 0; } .fade { opacity: 1; } }

/* Float-in on scroll (JS adds .reveal; content stays visible without JS) */
.reveal > .wrap { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in > .wrap { opacity: 1; transform: none; }


/* ===== UI/UX fixes (session 2) ===== */
:root { --orange-ink-deep: #96490A; } /* orange text on sand: 5.2:1 */

/* 1. Hero line: separate compact drawing on phones so labels stay readable */
.line .line-mob { display: none; }
@media (max-width: 640px) {
  .line .line-desk { display: none; }
  .line .line-mob { display: block; }
  .line .line-mob .lbl { font-size: 25px; }
  .line .line-mob .goal { font-size: 31px; }
}

/* 2. Desktop hero: shorter lines, buttons higher on the first screen */
@media (min-width: 900px) {
  .hb { padding-top: clamp(2rem, 1rem + 2.5vw, 3.5rem); }
  .hb h1 { max-width: 24ch; }
  .line { margin-block: 1.75rem; }
  .hb .lede { max-width: 46rem; }
  .hb-bottom .hero-actions { margin-top: 2rem; }
}

/* 3. Contrast: orange text on sand */
.aside, .stepper-track .is-current, .stepper-count b { color: var(--orange-ink-deep); }

/* 4. Tap targets at least 44px */
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.nav-list a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .25rem; }
.btn-small { min-height: 2.75rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; }

/* 5. Mobile: shorter About photo, compact steps */
@media (max-width: 859px) {
  .craig-photo { max-width: none; }
  .craig-photo img { aspect-ratio: 4 / 3; object-position: 65% 30%; }
}
@media (max-width: 759px) {
  .steps { gap: 1.6rem; }
  .steps li { padding-top: 0; padding-left: 3.4rem; min-height: 2.5rem; }
  .steps h3 { padding-top: .35rem; }
}

/* 6. Stepper labels readable on phones */
@media (max-width: 600px) { .stepper-track li { font-size: .875rem; } }


/* ===== Design audit fixes (session 2) ===== */

/* 1. Tangle motif returns: small "untangled" line above key headings */
.purpose .statement::before, #how-h::before, #start-h::before, .proof .quote::before {
  content: ""; display: block; width: 140px; height: 24px; margin-bottom: 1.4rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24'%3E%3Cpath d='M2,12 C10,0 22,24 30,12 S46,0 40,12 S28,22 44,16 S60,11 72,12 L128,12' fill='none' stroke='%23F7941D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='133' cy='12' r='4.5' fill='%23A85400'/%3E%3C/svg%3E") no-repeat left center / contain;
}
#start-h::before { margin-inline: auto; }
.how { border-top: 0; }
.stepper-track::before, .stepper-track::after { height: 3px; }

/* 2. No scroll animations (hero line drawing is the only motion) */
.reveal > .wrap { opacity: 1; transform: none; transition: none; }

/* 3. Form matches the page: flat, no shadow, no icon badges */
.form-card { background: var(--cream); border: 1.5px solid var(--sand-deep); border-radius: var(--radius); box-shadow: none; }
.step-icon { display: none; }
.stepper-track .is-current span { box-shadow: none; }
.choice span, .intake input[type="text"], .intake input[type="email"], .intake textarea { background: var(--white); }

/* 4. Main paragraphs in charcoal; grey only for small print */
.lede, .section-intro, .steps p, .jobs dd, .step-intro, .purpose-intro { color: var(--charcoal); }
.craig-copy p { color: #F1EFEA; }

/* 5. Purpose points: ruled rows with serif terms (different from steps and promises) */
.jobs { gap: 0; }
.jobs div { border-left: 0; padding: 1.1rem 0; border-top: 1px solid var(--sand-deep); }
.jobs div:last-child { border-bottom: 1px solid var(--sand-deep); }
.jobs dt { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); }
@media (min-width: 640px) {
  .jobs div { display: grid; grid-template-columns: 13.5rem 1fr; gap: 1.5rem; align-items: baseline; }
  .jobs dd { margin: 0; }
}

/* 6. New rhythm: About + testimonial share one dark chapter */
.proof { background: var(--charcoal); color: var(--cream); padding-top: 0; }
.proof .wrap { border-top: 1px solid #3A4668; padding-top: var(--space-xl); }
.quote blockquote::before { display: none; }
.quote p { color: var(--cream); }
.quote figcaption { color: #B8BFCF; }

/* Palette 2026-10-26: navy + orange. Buttons are orange with navy text (6:1); white on orange fails contrast. */
.btn:not(.btn-ghost) { background: var(--orange); border-color: var(--orange); color: var(--charcoal); }
.btn:not(.btn-ghost):hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

/* ===== 2026-10-27: About moved to 3rd, dark grey, testimonial inside ===== */
.craig { background: #292B29; }
.craig .promises { border-top-color: #4A4C48; }
.craig-copy p { color: #E8E6E1; }
.craig-copy .craig-lede { font-size: var(--step-1); line-height: 1.5; color: #FFFFFF; }
.craig-grid { align-items: start; }
.craig-side { display: grid; gap: var(--space-l); }
.craig-quote { margin: 0; padding-top: var(--space-m); border-top: 1px solid #4A4C48; }
.craig-quote blockquote { margin: 0; }
.craig-quote blockquote p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: #FFFFFF; }
.craig-quote blockquote p::before { content: "“"; display: block; font-size: 3.5rem; line-height: .5; margin-bottom: .4rem; color: var(--orange); }
.craig-quote figcaption { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.craig-quote figcaption img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #292B29, 0 0 0 4px var(--orange); }
.craig-quote figcaption span { display: grid; gap: .1rem; }
.craig-quote figcaption strong { color: #FFFFFF; }
.craig-quote figcaption a { color: var(--orange-light); text-decoration: none; font-size: var(--step--1); }
.craig-quote figcaption a:hover { color: #FFFFFF; text-decoration: underline; }

/* Hero question above buttons */
.hero-ask { margin: 0; font-family: var(--serif); font-size: var(--step-2); color: var(--charcoal); }
.hb-bottom .hero-actions { margin-top: 1rem; }

/* Mobile hero line: goal label above the line, right-aligned, smaller */
@media (max-width: 640px) {
  .line .line-mob .goal { font-size: 24px; }
}

/* ===== 2026-10-27: Mobile sticky bottom bar replaces hero buttons ===== */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .hb .cta-col { display: none; }
  .mobile-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--white); border-top: 1px solid var(--sand-deep);
    box-shadow: 0 -10px 30px -18px rgba(31, 43, 77, .35);
    padding: .7rem 1rem calc(.8rem + env(safe-area-inset-bottom));
    transition: transform .25s ease;
  }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar-ask { margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.05rem; text-align: center; color: var(--charcoal); }
  .mobile-bar-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .mobile-bar .btn { min-height: 2.9rem; padding: .5rem .6rem; font-size: .95rem; width: 100%; }
  body { padding-bottom: 7.5rem; }
}

/* 2026-10-27: mobile hero line labels smaller, less space below */
@media (max-width: 640px) {
  .line .line-mob .lbl { font-size: 21px; }
  .hb { padding-bottom: 2.5rem; }
}

/* 2026-10-27: smaller header wordmark on mobile */
@media (max-width: 640px) {
  .site-header .wordmark { font-size: 1.15rem; }
}

/* =====================================================================
   v2 SECTIONS: Clunk Index, Before & After blueprint, Diagnostic CTA
   Motion uses transform + opacity only (no layout shift).
   ===================================================================== */
:root {
  --hot: #FF7A00;        /* logo orange: accents, focus glow */
  --hot-deep: #E06B00;   /* scribbles, numbers */
  --rule: #E2E8F0;       /* 1px hairlines */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

.kicker { margin: 0 0 .9rem; font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- 1. Clunk Index ---------- */
.ci { padding-block: var(--space-xl); }
.ci-head { display: grid; gap: .4rem; margin-bottom: var(--space-l); }
@media (min-width: 900px) {
  /* asymmetry: heading left, subline pushed right */
  .ci-head { grid-template-columns: 1fr auto; align-items: end; }
  .ci-head .kicker { grid-column: 1 / -1; }
}
.ci-sub { font-family: var(--serif); font-size: var(--step-1); color: var(--orange-ink); }

.ci-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}
@media (min-width: 640px) { .ci-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ci-grid { grid-template-columns: repeat(3, 1fr); } }

.ci-cell {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  border-bottom: 1px solid var(--rule);
}
/* vertical hairlines between columns only */
@media (min-width: 640px) and (max-width: 959px) { .ci-cell:nth-child(odd) { border-right: 1px solid var(--rule); } }
@media (min-width: 960px) { .ci-cell:not(:nth-child(3n)) { border-right: 1px solid var(--rule); } }
@media (max-width: 639px) { .ci-cell { padding-inline: 0; } }

/* orange bar that draws in on hover (scaleX) */
.ci-cell::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--hot); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.ci-num {
  display: inline-block; font: 600 .85rem/1 var(--sans); letter-spacing: .08em;
  color: #9AA3B5; font-variant-numeric: tabular-nums;
  transition: color .25s, transform .35s var(--ease);
}
.ci-cell h3 { margin-top: 1.1rem; font-family: var(--serif); font-weight: 400; font-size: var(--step-2); transition: transform .35s var(--ease); }
.ci-cell p { margin-top: .6rem; color: var(--ink-soft); max-width: 30ch; }
/* tiny orange dot that pops beside the number */
.ci-num::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .55rem; vertical-align: .1em;
  border-radius: 50%; background: var(--hot); transform: scale(0); transition: transform .3s var(--ease);
}
@media (hover: hover) {
  .ci-cell:hover::before { transform: scaleX(1); }
  .ci-cell:hover .ci-num { color: var(--hot-deep); }
  .ci-cell:hover .ci-num::after { transform: scale(1); }
  .ci-cell:hover h3 { transform: translateX(4px); }
}

/* ---------- 2. Before & After blueprint ---------- */
.bp {
  padding-block: var(--space-xl);
  background-color: #FAFBFC;
  /* faint engineering grid: 24px minor dots, 120px major lines */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M120 0H0V120' fill='none' stroke='%23E2E8F0' stroke-width='1'/%3E%3C/svg%3E"),
    radial-gradient(circle, #D5DCE6 1px, transparent 1.2px);
  background-size: 120px 120px, 24px 24px;
  border-block: 1px solid var(--rule);
}
.bp-head { margin-bottom: var(--space-l); }
.bp-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) {
  /* asymmetrical: clunk narrower, fix wider and offset down */
  .bp-grid { grid-template-columns: 5fr auto 7fr; gap: 2.5rem; }
  .bp-fixed { margin-top: 3rem; }
  .bp-arrow { align-self: center; }
}

.bp-col { position: relative; background: var(--white); border: 1px solid var(--rule); padding: 1.75rem 1.75rem 2rem; }
.bp-fixed { border-color: var(--charcoal); }
.bp-label { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.bp-fixed .bp-label { color: var(--charcoal); }
.bp-list { list-style: none; margin: 0; padding: 0; }
.bp-list li { position: relative; padding: .85rem 0; border-bottom: 1px dashed var(--rule); }
.bp-list li:last-child { border-bottom: 0; }
.bp-clunk .bp-list span { color: var(--ink-soft); }
.bp-fixed .bp-list li { padding-left: 2rem; font-weight: 500; }
/* orange check (pure CSS) */
.bp-fixed .bp-list li::before {
  content: ""; position: absolute; left: .15rem; top: 1.15rem; width: .5rem; height: .9rem;
  border: solid var(--hot-deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(var(--chk, 1));
  transition: transform .35s var(--ease);
}

/* Scribble strike-through over clunky items. Drawn by stroke-dashoffset.
   PLACEHOLDER: swap these paths for the hand-drawn hero scribble if exported as SVG. */
.scribble {
  position: absolute; left: -2%; top: 50%; width: 104%; height: 18px; transform: translateY(-45%);
  overflow: visible; pointer-events: none;
}
.scribble path { fill: none; stroke: var(--hot); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bp-x { position: absolute; right: -10px; top: -26px; width: 68px; height: 68px; overflow: visible; pointer-events: none; }
.bp-x path { fill: none; stroke: var(--hot); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bp-arrow svg { width: 80px; height: 24px; overflow: visible; }
.bp-arrow path { fill: none; stroke: var(--hot-deep); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 639px) { .bp-x { right: 0; } }
@media (max-width: 899px) { .bp-arrow { justify-self: center; transform: rotate(90deg); } }

/* JS adds .is-armed (hide), then .is-in when scrolled into view (draw). No JS = fully drawn. */
.bp.is-armed .scribble path, .bp.is-armed .bp-x path { stroke-dashoffset: 1; }
.bp.is-armed .bp-fixed li { --chk: 0; }
.bp.is-in .scribble path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease-out; }
.bp.is-in .bp-list li:nth-child(1) .scribble path { transition-delay: .1s; }
.bp.is-in .bp-list li:nth-child(2) .scribble path { transition-delay: .25s; }
.bp.is-in .bp-list li:nth-child(3) .scribble path { transition-delay: .4s; }
.bp.is-in .bp-list li:nth-child(4) .scribble path { transition-delay: .55s; }
.bp.is-in .bp-list li:nth-child(5) .scribble path { transition-delay: .7s; }
.bp.is-in .bp-list li:nth-child(6) .scribble path { transition-delay: .85s; }
.bp.is-in .bp-x path { stroke-dashoffset: 0; transition: stroke-dashoffset .35s ease-out 1.1s; }
.bp.is-in .bp-x path + path { transition-delay: 1.35s; }
.bp.is-in .bp-fixed li { --chk: 1; }
.bp.is-in .bp-fixed li:nth-child(n)::before { transition-delay: calc(1.5s + var(--i, 0) * .08s); }

/* ---------- 3. Diagnostic CTA ---------- */
.diag { padding-block: clamp(6rem, 4rem + 8vw, 11rem); text-align: center; }
.diag h2 { font-size: var(--step-4); max-width: 18ch; margin-inline: auto; }
.diag-sub { margin: 1.2rem auto 0; max-width: 34rem; font-size: var(--step-1); }
.diag-note { margin-top: 1.2rem; font-size: var(--step--1); color: var(--ink-soft); }
.diag-dim { transition: opacity .4s ease; }

.diag-form { max-width: 46rem; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0; }
.diag-field {
  position: relative; display: flex; gap: .5rem; padding: .5rem;
  background: var(--white); border: 1.5px solid var(--charcoal); border-radius: 14px;
}
/* glow layer: opacity-only transition */
.diag-field::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 2px var(--hot), 0 0 0 7px rgba(255, 122, 0, .18), 0 18px 50px -12px rgba(255, 122, 0, .45);
  opacity: 0; transition: opacity .25s ease;
}
.diag-field input {
  flex: 1; min-width: 0; min-height: 3.75rem; padding: 0 1rem; border: 0; background: transparent;
  font: 500 clamp(1.1rem, 1rem + .6vw, 1.35rem)/1 var(--sans); color: var(--charcoal);
}
.diag-field input::placeholder { color: #8A93A6; }
.diag-field input:focus { outline: none; }
.diag-btn { min-height: 3.75rem; padding-inline: 1.8rem; border-radius: 10px; font-size: var(--step-1); white-space: nowrap; }
.diag-btn:not(.btn-ghost) { background: var(--hot); border-color: var(--hot); color: var(--charcoal); }
.diag-btn:not(.btn-ghost):hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.diag-err { margin-top: .8rem; }

/* Focus mode: input glows, everything else in the section steps back */
.diag-field:focus-within::after { opacity: 1; }
.diag:focus-within .diag-dim { opacity: .28; }

@media (max-width: 560px) {
  .diag-field { flex-direction: column; padding: .4rem; }
  .diag-field input { min-height: 3.4rem; text-align: center; }
  .diag-btn { width: 100%; }
}

.bp { overflow-x: clip; }

/* =====================================================================
   v2 PATH SWITCHING: <html data-path="existing|new">
   Both variants share one grid cell, so the box keeps the taller
   variant's height and nothing below jumps. Opacity + transform only.
   ===================================================================== */
.swap, .swap-inline { display: grid; }
.swap > [data-show], .swap-inline > [data-show] {
  grid-area: 1 / 1;
  transition: opacity .35s ease, transform .35s var(--ease), visibility 0s linear 0s;
}
html[data-path="existing"] [data-show="new"],
html[data-path="new"] [data-show="existing"] {
  opacity: 0; transform: translateY(8px); visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
html[data-path="existing"] .swap > [data-show="existing"],
html[data-path="new"] .swap > [data-show="new"] { transition-delay: .12s, .12s, 0s; }

/* Path toggle (top of the Clunk Index) */
.path-toggle {
  display: inline-grid; grid-template-columns: 1fr 1fr; margin-bottom: var(--space-l);
  border: 1px solid var(--rule); border-radius: 999px; padding: 4px; position: relative;
}
.path-toggle::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--charcoal); transition: transform .35s var(--ease);
}
html[data-path="new"] .path-toggle::before { transform: translateX(100%); }
.path-toggle button {
  position: relative; z-index: 1; min-height: 44px; padding: .5rem 1.2rem; border: 0; background: none;
  font: 600 var(--step--1)/1.2 var(--sans); color: var(--charcoal); cursor: pointer; border-radius: 999px;
  transition: color .25s;
}
.path-toggle button[aria-pressed="true"] { color: var(--white); }

/* Right column: loop scribble around the winning label */
.bp-fixed .bp-label { position: relative; z-index: 1; }
.bp-loop {
  position: absolute; left: .9rem; top: .55rem; width: 13rem; height: 3.1rem;
  overflow: visible; pointer-events: none; z-index: 0;
}
.bp-loop path { fill: none; stroke: var(--hot); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bp.is-armed .bp-loop path { stroke-dashoffset: 1; }
.bp.is-in .bp-loop path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s ease-out 1.6s; }

/* CTA: glow in #E06B00 per spec */
.diag-field::after { box-shadow: 0 0 0 2px var(--hot-deep), 0 0 0 7px rgba(224, 107, 0, .18), 0 18px 50px -12px rgba(224, 107, 0, .45); }
.diag-forms { max-width: 46rem; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0; }
.diag-forms .diag-form { margin: 0; }
.diag .swap.diag-dim h2 { font-size: var(--step-4); max-width: 18ch; margin-inline: auto; }

/* =====================================================================
   v2 REFINEMENT: sticky path dock, grid borders, compare slider
   ===================================================================== */

/* ---------- Sticky global path filter ---------- */
.path-dock {
  position: fixed; top: 12px; left: 50%; z-index: 30;
  transform: translate(-50%, -140%); opacity: 0;
  transition: transform .4s var(--ease), opacity .3s ease;
  will-change: transform;
}
.path-dock.is-on { transform: translate(-50%, 0); opacity: 1; }
.path-dock .path-toggle {
  margin: 0; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -14px rgba(31, 43, 77, .35);
}
.path-dock .path-toggle button { padding-inline: 1.3rem; white-space: nowrap; }
@media (max-width: 640px) { .mobile-bar.is-docked { transform: translateY(110%); } }

/* Section flash when a path is chosen from the hero */
.ci-head { position: relative; }
.ci-head::after {
  content: ""; position: absolute; left: 0; bottom: -1rem; width: 100%; height: 2px;
  background: var(--hot); transform: scaleX(0); transform-origin: left; opacity: 0;
}
.ci.is-flash .ci-head::after { animation: ci-flash 1.4s var(--ease) .35s; }
@keyframes ci-flash { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- Feature grid: single 1px lines, orange frame on hover ----------
   Lines come from cell edges only: top rule on the grid, bottom + right on cells.
   No two borders ever stack. Hover frame is a pseudo-element (opacity only). */
.ci-cell::before { display: none; }
.ci-cell::after {
  content: ""; position: absolute; inset: -1px; z-index: 1; pointer-events: none;
  border: 1px solid var(--hot); opacity: 0; transition: opacity .3s ease;
}
.ci-cell > * { transition: transform .35s var(--ease); }
@media (hover: hover) {
  .ci-cell:hover::after { opacity: 1; }
  .ci-cell:hover > *, .ci-cell:hover h3 { transform: translateX(6px); }
}
@media (max-width: 639px) { .ci-cell::after { inset: -1px -.75rem; } }

/* ---------- Before & After compare slider ----------
   --p = divider position (0 to 100). Both layers move with transform only. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 50; }
.cmp { --p: 50; }
.cmp.is-snapping { transition: --p .6s var(--ease); }

.cmp-snap { display: inline-grid; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; border: 1px solid var(--rule); background: var(--white); }
.cmp-snap button {
  min-height: 44px; padding: .5rem 1.1rem; border: 0; background: none; cursor: pointer;
  font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}
.cmp-snap button + button { border-left: 1px solid var(--rule); }
.cmp-snap button:hover { color: var(--charcoal); }

.cmp-frame { position: relative; overflow: hidden; border: 1px solid var(--charcoal); background: var(--white); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.cmp-layer { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.cmp-before {
  background-color: #F6F7F9;
  background-image: radial-gradient(circle, #CBD3DF 1px, transparent 1.2px);
  background-size: 18px 18px;
}
.cmp-after { position: absolute; inset: 0; overflow: hidden; transform: translateX(calc(var(--p) * 1%)); will-change: transform; }
.cmp-after-inner {
  height: 100%; background: var(--white);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: translateX(calc(var(--p) * -1%)); will-change: transform;
}

.cmp-tag { display: inline-block; margin: 0 0 1.5rem; padding: .45rem .75rem; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--white); border: 1px dashed #9AA3B5; color: var(--ink-soft); }
.cmp-tag-fixed { float: right; margin-left: 1rem; background: var(--charcoal); border: 1px solid var(--charcoal); color: var(--white); }
.cmp-after-inner .cmp-blocks { clear: both; }

.cmp-blocks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .cmp-blocks { grid-template-columns: 1fr 1fr; gap: .7rem; } }
.blk { display: flex; align-items: center; min-height: 5.5rem; padding: .9rem 1rem; font-size: var(--step--1); line-height: 1.35; }
@media (min-width: 761px) { .blk { font-size: var(--step-0); } }

/* Clunk: crooked, overlapping, dashed, warning dots */
.blk-clunk { position: relative; background: var(--white); border: 1px dashed #9AA3B5; color: var(--ink-soft); box-shadow: 3px 3px 0 #E3E7EE; }
.blk-clunk::after { content: "!"; position: absolute; top: -9px; right: -9px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--sans); background: var(--hot); color: var(--charcoal); }
.blk-clunk:nth-child(1) { transform: rotate(-2.5deg) translate(4px, 6px); }
.blk-clunk:nth-child(2) { transform: rotate(1.8deg) translate(-10px, -4px); }
.blk-clunk:nth-child(3) { transform: rotate(-1deg) translate(6px, 12px); }
.blk-clunk:nth-child(4) { transform: rotate(2.2deg) translate(-6px, -8px); }
.blk-clunk:nth-child(5) { transform: rotate(-3deg) translate(12px, 2px); }
.blk-clunk:nth-child(6) { transform: rotate(1.2deg) translate(-4px, -10px); }
.blk-clunk span { text-decoration: line-through; text-decoration-color: var(--hot); text-decoration-thickness: 2px; }

/* Unclunked: aligned, solid, orange check */
.blk-fixed { gap: .75rem; background: var(--white); border: 1px solid var(--charcoal); color: var(--charcoal); font-weight: 600; }
.blk-fixed::before { content: ""; flex: none; width: .45rem; height: .85rem; margin: 0 .2rem 0 .15rem; border: solid var(--hot-deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px); }

/* Divider + knob */
.cmp-handle { position: absolute; inset: 0; pointer-events: none; transform: translateX(calc(var(--p) * 1%)); will-change: transform; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--hot); }
.cmp-knob {
  position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center; border-radius: 50%; background: var(--hot); color: var(--charcoal);
  box-shadow: 0 0 0 4px var(--white), 0 8px 24px -6px rgba(224, 107, 0, .6);
  transition: transform .2s var(--ease);
}
.cmp-knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cmp-frame:hover .cmp-knob, .cmp-range:active ~ .cmp-handle .cmp-knob { transform: scale(1.08); }
.cmp-range:focus-visible ~ .cmp-handle .cmp-knob { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--charcoal); }

/* Native range on top: drag, touch, and keyboard for free */
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; -webkit-appearance: none; appearance: none; }
.cmp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100vh; }
.cmp-range::-moz-range-thumb { width: 44px; height: 100vh; border: 0; }

.cmp-hint { margin-top: .9rem; font-size: var(--step--1); color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .cmp.is-snapping { transition: none; } }

/* Compare slider: both layers share one grid cell so the frame fits the taller one */
.cmp-frame { display: grid; }
.cmp-before, .cmp-after { grid-area: 1 / 1; }
.cmp-after { position: relative; inset: auto; }
.cmp-layer { display: flex; flex-direction: column; }
.cmp-tag { align-self: flex-start; }
.cmp-tag-fixed { float: none; margin-left: 0; align-self: flex-end; }
@media (max-width: 760px) {
  .blk { min-height: 0; padding: .75rem .8rem; }
  .cmp-blocks { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cmp-blocks { gap: .9rem; }
  .blk-clunk:nth-child(odd) { transform: rotate(-1.5deg) translateX(4px); }
  .blk-clunk:nth-child(even) { transform: rotate(1.2deg) translateX(-4px); }
}

/* =====================================================================
   v2 PATH STATE STYLES (driven by js/path.js)
   ===================================================================== */

/* Toggle switch: active = solid orange, inactive = faint border, muted text */
.path-switch .btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease); }
.path-switch .btn:not(.is-active) { background: transparent; border-color: var(--rule); color: var(--ink-soft); font-weight: 500; }
.path-switch .btn:not(.is-active):hover { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.path-switch .btn.is-active { background: var(--hot); border-color: var(--hot); color: var(--charcoal); }
.path-switch .btn.is-active:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.path-switch .btn:active { transform: scale(.97); }

/* Feature grid: hairlines come from a 1px gap over a rule-colored backdrop.
   Every line is exactly 1px, never doubled, whatever cards are showing. */
.ci-grid { gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ci-cell, .ci-cell:nth-child(n) { border: 0; background: var(--white); }
@media (max-width: 639px) { .ci-cell { padding-inline: 0; } .ci-cell::after { inset: -1px -.75rem; } }

/* Path-only cards: fade + slight drop (GPU only) */
[data-only] { transition: opacity .26s ease, transform .26s var(--ease); }
[data-only].is-out { opacity: 0; transform: translateY(10px) scale(.985); }
[data-only][hidden] { display: none; }

/* Flash under the grid header when a path is picked */
.is-flash .ci-head::after { animation: ci-flash 1.4s var(--ease) .35s; }

/* =====================================================================
   v2: About section layered background
   Base dark color + one masked overlay holding (top) dot grid and
   (bottom) orange backlight behind the portrait. The mask fades both
   out at the top and bottom edges.
   ===================================================================== */
.craig {
  --glow-x: 50%;
  --glow-y: calc(var(--space-xl) + 140px);
  position: relative; isolation: isolate; overflow: hidden;
  background: #292B29;
}
@media (min-width: 860px) {
  /* center of the 420px photo column inside the centered wrap */
  .craig { --glow-x: calc(50% - min(var(--wrap), 100vw - 2rem) / 2 + 210px); --glow-y: calc(var(--space-xl) + 280px); }
}
.craig::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    /* faint dot matrix */
    radial-gradient(circle, rgba(255, 255, 255, .09) 1px, transparent 1.4px) 0 0 / 22px 22px,
    /* thin grid every 4 dots */
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 88px 88px,
    /* orange backlight behind the portrait */
    radial-gradient(circle min(560px, 80vw) at var(--glow-x) var(--glow-y), rgba(255, 122, 0, .26), rgba(255, 122, 0, .09) 45%, rgba(255, 122, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.craig-photo img { position: relative; box-shadow: 0 30px 80px -30px rgba(255, 122, 0, .35); }

/* v2: About copy legibility on dark */
.craig-copy p, .craig .promises p { color: #F8FAFC; line-height: 1.65; }
.craig-copy .craig-lede { color: #FFFFFF; line-height: 1.6; font-weight: 500; }
.craig-copy h2 { color: #FFFFFF; }

/* v2: About copy block, layout + micro-typography */
.craig-copy { max-width: 64ch; }
@media (min-width: 860px) { .craig-copy { padding-block: .5rem; } }
.craig-copy h2 { color: #FFFFFF; font-weight: 400; letter-spacing: -.015em; } /* Young Serif ships one heavy weight; faux bold would blur */
.craig-copy p, .craig .promises p {
  max-width: 62ch; color: #E2E8F0; line-height: 1.7; letter-spacing: .015em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.craig-copy .craig-lede { color: #E2E8F0; font-weight: 500; line-height: 1.7; }
.tech-tag {
  margin: 0 0 1rem !important; color: var(--hot) !important;
  font: 500 .75rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  letter-spacing: .1em !important; text-transform: uppercase;
}
.tech-tag + h2 { margin-top: 0; }

/* =====================================================================
   v2: Questionnaire step transitions (opacity + transform only on panels)
   --dir is 1 going forward, -1 going back (set by js/main.js)
   ===================================================================== */
.is-stepped .step.is-active { animation: none; }
.is-stepped .step {
  transition: opacity .18s ease, transform .22s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}
/* outgoing: fade and drift opposite the travel direction */
.is-stepped .step.is-leaving { opacity: 0; transform: translateX(calc(var(--dir, 1) * -28px)); }
/* incoming: start offset in the travel direction, then settle (transition runs on class removal) */
.is-stepped .step.is-entering { opacity: 0; transform: translateX(calc(var(--dir, 1) * 28px)); transition: none; }
.is-stepped .step.is-active:not(.is-entering) { transition-duration: .3s, .38s; transition-timing-function: ease, var(--ease); }
/* wrapper height eases between steps of different length */
.intake.is-resizing { overflow: hidden; transition: height .32s var(--ease); }

/* validation error state */
.intake .is-invalid { border-color: #A3261B !important; box-shadow: 0 0 0 3px rgba(163, 38, 27, .12); }
.intake .is-shake { animation: field-shake .32s cubic-bezier(.36, .07, .19, .97); }
@keyframes field-shake {
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .is-stepped .step, .intake.is-resizing { transition: none; }
  .intake .is-shake { animation: none; }
}

/* =====================================================================
   v2: Questionnaire focus spotlight (opacity only)
   js/main.js adds .is-focused to #intake and #start while a text field is active
   ===================================================================== */
.start-head, .stepper, .start-meta,
.intake .step-title, .intake .step-intro, .intake .field, .intake .privacy, .intake .step-nav {
  transition: opacity .3s ease;
}
.start.is-focused .start-head,
.start.is-focused .stepper,
.start.is-focused .start-meta { opacity: .3; }
.intake.is-focused .step-title,
.intake.is-focused .step-intro,
.intake.is-focused .privacy { opacity: .45; }
.intake.is-focused .field:not(:focus-within) { opacity: .5; }

/* the active field: sharp orange edge + terminal-style caret */
.intake input[type="text"], .intake input[type="email"], .intake textarea { caret-color: var(--hot-deep); }
.intake input:focus, .intake textarea:focus {
  border-color: var(--hot-deep);
  box-shadow: 0 0 0 1px var(--hot-deep), 0 0 0 6px rgba(224, 107, 0, .14), 0 12px 32px -14px rgba(224, 107, 0, .45);
}
.intake .field:focus-within > label { color: var(--charcoal); }

/* Stepper: glowing current step (matches Ironcrest form) */
.stepper-track .is-current span { animation: step-glow 1.8s ease-in-out infinite; }
@keyframes step-glow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(168, 84, 0, .16), 0 0 10px 2px color-mix(in srgb, var(--orange-ink) 35%, transparent); }
  50% { box-shadow: 0 0 0 9px rgba(168, 84, 0, .16), 0 0 24px 8px color-mix(in srgb, var(--orange-ink) 55%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .stepper-track .is-current span { animation: none; box-shadow: 0 0 0 6px rgba(168, 84, 0, .16), 0 0 18px 4px color-mix(in srgb, var(--orange-ink) 45%, transparent); } }

/* Clunk Index: tighter cards on phones */
@media (max-width: 639px) {
  .ci-cell, .ci-cell:nth-child(n) { padding-block: 1.35rem 1.5rem; }
  .ci-cell h3 { margin-top: .55rem; }
  .ci-cell p { margin-top: .4rem; max-width: none; }
}

/* Hero line: timing sized to each path (pathLength="1"), faster on phones */
.line .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (max-width: 640px) {
  .line .draw { animation-duration: 1.8s; }
  .line .fade { animation-delay: 1.8s; animation-duration: .4s; }
}
@media (prefers-reduced-motion: reduce) { .line .draw { stroke-dashoffset: 0; } }

/* Compare slider: knob slides along the line so it never clips at either edge */
.cmp-knob { left: calc(26px - var(--p) * .52px); }

/* Clunk Index: one gap before the next section on phones, not two stacked */
@media (max-width: 639px) { .ci { padding-bottom: var(--space-l); } }

/* Compare slider buttons: same pill toggle as the hero path switch */
.cmp-snap { display: inline-flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; border: 0; background: none; }
.cmp-snap button, .cmp-snap button + button {
  min-height: 2.9rem; padding: .7rem 1.3rem; border: 2px solid var(--rule); border-radius: 999px;
  background: transparent; color: var(--ink-soft);
  font: 500 var(--step-0)/1.2 var(--sans); letter-spacing: 0; text-transform: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.cmp-snap button:hover { border-color: var(--charcoal); color: var(--charcoal); }
.cmp-snap button[aria-pressed="true"] { background: var(--hot); border-color: var(--hot); color: var(--charcoal); font-weight: 600; }
.cmp-snap button[aria-pressed="true"]:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.cmp-snap button:active { transform: scale(.97); }
@media (max-width: 639px) { .cmp-snap { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .cmp-snap button { padding-inline: .6rem; } }

/* Diag CTA: heading sits on the form (spare swap height goes above), pill field + button */
.diag .swap.diag-dim > [data-show] { align-self: end; }
.diag-forms { margin-top: 2rem; }
.diag-field, .diag-field::after { border-radius: 999px; }
.diag-field input { padding-inline: 1.4rem; }
.diag-btn { border-radius: 999px; }
@media (max-width: 560px) { .diag-field, .diag-field::after { border-radius: 28px; } }
.diag .swap.diag-dim h2 { max-width: 22ch; text-wrap: balance; }

/* Phones: one gap between hero line and Clunk Index, not two stacked */
@media (max-width: 639px) {
  .hb { padding-bottom: 1rem; }
  .ci { padding-top: 2.5rem; }
}

/* About: phones read photo > Craig > quote; desktop puts the quote in a full-width row */
.craig-side { display: contents; }
.craig-grid { grid-template-areas: "photo" "copy" "quote"; }
.craig-photo { grid-area: photo; }
.craig-copy { grid-area: copy; }
.craig-quote { grid-area: quote; }
@media (min-width: 860px) {
  .craig-grid { grid-template-areas: "photo copy" "quote quote"; row-gap: var(--space-l); }
  .craig-quote blockquote p { max-width: 62ch; }
}
