/* Work with us: the brand lab. Tokens from style.css; one column, photos and renders do the talking. */
.lab-page .container { max-width: 1120px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
.lab-tag { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 18px; }
.lab-page h1, .lab-page h2 { font-weight: 300; letter-spacing: -.02em; line-height: 1.02; margin: 0 0 16px; text-wrap: balance; }
.lab-page h1 { font-size: clamp(44px, 7vw, 88px); }
.lab-page h2 { font-size: clamp(30px, 4vw, 48px); }
.lab-hero { padding: 88px 0 0; }
.lab-hero p:not(.lab-tag) { max-width: 52ch; color: var(--text-muted); font-size: 17px; line-height: 1.6; margin: 0 0 48px; }
.lab-hero__img { display: block; width: 100%; height: auto; max-height: 78vh; aspect-ratio: 16 / 9; object-fit: cover; }

.lab { padding: 96px 0 24px; }
.lab-head p:not(.lab-tag) { color: var(--text-muted); max-width: 52ch; line-height: 1.6; margin: 0 0 28px; }
.lab-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--bg-card); }
#lab-canvas { display: block; width: 100%; height: min(68vh, 640px); cursor: grab; touch-action: pan-y; }
#lab-canvas:active { cursor: grabbing; }
.lab-panel { display: grid; align-content: start; gap: 22px; padding: 24px; border-left: 1px solid var(--border); }
.lab-group { display: grid; gap: 10px; }
.lab-label { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
.lab-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lab-chips button { font: inherit; font-size: 13px; color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.lab-chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.lab-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--c); cursor: pointer; padding: 0; }
.lab-swatches button[aria-pressed="true"] { outline: 2px solid var(--text); outline-offset: 2px; }
.lab-panel input { font: inherit; font-size: 15px; color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: 10px; height: 42px; padding: 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.lab-panel input:focus, .lab button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.lab--nogl .lab-stage { display: none; }

.lab-band { padding: 88px 0; }
.lab-band + .lab-band { border-top: 1px solid var(--border); }
.lab-concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.lab-concepts figure { margin: 0; display: grid; gap: 12px; }
.lab-concepts img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.lab-concepts figcaption { color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.lab-concepts b { color: var(--text); font-weight: 500; }
.lab-note { color: var(--text-muted); font-size: 12px; margin: 22px 0 0; }
.lab-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.lab-ways h3 { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.lab-ways p { color: var(--text-muted); font-size: 15px; line-height: 1.55; margin: 0; }
.lab-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: 32px; }
.lab-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.lab-photos img:first-child { aspect-ratio: auto; }
.lab-contact { text-align: center; }
.lab-contact p { color: var(--text-muted); max-width: 46ch; margin: 0 auto 28px; line-height: 1.6; }
.lab-cta { display: inline-flex; }

@media (max-width: 900px) {
  .lab-stage { grid-template-columns: minmax(0, 1fr); }
  .lab-panel { border-left: 0; border-top: 1px solid var(--border); }
  #lab-canvas { height: 58vh; }
  .lab-concepts, .lab-ways { grid-template-columns: minmax(0, 1fr); }
  .lab-photos { grid-template-columns: 1fr 1fr; }
  .lab-photos img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
}
html.lab-still .avanav, html.lab-still .lab-hero, html.lab-still .lab-head, html.lab-still .lab-panel, html.lab-still .lab-band, html.lab-still .footer { display: none !important; }
html.lab-still .lab { padding: 0; } html.lab-still .lab .container { max-width: none; padding: 0; } html.lab-still .lab-stage { display: block; border: 0; border-radius: 0; }
html.lab-still #lab-canvas { width: 100vw; height: 100vh; }
