:root {
    --burgundy: #4f0227;
    --bubblegum-pink: #ff9fe6;
    --lime-green: #e9f05d;
    --cream: #f7efe9;
    --deep-berry: #8a1250;
    --dark-text: #2a1820;
    --white: #ffffff;
    --muted: #725f67;
    --grid-line: rgba(79, 2, 39, 0.10);
    --pink-shadow: 8px 8px 0 var(--bubblegum-pink);
    font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
    color: var(--dark-text);
    background: var(--cream);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--cream);
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 42px 42px;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.site-header,
main,
.site-footer {
    width: min(100% - 64px, 1280px);
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 2px solid var(--burgundy);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--burgundy);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.75px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
    background: var(--lime-green);
    font-size: 10px;
    letter-spacing: -0.3px;
}

.brand-divider {
    padding: 0 3px;
    color: var(--deep-berry);
}

.header-note {
    color: var(--burgundy);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.65px;
}

.header-note span {
    padding-left: 5px;
    color: var(--deep-berry);
    font-size: 13px;
}

.hero {
    position: relative;
    min-height: 550px;
    margin-top: 30px;
    padding: clamp(36px, 6.5vw, 84px);
    overflow: hidden;
    border: 2px solid var(--burgundy);
    border-radius: 36px;
    background-color: var(--burgundy);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
    background-size: 48px 48px;
    box-shadow: 10px 10px 0 var(--bubblegum-pink);
    color: var(--cream);
    animation: enter-up 650ms ease both;
}

.eyebrow,
.card-kicker,
.section-kicker,
.current-gesture-label,
.tracking-stat > span,
.tracking-heading > span,
.build-label,
.footer-caption,
.footer-credit {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--bubblegum-pink);
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    border: 2px solid var(--bubblegum-pink);
    border-radius: 50%;
}

.eyebrow-divider {
    color: rgba(247, 239, 233, 0.55);
}

.hero h1 {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 26px 0 19px;
    color: var(--cream);
    font-size: clamp(58px, 10vw, 132px);
    font-weight: 900;
    letter-spacing: -0.085em;
    line-height: 0.82;
}

.hero h1 span {
    color: var(--bubblegum-pink);
}

.hero-subtitle {
    max-width: 620px;
    margin: 26px 0 0;
    color: var(--lime-green);
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.35;
}

.hero-intro {
    max-width: 580px;
    margin: 12px 0 0;
    color: rgba(247, 239, 233, 0.84);
    font-size: 14px;
    line-height: 1.65;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    padding: 9px 12px;
    border: 1.5px solid rgba(247, 239, 233, 0.5);
    border-radius: 999px;
    color: var(--cream);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.65px;
}

.start-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 20px;
    border: 2px solid var(--burgundy);
    border-radius: 999px;
    background: var(--lime-green);
    box-shadow: 4px 4px 0 var(--bubblegum-pink);
    color: var(--burgundy);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.7px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.start-button:hover:not(:disabled) {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--bubblegum-pink);
}

.start-button:active:not(:disabled) {
    transform: translate(4px, 4px);
    box-shadow: none;
}

.start-button:disabled {
    cursor: default;
    opacity: 0.78;
}

.start-button span {
    display: inline-block;
    font-size: 17px;
    transition: transform 180ms ease;
}

.start-button:hover:not(:disabled) span {
    transform: translate(2px, -2px);
}

.hero-sparkle {
    position: absolute;
    color: var(--bubblegum-pink);
    line-height: 1;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle-one {
    top: 13%;
    right: 13%;
    font-size: 35px;
}

.sparkle-two {
    top: 37%;
    right: 7%;
    font-size: 24px;
    animation-delay: 0.5s;
}

.sparkle-three {
    right: 25%;
    bottom: 12%;
    color: var(--lime-green);
    font-size: 18px;
    animation-delay: 1.1s;
}

.exhibit {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
    gap: 24px;
    margin-top: 62px;
}

.camera-card,
.playground-card {
    min-width: 0;
    padding: clamp(19px, 2.7vw, 32px);
    border: 2px solid var(--burgundy);
    border-radius: 30px;
    box-shadow: var(--pink-shadow);
}

.camera-card {
    background: var(--white);
}

.camera-card-head,
.playground-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 19px;
}

.card-kicker,
.section-kicker {
    margin: 0;
    color: var(--deep-berry);
}

.camera-card h2,
.playground-card h2 {
    margin: 5px 0 0;
    color: var(--burgundy);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 850;
    letter-spacing: -0.065em;
    line-height: 1.1;
}

.exhibit-number {
    color: rgba(79, 2, 39, 0.17);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.1em;
    line-height: 1;
}

.camera-frame {
    overflow: hidden;
    border: 2px solid var(--burgundy);
    border-radius: 18px;
    background: var(--cream);
}

.camera-frame-top,
.camera-card-foot {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 13px;
    background: var(--cream);
}

.camera-frame-top {
    border-bottom: 2px solid var(--burgundy);
}

.live-label,
.camera-status,
.camera-card-foot > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--burgundy);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.45px;
}

.live-symbol {
    color: var(--deep-berry);
    font-size: 13px;
}

.camera-status {
    padding: 6px 9px;
    border: 1.5px solid var(--burgundy);
    border-radius: 999px;
    background: var(--white);
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border: 1px solid var(--burgundy);
    border-radius: 50%;
    background: var(--bubblegum-pink);
}

.camera-status[data-state="loading"] {
    background: var(--lime-green);
}

.camera-status[data-state="loading"] .status-dot {
    animation: status-pulse 900ms ease-in-out infinite;
}

.camera-status[data-state="active"] {
    background: var(--lime-green);
}

.camera-status[data-state="active"] .status-dot {
    background: #67a63c;
    animation: status-pulse 1.6s ease-in-out infinite;
}

.camera-status[data-state="error"] {
    background: var(--bubblegum-pink);
}

.camera-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        linear-gradient(rgba(79, 2, 39, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 2, 39, 0.1) 1px, transparent 1px),
        #eadbd7;
    background-size: 32px 32px;
}

#webcam {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scaleX(-1);
    transition: opacity 180ms ease;
}

.camera-card.is-active #webcam {
    opacity: 1;
}

#canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: scaleX(-1);
}

.camera-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 9px;
    padding: 18px;
    color: var(--burgundy);
    text-align: center;
    pointer-events: none;
}

.camera-card.is-active .camera-placeholder {
    display: none;
}

.placeholder-hand {
    display: grid;
    width: 57px;
    height: 57px;
    place-items: center;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
    background: var(--bubblegum-pink);
    font-size: 27px;
}

.camera-placeholder strong {
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 850;
    letter-spacing: -0.04em;
}

.camera-placeholder > span:last-child {
    color: var(--muted);
    font-size: 11px;
}

.frame-corner {
    position: absolute;
    z-index: 1;
    width: 15px;
    height: 15px;
    border-color: var(--deep-berry);
    border-style: solid;
    pointer-events: none;
}

.frame-corner-tl {
    top: 9px;
    left: 9px;
    border-width: 2px 0 0 2px;
}

.frame-corner-tr {
    top: 9px;
    right: 9px;
    border-width: 2px 2px 0 0;
}

.frame-corner-bl {
    bottom: 9px;
    left: 9px;
    border-width: 0 0 2px 2px;
}

.frame-corner-br {
    right: 9px;
    bottom: 9px;
    border-width: 0 2px 2px 0;
}

.camera-card-foot {
    min-height: 48px;
    border-top: 2px solid var(--burgundy);
}

.camera-card-foot > span {
    font-size: 8px;
}

.camera-foot-mark {
    font-size: 13px;
}

.clear-button {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1.5px solid var(--burgundy);
    border-radius: 999px;
    background: var(--white);
    color: var(--burgundy);
    font: inherit;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.clear-button span {
    padding-right: 3px;
    font-size: 13px;
    vertical-align: -1px;
}

.clear-button:hover {
    transform: translate(2px, 2px);
    background: var(--bubblegum-pink);
    box-shadow: 2px 2px 0 var(--burgundy);
}

.clear-button:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

.camera-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.camera-note > span {
    color: var(--deep-berry);
}

.playground-card {
    background: var(--bubblegum-pink);
}

.playground-head {
    margin-bottom: 15px;
}

.playground-head .card-kicker {
    color: var(--burgundy);
}

.playground-star {
    color: var(--burgundy);
    font-size: 27px;
    animation: sparkle 3.2s ease-in-out infinite;
}

.current-gesture {
    position: relative;
    display: grid;
    min-height: 118px;
    align-content: center;
    gap: 4px;
    padding: 15px 18px;
    overflow: hidden;
    border: 2px solid var(--burgundy);
    border-radius: 17px;
    background: var(--lime-green);
}

.current-gesture-label {
    position: relative;
    z-index: 1;
    color: var(--burgundy);
    font-size: 9px;
}

.current-gesture strong {
    position: relative;
    z-index: 1;
    max-width: 90%;
    overflow-wrap: anywhere;
    color: var(--burgundy);
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 1;
}

.gesture-caption {
    position: relative;
    z-index: 1;
    color: var(--dark-text);
    font-size: 10px;
}

.current-gesture-emoji {
    position: absolute;
    top: 50%;
    right: 16px;
    color: rgba(79, 2, 39, 0.18);
    font-size: 56px;
    line-height: 1;
    transform: translateY(-50%) rotate(8deg);
}

.gesture-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.gesture-tile {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 61px;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    border: 2px solid rgba(79, 2, 39, 0.62);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.54);
    transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

.gesture-tile:last-child {
    grid-column: 1 / -1;
}

.tile-emoji {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1.5px solid var(--burgundy);
    border-radius: 10px;
    background: var(--white);
    font-size: 17px;
}

.tile-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.tile-copy strong {
    color: var(--burgundy);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.15px;
    overflow-wrap: anywhere;
}

.tile-copy > span {
    color: var(--dark-text);
    font-size: 9px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.detected-label {
    display: none;
    position: absolute;
    top: -8px;
    right: 8px;
    padding: 3px 6px;
    border: 1.5px solid var(--burgundy);
    border-radius: 999px;
    background: var(--lime-green);
    color: var(--burgundy);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 0.25px;
}

.gesture-tile[aria-current="true"] {
    z-index: 1;
    transform: scale(1.025);
    border-color: var(--burgundy);
    background: var(--lime-green);
}

.gesture-tile[aria-current="true"] .detected-label {
    display: inline-block;
}

.tracking-panel {
    margin-top: 16px;
    padding: 13px;
    border: 2px solid var(--burgundy);
    border-radius: 16px;
    background: var(--cream);
}

.tracking-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 9px;
    border-bottom: 1.5px solid rgba(79, 2, 39, 0.26);
}

.tracking-heading h3 {
    margin: 0;
    color: var(--burgundy);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.tracking-heading > span {
    color: var(--deep-berry);
    font-size: 8px;
}

.tracking-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr 0.8fr;
    gap: 7px;
    padding-top: 11px;
}

.tracking-stat {
    min-width: 0;
}

.tracking-stat > span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 7px;
    letter-spacing: 0.45px;
}

.tracking-stat strong {
    display: block;
    overflow: hidden;
    color: var(--burgundy);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tracking-stat-wide {
    text-align: right;
}

.drawing-section,
.behind-section {
    margin-top: 94px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2 {
    margin: 10px 0 7px;
    color: var(--burgundy);
    font-size: clamp(34px, 5.3vw, 60px);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 1;
}

.section-heading h2 > span {
    color: var(--deep-berry);
    font-size: 0.8em;
}

.section-heading > div > p:last-child,
.behind-intro {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.drawing-doodle {
    display: grid;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    place-items: center;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
    background: var(--bubblegum-pink);
    color: var(--burgundy);
    font-size: 30px;
    font-weight: 800;
    transform: rotate(-12deg);
}

.drawing-instructions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 27px;
}

.instruction-card {
    display: grid;
    min-height: 111px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 17px;
    border: 2px solid var(--burgundy);
    border-radius: 20px;
    box-shadow: 5px 5px 0 var(--burgundy);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.instruction-card:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--burgundy);
}

.instruction-number {
    align-self: start;
    color: var(--deep-berry);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.instruction-card > span:nth-child(2) {
    color: var(--dark-text);
    font-size: 12px;
    line-height: 1.55;
}

.instruction-card > span:nth-child(2) strong {
    color: var(--burgundy);
    font-weight: 900;
}

.instruction-icon {
    align-self: end;
    font-size: 25px;
}

.instruction-pink {
    background: var(--bubblegum-pink);
}

.instruction-cream {
    background: var(--white);
}

.instruction-lime {
    background: var(--lime-green);
}

.drawing-footnote {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.drawing-footnote span {
    color: var(--deep-berry);
}

.behind-section {
    padding-bottom: 92px;
}

.behind-heading {
    margin-bottom: 25px;
}

.behind-intro {
    max-width: 280px;
    font-size: 12px;
}

.build-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.build-card {
    position: relative;
    min-height: 240px;
    padding: 23px;
    overflow: hidden;
    border: 2px solid var(--burgundy);
    border-radius: 23px;
    box-shadow: 6px 6px 0 var(--burgundy);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.build-card:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 var(--burgundy);
}

.build-idea {
    background: var(--cream);
}

.build-how {
    background: var(--bubblegum-pink);
}

.build-learned {
    background: var(--lime-green);
}

.build-number {
    display: block;
    color: var(--burgundy);
    font-size: 54px;
    font-weight: 950;
    letter-spacing: -0.1em;
    line-height: 0.9;
}

.build-label {
    position: relative;
    z-index: 1;
    margin: 20px 0 8px;
    color: var(--deep-berry);
}

.build-copy {
    position: relative;
    z-index: 1;
    max-width: 370px;
    margin: 0;
    color: var(--dark-text);
    font-size: 12px;
    line-height: 1.65;
}

.build-doodle {
    position: absolute;
    right: 19px;
    bottom: 13px;
    color: rgba(79, 2, 39, 0.19);
    font-size: 39px;
    font-weight: 900;
    line-height: 1;
}

.site-footer {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    padding: 35px 0 28px;
    border-top: 2px solid var(--burgundy);
}

.footer-mantra {
    margin: 0;
    color: var(--burgundy);
    font-size: clamp(22px, 3.1vw, 36px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 1.1;
}

.footer-mantra span {
    color: var(--deep-berry);
}

.footer-meta {
    display: grid;
    justify-items: end;
    gap: 13px;
}

.footer-caption {
    color: var(--deep-berry);
    font-size: 8px;
}

.footer-caption span {
    padding-left: 5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.footer-link {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    border: 2px solid var(--burgundy);
    border-radius: 999px;
    background: var(--lime-green);
    box-shadow: 3px 3px 0 var(--burgundy);
    color: var(--burgundy);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.35px;
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.footer-link-source {
    background: var(--bubblegum-pink);
}

.footer-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--burgundy);
}

.footer-link:active {
    transform: translate(3px, 3px);
    box-shadow: none;
}

.footer-credit {
    position: absolute;
    right: 0;
    bottom: 8px;
    margin: 0;
    color: var(--muted);
    font-size: 7px;
}

.footer-credit span {
    padding: 0 3px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--deep-berry);
    outline-offset: 4px;
}

@keyframes enter-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes sparkle {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(18deg) scale(1.12);
    }
}

@keyframes status-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@media (max-width: 1000px) {
    .exhibit {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
        gap: 19px;
    }

    .camera-card,
    .playground-card {
        padding: 21px;
    }

    .gesture-grid {
        gap: 7px;
    }

    .gesture-tile {
        gap: 7px;
        padding: 7px;
    }

    .tile-copy strong {
        font-size: 8px;
    }

    .tile-copy > span {
        font-size: 8px;
    }
}

@media (max-width: 760px) {
    .site-header,
    main,
    .site-footer {
        width: min(100% - 40px, 600px);
    }

    .header-note {
        max-width: 190px;
        font-size: 8px;
        text-align: right;
    }

    .hero {
        min-height: 0;
        padding: clamp(32px, 7vw, 56px);
        border-radius: 28px;
    }

    .hero h1 {
        font-size: clamp(55px, 12vw, 90px);
    }

    .hero-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .exhibit {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-top: 52px;
    }

    .camera-card,
    .playground-card {
        padding: clamp(18px, 4vw, 27px);
    }

    .camera-container {
        aspect-ratio: 16 / 9;
    }

    .gesture-grid {
        gap: 9px;
    }

    .gesture-tile {
        gap: 9px;
        padding: 9px;
    }

    .tile-copy strong {
        font-size: 9px;
    }

    .tile-copy > span {
        font-size: 9px;
    }

    .drawing-section,
    .behind-section {
        margin-top: 76px;
    }

    .drawing-instructions {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .instruction-card {
        min-height: 82px;
    }

    .build-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .build-card {
        min-height: 190px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .footer-meta {
        justify-items: start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-credit {
        bottom: 7px;
    }
}

@media (max-width: 430px) {
    .site-header,
    main,
    .site-footer {
        width: min(100% - 28px, 600px);
    }

    .site-header {
        min-height: 68px;
    }

    .brand {
        gap: 8px;
        font-size: 9px;
        letter-spacing: 0.35px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 9px;
    }

    .header-note {
        max-width: 130px;
        font-size: 7px;
        letter-spacing: 0.35px;
    }

    .hero {
        margin-top: 19px;
        padding: 31px 23px;
        border-radius: 23px;
        box-shadow: 6px 6px 0 var(--bubblegum-pink);
    }

    .eyebrow {
        gap: 6px;
        font-size: 8px;
        letter-spacing: 0.4px;
    }

    .eyebrow-dot {
        width: 7px;
        height: 7px;
    }

    .hero h1 {
        margin-top: 22px;
        font-size: clamp(46px, 13.1vw, 59px);
    }

    .hero-subtitle {
        margin-top: 21px;
        font-size: 16px;
    }

    .hero-intro {
        font-size: 12px;
    }

    .hero-sparkle {
        opacity: 0.75;
    }

    .sparkle-one {
        top: 9%;
        right: 9%;
        font-size: 23px;
    }

    .sparkle-two {
        top: 37%;
        right: 4%;
        font-size: 18px;
    }

    .sparkle-three {
        right: 10%;
        bottom: 19%;
    }

    .tech-tags {
        gap: 6px;
    }

    .tech-tags span {
        padding: 7px 8px;
        font-size: 7px;
        letter-spacing: 0.25px;
    }

    .start-button {
        min-height: 44px;
        padding: 0 16px;
        font-size: 9px;
    }

    .exhibit {
        margin-top: 42px;
    }

    .camera-card,
    .playground-card {
        padding: 15px;
        border-radius: 23px;
        box-shadow: 5px 5px 0 var(--bubblegum-pink);
    }

    .camera-card-head,
    .playground-head {
        margin-bottom: 14px;
    }

    .camera-card h2,
    .playground-card h2 {
        font-size: 21px;
    }

    .camera-card .card-kicker,
    .playground-card .card-kicker {
        font-size: 8px;
    }

    .exhibit-number {
        font-size: 34px;
    }

    .camera-frame {
        border-radius: 14px;
    }

    .camera-frame-top {
        min-height: 40px;
        gap: 5px;
        padding: 6px 8px;
    }

    .live-label,
    .camera-status {
        gap: 5px;
        font-size: 7px;
        letter-spacing: 0.1px;
    }

    .camera-status {
        padding: 5px 6px;
    }

    .status-dot {
        width: 7px;
        height: 7px;
    }

    .camera-card-foot {
        min-height: 42px;
        gap: 5px;
        padding: 6px 7px;
    }

    .camera-card-foot > span {
        gap: 4px;
        font-size: 6px;
        letter-spacing: 0;
    }

    .clear-button {
        padding: 6px 7px;
        font-size: 7px;
        letter-spacing: 0;
    }

    .camera-note {
        font-size: 9px;
    }

    .current-gesture {
        min-height: 105px;
        padding: 13px;
    }

    .current-gesture strong {
        font-size: 27px;
    }

    .gesture-grid {
        gap: 7px;
    }

    .gesture-tile {
        min-height: 58px;
        gap: 6px;
        padding: 6px;
        border-radius: 11px;
    }

    .tile-emoji {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
        font-size: 15px;
    }

    .tile-copy strong {
        font-size: 7px;
        letter-spacing: 0;
    }

    .tile-copy > span {
        font-size: 7px;
        line-height: 1.2;
    }

    .tracking-panel {
        padding: 10px;
    }

    .tracking-stat > span {
        font-size: 6px;
    }

    .tracking-stat strong {
        font-size: 13px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: clamp(34px, 10vw, 43px);
    }

    .section-heading > div > p:last-child,
    .behind-intro {
        font-size: 12px;
    }

    .drawing-doodle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 23px;
    }

    .instruction-card {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 9px;
        padding: 13px;
    }

    .instruction-card > span:nth-child(2) {
        font-size: 11px;
    }

    .behind-heading {
        flex-direction: column;
    }

    .build-card {
        min-height: 205px;
        padding: 19px;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-link {
        min-height: 36px;
        gap: 7px;
        padding: 0 10px;
        font-size: 7px;
    }
}

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

@supports (animation-timeline: view()) {
    .drawing-section,
    .behind-section {
        animation: enter-up linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 35%;
    }
}
