.service-cover {
  background: #1c211f;
  color: #faf8f3;
}
.service-cover-inner {
  width: min(1420px, 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding-block: clamp(2.5rem, 4.6vw, 5rem);
}
.service-cover .eyebrow { color: #e6c6aa; margin-bottom: 1.15rem; }
.service-cover h1 {
  font: 550 clamp(3rem, 5.35vw, 5rem)/1.06 var(--body);
  letter-spacing: -.063em;
  text-wrap: initial;
}
.service-cover h1 em { display: inline-block; max-width: 100%; color: #ff9873; font-style: normal; }
.service-cover-copy > p:not(.eyebrow) {
  max-width: 49ch;
  margin-block: 1.25rem 1.45rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: #ece9df;
}
.service-cover :focus-visible { outline-color: #ffd9b7; }
.service-cover-story { display: block; min-width: 0; }
.showcase-media img, .trade-card img, .trade-chapter-image img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  height: auto;
}
.service-story-title, .trade-evidence a, .service-operator .portrait-name {
  text-decoration: underline;
  text-underline-offset: .25em;
}
.service-story-title { color: #fff; text-decoration-thickness: 1px; text-decoration-color: #879087; }
.service-story-title:is(:hover,:focus-visible) { color: #ffbc99; text-decoration-color: currentColor; }
.motion-scene, .showcase-media { position: relative; aspect-ratio: 1672 / 941; isolation: isolate; }
.motion-scene > img, .showcase-media > img, .showcase-media > a > img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.motion-scene .motion-overlay, .motion-control { position: absolute; inset: 0; width: 100%; height: 100%; }
.motion-overlay { pointer-events: none; }
.motion-control { border: 0; padding: 0; background: transparent; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.motion-control:focus-visible { outline: 3px solid #ffb38c; outline-offset: -4px; }
.motion-cue {
  position: absolute; left: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .55rem;
  padding: .38rem .65rem; border-radius: 3px; background: #171a16ec; color: #fffaf1; font: 550 .8125rem/1.4 var(--body);
}
.motion-icon { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid #ffad7e; }
.motion-scene[data-playing] .motion-icon { background: #ffad7e; border: 0; width: 8px; height: 8px; }
.showcase { min-width: 0; }
.showcase-case-image { display: block; height: 100%; }
.showcase-art-note {
  position: absolute; bottom: .75rem; left: .75rem; padding: .36rem .65rem; border-radius: 3px;
  background: #171a16ec; color: #fffaf1; font: 500 .8125rem/1.4 var(--body);
}
.case-illustration { bottom: auto; left: auto; top: .75rem; right: .75rem; pointer-events: none; }
.showcase-stage { position: relative; }
.showcase-slide[hidden], .showcase-controls[hidden], .motion-control[hidden] { display: none; }
.showcase-slide figcaption { min-height: 5.2rem; padding: .8rem 0 .65rem; }
.showcase-kind { display: block; color: #e2bd9e; font: 550 .8125rem/1.4 var(--body); }
.service-story-title { display: inline-block; margin-top: .15rem; font-size: clamp(1.18rem, 1.9vw, 1.65rem); letter-spacing: -.025em; line-height: 1.28; }
.showcase-controls { display: flex; align-items: center; justify-content: space-between; gap: .45rem; border-top: 1px solid #566057; }
.showcase-pages { display: inline-flex; gap: clamp(.3rem, 1.2vw, 1.1rem); align-items: center; }
.showcase-controls button, .showcase-index summary {
  color: #f4f1e9; background: transparent; border: 0; min-height: 44px; padding: .35rem .25rem;
  font: 550 .875rem/1.4 var(--body); cursor: pointer;
}
.showcase-controls button:hover, .showcase-index a:hover { color: #ffbc99; text-decoration: underline; text-underline-offset: .2em; }
.showcase-count { color: #c0c9be; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.showcase-index ul { padding-left: 1.3rem; }
.showcase-index a { text-decoration: underline; }
.service-operator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 5%;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-block: 1.75rem;
}
.service-operator .alchemy-signature { margin: 0; }
.service-operator .portrait-stage { width: 76px; height: 76px; flex-basis: 76px; }
.service-operator .signature-location { margin: 0; }
.service-proof { border-left: 2px solid #c35127; padding-left: clamp(1.25rem, 3vw, 2.75rem); }
.service-proof p { line-height: 1.5; max-width: 52ch; }
.service-proof .text-link { font-size: .9375rem; }
.trade-index { padding-block: clamp(3rem, 5vw, 5.5rem); }
.trade-index-heading, .trade-next-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 8%;
}
.trade-index-heading h2, .trade-next-inner h2 {
  font-size: clamp(2.25rem, 3.7vw, 3.65rem);
  letter-spacing: -.055em;
  margin-top: .55rem;
}
.trade-index-heading p:not(.eyebrow), .trade-next-inner p:not(.eyebrow) {
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.65;
}
.trade-cards {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.trade-card, .trade-card-link { display: block; }
.trade-label {
  display: block;
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 600;
  color: #923c1d;
}
.trade-card .trade-label { margin-block: .8rem .3rem; }
.trade-card h3 { font-size: clamp(1.15rem, 1.65vw, 1.5rem); line-height: 1.22; }
.trade-card-link:is(:hover, :focus-visible) h3, .trade-jumps a:hover {
  text-decoration: underline;
  text-underline-offset: .18em;
}
.trade-guide-intro { padding-block: clamp(2rem, 4.5vw, 5rem) 0; }
.trade-guide-intro .expert-breadcrumb { margin-bottom: 1.2rem; }
.trade-guide-intro h1 {
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -.06em;
  max-width: 18ch;
  margin-block: .7rem 1.25rem;
}
.trade-guide-intro > p:not(.eyebrow) {
  max-width: 63ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}
.trade-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.75rem;
  margin-top: 1.7rem;
  padding-block: .7rem;
  border-block: 1px solid var(--line);
}
.trade-jumps a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-decoration-color: #a19a8d;
  text-underline-offset: .25em;
}
.trade-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(3rem, 5.5vw, 6rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: .5rem;
}
.trade-chapter:last-child { border-bottom: 0; }
.trade-chapter:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.trade-chapter:nth-child(even) .trade-chapter-image { grid-column: 2; grid-row: 1; }
.trade-chapter:nth-child(even) .trade-chapter-copy { grid-column: 1; grid-row: 1; }
.trade-chapter h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.05; margin-block: .6rem .9rem; }
.trade-moment { font-size: 1.125rem; line-height: 1.55; }
.trade-chapter dl { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.trade-chapter dt { font-size: 1rem; font-weight: 650; margin-block: 1rem .2rem; }
.trade-chapter dd { font-size: 1rem; color: var(--muted); line-height: 1.6; }
.trade-next { background: var(--soft); padding-block: clamp(3rem, 5.5vw, 6rem); }
.trade-next-inner { align-items: start; }
.trade-next .trade-evidence { margin-top: 1.1rem; font-size: .9375rem; }
@media (max-width: 900px) {
  .service-cover-inner { width: calc(100% - 48px); gap: 1.75rem; }
  .trade-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
}
@media (max-width: 760px) {
  .service-cover-inner { width: 100%; grid-template-columns: 1fr; padding-block: 2rem 0; gap: 1.65rem; }
  .service-cover-copy { width: calc(100% - 40px); max-width: 560px; margin-inline: auto; }
  .service-cover h1 { max-width: 15ch; font-size: clamp(2.55rem, 9.2vw, 4rem); }
  .service-cover .eyebrow { margin-bottom: .85rem; }
  .service-cover-copy > p:not(.eyebrow) { margin-block: .95rem 1.2rem; }
  .showcase-slide figcaption, .showcase-controls, .showcase-index { margin-inline: 20px; }
  .showcase-slide figcaption { min-height: 5.1rem; }
  .trade-index-heading, .trade-chapter, .trade-chapter:nth-child(even), .trade-next-inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .trade-chapter:nth-child(even) .trade-chapter-image, .trade-chapter:nth-child(even) .trade-chapter-copy { grid-column: auto; grid-row: auto; }
  .trade-chapter { padding-block: 2.65rem; }
  .trade-guide-intro .expert-breadcrumb { margin-bottom: .75rem; }
  .trade-jumps { gap: .1rem 1.2rem; }
}
@media (max-width: 620px) {
  .service-operator { grid-template-columns: 1fr; gap: 1.15rem; padding-block: 1.4rem; }
  .service-proof { padding-left: 1rem; }
  .trade-cards { column-gap: .85rem; }
  .trade-card h3 { font-size: 1.125rem; }
  .trade-index { padding-block: 2.65rem; }
}
@media (max-width: 360px) {
  .service-cover-copy { width: calc(100% - 32px); }
  .showcase-slide figcaption, .showcase-controls, .showcase-index { margin-inline: 16px; }
}

.shelf-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-top: 1.3rem; font-size: 1rem; text-decoration: underline; text-underline-offset: .23em; }
.story-shelf { padding-block: clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--line); }
.story-shelf h2 { margin: .6rem 0 1.5rem; font-size: clamp(2.4rem, 4vw, 3.65rem); }
.story-shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.story-collection-card { display: block; }
.story-collection-card img { width: 100%; height: auto; }
.story-collection-card h3 { margin: .7rem 0 .4rem; font-size: clamp(1.45rem, 2vw, 1.85rem); }
.story-collection-card:is(:hover,:focus-visible) h3 { text-decoration: underline; text-underline-offset: .16em; }
.trade-card-link h3, .story-collection-card h3 { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #aaa397; text-underline-offset: .2em; }
.story-collection-card p { line-height: 1.55; color: var(--muted); }
.scene-directory { margin-top: .8rem; border-top: 1px solid var(--line); }
.scene-directory summary, .scene-directory a { min-height: 44px; padding-block: .55rem; font-size: .95rem; }
.scene-directory summary { color: var(--ink); font-weight: 600; cursor: pointer; }
.scene-directory ul { list-style: none; padding: .2rem 0 0; margin: 0; }
.scene-directory a { display: block; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 680px) { .story-shelf-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

.opening-proof { display: block; width: fit-content; max-width: 100%; margin-top: 1.2rem; color: #faf8f1; text-decoration: none; border-left: 2px solid #ff9873; padding: .15rem 0 .15rem .8rem; }
.opening-proof strong, .opening-proof > span { display: block; }
.opening-proof > span { color: #efd3c1; font-size: .875rem; text-decoration: underline; text-underline-offset: .18em; }
.opening-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1rem; margin-top: 1rem; }
.opening-fees { color: #faf8f1; display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  .service-cover-inner { padding-top: 1.25rem; }
  .service-cover-copy > p:not(.eyebrow) { margin-block: .65rem .8rem; }
  .opening-actions { margin-top: .7rem; }
}
.showcase-index { margin: .4rem 0 0; }
.showcase-index summary { cursor: pointer; padding: .55rem .3rem; }
.showcase-index summary span { color: #d8d3c8; font-size: .8em; margin-left: .3rem; }
.workflow-directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; padding: 1rem; background: #292e2b; }
.workflow-directory h3 { font-size: 1rem; color: #ffd1b5; }
.workflow-directory ul { list-style: none; padding: 0; margin: .25rem 0 0; }
.workflow-directory a { display: block; padding: .4rem 0; line-height: 1.4; }
.showcase-pages button { min-width: 48px; }
.showcase-stage, .showcase-stage .motion-control { touch-action: pan-y pinch-zoom; }
.scene-action { display: inline-block; margin-top: .85rem; padding-block: .5rem; }
.motion-scene video { object-fit: cover; }
.historic-ventures > summary, .scope-details > summary { cursor: pointer; font-weight: 650; padding-block: .85rem; text-decoration: underline; text-underline-offset: .2em; }
.fee-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.3rem 0 .55rem; }
.fee-comparison > div { padding: 1rem; border: 1px solid currentColor; }
.fee-comparison h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.fee-comparison strong, .fee-comparison span { display: block; }
.fee-comparison strong { font-size: 1.12rem; }
.fee-comparison small { font-size: .8em; }
.fee-comparison p { margin: .45rem 0 0; }
@media (max-width:760px) {
  .showcase-index { margin-inline: max(16px,5%); }
  .fee-comparison { gap: .5rem; }
  .fee-comparison > div { padding: .65rem; }
  .fee-comparison p { font-size: .93rem; line-height: 1.35; }
}

.motion-preroll { position:absolute; inset:0; width:100%; height:100%; opacity:0; pointer-events:none; }
@media(max-width:370px){
  .opening-actions { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:.65rem; }
  .opening-actions .button,.opening-actions .opening-fees { font-size:.875rem; line-height:1.3; min-height:44px; padding:.45rem .5rem; text-align:center; }
}

/* Owner decisions on the homepage */
@media (min-width: 1100px) {
  .service-cover-copy h1 > :is(span, em) { display: block; }
}
.working-method {
  padding-block: clamp(2.25rem, 4.5vw, 4.5rem);
}
.working-method .section-heading { align-items: start; margin-bottom: clamp(1.2rem, 2.7vw, 2.3rem); }
.working-method .section-heading h2 { margin: 0; max-width: 19ch; }
.working-method .section-heading > p { line-height: 1.65; }
.working-method .delivery-grid article { padding-top: .95rem; }
.working-method .delivery-grid h3 { margin-bottom: .45rem; }
.working-method .delivery-grid p { line-height: 1.6; }
.working-method > .text-link { margin-top: 1rem; }
.research-notes {
  border-top: 1px solid var(--line);
  margin-top: 1.25rem;
}
.research-notes summary { min-height: 44px; padding-block: .6rem; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.research-notes > p { margin-block: .35rem .6rem; color: var(--muted); line-height: 1.6; }
.operator-handoff, .owner-paths, .fee-decision-grid, .software-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.operator-handoff, .owner-paths, .software-guide {
  padding-block: clamp(2.25rem, 4.5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.operator-handoff h2, .owner-paths h2, .fee-intro h2, .software-guide h2 {
  max-width: 18ch;
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
  letter-spacing: -.055em;
}
.operator-handoff .eyebrow, .fee-intro .eyebrow, .software-guide .eyebrow, .investment-case .eyebrow {
  color: #9c3c18; margin-bottom: .7rem;
}
.operator-handoff h2 + p, .owner-panel > p, .software-guide dd {
  color: var(--muted); line-height: 1.6; margin-top: .8rem;
}
.operator-handoff .alchemy-signature { margin: 1.25rem 0 0; }
.operator-handoff .portrait-stage { width: 62px; height: 62px; flex-basis: 62px; }
.operator-handoff .portrait-name { text-decoration: underline; text-underline-offset: .2em; }
.operator-evidence { border-block: 1px solid var(--line); padding-block: 1rem .65rem; }
.operator-evidence dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
.operator-evidence dl > div { display: flex; flex-direction: column; }
.operator-evidence dt { line-height: 1.4; }
.operator-evidence dd { order: -1; font-size: clamp(2.6rem, 4.7vw, 4.3rem); line-height: 1.1; letter-spacing: -.07em; }
.operator-evidence p { margin-top: 1rem; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.operator-evidence .text-link, .owner-action, .investment-case .text-link, .scene-returns .text-link { color: #963b1b; font-weight: 600; }
.owner-choices { display: grid; margin-top: 1.25rem; }
.owner-choices button {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .8rem;
  min-height: 48px; text-align: left; font: 550 1rem/1.4 var(--body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.owner-choices button:first-child { border-top: 1px solid var(--line); }
.owner-choices button > span::after { content: '+'; font-size: 1.1rem; }
.owner-choices button[aria-pressed="true"] { background: #272d28; color: #fffaf1; }
.owner-choices button[aria-pressed="true"] > span::after { content: '✓'; color: #ffac88; }
.owner-choices button:focus-visible { outline: 2px solid #a43d13; outline-offset: 2px; z-index: 1; }
.owner-panel { padding: clamp(1.15rem, 2.4vw, 2.1rem); background: #f2eee4; border-top: 2px solid #a84a26; }
.owner-panel + .owner-panel:not([hidden]) { margin-top: 1rem; }
.owner-paths:has(.owner-choices:not([hidden])) .owner-panel { margin: 0; }
.owner-panel h3, .investment-case h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.15; }
.owner-action { margin-block: .35rem .6rem; }
.owner-related-story {
  border-top: 1px solid var(--line); padding-top: .85rem; display: flex; align-items: center; gap: .85rem;
  text-decoration: underline; text-underline-offset: .18em; font-weight: 550;
}
.owner-related-story img { width: min(28%,112px); height: auto; aspect-ratio: 7/4; object-fit: cover; }
.owner-related-story small { display: block; margin-bottom: .25rem; font-weight: 400; color: var(--muted); }
.fee-decision-grid { margin-bottom: 1.5rem; }
.fee-intro .fee-comparison { grid-template-columns: 1fr; gap: .9rem; margin: 1.25rem 0 .5rem; }
.fee-intro .fee-comparison > div { border: 0; border-top: 1px solid var(--line); padding: .9rem 0 0; }
.fee-intro .fee-comparison h3 { font-size: 1.2rem; }
.fee-intro .fee-comparison strong { display: inline; margin-right: .7rem; font-size: 1.35rem; }
.fee-intro .fee-comparison span { display: inline-block; color: var(--muted); font-size: .94rem; }
.fee-intro .fee-comparison p { line-height: 1.55; }
.software-guide { row-gap: 1.15rem; position: relative; }
.software-guide > span { position: absolute; top: 0; }
.software-guide dl > div { border-top: 1px solid var(--line); padding-block: .85rem; }
.software-guide dt { font-weight: 650; font-size: 1.1rem; }
.software-guide dd { margin-top: .3rem; }
.owner-questions { grid-column: 2; }
.owner-questions summary { min-height: 44px; padding-block: .6rem; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  .operator-handoff, .owner-paths, .fee-decision-grid, .software-guide { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
  .owner-questions { grid-column: auto; }
  .owner-choices { margin-top: .8rem; }
  .operator-handoff .founder-portrait { max-width: none; }
}
@media (max-width: 360px) {
  .service-cover-inner { padding-top: .8rem; }
  .service-cover .eyebrow { margin-bottom: .5rem; }
  .service-cover-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.45; margin-block: .55rem .65rem; }
  .service-cover h1 { font-size: 2.4rem; }
}

.scene-returns { margin-block: 1.1rem .75rem; }
.trade-chapter-image { align-self: start; }
.scene-owner-moment { line-height: 1.6; }
.scene-returns dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; border: 0; }
.scene-returns dl > div { padding: .85rem .9rem; background: #f0eee7; }
.scene-returns dt { margin: 0; font-size: .875rem; line-height: 1.4; }
.scene-returns dd strong { display: block; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.7rem); margin-block: .3rem; }
.scene-returns dd span { display: block; line-height: 1.5; font-size: .875rem; }
.scene-test, .investment-check { color: var(--muted); line-height: 1.6; }
.scene-test strong, .investment-check strong { color: var(--ink); }
.investment-section { padding-block: 1rem clamp(2.5rem, 4vw, 4.5rem); }
.investment-check { margin: 1rem 0 0; max-width: 83ch; }
.trade-chapter > .investment-case { grid-column: 1/-1; }
.investment-case {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3.4rem); align-items: start;
  background: #fffdf7; border: 1px solid #c9c4b8; padding: clamp(1.15rem, 2.8vw, 2.4rem); scroll-margin-top: 1rem;
}
.investment-price { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.investment-story h2, .investment-story h3 { margin-block: 0 .65rem; text-wrap: pretty; }
.investment-case .eyebrow { font-size: .82rem; }
.investment-story > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.investment-decision { margin-top: 1rem; }
.investment-math { min-width: 0; }
.investment-control { padding: .45rem 0 .25rem; }
.investment-control label { display: flex; justify-content: space-between; gap: .6rem; font-weight: 600; }
.investment-control label span { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.investment-control input { display: block; width: 100%; height: 44px; margin: 0; accent-color: #a5401c; cursor: pointer; }
.investment-results dl { margin: 0; padding: 0; border: 0; }
.investment-results dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; padding-block: .5rem; border-bottom: 1px solid var(--line); }
.investment-results dt, .investment-results dd { margin: 0; font-size: .94rem; line-height: 1.4; color: var(--ink); }
.investment-results dd { font-weight: 600; text-align: end; font-variant-numeric: tabular-nums; }
.investment-results dd small { display: block; margin-top: .2rem; color: var(--muted); font-size: .8125rem; font-weight: 450; }
.investment-results .investment-result-main { grid-template-columns: minmax(0,1fr); border-top: 1px solid var(--line); padding-block: .7rem; }
.investment-result-main dd { text-align: start; font-size: clamp(1.55rem, 3vw, 2.55rem); letter-spacing: -.05em; overflow-wrap: anywhere; }
.investment-result-main dd[data-year-outcome="short"] { color: #923c1d; }
.investment-threshold { margin-top: .7rem; font-weight: 600; line-height: 1.45; }
.investment-costs, .investment-note, .investment-settings > p { color: var(--muted); font-size: .875rem; line-height: 1.5; margin-top: .65rem; }
.investment-settings { margin-top: .65rem; border-top: 1px solid var(--line); }
.investment-settings summary { padding-block: .65rem; min-height: 44px; cursor: pointer; font-weight: 600; }
.investment-settings fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; padding: .6rem 0 0; border: 0; margin: 0; min-width: 0; }
.investment-settings legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.investment-settings label { font-size: .875rem; }
.investment-settings input { display: block; width: 100%; min-height: 44px; border: 1px solid #9d9a8f; padding: .45rem; border-radius: 3px; font: 1rem var(--body); background: #fff; color: var(--ink); }
.investment-settings .button { margin-top: .7rem; min-height: 44px; }
.investment-error { padding-block: .65rem; color: #923c1d; }
@media (max-width: 760px) {
  .investment-case { grid-template-columns: minmax(0, 1fr); }
  .investment-settings fieldset { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 375px) {
  .investment-results dl > div { grid-template-columns: minmax(0, 1fr); }
  .investment-results dd { text-align: start; }
}
.investment-next { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1rem; }
.investment-next .button { min-height: 44px; white-space: normal; text-align: center; }
