/* Ten Thousand Pixels — generated from design-system/tokens.json by tokens.mjs. Edit that file, not this block. */
:root, [data-theme="bright"] {
  --bg: #fff8ef;
  --surface: #ffffff;
  --surface-raised: #fff0dc;
  --line: #f0dcc4;
  --line-strong: #8a7766;
  --dot: #f4c8b8;
  --ink: #1d1530;
  --ink-muted: #5e5470;
  --cherry: #ff3d4f;
  --cherry-deep: #e5213a;
  --on-cherry: #1d1530;
  --on-cherry-muted: #4a0710;
  --accent-text: #d4142b;
  --action: #d81b33;
  --action-hover: #b8132a;
  --signal: #c24e00;
  --success: #13804a;
  --focus: #d81b33;
  --scrim: rgba(29, 21, 48, 0.6);
  --sun-soft: #fff1b8;
  --sky: #3fbdf0;
  --sky-soft: #d9f3fd;
  --mint: #2fd28c;
  --mint-soft: #d4f7e6;
  --grape: #9b5de5;
  --grape-soft: #eee2fc;
  --bubble-soft: #ffe0ec;
  --shadow-pixel: 4px 4px 0 0 #1d1530;
  --shadow-pixel-sm: 2px 2px 0 0 #1d1530;
  --shadow-lift: 0 24px 64px rgba(29, 21, 48, 0.18);
  color-scheme: light;
}
[data-theme="night"] {
  --bg: #0a0a0b;
  --surface: #18181a;
  --surface-raised: #232326;
  --line: #2c2c30;
  --line-strong: #77777e;
  --dot: #2e2e33;
  --ink: #f2f1ec;
  --ink-muted: #a0a0a6;
  --cherry: #ff3d3d;
  --cherry-deep: #e52222;
  --on-cherry: #0a0a0b;
  --on-cherry-muted: #4a0808;
  --accent-text: #ff6363;
  --action: #e5202a;
  --action-hover: #c41019;
  --signal: #ff8a3d;
  --success: #4cd18a;
  --focus: #ff3d3d;
  --scrim: rgba(10, 10, 11, 0.78);
  --sun-soft: #2e2610;
  --sky: #4cc9f0;
  --sky-soft: #0f2530;
  --mint: #3ddc97;
  --mint-soft: #0f2a1e;
  --grape: #a97bf0;
  --grape-soft: #22183a;
  --bubble-soft: #33141f;
  --shadow-pixel: 4px 4px 0 0 #f2f1ec;
  --shadow-pixel-sm: 2px 2px 0 0 #f2f1ec;
  --shadow-lift: 0 24px 64px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
:root {
  /* the same in every theme */
  --on-action: #ffffff;
  --sun: #ffd23f;
  --bubble: #ff8fb8;
  --midnight: #1d1530;
  --cream: #fff8ef;
  --stage: #14111c;
  --on-stage-muted: #b8b0cc;
  --cherry-ink: #d81b33;
  --grape-ink: #7a3fd1;
  --sky-ink: #0b86b8;
  --mint-ink: #0f9a5e;
  --bubble-ink: #c2185b;
  --sun-ink: #8a6200;
  --screen: #0b0a10;
  --shadow-none: none;
  /* spacing */
  --space-half: 4px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;
  --space-20: 160px;
  /* radius */
  --radius-0: 0;
  --radius-1: 2px;
  --radius-2: 4px;
  --radius-3: 8px;
  --radius-pill: 999px;
  /* border */
  --border-hair: 1px;
  --border-pixel: 2px;
  --border-bold: 3px;
  --border-chunky: 4px;
  /* size */
  --pixel-grid: 8px;
  --sprite-cell: 16px;
  --control-height: 40px;
  --control-height-sm: 32px;
  --nav-width: 1120px;
  --content-text: 640px;
  --content-max: 960px;
  --content-product: 1180px;
  --content-wide: 1200px;
  /* breakpoint */
  --bp-phone: 600px;
  --bp-nav: 760px;
  --bp-tablet: 900px;
  /* duration */
  --dur-instant: 80ms;
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 480ms;
  --dur-frame: 125ms;
  --dur-idle: 2400ms;
  /* easing */
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-step: steps(1, end);
  --ease-pixel: steps(2, end);
  /* zIndex */
  --z-nav: 50;
  --z-modal: 100;
  --z-finale: 200;
  /* type families */
  --font-dot: "Doto", "DotGothic16", ui-monospace, monospace;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --font-pixel: "Silkscreen", ui-monospace, monospace;
  --font-arcade: "Press Start 2P", "Silkscreen", ui-monospace, monospace;
}
.display-1 { font-family: var(--font-sans); font-size: 168px; line-height: 151px; font-weight: 800; letter-spacing: -0.045em; }
.display-2 { font-family: var(--font-sans); font-size: 72px; line-height: 72px; font-weight: 800; letter-spacing: -0.035em; }
.h1 { font-family: var(--font-serif); font-size: 56px; line-height: 60px; font-weight: 400; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-sans); font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.02em; }
.h3 { font-family: var(--font-sans); font-size: 32px; line-height: 36px; font-weight: 800; letter-spacing: -0.01em; }
.h4 { font-family: var(--font-sans); font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -0.01em; }
.h5 { font-family: var(--font-mono); font-size: 16px; line-height: 20px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.h6 { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.body-lg { font-family: var(--font-sans); font-size: 20px; line-height: 30px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 700; }
.help { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-mono); font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.caption { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.pixel-lg { font-family: var(--font-pixel); font-size: 32px; line-height: 32px; font-weight: 400; }
.pixel-md { font-family: var(--font-pixel); font-size: 20px; line-height: 24px; font-weight: 400; }
.pixel-sm { font-family: var(--font-pixel); font-size: 16px; line-height: 16px; font-weight: 400; }
.pixel-ui { font-family: var(--font-pixel); font-size: 14px; line-height: 16px; font-weight: 400; }
.pixel-xs { font-family: var(--font-pixel); font-size: 12px; line-height: 14px; font-weight: 400; }
.dot-lg { font-family: var(--font-dot); font-size: 46px; line-height: 46px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.arcade { font-family: var(--font-arcade); font-size: 36px; line-height: 60px; font-weight: 400; text-transform: uppercase; }
/* end of generated tokens */

html, body { background: var(--bg); transition: background-color var(--dur-base) var(--ease-out); }

/* Ten Thousand Pixels — component styles. Every value comes from tokens.css. */

body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
.ttp-surface { background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; padding: var(--space-3); }
.ttp-surface *, .ttp-surface *::before, .ttp-surface *::after { box-sizing: border-box; }
.ttp-stack { display: flex; flex-direction: column; gap: var(--space-2); }
.ttp-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.ttp-state-label { font: 400 12px/16px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.ttp-grid-states { display: grid; grid-template-columns: 96px repeat(5, max-content); gap: var(--space-2) var(--space-3); align-items: center; }

/* Textures */
.ttp-dotgrid { background-image: radial-gradient(circle at 1px 1px, var(--dot) 1.5px, transparent 2px); background-size: var(--space-20) var(--space-20); background-position: calc(var(--space-20) / 2) calc(var(--space-20) / 2); }
.ttp-dither { background-image: conic-gradient(var(--dot) 25%, transparent 0 50%, var(--dot) 0 75%, transparent 0); background-size: 4px 4px; }

/* Pixel art */
.ttp-icon { display: inline-block; flex: none; vertical-align: middle; image-rendering: pixelated; }
.ttp-sprite { display: inline-block; image-rendering: pixelated; image-rendering: crisp-edges; image-rendering: pixelated; }
.ttp-sprite-sheet { display: inline-block; background-repeat: no-repeat; image-rendering: pixelated; background-position: 0 0; }
.ttp-sprite-sheet.is-playing { animation: ttp-sprite-play calc(var(--ttp-frames) * var(--dur-frame)) steps(var(--ttp-frames), end) infinite; }
@keyframes ttp-sprite-play { from { background-position-x: 0; } to { background-position-x: calc(var(--ttp-sheet-w) * -1); } }
.ttp-frame { display: inline-block; border: var(--border-chunky) solid var(--ink); background: var(--surface); padding: var(--space-1); line-height: 0; }

/* Logo */
.ttp-logo { display: inline-flex; align-items: center; gap: var(--space-1); color: inherit; text-decoration: none; }
.ttp-logo-word { font-family: var(--font-dot); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1; white-space: nowrap; }

/* Buttons */
.ttp-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); height: var(--control-height); padding: 0 var(--space-2); border: var(--border-pixel) solid transparent; border-radius: var(--radius-2); font: 500 13px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-none); transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-instant) var(--ease-step), box-shadow var(--dur-instant) var(--ease-step); }
.ttp-btn .ttp-icon { transition: transform var(--dur-fast) var(--ease-pixel); }
.ttp-btn:hover, .ttp-btn.is-hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-pixel); }
.ttp-btn:hover .ttp-icon, .ttp-btn.is-hover .ttp-icon { transform: translateX(2px); }
.ttp-btn:active, .ttp-btn.is-active { transform: translate(0, 0); box-shadow: var(--shadow-none); }
.ttp-btn:focus-visible, .ttp-btn.is-focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.ttp-btn-primary { background: var(--action); color: var(--on-action); }
.ttp-btn-primary:hover, .ttp-btn-primary.is-hover, .ttp-btn-primary:active, .ttp-btn-primary.is-active { background: var(--action-hover); }
.ttp-btn-brand { background: var(--cherry); color: var(--on-cherry); }
.ttp-btn-brand:hover, .ttp-btn-brand.is-hover, .ttp-btn-brand:active, .ttp-btn-brand.is-active { background: var(--cherry-deep); }
.ttp-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ttp-btn-ghost:hover, .ttp-btn-ghost.is-hover { border-color: var(--ink); }
.ttp-btn-ghost:active, .ttp-btn-ghost.is-active { background: var(--surface-raised); }
.ttp-btn-sm { height: var(--control-height-sm); padding: 0 12px; font-size: 12px; }
.ttp-btn-lg { height: 48px; padding: 0 var(--space-3); font-size: 14px; }
.ttp-btn-pill { border-radius: var(--radius-pill); }
.ttp-btn:disabled, .ttp-btn.is-disabled { background: var(--surface-raised); color: var(--ink-muted); border-color: var(--line); cursor: not-allowed; transform: none; box-shadow: var(--shadow-none); }
.ttp-btn:disabled .ttp-icon, .ttp-btn.is-disabled .ttp-icon { transform: none; }
.ttp-btn-icon { width: var(--control-height); padding: 0; }
.ttp-btn-icon.ttp-btn-sm { width: var(--control-height-sm); }

/* Links */
.ttp-link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-out), text-decoration-thickness var(--dur-fast) var(--ease-out); cursor: pointer; }
.ttp-link:hover, .ttp-link.is-hover { color: var(--accent-text); text-decoration-thickness: 2px; }
.ttp-link:active, .ttp-link.is-active { color: var(--ink-muted); }
.ttp-link:focus-visible, .ttp-link.is-focus { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-1); }
.ttp-link-mono { font: 500 13px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ttp-link-mono:hover, .ttp-link-mono.is-hover { text-decoration: underline; text-decoration-thickness: 2px; }
.ttp-link-quiet { text-decoration: none; }
.ttp-link-disabled { color: var(--ink-muted); text-decoration: none; cursor: not-allowed; pointer-events: none; }

/* Inputs */
.ttp-field { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.ttp-field-label { font: 500 12px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ttp-input { width: 100%; height: var(--control-height); padding: 0 12px; background: var(--bg); color: var(--ink); border: var(--border-pixel) solid var(--line-strong); border-radius: var(--radius-2); font: 400 16px/24px var(--font-sans); transition: border-color var(--dur-fast) var(--ease-out); }
.ttp-input::placeholder { color: var(--ink-muted); }
.ttp-input:hover, .ttp-input.is-hover { border-color: var(--ink); }
.ttp-input:focus, .ttp-input.is-focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.ttp-input[aria-invalid="true"] { border-color: var(--signal); }
.ttp-input:disabled { background: var(--surface-raised); color: var(--ink-muted); border-color: var(--line); cursor: not-allowed; }
.ttp-field-help { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.ttp-field-help a, .pxt-fine a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ttp-field-help a:hover { color: var(--accent-text); text-decoration-thickness: 2px; }
.pxt-fine a:hover { text-decoration-thickness: 2px; }
.ttp-field-error { display: flex; align-items: center; gap: 6px; font: 500 14px/20px var(--font-sans); color: var(--signal); }

/* Badges */
.ttp-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 var(--space-1); border-radius: var(--radius-1); font: 500 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--surface-raised); color: var(--ink); white-space: nowrap; }
.ttp-badge-brand { background: var(--cherry); color: var(--on-cherry); }
.ttp-badge-action { background: var(--action); color: var(--on-action); }
.ttp-badge-outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.ttp-badge-live::before, .ttp-badge-success::before { content: ""; width: 6px; height: 6px; background: var(--signal); }
.ttp-badge-live { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.ttp-badge-live::before { animation: ttp-blink var(--dur-idle) var(--ease-step) infinite; }
.ttp-badge-success { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.ttp-badge-success::before { background: var(--success); }
.ttp-badge-pill { border-radius: var(--radius-pill); padding: 0 12px; }
.ttp-badge-pixel { height: 32px; padding: 0 var(--space-1); font: 400 16px/16px var(--font-pixel); letter-spacing: 0; border-radius: var(--radius-0); box-shadow: var(--shadow-pixel-sm); }
@keyframes ttp-blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0; } }

/* Cards */
.ttp-card { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; background: var(--surface); color: var(--ink); border: var(--border-hair) solid var(--line); border-radius: var(--radius-3); padding: var(--space-4); }
.ttp-card-eyebrow { font: 500 12px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); display: flex; align-items: center; gap: var(--space-1); }
.ttp-card-title { margin: 0; font: 800 24px/30px var(--font-sans); letter-spacing: -.01em; text-wrap: balance; }
.ttp-card-body { margin: 0; color: var(--ink-muted); }
.ttp-card-foot { margin-top: auto; padding-top: var(--space-1); display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.ttp-card-media { margin: calc(var(--space-4) * -1) calc(var(--space-4) * -1) var(--space-1); border-radius: var(--radius-3) var(--radius-3) 0 0; overflow: hidden; }
.ttp-card-interactive { cursor: pointer; transition: transform var(--dur-instant) var(--ease-step), box-shadow var(--dur-instant) var(--ease-step), border-color var(--dur-fast) var(--ease-out); }
.ttp-card-interactive:hover, .ttp-card-interactive.is-hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-pixel); border-color: var(--ink); }
.ttp-card-interactive:hover .ttp-art, .ttp-card-interactive.is-hover .ttp-art { filter: none; }
.ttp-card-form { border: var(--border-pixel) solid var(--action); }
.ttp-card-band { background: var(--cherry); color: var(--on-cherry); border-color: var(--cherry); }
.ttp-card-band .ttp-card-body, .ttp-card-band .ttp-card-eyebrow { color: var(--on-cherry-muted); }
.ttp-price { font: 700 16px/22px var(--font-sans); font-variant-numeric: tabular-nums; }
.ttp-price small { font-weight: 400; color: var(--ink-muted); margin-left: 4px; }

/* Art slots — placeholders for the brand's own illustration */
.ttp-art { position: relative; display: grid; place-items: center; margin: 0; width: 100%; max-width: 100%; overflow: hidden; color: var(--ink-muted); background-color: var(--surface); }
.ttp-art-hand { background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 12px); border: var(--border-pixel) dashed var(--line-strong); }
.ttp-art-pixel { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: var(--pixel-grid) var(--pixel-grid); border: var(--border-pixel) solid var(--line-strong); }
.ttp-art-photo { background-image: radial-gradient(circle at 1px 1px, var(--dot) 1.5px, transparent 2px); background-size: var(--space-2) var(--space-2); border: var(--border-hair) solid var(--line); }
.ttp-art-bleed { border-right: 0; }
.ttp-art-plain { border: 0; }
.ttp-art-label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: var(--space-2); text-align: center; background: var(--surface); border-radius: var(--radius-1); max-width: 90%; }
.ttp-art-kind { font: 500 12px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.ttp-art-note { font: 400 12px/16px var(--font-mono); letter-spacing: .04em; color: var(--ink-muted); }
.ttp-art-corner { position: absolute; width: 12px; height: 12px; border-color: var(--ink); border-style: solid; border-width: 0; }
.ttp-art-corner.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.ttp-art-corner.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.ttp-art-corner.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.ttp-art-corner.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

/* Menu rows */
.ttp-menu { display: flex; flex-direction: column; gap: var(--space-half); width: 100%; max-width: 320px; margin: 0; padding: 0; list-style: none; }
.ttp-menu-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); box-sizing: border-box; width: 100%; height: var(--control-height); padding: 0 12px; background: var(--surface); color: var(--ink); border: 0; border-radius: var(--radius-2); font: 500 13px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-align: left; text-decoration: none; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out); }
.ttp-menu-row .ttp-icon { transition: transform var(--dur-fast) var(--ease-pixel); }
.ttp-menu-row:hover, .ttp-menu-row.is-hover { background: var(--surface-raised); }
.ttp-menu-row:hover .ttp-icon, .ttp-menu-row.is-hover .ttp-icon { transform: translateX(2px); }
.ttp-menu-row:focus-visible, .ttp-menu-row.is-focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.ttp-menu-row[aria-current="true"] { color: var(--accent-text); }

/* Option list (the Environments list) */
.ttp-options { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ttp-options-title { font: 500 12px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--space-1); }
.ttp-option { all: unset; cursor: pointer; font: 400 12px/18px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ttp-option:hover { color: var(--ink); }
.ttp-option[aria-pressed="true"] { color: var(--accent-text); }
.ttp-option:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Nav */
.ttp-nav-pill { position: relative; display: flex; align-items: center; gap: var(--space-2); width: 100%; max-width: var(--nav-width); height: 60px; margin: 0 auto; padding: 0 10px 0 14px; background: var(--surface); color: var(--ink); border: var(--border-bold) solid var(--ink); border-radius: 0; box-shadow: var(--shadow-pixel); z-index: var(--z-nav); }
.ttp-nav-pill .ttp-logo { gap: 10px; }
.ttp-nav-pill .ttp-logo-word { font-family: var(--font-pixel); font-weight: 400; font-size: 16px !important; letter-spacing: .02em; }
.ttp-nav-pill .ttp-logo:hover .ttp-logo-pop { transform: translate(1px, -1px); }
.ttp-logo-pop { transition: transform 160ms steps(2, end); }
.ttp-nav-pill-links { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.ttp-nav-pill-links a { display: block; padding: 8px 12px; font: 400 14px/16px var(--font-pixel); color: var(--ink); text-decoration: none; border: 2px solid transparent; }
.ttp-nav-pill-links a:hover { background: var(--sun); color: var(--midnight); border-color: var(--ink); box-shadow: var(--shadow-pixel-sm); transform: translate(-1px, -1px); }
.ttp-nav-pill-links a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ttp-nav-menu { display: none !important; }
.ttp-nav-iconbtn { all: unset; display: grid; place-items: center; width: 40px; height: 40px; box-sizing: border-box; color: inherit; cursor: pointer; border: 2px solid transparent; }
.ttp-nav-iconbtn:hover { background: var(--sun); color: var(--midnight); border-color: var(--ink); }
.ttp-nav-iconbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ttp-nav-pill .ttp-bagbtn { background: var(--cherry); color: var(--cream); border-color: var(--ink); box-shadow: var(--shadow-pixel-sm); }
.ttp-nav-pill .ttp-bagbtn:hover { background: var(--cherry); color: var(--cream); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 0 var(--ink); }
@media (max-width: 760px) {
  .ttp-nav-pill { height: 56px; padding: 0 8px; justify-content: space-between; }
  .ttp-nav-pill-links { display: none; }
  .ttp-nav-menu { display: grid !important; }
  .ttp-nav-pill .ttp-logo-word { font-size: 13px !important; }
  /* Stands in for the bag button while it's hidden, so the logo stays centred. */
  .ttp-nav-pill:not(:has(.ttp-bagbtn))::after { content: ""; width: 40px; flex: none; }
}
.ttp-nav-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; padding: var(--space-1) var(--space-4); background: var(--bg); color: var(--ink); border-bottom: var(--border-hair) solid var(--line); }
.ttp-nav-links { display: flex; align-items: center; gap: var(--space-3); margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.ttp-nav-links .ttp-link { font: 700 16px/24px var(--font-sans); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.ttp-nav-links .ttp-link:hover { text-decoration: underline; }

/* Footer */
.ttp-footer { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); padding: var(--space-16) var(--space-2) var(--space-3); background: var(--bg); color: var(--ink); }
.ttp-footer-big { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.ttp-footer-big a { font: 400 36px/60px "Press Start 2P", var(--font-pixel); letter-spacing: 0; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.ttp-footer-big a:hover { color: var(--accent-text); }
.ttp-footer-big a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.ttp-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; width: 100%; padding-top: var(--space-6); }
.ttp-footer-bottom ul { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ttp-footer-bottom a { font: 400 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.ttp-footer-bottom a:hover { color: var(--accent-text); text-decoration: underline; }

/* Modal */
.ttp-scrim { position: fixed; inset: 0; display: grid; place-items: center; padding: var(--space-2); background: var(--scrim); z-index: var(--z-modal); animation: ttp-fade var(--dur-base) var(--ease-out); }
.ttp-scrim.is-inline { position: relative; inset: auto; min-height: 100%; }
.ttp-modal { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; max-width: 480px; padding: var(--space-4); background: var(--surface); color: var(--ink); border: var(--border-hair) solid var(--line); border-radius: var(--radius-3); box-shadow: var(--shadow-lift); animation: ttp-rise var(--dur-base) var(--ease-in-out); }
.ttp-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-2); }
.ttp-modal-title { margin: 4px 0 0; font: 800 32px/36px var(--font-sans); letter-spacing: -.01em; }
.ttp-modal-actions { display: flex; justify-content: flex-end; gap: var(--space-1); flex-wrap: wrap; }
@keyframes ttp-fade { from { opacity: 0; } }
@keyframes ttp-rise { from { transform: translateY(8px); opacity: 0; } }

/* Sticker */
.ttp-sticker { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px var(--space-2); background: var(--cherry); color: var(--on-cherry); border: var(--border-chunky) solid var(--on-cherry); box-shadow: var(--shadow-pixel); transform: rotate(-6deg); font: 800 24px/24px var(--font-sans); letter-spacing: -.01em; }
.ttp-sticker small { font: 400 16px/16px var(--font-pixel); letter-spacing: 0; }
.ttp-sticker-dark { background: var(--on-cherry); color: var(--cherry); border-color: var(--cherry); }

/* Spec grid */
.ttp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); margin: 0; }
.ttp-spec { display: grid; grid-template-columns: 96px 32px minmax(0, 1fr); align-items: center; gap: var(--space-2); }
.ttp-spec dt { text-align: right; color: var(--ink-muted); font: 400 16px/22px var(--font-sans); }
.ttp-spec .ttp-icon { color: var(--cherry); }
.ttp-spec dd { margin: 0; font: 700 16px/22px var(--font-sans); white-space: pre-line; }

/* Homepage template */
.ttp-home { container-type: inline-size; background: var(--bg); color: var(--ink); font-family: var(--font-sans); }
.ttp-home *, .ttp-home *::before, .ttp-home *::after { box-sizing: border-box; }
.ttp-home-inner { width: 100%; max-width: var(--content-max); margin: 0 auto; padding-left: var(--space-4); padding-right: var(--space-4); }
.ttp-home-wide { max-width: var(--content-wide); }
.ttp-home-navwrap { position: absolute; top: var(--space-1); left: var(--space-2); right: var(--space-2); }
/* The first screen: hero plus the marquee, together filling the viewport. */
.ttp-home-fold { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.ttp-home-fold > .ttp-home-hero { flex: 1 0 auto; min-height: 100vh; min-height: 100svh; }
.ttp-home-hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; min-height: 100vh; min-height: 100svh; padding: var(--space-16) var(--space-4) 30vh; padding-bottom: 30svh; text-align: center; overflow: hidden; }
.ttp-home-hero .ttp-art { position: absolute; inset: 72px var(--space-4) var(--space-4); width: auto; opacity: .55; place-items: start; }
.ttp-home-hero .ttp-art-label { margin: var(--space-4); align-items: flex-start; text-align: left; }
.ttp-home-hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); max-width: 720px; }
.ttp-eyebrow { margin: 0; font: 500 12px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.ttp-h1 { margin: 0; font: 400 56px/60px var(--font-serif); letter-spacing: -.02em; text-wrap: balance; }
.ttp-h2 { margin: 0; font: 800 48px/52px var(--font-sans); letter-spacing: -.02em; text-wrap: balance; }
.ttp-h3 { margin: 0; font: 800 32px/36px var(--font-sans); letter-spacing: -.01em; text-wrap: balance; }
.ttp-lede { margin: 0; font: 400 20px/30px var(--font-sans); max-width: var(--content-text); }
.ttp-lede b { font-weight: 700; }
.ttp-home-band { background: var(--cherry); color: var(--on-cherry); overflow: hidden; }
.ttp-home-band .ttp-home-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); padding-top: var(--space-16); padding-bottom: var(--space-16); align-items: center; }
.ttp-home-band-copy { display: flex; flex-direction: column; gap: var(--space-3); }
.ttp-home-band .ttp-art { margin-right: calc(var(--space-16) * -1); width: calc(100% + var(--space-16)); max-width: none; aspect-ratio: 4 / 3; background-color: var(--cherry); color: var(--on-cherry-muted); border-color: var(--on-cherry); }
.ttp-home-band .ttp-art-label { background: var(--cherry); }
.ttp-home-band .ttp-art-kind { color: var(--on-cherry); }
.ttp-home-band .ttp-art-note { color: var(--on-cherry-muted); }
.ttp-home-band .ttp-art-corner { border-color: var(--on-cherry); }
.ttp-home-band .ttp-art-hand { background-image: repeating-linear-gradient(135deg, var(--cherry-deep) 0 1px, transparent 1px 12px); }
.ttp-home-section { padding: var(--space-16) 0; }
.ttp-home-head { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }
.ttp-home-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.ttp-home-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.ttp-home-work .ttp-art { aspect-ratio: 6 / 5; }
.ttp-home-signup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2); align-items: end; }
.ttp-home-env { display: grid; grid-template-columns: 200px minmax(0, 1fr) 160px; gap: var(--space-4); align-items: center; }
.ttp-home-env .ttp-art { aspect-ratio: 1 / 1; }
.ttp-home-env-note { text-align: right; font: 400 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ttp-center { text-align: center; align-items: center; }

/* Whimsy layer */
.ttp-home-hero { cursor: var(--cur-reticle); }
.ttp-home-hero .ttp-art { opacity: .35; }
.ttp-home-hero a, .ttp-home-hero button, .ttp-home-hero.is-poke { cursor: var(--cur-hand); }
.ttp-float { position: absolute; color: var(--cherry); pointer-events: none; animation: ttp-bob var(--dur, 2400ms) steps(4, end) infinite; animation-delay: var(--delay, 0ms); }
.ttp-float.is-ink { color: var(--ink-muted); }
@keyframes ttp-bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(calc(var(--r, 0deg) * -1)); } }
.ttp-wiggle { display: inline-block; color: var(--accent-text); font-style: italic; animation: ttp-wiggle 1600ms steps(2, end) infinite; }
.ttp-h1 .ttp-wiggle { font: 400 0.82em/1 var(--font-pixel); font-style: normal; letter-spacing: 0; margin: 0 0.08em; text-shadow: 0.06em 0.06em 0 var(--ink); }
@keyframes ttp-wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-2px); } }
.ttp-hero-sticker { position: absolute; top: 150px; right: -40px; animation: ttp-wiggle 2400ms steps(2, end) infinite; }
.ttp-hero-actions { display: flex; gap: var(--space-1); flex-wrap: wrap; justify-content: center; }
.ttp-hint { font: 400 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ttp-counter { display: inline-flex; align-items: center; gap: var(--space-1); padding: 6px 10px; border: var(--border-pixel) solid var(--ink); box-shadow: var(--shadow-pixel-sm); font: 400 14px/16px var(--font-pixel); background: var(--surface); }
.ttp-counter b { color: var(--accent-text); font-weight: 400; font-variant-numeric: tabular-nums; }
.ttp-placed { position: absolute; width: 8px; height: 8px; background: var(--cherry); pointer-events: none; animation: ttp-pop 240ms steps(3, end); }
@keyframes ttp-pop { from { transform: scale(2.5); } }

/* Game-style pixel cursors */
:root {
  --cur-arrow: url("/assets/img/cursor-arrow.svg") 0 0, default;
  --cur-hand: url("/assets/img/cursor-hand.svg") 11 1, pointer;
  --cur-reticle: url("/assets/img/cursor-reticle.svg") 15 15, crosshair;
}
html, body { cursor: var(--cur-arrow); }
a, button, [role="button"], label, select, summary, .ttp-btn, .ttp-card-interactive, .ttp-option, .ttp-nav-iconbtn, .ttp-pip, .ttp-pdp-thumb, .ttp-chip { cursor: var(--cur-hand); }
input:not([type]), input[type="text"], input[type="email"], input[type="search"], textarea { cursor: text; }

.ttp-pxt-promo { background: var(--stage); color: var(--cream); border-bottom: 4px solid var(--midnight); }
.ttp-pxt-promo-inner { max-width: 1180px; margin: 0 auto; padding: var(--space-12) var(--space-4); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); align-items: center; }
.ttp-pxt-promo-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.ttp-pxt-new { padding: 6px 10px; background: var(--sun); color: var(--midnight); border: var(--border-bold) solid var(--cream); font: 400 14px/14px var(--font-pixel); transform: rotate(-4deg); box-shadow: 4px 4px 0 0 var(--cherry); }
.ttp-pxt-promo-title { margin: 0; font: 800 clamp(56px, 8vw, 104px)/0.9 var(--font-sans); letter-spacing: -0.045em; }
.ttp-pxt-promo-title span { color: var(--cherry); }
.ttp-pxt-promo-lede { margin: 0; font: 400 20px/30px var(--font-sans); color: #e8e3f2; }
.ttp-pxt-promo-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ttp-pxt-promo-points li { position: relative; padding-left: 22px; font: 400 16px/24px var(--font-sans); }
.ttp-pxt-promo-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--cherry); }
.ttp-pxt-promo-cta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-1); }
.ttp-pxt-promo-price { font: 400 13px/16px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--on-stage-muted); }
.ttp-pxt-promo-art { display: block; padding: 22px 4px 30px; transition: transform 160ms steps(2, end); }
.ttp-pxt-promo-art:hover { transform: translate(-3px, -3px); }
.ttp-pxt-promo .pxt-device { box-shadow: 0 2px 0 rgba(255,255,255,.5) inset, 0 34px 50px -24px rgba(0,0,0,.9), 14px 14px 0 0 var(--cherry); }
@media (max-width: 900px) {
  .ttp-pxt-promo-inner { grid-template-columns: minmax(0, 1fr); padding: var(--space-8) var(--space-2); gap: var(--space-4); }
  .ttp-pxt-promo-art { order: -1; }
}
/* ===== Pixeltron product page ===== */
.ttp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pxt { background: var(--bg); color: var(--ink); }
.pxt-announce { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: var(--cherry); color: var(--on-cherry); font: 400 13px/16px var(--font-pixel); text-decoration: none; letter-spacing: .02em; text-align: center; }
.pxt-announce:hover { background: var(--cherry-deep); }
.pxt-top { padding: var(--space-2) var(--space-2) 0; }
.pxt-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--space-8) var(--space-2) var(--space-12); gap: var(--space-3); }
.pxt-kicker { margin: 0; font: 400 14px/18px var(--font-pixel); color: var(--ink-muted); letter-spacing: .04em; }
.pxt-h1 { margin: 0; font: 800 clamp(64px, 12vw, 168px)/0.9 var(--font-sans); letter-spacing: -0.045em; }
.pxt-dot { color: var(--cherry); }
.pxt-stage { width: min(820px, 100%); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
.pxt-device { position: relative; width: 100%; aspect-ratio: 208 / 112; background: linear-gradient(180deg, var(--body) 0%, var(--body) 70%, var(--shade) 100%); border-radius: 7.5% / 14%; padding: 3.2% 3.2%; box-sizing: border-box; box-shadow: 0 2px 0 rgba(255,255,255,.5) inset, 0 -3px 0 rgba(0,0,0,.08) inset, 0 34px 50px -24px rgba(29,21,48,.55), 14px 14px 0 0 rgba(29,21,48,.12); transition: background 300ms ease; }
.pxt-glass { position: relative; width: 100%; height: 100%; background: var(--screen); border-radius: 4.5% / 9%; overflow: hidden; box-shadow: 0 0 0 2px rgba(0,0,0,.35) inset; }
.pxt-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 28%, transparent 40%); pointer-events: none; }
.pxt-led { position: absolute; left: 3.5%; right: 3.5%; top: 6.5%; bottom: 6.5%; width: 93%; height: 87%; image-rendering: pixelated; }
.pxt-touch { position: absolute; top: -4px; left: 50%; width: 14%; height: 6px; transform: translateX(-50%); background: var(--shade); border-radius: 6px 6px 0 0; }
.pxt-stand { position: absolute; bottom: -10px; left: 50%; width: 40%; height: 10px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(29,21,48,.28), transparent 70%); }
.pxt-nowplaying { margin: var(--space-1) 0 0; font: 400 12px/16px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 8px; }
.pxt-nowplaying b { color: var(--ink); font-weight: 500; }
.pxt-live-dot { width: 8px; height: 8px; background: var(--cherry); animation: ttp-twinkle 1200ms steps(1, end) infinite; }
.pxt-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pxt-swatch { all: unset; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 2px solid var(--line); background: var(--surface); font: 600 14px/16px var(--font-sans); cursor: pointer; }
.pxt-swatch:hover { border-color: var(--ink); }
.pxt-swatch.is-on { border-color: var(--ink); box-shadow: var(--shadow-pixel-sm); }
.pxt-swatch:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pxt-chip { width: 20px; height: 20px; border: 2px solid var(--ink); }
.pxt-lede { margin: var(--space-1) 0 0; max-width: 620px; font: 400 22px/32px var(--font-sans); }
.pxt-cta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-2); }
.pxt-price-hint { font: 400 13px/16px var(--font-mono); color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; }
.pxt-h2 { margin: 0; font: 800 clamp(40px, 6vw, 72px)/1 var(--font-sans); letter-spacing: -0.035em; }
.pxt-h3 { margin: 0; font: 800 26px/30px var(--font-sans); letter-spacing: -0.02em; }
.pxt-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); align-items: center; max-width: 1180px; margin: 0 auto; padding: var(--space-12) var(--space-4); }
.pxt-feature.pxt-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.pxt-feature.pxt-flip .pxt-copy { order: 2; }
.pxt-copy { display: flex; flex-direction: column; gap: var(--space-2); }
.pxt-copy p { margin: 0; font: 400 19px/30px var(--font-sans); }
.pxt-center { text-align: center; align-items: center; max-width: 760px; margin: 0 auto; }
.pxt-aside { font-style: italic; color: var(--ink-muted); }
.pxt-figure { margin: 0; border: var(--border-bold) solid var(--ink); box-shadow: 10px 10px 0 0 var(--cherry); background: #c9c6c2; line-height: 0; }
.pxt-figure img { width: 100%; height: auto; display: block; }
.pxt-figure-dark { background: #474747; box-shadow: 10px 10px 0 0 var(--sky); }
.pxt-figure-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.pxt-figure-photo img { height: 100%; object-fit: cover; }
.pxt-dark { max-width: none; padding-left: max(var(--space-4), calc((100% - 1180px) / 2)); padding-right: max(var(--space-4), calc((100% - 1180px) / 2)); background: var(--stage); color: var(--cream); }
.pxt-dark .pxt-copy, .pxt-dark .pxt-dialdemo { max-width: 560px; }
.pxt-dark .pxt-dialdemo { justify-self: end; width: 100%; }
.pxt-dark .pxt-copy { justify-self: start; }
.pxt-dark .pxt-aside { color: var(--on-stage-muted); }
/* The Dial: the flat device as the Retro TV, with a pixel cursor turning the dial in time with the app changes */
.pxt-dialdemo { position: relative; padding: 56px 0 28px; }
.pxt-device-sm { box-shadow: 0 30px 40px -20px rgba(0,0,0,.8); }
.pxt-device-tv { border-radius: 12% / 22%; }
.pxt-device-tv .pxt-glass { border-radius: 8% / 16%; }
.pxt-dial { position: absolute; top: -16px; right: 11%; width: 9%; height: 16px; background: repeating-linear-gradient(90deg, #e2b84f 0 3px, #a97a22 3px 6px); border-radius: 3px 3px 0 0; box-shadow: 0 -5px 0 -1px var(--midnight) inset; animation: pxt-dial 1800ms steps(1, end) infinite; }
.pxt-leg { position: absolute; bottom: -22px; width: 2.4%; height: 24px; background: #c9a043; border-radius: 0 0 3px 3px; }
.pxt-leg-l { left: 12%; transform: skewX(-14deg); }
.pxt-leg-r { right: 12%; transform: skewX(14deg); }
/* the site's pixel hand cursor at 3x, flipped to point down; its fingertip (5.5 of 18 across) lands on the middle of the dial */
.pxt-finger { position: absolute; top: -11px; right: calc(15.5% - 37.5px); width: 54px; height: 54px; image-rendering: pixelated; animation: pxt-twist 1800ms steps(1, end) infinite; }
@keyframes pxt-dial { 0%, 70% { background-position: 0 0; } 75% { background-position: 2px 0; } 80% { background-position: 4px 0; } 85%, 100% { background-position: 6px 0; } }
@keyframes pxt-twist { 0%, 65% { transform: translate(0, -10px) scaleY(-1); } 70% { transform: translate(0, 0) scaleY(-1); } 75%, 85% { transform: translate(6px, 0) scaleY(-1); } 90%, 100% { transform: translate(0, -10px) scaleY(-1); } }
.pxt-apps { padding: var(--space-12) var(--space-4); background: var(--surface-raised); display: flex; flex-direction: column; gap: var(--space-6); }
.pxt-app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); max-width: 1180px; margin: 0 auto; width: 100%; }
.pxt-app { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pxt-app-screen { position: relative; aspect-ratio: 2 / 1; background: var(--screen); border: var(--border-bold) solid var(--ink); box-shadow: var(--shadow-pixel); }
.pxt-app-screen .pxt-led { left: 4%; top: 8%; width: 92%; height: 84%; }
.pxt-app figcaption { font: 400 13px/16px var(--font-pixel); }
.pxt-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pxt-list li { position: relative; padding-left: 22px; font: 400 18px/27px var(--font-sans); }
.pxt-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--cherry); }
.pxt-duo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); max-width: 1180px; margin: 0 auto; padding: var(--space-12) var(--space-4); }
.pxt-card { display: flex; flex-direction: column; gap: 12px; padding: var(--space-4); background: var(--surface); border: var(--border-bold) solid var(--ink); box-shadow: var(--shadow-pixel); }
.pxt-card p { margin: 0; font: 400 16px/25px var(--font-sans); }
.pxt-code { margin: 0; padding: 14px 16px; background: var(--stage); color: #7dffb0; font: 400 13px/20px var(--font-mono); overflow-x: auto; }
.pxt-buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; padding: var(--space-12) max(var(--space-4), calc((100% - 1180px) / 2)); background: var(--cherry); color: var(--on-cherry); scroll-margin-top: 16px; }
.pxt-buy .pxt-list li::before { background: var(--sun); }
.pxt-buy-copy { display: flex; flex-direction: column; gap: var(--space-2); }
.pxt-buy-copy > p { margin: 0; font: 400 18px/27px var(--font-sans); }
.pxt-price { color: var(--cream); text-shadow: 5px 5px 0 var(--midnight); }
.pxt-device-md { box-shadow: 0 30px 40px -18px rgba(29,21,48,.7), 12px 12px 0 0 var(--midnight); }
.pxt-linkbtn { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pxt-form { display: flex; gap: 10px; max-width: 460px; }
.pxt-top .ttp-nav-pill, .pxt-form .ttp-input { box-sizing: border-box; }
.pxt-form .ttp-input { min-width: 0; background: var(--cream); color: var(--midnight); border-color: var(--midnight); }
.pxt-form .ttp-btn { flex-shrink: 0; background: var(--sun); color: var(--midnight); border-color: var(--midnight); }
.pxt-joined { margin: 0; padding: 12px 14px; background: var(--cream); color: var(--midnight); border: var(--border-bold) solid var(--midnight); display: flex; gap: 8px; align-items: center; font: 600 16px/22px var(--font-sans); }
.pxt-fine { margin: 0 !important; font: 400 12px/16px var(--font-mono) !important; text-transform: uppercase; letter-spacing: .06em; color: var(--on-cherry-muted); }
.pxt-specs { max-width: 1180px; margin: 0 auto; padding: var(--space-12) var(--space-4); display: flex; flex-direction: column; gap: var(--space-6); }
.pxt-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); }
.pxt-spec { border-top: var(--border-bold) solid var(--ink); padding-top: 14px; }
.pxt-spec h3 { margin: 0 0 10px; font: 400 15px/18px var(--font-pixel); color: var(--accent-text); }
.pxt-spec ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pxt-spec li { font: 400 16px/23px var(--font-sans); }
/* Full-bleed section grounds: content stays in the 1180px column, the tint runs edge to edge */
.pxt-band { max-width: none; padding-left: max(var(--space-4), calc((100% - var(--content-product)) / 2)); padding-right: max(var(--space-4), calc((100% - var(--content-product)) / 2)); }
.pxt-tint-grape { background: var(--grape-soft); }
.pxt-tint-sky { background: var(--sky-soft); }
.pxt-tint-sun { background: var(--sun-soft); }
[data-theme="night"] .pxt-tint-grape, [data-theme="night"] .pxt-tint-sky, [data-theme="night"] .pxt-tint-sun { background: var(--surface); }
/* Pixeltron renders */
.pxt-stage:has(.pxt-hero-shots) { width: min(1100px, 100%); }
.pxt-hero-shots { position: relative; width: 100%; aspect-ratio: 16 / 9; border: var(--border-bold) solid var(--ink); box-shadow: 12px 12px 0 0 var(--ink); overflow: hidden; transition: background 600ms ease; }
.pxt-hero-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms ease; }
.pxt-hero-shot.is-on { opacity: 1; }
.pxt-hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 500ms ease; cursor: grab; touch-action: pan-y; }
.pxt-hero-3d.is-dragging { cursor: grabbing; }
.pxt-hero-3d.is-over-knob { cursor: pointer; }
.pxt-hero-shots.is-3d .pxt-hero-3d { opacity: 1; }
.pxt-hero-shots.is-3d .pxt-hero-shot { opacity: 0; }
.pxt-hint { display: none; }
.pxt-stage:has(.is-3d) .pxt-hint { display: inline; }
/* The Display: a big LED panel behind smoked glass */
.pxt-display { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 6%; box-sizing: border-box; background: #0d0b12; }
.pxt-display-glass { position: relative; width: 100%; aspect-ratio: 2 / 1; background: var(--screen); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 2px #000 inset, 0 0 60px rgba(255,255,255,.04); }
.pxt-display-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 30%, transparent 42%); pointer-events: none; }
.pxt-display-glass .pxt-led { left: 2%; top: 4%; width: 96%; height: 92%; }
.pxt-figure-paper { background: #EFE8DA; box-shadow: 10px 10px 0 0 var(--sun); }
.pxt-figure-buy { box-shadow: 12px 12px 0 0 var(--midnight); border-color: var(--midnight); }
.pxt-views { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.pxt-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pxt-thumb { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 6px; font: 400 12px/14px var(--font-pixel); text-align: center; }
.pxt-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border: 2px solid var(--line); background: #EFE8DA; }
.pxt-thumb:hover img { border-color: var(--ink); }
.pxt-thumb.is-on img { border-color: var(--ink); box-shadow: var(--shadow-pixel-sm); }
.pxt-thumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pxt-colours { max-width: 1180px; margin: 0 auto; padding: var(--space-12) var(--space-4); display: flex; flex-direction: column; gap: var(--space-6); }
.pxt-figure-wide img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .pxt-hero-shots { box-shadow: 6px 6px 0 0 var(--ink); }
  .pxt-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxt-colours { padding: var(--space-8) var(--space-2); }
}
@media (prefers-reduced-motion: reduce) { .pxt-hero-shot, .pxt-hero-shots, .pxt-hero-3d { transition: none; } }
[data-theme="night"] .pxt-figure { background: #2a2a2e; }
[data-theme="night"] .pxt-device { box-shadow: 0 2px 0 rgba(255,255,255,.3) inset, 0 34px 50px -24px rgba(0,0,0,.9); }
@media (max-width: 900px) {
  .pxt-feature, .pxt-feature.pxt-flip, .pxt-buy { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .pxt-feature.pxt-flip .pxt-copy { order: 0; }
  .pxt-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxt-duo, .pxt-spec-grid { grid-template-columns: minmax(0, 1fr); }
  .pxt-feature, .pxt-apps, .pxt-duo, .pxt-specs { padding-left: var(--space-2); padding-right: var(--space-2); }
  .pxt-buy { padding: var(--space-8) var(--space-2); }
  .pxt-lede { font-size: 19px; line-height: 28px; }
  .pxt-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .pxt-finger, .pxt-dial, .pxt-live-dot { animation: none; } .pxt-finger { transform: translate(0, -10px) scaleY(-1); } }

/* The 10,000-pixel finale */
.ttp-sleepnib { position: relative; display: inline-block; line-height: 0; color: var(--midnight); }
.ttp-sleepnib svg, .ttp-sleepnib .ttp-ear-up { position: absolute; left: 0; top: 0; }
.ttp-sleepnib .ttp-ear-up { width: 100%; height: 100%; }
.ttp-sleepnib .ttp-sleep-a { animation: ttp-breathe-a 2400ms steps(1, end) infinite; }
.ttp-sleepnib .ttp-sleep-b { animation: ttp-breathe-b 2400ms steps(1, end) infinite; }
.ttp-sleepnib .ttp-ear-up { animation: ttp-ear-up 6400ms steps(1, end) infinite; }
.ttp-sleepnib .ttp-ear-down { animation: ttp-ear-down 6400ms steps(1, end) infinite; }
@keyframes ttp-ear-up { 0%, 62% { opacity: 1; } 63%, 85% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes ttp-ear-down { 0%, 62% { opacity: 0; } 63%, 85% { opacity: 1; } 86%, 100% { opacity: 0; } }
@keyframes ttp-breathe-a { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes ttp-breathe-b { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes ttp-dream { 0%, 86% { transform: translate(0, 0); } 88% { transform: translate(calc(var(--s) / 48), 0); } 90% { transform: translate(calc(var(--s) / -48), 0); } 92%, 100% { transform: translate(0, 0); } }
.ttp-snot { position: absolute; left: calc(var(--s) * 0.56); top: calc(var(--s) * 0.74); width: calc(var(--s) * 0.2); height: calc(var(--s) * 0.2); border-radius: 30%; background: rgba(191, 234, 255, 0.75); box-shadow: inset 0 0 0 calc(var(--s) / 48) var(--cream), inset calc(var(--s) / 24) calc(var(--s) / 24) 0 0 rgba(255, 255, 255, 0.8); transform-origin: 0 0; animation: ttp-snot 4800ms steps(1, end) infinite; }
@keyframes ttp-snot { 0% { transform: scale(0); opacity: 1; } 12% { transform: scale(0.25); } 26% { transform: scale(0.45); } 40% { transform: scale(0.65); } 54% { transform: scale(0.85); } 66% { transform: scale(1); } 76% { transform: scale(1.12); opacity: 1; } 78% { transform: scale(1.35); opacity: 0.35; } 80%, 100% { transform: scale(0); opacity: 0; } }
.ttp-sz { position: absolute; font: 400 calc(var(--s) * 0.17)/1 var(--font-pixel); color: currentColor; opacity: 0; animation: ttp-zfloat 2600ms steps(8, end) infinite; }
.ttp-sz.z1 { left: calc(var(--s) * 1.0); top: calc(var(--s) * 0.32); }
.ttp-sz.z2 { left: calc(var(--s) * 1.12); top: calc(var(--s) * 0.1); font-size: calc(var(--s) * 0.22); animation-delay: 700ms; }
.ttp-sz.z3 { left: calc(var(--s) * 1.26); top: calc(var(--s) * -0.12); font-size: calc(var(--s) * 0.28); animation-delay: 1400ms; }
@keyframes ttp-zfloat { 0% { opacity: 0; transform: translate(0, 6px); } 25% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(8px, -10px); } }
.ttp-nib-sleep { display: none; }
.ttp-nib.is-sleep .ttp-nib-sleep { display: inline-block; }
.ttp-nib.is-sleep .ttp-nib-awake { display: none; }
.ttp-nib-awake { display: inline-block; line-height: 0; }

.ttp-finale-overlay { position: fixed; inset: 0; z-index: var(--z-finale); overflow-y: auto; background: #0d091a; color: var(--cream); }
.ttp-finale-fx { position: fixed; left: 0; top: 0; pointer-events: none; image-rendering: pixelated; }
.ttp-finale-flash { position: fixed; inset: 0; background: var(--cream); pointer-events: none; animation: ttp-flash 700ms steps(4, end) forwards; }
@keyframes ttp-flash { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.ttp-finale-stage { position: relative; max-width: 600px; margin: 0 auto; padding: 40px 16px 64px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ttp-finale-stage { animation: ttp-shake 320ms steps(4, end) 3560ms both; }
.ttp-finale-kicker { margin: 0; font: 400 14px/18px var(--font-pixel); color: var(--sun); letter-spacing: 0.04em; animation: ttp-fadein 300ms steps(3, end) both; }
.ttp-finale-count { margin: 0; font: 400 76px/1 var(--font-pixel); color: var(--sun); text-shadow: 5px 5px 0 #ff3d4f, 10px 10px 0 var(--midnight); font-variant-numeric: tabular-nums; animation: ttp-popin 400ms steps(4, end) both; }
.ttp-finale-bang { display: inline-block; color: var(--cream); animation: ttp-wiggle 600ms steps(2, end) infinite; }
.ttp-finale-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes ttp-popin { 0% { transform: scale(0.3); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ttp-fadein { from { opacity: 0; } to { opacity: 1; } }
.ttp-finale-trophywrap { position: relative; width: 192px; height: 200px; margin-top: 40px; animation: ttp-drop 900ms cubic-bezier(0.3, 1.5, 0.6, 1) 1500ms both; }
@keyframes ttp-drop { from { transform: translateY(-110vh) rotate(-12deg); } to { transform: translateY(0) rotate(0); } }
.ttp-sunburst { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 210, 63, 0.32) 0 9deg, transparent 9deg 18deg); -webkit-mask: radial-gradient(circle, #000 25%, transparent 70%); mask: radial-gradient(circle, #000 25%, transparent 70%); animation: ttp-spin 18s steps(90, end) infinite; pointer-events: none; }
@keyframes ttp-spin { to { transform: rotate(360deg); } }
.ttp-trophy { position: relative; width: 192px; height: 192px; }
.ttp-trophy-back, .ttp-trophy-front { position: absolute; left: 0; top: 0; }
.ttp-trophy-back { z-index: 1; } .ttp-trophy-front { z-index: 3; }
.ttp-trophy-nib { position: absolute; left: 36px; top: -78px; z-index: 2; color: var(--midnight); }
.ttp-trophy-nib .ttp-sz { color: var(--cream); }
.ttp-sparkle { position: absolute; z-index: 4; color: var(--cream); animation: ttp-twinkle 1200ms steps(1, end) infinite; }
.ttp-sparkle.k1 { left: 4px; top: 70px; } .ttp-sparkle.k2 { right: -6px; top: 120px; animation-delay: 400ms; } .ttp-sparkle.k3 { left: 30px; top: 150px; animation-delay: 800ms; }
@keyframes ttp-twinkle { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
.ttp-ribbon { position: relative; z-index: 2; margin-top: -6px; padding: 10px 34px; background: #ff3d4f; color: var(--cream); border: var(--border-bold) solid var(--midnight); box-shadow: 5px 5px 0 0 var(--midnight); font: 400 18px/20px var(--font-pixel); transform-origin: 50% 50%; animation: ttp-unfurl 500ms steps(5, end) 2200ms both; }
.ttp-ribbon::before, .ttp-ribbon::after { content: ""; position: absolute; top: 8px; width: 22px; height: 100%; background: #c41a2e; border: var(--border-bold) solid var(--midnight); z-index: -1; }
.ttp-ribbon::before { left: -18px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.ttp-ribbon::after { right: -18px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
@keyframes ttp-unfurl { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ttp-slideup { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ttp-finale-stats { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 12px 14px; background: #fff1b8; border: 2px dashed var(--midnight); }
.ttp-finale-stats div { display: flex; justify-content: space-between; gap: 16px; }
.ttp-finale-stats dt { font: 400 12px/18px var(--font-pixel); }
.ttp-finale-stats dd { margin: 0; font: 700 15px/18px var(--font-sans); text-align: right; }
@keyframes ttp-stamp { 0% { transform: scale(3.2) rotate(8deg); opacity: 0; } 70% { transform: scale(0.9) rotate(-14deg); opacity: 1; } 100% { transform: scale(1) rotate(-12deg); opacity: 1; } }
.ttp-cert { position: relative; width: 100%; box-sizing: border-box; padding: 12px; background: repeating-conic-gradient(var(--midnight) 0 25%, var(--sun) 0 50%) 0 0 / 8px 8px; box-shadow: 0 0 0 4px var(--midnight), 10px 10px 0 4px #ff3d4f; animation: ttp-slideup 600ms cubic-bezier(0.2, 0, 0, 1) 2700ms both; }
.ttp-cert-inner { position: relative; padding: 40px 40px 62px; text-align: center; color: var(--midnight); background-color: #fff4dc; background-image: radial-gradient(circle at 1px 1px, rgba(179, 127, 0, 0.16) 1px, transparent 1.5px); background-size: 6px 6px; border: 4px solid var(--midnight); box-shadow: inset 0 0 0 6px #fff4dc, inset 0 0 0 9px #b37f00; }
.ttp-cert-corner { position: absolute; }
.ttp-cert-corner.tl { left: 14px; top: 14px; } .ttp-cert-corner.tr { right: 14px; top: 14px; transform: scaleX(-1); }
.ttp-cert-corner.bl { left: 14px; bottom: 14px; transform: scaleY(-1); } .ttp-cert-corner.br { right: 14px; bottom: 14px; transform: scale(-1, -1); }
.ttp-cert-no { position: absolute; top: 20px; right: 62px; font: 400 11px/14px var(--font-pixel); color: var(--sun-ink); }
.ttp-cert-title { margin: 8px 0 0; display: flex; align-items: center; justify-content: center; gap: 14px; font: 900 46px/1 var(--font-dot); letter-spacing: 0.06em; text-transform: uppercase; }
.ttp-cert-orn { color: var(--cherry-ink); line-height: 0; }
.ttp-cert-sub { margin: 8px 0 0; font: italic 400 22px/26px var(--font-serif); }
.ttp-cert-rule { width: 72%; height: 4px; margin: 16px auto 14px; background: repeating-linear-gradient(90deg, var(--midnight) 0 8px, transparent 8px 12px); }
.ttp-cert-small { margin: 0; font: 400 12px/16px var(--font-pixel); color: #5e5470; }
.ttp-cert-name { display: inline-block; margin: 8px auto 10px; padding: 0 18px 6px; font: 400 30px/36px var(--font-pixel); color: var(--cherry-ink); background: repeating-linear-gradient(90deg, var(--midnight) 0 6px, transparent 6px 9px) bottom / 100% 3px no-repeat; }
.ttp-cert-body { margin: 0 auto 16px; max-width: 440px; font: 400 15px/22px var(--font-sans); }
.ttp-cert .ttp-finale-stats { text-align: left; background: rgba(255, 210, 63, 0.28); border: 0; box-shadow: inset 0 0 0 2px var(--midnight), inset 0 0 0 4px #fff4dc, inset 0 0 0 6px #b37f00; padding: 14px 18px; }
.ttp-cert-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 14px; margin-top: 18px; }
.ttp-cert-sig { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.ttp-cert-scrawl { font: italic 400 30px/32px var(--font-serif); transform: rotate(-5deg); }
.ttp-cert-date { font: 400 13px/32px var(--font-pixel); }
.ttp-cert-line { width: 100%; height: 3px; background: repeating-linear-gradient(90deg, var(--midnight) 0 6px, transparent 6px 8px); }
.ttp-cert-sig small { font: 400 10px/14px var(--font-pixel); color: #5e5470; }
.ttp-cert-seal { position: relative; width: 96px; height: 96px; animation: ttp-popin 400ms steps(4, end) 3150ms both; }
.ttp-cert-seal-text { position: absolute; left: 0; right: 0; top: 33px; font: 400 15px/18px var(--font-pixel); color: var(--midnight); text-align: center; }
.ttp-stamp { position: absolute; z-index: 2; left: 24px; top: 100px; padding: 6px 10px; color: var(--cherry-ink); border: 4px solid var(--cherry-ink); box-shadow: 0 0 0 3px #fff4dc, 0 0 0 6px var(--cherry-ink); background: rgba(255, 244, 220, 0.6); font: 400 14px/16px var(--font-pixel); text-align: center; transform: rotate(-12deg); -webkit-mask: repeating-conic-gradient(#000 0 25%, rgba(0, 0, 0, 0.72) 0 50%) 0 0 / 4px 4px; mask: repeating-conic-gradient(#000 0 25%, rgba(0, 0, 0, 0.72) 0 50%) 0 0 / 4px 4px; animation: ttp-stamp 420ms steps(4, end) 3300ms both; }
.ttp-finale-small { margin: 0; max-width: 460px; font: 400 15px/22px var(--font-sans); color: #d9d0e8; animation: ttp-fadein 400ms steps(3, end) 3700ms both; }
.ttp-finale-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; animation: ttp-fadein 400ms steps(3, end) 3800ms both; }
.ttp-finale-again { color: var(--cream); border-color: var(--cream); }
@media (max-width: 520px) {
  .ttp-finale-count { font-size: 52px; text-shadow: 4px 4px 0 #ff3d4f, 8px 8px 0 var(--midnight); }
  .ttp-ribbon { font-size: 14px; padding: 8px 22px; }
  .ttp-finale-stats div { flex-direction: column; gap: 0; }
  .ttp-finale-stats dd { text-align: left; }
  .ttp-cert-inner { padding: 38px 18px 58px; }
  .ttp-cert-title { font-size: 28px; gap: 8px; }
  .ttp-cert-orn svg { width: 16px; height: 16px; }
  .ttp-cert-sub { font-size: 18px; }
  .ttp-cert-name { font-size: 22px; line-height: 28px; }
  .ttp-cert-no { right: 54px; font-size: 10px; }
  .ttp-cert-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ttp-cert-seal { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .ttp-stamp { left: auto; top: auto; right: 20px; bottom: 150px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ttp-finale-overlay *, .ttp-sleepnib *, .ttp-finale-flash { animation: none !important; }
  .ttp-finale-flash { display: none; }
  .ttp-sleepnib .ttp-sleep-b, .ttp-sleepnib .ttp-ear-down { display: none; }
  .ttp-sleepnib .ttp-ear-up { animation: none; opacity: 1; }
  .ttp-sz { opacity: 1; }
  .ttp-stamp { transform: rotate(-12deg); }
}

/* Hero pixel world */
.ttp-world { position: absolute; left: 0; top: 0; display: block; image-rendering: pixelated; image-rendering: crisp-edges; image-rendering: pixelated; pointer-events: none; }
.ttp-home-hero .ttp-float { opacity: .9; }
/* the world's characters speak in Nibbit's bubbles: each sits on a zero-size anchor moved over the canvas */
.ttp-world-says { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; }
.ttp-world-say { position: absolute; left: 0; top: 0; width: 0; height: 0; }

/* Nibbit, the pixel-eater */
.ttp-nib { position: absolute; left: 0; top: 0; width: 72px; height: 72px; z-index: 4; pointer-events: none; color: var(--midnight); display: none; will-change: transform; }
.ttp-nib.is-on { display: block; }
.ttp-nib-body { width: 72px; height: 72px; }
.ttp-nib-body svg { display: block; transform-origin: 50% 100%; }
/* every pose is in the page; data-pose on .ttp-nib picks the one that shows */
.ttp-nib-awake svg { display: none; }
.ttp-nib[data-pose="idle"] .ttp-nibpose-idle, .ttp-nib[data-pose="blink"] .ttp-nibpose-blink, .ttp-nib[data-pose="happy"] .ttp-nibpose-happy, .ttp-nib[data-pose="chomp"] .ttp-nibpose-chomp, .ttp-nib[data-pose="walkA"] .ttp-nibpose-walkA, .ttp-nib[data-pose="walkB"] .ttp-nibpose-walkB, .ttp-nib[data-pose="air"] .ttp-nibpose-air { display: block; }
.ttp-nib.is-chomp .ttp-nib-body svg { animation: ttp-chomp 260ms steps(2, end); }
.ttp-nib.is-crouch .ttp-nib-body svg { transform: scale(1.16, 0.8); }
.ttp-nib.is-air .ttp-nib-body svg { transform: scale(0.88, 1.12); }
.ttp-nib-shadow { position: absolute; left: 0; top: 0; width: 44px; height: 6px; background: rgba(29, 21, 48, 0.22); z-index: 3; pointer-events: none; display: none; transform-origin: 50% 50%; }
@keyframes ttp-chomp { 50% { transform: scale(1.14, 0.86); } }
.ttp-nib .ttp-bubble { bottom: calc(100% + 2px); }
[data-theme="night"] .ttp-nib { color: #f2f1ec; }
.ttp-burst { position: absolute; width: 6px; height: 6px; pointer-events: none; animation: ttp-burst 700ms var(--ease-out) forwards; }
@keyframes ttp-burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

.ttp-marquee { overflow: hidden; background: var(--ink); color: var(--bg); border-block: var(--border-chunky) solid var(--cherry); }
.ttp-marquee-track { display: flex; width: max-content; padding: 12px 0; font: 400 16px/16px var(--font-pixel); white-space: nowrap; animation: ttp-scroll 30s linear infinite; }
.ttp-marquee-track span { display: inline-flex; align-items: center; gap: var(--space-2); padding-right: var(--space-2); }
.ttp-marquee-track .ttp-icon { color: var(--cherry); }
.ttp-marquee:hover .ttp-marquee-track { animation-play-state: paused; }
@keyframes ttp-scroll { to { transform: translateX(-50%); } }

.ttp-home-band { position: relative; }
.ttp-band-art { position: relative; }
.ttp-desk { margin: 0; line-height: 0; border: 4px solid var(--midnight); box-shadow: 10px 10px 0 0 var(--midnight); background: #f7e3c4; }
[data-theme="night"] .ttp-desk { background: #2a2238; }
.ttp-desk canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; image-rendering: pixelated; image-rendering: crisp-edges; }
.ttp-band-art .ttp-sticker { position: absolute; left: -12px; bottom: -20px; z-index: 2; }
.ttp-band-pip { display: flex; align-items: flex-end; gap: var(--space-2); }
.ttp-watch { position: relative; display: inline-block; line-height: 0; color: var(--midnight); transform-origin: 50% 90%; transition: transform 200ms steps(3, end); filter: drop-shadow(6px 6px 0 rgba(29, 21, 48, 0.35)); }
.ttp-watch > svg { position: absolute; left: 0; top: 0; }
.ttp-watch > svg:first-child { position: relative; }
.ttp-watch.is-near > svg { animation: ttp-watch-hop 420ms steps(3, end) infinite; }
@keyframes ttp-watch-hop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .ttp-watch { transition: none; } .ttp-watch.is-near > svg { animation: none; } }

.ttp-pip { all: unset; position: relative; display: inline-block; cursor: pointer; line-height: 0; }
.ttp-pip svg { animation: ttp-hop 1800ms steps(3, end) infinite; }
.ttp-pip:hover svg { animation-duration: 500ms; }
.ttp-pip:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.ttp-pip .pip-eye { animation: ttp-blink-eye 3600ms steps(1, end) infinite; }
@keyframes ttp-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ttp-blink-eye { 0%, 92% { opacity: 1; } 93%, 97% { opacity: 0; } 98% { opacity: 1; } }
.ttp-bubble { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-30%); padding: 8px 10px; background: var(--surface); color: var(--ink); border: var(--border-pixel) solid var(--ink); box-shadow: var(--shadow-pixel-sm); font: 400 12px/14px var(--font-pixel); white-space: nowrap; animation: ttp-rise var(--dur-base) var(--ease-out); }
.ttp-bubble::after { content: ""; position: absolute; top: 100%; left: 20%; width: 8px; height: 8px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 0 100%); }

.ttp-home-cards .ttp-card { transition: transform var(--dur-fast) var(--ease-pixel), box-shadow var(--dur-instant) var(--ease-step), border-color var(--dur-fast) var(--ease-out); }
.ttp-home-cards .ttp-card:hover { transform: translate(-2px, -4px) rotate(-1.5deg); box-shadow: 6px 6px 0 0 var(--cherry); border-color: var(--cherry); }
.ttp-home-cards .ttp-card:nth-child(2):hover { transform: translate(-2px, -4px) rotate(1.5deg); }
.ttp-home-cards .ttp-card-eyebrow .ttp-icon { color: var(--cherry); }
.ttp-home-cards .ttp-card:hover .ttp-card-eyebrow .ttp-icon { animation: ttp-hop 400ms steps(2, end) infinite; }
.ttp-spec .ttp-icon { transition: transform var(--dur-fast) var(--ease-pixel); }
.ttp-spec:hover .ttp-icon { transform: rotate(-12deg) scale(1.15); }
.ttp-footer-big a { display: inline-block; transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-pixel); }
.ttp-footer-big li:nth-child(odd) a:hover { transform: rotate(-3deg) scale(1.06); }
.ttp-footer-big li:nth-child(even) a:hover { transform: rotate(3deg) scale(1.06); }
.ttp-footer-pip { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }

/* Rainbow layer — red leads, friends follow */
.ttp-home-hero { background-color: var(--bg); background-image: radial-gradient(circle at 1px 1px, var(--dot) 1.5px, transparent 2px), radial-gradient(60% 50% at 12% 20%, var(--bubble-soft), transparent 70%), radial-gradient(50% 45% at 90% 30%, var(--sky-soft), transparent 70%), radial-gradient(55% 50% at 50% 100%, var(--sun-soft), transparent 70%); background-size: var(--space-20) var(--space-20), 100% 100%, 100% 100%, 100% 100%; }
.ttp-float.c-sun { color: var(--sun); } .ttp-float.c-sky { color: var(--sky); } .ttp-float.c-mint { color: var(--mint); } .ttp-float.c-grape { color: var(--grape); } .ttp-float.c-bubble { color: var(--bubble); }
.ttp-marquee { background: var(--sun); color: var(--ink); border-block: var(--border-chunky) solid var(--ink); }
.ttp-mq-1 { color: var(--cherry) !important; } .ttp-mq-2 { color: var(--grape) !important; } .ttp-mq-3 { color: var(--sky) !important; } .ttp-mq-4 { color: var(--mint) !important; }
.ttp-home-cards .ttp-card { border: var(--border-pixel) solid var(--ink); }
.ttp-home-cards .ttp-card:nth-child(1) { background: var(--sky-soft); }
.ttp-home-cards .ttp-card:nth-child(2) { background: var(--sun-soft); }
.ttp-home-cards .ttp-card:nth-child(3) { background: var(--mint-soft); }
.ttp-home-cards .ttp-card:nth-child(1) .ttp-card-eyebrow .ttp-icon { color: var(--sky-ink); }
.ttp-home-cards .ttp-card:nth-child(2) .ttp-card-eyebrow .ttp-icon { color: var(--cherry); }
.ttp-home-cards .ttp-card:nth-child(3) .ttp-card-eyebrow .ttp-icon { color: var(--mint-ink); }
.ttp-home-cards .ttp-card:nth-child(1):hover { box-shadow: 6px 6px 0 0 var(--sky); border-color: var(--ink); }
.ttp-home-cards .ttp-card:nth-child(2):hover { box-shadow: 6px 6px 0 0 var(--sun); border-color: var(--ink); }
.ttp-home-cards .ttp-card:nth-child(3):hover { box-shadow: 6px 6px 0 0 var(--mint); border-color: var(--ink); }
.ttp-home-cards .ttp-card-body { color: var(--ink-muted); }
.ttp-home-env .ttp-art { background-color: var(--grape-soft); border-color: var(--grape); }
.ttp-option[aria-pressed="true"] { color: var(--grape-ink); font-weight: 500; }
.ttp-home-env-note { color: var(--grape-ink); }
.ttp-home-specs { background: var(--sky-soft); }
.ttp-spec:nth-child(6n+1) .ttp-icon { color: var(--cherry); }
.ttp-spec:nth-child(6n+2) .ttp-icon { color: var(--grape); }
.ttp-spec:nth-child(6n+3) .ttp-icon { color: var(--sky-ink); }
.ttp-spec:nth-child(6n+4) .ttp-icon { color: var(--mint-ink); }
.ttp-spec:nth-child(6n+5) .ttp-icon { color: var(--sun-ink); }
.ttp-spec:nth-child(6n+6) .ttp-icon { color: var(--bubble-ink); }
.ttp-card-form { background: var(--bubble-soft); border: var(--border-pixel) solid var(--ink); box-shadow: 6px 6px 0 0 var(--cherry); }
.ttp-footer-pip { background-color: var(--mint-soft); padding-bottom: var(--space-6); }
.ttp-footer { background-color: var(--mint-soft); }
.ttp-footer-big li:nth-child(6n+1) a:hover { color: var(--cherry); }
.ttp-footer-big li:nth-child(6n+2) a:hover { color: var(--grape); }
.ttp-footer-big li:nth-child(6n+3) a:hover { color: var(--sky-ink); }
.ttp-footer-big li:nth-child(6n+4) a:hover { color: var(--mint-ink); }
.ttp-footer-big li:nth-child(6n+5) a:hover { color: var(--sun-ink); }
.ttp-footer-big li:nth-child(6n+6) a:hover { color: var(--bubble-ink); }
.ttp-footer .ttp-menu-row { background: rgba(255,255,255,.7); }
.ttp-footer .ttp-menu-row:hover { background: #fff; }
.ttp-counter { background: var(--sun); }
.ttp-counter b { color: var(--action-hover); }

/* Theme toggle */
.ttp-theme-toggle { position: fixed; right: var(--space-2); bottom: var(--space-2); z-index: var(--z-nav); box-shadow: var(--shadow-pixel-sm); }
.ttp-theme-toggle .ttp-icon { color: var(--sun); }
[data-theme="night"] .ttp-theme-toggle .ttp-icon { color: var(--cherry-deep); }

/* Dark mode — the moodier original: black, ink and red */
[data-theme="night"] .ttp-home-hero { background-image: radial-gradient(circle at 1px 1px, var(--dot) 1.5px, transparent 2px); background-size: var(--space-20) var(--space-20); }
[data-theme="night"] .ttp-float.c-sun, [data-theme="night"] .ttp-float.c-mint, [data-theme="night"] .ttp-float.c-bubble { color: var(--cherry); }
[data-theme="night"] .ttp-float.c-sky, [data-theme="night"] .ttp-float.c-grape { color: var(--ink-muted); }
[data-theme="night"] .ttp-marquee { background: var(--ink); color: var(--bg); border-block-color: var(--cherry); }
[data-theme="night"] .ttp-marquee .ttp-icon { color: var(--cherry) !important; }
[data-theme="night"] .ttp-home-cards .ttp-card:nth-child(n) { background: var(--surface); border: var(--border-hair) solid var(--line); }
[data-theme="night"] .ttp-home-cards .ttp-card:nth-child(n) .ttp-card-eyebrow .ttp-icon { color: var(--cherry); }
[data-theme="night"] .ttp-home-cards .ttp-card:nth-child(n):hover { box-shadow: 6px 6px 0 0 var(--cherry); border-color: var(--cherry); }
[data-theme="night"] .ttp-home-env .ttp-art { background-color: var(--surface); border-color: var(--line-strong); }
[data-theme="night"] .ttp-option[aria-pressed="true"] { color: var(--accent-text); }
[data-theme="night"] .ttp-home-env-note { color: var(--ink); }
[data-theme="night"] .ttp-home-specs { background: var(--surface); }
[data-theme="night"] .ttp-spec:nth-child(n) .ttp-icon { color: var(--cherry); }
[data-theme="night"] .ttp-card-form { background: var(--surface); border: var(--border-pixel) solid var(--action); box-shadow: none; }
[data-theme="night"] .ttp-footer-pip, [data-theme="night"] .ttp-footer { background-color: var(--bg); }
[data-theme="night"] .ttp-footer-big li:nth-child(n) a:hover { color: var(--accent-text); }
[data-theme="night"] .ttp-footer .ttp-menu-row { background: var(--surface); }
[data-theme="night"] .ttp-footer .ttp-menu-row:hover { background: var(--surface-raised); }
[data-theme="night"] .ttp-counter { background: var(--surface); }
[data-theme="night"] .ttp-counter b { color: var(--accent-text); }

/* Product colours */
.pc-grape { --pc: var(--grape); --pc-soft: var(--grape-soft); --pc-ink: var(--grape-ink); }
.pc-sun { --pc: var(--sun); --pc-soft: var(--sun-soft); --pc-ink: var(--sun-ink); }
.pc-bubble { --pc: var(--bubble); --pc-soft: var(--bubble-soft); --pc-ink: var(--bubble-ink); }
[data-theme="night"] .pc-grape, [data-theme="night"] .pc-sun, [data-theme="night"] .pc-bubble { --pc: var(--cherry); --pc-soft: var(--surface); --pc-ink: var(--accent-text); }

/* Product cards */
.ttp-card-link { display: flex; color: inherit; text-decoration: none; border-radius: var(--radius-3); }
.ttp-card-link > .ttp-card { flex: 1; }
.ttp-card-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.ttp-pcard { border: var(--border-pixel) solid var(--ink); }
.ttp-pcard .ttp-art { background-color: var(--pc-soft); }
.ttp-pcard .ttp-art-label { background: var(--surface); opacity: .92; }
.ttp-card-link:hover .ttp-pcard { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--pc); border-color: var(--ink); }
.ttp-card-link:hover .ttp-pcard .ttp-badge { animation: ttp-wiggle 600ms steps(2, end) infinite; }
[data-theme="night"] .ttp-pcard { border: var(--border-hair) solid var(--line); }
[data-theme="night"] .ttp-card-link:hover .ttp-pcard { border-color: var(--cherry); }

/* Bag count in the nav */
.ttp-bagbtn { position: relative; }
.ttp-bag-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; background: var(--cherry); color: var(--on-cherry); font: 400 12px/1 var(--font-pixel); border: 2px solid var(--ink); background: var(--sun); color: var(--midnight); animation: ttp-pop 320ms steps(3, end); }

/* Product page */
.ttp-pdp-top { position: relative; padding: var(--space-1) var(--space-2) var(--space-6); background-color: var(--pc-soft); }
.ttp-pdp-main { padding-top: var(--space-4); padding-bottom: var(--space-12); }
.ttp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin-bottom: var(--space-4); font: 500 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ttp-crumbs .ttp-link-mono { font-size: 12px; }
.ttp-crumbs [aria-current] { color: var(--ink); }
.ttp-pdp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.ttp-pdp-stage { position: relative; }
.ttp-pdp-stage .ttp-art { background-color: var(--pc-soft); border: var(--border-pixel) solid var(--ink); box-shadow: 8px 8px 0 0 var(--pc); }
.ttp-pdp-sticker { position: absolute; top: -18px; right: -14px; z-index: 2; animation: ttp-wiggle 2400ms steps(2, end) infinite; }
.ttp-pdp-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-3); }
.ttp-pdp-thumb { all: unset; cursor: pointer; aspect-ratio: 1 / 1; display: grid; place-items: center; background-color: var(--pc-soft); border: var(--border-pixel) solid var(--line-strong); border-radius: var(--radius-2); color: var(--pc-ink); transition: transform var(--dur-fast) var(--ease-pixel), border-color var(--dur-fast) var(--ease-out); }
.ttp-pdp-thumb:hover { transform: translateY(-3px) rotate(-2deg); border-color: var(--ink); }
.ttp-pdp-thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: 4px 4px 0 0 var(--pc); }
.ttp-pdp-thumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ttp-pdp-info { display: flex; flex-direction: column; gap: var(--space-3); }
.ttp-pdp-info .ttp-h2 { font-size: 56px; line-height: 58px; }
.ttp-pdp-price { font: 800 32px/36px var(--font-sans); font-variant-numeric: tabular-nums; }
.ttp-pdp-price small { font: 400 14px/16px var(--font-mono); color: var(--ink-muted); margin-left: 6px; letter-spacing: .06em; }
.ttp-pdp-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.ttp-chips { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.ttp-chip { all: unset; cursor: pointer; display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: var(--surface); border: var(--border-pixel) solid var(--line-strong); border-radius: var(--radius-2); font: 700 15px/18px var(--font-sans); transition: transform var(--dur-instant) var(--ease-step), box-shadow var(--dur-instant) var(--ease-step); }
.ttp-chip small { font: 400 12px/14px var(--font-mono); letter-spacing: .04em; color: var(--ink-muted); }
.ttp-chip:hover { border-color: var(--ink); }
.ttp-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--pc-soft); box-shadow: 3px 3px 0 0 var(--ink); transform: translate(-1px, -1px); }
.ttp-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ttp-pdp-buy { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.ttp-stepper { display: inline-flex; align-items: center; gap: var(--space-1); padding: 4px; border: var(--border-pixel) solid var(--line-strong); border-radius: var(--radius-2); background: var(--surface); }
.ttp-stepper output { min-width: 28px; text-align: center; font: 400 16px/16px var(--font-pixel); }
.ttp-stepper .ttp-btn-ghost { border-color: transparent; }
.ttp-pdp-add { flex: 1; min-width: 220px; }
.ttp-pdp-copy p { margin: 0 0 var(--space-2); font: 400 17px/27px var(--font-sans); color: var(--ink); max-width: 60ch; }
.ttp-pdp-perks { display: flex; flex-wrap: wrap; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.ttp-pdp-perks li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--surface-raised); border-radius: var(--radius-pill); font: 500 12px/16px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.ttp-pdp-perks .ttp-icon { color: var(--cherry); }
.ttp-pdp-specs { background: var(--pc-soft); }
.ttp-pdp-specs .ttp-spec .ttp-icon { color: var(--pc-ink); }
.ttp-pip-take { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: center; padding: var(--space-4); background: var(--surface); border: var(--border-pixel) solid var(--ink); border-radius: var(--radius-3); box-shadow: 6px 6px 0 0 var(--cherry); }
.ttp-pip-take blockquote { margin: 0; font: 400 28px/36px var(--font-serif); letter-spacing: -.01em; }
.ttp-pip-take cite { display: block; margin-top: var(--space-1); font: 400 12px/16px var(--font-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ttp-pip-take .ttp-stars { display: flex; gap: 4px; color: var(--sun); margin-bottom: var(--space-1); }
[data-theme="night"] .ttp-pip-take .ttp-stars { color: var(--cherry); }
.ttp-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.ttp-toast { position: fixed; left: var(--space-2); bottom: var(--space-2); z-index: var(--z-modal); display: flex; align-items: center; gap: var(--space-2); max-width: min(420px, calc(100vw - 32px)); padding: 12px var(--space-2); background: var(--surface); color: var(--ink); border: var(--border-pixel) solid var(--ink); box-shadow: 4px 4px 0 0 var(--cherry); font: 400 15px/20px var(--font-sans); animation: ttp-rise var(--dur-base) var(--ease-out); }
.ttp-toast b { font-weight: 800; }

@container (max-width: 900px) {
  .ttp-pdp-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .ttp-pdp-info .ttp-h2 { font-size: 44px; line-height: 48px; }
}
@container (max-width: 600px) {
  .ttp-pdp-info .ttp-h2 { font-size: 36px; line-height: 40px; }
  .ttp-pdp-sticker { right: 4px; top: -14px; }
  .ttp-pdp-thumbs { gap: var(--space-1); }
  .ttp-pip-take { grid-template-columns: minmax(0, 1fr); padding: var(--space-3); }
  .ttp-pip-take blockquote { font-size: 22px; line-height: 30px; }
  .ttp-related { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .ttp-pdp-add { min-width: 0; }
}

@container (max-width: 900px) {
  .ttp-home-cards, .ttp-home-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ttp-home-env { grid-template-columns: minmax(0, 1fr); }
  .ttp-home-env-note { text-align: left; }
  .ttp-specs { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 600px) {
  .ttp-home-inner { padding-left: var(--space-2); padding-right: var(--space-2); }
  .ttp-home-hero { padding: var(--space-12) var(--space-2) 30vh; padding-bottom: 30svh; }
  .ttp-home-hero .ttp-art { inset: 64px var(--space-2) var(--space-2); }
  .ttp-h1 { font-size: 36px; line-height: 40px; }
  .ttp-h2 { font-size: 32px; line-height: 36px; }
  .ttp-h3 { font-size: 24px; line-height: 28px; }
  .ttp-lede { font-size: 18px; line-height: 28px; }
  .ttp-home-band .ttp-home-inner { grid-template-columns: minmax(0, 1fr); padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .ttp-home-band .ttp-art { margin-right: calc(var(--space-2) * -1); width: calc(100% + var(--space-2)); }
  .ttp-home-section { padding: var(--space-8) 0; }
  .ttp-home-cards, .ttp-home-work { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .ttp-card { padding: var(--space-3); }
  .ttp-card-media { margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-1); }
  .ttp-home-signup { grid-template-columns: minmax(0, 1fr); }
  .ttp-spec { grid-template-columns: 80px 32px minmax(0, 1fr); }
  .ttp-footer-big a { font-size: 24px; line-height: 44px; }
  .ttp-footer { padding-top: var(--space-8); gap: var(--space-6); }
  .ttp-hero-sticker { top: 96px; right: 0; transform: scale(.8); }
  .ttp-band-art .ttp-sticker { left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .ttp-surface *, .ttp-home *, .ttp-btn, .ttp-card, .ttp-menu-row, .ttp-modal, .ttp-scrim, .ttp-badge::before, .ttp-sprite-sheet { animation: none !important; transition: none !important; }
  .ttp-btn:hover, .ttp-btn.is-hover, .ttp-card-interactive:hover { transform: none; }
}


/* ================= Site layer: pages, bag, menu ================= */
.ttp-locked, .ttp-locked body { overflow: hidden; }
.ttp-nav-pill-links a[aria-current="page"] { background: var(--sun); color: var(--midnight); border-color: var(--ink); }
.ttp-pimg { display: block; width: 100%; height: auto; object-fit: cover; background: var(--pc-soft, var(--surface)); }
.ttp-pdp-stage .ttp-pimg { border: var(--border-pixel) solid var(--ink); box-shadow: 8px 8px 0 0 var(--pc); }
mark.ttp-todo { background: var(--sun); color: var(--midnight); padding: 0 4px; outline: 2px dashed var(--cherry); }

/* Content pages */
.ttp-page-main { max-width: 760px; padding-top: var(--space-6); padding-bottom: var(--space-12); display: flex; flex-direction: column; gap: var(--space-3); }
.ttp-page-eyebrow { color: var(--ink-muted); }
.ttp-page-title { margin-top: calc(var(--space-2) * -1); }
.ttp-prose { font: 400 17px/28px var(--font-sans); color: var(--ink); }
.ttp-prose > :first-child { margin-top: 0; }
.ttp-prose h2 { margin: var(--space-6) 0 var(--space-2); font: 800 24px/30px var(--font-sans); letter-spacing: -.01em; }
.ttp-prose p, .ttp-prose ul { margin: 0 0 var(--space-2); }
.ttp-prose ul { padding-left: 1.2em; }
.ttp-prose li { margin-bottom: var(--space-1); }
.ttp-prose li::marker { color: var(--cherry); content: "■  "; font-size: .7em; }
.ttp-prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ttp-prose a:hover { color: var(--accent-text); text-decoration-thickness: 2px; }
.ttp-prose details { border: var(--border-pixel) solid var(--line-strong); border-radius: var(--radius-2); background: var(--surface); margin-bottom: var(--space-1); }
.ttp-prose details[open] { border-color: var(--ink); box-shadow: var(--shadow-pixel-sm); }
.ttp-prose summary { padding: 12px var(--space-2); font: 700 16px/22px var(--font-sans); list-style: none; display: flex; justify-content: space-between; gap: var(--space-2); }
.ttp-prose summary::-webkit-details-marker { display: none; }
.ttp-prose summary::after { content: "+"; font: 400 16px/22px var(--font-pixel); color: var(--accent-text); }
.ttp-prose details[open] summary::after { content: "–"; }
.ttp-prose summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ttp-prose details p { padding: 0 var(--space-2) var(--space-2); margin: 0; color: var(--ink-muted); }

/* Shop */
.ttp-shop .ttp-page-main { max-width: var(--content-wide); }
.ttp-shop .ttp-page-eyebrow, .ttp-shop .ttp-page-title, .ttp-shop .ttp-lede { max-width: 720px; }
.ttp-shop-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-4); align-items: center; padding: var(--space-4); margin-top: var(--space-2); background: var(--midnight); color: var(--cream); border: var(--border-bold) solid var(--ink); box-shadow: var(--shadow-pixel); text-decoration: none; transition: transform var(--dur-instant) var(--ease-step), box-shadow var(--dur-instant) var(--ease-step); }
.ttp-shop-feature:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.ttp-shop-feature:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.ttp-shop-feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.ttp-shop-feature-copy .ttp-h3, .ttp-shop-feature-copy p { margin: 0; }
.ttp-shop-feature-copy .ttp-link { color: var(--sun); }
.ttp-shop-feature-art { padding: 18px 0 26px; }
.ttp-shop-group { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-6); scroll-margin-top: var(--space-2); }
.ttp-shop-group .ttp-h3 { margin: 0; }

/* Contact, 404, sign-up */
.ttp-contact-mail { display: flex; align-items: center; gap: var(--space-1); margin: 0; font: 700 18px/24px var(--font-sans); color: var(--accent-text); }
.ttp-textarea { height: auto; min-height: 140px; padding: 10px 12px; resize: vertical; }
.ttp-signup-done { display: flex; align-items: center; gap: var(--space-1); margin: 0; font: 700 16px/24px var(--font-sans); color: var(--success); }
.ttp-404-hero { padding-bottom: var(--space-20); }
.ttp-404-copy { padding-top: 0; }
.ttp-404-art { position: relative; display: flex; align-items: flex-end; gap: var(--space-1); margin-bottom: var(--space-1); }
.ttp-404-digits { display: block; width: min(312px, 62vw); height: auto; overflow: visible; }
.ttp-404-face { fill: var(--cherry); }
.ttp-404-shade { fill: var(--ink); }
.ttp-404-crumbs rect { fill: var(--cherry); animation: ttp-crumb 1400ms steps(4, end) infinite; animation-delay: var(--delay, 0ms); }
@keyframes ttp-crumb { 0% { transform: translateY(-.4px); opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(1.2px); opacity: 0; } }
.ttp-404-nib { margin-left: calc(var(--space-1) * -1); }
.ttp-404-nib .ttp-bubble { white-space: nowrap; }
.ttp-404-eyebrow { color: var(--ink-muted); }
.ttp-404-lede { text-align: center; }
[data-theme="night"] .ttp-404-shade { fill: #000; }
@media (max-width: 640px) {
  .ttp-404-hero { padding-bottom: var(--space-16); }
  .ttp-404-nib svg { width: 72px; height: 72px; }
}
.ttp-footer-legal { width: 100%; margin: 0; text-align: center; font: 400 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ttp-toast-link { all: unset; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ttp-toast-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Drawers (bag + mobile menu) */
.ttp-drawer-scrim { position: fixed; inset: 0; z-index: var(--z-modal); background: var(--scrim); display: flex; justify-content: flex-end; animation: ttp-fade var(--dur-base) var(--ease-out); }
.ttp-drawer { display: flex; flex-direction: column; gap: var(--space-3); width: min(420px, 100%); height: 100%; overflow-y: auto; padding: var(--space-3); background: var(--bg); color: var(--ink); border-left: var(--border-bold) solid var(--ink); font-family: var(--font-sans); animation: ttp-slide-in var(--dur-base) var(--ease-out); box-sizing: border-box; }
.ttp-drawer *, .ttp-drawer *::before, .ttp-drawer *::after { box-sizing: border-box; }
.ttp-drawer.is-left { margin-right: auto; border-left: 0; border-right: var(--border-bold) solid var(--ink); animation-name: ttp-slide-in-left; }
@keyframes ttp-slide-in { from { transform: translateX(24px); opacity: 0; } }
@keyframes ttp-slide-in-left { from { transform: translateX(-24px); opacity: 0; } }
.ttp-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.ttp-drawer-title { margin: 0; font: 400 20px/24px var(--font-pixel); }
.ttp-drawer-menu { max-width: none; }
.ttp-drawer-menu .ttp-menu-row { height: 52px; font-size: 15px; }
.ttp-bag-empty { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-6) 0; text-align: center; color: var(--ink-muted); }
.ttp-bag-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.ttp-bag-line { display: flex; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: var(--border-hair) solid var(--line); }
.ttp-bag-name { font: 800 17px/22px var(--font-sans); color: var(--ink); text-decoration: none; }
.ttp-bag-name:hover { color: var(--accent-text); text-decoration: underline; }
.ttp-bag-choice { margin: 2px 0 var(--space-1); font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.ttp-bag-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: var(--space-1); }
.ttp-bag-remove { all: unset; cursor: pointer; font: 500 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; color: var(--ink-muted); }
.ttp-bag-remove:hover { color: var(--accent-text); }
.ttp-bag-remove:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ttp-bag-foot { display: flex; flex-direction: column; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); }
.ttp-bag-total { display: flex; justify-content: space-between; align-items: baseline; font: 700 18px/24px var(--font-sans); }
.ttp-bag-total .ttp-price { font-size: 22px; }
.ttp-bag-foot .ttp-btn { width: 100%; }

@media (max-width: 720px) {
  .ttp-shop-feature { grid-template-columns: minmax(0, 1fr); padding: var(--space-3); }
  .ttp-page-main { padding-top: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) {
  .ttp-drawer, .ttp-drawer-scrim { animation: none; }
  .ttp-shop-feature:hover { transform: none; }
}
.ttp-noscript { max-width: 720px; margin: 0 auto; padding: 32px 16px; font: 400 17px/28px var(--font-sans); color: var(--ink); }
.ttp-noscript a { color: var(--accent-text); }

/* Welcome: the page Kit sends people to after they confirm their subscription.
   One authored moment: the member card deals in, Nibbit stamps it, the sticker pops on. */
.ttp-wel-hero { min-height: 0; padding-top: 148px; padding-bottom: var(--space-12); overflow: hidden; }
.ttp-home-hero.ttp-wel-hero { background-image: radial-gradient(circle at 1px 1px, var(--dot) 1.5px, transparent 2px); background-size: var(--space-20) var(--space-20); }
.ttp-wel-copy { z-index: 2; padding-top: 0; gap: var(--space-2); }
.ttp-wel-confetti { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
.ttp-wel-nib { position: relative; margin-bottom: var(--space-1); }
.ttp-wel-hello { white-space: nowrap; animation: ttp-wel-hello 5200ms cubic-bezier(.2, .8, .2, 1) 500ms both; }
@keyframes ttp-wel-hello { 0% { scale: 0; opacity: 0; } 7% { scale: 1.15; opacity: 1; } 11% { scale: 1; } 88% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.ttp-wel-title { font-size: clamp(40px, 7vw, 72px); line-height: 1.05; }
.ttp-wel-lede { text-align: center; text-wrap: pretty; }

.ttp-wel-body { position: relative; overflow-x: clip; padding: var(--space-12) var(--space-4) var(--space-16); background-color: var(--sun-soft); background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--sun) 55%, transparent) 1.5px, transparent 2px); background-size: 24px 24px; border-top: var(--border-chunky) solid var(--ink); }
.ttp-wel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; max-width: 1080px; }

.ttp-wel-cardwrap { position: relative; justify-self: center; width: min(100%, 460px); padding: var(--space-3) var(--space-2); }
.ttp-wel-card { position: relative; padding: 10px; background: repeating-conic-gradient(var(--midnight) 0 25%, var(--sun) 0 50%) 0 0 / 8px 8px; box-shadow: 0 0 0 4px var(--midnight), 12px 14px 0 4px #ff3d4f; rotate: -4deg; animation: ttp-wel-deal 900ms cubic-bezier(.16, 1, .3, 1) 250ms both; }
@keyframes ttp-wel-deal { from { translate: -40px 120px; rotate: -22deg; opacity: 0; } 30% { opacity: 1; } to { translate: 0 0; rotate: -4deg; } }
.ttp-wel-card-inner { position: relative; padding: 20px 22px 18px; color: var(--midnight); background-color: #fff4dc; background-image: radial-gradient(circle at 1px 1px, rgba(179, 127, 0, .16) 1px, transparent 1.5px); background-size: 6px 6px; box-shadow: inset 0 0 0 2px var(--midnight); }
.ttp-wel-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); color: var(--midnight); }
.ttp-wel-card-top .ttp-logo-word { font-family: var(--font-pixel); font-weight: 400; }
.ttp-wel-card-kind { font: 400 11px/14px var(--font-pixel); color: var(--sun-ink); text-transform: uppercase; }
.ttp-wel-card-club { margin: 10px 0 14px; font: 900 44px/1 var(--font-dot); letter-spacing: .06em; text-transform: uppercase; color: var(--cherry-ink); text-shadow: 3px 3px 0 var(--sun); }
.ttp-wel-card-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.ttp-wel-photo { display: grid; place-items: center; width: 112px; height: 124px; color: var(--midnight); background-color: #d9f3fd; background-image: radial-gradient(circle at 1px 1px, rgba(31, 155, 209, .3) 1.5px, transparent 2px); background-size: 12px 12px; border: var(--border-bold) solid var(--midnight); box-shadow: 4px 4px 0 0 var(--midnight); }
.ttp-wel-photo svg { animation: ttp-hop 1800ms steps(3, end) infinite; }
.ttp-wel-fields { display: grid; gap: 8px; margin: 0; }
.ttp-wel-fields dt { font: 400 10px/12px var(--font-pixel); color: #5e5470; text-transform: uppercase; }
.ttp-wel-fields dd { margin: 2px 0 0; font: 700 15px/19px var(--font-sans); }
.ttp-wel-fields .ttp-wel-name { font: 400 18px/22px var(--font-pixel); color: var(--cherry-ink); }
.ttp-wel-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-2); margin-top: 16px; padding-top: 12px; border-top: var(--border-bold) dashed rgba(29, 21, 48, .35); }
.ttp-wel-barcode { display: block; width: 150px; height: 34px; fill: var(--midnight); }
.ttp-wel-sig { font: italic 400 30px/1 var(--font-serif); rotate: -6deg; translate: -6px -2px; }
.ttp-wel-stamp { position: absolute; z-index: 2; left: 50%; bottom: 30px; margin-left: -34px; padding: 6px 10px; color: var(--cherry-ink); border: 4px solid var(--cherry-ink); box-shadow: 0 0 0 3px #fff4dc, 0 0 0 6px var(--cherry-ink); background: rgba(255, 244, 220, .7); font: 400 13px/16px var(--font-pixel); text-align: center; text-transform: uppercase; mix-blend-mode: multiply; animation: ttp-stamp 380ms cubic-bezier(.16, 1, .3, 1) 1050ms both; transform: rotate(-12deg); }
.ttp-wel-sticker { position: absolute; z-index: 3; top: -34px; right: -44px; padding: 8px 12px; font-size: 18px; line-height: 18px; transform: none; rotate: 9deg; animation: ttp-popin 420ms steps(4, end) 1500ms both; }

.ttp-wel-next h2 { margin: 0 0 var(--space-3); }
.ttp-wel-steps { display: grid; gap: var(--space-3); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.ttp-wel-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2); align-items: start; animation: ttp-slide-in 600ms cubic-bezier(.16, 1, .3, 1) both; }
.ttp-wel-step:nth-child(1) { animation-delay: 1700ms; } .ttp-wel-step:nth-child(2) { animation-delay: 1820ms; } .ttp-wel-step:nth-child(3) { animation-delay: 1940ms; }
.ttp-wel-step p { margin: 4px 0 0; font: 400 16px/24px var(--font-sans); color: var(--ink-muted); max-width: 42ch; }
.ttp-wel-step-title { margin: 0; font: 800 20px/26px var(--font-sans); letter-spacing: -.01em; color: var(--ink); }
.ttp-wel-chip { display: grid; place-items: center; width: 56px; height: 56px; color: var(--midnight); border: var(--border-pixel) solid var(--midnight); border-radius: var(--radius-2); box-shadow: var(--shadow-pixel-sm); rotate: -4deg; }
.ttp-wel-step:nth-child(2) .ttp-wel-chip { rotate: 5deg; }
.ttp-wel-chip.c-cherry { background: #ff3d4f; } .ttp-wel-chip.c-sun { background: var(--sun); } .ttp-wel-chip.c-bubble { background: #ff8fb8; }
.ttp-wel-actions { justify-content: flex-start; }

@media (max-width: 860px) {
  .ttp-wel-hero { padding-top: 120px; padding-bottom: var(--space-8); }
  .ttp-wel-body { padding: var(--space-8) var(--space-2) var(--space-12); }
  .ttp-wel-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
}
@media (max-width: 480px) {
  .ttp-wel-card-club { font-size: 34px; }
  .ttp-wel-card-main { grid-template-columns: minmax(0, 1fr); }
  .ttp-wel-photo { width: 100%; height: 120px; }
  .ttp-wel-stamp { bottom: 64px; left: auto; right: 14px; margin-left: 0; }
  .ttp-wel-sticker { top: -22px; right: -6px; font-size: 15px; line-height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ttp-wel-card, .ttp-wel-stamp, .ttp-wel-sticker, .ttp-wel-step, .ttp-wel-photo svg { animation: none; }
  .ttp-wel-hello { animation: none; }
}
