:root {
  --ink: #101010;
  --off-white: #f5f4f0;
  --pink: #f8a6cb;
  --hot-pink: #f62a7e;
  --violet: #d790e8;
  --lime: #b9e51c;
  --yellow: #f6e96d;
  --cyan: #9ceae1;
  --lilac: #eee9f3;
  --display: "Archivo Black", "Noto Sans SC", sans-serif;
  --sans: "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --serif-cn: "ZCOOL XiaoWei", "STKaiti", serif;
  --header-height: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--off-white);
  font-family: var(--sans);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  translate: 0 -150%;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}

.skip-link:focus { translate: 0; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  background: var(--ink);
  transition: opacity 480ms ease, visibility 480ms ease;
}

.page-loader.loaded { opacity: 0; visibility: hidden; }

.loader-mark {
  width: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 50%;
  animation: loaderPulse 1.1s ease-in-out infinite alternate;
}

.loader-mark img { width: 100%; height: 100%; object-fit: cover; }
.loader-line { width: 180px; height: 2px; overflow: hidden; background: #323232; }
.loader-line span { display: block; width: 100%; height: 100%; background: var(--hot-pink); transform-origin: left; animation: loaderLine 1.1s ease-in-out infinite; }
.page-loader p { margin: -15px 0 0; font: 10px var(--mono); color: #898989; }

@keyframes loaderPulse { to { transform: scale(.86) rotate(-8deg); } }
@keyframes loaderLine { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 34px;
  color: #f7f7f5;
  font: 13px var(--mono);
  background: rgba(16,16,16,.94);
  transition: height 260ms ease, background-color 260ms ease;
}

.site-header.compact { height: 62px; background: rgba(16,16,16,.98); }
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-left a, .nav-right a { position: relative; padding-block: 8px; }
.nav-left a::after, .nav-h5::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}
.nav-left a:hover::after, .nav-h5:hover::after { transform: scaleX(1); transform-origin: left; }

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 21px;
  white-space: nowrap;
}
.brand-lockup img { width: 25px; height: 25px; margin-inline: 1px; border-radius: 50%; }
.brand-lockup strong { font-family: var(--sans); font-weight: 800; }
.nav-right { justify-content: flex-end; }
.nav-divider { width: 1px; height: 23px; background: #555; }
.nav-download { padding: 10px 16px !important; border: 1px solid #666; border-radius: 7px; transition: background-color 200ms ease, color 200ms ease; }
.nav-download:hover { background: #fff; color: #111; }

.menu-button, .mobile-menu { display: none; }

.hero-labs {
  position: relative;
  min-height: 1140px;
  overflow: hidden;
  background: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 158px;
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 26px;
  font: 22px var(--mono);
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 720ms 380ms cubic-bezier(.16,1,.3,1) forwards;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6.4vw, 98px);
  font-weight: 900;
  line-height: .98;
  opacity: 0;
  transform: translateY(34px);
  animation: heroIn 800ms 470ms cubic-bezier(.16,1,.3,1) forwards;
}

.hero-description {
  margin: 28px auto 0;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 780ms 590ms cubic-bezier(.16,1,.3,1) forwards;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 760ms 680ms cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid #6d6d6d;
  border-radius: 7px;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}
.primary-action { gap: 12px; padding: 9px 20px 9px 12px; background: var(--hot-pink); border-color: var(--hot-pink); color: #fff; text-align: left; }
.primary-action:hover, .secondary-action:hover { transform: translateY(-3px); }
.action-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); font: 19px var(--mono); }
.primary-action > span:last-child { display: grid; gap: 2px; }
.primary-action strong { font-size: 14px; }
.primary-action small { font: 9px var(--mono); opacity: .78; }
.secondary-action { gap: 34px; padding: 0 20px; font: 13px var(--mono); }
.secondary-action:hover { background: #fff; color: #111; }

.fan-stage {
  --fan-progress: 0;
  --pointer-x: 0;
  --pointer-y: 0;
  position: absolute;
  z-index: 4;
  top: 690px;
  left: 50%;
  width: min(1120px, 96vw);
  height: 540px;
  transform: translateX(-50%) translateY(calc(var(--fan-progress) * -80px));
  perspective: 1400px;
}

.fan-card {
  position: absolute;
  top: 68px;
  left: 50%;
  width: clamp(310px, 31vw, 445px);
  height: 510px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.55);
  border-radius: 8px;
  color: #0b0b0b;
  box-shadow: 0 22px 50px rgba(0,0,0,.34);
  transform-origin: 50% 115%;
  transition: filter 260ms ease;
  will-change: transform;
}
.fan-card:hover { filter: brightness(1.04); z-index: 10; }
.fan-index { margin: 0; font: 11px var(--mono); }
.fan-card h2 { position: relative; z-index: 2; margin: 12px 0; font-family: var(--display); font-size: clamp(36px, 3.5vw, 55px); line-height: .96; }
.fan-card-1 { background: var(--cyan); transform: translate(-50%) translateX(calc(-375px + var(--pointer-x) * -8px)) translateY(calc(80px + var(--pointer-y) * 5px)) rotate(calc(-16deg + var(--fan-progress) * 13deg)); }
.fan-card-2 { background: var(--lime); transform: translate(-50%) translateX(calc(-205px + var(--pointer-x) * -4px)) translateY(18px) rotate(calc(-8deg + var(--fan-progress) * 7deg)); }
.fan-card-3 { background: var(--pink); transform: translate(-50%) translateY(calc(-10px + var(--pointer-y) * -8px)) rotate(calc(var(--pointer-x) * 1deg)); }
.fan-card-4 { background: var(--yellow); transform: translate(-50%) translateX(calc(205px + var(--pointer-x) * 4px)) translateY(18px) rotate(calc(8deg + var(--fan-progress) * -7deg)); }
.fan-card-5 { background: var(--violet); transform: translate(-50%) translateX(calc(375px + var(--pointer-x) * 8px)) translateY(calc(80px + var(--pointer-y) * 5px)) rotate(calc(16deg + var(--fan-progress) * -13deg)); }

.fan-photo { position: absolute; right: 16px; bottom: 16px; left: 16px; height: 330px; overflow: hidden; border-radius: 6px; background: #222; }
.fan-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 31%; }
.fan-chat { position: absolute; inset: 220px 17px 17px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 18px; background: #f7f5ee; border-radius: 6px; }
.fan-chat span { align-self: flex-start; max-width: 90%; padding: 10px 12px; border: 1px solid #111; border-radius: 16px 16px 16px 3px; font-size: 13px; }
.fan-chat span:nth-child(2) { align-self: flex-end; background: #111; color: #fff; border-radius: 16px 16px 3px 16px; }
.fan-chat span:last-child { border: 0; padding: 0; font: 9px var(--mono); opacity: .5; }
.fan-match { position: absolute; inset: 200px 17px 17px; overflow: hidden; border-radius: 6px; background: #3a726c; }
.fan-match img { width: 100%; height: 100%; object-fit: cover; }
.fan-match::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.74)); }
.fan-match strong, .fan-match span { position: absolute; z-index: 2; bottom: 29px; left: 18px; color: #fff; }
.fan-match strong { font: 56px var(--display); }
.fan-match span { bottom: 17px; font: 10px var(--mono); }
.fan-moment { position: absolute; inset: 210px 17px 17px; overflow: hidden; border-radius: 6px; background: #cb897c; }
.fan-moment img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.fan-moment span { position: absolute; top: 12px; right: 12px; padding: 6px 8px; background: var(--hot-pink); color: #fff; font: 9px var(--mono); }
.fan-safe { position: absolute; inset: 220px 17px 17px; display: grid; place-content: center; justify-items: center; gap: 24px; border: 1px solid rgba(0,0,0,.45); border-radius: 6px; text-align: center; }
.fan-safe > span { display: grid; place-items: center; width: 78px; height: 78px; border: 2px solid #111; border-radius: 50%; font: 40px var(--mono); }
.fan-safe p { margin: 0; font-weight: 700; line-height: 1.8; }

.scroll-hint { position: absolute; z-index: 7; right: 34px; top: 620px; display: flex; align-items: center; gap: 12px; transform: rotate(90deg); transform-origin: right top; font: 9px var(--mono); color: #8d8d8d; }
.scroll-hint i { display: block; width: 64px; height: 1px; overflow: hidden; background: #555; }
.scroll-hint i::after { content: ""; display: block; width: 45%; height: 100%; background: #fff; animation: hintMove 1.6s ease-in-out infinite; }
@keyframes hintMove { 0% { transform: translateX(-110%); } 100% { transform: translateX(230%); } }

.experiments { position: relative; z-index: 8; min-height: 960px; padding: 110px 0 90px; background: var(--ink); }
.experiment-heading { width: min(1370px, calc(100% - 64px)); margin: 0 auto 46px; }
.experiment-heading p, .community-heading p, .download-intro > p { margin: 0 0 14px; font: 11px var(--mono); color: #989898; }
.experiment-heading h2, .community-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(42px, 5vw, 76px); line-height: .98; }
.experiment-viewport { overflow: hidden; cursor: grab; }
.experiment-viewport:active { cursor: grabbing; }
.experiment-track { display: flex; gap: 18px; width: max-content; padding: 0 max(34px, calc((100vw - 1370px) / 2)); transform: translate3d(var(--track-x, 0px),0,0); transition: transform 620ms cubic-bezier(.22,1,.36,1); }
.experiment-card { position: relative; flex: 0 0 min(430px, calc(100vw - 48px)); width: min(430px, calc(100vw - 48px)); height: 610px; overflow: hidden; padding: 18px; border-radius: 8px; color: #080808; }
.experiment-pink { background: var(--pink); }
.experiment-violet { background: var(--violet); }
.experiment-lime { background: var(--lime); }
.experiment-yellow { background: var(--yellow); }
.experiment-copy > span { font: 10px var(--mono); }
.experiment-copy h3 { margin: 11px 0 15px; font-family: var(--display); font-size: 44px; line-height: .96; }
.experiment-copy p { max-width: 370px; margin: 0; font-size: 15px; line-height: 1.5; }
.card-action { position: absolute; z-index: 3; top: 215px; left: 18px; display: flex; align-items: center; gap: 30px; padding: 10px 15px; border: 1px solid rgba(0,0,0,.6); border-radius: 99px; font-size: 13px; transition: background-color 180ms ease, color 180ms ease; }
.card-action:hover { background: #111; color: #fff; }
.experiment-media { position: absolute; right: 12px; bottom: 12px; left: 12px; height: 340px; overflow: hidden; border-radius: 6px; background: #f8f7f2; }
.portrait-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.experiment-card:hover .portrait-media img { transform: scale(1.045); }
.portrait-media span { position: absolute; right: 12px; bottom: 12px; padding: 7px 9px; background: var(--hot-pink); color: #fff; font: 9px var(--mono); }
.chat-media { padding: 16px; background: #fbfbf9; }
.chat-head { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid #ddd; font-size: 12px; font-weight: 700; }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chat-head small { color: #36a76d; font: 8px var(--mono); }
.bubble { width: fit-content; max-width: 82%; margin: 24px 0 0; padding: 10px 12px; border: 1px solid #111; border-radius: 17px 17px 17px 3px; font-size: 12px; }
.bubble-b { margin-left: auto; background: #111; color: #fff; border-radius: 17px 17px 3px 17px; }
.bubble-c { margin-top: 12px; }
.collage-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; gap: 8px; padding: 8px; background: #2f6e64; }
.collage-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.collage-media img:first-child { grid-row: 1 / 3; }
.collage-media b { display: grid; place-content: center; background: var(--hot-pink); color: #fff; text-align: center; font: 36px var(--display); border-radius: 4px; }
.collage-media small { font: 8px var(--mono); }
.safe-media { display: grid; grid-template-columns: 86px 1fr; align-content: center; gap: 9px 16px; padding: 22px; background: #ef8d33; }
.safe-media img { grid-row: 1 / 4; align-self: center; width: 74px; height: 74px; border-radius: 50%; }
.safe-media div { display: grid; grid-template-columns: 35px 1fr; align-items: center; min-height: 60px; border-bottom: 1px solid rgba(0,0,0,.3); font-weight: 700; }
.safe-media div:last-child { border-bottom: 0; }
.safe-media div span { font: 10px var(--mono); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 10px; width: min(1370px, calc(100% - 64px)); margin: 48px auto 0; }
.carousel-controls button { width: 54px; height: 54px; padding: 0; border: 1px solid #555; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease; }
.carousel-controls button:hover:not(:disabled) { border-color: #fff; background: #fff; color: #111; }
.carousel-controls button:disabled { opacity: .28; cursor: default; }
.carousel-controls a { display: flex; align-items: center; gap: 34px; margin-left: 10px; padding: 15px 19px; border: 1px solid #777; border-radius: 99px; font: 12px var(--mono); }

.color-lab { position: relative; height: 100vh; min-height: 720px; background: #b0d5df; }
.color-stage {
  --color-bg: #b0d5df;
  --color-fg: #fff;
  --palette-y: 0px;
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background-color: var(--color-bg);
  color: var(--color-fg);
  transition: background-color 680ms cubic-bezier(.22,1,.36,1), color 420ms ease;
}
.paper-noise { position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); }
.color-catalog { position: absolute; top: var(--header-height); bottom: 0; left: max(28px, calc((100vw - 1080px)/2)); width: 430px; display: grid; grid-template-columns: repeat(6, 1fr); align-content: space-around; gap: 0 15px; padding: 10px 0 16px; transform: none; }
.color-catalog button { position: relative; display: grid; grid-template-rows: 5px 60px 1fr; justify-items: center; min-width: 0; height: 190px; padding: 0; border: 0; background: transparent; color: currentColor; cursor: pointer; opacity: .55; transition: opacity 200ms ease, transform 200ms ease; }
.color-catalog button:hover, .color-catalog button.active { opacity: 1; transform: translateY(-4px); }
.color-catalog i { width: 100%; height: 5px; background: var(--swatch); }
.color-catalog strong { padding-top: 14px; font-family: var(--serif-cn); font-size: 17px; font-weight: 400; line-height: 1.35; writing-mode: vertical-rl; }
.color-catalog span { align-self: end; font: 9px var(--mono); writing-mode: vertical-rl; }
.color-catalog code { position: absolute; bottom: 0; left: 8px; font: 8px var(--mono); writing-mode: vertical-rl; }
.color-catalog button::after { content: ""; position: absolute; right: 7px; bottom: 0; width: 1px; height: 54px; background: currentColor; opacity: .4; }
.color-values { position: absolute; top: 86px; left: calc(50% + 8px); width: 82px; }
.value-block > span { display: block; margin-bottom: 5px; font: 8px var(--mono); }
.value-block dl { margin: 0; }
.value-block dl div { display: grid; grid-template-columns: 17px 1fr; align-items: center; height: 62px; border-top: 1px solid currentColor; }
.value-block dt { font: 8px var(--mono); }
.value-block dd { margin: 0; font: 28px var(--serif-cn); text-align: center; }
.value-block dl div:nth-child(1) dd { color: #00a5c8; }
.value-block dl div:nth-child(2) dd { color: #d52079; }
.value-block dl div:nth-child(3) dd { color: #f6ed26; }
.value-block.rgb { margin-top: 4px; }
.value-block.rgb dl div { height: 40px; }
.value-block.rgb dd { color: inherit !important; font-size: 23px; }
.color-name { position: absolute; top: 96px; left: calc(50% + 145px); display: grid; grid-template-columns: auto auto; align-items: start; column-gap: 22px; height: 470px; }
.color-count { grid-column: 1 / 3; margin-bottom: 5px; font: 8px var(--mono); }
.color-name h2 { display: flex; flex-direction: column; gap: 0; margin: 0; font-family: var(--serif-cn); font-size: clamp(70px, 7vw, 108px); font-weight: 400; line-height: .96; }
.color-name p { align-self: end; margin: 0 0 123px; font: 15px var(--serif-cn); writing-mode: vertical-rl; }
.color-name code { position: absolute; bottom: 0; left: 0; font: 11px var(--mono); }
.color-brand { position: absolute; top: 82px; right: max(28px, calc((100vw - 1080px)/2)); display: flex; align-items: center; gap: 14px; height: 490px; writing-mode: vertical-rl; }
.color-brand img { width: 48px; height: 48px; border-radius: 50%; }
.color-brand strong { font-family: var(--sans); font-size: 34px; font-weight: 500; white-space: nowrap; }
.color-caption { position: absolute; right: max(145px, calc((100vw - 820px)/2)); bottom: 28px; width: 380px; }
.color-chapter { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid currentColor; }
.color-chapter strong { display: block; font-family: var(--serif-cn); font-size: 22px; font-weight: 400; }
.color-chapter p { max-width: 360px; margin: 6px 0 0; font-size: 12px; line-height: 1.65; }
.color-caption span { font: 8px var(--mono); }
.color-caption p { margin: 7px 0 0; font-family: var(--serif-cn); font-size: 21px; }
.color-caption .color-chapter p { margin-top: 6px; font-family: var(--sans); font-size: 12px; }
.color-instruction { position: absolute; bottom: 34px; left: max(28px, calc((100vw - 1080px)/2)); margin: 0; font: 8px var(--mono); }

.community { position: relative; z-index: 4; min-height: 1430px; overflow: hidden; padding-top: 110px; background: var(--lilac); color: #111; }
.community-heading { position: relative; z-index: 4; width: min(1370px, calc(100% - 64px)); margin: 0 auto; }
.community-heading p { color: #59545c; }
.community-canvas { position: relative; width: min(1440px, 100%); height: 1090px; margin: -20px auto 0; }
.community-tile, .community-note { position: absolute; margin: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 18px 44px rgba(33,25,40,.14); will-change: transform; }
.community-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(.2,.8,.2,1); }
.community-tile:hover img { transform: scale(1.04); }
.community-tile figcaption { position: absolute; top: 11px; right: 11px; padding: 6px 8px; background: var(--hot-pink); color: #fff; font: 8px var(--mono); }
.tile-a { top: 150px; left: 4%; width: 280px; height: 390px; transform: translateY(calc(var(--community-y, 0) * -34px)) rotate(-3deg); }
.tile-a img { object-position: 50% 23%; }
.tile-b { top: 50px; left: 36%; width: 310px; height: 420px; transform: translateY(calc(var(--community-y, 0) * 30px)) rotate(2deg); }
.tile-c { top: 470px; left: 24%; width: 350px; height: 470px; transform: translateY(calc(var(--community-y, 0) * -45px)) rotate(4deg); }
.tile-c img { object-position: 50% 35%; }
.tile-d { top: 360px; right: 3%; width: 330px; height: 450px; transform: translateY(calc(var(--community-y, 0) * 38px)) rotate(-2deg); }
.community-note { display: grid; align-content: center; padding: 30px; }
.note-a { top: 140px; right: 21%; width: 310px; height: 230px; background: var(--yellow); transform: translateY(calc(var(--community-y, 0) * -24px)) rotate(4deg); }
.note-a span { position: absolute; top: -25px; left: 12px; font: 130px var(--serif-cn); }
.note-a p { position: relative; margin: 35px 0 0; font-size: 21px; font-weight: 700; line-height: 1.5; }
.note-b { top: 760px; right: 22%; width: 330px; height: 270px; grid-template-columns: 78px 1fr; align-items: center; gap: 18px; background: var(--cyan); transform: translateY(calc(var(--community-y, 0) * 40px)) rotate(-4deg); }
.note-b img { width: 78px; height: 78px; border-radius: 50%; }
.note-b p { margin: 0; font: 28px/1.08 var(--display); }

.download-section { position: relative; min-height: 930px; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 50px; padding: 115px max(34px, calc((100vw - 1370px)/2)) 280px; background: var(--ink); }
.download-intro { position: relative; z-index: 3; }
.download-intro h2 { margin: 0; font: clamp(54px, 6.4vw, 98px)/.98 var(--display); }
.download-actions { display: flex; gap: 12px; margin-top: 35px; }
.qr-pair { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 16px; padding-top: 35px; }
.qr-pair figure { margin: 0; }
.qr-pair figure > div { display: grid; place-items: center; width: 146px; height: 146px; padding: 9px; border-radius: 6px; background: #fff; }
.qr-pair img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-pair figcaption { margin-top: 8px; font: 8px var(--mono); color: #aaa; }
.kinetic-word { position: absolute; right: -4vw; bottom: -46px; left: -3vw; height: 255px; overflow: hidden; color: #e8e8e8; font: 250px/.82 var(--display); white-space: nowrap; }
.kinetic-word span { position: absolute; animation: kinetic 11s linear infinite; }
.kinetic-word span:nth-child(2) { left: 900px; }
@keyframes kinetic { to { transform: translateX(-900px); } }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 76px; padding: 0 34px; border-top: 1px solid #303030; background: var(--ink); font: 10px var(--mono); color: #b1b1b1; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 24px; }
.site-footer a:hover { color: #fff; }
.site-footer button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: default; }

.mobile-cta { display: none; }
.toast { position: fixed; z-index: 200; right: 20px; bottom: 20px; max-width: 340px; padding: 12px 16px; border-radius: 6px; background: #fff; color: #111; font-size: 12px; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 200ms ease, transform 200ms ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-header { padding-inline: 22px; }
  .nav-left { gap: 16px; }
  .color-catalog { left: 26px; width: 385px; gap: 0 9px; }
  .color-values { left: 47%; }
  .color-name { left: 59%; }
  .color-brand { right: 20px; }
  .community { min-height: 1320px; }
  .community-canvas { transform: scale(.9); transform-origin: top center; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  body { padding-bottom: 62px; }
  .site-header { grid-template-columns: 44px 1fr 44px; height: 68px; padding: 0 15px; }
  .site-header.compact { height: 58px; }
  .nav-left, .nav-right { display: none; }
  .brand-lockup { grid-column: 2; justify-self: center; font-size: 18px; }
  .brand-lockup img { width: 22px; height: 22px; }
  .menu-button { grid-column: 1; grid-row: 1; display: grid; align-content: center; gap: 6px; width: 40px; height: 40px; padding: 9px; border: 0; background: transparent; color: #fff; cursor: pointer; }
  .menu-button span { display: block; width: 19px; height: 1px; background: currentColor; transition: transform 220ms ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 19px; padding: 80px 24px; background: #111; opacity: 0; visibility: hidden; transform: translateY(-15px); transition: opacity 230ms ease, transform 230ms ease, visibility 230ms; }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a { padding-bottom: 14px; border-bottom: 1px solid #343434; font: 25px var(--display); }
  .mobile-menu a:nth-last-child(-n+2) { font-family: var(--mono); font-size: 14px; }

  .hero-labs { min-height: 1160px; }
  .hero-copy { width: calc(100% - 30px); padding-top: 120px; }
  .hero-eyebrow { margin-bottom: 23px; font-size: 17px; }
  .hero-copy h1 { font-size: 45px; line-height: 1.02; }
  .hero-description { margin-top: 22px; font-size: 18px; line-height: 1.55; }
  .hero-buttons { flex-direction: column; align-items: stretch; width: min(330px, 100%); margin: 28px auto 0; }
  .primary-action, .secondary-action { width: 100%; }
  .secondary-action { justify-content: space-between; }
  .fan-stage { top: 650px; width: 100%; height: 520px; transform: translateX(-50%); perspective: none; }
  .fan-card { top: 0; width: calc(100vw - 30px); height: 485px; padding: 13px; transform-origin: center; box-shadow: 0 14px 35px rgba(0,0,0,.3); }
  .fan-card h2 { font-size: 37px; }
  .fan-card-1 { transform: translate(-50%) translateX(-18px) translateY(40px) rotate(-5deg); }
  .fan-card-2 { transform: translate(-50%) translateX(-9px) translateY(30px) rotate(-2.5deg); }
  .fan-card-3 { transform: translate(-50%) translateY(18px); }
  .fan-card-4 { transform: translate(-50%) translateX(9px) translateY(30px) rotate(2.5deg); }
  .fan-card-5 { transform: translate(-50%) translateX(18px) translateY(40px) rotate(5deg); }
  .fan-photo, .fan-moment { height: 300px; }
  .fan-chat, .fan-safe { top: 195px; }
  .scroll-hint { display: none; }

  .experiments { min-height: 0; padding: 80px 0 74px; }
  .experiment-heading { width: calc(100% - 30px); margin-bottom: 36px; }
  .experiment-heading h2, .community-heading h2 { font-size: 42px; }
  .experiment-track { display: grid; width: auto; gap: 12px; padding: 0 15px; transform: none !important; }
  .experiment-card { width: 100%; height: 565px; }
  .experiment-copy h3 { font-size: 39px; }
  .experiment-copy p { font-size: 14px; }
  .card-action { top: 204px; }
  .experiment-media { height: 305px; }
  .carousel-controls { display: none; }

  .color-lab { height: 100vh; min-height: 760px; }
  .color-stage { min-height: 760px; }
  .color-catalog { top: auto; right: 12px; bottom: 76px; left: 12px; width: auto; height: 78px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 78px; gap: 0 7px; overflow: hidden; padding: 0; transform: none; }
  .color-catalog button { grid-template-rows: 4px 1fr; height: 78px; }
  .color-catalog button:nth-child(n+7) { display: none; }
  .color-catalog strong { padding-top: 6px; font-size: 12px; writing-mode: vertical-rl; }
  .color-catalog span, .color-catalog code, .color-catalog button::after { display: none; }
  .color-values { top: 110px; left: 17px; width: 66px; }
  .value-block dl div { grid-template-columns: 14px 1fr; height: 43px; }
  .value-block dd { font-size: 18px; }
  .value-block.rgb { position: absolute; top: 0; left: 79px; width: 66px; margin: 0; }
  .value-block.rgb dl div { height: 43px; }
  .value-block.rgb dd { font-size: 17px; }
  .color-name { top: 105px; right: 24px; left: auto; height: 360px; column-gap: 12px; }
  .color-name h2 { font-size: 69px; }
  .color-name p { margin-bottom: 62px; font-size: 12px; }
  .color-brand { top: 74px; right: 10px; height: auto; writing-mode: horizontal-tb; gap: 6px; }
  .color-brand img { width: 27px; height: 27px; }
  .color-brand strong { font: 11px var(--mono); }
  .color-caption { right: auto; bottom: 214px; left: 17px; width: 230px; }
  .color-chapter { margin-bottom: 12px; padding-bottom: 10px; }
  .color-chapter strong { font-size: 17px; }
  .color-caption .color-chapter p { font-size: 10px; line-height: 1.5; }
  .color-caption p { font-size: 17px; }
  .color-instruction { display: none; }

  .community { min-height: 1180px; padding-top: 78px; }
  .community-heading { width: calc(100% - 30px); }
  .community-canvas { height: 970px; margin-top: 10px; transform: none; }
  .community-tile, .community-note { border-radius: 6px; }
  .tile-a { top: 40px; left: -24px; width: 185px; height: 280px; }
  .tile-b { top: 20px; left: auto; right: -20px; width: 190px; height: 270px; }
  .tile-c { top: 355px; left: 12px; width: 210px; height: 310px; }
  .tile-d { top: 600px; right: -20px; width: 210px; height: 300px; }
  .note-a { top: 286px; right: -5px; width: 195px; height: 170px; padding: 17px; }
  .note-a span { font-size: 86px; }
  .note-a p { margin-top: 27px; font-size: 15px; }
  .note-b { top: 690px; left: -18px; width: 210px; height: 190px; grid-template-columns: 52px 1fr; padding: 16px; }
  .note-b img { width: 52px; height: 52px; }
  .note-b p { font-size: 18px; }

  .download-section { display: block; min-height: 980px; padding: 82px 15px 250px; }
  .download-intro h2 { font-size: 49px; }
  .download-actions { flex-direction: column; width: 100%; }
  .qr-pair { margin-top: 42px; gap: 10px; }
  .qr-pair figure > div { width: 128px; height: 128px; }
  .kinetic-word { bottom: 5px; height: 145px; font-size: 142px; }
  .kinetic-word span:nth-child(2) { left: 510px; }
  @keyframes kinetic { to { transform: translateX(-510px); } }
  .site-footer { display: block; min-height: 120px; padding: 24px 15px; }
  .site-footer div { flex-wrap: wrap; gap: 13px 20px; margin-top: 17px; }
  .mobile-cta { position: fixed; right: 0; bottom: 0; left: 0; z-index: 120; display: grid; grid-template-columns: 1.15fr .85fr; height: 62px; border-top: 1px solid #111; background: #fff; color: #111; }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 9px; font: 12px var(--mono); }
  .mobile-cta a:first-child { background: var(--hot-pink); color: #fff; }
  .toast { right: 12px; bottom: 74px; left: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
