/* Author: Gildas Guefack. MadeleineCrush interactive app atelier. */
:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --ink: #1d2121;
  --muted: #626763;
  --rule: #d9d7cf;
  --accent: #c67e55;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #7650b5;
  outline-offset: 4px;
}
button {
  border: 0;
}
button,
input,
select {
  min-height: 44px;
}
button[hidden],
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -80px;
  left: 12px;
  padding: 16px;
  background: white;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.lab-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  height: 91px;
  margin: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  gap: 16px;
}
.lab-header{margin:0;padding:0 4vw}
.lab-site-nav{display:flex;align-items:center;gap:22px}
.lab-site-nav a{display:flex;align-items:center;min-height:44px;text-decoration:none;font-size:12px;font-weight:600}
.lab-site-nav a:hover{text-decoration:underline;text-underline-offset:6px}
.lab-site-menu{display:none;position:relative}
.lab-site-menu summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 14px;border:1px solid #bdb5c5;border-radius:4px;cursor:pointer;list-style:none;font-size:13px;font-weight:600}
.lab-site-menu summary::-webkit-details-marker{display:none}
.lab-site-menu[open] summary span{transform:rotate(45deg)}
.lab-site-menu summary:focus-visible{outline:2px solid #786098;outline-offset:3px}
.lab-site-menu nav{position:absolute;top:calc(100% + 12px);right:0;width:min(330px,90vw);max-height:calc(100dvh - 90px);overflow:auto;padding:12px 20px;background:#fffefa;border:1px solid #d9d2df;box-shadow:0 18px 45px #241a3226;border-radius:5px}
.lab-site-menu nav a{display:flex;align-items:center;min-height:48px;border-bottom:1px solid #e5dfea;text-decoration:none;font-size:17px}
.lab-site-menu nav a:last-child{border-bottom:0}.lab-site-menu a[aria-current=page]{color:#7855a0}
html{scroll-padding-top:100px}
@media(max-width:1100px){.lab-site-nav{display:none}.lab-site-menu{display:block}}
.lab-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.4px;
  font-size: 17px;
}
.lab-brand img {
  object-fit: contain;
}
.brand-note {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
  font-weight: 400;
}
.project-link {
  font-size: 12px;
  text-decoration: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
.project-link span {
  font-size: 24px;
}
.lab-intro {
  margin: 40px 4vw 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.eyebrow {
  font:
    10px/1.5 Arial,
    sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0 0 18px;
}
.eyebrow > span:not(.status-dot) {
  margin-left: 20px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 1px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    clamp(40px, 4.7vw, 76px)/1.05 Georgia,
    serif;
  letter-spacing: -3px;
  margin: 0;
}
h1 em,
h2 em {
  font-weight: 400;
}
h1 em {
  color: #858779;
}
.intro-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 5px;
}
.gallery-toolbar {
  margin: 0 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.app-switcher {
  display: flex;
  gap: 26px;
}
.app-switcher button {
  border-bottom: 2px solid transparent;
  background: none;
  padding: 18px 0 16px;
  white-space: nowrap;
  font-size: 13px;
}
.app-switcher button span {
  font: 10px monospace;
  margin-right: 10px;
  color: var(--muted);
}
.app-switcher button[aria-pressed="true"] {
  border-color: var(--ink);
  font-weight: 600;
}
.motion-toggle {
  background: none;
  font-size: 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.motion-toggle span {
  margin-left: 9px;
}
.worlds {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  margin: 0 4vw;
  container-type: inline-size;
}
.worlds::-webkit-scrollbar {
  display: none;
}
.world {
  min-width: 0;
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(170px, 0.85fr) minmax(320px, 1.6fr) minmax(
      225px,
      1fr
    );
  gap: clamp(18px, 2.5vw, 40px);
  padding: 32px 1px 26px;
  align-items: center;
  position: relative;
}
.world-copy {
  align-self: center;
  min-width: 0;
}
.world-copy .eyebrow {
  font-size: 8px;
  letter-spacing: 1.2px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.world-copy h2 {
  font:
    clamp(34px, 4.1vw, 68px)/1.05 Georgia,
    serif;
  letter-spacing: -2.4px;
  margin-bottom: 24px;
}
.world-copy p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.85;
  max-width: 245px;
  color: #575d5b;
}
.ink-note {
  display: block;
  font:
    italic 16px/1.4 Georgia,
    serif;
  max-width: 220px;
  margin-top: 36px;
  transform: rotate(-4deg);
  color: #737765;
}
.scene {
  height: 420px;
  min-width: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 48% 48% 8px 8px / 10% 10% 2px 2px;
}
.scene-topline {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 1.1px;
  z-index: 3;
}
.scene-topline span:last-child {
  text-align: right;
  font-size: 8px;
  letter-spacing: 0.2px;
}
.weather-scene {
  background: #e5e8e0;
}
.village-art {
  position: absolute;
  inset: 0;
  background-image: url("app-lab/sakinna-asia.webp");
  background-size: 300% 100%;
  background-position: 0% 50%;
  transition:
    background-position 750ms ease,
    filter 900ms,
    transform 700ms;
  transform: scale(1.035);
}
[data-art="1"] .village-art {
  background-position: 50% 50%;
}
[data-art="2"] .village-art {
  background-position: 100% 50%;
}
.weather-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    #f5f2eb99,
    transparent 26%,
    transparent 65%,
    #f5f2eb 100%
  );
  pointer-events: none;
}
.sun-halo {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(#ffe3acaa, transparent 70%);
  mix-blend-mode: screen;
  animation: breathe 6s ease-in-out infinite;
}
.scene-japanese {
  position: absolute;
  top: 70px;
  left: 24px;
  font:
    30px/1.2 Georgia,
    serif;
  opacity: 0.65;
  z-index: 2;
}
.scene-shade {
  position: absolute;
  inset: 0;
  background: #1d3655;
  opacity: 0;
  transition: opacity 0.7s;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.precipitation {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.precipitation i {
  position: absolute;
  top: -10%;
  left: var(--x);
  height: 35px;
  width: 1px;
  background: #ddefff;
  animation: rainfall var(--speed) linear var(--delay) infinite;
}
.sky-controls {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.sky-controls button {
  background: #f9f7f0de;
  padding: 8px 12px;
  border: 1px solid #ffffff80;
  border-radius: 30px;
  font-size: 18px;
}
.sky-controls span {
  font-size: 10px;
  margin-left: 4px;
}
.sky-controls button[aria-pressed="true"] {
  background: #202826;
  color: white;
  border-color: #202826;
}
.art-change {
  position: absolute;
  right: 20px;
  bottom: 71px;
  z-index: 4;
  background: #f6f3ece8;
  border-radius: 30px;
  font-size: 10px;
  padding: 0 14px;
}
.art-change span {
  font-size: 15px;
  margin-left: 8px;
}
.weather-reading {
  position: absolute;
  right: 22px;
  top: 65px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  text-shadow: 0 1px 10px #fff;
  font-size: 10px;
  background: #f6f3ecdb;
  border-radius: 10px;
  padding: 12px;
  max-width: 65%;
}
.weather-reading strong {
  font:
    45px Georgia,
    serif;
  margin: 5px 0;
}
.weather-reading span {
  max-width: 100%;
  overflow-wrap: anywhere;
}
[data-weather="rain"] .precipitation,
[data-weather="snow"] .precipitation {
  opacity: 0.8;
}
[data-weather="rain"] .scene-shade {
  opacity: 0.3;
}
[data-weather="rain"] .sun-halo,
[data-weather="snow"] .sun-halo,
[data-weather="night"] .sun-halo {
  opacity: 0;
}
[data-weather="snow"] .village-art {
  filter: saturate(0.5) brightness(1.13);
}
[data-weather="snow"] .precipitation i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation-duration: calc(var(--speed) * 5);
  background: #fff;
}
[data-weather="night"] .scene-shade {
  opacity: 0.72;
}
[data-weather="night"] .village-art {
  filter: saturate(0.5);
}
[data-weather="night"] .scene-japanese,
[data-weather="night"] .scene-topline {
  color: white;
}
[data-weather="night"]:after {
  background: linear-gradient(transparent 70%, #f5f2ebaa);
}
.demo-console {
  min-width: 0;
  align-self: center;
}
.demo-console > .eyebrow {
  font-size: 8px;
  letter-spacing: 1.2px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #617764;
  margin-right: 6px;
  vertical-align: 1px;
}
.demo-console h3 {
  font:
    23px/1.2 Georgia,
    serif;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.demo-console label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  line-height: 1.5;
  margin: 14px 0 6px;
}
.demo-console input:not([type="range"]),
.demo-console select {
  display: block;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #acaea5;
  border-radius: 0;
  width: 100%;
  padding: 9px 0;
  color: var(--ink);
  font-size: 13px;
}
.demo-console input:invalid:not(:placeholder-shown) {
  box-shadow: none;
}
.action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 14px 18px;
  background: #202625;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  border-radius: 3px;
  width: 100%;
  margin-top: 16px;
  text-align: left;
}
.action span {
  font-size: 19px;
  line-height: 1;
}
.response {
  font-size: 11px;
  line-height: 1.65;
  margin: 12px 0;
  color: #555e5a;
  min-height: 36px;
  overflow-wrap: anywhere;
}
.response[data-error="true"] {
  color: #9b302c;
}
.fine-print {
  font-size: 9px;
  line-height: 1.65;
  color: #626763;
  margin: 14px 0 0;
}
.world-clock {
  display: flex;
  flex-direction: column;
  margin: 18px 0;
}
.world-clock time {
  font:
    48px/1 Georgia,
    serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
}
.world-clock span {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.weather-details {
  display: flex;
  gap: 14px;
  font-size: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.text-button {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0;
  font-size: 12px;
}
.check-scene {
  background: #efe7fa;
  border-radius: 50% 50% 48% 48%;
  overflow: visible;
}
.check-scene .scene-topline {
  top: 8px;
  left: 12px;
  right: 12px;
}
.check-orbit {
  position: absolute;
  inset: 15% -1%;
  border: 1px solid #b6a1d2;
  border-radius: 50%;
  transform: rotate(-24deg);
}
.check-orbit:before {
  content: "✦";
  position: absolute;
  right: 4%;
  top: 7%;
  font-size: 38px;
  color: #c86ea1;
}
.report-art {
  position: absolute;
  top: 53px;
  bottom: 30px;
  left: 15%;
  right: 15%;
  border: 1px solid #e6daef;
  background: #fffdfc;
  box-shadow:
    12px 18px 0 #cab7e34d,
    0 20px 60px #774c9920;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-5deg);
  transition: transform 0.7s;
}
.report-art img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}
.report-domain {
  font-size: 10px;
  margin: 13px 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-ring {
  width: 140px;
  height: 140px;
  border: 7px solid #efe4f9;
  border-top-color: #7e42c2;
  border-right-color: #d958a5;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.score-ring strong {
  font:
    62px/1 Georgia,
    serif;
  color: #7036a7;
}
.score-ring span {
  font-size: 8px;
  margin-top: 5px;
  color: #725b85;
}
.report-art p {
  font-size: 10px;
  text-align: center;
  line-height: 1.5;
  margin: 15px 0;
}
.signal-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.signal-tags span {
  font-size: 7px;
  border: 1px solid #ded2e8;
  border-radius: 20px;
  padding: 6px;
}
.floating-tag {
  position: absolute;
  padding: 12px 15px;
  font:
    italic 14px Georgia,
    serif;
  box-shadow: 0 3px 10px #39215412;
}
.tag-a {
  background: #ffe6f1;
  top: 90px;
  right: -3px;
  transform: rotate(8deg);
}
.tag-b {
  background: white;
  bottom: 56px;
  left: 0;
  transform: rotate(-9deg);
}
.sitecheck-world .action {
  background: #6d32ac;
}
.sitecheck-world .ink-note {
  color: #98608e;
}
.check-scene.is-checking .check-orbit {
  animation: orbit 8s linear infinite;
}
.check-scene.is-checking .report-art {
  transform: rotate(0deg);
}
.check-scene.has-report .report-art {
  transform: rotate(0deg);
}
.cheetah-scene {
  background: #fff;
  border-radius: 50% 50% 5px 5px / 10% 10% 2px 2px;
}
.cheetah-scene video {
  position: absolute;
  top: 15%;
  width: 100%;
  height: 65%;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}
.speed-aura {
  position: absolute;
  inset: 20% 0 5%;
  background: radial-gradient(ellipse at 50% 65%, #83e6e1aa, transparent 60%);
  opacity: 0;
  transition:
    opacity 0.5s,
    filter 0.5s;
}
.speed-lines {
  position: absolute;
  inset: 38% 0 20%;
  opacity: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 25px,
    #69cec833 26px 27px,
    transparent 28px 35px
  );
  transform: skewX(-30deg);
  animation: track 0.4s linear infinite;
}
.cheetah-touch {
  position: absolute;
  inset: 13% 3% 25%;
  width: 94%;
  z-index: 3;
  background: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding-bottom: 0;
}
.cheetah-touch span {
  font-size: 10px;
  padding: 9px 12px;
  background: #f4f0e7e6;
  border-radius: 30px;
  box-shadow: 0 1px 5px #0001;
}
.cheetah-touch span:last-child {
  display: none;
}
.pace-caption {
  position: absolute;
  bottom: 64px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pace-caption > span:first-child {
  font:
    italic 22px Georgia,
    serif;
}
.pace-kanji {
  font:
    38px Georgia,
    serif;
}
.pace-controls {
  position: absolute;
  bottom: 12px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 7px;
  z-index: 4;
}
.pace-controls button {
  background: #f4f2ec;
  border: 1px solid #e2e0d8;
  flex: 1;
  border-radius: 30px;
  font-size: 11px;
}
.pace-controls button[aria-pressed="true"] {
  background: #242827;
  color: white;
  border-color: #242827;
}
.dust {
  position: absolute;
  bottom: 28%;
  left: 10%;
  right: 15%;
  height: 30%;
  pointer-events: none;
  opacity: 0;
}
.dust i {
  position: absolute;
  left: 25%;
  bottom: 0;
  border-radius: 50%;
  width: 45px;
  height: 20px;
  background: radial-gradient(#d7a27766, transparent);
  animation: dust 1.4s ease-out infinite;
}
.dust i:nth-child(2) {
  animation-delay: 0.3s;
}
.dust i:nth-child(3) {
  animation-delay: 0.6s;
}
.dust i:nth-child(4) {
  animation-delay: 0.9s;
}
.dust i:nth-child(5) {
  animation-delay: 1.2s;
}
[data-pace="cruise"] .speed-aura {
  opacity: 0.45;
}
[data-pace="cruise"] .dust {
  opacity: 0.3;
}
[data-pace="sprint"] .speed-aura,
[data-pace="sprint"] .speed-lines,
[data-pace="sprint"] .dust {
  opacity: 1;
}
[data-pace="sprint"] .speed-aura {
  filter: hue-rotate(65deg);
}
#pace-range {
  width: 100%;
  accent-color: #272c2b;
  cursor: ew-resize;
}
.mini-metrics {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-block: 1px solid var(--rule);
  margin: 18px 0;
}
.mini-metrics span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  font-size: 9px;
}
.mini-metrics b {
  font-size: 23px;
  font-weight: 400;
}
.gallery-bottom {
  margin: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-block: 1px solid var(--rule);
  padding: 12px 0;
  font-size: 10px;
}
.gallery-bottom > a {
  text-decoration: none;
}
.gallery-arrows {
  display: flex;
  align-items: center;
  gap: 20px;
}
.gallery-arrows button {
  width: 44px;
  height: 44px;
  border: 1px solid #c2c5bc;
  border-radius: 50%;
  background: none;
  font-size: 21px;
}
.gallery-arrows button:hover {
  background: #202625;
  color: white;
}
.gallery-arrows span {
  font: 10px monospace;
  color: #646962;
}
.gesture-hint {
  color: #687167;
}
.gesture-hint span {
  font-size: 20px;
  margin-left: 10px;
}
.lab-outro {
  max-width: 620px;
  margin: 95px auto;
  text-align: center;
  padding: 0 20px;
}
.lab-outro h2 {
  font:
    42px/1.14 Georgia,
    serif;
  letter-spacing: -1.5px;
}
.lab-outro p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.lab-outro .action {
  width: max-content;
  max-width: 100%;
  margin: 25px auto 0;
  gap: 25px;
}
.lab-footer {
  border-top: 1px solid var(--rule);
  margin: 0 4vw;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  gap: 15px;
}
.lab-footer nav {
  display: flex;
  gap: 22px;
}
.lab-footer a {
  text-decoration: none;
}
dialog {
  color: var(--ink);
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 16px;
  padding: 34px;
  max-width: 610px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #152018a6;
  backdrop-filter: blur(6px);
}
dialog h2 {
  font:
    40px Georgia,
    serif;
  margin: 10px 0;
}
dialog p,
dialog li {
  font-size: 12px;
  line-height: 1.7;
}
dialog li {
  margin-bottom: 14px;
}
dialog li strong {
  display: block;
}
dialog ol {
  padding-left: 19px;
}
.dialog-close {
  float: right;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: none;
  width: 44px;
  height: 44px;
}
#report-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0;
}
#report-categories div {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: white;
  font-size: 11px;
}
.noscript {
  padding: 20px;
  text-align: center;
}
.paused *,
.offscreen * {
  animation-play-state: paused !important;
}
.paused .scene * {
  transition: none !important;
}
@keyframes rainfall {
  to {
    transform: translate(-50px, 510px);
  }
}
@keyframes breathe {
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}
@keyframes dust {
  0% {
    transform: translate(0, 0) scale(0.3);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(-120px, -30px) scale(2.4);
    opacity: 0;
  }
}
@keyframes track {
  to {
    background-position: -150px 4px;
  }
}
@keyframes orbit {
  to {
    transform: rotate(336deg);
  }
}
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .world-copy {
    animation: slide-ink linear both;
    animation-timeline: view(inline);
    animation-range: entry 0% entry 95%;
  }
  @keyframes slide-ink {
    from {
      opacity: 0.25;
      transform: translateX(22px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (min-width: 1600px) {
  .world {
    grid-template-columns: 1fr 1.8fr 1fr;
  }
  .scene {
    height: 500px;
  }
  .report-art {
    top: 80px;
    bottom: 50px;
    padding: 35px;
  }
  .score-ring {
    height: 160px;
    width: 160px;
  }
}
@media (max-width: 1100px) {
  .world {
    grid-template-columns: minmax(270px, 1.4fr) minmax(230px, 1fr);
    gap: 24px;
  }
  .world-copy {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 25px;
  }
  .world-copy .eyebrow {
    display: none;
  }
  .world-copy h2 {
    font-size: 36px;
    margin: 0;
    letter-spacing: -1.5px;
    white-space: nowrap;
  }
  .world-copy h2 br {
    display: none;
  }
  .world-copy p:not(.eyebrow) {
    font-size: 11px;
    margin: 0;
    max-width: 320px;
  }
  .ink-note {
    display: none;
  }
  .scene {
    height: 370px;
  }
  .lab-intro {
    margin-top: 28px;
  }
  .intro-note {
    display: none;
  }
  .report-art {
    top: 37px;
    bottom: 28px;
    padding: 16px;
  }
  .report-art img {
    width: 32px;
    height: 32px;
  }
  .report-art p {
    margin: 9px 0;
  }
  .score-ring {
    height: 130px;
    width: 130px;
  }
  .floating-tag {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .lab-header {
    height: 67px;
    margin: 0;
    padding:0 5vw;
  }
  .lab-brand {
    font-size: 13px;
    gap: 8px;
  }
  .lab-brand img {
    width: 32px;
    height: 32px;
  }
  .brand-note {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .project-link {
    font-size: 10px;
    gap: 8px;
    max-width: 120px;
  }
  .project-link span {
    font-size: 18px;
  }
  .lab-intro {
    margin: 24px 5vw 22px;
  }
  .lab-intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
  }
  .lab-intro .eyebrow span {
    display: none;
  }
  h1 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
  h1 em {
    display: block;
  }
  .gallery-toolbar {
    margin: 0 5vw;
    flex-wrap: wrap;
    gap: 0;
  }
  .app-switcher {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .app-switcher button {
    font-size: 11px;
    padding: 14px 0;
    min-height: 49px;
  }
  .app-switcher button span {
    font-size: 9px;
    margin-right: 4px;
  }
  .motion-toggle {
    position: absolute;
    right: 5vw;
    top: 132px;
    font-size: 9px;
  }
  .worlds {
    margin: 0 5vw;
  }
  .world {
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
    padding-top: 22px;
    align-content: start;
  }
  .world-copy {
    display: block;
  }
  .world-copy h2 {
    font-size: 34px;
    white-space: normal;
  }
  .world-copy h2 br {
    display: none;
  }
  .world-copy h2 em {
    margin-left: 4px;
  }
  .world-copy p:not(.eyebrow) {
    font-size: 11px;
    line-height: 1.6;
    margin: 10px 0 0;
    max-width: 100%;
  }
  .scene {
    height: 310px;
  }
  .scene-topline {
    top: 20px;
  }
  .scene-japanese {
    font-size: 25px;
    top: 58px;
  }
  .weather-reading {
    top: 55px;
  }
  .weather-reading strong {
    font-size: 34px;
  }
  .demo-console {
    padding: 3px 4px 0;
  }
  .demo-console > .eyebrow,
  .demo-console h3 {
    display: none;
  }
  .demo-console label {
    margin: 4px 0;
    font-size: 10px;
  }
  .demo-console input:not([type="range"]),
  .demo-console select {
    font-size: 16px;
    min-height: 44px;
  }
  .weather-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    align-items: center;
  }
  .weather-console > label {
    grid-column: 1;
  }
  .weather-console > select {
    grid-column: 1;
  }
  .world-clock {
    grid-column: 2;
    grid-row: 1/3;
    text-align: right;
    margin: 0;
  }
  .world-clock time {
    font-size: 35px;
  }
  .world-clock span {
    font-size: 8px;
    line-height: 1.5;
  }
  .weather-console .action,
  .weather-console .response,
  .weather-console .fine-print,
  .weather-console .weather-details {
    grid-column: 1/-1;
  }
  .weather-console .action {
    margin-top: 12px;
  }
  .response {
    font-size: 11px;
    min-height: 0;
    margin: 9px 0;
  }
  .fine-print {
    font-size: 10px;
    margin: 8px 0;
  }
  .check-scene {
    margin: 8px 0;
    height: 315px;
  }
  .report-art {
    left: 20%;
    right: 20%;
    top: 30px;
    bottom: 10px;
    padding: 15px;
  }
  .score-ring {
    width: 110px;
    height: 110px;
  }
  .score-ring strong {
    font-size: 49px;
  }
  .report-art p {
    font-size: 9px;
  }
  .report-domain {
    font-size: 9px;
    margin: 10px 0;
  }
  .signal-tags span {
    font-size: 6px;
    padding: 4px;
  }
  .floating-tag {
    padding: 10px;
    max-width: 115px;
  }
  .tag-a {
    top: 75px;
    right: 0;
  }
  .tag-b {
    bottom: 45px;
  }
  .sitecheck-world .demo-console form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  .sitecheck-world label[for="site-url"] {
    grid-column: 1/-1;
  }
  #site-url {
    grid-column: 1/-1;
    margin-bottom: 10px;
  }
  .sitecheck-world label[for="site-goal"] {
    grid-column: 1/-1;
  }
  #site-goal {
    grid-column: 1;
  }
  #site-submit {
    grid-column: 2;
    margin: 0;
    font-size: 11px;
    padding: 12px;
  }
  .pace-caption {
    bottom: 67px;
  }
  .pace-caption > span:first-child {
    font-size: 20px;
  }
  .cheetah-scene video {
    top: 8%;
    height: 70%;
  }
  .mini-metrics {
    margin: 12px 0;
    padding: 9px 0;
  }
  .mini-metrics span {
    flex-direction: row;
    align-items: center;
    font-size: 10px;
  }
  .mini-metrics b {
    font-size: 18px;
  }
  .gallery-bottom {
    margin: 0 5vw;
    gap: 10px;
    flex-wrap: wrap;
  }
  .gallery-bottom > a {
    font-size: 10px;
    width: 100%;
    text-align: center;
    padding: 8px 0;
  }
  .gesture-hint {
    font-size: 9px;
  }
  .gallery-arrows {
    gap: 12px;
  }
  .lab-outro {
    margin: 55px auto;
  }
  .lab-outro h2 {
    font-size: 32px;
  }
  .lab-outro p:not(.eyebrow) {
    font-size: 12px;
  }
  .lab-footer {
    margin: 0 5vw;
    flex-wrap: wrap;
    line-height: 1.6;
  }
  .lab-footer nav {
    gap: 18px;
  }
  dialog {
    padding: 24px;
  }
  dialog h2 {
    font-size: 30px;
  }
}
.worlds {
  align-items: flex-start;
}
.gallery-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
}
@media (max-width: 650px) {
  .motion-toggle {
    position: static;
    margin-left: auto;
    min-height: 32px;
    padding: 0 0 6px;
  }
  .gallery-toolbar {
    row-gap: 0;
  }
}
.embedded .lab-header,
.embedded .lab-intro,
.embedded .lab-outro,
.embedded .lab-footer {
  display: none;
}
.embedded .motion-toggle {
  position: static;
}
.embedded .gallery-toolbar {
  margin-top: 0;
}
.embedded .gallery-bottom {
  border-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .world-copy {
    opacity: 1 !important;
    transform: none !important;
  }
}
