.contact-lab-shell { border: 1px solid var(--line); background: var(--panel); }
.contact-lab-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px 27px; }
.contact-lab-heading h3 { font-size: 22px; margin-top: 5px; }
.contact-lab-open { flex-shrink: 0; color: var(--accent); font: 12px/1.6 var(--mono); text-decoration: underline; text-underline-offset: 4px; }
.contact-lab-open span { margin-left: 8px; }
.contact-lab-frame { display: block; width: 100%; height: 820px; border: 0; background: #eeebe3; }
.contact-lab-caption { padding: 18px 27px; font-size: 13px; line-height: 1.8; }
.contact-lab-scope { font-size: 13px; margin-top: 18px; }
.contact-lab-scope strong, .contact-research strong, .hypothesis-tests strong { color: var(--ink); font-weight: 500; }
.contact-research { margin-top: 58px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-research > h3 { font: 36px/1.2 var(--serif); margin: 12px 0 19px; letter-spacing: -.02em; }
.research-intro { max-width: 850px; font-size: 17px; }
.representation-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); margin-top: 28px; }
.representation-roles article { padding: 25px; background: #161b18; }
.representation-roles article + article { border-left: 1px solid var(--line); }
.representation-roles article > span { font: 11px/1.6 var(--mono); letter-spacing: .05em; color: var(--cyan); }
.contact-research h4 { font-size: 19px; font-weight: 500; line-height: 1.4; margin: 12px 0; color: var(--ink); }
.representation-roles p, .research-highlights p, .equation-card p { font-size: 14px; line-height: 1.8; }
.contact-research .small-note { margin-top: 17px; }
.research-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.research-highlights h4 { color: var(--accent); }
.research-equations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.equation-card { padding: 26px; background: #161a16; border: 1px solid var(--line); min-width: 0; }
.equation-card p.eyebrow { font: 11px/1.6 var(--mono); color: var(--accent); }
.equation-scroll { overflow-x: auto; overflow-y: hidden; margin: 20px 0; padding: 14px 5px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--cyan); scrollbar-width: thin; }
.equation-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.equation-scroll math { font-size: 1.25rem; margin: 0; }
.equation-card p + p { margin-top: 12px; }
.research-physics { margin-top: 27px; font-size: 15px; }
.research-hypothesis strong { font-weight: inherit; }
.hypothesis-tests { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 25px; }
.hypothesis-tests p { font-size: 14px; }
footer .copyright a { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
footer .copyright a:hover { color: var(--accent); }
@media (max-width: 1000px) {
  .representation-roles article { padding: 20px; }
  .research-highlights { gap: 24px; }
  .equation-card { padding: 22px; }
}
@media (max-width: 700px) {
  .contact-lab-heading { display: block; padding: 20px; }
  .contact-lab-heading h3 { font-size: 20px; }
  .contact-lab-open { display: inline-block; margin-top: 13px; }
  .contact-lab-caption { padding: 17px 20px; }
  .contact-lab-frame { height: 1380px; }
  .contact-research { margin-top: 37px; }
  .contact-research > h3 { font-size: 30px; }
  .research-intro { font-size: 16px; }
  .representation-roles, .research-highlights, .research-equations, .hypothesis-tests { grid-template-columns: 1fr; }
  .representation-roles article + article { border-left: 0; border-top: 1px solid var(--line); }
  .research-highlights { gap: 13px; }
  .research-equations { gap: 16px; }
  .equation-card { padding: 20px; }
  .equation-scroll math { font-size: 1.1rem; }
  .hypothesis-tests { gap: 16px; }
}
