/* Reinhold Holdings. Stone, slate, mustard, brick. Big Shoulders Display for display, Libre Franklin for everything else. */
:root {
  --ground: #E9E6DF;
  --sheet: #F6F4F0;
  --slate: #26313B;
  --text: #26313B;
  --text-2: #4F5A63;
  --rule: #CDC8BD;
  --rule-firm: #857F73;
  --mustard: #C2922A;
  --on-mustard: #26313B;
  --brick: #8E3B2E;
  --brick-text: #8E3B2E;
  --on-brick: #F6F4F0;
  --act: #26313B;
  --on-act: #F6F4F0;
  --act-hover: #1B242C;
  --block-slate: #26313B;
  --on-block-slate: #F6F4F0;
  --block-stone: #D6D1C6;
  --block-steel: #5B6772;
  --on-block-steel: #F6F4F0;
  --band: #26313B;
  --on-band: #E9E6DF;
  --on-band-2: #BCC3C9;
  --focus: #26313B;
  --field: #FFFFFF;
  --lift: 0 10px 22px -14px rgba(38, 49, 59, .45);
  --r: 7px;
  --gutter: clamp(16px, 4vw, 48px);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #1A2128; --sheet: #222B33; --slate: #10161B; --text: #E9E6DF; --text-2: #AAB3BA;
    --rule: #3A4550; --rule-firm: #76828C; --mustard: #D9A93F; --on-mustard: #1A2128;
    --brick: #8E3B2E; --brick-text: #E8927F; --on-brick: #F6F4F0;
    --act: #E9E6DF; --on-act: #1A2128; --act-hover: #FFFFFF;
    --block-slate: #3A4753; --on-block-slate: #F6F4F0; --block-stone: #2C363F; --block-steel: #55626D; --on-block-steel: #F6F4F0;
    --band: #10161B; --on-band: #E9E6DF; --on-band-2: #AAB3BA; --focus: #E9E6DF; --field: #1A2128;
    --lift: 0 10px 22px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #1A2128; --sheet: #222B33; --slate: #10161B; --text: #E9E6DF; --text-2: #AAB3BA;
  --rule: #3A4550; --rule-firm: #76828C; --mustard: #D9A93F; --on-mustard: #1A2128;
  --brick: #8E3B2E; --brick-text: #E8927F; --on-brick: #F6F4F0;
  --act: #E9E6DF; --on-act: #1A2128; --act-hover: #FFFFFF;
  --block-slate: #3A4753; --on-block-slate: #F6F4F0; --block-stone: #2C363F; --block-steel: #55626D; --on-block-steel: #F6F4F0;
  --band: #10161B; --on-band: #E9E6DF; --on-band-2: #AAB3BA; --focus: #E9E6DF; --field: #1A2128;
  --lift: 0 10px 22px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font: 400 17px/1.6 var(--body); overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(46px, 7.2vw, 92px); }
h2 { font-size: clamp(36px, 4.6vw, 60px); }
h3 { font-size: 25px; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1em; }
.frame { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.jump { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--act); color: var(--on-act); padding: 10px 16px; border-radius: 999px; }
.jump:focus { left: 16px; }
.quiet-text { color: var(--text-2); }
.fine { font-size: 14px; color: var(--text-2); }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--act);
  background: var(--act); color: var(--on-act); font: 600 16px/1 var(--body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--lift); background: var(--act-hover); border-color: var(--act-hover); text-decoration: none; }
.pill:active { transform: translateY(0); box-shadow: none; }
.pill.line { background: transparent; color: var(--text); border-color: var(--rule-firm); }
.pill.line:hover { border-color: var(--text); background: var(--sheet); }
.pill.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.pill[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.textbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: var(--sheet); border-bottom: 1px solid var(--rule); }
.bar .frame { display: flex; align-items: center; gap: 20px; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; flex: none; }
.mark svg { width: 34px; height: 30px; flex: none; }
.mark b { font: 800 25px/1 var(--display); letter-spacing: .01em; }
.mark:hover { text-decoration: none; }
.links { display: none; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.links a:hover { border-bottom-color: var(--mustard); }
.bar-cta { margin-left: auto; }
.links + .bar-cta { margin-left: 0; }
.scheme {
  flex: none; width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--rule-firm);
  background: transparent; color: var(--text); display: inline-grid; place-items: center; cursor: pointer;
}
.scheme:hover { border-color: var(--text); }
.scheme svg { width: 20px; height: 20px; }
.scheme .sun { display: none; }
:root[data-theme="dark"] .scheme .sun { display: block; }
:root[data-theme="dark"] .scheme .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .scheme .sun { display: block; }
  :root:not([data-theme="light"]) .scheme .moon { display: none; }
}
@media (max-width: 559px) {
  .bar .bar-cta { display: none; }
  .bar .scheme { margin-left: auto; }
  .mark b { font-size: 23px; }
}
@media (min-width: 980px) { .links { display: flex; } }

/* ---------- hero ---------- */
.opening { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px); }
.opening .frame { display: grid; gap: clamp(36px, 5vw, 72px); align-items: end; }
@media (min-width: 960px) { .opening .frame { grid-template-columns: 1.05fr 1fr; } }
.opening h1 { max-width: 13ch; }
.opening .lede { font-size: clamp(18px, 1.6vw, 20px); max-width: 36em; margin-top: 24px; color: var(--text); }
.do { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.givens { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 500; }
.givens li { display: flex; align-items: center; gap: 10px; }
.givens li::before { content: ""; width: 10px; height: 10px; background: var(--mustard); border-radius: 2px; flex: none; }

/* the stack: six asset types as blocks resting on a plinth */
.stack-wrap { margin: 0; }
.stack {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(12, 30px) 46px;
  gap: 6px; list-style: none; margin: 0; padding: 0;
}
.stack li { display: flex; min-width: 0; }
.blk {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-width: 0;
  padding: 12px 14px; border-radius: var(--r); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.blk:hover { transform: translateY(-2px); box-shadow: var(--lift); text-decoration: none; }
.blk strong { font: 700 22px/1 var(--display); letter-spacing: .01em; }
.blk span { font-size: 13px; line-height: 1.35; }
.blk.slate { background: var(--block-slate); color: var(--on-block-slate); }
.blk.mustard { background: var(--mustard); color: var(--on-mustard); }
.blk.stone { background: var(--block-stone); color: var(--text); }
.blk.steel { background: var(--block-steel); color: var(--on-block-steel); }
.blk.open { background: var(--sheet); color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.stack .s-web { grid-column: 1 / 4; grid-row: 6 / 13; }
.stack .s-dom { grid-column: 2 / 4; grid-row: 3 / 6; }
.stack .s-news { grid-column: 4 / 6; grid-row: 2 / 8; }
.stack .s-saas { grid-column: 4 / 6; grid-row: 8 / 13; }
.stack .s-comm { grid-column: 6 / 8; grid-row: 5 / 9; }
.stack .s-shop { grid-column: 6 / 8; grid-row: 9 / 13; }
.stack .s-base { grid-column: 1 / 8; grid-row: 13 / 14; }
.plinth {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--text); color: var(--ground); border-radius: var(--r); padding: 0 16px;
  font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden;
}
.plinth em { font-style: normal; font-weight: 400; opacity: .9; }
.stack-wrap figcaption { margin-top: 12px; font-size: 14px; color: var(--text-2); }
@media (max-width: 599px) {
  .stack { grid-template-rows: repeat(12, 24px) 42px; gap: 5px; }
  .blk { padding: 9px 10px; }
  .blk strong { font-size: 19px; }
  .blk span { display: none; }
  .plinth em { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .stack.is-ready li { animation: settle .55s cubic-bezier(.2, .8, .2, 1) both; }
  .stack.is-ready .s-base { animation-delay: 0s; }
  .stack.is-ready .s-web { animation-delay: .08s; }
  .stack.is-ready .s-saas { animation-delay: .14s; }
  .stack.is-ready .s-shop { animation-delay: .2s; }
  .stack.is-ready .s-comm { animation-delay: .28s; }
  .stack.is-ready .s-news { animation-delay: .34s; }
  .stack.is-ready .s-dom { animation-delay: .42s; }
}
@keyframes settle { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.part { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--rule); }
.part.alt { background: var(--sheet); }
.lead-in { display: grid; gap: 14px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.lead-in p { max-width: 40em; margin: 0; font-size: 18px; color: var(--text-2); }
@media (min-width: 900px) { .lead-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }

/* what we buy */
.holdings { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.holding {
  background: var(--sheet); border: 1px solid var(--rule); border-top: 6px solid var(--text); border-radius: var(--r);
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px;
}
.part.alt .holding { background: var(--ground); }
.holding .glyph { width: 42px; height: 34px; }
.holding p { margin: 0; }
.holding .check-first { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--rule-firm); font-size: 14px; color: var(--text-2); }
.holding .check-first b { color: var(--text); font-weight: 600; }
.holding:target { box-shadow: 0 0 0 3px var(--mustard); }

/* how the price is set */
.pricing { display: grid; gap: 40px; }
@media (min-width: 1000px) { .pricing { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.start-line { font: 800 clamp(40px, 5vw, 64px)/1 var(--display); margin: 0 0 14px; }
.ruler { margin: 26px 0 10px; }
.ruler-track { position: relative; height: 22px; background: var(--block-stone); border-radius: 4px; }
.ruler-base { position: absolute; top: 0; bottom: 0; left: 33.333%; width: 33.333%; background: var(--mustard); border-radius: 3px; }
.ruler-marks { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-top: 8px; }
.ruler-caption { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.worked { margin-top: 26px; padding: 18px 20px; background: var(--sheet); border-radius: var(--r); border-left: 6px solid var(--mustard); }
.part.alt .worked { background: var(--ground); }
.worked p { margin: 0; }
.worked strong { font: 800 26px/1.1 var(--display); display: block; margin-top: 6px; }
.movers { display: grid; gap: 28px; }
@media (min-width: 640px) { .movers { grid-template-columns: 1fr 1fr; } }
.movers h3 { margin-bottom: 14px; }
.moves { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.moves li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; font-size: 15px; line-height: 1.4; }
.moves .meter { grid-column: 1 / -1; height: 10px; border-radius: 2px; background: var(--block-stone); overflow: hidden; }
.moves .meter i { display: block; height: 100%; border-radius: 2px; }
.moves.up .meter i { background: var(--mustard); }
.moves.down .meter i { background: var(--brick); }
.amt { font: 700 15px/1 var(--body); padding: 5px 9px; border-radius: 4px; white-space: nowrap; }
.amt.plus { background: var(--mustard); color: var(--on-mustard); }
.amt.minus { background: var(--brick); color: var(--on-brick); }

/* process checklist */
.runbook { display: grid; gap: 28px; }
@media (min-width: 960px) { .runbook { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } .runbook .lead-in { display: block; } .runbook .lead-in p { margin-top: 18px; } }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.checklist li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.checklist .tick { width: 30px; height: 30px; border-radius: 5px; background: var(--mustard); color: var(--on-mustard); display: grid; place-items: center; grid-row: 1 / 3; }
.checklist .tick svg { width: 18px; height: 18px; }
.checklist .head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.checklist .span { font: 700 18px/1 var(--display); letter-spacing: .02em; background: var(--text); color: var(--ground); padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.checklist p { margin: 4px 0 0; color: var(--text-2); max-width: 44em; }
.checklist .total { grid-template-columns: 34px minmax(0, 1fr); border-bottom: 2px solid var(--text); font-weight: 600; }
.checklist .total .tick { background: transparent; box-shadow: inset 0 0 0 2px var(--text); color: var(--text); }

/* private sale */
.twin { display: grid; gap: 16px; }
@media (min-width: 860px) { .twin { grid-template-columns: 1fr 1fr; } }
.slab { border-radius: var(--r); padding: clamp(22px, 3vw, 34px); }
.slab h3 { margin-bottom: 16px; }
.slab ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.slab li { position: relative; padding-left: 26px; }
.slab li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; border-radius: 2px; }
.slab.light { background: var(--sheet); border: 1px solid var(--rule); }
.part.alt .slab.light { background: var(--ground); }
.slab.light li::before { background: var(--mustard); }
.slab.dark { background: var(--block-slate); color: var(--on-block-slate); }
.slab.dark li::before { background: transparent; box-shadow: inset 0 0 0 2px var(--mustard); }
.slab.dark li::after { content: ""; position: absolute; left: 3px; top: calc(.5em + 4.5px); width: 5px; height: 2px; background: var(--mustard); }

/* fit */
.fitgrid { display: grid; gap: 0; border: 2px solid var(--text); border-radius: var(--r); overflow: hidden; }
@media (min-width: 860px) { .fitgrid { grid-template-columns: 1fr 1fr; } .fitgrid > div + div { border-left: 2px solid var(--text); } }
@media (max-width: 859px) { .fitgrid > div + div { border-top: 2px solid var(--text); } }
.fitgrid > div { padding: clamp(20px, 3vw, 30px); background: var(--sheet); }
.part.alt .fitgrid > div { background: var(--ground); }
.fitgrid h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fitgrid h3::before { content: ""; width: 18px; height: 18px; border-radius: 3px; flex: none; }
.fitgrid .yes h3::before { background: var(--mustard); }
.fitgrid .no h3::before { background: var(--brick); }
.fitgrid ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.fitgrid li::marker { color: var(--text-2); }

/* questions: index on the left, answers on the right */
.qa { display: grid; gap: 32px; }
@media (min-width: 900px) { .qa { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; } .q-index { position: sticky; top: 96px; align-self: start; } }
.q-index h3 { font-size: 20px; margin-bottom: 10px; }
.q-index ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.q-index li { border-bottom: 1px solid var(--rule); }
.q-index a { display: block; padding: 11px 0 11px 14px; text-decoration: none; font-size: 15px; font-weight: 500; border-left: 4px solid transparent; }
.q-index a:hover, .q-index a.is-here { border-left-color: var(--mustard); text-decoration: none; }
.answers { display: grid; gap: 0; }
.answer { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.answer:first-child { padding-top: 0; }
.answer h3 { font-size: 27px; margin-bottom: 10px; }
.answer p { margin: 0; max-width: 42em; }
.answer:target h3 { box-shadow: inset 0 -8px 0 var(--mustard); display: inline; }

/* contact */
.reach { display: grid; gap: 20px; align-items: start; }
@media (min-width: 980px) { .reach { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; } }
.formsheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.part.alt .formsheet { background: var(--ground); }
.nameplate { border-radius: var(--r); overflow: hidden; border: 2px solid var(--text); background: var(--sheet); }
.nameplate .plate-top { background: var(--mustard); color: var(--on-mustard); padding: 22px 24px 18px; }
.nameplate .plate-top h3 { font-size: 34px; }
.nameplate .plate-top p { margin: 6px 0 0; font-weight: 600; }
.nameplate .plate-body { padding: 20px 24px 24px; }
.nameplate dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0 0 20px; }
.nameplate dt { color: var(--text-2); font-size: 15px; }
.nameplate dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.nameplate .do { margin-top: 0; }

/* fields (shared by contact form and the tool) */
.pair { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .pair { grid-template-columns: 1fr 1fr; align-items: start; } }
.fld { margin-bottom: 18px; min-width: 0; }
.fld > label, .fld .lab { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.fld .sub { display: block; font-weight: 400; font-size: 14px; color: var(--text-2); margin-top: 2px; }
.optional { font-weight: 400; color: var(--text-2); font-size: 14px; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 6px; border: 1.5px solid var(--rule-firm);
  background: var(--field); color: var(--text); font: 400 16px/1.4 var(--body);
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--text); }
.fld[aria-invalid="true"] input, .fld[aria-invalid="true"] textarea, .fld[aria-invalid="true"] select { border-color: var(--brick-text); border-width: 2px; }
.msg { color: var(--brick-text); font-size: 14px; font-weight: 600; margin-top: 6px; }
.msg:empty { display: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.agree { border-top: 1px solid var(--rule); padding-top: 18px; margin: 6px 0 20px; }
.agree p { font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.tickbox { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15px; cursor: pointer; }
.tickbox input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--text); }
.note-line { margin-top: 14px; font-weight: 600; }
.note-line:empty { display: none; }
.note-line.bad { color: var(--brick-text); }

/* ---------- footer: one solid slate band ---------- */
.base-band { background: var(--band); color: var(--on-band); padding: 44px 0 36px; margin-top: 0; }
.base-band .frame { display: grid; gap: 22px; }
@media (min-width: 860px) { .base-band .frame { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.base-band .mark b { color: var(--on-band); }
.base-band .tagline { margin: 10px 0 0; color: var(--on-band-2); }
.base-band nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.base-band nav a { color: var(--on-band); font-weight: 500; }
.base-band .legal-line { grid-column: 1 / -1; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid rgba(233, 230, 223, .22); font-size: 14px; color: var(--on-band-2); }
.base-band :focus-visible { outline-color: var(--on-band); }

/* ---------- legal pages and 404 ---------- */
.doc { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.doc .frame { max-width: 880px; }
.doc h1 { font-size: clamp(44px, 6vw, 72px); }
.doc .stamp { color: var(--text-2); font-size: 15px; margin: 14px 0 6px; }
.doc .intro { font-size: 19px; margin: 10px 0 30px; }
.doc h2 { font-size: clamp(28px, 3vw, 36px); margin: 36px 0 12px; padding-top: 18px; border-top: 2px solid var(--text); }
.lost { padding: clamp(56px, 9vw, 120px) 0; }
.lost .frame { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .lost .frame { grid-template-columns: 1.2fr 1fr; } }
.fallen { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 34px); gap: 6px; }
.fallen i { border-radius: var(--r); }
.fallen .f1 { grid-column: 1 / 4; grid-row: 4 / 7; background: var(--block-slate); }
.fallen .f2 { grid-column: 4 / 6; grid-row: 5 / 7; background: var(--block-stone); }
.fallen .f3 { grid-column: 5 / 7; grid-row: 2 / 4; background: var(--mustard); transform: rotate(9deg); }
.fallen .f4 { grid-column: 6 / 7; grid-row: 6 / 7; background: var(--brick); }

/* ---------- valuation tool ---------- */
.tool { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 6vw, 88px); }
.tool-top { display: grid; gap: 10px 40px; margin-bottom: 26px; }
@media (min-width: 980px) { .tool-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.tool-top h1 { font-size: clamp(42px, 5.6vw, 72px); overflow-wrap: anywhere; }
.tool-top .lede { margin: 12px 0 0; font-size: 18px; max-width: 38em; }
.kept { font-size: 14px; color: var(--text-2); margin: 0; }
.tool-cols { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1040px) { .tool-cols { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; } .live-col { position: sticky; top: 88px; } }
.is-done .live-col { display: none; }
.is-done .tool-cols { grid-template-columns: minmax(0, 1fr); }

.tabrow { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 0 0; overflow-x: auto; scrollbar-width: thin; border-bottom: 2px solid var(--text); scroll-snap-type: x proximity; }
.tabrow li { flex: 1 0 auto; scroll-snap-align: start; }
.tabrow button {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border: 0; border-radius: 6px 6px 0 0; background: var(--block-stone); color: var(--text); white-space: nowrap;
  font: 600 15px/1 var(--body); cursor: pointer;
}
.tabrow button:hover { background: var(--rule); }
.tabrow button[aria-current="step"] { background: var(--text); color: var(--ground); }
.tabrow .t-mark { width: 16px; height: 16px; flex: none; border-radius: 3px; box-shadow: inset 0 0 0 2px currentColor; display: grid; place-items: center; }
.tabrow .t-mark svg { width: 12px; height: 12px; display: none; }
.tabrow .is-past .t-mark { background: var(--mustard); box-shadow: none; color: var(--on-mustard); }
.tabrow .is-past .t-mark svg { display: block; }
.tabrow button:focus-visible { outline-offset: -3px; }

.worksheet { background: var(--sheet); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--r) var(--r); padding: clamp(20px, 3vw, 34px); }
.worksheet fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.worksheet legend { padding: 0; margin-bottom: 18px; }
.worksheet legend h2 { font-size: clamp(32px, 3.4vw, 44px); }
.section-note { color: var(--text-2); margin: -6px 0 18px; font-size: 15px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--rule-firm); background: var(--field);
  color: var(--text); font: 500 15px/1.2 var(--body); cursor: pointer; white-space: nowrap; transition: transform .12s ease;
}
.pick:hover { border-color: var(--text); transform: translateY(-1px); }
.pick[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--ground); }
.pick[aria-pressed="true"]::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--mustard); margin-right: 8px; vertical-align: 1px; }
.splits { display: grid; gap: 10px; margin-top: 14px; }
.splits:empty { display: none; }
.split-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px; grid-template-areas: "lab out" "rng rng"; gap: 4px 12px; align-items: center; padding: 10px 14px; border-radius: 6px; background: var(--ground); }
@media (min-width: 640px) { .split-row { grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) 56px; grid-template-areas: "lab rng out"; } }
.split-row label { grid-area: lab; font-size: 15px; font-weight: 500; }
.split-row input { grid-area: rng; width: 100%; accent-color: var(--text); min-height: 28px; }
.split-row output { grid-area: out; text-align: right; font: 700 18px/1 var(--display); }
.steps-nav { display: flex; gap: 12px; align-items: center; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--rule); }
.steps-nav .grow { margin-left: auto; }
.steps-nav:has(#prevBtn[hidden]) .grow { margin-left: 0; }
#formMsg { margin-top: 12px; }

.live { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px 20px 22px; }
.live-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.live-head h2 { font-size: 26px; }
.dial-box { width: 100%; }
.dial-svg { display: block; margin: 0 auto; max-width: none; }
.dial-track { stroke: var(--block-stone); }
.dial-base { stroke: var(--text-2); }
.dial-band { stroke: var(--mustard); }
.dial-tick { stroke: var(--rule-firm); stroke-width: 1.5; }
.dial-tick.major { stroke: var(--text); stroke-width: 2; }
.dial-scale { fill: var(--text); font: 600 12px var(--body); }
.dial-note { fill: var(--text-2); font: 500 12px var(--body); }
.dial-needle path { fill: var(--text); }
.dial-needle { transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.dial-needle.is-idle path { fill: var(--rule-firm); }
.dial-hub { fill: var(--text); }
.dial-read { fill: var(--text); font-family: var(--display); font-weight: 800; }
.dial-read.is-quiet { fill: var(--text-2); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .dial-needle { transition: none; } }
.range-out { text-align: center; font: 800 clamp(28px, 3vw, 34px)/1.05 var(--display); margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.range-out.is-empty { font: 600 16px/1.4 var(--body); color: var(--text-2); }
.basis { text-align: center; font-size: 14px; color: var(--text-2); margin: 0 0 14px; }
.basis:empty { display: none; }
.live h3, .outcome h3 { font-size: 21px; margin: 18px 0 10px; }
.moved { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.moved li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.35; font-weight: 600; }
.moved li .amt { text-align: center; }
.moved li small { display: block; font-weight: 400; font-size: 14px; color: var(--text-2); margin-top: 2px; }
.moved li.none, .levers li.none { display: block; font-weight: 400; color: var(--text-2); font-size: 15px; }
.levers { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.levers li.none { list-style: none; margin-left: -20px; }
.caveat { font-size: 14px; color: var(--text-2); margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }

.pocket { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--gutter); background: var(--text); color: var(--ground); text-decoration: none; font-size: 15px; font-weight: 500; }
.pocket strong { font: 800 22px/1 var(--display); white-space: nowrap; }
.pocket:hover { text-decoration: none; }
.pocket:focus-visible { outline-offset: -4px; outline-color: var(--ground); }
body.has-pocket { padding-bottom: 60px; }
@media (min-width: 1040px) { .pocket { display: none; } body.has-pocket { padding-bottom: 0; } }
.is-done .pocket { display: none; }

.outcome { background: var(--sheet); border: 2px solid var(--text); border-radius: var(--r); padding: clamp(20px, 3.5vw, 40px); }
.outcome:focus { outline: none; }
.outcome-grid { display: grid; gap: 24px 40px; }
@media (min-width: 900px) { .outcome-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.outcome h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 8px; }
.outcome .range-out { font-size: clamp(36px, 5vw, 56px); }
.outcome .basis { font-size: 15px; }
.status { padding: 14px 16px; border-radius: 6px; background: var(--ground); border-left: 6px solid var(--mustard); font-weight: 600; margin: 16px 0; }
.status.warn { border-left-color: var(--brick); }
.outcome .do { margin-top: 18px; }
.answers-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.answers-table caption { text-align: left; font: 700 21px/1.1 var(--display); padding-bottom: 10px; }
.answers-table th, .answers-table td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.answers-table th { width: 40%; font-weight: 600; padding-right: 16px; color: var(--text-2); }
.answers-table td { overflow-wrap: anywhere; }

@media print {
  .bar, .tabrow, .worksheet, .live-col, .pocket, .base-band, .no-print, .outcome .do, .jump { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; padding: 0 !important; }
  .outcome { border: 0; padding: 0; background: #fff; }
  .outcome-grid { display: block; }
  .dial-box { max-width: 420px; margin: 0 auto; }
  .print-head { display: block !important; font: 800 22pt/1 var(--display); margin-bottom: 12pt; }
  .answers-table th, .answers-table td { border-color: #bbb; color: #000; }
  .status { border: 1px solid #999; background: #fff; }
  a { text-decoration: none; }
}
.print-head { display: none; }
.mark .m-mid { fill: var(--mustard); }
body.is-done.has-pocket { padding-bottom: 0; }
.tool-cols { grid-template-columns: minmax(0, 1fr); }
.tool-cols > * { min-width: 0; }
@media (min-width: 1040px) { .tool-cols { grid-template-columns: minmax(0, 1fr) 400px; } .is-done .tool-cols { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1100px) { .stack { grid-template-rows: repeat(12, 38px) 50px; gap: 7px; } }
.tabrow .t-mark { box-shadow: none; background: currentColor; opacity: .4; width: 10px; height: 10px; border-radius: 2px; }
.tabrow .is-past .t-mark { opacity: 1; width: 16px; height: 16px; border-radius: 3px; }
@media (max-width: 599px) { .blk { padding: 8px 8px; } .blk strong { font-size: 17px; letter-spacing: 0; } }
@media (max-width: 419px) { .blk { padding: 7px 6px; } .blk strong { font-size: 15px; } }
