/* TESSERA storefront. Playful-premium: saturated colour blocks with soft pastel pairs, chunky rounded type, pill
   buttons, "magnet dot" rivets in tile corners, springy micro-interactions. Motion respects prefers-reduced-motion. */
:root {
  --bg: #fffcf6; --card: #ffffff; --frame: #f4f1ea; --line: #ebe6db;
  --ink: #1d2742; --ink-2: #545e78; --ink-3: #8b93a8;
  --grass: #2fa84f; --grass-s: #e1f5e2;
  --sky: #2b86ff;   --sky-s: #e2efff;
  --sun: #ffb01f;   --sun-s: #fff1d0;
  --berry: #ff4f7e; --berry-s: #ffe3eb;
  --lilac: #8760ff; --lilac-s: #eee8ff;
  --terra: #f26a3c; --terra-s: #ffe6dc;
  --slate: #6b7896; --slate-s: #eceff5;
  --glow: rgba(43, 134, 255, .22);
  --display: 'Outfit', system-ui, sans-serif; --body: 'Nunito', system-ui, sans-serif;
  --r: 26px; --r-m: 18px; --r-s: 12px;
  --spring: cubic-bezier(.34, 1.56, .5, 1); --smooth: cubic-bezier(.3, 1, .3, 1);
  --shadow: 0 1px 0 rgba(29,39,66,.04), 0 18px 40px -24px rgba(29,39,66,.35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 500 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
h4 { font: 700 13px/1.4 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin: 0 0 12px; }
a { color: inherit; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }
.wrap { width: min(1280px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--ink-2); } .small { font-size: 14px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 14px; border-radius: 99px; z-index: 60; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 32em; }

/* kicker: a pill with a magnet dot */
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 99px; padding: 8px 14px 8px 10px; margin-bottom: 22px; }
.kicker::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--k, var(--berry)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--k, var(--berry)) 22%, transparent); }
.kicker.on-color { background: rgba(255,255,255,.7); border-color: transparent; }

/* magnet rivets in the corners of colour tiles */
.rivets { position: relative; }
.rivets::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; --d: 15px; --c: rgba(255,255,255,.9);
  background: radial-gradient(circle at var(--d) var(--d), var(--c) 3.4px, transparent 4px),
    radial-gradient(circle at calc(100% - var(--d)) var(--d), var(--c) 3.4px, transparent 4px),
    radial-gradient(circle at var(--d) calc(100% - var(--d)), var(--c) 3.4px, transparent 4px),
    radial-gradient(circle at calc(100% - var(--d)) calc(100% - var(--d)), var(--c) 3.4px, transparent 4px);
  transition: transform .5s var(--spring); }

/* ---------- announcement bar ---------- */
.announce { background: var(--ink); color: #fff; font: 600 13.5px/1 var(--display); letter-spacing: .02em; overflow: hidden; height: 38px; display: flex; align-items: center; }
.announce-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 38s linear infinite; padding-left: 56px; }
.announce-track span { display: inline-flex; align-items: center; gap: 10px; }
.announce-track span::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,252,246,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1.5px solid transparent; transition: border-color .3s, box-shadow .3s; }
body.scrolled .site-header { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(29,39,66,.4); }
.header-row { display: flex; align-items: center; gap: 28px; height: 78px; transition: height .4s var(--smooth); }
body.scrolled .header-row { height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 900 22px/1 var(--display); letter-spacing: .08em; }
.mark { display: grid; grid-template-columns: repeat(2, 12px); gap: 2px; transform: rotate(0deg); transition: transform .6s var(--spring); }
.mark i { width: 12px; height: 12px; border-radius: 3px; background: var(--sky); transition: transform .5s var(--spring); }
.mark i:nth-child(2) { background: var(--sun); } .mark i:nth-child(3) { background: var(--berry); } .mark i:nth-child(4) { background: var(--grass); }
.wordmark:hover .mark { transform: rotate(90deg); }
.wordmark:hover .mark i:nth-child(1) { transform: translate(-2px, -2px); } .wordmark:hover .mark i:nth-child(2) { transform: translate(2px, -2px); }
.wordmark:hover .mark i:nth-child(3) { transform: translate(-2px, 2px); } .wordmark:hover .mark i:nth-child(4) { transform: translate(2px, 2px); }
.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.main-nav a { position: relative; text-decoration: none; font: 700 16px/1 var(--display); padding: 12px 18px; border-radius: 99px; transition: background .25s, color .25s; }
.main-nav a:hover { background: var(--frame); }
.main-nav a.active { background: var(--ink); color: #fff; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--frame); border-radius: 99px; padding: 3px; }
.lang a, .lang button { text-decoration: none; border: 0; background: none; font: 700 12px var(--display); color: var(--ink-2); padding: 7px 10px; cursor: pointer; border-radius: 99px; text-transform: uppercase; transition: background .25s, color .25s; }
.lang a[aria-current=true], .lang button[aria-pressed=true] { color: var(--ink); background: var(--card); box-shadow: 0 2px 6px rgba(29,39,66,.12); }
.cart-link { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--ink); text-decoration: none;
  transition: transform .4s var(--spring), box-shadow .5s var(--smooth); }
.cart-link:hover { transform: scale(1.08) rotate(-6deg); box-shadow: 0 0 0 6px rgba(255,176,31,.25); }
.cart-link.bump { animation: bump .6s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.28) rotate(-10deg); } 100% { transform: scale(1); } }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--berry); color: #fff; border: 2.5px solid var(--bg); border-radius: 99px; font: 800 11px/1 var(--display);
  min-width: 23px; height: 23px; display: grid; place-items: center; padding: 0 5px; animation: pop .45s var(--spring); }
@keyframes pop { from { transform: scale(0); } }
.mobile-nav { display: none; }
.notice { background: var(--sun-s); font-size: 14px; text-align: center; padding: 9px 16px; font-weight: 600; }

/* ---------- buttons ---------- */
.btn { --bg-c: var(--ink); --fg-c: #fff; --ring: var(--glow);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 99px; padding: 16px 28px; font: 700 16px/1 var(--display);
  border: 0; background: var(--bg-c); color: var(--fg-c); cursor: pointer; text-decoration: none; white-space: nowrap; overflow: hidden;
  transition: transform .35s var(--spring), box-shadow .5s var(--smooth), background .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px var(--ring), 0 14px 24px -14px rgba(29,39,66,.5); }
.btn:active { transform: translateY(0) scale(.96); transition-duration: .1s; }
.btn .arr { display: inline-block; transition: transform .4s var(--spring); }
.btn:hover .arr { transform: translateX(4px); }
.btn.sun { --bg-c: var(--sun); --fg-c: var(--ink); --ring: rgba(255,176,31,.28); }
.btn.berry { --bg-c: var(--berry); --ring: rgba(255,79,126,.24); }
.btn.white { --bg-c: #fff; --fg-c: var(--ink); --ring: rgba(255,255,255,.35); }
.btn.ghost { --bg-c: transparent; --fg-c: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 6px rgba(29,39,66,.08); }
.btn.small { padding: 11px 18px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btn .lbl { display: inline-flex; align-items: center; gap: 8px; transition: transform .45s var(--spring), opacity .25s; }
.btn .lbl.done { position: absolute; inset: 0; justify-content: center; transform: translateY(120%); opacity: 0; }
.btn.is-done { --bg-c: var(--grass); --fg-c: #fff; }
.btn.is-done .lbl:not(.done) { transform: translateY(-120%); opacity: 0; }
.btn.is-done .lbl.done { transform: none; opacity: 1; }
.link-btn { border: 0; background: none; color: var(--ink-2); cursor: pointer; font: 700 14px var(--display); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--berry); }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font: 700 16px var(--display); text-decoration: none; }
.circle-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; transition: transform .45s var(--spring), background .3s; }
.circle-arrow svg { width: 18px; height: 18px; }
.arrow-link:hover .circle-arrow, .tile:hover .circle-arrow, .card:hover .circle-arrow { transform: rotate(-45deg) scale(1.08); }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--smooth), transform .9s var(--smooth); transition-delay: calc(var(--d, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--smooth); transition-delay: calc(var(--i) * 55ms); }
.words.in .w > span { transform: none; }

/* SEO-visible bits: keyword eyebrow, breadcrumbs, display text, small section titles */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; font-size: clamp(44px, 7vw, 92px); margin: 0 0 .3em; text-wrap: balance; color: var(--ink); }
h1.kicker { font-size: 13px; letter-spacing: .12em; line-height: 1; }
.eyebrow { font: 700 13px/1.4 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--c, var(--berry)); margin: 16px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 14px var(--display); color: var(--ink-3); margin-bottom: 4px; }
.crumbs a { color: var(--ink-2); text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }
h2.h4 { font: 700 13px/1.4 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin: 26px 0 12px; }

/* ---------- home: hero ---------- */
.hero { margin-top: 18px; border-radius: 40px; background: var(--sky-s); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; overflow: visible; }
.hero.rivets::after { --d: 24px; --c: rgba(43,134,255,.28); }
.hero h1 { margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font: 600 14px var(--display); color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--grass); }
.hero-media { position: relative; aspect-ratio: 16/11.5; }
.hero-media .frame { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -40px rgba(29,60,120,.55); transform: rotate(1.5deg); transition: transform .8s var(--spring); }
.hero-media:hover .frame { transform: rotate(0deg) scale(1.01); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .float { position: absolute; filter: drop-shadow(0 18px 18px rgba(29,39,66,.22)); pointer-events: auto; }
.hero-media .float.f1 { left: -46px; top: 12%; } .hero-media .float.f2 { right: -30px; top: -42px; } .hero-media .float.f3 { right: 9%; bottom: -54px; }
.hero-badge { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 99px; padding: 10px 16px 10px 10px; display: flex; align-items: center; gap: 10px;
  font: 700 14px var(--display); box-shadow: var(--shadow); text-decoration: none; transition: transform .4s var(--spring); }
.hero-badge:hover { transform: translateY(-3px); }
.hero-badge b { background: var(--berry); color: #fff; border-radius: 99px; padding: 5px 10px; font-size: 12px; }

/* cube parade (marquee of turning cubes) */
.parade { padding: 64px 0 24px; overflow: hidden; }
.parade-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.parade-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); }
.parade-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.parade:hover .parade-track { animation-play-state: paused; }
.parade-item { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 150px; text-decoration: none; padding: 10px 0; border-radius: 22px; transition: background .3s; }
.parade-item:hover { background: var(--frame); }
.parade-item span { font: 700 13px var(--display); color: var(--ink-2); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--spring); }
.parade-item:hover span { opacity: 1; transform: none; }

/* bento */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 18px; padding: 40px 0 24px; }
.tile { position: relative; border-radius: var(--r); padding: 30px; text-decoration: none; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--spring), box-shadow .5s var(--smooth); isolation: isolate; }
.tile:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 50px -30px rgba(29,39,66,.45); }
.tile:hover.rivets::after { transform: scale(1.02); }
.tile h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.035em; margin: 0 0 6px; }
.tile p { margin: 0; font-weight: 600; max-width: 18em; }
.tile .tile-foot { display: flex; justify-content: flex-end; }
.tile.t-sets { grid-row: span 2; background: var(--sky); color: #fff; }
.tile.t-sets .art { position: absolute; left: 8%; right: -12%; top: 150px; bottom: -30px; border-radius: 22px; overflow: hidden; transform: rotate(-4deg); transition: transform .7s var(--spring); z-index: -1; box-shadow: 0 30px 50px -20px rgba(0,30,90,.5); }
.tile.t-sets:hover .art { transform: rotate(-1deg) translateY(-8px); }
.tile.t-sets .art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.tile.t-cubes { background: var(--sun); }
.tile.t-3in1 { background: var(--berry); color: #fff; }
.tile.t-about { grid-column: span 2; background: var(--lilac); color: #fff; flex-direction: row; align-items: center; }
.tile.t-about .tile-text { flex: 1; }
.tile .art-cubes { position: absolute; right: 10px; bottom: 6px; display: flex; align-items: flex-end; z-index: -1; }
.tile .art-cubes canvas:nth-child(2) { margin-left: -26px; margin-bottom: 34px; } .tile .art-cubes canvas:nth-child(3) { margin-left: -22px; }
.tile .fan { position: absolute; right: 22px; bottom: 26px; width: 52%; aspect-ratio: 16/11; z-index: -1; }
.tile .fan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); transition: transform .6s var(--spring); }
.tile .fan img:nth-child(1) { transform: rotate(-9deg) translate(-14px, 6px); } .tile .fan img:nth-child(2) { transform: rotate(-2deg); } .tile .fan img:nth-child(3) { transform: rotate(7deg) translate(14px, 4px); }
.tile:hover .fan img:nth-child(1) { transform: rotate(-16deg) translate(-46px, 4px); } .tile:hover .fan img:nth-child(3) { transform: rotate(14deg) translate(44px, 0); }
.tile:hover .fan img:nth-child(2) { transform: translateY(-14px); }
.tile .about-cube { margin-right: 20px; }
.tile .circle-arrow { background: #fff; color: var(--ink); }

/* sections */
section.block { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }

/* anatomy: the cube with callouts */
.anatomy { background: var(--lilac-s); border-radius: 48px 48px 0 0; margin-top: 60px; padding: 96px 0 110px; position: relative; }
.anatomy .head { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.anatomy .head .kicker { --k: var(--lilac); }
.anat-grid { display: grid; grid-template-columns: 1fr minmax(300px, 420px) 1fr; gap: 26px; align-items: center; }
.anat-col { display: flex; flex-direction: column; gap: 22px; }
.callout { position: relative; background: var(--card); border-radius: var(--r-m); padding: 20px 22px; box-shadow: var(--shadow); transition: transform .45s var(--spring); }
.callout:hover { transform: translateY(-4px) scale(1.02); }
.callout h3 { font-size: 19px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.callout h3 i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--c-s); color: var(--c); font-style: normal; font-size: 15px; flex: none; }
.callout p { margin: 0; font-size: 15px; color: var(--ink-2); }
.callout::before { content: ''; position: absolute; top: 50%; height: 2px; width: 34px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 5px, transparent 5px 9px); transform: scaleX(0); transition: transform .8s var(--smooth) .5s; }
.anat-col.left .callout::before { left: 100%; transform-origin: left; } .anat-col.right .callout::before { right: 100%; transform-origin: right; }
.anat-col.in .callout::before { transform: scaleX(1); }
.anat-stage { position: relative; aspect-ratio: 1; }
.anat-stage .live-cube { position: absolute; inset: 0; }
.anat-stage::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 68%); }
.anat-hint { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font: 700 13px var(--display); color: var(--ink-2); background: rgba(255,255,255,.8); padding: 7px 12px; border-radius: 99px; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.anat-hint::before { content: '↻'; font-size: 15px; display: inline-block; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-cube { cursor: grab; touch-action: pan-y; }
.live-cube.grabbing { cursor: grabbing; }
.live-cube canvas { width: 100%; height: 100%; display: block; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { border-radius: var(--r); padding: 30px; background: var(--c-s); position: relative; transition: transform .5s var(--spring); }
.step:hover { transform: translateY(-5px); }
.step.rivets::after { --c: color-mix(in srgb, var(--c) 40%, transparent); }
.step .n { width: 60px; height: 60px; border-radius: 18px; background: var(--c); color: #fff; display: grid; place-items: center; font: 900 26px var(--display); margin-bottom: 22px; transform: rotate(-6deg); transition: transform .5s var(--spring); }
.step:hover .n { transform: rotate(6deg) scale(1.06); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); }

/* closing band */
.band { background: var(--ink); color: #fff; border-radius: 40px; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
.band.rivets::after { --d: 24px; --c: rgba(255,255,255,.25); }
.band h2 { color: #fff; }
.band p { color: #c3c9d8; }
.band .kicker { background: rgba(255,255,255,.1); border-color: transparent; color: #fff; --k: var(--sun); }
.band .band-cubes { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 4px; }

/* ---------- set cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.card { --c: var(--sky); --c-s: var(--sky-s); background: var(--frame); border-radius: var(--r); padding: 9px; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .5s var(--spring), box-shadow .5s var(--smooth), background .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(29,39,66,.45); background: var(--c-s); }
.card .img { position: relative; aspect-ratio: 16/11; background: #fff; border-radius: 19px; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--smooth); }
.card:hover .img img { transform: scale(1.05); }
.card .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.card .body { padding: 16px 12px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { margin: 0; font-size: 25px; }
.card .meta { color: var(--ink-2); font-size: 15px; font-weight: 600; }
.card .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.price { font: 800 20px var(--display); letter-spacing: -.01em; }
.badge { display: inline-flex; align-items: center; font: 800 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; background: var(--c, var(--berry)); color: #fff; padding: 7px 11px; border-radius: 99px; }
.badge.sun { background: var(--sun); color: var(--ink); } .badge.grass { background: var(--grass); } .badge.sky { background: var(--sky); } .badge.berry { background: var(--berry); } .badge.lilac { background: var(--lilac); }
.badge.soft { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- page heads ---------- */
.page { padding: 40px 0 96px; }
.page-head { border-radius: 40px; background: var(--c-s, var(--sun-s)); padding: clamp(32px, 5vw, 64px); margin: 18px 0 34px; position: relative; overflow: hidden; }
.page-head.rivets::after { --d: 24px; --c: color-mix(in srgb, var(--c, var(--sun)) 35%, transparent); }
.page-head h1 { margin-bottom: .2em; }
.page-head .lead { margin: 0; }
.page-head .head-art { position: absolute; right: clamp(10px, 5vw, 70px); top: 50%; transform: translateY(-50%); display: flex; align-items: center; }
.page-head .head-art canvas:nth-child(2) { margin-left: -30px; margin-top: -60px; }
.tiers { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- set page ---------- */
.product { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 28px 0 80px; align-items: start; }
.stage { position: sticky; top: 92px; }
.stage-view { position: relative; border-radius: 30px; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #ffffff, #e8eef9); aspect-ratio: 4/3.2; }
.stage-view canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.stage-view > img { width: 100%; height: 100%; object-fit: cover; animation: fadein .5s var(--smooth); }
.stage-view > video.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--smooth); }
.stage-view > video.clip.on { opacity: 1; }
.thumbs .clip-thumb { position: relative; }
.thumbs .clip-thumb img { aspect-ratio: 16/11; object-fit: cover; width: 100%; display: block; }
.thumbs .clip-thumb .play { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(29,39,66,.78); color: #fff; font: 900 12px/30px var(--display, system-ui); font-style: normal; text-align: center; padding-left: 2px; box-sizing: border-box; pointer-events: none; }
@keyframes fadein { from { opacity: 0; transform: scale(1.02); } }
.stage-tabs { display: flex; gap: 8px; margin: 14px 0 0; flex-wrap: wrap; }
.chip { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--card); border-radius: 99px; padding: 10px 16px; font: 700 14px/1 var(--display); cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s, transform .35s var(--spring); display: inline-flex; align-items: center; gap: 7px; }
.chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed=true] { background: var(--ink); color: #fff; box-shadow: none; }
.chip .count { font-size: 11px; opacity: .6; }
.stage-actions { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px 2px; }
.thumbs img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.thumbs button { border: 0; padding: 0; border-radius: 14px; overflow: hidden; width: 92px; flex: none; cursor: pointer; background: none; box-shadow: 0 0 0 2px transparent; transition: box-shadow .25s, transform .35s var(--spring); }
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button[aria-pressed=true] { box-shadow: 0 0 0 3px var(--ink); }
.product-info h1 { font-size: clamp(40px, 4.4vw, 64px); margin: 14px 0 10px; }
.product-info .lead { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.facts div { background: var(--c-s); border-radius: var(--r-m); padding: 14px 16px; font: 800 22px/1.1 var(--display); letter-spacing: -.02em; }
.facts small { display: block; font: 600 13px var(--body); color: var(--ink-2); letter-spacing: 0; margin-top: 4px; }
.price-big { font: 800 40px/1 var(--display); letter-spacing: -.03em; }
.buy { display: flex; gap: 12px; align-items: center; margin: 22px 0 36px; flex-wrap: wrap; }
.buy .btn { flex: 1; min-width: 200px; padding: 18px 28px; font-size: 17px; }
.qty { display: inline-flex; align-items: center; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { border: 0; background: none; width: 42px; height: 48px; font: 700 20px var(--display); cursor: pointer; color: var(--ink); border-radius: 99px; transition: background .2s, transform .3s var(--spring); }
.qty button:hover { background: var(--frame); }
.qty button:active { transform: scale(.85); }
.qty input { width: 40px; text-align: center; border: 0; font: 800 16px var(--display); background: none; color: var(--ink); -moz-appearance: textfield; }
.qty input.tick { animation: tick .35s var(--spring); }
@keyframes tick { 40% { transform: scale(1.35); } }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.compact button { width: 34px; height: 38px; font-size: 17px; } .qty.compact input { width: 30px; font-size: 14px; }
.builds-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.build-item { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--card); border-radius: var(--r-m); padding: 14px; cursor: pointer; text-align: left; font: inherit;
  display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; transition: box-shadow .25s, transform .4s var(--spring); }
.build-item:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.build-item[aria-pressed=true] { box-shadow: inset 0 0 0 2.5px var(--ink); }
.build-item img { border-radius: 12px; aspect-ratio: 16/11; object-fit: cover; width: 92px; }
.build-item strong { font: 800 19px var(--display); letter-spacing: -.02em; }
.build-item p { margin: 3px 0 0; font-size: 14px; color: var(--ink-2); }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.build-item[aria-pressed=true] .clamp { -webkit-line-clamp: unset; }
/* building instructions downloads */
.instr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.instr-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-m); background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .35s var(--spring); }
.instr-item:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.instr-item strong { display: block; font: 800 16px/1.2 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.instr-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-s, var(--sun-s)); color: var(--c, var(--terra)); }
.instr-icon svg { width: 24px; height: 24px; }
.instr-note { margin: 10px 0 32px; }
ul.box-grid { list-style: none; padding: 0; margin: 0; }
.box-grid a { color: inherit; text-decoration: none; } .box-grid a:hover { text-decoration: underline; text-underline-offset: 2px; }
.box-grid img { flex: none; }
.box-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.box-grid .piece { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: var(--r-s); padding: 4px 10px 4px 4px; line-height: 1.25; transition: background .2s; }
.box-grid .piece:hover { background: var(--frame); }
.box-grid canvas { flex: none; }
.box-grid b { font: 800 14px var(--display); }

/* ---------- single cubes ---------- */
.toolbar { position: sticky; top: 64px; z-index: 10; display: flex; gap: 8px; align-items: center; margin: 0 -8px 22px; padding: 10px 8px; background: rgba(255,252,246,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; }
.toolbar::-webkit-scrollbar { display: none; }
.search { position: relative; flex: none; }
.search input { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 99px; padding: 11px 16px 11px 40px; font: 600 15px var(--body); background: var(--card); width: 230px; color: var(--ink); transition: box-shadow .25s, width .4s var(--smooth); }
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px var(--glow); width: 270px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-3); }
.result-count { margin: 0 0 14px; font: 700 14px var(--display); color: var(--ink-3); }
.cube-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
.cube-card { --c: var(--sky); --c-s: var(--sky-s); position: relative; background: var(--frame); border-radius: 22px; padding: 7px; display: flex; flex-direction: column; cursor: pointer;
  transition: transform .45s var(--spring), box-shadow .45s var(--smooth), background .3s; animation: cardin .6s var(--smooth) both; animation-delay: calc(min(var(--n, 0), 16) * 28ms); }
@keyframes cardin { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.cube-card:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -26px rgba(29,39,66,.45); background: var(--c-s); }
.cube-card .pic { position: relative; background: var(--c-s); border-radius: 16px; display: grid; place-items: center; aspect-ratio: 1/.86; overflow: hidden; transition: background .3s; }
.cube-card:hover .pic { background: color-mix(in srgb, var(--c) 26%, #fff); }
.cube-card:hover { background: color-mix(in srgb, var(--c) 12%, #fff); }
.cube-card .pic::after { content: ''; position: absolute; left: 50%; bottom: 13%; width: 46%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(29,39,66,.22), transparent); transform: translateX(-50%); z-index: 0; transition: transform .5s var(--spring), opacity .4s; }
.cube-card:hover .pic::after { transform: translateX(-50%) scale(.75); opacity: .6; }
.cube-card .pic canvas { position: relative; z-index: 1; }
.cube-card .peek { position: absolute; top: 10px; right: 10px; z-index: 2; font: 700 12px var(--display); background: #fff; border-radius: 99px; padding: 6px 10px; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .4s var(--spring); }
.cube-card:hover .peek { opacity: 1; transform: none; }
.cube-card .incart { position: absolute; top: 10px; left: 10px; z-index: 2; }
.cube-card .info { padding: 12px 8px 6px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
a.cube-card { text-decoration: none; color: inherit; }
.cube-card a.nm { color: inherit; text-decoration: none; } .cube-card a.nm:hover { text-decoration: underline; text-underline-offset: 3px; }
.cube-card .pic img { position: relative; z-index: 1; width: 62%; height: auto; mix-blend-mode: multiply; }
.cube-stage > img, .box-grid img { mix-blend-mode: multiply; }
.cube-card .nm { font: 700 15.5px/1.22 var(--display); letter-spacing: -.01em; min-height: 2.44em; }
.cube-card .row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; min-height: 40px; }
.cube-card .price { font-size: 17px; }
.add-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); font: 800 22px/1 var(--display); cursor: pointer; display: grid; place-items: center;
  transition: transform .4s var(--spring), box-shadow .4s var(--smooth); }
.add-btn:hover { transform: rotate(90deg) scale(1.1); box-shadow: 0 0 0 5px rgba(255,176,31,.28); }
.add-btn:active { transform: scale(.85); }
.empty-state { text-align: center; padding: 60px 0; color: var(--ink-2); font-weight: 600; }

/* cube page */
.cube-stage { background: var(--c-s); aspect-ratio: 1; display: grid; place-items: center; }
.cube-stage .live-cube { position: absolute; inset: 0; }
.cube-stage > img { width: 80%; height: auto; object-fit: contain; }
.cube-page .qv-buy { margin: 22px 0 0; padding: 0; }
.cube-grid.more { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.thumbs span { width: 92px; flex: none; border-radius: 14px; overflow: hidden; }
.ssr-anat { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* quick view */
dialog.quick { border: 0; padding: 0; border-radius: 34px; width: min(940px, calc(100% - 28px)); max-height: calc(100dvh - 28px); background: var(--card); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(29,39,66,.6); overflow: auto; }
dialog.quick[open] { animation: qv-in .55s var(--spring); }
dialog.quick.closing { animation: qv-out .25s var(--smooth) forwards; }
dialog.quick::backdrop { background: rgba(29,39,66,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadein .3s; }
dialog.quick.closing::backdrop { opacity: 0; transition: opacity .25s; }
@keyframes qv-in { from { opacity: 0; transform: translateY(30px) scale(.94); } }
@keyframes qv-out { to { opacity: 0; transform: translateY(16px) scale(.97); } }
.qv { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 480px; }
.qv-stage { position: relative; background: var(--c-s); border-radius: 26px; margin: 10px; min-height: 380px; }
.qv-stage.rivets::after { --d: 20px; --c: color-mix(in srgb, var(--c) 35%, transparent); }
.qv-stage .live-cube { position: absolute; inset: 0; }
.qv-stage .anat-hint { bottom: 18px; }
.qv-info { padding: 40px 36px 32px 22px; display: flex; flex-direction: column; }
.qv-info h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 14px 0 6px; }
.qv-info .price-big { margin: 6px 0 4px; }
.qv-faces { display: flex; gap: 12px; margin: 22px 0 6px; flex-wrap: wrap; }
.qv-faces span { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 700 12px var(--display); color: var(--ink-2); }
.qv-faces canvas { width: 62px; height: 62px; border-radius: 10px; image-rendering: pixelated; box-shadow: 0 6px 14px -8px rgba(29,39,66,.5); transition: transform .4s var(--spring); }
.qv-faces span:hover canvas { transform: translateY(-4px) rotate(-4deg) scale(1.08); }
.qv-buy { display: flex; gap: 10px; margin-top: auto; padding-top: 24px; flex-wrap: wrap; }
.qv-buy .btn { flex: 1; }
.qv-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--frame); cursor: pointer; display: grid; place-items: center; z-index: 3; transition: transform .4s var(--spring), background .2s; }
.qv-close:hover { transform: rotate(90deg); background: var(--line); }
.qv-close svg { width: 18px; height: 18px; }

/* fly-to-cart ghost */
.fly { position: fixed; z-index: 100; pointer-events: none; border-radius: 12px; will-change: transform; }

/* ---------- cart ---------- */
.cart { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 28px 0 90px; align-items: start; }
.cart h1 { font-size: clamp(40px, 5vw, 64px); }
.cart-lines { display: flex; flex-direction: column; gap: 10px; }
.line { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center; padding: 10px 18px 10px 10px; background: var(--frame); border-radius: var(--r-m); animation: cardin .5s var(--smooth) both; animation-delay: calc(var(--n, 0) * 40ms); transition: background .25s; }
.line:hover { background: var(--sky-s); }
.line .thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .name { font: 800 18px/1.2 var(--display); letter-spacing: -.01em; }
a.name { display: inline-block; color: inherit; text-decoration: none; } a.name:hover { text-decoration: underline; text-underline-offset: 3px; }
a.thumb { transition: transform .4s var(--spring); } a.thumb:hover { transform: scale(1.05); }
.summary { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: var(--r); padding: 26px; position: sticky; top: 92px; }
.summary h4 { margin-top: 18px; }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; font-weight: 600; }
.summary .row.total { border-top: 1.5px dashed var(--line); margin-top: 12px; padding-top: 16px; font: 800 24px var(--display); letter-spacing: -.02em; }
.ship-opt { display: flex; gap: 10px; align-items: center; padding: 12px 14px; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: var(--r-s); margin: 8px 0; cursor: pointer; font-size: 14.5px; font-weight: 600; transition: box-shadow .2s, background .2s; }
.ship-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--frame); }
.ship-opt input { accent-color: var(--ink); }
.progress { height: 10px; background: var(--frame); border-radius: 99px; overflow: hidden; margin: 10px 0 4px; }
.progress i { display: block; height: 100%; border-radius: 99px; background: repeating-linear-gradient(-45deg, var(--grass) 0 8px, #43bd63 8px 16px); background-size: 22.6px 22.6px; animation: stripes 1s linear infinite; transition: width .8s var(--smooth); }
@keyframes stripes { to { background-position: 22.6px 0; } }
.empty-cart { grid-column: 1/-1; text-align: center; padding: 70px 0; }
.empty-cart .cubes-row { display: flex; justify-content: center; margin-bottom: 10px; }

/* misc */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 34px; }
.todo { background: var(--sun-s); border: 2px dashed var(--sun); border-radius: var(--r-s); padding: 14px 16px; font-size: 14.5px; font-weight: 600; }
.success-mark { width: 84px; height: 84px; border-radius: 26px; background: var(--grass); color: #fff; display: grid; place-items: center; margin-bottom: 26px; animation: qv-in .7s var(--spring); transform: rotate(-6deg); }
.success-mark svg { width: 40px; height: 40px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .35s var(--smooth) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.order-lines { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; }
.order-lines div { display: flex; justify-content: space-between; background: var(--frame); border-radius: 12px; padding: 10px 14px; font-weight: 600; }

/* footer */
.site-footer { background: var(--ink); color: #fff; border-radius: 48px 48px 0 0; padding: 72px 0 34px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1.5px solid rgba(255,255,255,.12); }
.wordmark.big { font-size: clamp(36px, 5vw, 64px); gap: 18px; }
.wordmark.big .mark { grid-template-columns: repeat(2, 22px); gap: 4px; } .wordmark.big .mark i { width: 22px; height: 22px; border-radius: 6px; }
.footer-tagline { font: 700 20px var(--display); color: #c3c9d8; margin-top: 16px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.site-footer h4 { color: #8d96ad; }
.footer-cols a { display: block; text-decoration: none; color: #e6e9f1; font-weight: 600; margin: 8px 0; transition: color .2s, transform .3s var(--spring); }
.footer-cols a:hover { color: var(--sun); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; color: #8d96ad; }
.footer-bottom p { margin: 0; }

.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 99px; font: 700 15px var(--display); z-index: 90;
  box-shadow: 0 16px 40px -12px rgba(29,39,66,.55); animation: toast-in .5s var(--spring); display: flex; align-items: center; gap: 10px; }
.toast::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--grass); }
.toast.bad::before { background: var(--berry); }
@keyframes toast-in { from { transform: translate(-50%, 30px) scale(.9); opacity: 0; } }
.empty { padding: 60px 0; text-align: center; color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  /* minmax(0, 1fr), not 1fr: a plain 1fr column grows to its widest content (e.g. a row of 5 photo thumbnails) and
     pushes the whole page past the screen; with minmax the column stays screen-wide and wide rows scroll inside */
  .hero, .product, .cart, .band { grid-template-columns: minmax(0, 1fr); }
  .hero-media { margin: 20px 20px 40px; }
  .stage, .summary { position: static; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 240px 240px; }
  .tile.t-sets { grid-row: auto; grid-column: span 2; }
  .tile.t-about { grid-column: span 2; }
  .anat-grid { grid-template-columns: 1fr; }
  .anat-stage { max-width: min(380px, 80vw); width: 100%; margin: 0 auto; order: -1; }
  .anat-col { display: grid; grid-template-columns: 1fr 1fr; }
  .callout::before { display: none; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .qv { grid-template-columns: minmax(0, 1fr); }
  .qv-stage { min-height: 0; height: min(320px, 70vw); }
  .qv-info { padding: 14px 24px 26px; }
  .page-head .head-art { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .main-nav { display: none; }
  .header-tools { gap: 8px; }
  .lang a { padding: 7px 8px; font-size: 11px; } /* the switcher stays on phones: it is how visitors change language */
  .header-row { height: 64px; justify-content: space-between; }
  body.scrolled .header-row { height: 56px; }
  .mobile-nav { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
  .mobile-nav a { text-decoration: none; font: 700 14px/1 var(--display); padding: 10px 14px; border-radius: 99px; background: var(--frame); white-space: nowrap; }
  .mobile-nav a.active { background: var(--ink); color: #fff; }
  .toolbar { top: 100px; }
  .hero { border-radius: 30px; padding: 28px 22px 30px; }
  .band { border-radius: 30px; padding: 36px 22px; }
  .hero-media .float.f1 { left: -18px; } .hero-media .float.f2 { right: -10px; top: -30px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento .tile { min-height: 230px; grid-column: auto; }
  .tile.t-sets { min-height: 340px; }
  .tile.t-about { flex-direction: column; align-items: stretch; }
  .tile .about-cube { position: absolute; right: 0; top: 0; opacity: .9; }
  .anat-col { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .cube-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cube-card .nm { font-size: 14px; }
  .facts div { font-size: 18px; padding: 12px; }
  .line { grid-template-columns: 64px 1fr; gap: 12px; padding: 10px; }
  .line .thumb { width: 64px; height: 64px; }
  .line .qty, .line .price { grid-column: 2; }
  .section-head { flex-direction: column; align-items: start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  section.block { padding: 64px 0; }
  .anatomy { border-radius: 32px 32px 0 0; padding: 64px 0 72px; }
  .site-footer { border-radius: 32px 32px 0 0; }
}
/* very narrow phones (≤ 360 px): logo, language switcher and cart must still fit on one row */
@media (max-width: 360px) {
  .wordmark { font-size: 17px; gap: 8px; letter-spacing: .05em; }
  .lang a { padding: 6px 6px; }
  .cart-link { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .words .w > span { opacity: 1; transform: none; }
  .announce-track, .parade-track { animation: none; }
}

/* analytics consent bar (only where analytics runs, until the visitor chooses) */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--card, #fff); color: var(--ink); border-radius: 22px; padding: 18px 20px; box-shadow: 0 24px 70px -20px rgba(29,39,66,.55), 0 0 0 1px rgba(29,39,66,.06); animation: fadein .4s var(--smooth); }
.consent h2 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.consent p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2, #545e78); }
.consent .consent-btns { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.consent .consent-btns .btn { flex: 1; min-width: 130px; }
.footer-cols .footer-btn { display: block; background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; color: #e6e9f1; font-weight: 600; margin: 8px 0; transition: color .2s; }
.footer-cols .footer-btn:hover { color: var(--sun); }
