/* Keys & Kettles: a home taking shape, a plan with room to breathe.
   Paper edges, printed planning stamps, finite budget strips. No ranking logic. */
:root { --art-rule: 2px solid var(--colour-green); }
body { font-size: 1.0625rem; }
.button { border-radius: .3rem; box-shadow: none; transition: background-color 120ms ease; }
.button:hover { transform: none; box-shadow: none; }
.eyebrow { font-size: .875rem; letter-spacing: .075em; }
body .section { padding-block: clamp(3rem, 6vw, 5.5rem); }
body .section h2 { max-width: 23ch; font-size: clamp(2rem, 3.7vw, 3.25rem); line-height: 1.09; text-wrap: balance; }
body .section-heading { margin-bottom: 2.5rem; }
body .hero { position: relative; padding-block: clamp(2rem, 5vw, 4rem) 3rem; }
body .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
body .hero__content { position: relative; z-index: 1; }
body .hero__content h1 { max-width: 18ch; font-size: clamp(2.4rem, 4.7vw, 4.25rem); line-height: 1.07; text-wrap: balance; }
body .hero__content .lead { max-width: 42ch; font-size: clamp(1.125rem, 1.6vw, 1.25rem); }
body .hero__content .button-row { margin-top: 1.75rem; }
body .hero-outcome-line { border-top: var(--border); padding-top: 1rem; gap: .75rem; font-size: .875rem; }
body .hero-outcome-line strong { flex: 1 1 6rem; min-width: 0; font-weight: 600; }
body .hero-outcome-line span { display: none; }
body .hero-photo { height: auto; overflow: visible; align-self: center; margin-block: 1rem 0; display: flex; flex-direction: column; position: relative; }
body .hero-photo::before { content: ''; position: absolute; inset: -1rem -1rem 2rem 2rem; border: 1px solid var(--colour-stone); background: var(--colour-stone-soft); z-index: -1; }
body .hero-photo img { flex: none; min-height: 0; height: clamp(20rem, 35vw, 31rem); object-position: 30% 48%; }
body .hero-photo figcaption { position: relative; inset: auto; align-self: flex-start; margin: -2.5rem 0 0 -1.25rem; padding: 1rem 1.5rem; background: var(--colour-green); color: var(--colour-surface); font: 1rem/1.3 var(--font-ui); width: auto; max-width: calc(100% - 1rem); border: 0; }
.hero-photo figcaption span, .hero-photo figcaption strong { display: block; }
.hero-photo figcaption strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.problem-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
body .section--problem .narrow-copy { padding-left: 0; border-left: 0; }
.section--problem .lead { font-size: 1.2rem; }
.needs-note { padding: 1.75rem; border: var(--border); border-top: var(--art-rule); background: var(--colour-canvas); }
.note-label { font-size: .875rem; letter-spacing: .055em; text-transform: uppercase; font-weight: 700; color: var(--colour-green); }
.needs-note ul { margin: 0; padding: 0; list-style: none; }
.needs-note li { display: flex; gap: 1rem; align-items: center; padding-block: 1rem; border-top: var(--border); }
.needs-note li:last-child { padding-bottom: 0; }
.needs-note strong { display: block; }
.planning-stamp { display: inline-grid; width: 2.25rem; height: 2.25rem; place-content: center; flex: 0 0 auto; border: 1px solid currentColor; border-bottom-width: 3px; color: var(--colour-clay); font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.planning-stamp--covered { color: var(--colour-green); font-family: var(--font-ui); font-size: 1.15rem; }
body .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: var(--border); }
body .steps li, body .steps li:nth-child(odd), body .steps li:nth-child(even) { display: block; padding: 1.5rem; border: 0; border-left: var(--border); border-radius: 0; background: none; box-shadow: none; }
body .steps li:first-child { padding-left: 0; border-left: 0; }
body .steps li:last-child { padding-right: 0; }
.step-number { display: block; font-size: 1.1rem; font-family: var(--font-ui); letter-spacing: .05em; margin-bottom: 1rem; }
.step-diagram { display: flex; gap: .25rem; align-items: center; height: 5.5rem; margin-bottom: 1.5rem; color: var(--colour-green); font-size: .875rem; }
.step-diagram--inventory span { flex: 1; padding: .5rem .3rem; border: var(--border); background: var(--colour-surface); }
.step-diagram--inventory b { display: block; font-size: 1.25rem; }
.step-diagram--inventory .need { color: var(--colour-clay); border-color: currentColor; }
.step-diagram--budget { flex-direction: column; align-items: stretch; justify-content: center; }
.step-diagram--budget > div { display: flex; height: 2rem; gap: 3px; }
.step-diagram--budget i { flex: 2; background: var(--colour-green); }
.step-diagram--budget i:nth-child(2) { flex: 1; background: var(--colour-clay); }
.step-diagram--budget i:nth-child(3) { flex: 1; background: var(--colour-stone); }
.step-diagram--budget i:last-child { flex: 2; background: none; border: 1px solid var(--colour-green); }
.step-diagram--order { align-items: flex-start; }
.step-diagram--order span { flex: 1; padding-top: .35rem; border-top: 3px solid var(--colour-green); font-family: var(--font-display); font-size: 1.6rem; }
.step-diagram--order span:nth-child(2) { margin-top: 1rem; border-color: var(--colour-clay); }
.step-diagram--order span:nth-child(3) { margin-top: 2rem; border-top-style: dashed; border-color: var(--colour-muted); }
.step-diagram--order b { display: block; font: 600 .875rem var(--font-ui); }
.step-diagram--compare span { flex: 1; border-block: 1px solid var(--colour-stone); padding: .75rem .2rem; text-align: center; }
.step-diagram--compare span:nth-child(2) { padding-block: 1.25rem; background: var(--colour-green); color: var(--colour-surface); }
body .plan-demo { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); }
body .plan-demo__intro { position: static; }
body .plan-demo__data { border-radius: 0; border: 0; border-top: var(--art-rule); padding: 1.5rem clamp(1rem, 3vw, 2.5rem); box-shadow: none; }
.budget-plate { margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: var(--border); }
.budget-plate .note-label { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.budget-plate .note-label strong { font: 600 2rem/1 var(--font-display); letter-spacing: -.03em; }
.example-budget { display: flex; height: 3rem; border: 1px solid var(--colour-green); }
.example-budget__products { width: 48.269230769%; background: var(--colour-green); }
.example-budget__setup { width: 5.153846154%; background: var(--colour-clay); }
.example-budget__keep { width: 46.576923077%; background: var(--colour-stone-soft); border-left: 2px solid var(--colour-surface); }
.budget-caption { display: flex; justify-content: space-between; gap: 1rem; margin: .75rem 0 0; font-size: .875rem; }
.budget-caption span { display: flex; gap: .5rem; align-items: baseline; }
.budget-caption i { display: inline-block; width: .75rem; height: .75rem; flex: 0 0 auto; }
.key-products { background: var(--colour-green); }
.key-setup { background: var(--colour-clay); }
.key-keep { background: var(--colour-stone-soft); border: 1px solid var(--colour-muted); }
body .allocation__track { border-radius: 0; height: .3rem; }
body .allocation__fill { border-radius: 0; }
body .plan-totals { grid-template-columns: 1fr; margin-top: 2rem; }
body .plan-totals div, body .plan-totals div:nth-child(even), body .plan-totals div:nth-child(odd) { padding-inline: 0; border-left: 0; }
body .plan-totals .plan-totals__keep { padding: 1rem; margin-inline: -1rem; background: var(--colour-stone-soft); }
.plan-demo__intro .guidance { padding: 1rem 1.25rem; border-left: 3px solid var(--colour-green); background: var(--colour-surface); }
.plan-demo__intro .guidance:last-child { border-left-color: var(--colour-clay); background: none; }
body .priorities { gap: 2rem 4rem; }
.timing-ribbon { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.timing-ribbon li { display: flex; gap: 1rem; padding-top: 1.25rem; border-top: 3px solid var(--colour-green); }
.timing-ribbon .timing-soon { border-color: var(--colour-clay); }
.timing-ribbon .timing-wait { border-top-style: dashed; border-color: var(--colour-muted); }
.timing-ribbon strong, .timing-ribbon div > span { display: block; }
.timing-ribbon strong { margin-bottom: .4rem; font-family: var(--font-display); font-size: 1.6rem; }
.timing-ribbon div > span { color: var(--colour-muted); }
.timing-first .planning-stamp { color: var(--colour-green); }
.timing-wait .planning-stamp { color: var(--colour-muted); }
body .section--green { background: var(--colour-green-dark); }
body .section--green .section-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); max-width: none; gap: .5rem 4rem; align-items: end; }
.section--green .section-heading .eyebrow { grid-column: 1 / -1; }
body .section--green h2 { max-width: 25ch; margin-bottom: 0; }
body .choice-grid { gap: 0; border-top: 1px solid #759183; }
body .choice { min-height: 0; padding: 2rem; border: 0; border-radius: 0; background: none; box-shadow: none; }
body .choice:first-child { padding-left: 0; }
body .choice:last-child { padding-right: 0; }
body .choice--best { padding: 2rem; transform: none; background: var(--colour-surface); color: var(--colour-charcoal); border-top: 4px solid var(--colour-clay); margin-top: -4px; }
body .choice--best .choice__label { color: var(--colour-clay); }
body .choice--best p:last-child { color: var(--colour-muted); }
body .choice__price { font-size: 3rem; }
body .trust-line { max-width: none; border-top: 1px solid #759183; padding-top: 1.25rem; }
body .wait-section { text-align: left; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: .5rem 4rem; max-width: var(--shell-width); align-items: end; }
.wait-section .eyebrow { grid-column: 1 / -1; }
body .wait-section h2, body .wait-section .lead { margin: 0; }
body .principles li::before { width: .65rem; height: .65rem; border-radius: 0; border: 0; background: var(--colour-green); }
body .closing-cta { padding-block: clamp(3rem,6vw,5rem); }
body .closing-cta h2 { max-width: 25ch; font-size: clamp(2.4rem,4vw,3.6rem); }
body .site-footer { border-top: .5rem solid var(--colour-clay); background: var(--colour-green-dark); }
/* Working pages: quiet, legible planning sheets, shared timing/decision marks. */
body .questionnaire-main { padding-block: 2.5rem 5rem; }
body .questionnaire-intro { max-width: 48rem; margin-bottom: 1.5rem; }
body .questionnaire-intro h1 { max-width: 27ch; font-size: clamp(2.1rem,4vw,3.2rem); line-height: 1.1; }
body .questionnaire-intro .lead { font-size: 1.125rem; }
body .wizard-progress { margin-block: 1.5rem; }
body .wizard-progress progress { border-radius: 0; height: .45rem; }
body .wizard-step { border-radius: 0; border: 0; border-top: var(--art-rule); box-shadow: none; }
body .wizard-step h2 { font-size: 2.25rem; }
body .inventory-progress { border-radius: 0; border: 0; border-left: 3px solid var(--colour-green); }
body .inventory-progress progress { border-radius: 0; appearance: none; }
body .inventory-progress progress::-webkit-progress-value { background: var(--colour-green); }
body .inventory-progress progress::-moz-progress-bar { background: var(--colour-green); }
body .inventory-group { border-radius: 0; }
body .plan-heading, body .category-heading { padding-block: clamp(2.5rem,5vw,4rem); }
body .plan-heading h1, body .category-heading h1 { max-width: 20ch; font-size: clamp(2.5rem,4.7vw,4rem); line-height: 1.08; }
body .plan-heading .lead { max-width: 48ch; font-size: 1.2rem; }
body .budget-section, body .plan-section, body .tradeoffs-section, body .friction-section, body .save-section, body .covered-section, body .next-section, body .needs-section, body .recommendations-section { padding-block: clamp(2.5rem,5vw,4.5rem); }
body .budget-section h2, body .plan-section h2, body .tradeoffs-section h2, body .friction-section h2, body .next-section h2 { max-width: 26ch; font-size: clamp(2rem,3.6vw,3rem); }
body .budget-bar { border-radius: 0; min-height: 2rem; }
body .budget-breakdown div { position: relative; padding-top: .75rem; }
body .budget-breakdown div::before { content: ''; display: block; width: 1.5rem; height: .3rem; background: var(--colour-green); margin-bottom: .6rem; }
body .budget-breakdown div:nth-child(2)::before { background: var(--colour-clay); }
body .budget-breakdown div:nth-child(3)::before { background: #d9ae53; }
body .budget-breakdown div:nth-child(4)::before { background: var(--colour-stone); }
body .timing-group { border-color: var(--colour-green); scroll-margin-top: 6rem; }
body .timing-group--buy_soon { border-color: var(--colour-clay); }
body .timing-group--can_wait { border-radius: 0; border: 0; border-top: 3px dashed var(--colour-muted); padding: 0; background: none; }
body .timing-group__heading h3::before { display: inline-grid; place-content: center; content: '1'; margin-right: .75rem; width: 2.25rem; height: 2.25rem; font: 600 1.4rem var(--font-display); border: 1px solid var(--colour-green); color: var(--colour-green); vertical-align: .1em; }
body .timing-group--buy_soon .timing-group__heading h3::before { content: '2'; color: var(--colour-clay); border-color: currentColor; }
body .timing-group--can_wait .timing-group__heading h3::before { content: '—'; color: var(--colour-muted); border-color: currentColor; }
body .allocation-row { border-radius: 0; }
body .allocation-row__reason { max-width: 75ch; }
body .route-label { border-radius: .15rem; background: none; }
body .tradeoff-grid > section { border-top: 3px solid var(--colour-green); padding-top: 1.25rem; }
body .tradeoff-grid > section + section { border-top-color: var(--colour-clay); border-left: 0; padding-left: 0; }
body .washing-handoff, body .plan-budget, body .known-answer, body .data-notice, body .recommendation-trust { border-radius: 0; box-shadow: none; }
body .recommendation-card { border-radius: 0; box-shadow: none; border: 0; border-top: 2px solid var(--colour-stone); padding: 1.5rem 0; }
body .recommendation-card--best_fit { border: 0; border-top: 4px solid var(--colour-green); padding: 1.5rem; background: var(--colour-surface); }
body .recommendation-card--stretch { border-top-color: var(--colour-clay); }
body .recommendation-card h3 { font-size: clamp(1.75rem, 2.5vw, 2rem); line-height: 1.15; }
body .catalogue-outcome { border-radius: 0; border: 0; border-top: 3px solid var(--colour-clay); }
body .recommendation-card--best_fit::before { display: none; }
body .results-status, body .category-status, body .scope-page__main { min-height: 65vh; padding-block: clamp(3rem,7vw,5rem); }
body .results-status h1, body .category-status h1, body .scope-page__main h1 { max-width: 22ch; font-size: clamp(2.25rem,4.5vw,3.75rem); line-height: 1.1; }
body .results-status .lead, body .category-status .lead, body .scope-page__main .lead { max-width: 58ch; }
@media (max-width: 64rem) {
  body .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body .steps li, body .steps li:nth-child(odd), body .steps li:nth-child(even) { padding: 1.5rem; border-bottom: var(--border); }
  body .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  body .steps li:nth-child(even) { padding-right: 0; }
  .step-diagram { max-width: 15rem; }
}
@media (max-width: 52rem) {
  body .hero { padding-block: 2rem 2.5rem; }
  body .hero__grid { grid-template-columns: 1fr; gap: 1rem; }
  body .hero__content h1 { max-width: 24ch; font-size: clamp(2.4rem,6.5vw,3.5rem); text-wrap: pretty; }
  body .hero__content .lead { max-width: 55ch; }
  body .hero-outcome-line { display: none; }
  body .hero-photo { width: min(100%, 32rem); height: auto; margin: 1.25rem auto 0; }
  body .hero-photo img { height: clamp(13rem,52vw,16rem); flex: none; object-position: 50% 45%; }
  body .hero-photo::before { inset: -.65rem -.65rem 1rem 1rem; }
  body .hero-photo figcaption { margin: -1.5rem 0 0 -.5rem; padding: .75rem 1rem; font-size: .9rem; }
  .hero-photo figcaption strong { font-size: 1.3rem; }
  .problem-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .needs-note { padding: 1.25rem; }
  body .plan-demo { grid-template-columns: 1fr; }
  body .section--green .section-heading, body .wait-section { grid-template-columns: 1fr; gap: .75rem; }
  body .choice-grid { grid-template-columns: 1fr; }
  body .choice, body .choice:first-child, body .choice:last-child { padding: 1.5rem 0; }
  body .choice + .choice { border-top: 1px solid #759183; }
  body .choice--best { padding: 1.5rem; margin-inline: 0; margin-top: 0; }
  .timing-ribbon { gap: 1rem; }
  .timing-ribbon li { display: block; }
  .timing-ribbon .planning-stamp { margin-bottom: .75rem; }
}
@media (max-width: 34rem) {
  body .hero__content h1 { font-size: clamp(2.1rem,8.5vw,2.8rem); line-height: 1.09; }
  body .hero__content .button-row { gap: .5rem; }
  body .hero__content .button-row .text-link { text-align: left; min-height: 2.75rem; }
  body .hero-photo::before { right: 0; }
  body .steps { grid-template-columns: 1fr; }
  body .steps li, body .steps li:nth-child(odd), body .steps li:nth-child(even) { padding: 1.25rem 0; border-left: 0; }
  body .steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem 1rem; }
  .step-number { grid-column: 1; grid-row: 1 / 3; }
  .step-diagram { grid-column: 2; height: 4rem; margin-bottom: .75rem; max-width: 14rem; }
  .steps li > div:last-child { grid-column: 2; }
  .timing-ribbon { grid-template-columns: 1fr; }
  .timing-ribbon li { display: flex; gap: 1rem; }
  .timing-ribbon .planning-stamp { margin: 0; }
  .timing-ribbon strong { font-size: 1.4rem; }
  .budget-caption { flex-direction: column; gap: .4rem; }
  body .questionnaire-main { padding-top: 1.5rem; }
  body .questionnaire-intro h1 { font-size: 1.75rem; }
  body .questionnaire-intro .lead { font-size: 1rem; }
  body .wizard-step { padding: 1.25rem; }
  body .inventory-group summary { flex-direction: column; align-items: flex-start; gap: .35rem; padding-right: 1.5rem; }
  body .inventory-group summary small { text-align: left; }
  body .timing-group--can_wait { margin-inline: 0; }
  body .budget-breakdown { grid-template-columns: 1fr; }
  body .budget-breakdown div, body .budget-breakdown div:nth-child(even) { padding: .75rem 0; border-left: 0; display: grid; grid-template-columns: 1.5rem minmax(0,1fr) auto; align-items: baseline; gap: .75rem; }
  body .budget-breakdown div::before { margin: 0; }
  body .budget-breakdown dd { font-size: 1.25rem; }
  body .recommendation-card--best_fit { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
@media print { .hero-photo figcaption { margin: 0; } .hero-photo::before { display: none; } }
