/* General Engine v2 — engraved mechanics, commercial clarity. */
:root { --maxw: 1440px; }
.display { font-stretch: 116%; font-weight: 820; letter-spacing: -.05em; }
.h2 { font-stretch: 105%; font-weight: 560; font-size: clamp(34px, 4.25vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.h3 { font-stretch: 104%; font-weight: 650; }
.section { padding: clamp(64px, 7vw, 104px) 0; }
.section-head { margin-bottom: 48px; }
.btn { min-height: 52px; padding-inline: 22px; }
.btn--small { min-height: 44px; padding-inline: 16px; }
.hero__secondary { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 15px; font-weight: 550; border-bottom: 1px solid var(--rule-strong); }
.hero__secondary:hover { border-color: var(--ink); color: var(--accent-ink); }
.nav-links { gap: 24px; font-size: 14px; }

/* An asymmetric, full-bleed art layer. Text stays on the reading grid. */
.hero--engine { position: relative; isolation: isolate; min-height: 790px; padding: 64px 0 0; overflow: clip; }
.hero__content { position: relative; z-index: 2; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero--engine .eyebrow { margin-bottom: 32px; }
.hero--engine .display { font-size: clamp(62px, 7.3vw, 108px); max-width: 1120px; text-wrap: initial; line-height: .94; }
.hero__copy { max-width: 480px; margin-top: 42px; }
.hero__copy .lede { font-size: 19px; line-height: 1.5; }
.hero__copy .actions { gap: 12px 28px; margin-top: 26px; }
.signature { position: absolute; z-index: 1; width: 900px; top: 160px; left: calc(50% - 190px); margin: 0; }
.signature__rotor { width: 100%; height: auto; }
.signature__caption { display: flex; align-items: center; justify-content: space-between; position: absolute; left: 37%; right: 16%; bottom: 4px; gap: 18px; font-size: 11px; color: var(--ink-2); }
.signature__caption small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .025em; color: var(--muted); }
.signature__toggle { display: none; align-items: center; justify-content: center; min-width: 64px; min-height: 44px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--ink); font: inherit; text-transform: uppercase; cursor: pointer; }
.motion-ready .signature__toggle { display: inline-flex; }
.signature__toggle:hover { border-color: var(--ink); }
.signature__motion { position: absolute; inset: 0; pointer-events: none; }
.signature__motion i { position: absolute; width: 5px; height: 5px; background: var(--accent); left: 84%; top: 29.6%; }
.signature__motion i:nth-child(2) { top: 41%; }
.signature__motion i:nth-child(3) { top: 52.4%; }
.signature__motion i:nth-child(4) { top: 63.8%; }
.motion-ready .signature__motion i { animation: output-work 7s linear infinite; }
.motion-ready .signature__motion i:nth-child(2) { animation-delay: -1.7s; }
.motion-ready .signature__motion i:nth-child(3) { animation-delay: -3.4s; }
.motion-ready .signature__motion i:nth-child(4) { animation-delay: -5.1s; }
.signature.is-paused .signature__motion i { animation-play-state: paused; }
@keyframes output-work { 0% { transform: translateX(0); opacity: 0; } 10%, 80% { opacity: 1; } 100% { transform: translateX(150px); opacity: 0; } }
.hero__datum { display: flex; justify-content: space-between; gap: 24px; position: absolute; bottom: 20px; left: 0; right: 0; font-size: 10px; color: var(--muted); }
.outcomes { padding: 36px 0 42px; border-top: 1px solid var(--ink); }
.outcomes > .wrap > .mono { font-size: 10px; color: var(--muted); }
.outcomes__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0 0; gap: 32px; }
.outcomes__grid > div { border-left: 1px solid var(--rule-strong); padding-left: 24px; }
.outcomes__grid > div:first-child { border: 0; padding-left: 0; }
.outcomes dt { font-size: 28px; letter-spacing: -.035em; font-weight: 560; }
.outcomes dd { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* Diagram hierarchy: inputs, a policy-governed AI core, ERP; review is a branch. */
.workflow-section { padding: 74px 0 64px; }
.workflow__intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px 100px; align-items: end; }
.workflow__intro .eyebrow { grid-column: 1 / -1; }
.workflow__intro .h2 { font-size: clamp(32px, 3.5vw, 50px); max-width: 640px; }
.workflow__intro .lede { max-width: 42ch; font-size: 18px; }
.engine { margin: 40px 0 0; padding: 24px 0 0; background: transparent; border-radius: 0; border-top: 1px solid var(--night-rule); overflow: visible; }
.engine::before { display: none; }
.engine__head { margin-bottom: 24px; font-size: 11px; }
.engine__toggle { min-height: 44px; min-width: 64px; color: var(--paper); }
.flow { position: relative; display: grid; grid-template-columns: 23% 32% 23%; grid-template-rows: 230px 70px; column-gap: 11%; align-items: center; }
.flow__connections { position: absolute; width: 100%; height: 100%; inset: 0; overflow: visible; }
.flow > div { position: relative; z-index: 1; }
.flow .node__k { font-size: 10px; color: var(--diagram-muted); }
.flow p { font-size: 14px; color: var(--diagram-muted); }
.flow__sources { padding-block: 20px; }
.flow__documents { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 16px 0 14px; }
.flow__documents span { display: block; border: 1px solid var(--diagram-rule); background: var(--night-2); padding: 7px 20px; min-width: 120px; font-family: var(--mono); font-size: 12px; }
.flow__documents span:nth-child(2) { margin-left: 12px; }
.flow__documents span:nth-child(3) { margin-left: 24px; }
.flow__core { align-self: stretch; border: 1px solid var(--diagram-core-rule); background: var(--night-2); padding: 60px 24px 20px; }
.flow__rules { position: absolute; top: 0; left: 0; right: 0; padding: 12px 16px; border-bottom: 1px solid var(--diagram-rule); font-size: 9px; color: var(--paper); }
.flow h3 { font-size: 36px; line-height: 1; font-weight: 580; letter-spacing: -.045em; margin: 12px 0; }
.flow__core h3 { color: var(--accent); font-weight: 680; }
.flow__output { padding: 20px; border-top: 2px solid var(--accent); border-bottom: 1px solid var(--night-rule); }
.flow__receipt { display: block; margin-top: 22px; font-size: 9px; color: var(--diagram-muted); }
.flow__review { grid-column: 2; grid-row: 2; align-self: end; background: var(--night); padding: 4px 8px; width: 90%; }
.flow__review > span { font-size: 10px; color: var(--paper); }
.flow__review p { margin-top: 5px; font-size: 12px; line-height: 1.35; }
.flow__signal { display: none; }
.motion-ready .flow__signal { display: block; animation: workflow-signal 5s linear infinite; }
.engine.is-paused .flow__signal { animation-play-state: paused; }
@keyframes workflow-signal { to { stroke-dashoffset: -276; } }
.engine__foot { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--night-rule); }
.engine__foot .mono { font-size: 10px; }
.stack { padding: 20px 0; }
.stack__label { max-width: 240px; white-space: normal; font-size: 10px; }
.stack__inner { gap: 32px; }
.pause { min-height: 44px; min-width: 64px; }
.logo { font-size: 17px; }

/* A primary practice and a secondary practice, not equal feature tiles. */
.practices__head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.practices__head .eyebrow { padding-top: 8px; }
.practice-pair { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.practice { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px; min-height: 410px; border: 1px solid var(--rule-strong); }
.practice--primary { border-color: var(--night); }
.practice > .mono { font-size: 10px; color: var(--muted); }
.practice--primary > .mono { color: var(--night-muted); }
.practice h3 { font-weight: 600; font-stretch: 109%; font-size: clamp(30px, 4.2vw, 60px); line-height: .98; letter-spacing: -.045em; margin: 34px 0 22px; }
.practice p { max-width: 36ch; line-height: 1.45; font-size: 17px; color: var(--ink-2); }
.practice--primary p { color: var(--night-copy); }
.practice__link { display: flex; justify-content: space-between; align-items: center; width: 100%; border-top: 1px solid var(--rule-strong); margin-top: auto; padding-top: 26px; font-size: 14px; }
.practice--primary .practice__link { border-color: var(--night-rule); }
.practice__link > span { font-size: 24px; transition: transform .2s; }
.practice:hover .practice__link > span { color: var(--accent); transform: translate(3px,-3px); }
.practice--secondary:hover { background: var(--paper-2); }
.practice__graphic { position: absolute; right: 35px; top: 24px; width: 112px; height: 90px; opacity: .55; pointer-events: none; }
.practice__graphic span { position: absolute; inset: 12px; border: 1px solid var(--night-muted); transform: skewY(-20deg); }
.practice__graphic span:nth-child(2) { translate: -10px 10px; }
.practice__graphic span:nth-child(3) { translate: -20px 20px; }
.practice__graphic span:nth-child(4) { translate: -30px 30px; border-color: var(--accent); }

.approach__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.approach__intro { display: grid; gap: 26px; align-content: start; position: sticky; top: 110px; }
.approach__intro .lede { max-width: 38ch; font-size: 18px; }
.approach__principle { border-top: 1px solid var(--night-rule); padding-top: 24px; margin-top: 14px; font-size: 17px; }
.approach__principle span { color: var(--night-muted); }
.approach__list { list-style: none; }
.approach__list li { display: grid; grid-template-columns: 125px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--night-divider); }
.approach__list li:last-child { border-bottom: 1px solid var(--night-divider); }
.approach__list li > .mono { padding-top: 6px; font-size: 10px; color: var(--night-muted); }
.approach__list h3 { font-weight: 560; font-size: 30px; letter-spacing: -.035em; line-height: 1.1; }
.approach__list p { margin-top: 10px; font-size: 15px; color: var(--night-copy); }
.approach__list div > .mono { display: block; margin-top: 16px; font-size: 9px; color: var(--accent); }
.investors { gap: 80px; }
.investors__copy { gap: 24px; }
.investors__copy .link-arrow { justify-self: start; font-size: 15px; }
.portfolio { padding: 32px; border-radius: 0; }
.portfolio figcaption { font-size: 9px; }
.data-note { padding: 48px 0; background: var(--paper-2); border-block: 1px solid var(--rule-strong); }
.data-note__grid { display: grid; grid-template-columns: .45fr 1fr; gap: 80px; }
.data-note__grid > .eyebrow { align-self: start; padding-top: 8px; }
.data-note h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 550; letter-spacing: -.035em; line-height: 1.12; }
.data-note p:not(.eyebrow) { font-size: 15px; margin: 20px 0; max-width: 70ch; color: var(--ink-2); }
.data-note .link-arrow { font-size: 14px; }
.cta { padding: 104px 0; }
.cta__inner { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 100px; }
.cta .display { font-size: clamp(44px, 6vw, 86px); font-weight: 700; font-stretch: 106%; line-height: .96; }
.cta__side .lede { font-size: 18px; }
.site-footer { padding-top: 52px; }
.footer__grid { padding-bottom: 40px; }
.footer__base { font-size: 9px; }
.footer__base span:last-child { max-width: 74ch; }

/* Interior pages use a quieter, editorial display register. */
.page-hero { padding: 64px 0 74px; }
.page-hero .eyebrow { margin-bottom: 28px; }
.display--page { font-size: clamp(44px, 6.4vw, 94px); font-weight: 650; font-stretch: 104%; line-height: 1; }
.practice-datum { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 16px 0; border-block: 1px solid var(--rule-strong); font-size: 10px; color: var(--muted); }
.page-ai .page-hero__grid { margin-top: 32px; gap: 100px; align-items: start; }
.page-ai .page-hero .lede { max-width: 48ch; }
.page-ai .ledger__row { grid-template-columns: 96px 1fr; padding-block: 12px; }
.page-ai .ledger dd { font-size: 15px; }
.steps--sequence { grid-template-columns: 1fr; border-top: 0; }
.steps--sequence .step, .steps--sequence .step + .step { display: grid; grid-template-columns: 130px 1fr 1.35fr 180px; gap: 24px; align-items: start; padding: 26px 0; border-left: 0; border-block: 1px solid var(--night-rule); }
.steps--sequence .step + .step { border-top: 0; }
.steps--sequence .step::before { display: none; }
.steps--sequence .step__n { font-size: 10px; padding-top: 5px; }
.steps--sequence .step__out { font-size: 9px; padding: 5px 0 0; margin: 0; }
.steps--sequence .step p { font-size: 15px; }
.steps--paper.steps--sequence .step, .steps--paper.steps--sequence .step + .step { border-color: var(--rule-strong); }
.principles strong { font-size: clamp(30px, 4vw, 56px); font-stretch: 104%; font-weight: 580; line-height: 1.04; }
.principles li { gap: 90px; }
.data-hero__layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; }
.page-data .display--page { font-size: clamp(48px, 6.6vw, 94px); font-weight: 520; }
.page-data .display--page span { color: var(--accent-ink); }
.data-hero__layout .lede { margin: 32px 0 26px; font-size: 18px; max-width: 47ch; }
.data-hero__layout .link-arrow { font-size: 14px; }
.termsheet { border-radius: 0; box-shadow: none; padding: 30px; position: relative; }
.termsheet::before { content: ''; position: absolute; inset: 8px -9px -9px 8px; border: 1px solid var(--rule-strong); z-index: -1; }
.page-data .page-hero { isolation: isolate; background: var(--paper-2); }
.termsheet__row { grid-template-columns: 105px minmax(0, 1fr); }
.termsheet__foot { font-size: 10px; line-height: 1.6; }
.usecases tbody th { font-weight: 580; font-stretch: 103%; }
.caps dt { font-weight: 580; font-stretch: 103%; }
.contact { gap: 100px; grid-template-columns: 1fr 1.2fr; }
.page-contact .display--page { font-size: clamp(48px, 5.8vw, 84px); }
.contact__intro { gap: 28px; }
.contact__intro > div { margin-top: 10px; }
.contact__intro .lede { max-width: 35ch; font-size: 18px; }
.form { border-radius: 0; border-color: var(--rule); padding: 32px; gap: 22px; }
.form__notice, .form__status { border-left: 0; padding: 14px 0; border-block: 1px solid var(--rule-strong); background: transparent; }
.form__notice { font-size: 14px; }
.form__status[data-state='error'] { color: var(--error); }
.form__status[data-state='preview'] { border-color: var(--ink); }
.field input, .field textarea { border: 0; border-bottom: 1px solid var(--rule-strong); background: var(--paper); border-radius: 0; }
.choice span { padding: 13px 10px; font-size: 14px; }
.choice input:checked + span { box-shadow: none; border-color: var(--ink); background: var(--paper-2); }
.choice input:checked + span::after { content: 'Selected'; font-family: var(--mono); font-size: 9px; color: var(--accent-ink); margin-top: 8px; }
.choice input + span::after { content: ''; height: 13px; margin-top: 8px; }
.form__note { max-width: none; }

@media (min-width: 1800px) {
  :root { --maxw: 1520px; }
  .hero--engine { min-height: 850px; padding-top: 80px; }
  .signature { width: 1060px; top: 60px; left: calc(50% - 130px); }
  .hero__copy { margin-top: 46px; max-width: 490px; }
}
@media (max-width: 1100px) {
  .signature { width: 820px; left: calc(50% - 70px); top: 180px; }
  .hero--engine { min-height: 820px; }
  .hero__copy { max-width: 430px; }
  .workflow__intro { gap: 20px 48px; }
  .approach__layout, .investors, .data-hero__layout, .contact { gap: 48px; }
  .steps--sequence .step, .steps--sequence .step + .step { grid-template-columns: 110px 1fr 1.4fr; }
  .steps--sequence .step__out { grid-column: 2 / -1; padding: 0; }
  .practice { padding: 28px; }
  .practice__graphic { width: 80px; right: 24px; }
  .cta__inner { gap: 48px; }
}
@media (max-width: 800px) {
  .hero--engine { display: flex; flex-direction: column; min-height: 0; padding: 36px 0 20px; }
  .hero__content { display: contents; }
  .hero--engine .eyebrow { order: 0; margin: 0 var(--pad) 24px; max-width: 340px; font-size: 10px; }
  .hero--engine .display { order: 1; padding: 0 var(--pad); font-size: clamp(42px, 8.4vw, 66px); font-stretch: 104%; letter-spacing: -.05em; }
  .signature { position: relative; left: auto; top: auto; order: 2; width: min(760px, calc(100% + 140px)); height: 350px; margin: 10px 0 4px -70px; align-self: center; }
  .signature__rotor { width: 100%; }
  .signature__caption { left: 34%; right: 14%; bottom: 4px; font-size: 10px; }
  .signature__caption small { font-size: 8px; max-width: 210px; }
  .hero__copy { order: 3; max-width: 540px; padding: 0 var(--pad); margin: 24px 0; }
  .hero__copy .lede { font-size: 17px; }
  .hero__copy .actions { margin-top: 24px; }
  .hero__datum { position: static; order: 4; font-size: 8px; margin-top: 16px; }
  .hero__datum span:last-child { display: none; }
  .outcomes { padding: 24px 0 28px; }
  .outcomes__grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
  .outcomes__grid > div { padding: 0; border: 0; }
  .outcomes dt { font-size: 25px; }
  .outcomes dd { font-size: 14px; }
  .workflow-section { padding: 48px 0; }
  .workflow__intro { grid-template-columns: 1fr; gap: 18px; }
  .workflow__intro .h2 { font-size: 36px; }
  .workflow__intro .lede { font-size: 16px; }
  .engine { margin-top: 28px; }
  .flow { grid-template-columns: 1fr; grid-template-rows: auto; gap: 24px; padding: 0; }
  .flow__connections { display: none; }
  .flow__sources { padding: 0; }
  .flow__documents { flex-direction: row; gap: 6px; margin: 12px 0 8px; }
  .flow__documents span { min-width: 0; padding: 7px 12px; }
  .flow__documents span:nth-child(2), .flow__documents span:nth-child(3) { margin: 0; }
  .flow__core { padding: 58px 22px 20px; }
  .flow__core::before, .flow__output::before { content: '↓'; position: absolute; top: -26px; left: 50%; font-family: var(--mono); color: var(--accent); }
  .flow__core h3 br { display: none; }
  .flow__core h3 { font-size: 32px; }
  .flow__review { grid-column: 1; grid-row: 3; padding: 12px 18px; width: 100%; border: 1px dashed var(--diagram-review-rule); align-self: auto; }
  .flow__review::before { content: '↳'; position: absolute; left: -17px; top: -18px; height: 40px; color: var(--accent); }
  .flow__output { grid-row: 4; padding: 16px 0 0; border-bottom: 0; }
  .flow__output h3 { display: inline-block; margin: 0 16px 0 0; font-size: 30px; }
  .flow__output .node__k { display: block; margin-bottom: 12px; }
  .flow__output p { display: inline; }
  .flow__receipt { margin-top: 14px; }
  .engine__foot { margin-top: 20px; }
  .stack__inner { gap: 14px; }
  .stack__label { max-width: none; }
  .practices__head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 28px; }
  .practice-pair { grid-template-columns: 1fr; gap: 12px; }
  .practice { min-height: 0; padding: 26px; }
  .practice h3 { font-size: 42px; margin: 26px 0 16px; }
  .practice h3 br { display: none; }
  .practice p { font-size: 16px; }
  .practice__link { margin-top: 24px; padding-top: 20px; }
  .practice--secondary { border: 0; border-bottom: 1px solid var(--rule-strong); padding: 24px 0; }
  .practice--secondary h3 { font-size: 34px; margin-top: 20px; }
  .practice__graphic { display: none; }
  .approach__layout { grid-template-columns: 1fr; gap: 30px; }
  .approach__intro { position: static; gap: 20px; }
  .approach__principle { font-size: 15px; padding-top: 16px; margin: 0; }
  .approach__list li { grid-template-columns: 85px 1fr; gap: 16px; padding: 20px 0; }
  .approach__list li > .mono { font-size: 9px; }
  .approach__list h3 { font-size: 27px; }
  .approach__list p { font-size: 14px; }
  .approach__list div > .mono { margin-top: 12px; }
  .investors { gap: 32px; }
  .portfolio { padding: 22px 16px; }
  .data-note { padding: 36px 0; }
  .data-note__grid { grid-template-columns: 1fr; gap: 20px; }
  .data-note h2 { font-size: 30px; }
  .cta { padding: 58px 0; }
  .cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-top: 40px; }
  .page-hero { padding: 40px 0 48px; }
  .display--page { font-size: 52px; }
  .practice-datum { margin-top: 28px; font-size: 9px; flex-wrap: wrap; gap: 12px; }
  .page-ai .page-hero__grid { gap: 28px; }
  .page-hero__grid .lede { font-size: 17px; }
  .section-head { margin-bottom: 30px; }
  .section-head--split { gap: 24px; }
  .steps--sequence .step, .steps--sequence .step + .step { grid-template-columns: 90px 1fr; gap: 12px 20px; padding: 22px 0; }
  .steps--sequence .step p, .steps--sequence .step__out { grid-column: 2; }
  .steps--sequence .step .h3 { font-size: 24px; }
  .steps--sequence .step__out { font-size: 8px; }
  .data-hero__layout { grid-template-columns: 1fr; gap: 36px; }
  .page-data .display--page { font-size: 60px; }
  .data-hero__layout .lede { font-size: 17px; margin-top: 24px; }
  .termsheet { padding: 24px; }
  .termsheet__row { grid-template-columns: 90px 1fr; gap: 14px; padding-block: 12px; }
  .termsheet dd { font-size: 14px; }
  .principles li { gap: 16px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .contact__intro .lede { max-width: 50ch; }
  .contact__intro > div { margin-top: 0; }
  .form { padding: 22px; }
  .choices { grid-template-columns: 1fr; }
  .choice span { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-height: 54px; }
  .choice span small { margin-left: auto; }
  .choice input + span::after { display: none; }
  .choice input:checked + span::after { display: block; height: auto; margin: 0; }
  .row-2 { grid-template-columns: 1fr; }
}
@media (min-width: 521px) and (max-width: 800px) {
  .signature { height: 430px; }
}
@media (max-width: 400px) {
  .hero--engine .display { font-size: 44px; }
  .hero__copy .actions { flex-direction: column; align-items: stretch; }
  .hero__secondary { align-self: flex-start; }
  .signature { height: 315px; }
  .signature__caption { right: 8%; }
  .display--page, .page-contact .display--page { font-size: 44px; }
  .page-data .display--page { font-size: 50px; }
  .termsheet__row { grid-template-columns: 78px 1fr; gap: 10px; }
  .flow__rules { font-size: 8px; }
  .pf-col { font-size: 8px; }
  .pf-row { font-size: 9px; }
  .portfolio__grid { grid-template-columns: 66px repeat(4, minmax(0, 1fr)); gap: 5px; }
  .practice h3 { font-size: 36px; }
}
.signature__image { position: relative; }
.signature__motion { bottom: auto; height: auto; aspect-ratio: 1100 / 720; }
.signature__caption small { font-size: 10px; letter-spacing: 0; }
.footer__base { font-size: 10px; }
@media (max-width: 800px) {
  .signature { width: 100%; height: auto; margin: 16px 0 0; }
  .signature__image { height: 300px; overflow: hidden; }
  .signature__rotor { width: calc(100% + 140px); max-width: none; margin-left: -70px; }
  .signature__motion { width: calc(100% + 140px); left: -70px; }
  .signature__caption { position: static; margin: 8px var(--pad) 0; gap: 16px; font-size: 11px; }
  .signature__caption small { font-size: 10px; max-width: 240px; }
  .engine__toggle, .motion-ready .engine__toggle { display: none; }
  .flow .node__k, .flow__review > span { font-size: 11px; }
  .flow__rules { font-size: 10px; padding: 10px 14px; }
  .flow__review::before { content: '↓'; top: -27px; left: 50%; height: auto; }
  .flow__receipt { font-size: 10px; }
  .flow__output p { display: block; margin-top: 10px; }
  .engine__foot span:first-child { display: none; }
  .stack__inner { grid-template-columns: 1fr; }
  .motion-ready .marquee { mask-image: none; }
  .motion-ready .marquee__track { animation: none; width: auto; }
  .motion-ready .marquee__list { flex-wrap: wrap; gap: 16px 26px; padding-right: 0; }
  .motion-ready .marquee__list[aria-hidden='true'], .motion-ready .marquee__list .dup { display: none; }
  .pause, .motion-ready .pause { display: none; }
  .logo { font-size: 15px; }
  .approach__list div > .mono { font-size: 10px; }
  .pf-col, .pf-row { font-size: 10px; }
  .portfolio figcaption { font-size: 10px; }
  .hero__datum { font-size: 9px; }
}
@media (min-width: 521px) and (max-width: 800px) {
  .signature__image { height: 420px; }
}
@media (max-width: 340px) {
  .signature__image { height: 260px; }
  .flow__rules { font-size: 9px; }
}
/* Last polish pass: phrase-aware headlines and readable stage metadata. */
html { scrollbar-gutter: stable; }
.principles strong em { display: block; }
.steps--sequence .step__n { font-size: 11px; }
.steps--sequence .step__out { font-size: 11px; }
.usecases td { padding-right: 28px; }
.deliverables { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.deliverables > div { display: grid; gap: 24px; align-content: start; }
.deliverables .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.deliverables .caps dt { font-size: 21px; }
@media (max-width: 800px) {
  .steps--sequence .step, .steps--sequence .step + .step { grid-template-columns: 1fr; gap: 10px; }
  .steps--sequence .step p, .steps--sequence .step__out { grid-column: 1; }
  .steps--sequence .step__out { font-size: 11px; }
  .steps--sequence .step__n { padding: 0; font-size: 11px; }
  .deliverables { grid-template-columns: 1fr; gap: 30px; }
  .deliverables .caps { grid-template-columns: 1fr; }
  .termsheet::before { display: none; }
  .field label { font-size: 12px; }
  .choice input:checked + span::after { font-size: 10px; }
  .field textarea { resize: none; }
}
@media (prefers-reduced-motion: reduce) {
  .signature__toggle, html.motion-ready .signature__toggle { display: none; }
  .signature__motion i, .flow__signal { animation: none !important; }
  html.motion-ready .flow__signal { display: none; }
  .will-reveal { opacity: 1; transform: none; }
}

/* Readability pass (Oct 7): secondary labels no smaller than 11px. */
.signature__caption small, .hero__datum, .outcomes > .wrap > .mono, .flow .node__k, .flow__review > span,
.flow__rules, .flow__receipt, .engine__foot .mono, .stack__label, .practice > .mono,
.approach__list li > .mono, .approach__list div > .mono, .portfolio figcaption, .practice-datum,
.termsheet__foot, .footer__base, .steps--sequence .step__n, .steps--sequence .step__out,
.choice input:checked + span::after { font-size: 11px; }
@media (max-width: 400px) {
  .flow__rules { font-size: 10px; }
  .hero__datum { flex-wrap: wrap; gap: 6px 16px; }
}

/* Workflow connector layout (Oct 7): approval sits below the core with a real gap; JS routes lines edge to edge. */
@media (min-width: 1001px) {
  .flow { grid-template-rows: 230px auto; row-gap: 34px; }
  .flow__review { align-self: start; padding: 10px 14px; border: 1px dashed var(--diagram-review-rule); }
}
/* Tablet (801-1000px): three columns are too narrow, so the workflow stacks like the phone layout. */
@media (min-width: 801px) and (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; grid-template-rows: auto; gap: 24px; padding: 0; }
  .flow__connections { display: none; }
  .flow__sources { padding: 0; }
  .flow__documents { flex-direction: row; gap: 6px; margin: 12px 0 8px; }
  .flow__documents span { min-width: 0; padding: 7px 12px; }
  .flow__documents span:nth-child(2), .flow__documents span:nth-child(3) { margin: 0; }
  .flow__core { padding: 58px 22px 20px; }
  .flow__core::before, .flow__output::before, .flow__review::before { content: '\2193'; position: absolute; top: -26px; left: 50%; font-family: var(--mono); color: var(--accent); }
  .flow__core h3 br { display: none; }
  .flow__review { grid-column: 1; grid-row: 3; padding: 12px 18px; width: 100%; border: 1px dashed var(--diagram-review-rule); align-self: auto; }
  .flow__output { grid-row: 4; padding: 16px 0 0; border-bottom: 0; }
  .flow__output .node__k { display: block; margin-bottom: 12px; }
  .flow__receipt { margin-top: 14px; }
  .engine__toggle, .motion-ready .engine__toggle { display: none; }
}
/* Without JavaScript the connectors can't be measured, so hide them; numbered steps carry the order. */
html:not(.js) .flow__connections { display: none; }
