:root { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #f7f6f0; color: #192b25; font: 15px/1.65 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.site-skip { position: fixed; top: 10px; left: 10px; z-index: 3; padding: 8px 12px; transform: translateY(-180%); background: #fff; }
.site-skip:focus { transform: none; }
.lab-masthead { color: #f4f4e8; background: #101f1a; overflow: hidden; }
.lab-masthead-content { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); min-height: 506px; position: relative; isolation: isolate; align-items: center; padding-block: 70px; }
.lab-masthead h1 { font: 500 clamp(48px, 6.4vw, 96px)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.059em; }
.lab-masthead h1 em { color: #d0dfbc; font-weight: inherit; }
.lab-masthead p { max-width: 34em; margin-top: 25px; color: #c6d4c9; font-size: 15px; line-height: 1.85; }
.lab-cta { display: inline-flex; align-items: center; gap: 16px; min-height: 46px; margin-top: 23px; padding: 5px 13px; border: 1px solid #6b8270; border-radius: 7px; font-size: 14px; font-weight: 660; }
.lab-cta:hover { background: #274236; }
.lab-masthead-image { position: absolute; inset: 0 -40px 0 40%; z-index: -1; overflow: hidden; }
.lab-masthead-image img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 52%; display: block; filter: saturate(.76) hue-rotate(-12deg); opacity: .83; }
.lab-masthead-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#101f1a 1%,#101f1a91 28%,transparent 67%),linear-gradient(0deg,#101f1ac7,transparent 24%),linear-gradient(270deg,#101f1aa0,transparent 22%); }
.lab-masthead-image figcaption { position: absolute; z-index: 1; bottom: 19px; right: 40px; font-size: 11px; color: #d4ded0; }
.lab-projects { padding-block: 46px 66px; scroll-margin: 16px; }
.lab-projects h2 { font-size: 28px; font-weight: 680; margin-bottom: 18px; }
.lab-project { display: grid; grid-template-columns: minmax(112px,.27fr) 1.5fr minmax(100px,.32fr); align-items: center; gap: 17px; padding: 23px 10px; border-top: 1px solid #d7ddd1; }
.lab-project:last-child { border-bottom: 1px solid #d7ddd1; }
.lab-project-type { color: #456352; font-size: 13px; font-weight: 640; }
.lab-project h3 { font-size: clamp(22px,3vw,32px); letter-spacing: -.025em; line-height: 1.25; }
.lab-project p { max-width: 46em; margin-top: 6px; color: #4d6056; font-size: 14px; }
.lab-project-action { justify-self: end; color: #225442; font-size: 14px; font-weight: 680; white-space: nowrap; }
.lab-project-action span { margin-left: 5px; }
.lab-project:hover { background: #ecefe5; }
.lab-project:hover .lab-project-action { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .lab-masthead-content { min-height: 430px; grid-template-columns: minmax(0,1.5fr) 1fr; padding-block: 44px; }
  .lab-masthead-image { inset-inline-start: 30%; right: -24px; }
  .lab-masthead-image figcaption { right: 24px; }
}
@media (max-width: 610px) {
  .lab-masthead-content { display: block; min-height: 0; padding-block: 39px 24px; }
  .lab-masthead h1 { font-size: clamp(38px,10.4vw,59px); }
  .lab-masthead p { margin-top: 17px; }
  .lab-cta { margin-top: 16px; }
  .lab-masthead-image { position: relative; inset: auto; aspect-ratio: 2.25; margin-top: 14px; border-radius: 9px; }
  .lab-masthead-image::after { background: linear-gradient(0deg,#101f1ae0,transparent 40%); }
  .lab-masthead-image figcaption { right: 9px; bottom: 7px; }
  .lab-projects { padding-block: 30px 44px; }
  .lab-project { grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding-inline: 4px; }
  .lab-project-type { grid-column: 1 / -1; }
  .lab-project-action { align-self: start; }
}
@media (max-width: 360px) { .lab-project { grid-template-columns: minmax(0,1fr); } .lab-project-action { justify-self: start; } }
