@media screen {
  :root {
    --muted: #40443e;
    --workbench-ground: #eff1e7;
  }
  .hero {
    --hero-paper: #faf9f3;
    --hero-signal: #dafa9c;
    min-height: calc(100svh - var(--masthead-height, 4.75rem));
    justify-content: space-between;
    color: var(--hero-paper);
    background: #0f0f0f;
  }

  .hero::before { content: none; }

  .hero-interior {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-content: center;
    align-items: start;
    gap: clamp(2rem, 6vw, 6.75rem);
    padding-block: clamp(3rem, 6vh, 5rem);
  }

  .hero-copy { width: auto; }

  .hero h1 {
    max-width: none;
    font-size: clamp(3.1rem, 4.65vw, 6rem);
    line-height: .98;
    letter-spacing: -.058em;
    text-wrap: initial;
  }

  .hero .end-stop { color: var(--hero-signal); }
  .hero h1 .hero-term:first-of-type { color: #ffa06b; }
  .hero .lede { max-width: 38ch; margin-top: 1.25rem; }
  .hero .hero-actions { margin-top: 1.75rem; gap: .5rem .75rem; }
  .hero-choice .hero-primary { color: #0f0f0f; background: var(--hero-signal); }
  .hero-choice .hero-primary:hover { background: #f0ffd3; }
  .hero-choice .hero-local { border-color: #92958b; }
  .hero-choice .hero-local:hover { border-color: var(--hero-signal); }
  .hero :focus-visible { outline-color: var(--hero-signal); }
  .hero-example:hover { text-decoration-color: var(--hero-signal); }

  .handshake-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: end;
    min-height: clamp(24rem, 64vh, 47rem);
    padding: clamp(1.2rem, 4vw, 4rem);
    border: 1px solid #4b4d42;
    overflow: clip;
    background: #171613;
  }

  .handshake-stage .hero-art {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
    object-position: 48% 55%;
  }

  .handshake-stage::before,
  .handshake-stage::after {
    position: absolute;
    z-index: -1;
    width: 1.4rem;
    aspect-ratio: 1;
    color: var(--hero-signal);
    content: "";
  }

  .handshake-stage::before {
    inset: 1rem auto auto 1rem;
    border-block-start: 2px solid;
    border-inline-start: 2px solid;
  }

  .handshake-stage::after {
    inset: auto 1rem 1rem auto;
    border-block-end: 2px solid;
    border-inline-end: 2px solid;
  }

  .handshake-window {
    width: fit-content;
    max-width: 100%;
    padding: 1rem 1.35rem 1.2rem;
    border-inline-start: .3rem solid var(--hero-signal);
    background: #0f0f0f;
  }

  .handshake-window-label { color: var(--hero-signal); font-size: .85rem; }
  .handshake-window-name {
    font-size: clamp(1.25rem, 2.1vw, 2rem);
    font-weight: 650;
    letter-spacing: -.04em;
    line-height: 1.1;
    margin-block: .4rem .5rem;
  }

  .handshake-window code { color: #fff; }


  .hero-key .scope-strip { gap: .75rem clamp(1rem, 4vw, 4rem); padding-block: 1.5rem; }
  .hero-key .scope-label, .hero-key .scope-path { font-family: inherit; font-size: .875rem; }
  .hero-key .observed-line { height: .2rem; position: relative; background: var(--hero-signal); }
  .hero-key .observed-line::after {
    position: absolute;
    inset: -.16rem 0 auto auto;
    width: .5rem;
    aspect-ratio: 1;
    border-block-start: 2px solid var(--hero-signal);
    border-inline-end: 2px solid var(--hero-signal);
    transform: rotate(45deg);
    content: "";
  }
  .hero-key .separate-line { border-width: 2px; }
  .hero-key .scope-caption { font-size: .875rem; }

  .assessment-section {
    padding-block: clamp(3.25rem, 7vw, 7rem);
    background: var(--workbench-ground);
  }

  .assessment-section .section-intro { align-items: center; }
  .assessment-section .section-intro p { max-width: 42ch; }
  .assessment-section .instrument { border-block-width: 0; background: #f9f9f2; }
  .assessment-section .input-panel { border: 0; }
  .assessment-section .result-panel {
    --report-ink: #faf9f3;
    --report-muted: #d0d3c9;
    --report-line: #5a6052;
    --report-accent: #dafa9c;
    background: #141612;
  }

  .assessment-section .result-panel .report-context { font-family: inherit; }
  .assessment-section .result-panel :focus-visible { outline-color: var(--report-accent); }

  .assessment-section .button-primary { background: #141612; color: #f9fbf2; }
  .assessment-section .button-primary:hover:not(:disabled) { background: #31401c; }

  .methodology-band { background: var(--workbench-ground); color: #151810; }
  .methodology-band .methodology { display: block; }
  .methodology-band .methodology-intro { display: grid; grid-template-columns: 1fr .77fr; gap: 1rem 5rem; align-items: start; }
  .methodology-band .methodology-intro .section-summary { margin: 0; max-width: 38ch; }
  .methodology-band .methodology-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem clamp(1.1rem, 3vw, 3.2rem);
    margin-top: clamp(2rem, 5vw, 4.5rem);
    border: 0;
  }

  .methodology-band .methodology-details li {
    display: block;
    padding: 0;
    border: 0;
  }

  .methodology-band .methodology-details li::before { content: none; }
  .methodology-band .methodology-details h3 { margin-block: 1.15rem .6rem; }
  .methodology-band .methodology-details a { text-underline-offset: .2em; }
  .methodology-band .method-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.4rem, 1vw, .85rem);
    min-height: 10.5rem;
    padding: 1rem .75rem;
    background: #151810;
    color: #f9f9f0;
    font-size: clamp(.875rem, 1.3vw, 1.125rem);
  }

  .methodology-band .method-key { background: #dafa9c; color: #141612; }
  .method-key code { padding: .4rem .55rem; background: #141612; color: #f9f9f0; }
  .method-route i { width: min(12%, 2.75rem); border-block-start: 2px solid #dafa9c; }
  .method-route i:last-of-type { border-block-start: 2px dashed #a1a994; }
  .method-route span:nth-of-type(2) { color: #dafa9c; }
  .methodology-band .method-chain {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: center;
    gap: 0;
    background: #edcab4;
    color: #191611;
  }
  .method-chain span {
    position: relative;
    display: grid;
    justify-items: center;
    gap: .55rem;
    font-weight: 700;
  }
  .method-chain span::before {
    z-index: 1;
    width: .75rem;
    aspect-ratio: 1;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: #edcab4;
    content: "";
  }
  .method-chain span:first-child::before { background: currentColor; }
  .method-chain span + span::after {
    position: absolute;
    inset-inline: -50% 50%;
    top: .32rem;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .roadmap-section { background: #dafa9c; color: #151810; }
  .roadmap-section .roadmap { padding-block: clamp(3rem, 6vw, 6rem); }
  .roadmap-section .baseline-links { display: grid; margin-top: 1.25rem; }
  .baseline-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3rem;
    border-block-start: 1px solid #6c7955;
    color: #151810;
    font-weight: 650;
  }
}

@media screen and (max-width: 58rem) {
  .hero-interior { gap: 1.75rem; }
  .hero h1 { font-size: clamp(2.9rem, 6.6vw, 4.3rem); }
}

@media screen and (max-width: 48rem) {
  .hero-interior { grid-template-columns: minmax(0, 1fr); padding-block: 2rem 1.2rem; gap: 1.2rem; }
  .hero .lede { margin-top: .75rem; }
  .hero .hero-actions { margin-top: 1rem; }
  .handshake-stage { min-height: clamp(13.5rem, 32vw, 21rem); padding: .85rem; }
  .handshake-stage .hero-art { object-position: 50% 57%; }
  .handshake-stage::before { inset: .6rem auto auto .6rem; }
  .handshake-stage::after { inset: auto .6rem .6rem auto; }
  .handshake-window { padding: .65rem .75rem .7rem; }
  .hero-key .scope-strip { padding-block: .85rem; gap: .45rem 1rem; }
  .hero-key .scope-label, .hero-key .scope-path, .hero-key .scope-caption { font-size: .8rem; }
  .hero-key .scope-caption { flex-basis: 100%; }
  .assessment-section .section-intro p { max-width: 38ch; }
  .methodology-band .methodology-intro { grid-template-columns: minmax(0, 1fr); }
}

@media screen and (max-width: 39rem) {
  .hero h1 { font-size: clamp(2.1rem, 8.9vw, 3.45rem); }
  .hero .hero-actions { width: 100%; }
  .hero-choice .button { width: 100%; }
  .hero-choice-help { font-size: .8rem; }
  .methodology-band .methodology-details { grid-template-columns: minmax(0, 1fr); }
  .methodology-band .method-graphic { min-height: 8rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .baseline-links a span { transition: transform .2s ease-out; }
  .baseline-links a:hover span { transform: translate(.15rem, -.15rem); }

}

@media print {
  .methodology-band { display: none !important; }
}
