/* 10 — research is shown as a path from company work to specialized models. */
.r2-lab__grid { gap: clamp(3rem, 5vw, 6rem); }
.r2-lab__body .r2-copy h2 { max-width: 12ch; font-size: clamp(3.7rem, 5.4vw, 6rem); letter-spacing: -.045em; }
.lab-method { min-width: 0; padding: clamp(1.1rem, 2vw, 2rem); color: var(--paper); background: #153e3e; border-top: 3px solid var(--cyan); }
.lab-method__head, .lab-method__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 650 .69rem/1.3 "Geist Mono", monospace; letter-spacing: .02em; }
.lab-method__head { padding-bottom: 1.3rem; border-bottom: 1px solid rgba(241,232,216,.4); }
.lab-method__inputs { display: grid; gap: .55rem; margin-top: 1.1rem; }
.lab-method__inputs > div { display: grid; grid-template-columns: minmax(7rem, .75fr) minmax(0, 1.25fr); align-items: baseline; gap: .8rem; min-height: 4.3rem; padding: .8rem 0; border-bottom: 1px solid rgba(241,232,216,.4); }
.lab-method small { display: block; font: 650 .65rem/1.3 "Geist Mono", monospace; letter-spacing: .02em; }
.lab-method__inputs strong { font: 600 clamp(1.15rem, 1.55vw, 1.7rem)/1.13 "Instrument Sans", sans-serif; letter-spacing: -.03em; }
.lab-method__connector { display: flex; justify-content: center; height: 2.6rem; }
.lab-method__connector span { position: relative; display: block; width: 1px; height: 100%; background: var(--yellow); }
.lab-method__connector span::after { content: ""; position: absolute; bottom: 0; left: -4px; width: 9px; height: 9px; border-right: 1px solid var(--yellow); border-bottom: 1px solid var(--yellow); transform: rotate(45deg); }
.lab-method__output { padding: 1.3rem; color: var(--carbon); background: var(--yellow); }
.lab-method__output strong { display: block; max-width: 14ch; margin: .9rem 0; font: 650 clamp(2.3rem, 3.2vw, 3.7rem)/.95 "Instrument Sans", sans-serif; letter-spacing: -.04em; }
.lab-method__output p { max-width: 28rem; margin: 0; font-size: .97rem; line-height: 1.35; }
.lab-method__foot { justify-content: flex-start; flex-wrap: wrap; margin-top: 1.2rem; font-size: .65rem; }
.lab-method__foot i { width: 1.5rem; height: 1px; background: var(--paper); }

/* 11 — visitors can see the work each research line is intended to support. */
.r2-finale__grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(3rem, 5vw, 6rem); }
.r2-finale h2 { max-width: 11ch; font-size: clamp(3.7rem, 5.5vw, 6rem); letter-spacing: -.045em; }
.models-explorer { min-width: 0; padding: clamp(1rem, 2vw, 1.8rem); color: var(--paper); background: var(--carbon); box-shadow: 1rem 1rem 0 rgba(11,11,10,.23); }
.models-explorer__head, .models-explorer__foot, .models-explorer__example-head, .models-explorer__roles small { font: 650 .68rem/1.3 "Geist Mono", monospace; letter-spacing: .02em; }
.models-explorer__head, .models-explorer__example-head { display: flex; justify-content: space-between; gap: 1rem; }
.models-explorer__head { padding-bottom: 1rem; border-bottom: 1px solid rgba(241,232,216,.4); }
.models-explorer__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin: 1rem 0; }
.models-explorer__choices button { min-width: 0; min-height: 2.7rem; padding: .5rem .65rem; border: 1px solid rgba(241,232,216,.55); color: var(--paper); background: transparent; font: 650 clamp(.78rem, 1vw, .97rem)/1.1 "Instrument Sans", sans-serif; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.models-explorer__choices button:hover { border-color: var(--yellow); }
.models-explorer__choices button[aria-pressed="true"] { color: var(--carbon); background: var(--yellow); border-color: var(--yellow); }
.models-explorer__choices button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.models-explorer__example { min-height: 19.5rem; padding: clamp(1rem, 1.7vw, 1.6rem); color: var(--carbon); background: var(--paper); }
.models-explorer__example h3 { max-width: 21ch; min-height: 5.5rem; margin: 1.2rem 0 1.4rem; font: 650 clamp(1.8rem, 2.6vw, 2.85rem)/1.02 "Instrument Sans", sans-serif; letter-spacing: -.04em; }
.models-explorer__roles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.models-explorer__roles > div { padding-top: .8rem; border-top: 1px solid var(--carbon); }
.r2-finale__grid .models-explorer__roles p { margin: .55rem 0 0; font-size: clamp(.9rem, 1.1vw, 1.08rem); line-height: 1.28; }
.models-explorer__foot { padding-top: 1rem; }
@media (max-width: 1000px) {
  .r2-lab__grid, .r2-finale__grid { grid-template-columns: 1fr; }
  .r2-lab__body .r2-copy h2, .r2-finale h2 { max-width: 14ch; }
  .lab-method, .models-explorer { max-width: 48rem; }
}
@media (max-width: 700px) {
  .r2-lab__grid, .r2-finale__grid { gap: 3rem; }
  .r2-lab__body .r2-copy h2, .r2-finale h2 { font-size: clamp(3rem, 11vw, 4.7rem); letter-spacing: -.04em; }
  .lab-method__head, .models-explorer__head { font-size: .62rem; }
  .lab-method__inputs > div { grid-template-columns: 1fr; gap: .35rem; }
  .lab-method__inputs strong { font-size: 1.18rem; }
  .lab-method__output strong { font-size: 2.55rem; }
  .models-explorer { margin-right: .6rem; padding: 1rem; box-shadow: .6rem .6rem 0 rgba(11,11,10,.23); }
  .models-explorer__choices button { font-size: .84rem; }
  .models-explorer__example { min-height: 23rem; }
  .models-explorer__example h3 { min-height: 6.2rem; font-size: 1.85rem; }
  .models-explorer__roles { grid-template-columns: 1fr; gap: .8rem; }
  .r2-finale__grid .models-explorer__roles p { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  .models-explorer__choices button { transition: none; }
}
