@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('./fonts/manrope-latin.woff2') format('woff2');
}

:root {
  font-family: Manrope, system-ui, sans-serif;
  color: #202e3c;
  background: #f8f9f7;
  font-synthesis: none;
  /* Matches the browser-decoded monitor border at the video handoff. */
  --lab-background: #203340;
  --toolbar-height: 72px;
  --toolbar-clearance: calc(var(--toolbar-height) + 24px);
  --ink: #202e3c;
  --muted: #606d77;
  --brand: #425e7c;
  --line: #d7dedc;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--toolbar-clearance); scrollbar-gutter: stable; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a[href], button { cursor: pointer; }
a[aria-disabled="true"] { cursor: default; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #577b99; outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { color: #142733; background: #c8dfe6; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 90px; padding: 0 clamp(24px, 4vw, 72px); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 600; letter-spacing: -.8px; }
.wordmark img { width: 23px; height: 36px; }
.site-footer a[href]:hover { color: #56779a; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1 { margin-bottom: 17px; font-size: clamp(48px, 5.5vw, 78px); line-height: 1.06; letter-spacing: -.065em; }
.section-wrap { max-width: 1260px; margin: auto; padding-left: clamp(24px, 5vw, 70px); padding-right: clamp(24px, 5vw, 70px); }
.platform { padding-top: 118px; padding-bottom: 118px; }
.section-heading { max-width: 710px; }
h2 { margin-bottom: 25px; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.13; letter-spacing: -.055em; }
.platform .section-heading { min-width: 0; }
.platform .section-heading h2 { font-size: clamp(28px, 7vw, 36px); line-height: 1.18; letter-spacing: -.04em; margin-bottom: 20px; }
.platform-phrase { display: block; text-wrap: balance; }
.platform-phrase + .platform-phrase { margin-top: .3em; }
.bisque-gradient { background: linear-gradient(90deg, #8ebbde, #d1a6bd); background-clip: text; -webkit-background-clip: text; color: transparent; }
.section-heading > p:last-child { max-width: 530px; font-size: 16px; line-height: 1.85; color: var(--muted); }
.platform-tour { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 68px; margin-top: 60px; align-items: center; }
.tour-steps { display: grid; }
.tour-step { width: 100%; display: grid; grid-template-columns: 30px 1fr 20px; gap: 12px; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 27px 0; text-align: left; }
.tour-step:last-child { border-bottom: 1px solid var(--line); }
.step-number { margin-top: 6px; font-size: 10px; color: #7a8691; }
.tour-step strong { font-size: 20px; font-weight: 500; letter-spacing: -.7px; }
.step-description { display: block; margin-top: 14px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.tour-step[aria-selected="false"] .step-description { display: none; }
.tour-step[aria-selected="false"] strong { color: #74808a; }
.tour-step[aria-selected="true"] { border-top-color: #3e617d; }
.step-arrow { padding-top: 3px; color: #5a7790; }
.tour-step[aria-selected="false"] .step-arrow { opacity: .35; }
.tour-visual { padding: 34px 28px 14px; background: #e9edef; border-radius: 6px; min-width: 0; }
.illustration-window { background: #fcfdfc; border: 1px solid #d6dce2; border-radius: 8px; box-shadow: 0 10px 25px #2033430c; overflow: hidden; }
.tour-panel img { display: block; width: 100%; height: auto; }
.site-footer { display: flex; align-items: center; gap: 36px; padding-top: 52px; padding-bottom: 52px; }
.site-footer p { font-size: 11px; color: #7a8690; margin: 0; }
.site-footer nav { margin-left: auto; display: flex; gap: 24px; font-size: 11px; }
@media (max-width: 1000px) {
  .platform-tour { gap: 32px; }.tour-visual { padding: 24px 18px 14px; }
  .site-footer { flex-wrap: wrap; }.site-footer nav { width: 100%; margin: 0; }
}
@media (max-width: 740px) {
  .site-header { height: 76px; padding: 0 24px; }.wordmark { font-size: 23px; }.wordmark img { width: 20px; height: 32px; }
  h1 { font-size: clamp(43px, 9vw, 65px); }
  .section-wrap { padding-left: 25px; padding-right: 25px; }.platform { padding-top: var(--toolbar-clearance); padding-bottom: 75px; }
  .section-heading > p:last-child { font-size: 14px; }
  .platform-tour { grid-template-columns: 1fr; gap: 32px; margin-top: 38px; }.tour-step { padding: 23px 0; }.step-description { max-width: 450px; }
  .tour-visual { max-width: 560px; width: 100%; justify-self: center; }.tour-steps { min-height: 314px; }
  .site-footer { gap: 22px; padding-top: 35px; padding-bottom: 35px; }.site-footer nav { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 740px) {
  .platform-tour { display: flex; flex-direction: column; }
  .tour-visual { order: -1; }
  .tour-steps { width: 100%; }
}
.site-header { position: fixed; background: transparent; transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease; }
.site-header.is-scrolled { color: #f7fafb; background: #203240f2; backdrop-filter: blur(14px); box-shadow: 0 1px 0 #ffffff16; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
@media (max-height: 520px) {
  .site-header { height: 64px; }
}
.site-header { height: 60px; gap: 18px; padding-inline: clamp(18px, 3vw, 48px); }
.site-header .wordmark { gap: 8px; font-size: 21px; }
.site-header .wordmark img { width: 18px; height: 28px; }
@media (max-width: 740px) {
  .site-header { height: 54px; gap: 10px; padding-inline: 16px; }
  .site-header .wordmark { font-size: 19px; gap: 6px; }
  .site-header .wordmark img { width: 16px; height: 25px; }
}
.opening-story { background: var(--lab-background); }
.opening-story .platform { color: #f3f6f8; --line: #ffffff30; }
.opening-story .section-heading > p:last-child,
.opening-story .step-description { color: #bacbd7; }
.opening-story .step-number,
.opening-story .step-arrow,
.opening-story .tour-step[aria-selected="false"] strong { color: #a8bfce; }
.opening-story .tour-step { color: inherit; }
.opening-story .tour-step[aria-selected="true"] { border-top-color: #b6d2e5; }
.opening-story .tour-visual { background: var(--lab-background); }
.opening-story .illustration-window { color: var(--ink); }

@media (min-width: 741px) {
  .platform { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: clamp(32px, 5vw, 68px); row-gap: 24px; align-items: start; }
  .platform > .section-heading { grid-column: 2; grid-row: 1; }
  .platform .platform-tour { display: contents; }
  .platform .tour-visual { grid-column: 1; grid-row: 1 / span 2; align-self: center; padding-inline: 0; }
  .platform .tour-steps { grid-column: 2; grid-row: 2; }
  .platform .section-heading h2 { font-size: clamp(26px, 2.4vw, 34px); }
}
/* Use the extra room on large displays without crowding shorter laptops. */
@media (min-width: 1440px) and (min-height: 900px) {
  .platform { width: 100%; max-width: min(94vw, 1800px); column-gap: clamp(68px, 4.5vw, 96px); }
  .platform .section-heading h2 { font-size: clamp(34px, 2.4vw, 46px); }
  .platform .section-heading > p:last-child { max-width: none; font-size: clamp(16px, 1.05vw, 19px); }
  .platform .tour-step strong { font-size: clamp(20px, 1.35vw, 25px); }
  .platform .step-description { font-size: clamp(13px, .9vw, 16px); }
}
@media (min-width: 741px) and (max-height: 850px) {
  .platform { row-gap: 16px; }
  .platform .section-heading > p:last-child { font-size: 14px; line-height: 1.7; margin-bottom: 0; }
  .platform .tour-step { padding-block: 18px; }
  .platform .step-description { margin-top: 10px; line-height: 1.7; }
}
.opening-story { overflow-anchor: none; }
* { box-sizing: border-box; }
body { margin: 0; color: #263745; background: #dce6e8; font-family: Manrope, sans-serif; }
.lab-title { position: absolute; top: 12%; left: 0; width: 100%; text-align: center; pointer-events: none; opacity: 1; }
h1 { font-size: clamp(28px, 4.6vw, 68px); font-weight: 500; letter-spacing: -.065em; line-height: 1.08; margin: 0; }
.lab-controls { position: relative; text-align: center; padding: 14px 20px 20px; }
.lab-controls p { font-size: 13px; margin: 0 0 14px; }
.object-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
button { min-height: 44px; border: 1px solid #26374538; border-radius: 24px; padding: 10px 18px; color: inherit; background: #ffffff65; font: inherit; font-size: 12px; cursor: pointer; }
button:hover, button[aria-pressed="true"] { background: var(--lab-background); color: #fff; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible { outline: 3px solid #537e9a; outline-offset: 3px; }
.object-controls button span { margin-left: 6px; }
[hidden] { display: none !important; }
.lab-intro { height: 100dvh; min-height: 560px; }
.lab-pin { position: sticky; top: 0; height: 100dvh; min-height: 560px; overflow: hidden; isolation: isolate; background: var(--lab-background); }
.lab-stage { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; aspect-ratio: auto; margin: 0; overflow: hidden; }
.lab-title h1 { font-size: clamp(30px, 4.6vw, 68px); }
.lab-controls { position: absolute; inset: auto 0 14px; margin: 0; z-index: 2; }
.object-controls button { border: 0; border-radius: 0; background: none; padding: 8px 16px; text-decoration: underline; text-underline-offset: 4px; }
.object-controls button:hover { color: #425e7c; background: none; }
.lab-scroll-active .lab-intro { height: 360dvh; }
.lab-scroll-active .platform { position: relative; z-index: 3; margin-top: -100dvh; opacity: 0; transform: translateY(-260dvh); }
.lab-story.lab-desktop .platform { min-height: 100dvh; align-content: center; padding-top: var(--toolbar-clearance); padding-bottom: 40px; }
/* Fast scroll gestures must not reveal later sections before the handoff. */
.lab-scroll-active ~ section,
main:has(.lab-scroll-active) + .site-footer { visibility: hidden; }
.lab-scroll-complete .platform { margin-top: 0; }
.lab-scroll-complete .lab-pin { position: relative; }
.lab-handoff { position: fixed; z-index: 5; overflow: hidden; pointer-events: none; background: var(--lab-background); }
.lab-handoff img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lab-story { overflow-anchor: none; }
@media (max-width: 740px) {
  .lab-title { top: 14%; }
  .lab-title h1 { font-size: clamp(27px, 7.3vw, 40px); }
  .lab-controls { bottom: 24px; padding-inline: 12px; }
  .lab-controls p { font-size: 11px; }
  .lab-scroll-active .lab-intro { height: 290dvh; }
}
.lab-render { position: absolute; inset: 0; overflow: hidden; background: #dce6e8; touch-action: pan-y; }
.lab-image-plane { visibility: visible; position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.lab-opening { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.lab-glows { position: absolute; inset: 0; pointer-events: none; }
.lab-object-glow { position: absolute; max-width: none; opacity: 0; transition: opacity 180ms ease; }
.lab-stage .lab-object-glow.is-hovered { opacity: 1; }
.lab-scroll-active .lab-image-plane { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .lab-object-glow { transition: none; } }

.lab-screen-page { display: none; position: absolute; max-width: none; object-fit: cover; pointer-events: none; transition: opacity 120ms linear; }

.lab-scroll-movie { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.lab-scroll-movie.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lab-screen-page { transition: none; } }
.lab-controls { pointer-events: none; }
.object-controls button { pointer-events: auto; }
.lab-stage.is-ready + .lab-controls #lab-help {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
html.lab-scroll-locked { overflow: hidden; overscroll-behavior: none; background: var(--lab-background); }
.lab-toolbar {
  visibility: hidden; opacity: 0; transform: translate3d(0, calc(-100% - 8px), 0); pointer-events: none;
  transition: transform 560ms cubic-bezier(.22, 1, .36, 1), opacity 360ms ease-out, visibility 0s 560ms;
}
.lab-toolbar.is-visible { visibility: visible; opacity: 1; transform: translate3d(0, 0, 0); pointer-events: auto; transition-delay: 0s; }
.lab-toolbar .toolbar-button { opacity: 1; }
.lab-toolbar .toolbar-button:disabled:hover { color: inherit; background: #ffffff0c; }
@media (prefers-reduced-motion: reduce) { .lab-toolbar { transition: none; } }
.lab-render::before { content: ''; position: absolute; inset: -36px; background: linear-gradient(#dce6e833, #dce6e833), var(--lab-surround-image) center / cover no-repeat; filter: blur(24px); pointer-events: none; }
.lab-image-plane { mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent), linear-gradient(to bottom, transparent, black 48px, black calc(100% - 48px), transparent); mask-composite: intersect; }
.lab-controls.lab-accessibility-controls {
  position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}


.lab-render { --lab-surround-image: url('./media/opening.webp'); }

/* Leave room above the monitor in the closer, landscape opening. */
@media (min-width: 741px) and (min-aspect-ratio: 17/10) {
  .lab-title { top: 6%; }
}

/* Center the lab destinations independently of the corner brand. */
.site-header.lab-toolbar { height: var(--toolbar-height); padding-inline: 32px; justify-content: center; }
.lab-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; height: 100%; font-size: 16px; font-weight: 700; line-height: 16px; }
.lab-navigation a, .lab-menu-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; white-space: nowrap; }
.lab-navigation a[href]:hover, .lab-menu-links a[href]:hover { color: #c3d9ee; }
.lab-navigation a:focus-visible, .lab-menu-links a:focus-visible { outline-offset: 3px; border-radius: 3px; }
.lab-toolbar > .wordmark { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); gap: 8px; font-size: 24px; }
.lab-toolbar > .wordmark img { width: 20px; height: 32px; }
.lab-github { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.lab-github[href]:hover { color: #c3d9ee; }
.lab-github:focus-visible { outline-offset: 3px; border-radius: 3px; }
.lab-menu { display: none; font-size: 16px; line-height: 16px; }
.lab-menu summary { display: flex; align-items: center; min-height: 40px; list-style: none; cursor: pointer; }
.lab-menu summary::-webkit-details-marker { display: none; }
.lab-menu-links { position: absolute; inset: calc(100% + 8px) 16px auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; padding: 12px; border: 1px solid #ffffff26; border-radius: 8px; background: var(--lab-background); box-shadow: 0 8px 24px #14212d30; }
@media (max-width: 900px) {
  .site-header.lab-toolbar { justify-content: flex-end; padding-inline: 24px; }
  .lab-toolbar > .wordmark { left: 24px; }
  .lab-navigation, .lab-github { display: none; }
  .lab-menu { display: block; }
}

/* Soften the room behind the headline without blurring the lettering. */
.lab-stage::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  height: var(--lab-wash-height, 32vh); pointer-events: none;
  background: linear-gradient(to bottom, #f9fbfaf0, #f9fbfac4 40%, #f9fbfa60 72%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, black 30%, transparent);
  opacity: var(--lab-title-opacity, 1);
}
.lab-title { z-index: 2; }


/* Phones keep the toolbar over the opening; start the headline below it. */
@media (max-width: 740px) {
  .lab-title { top: max(14%, calc(var(--toolbar-height) + 20px)); }
}
/* Landscape phones: fit the whole lab in the short viewport. */
@media (pointer: coarse) and (max-height: 540px) {
  .lab-intro, .lab-pin { min-height: 0; }
  .lab-title { top: calc(var(--toolbar-height) + 10px); }
  .lab-title h1 { font-size: clamp(22px, 7vh, 30px); }
  .lab-title br { display: none; }
}
