/* BRIGHTFOLD · wooden learning toys
   Bauhaus primaries: square = red, circle = blue, triangle = yellow. White field, black lines. */
@font-face { font-family: 'Josefin Sans'; src: url('https://demo.uichemy.com/wp-content/uploads/2026/10/brightfold__fonts-josefin-var.woff2') format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('https://demo.uichemy.com/wp-content/uploads/2026/10/brightfold__fonts-nunito-var.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Mono'; src: url('https://demo.uichemy.com/wp-content/uploads/2026/10/brightfold__fonts-atkmono-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --red: #DC0A32;      /* square */
  --blue: #1C3FB0;     /* circle */
  --yellow: #FFD31A;   /* triangle */
  --white: #FFFFFF;
  --black: #000000;
  --line: rgba(0, 0, 0, .14);
  --line-w: rgba(255, 255, 255, .22);
  --f-title: 'Josefin Sans', system-ui, sans-serif;
  --f-ui: 'Nunito', system-ui, sans-serif;
  --f-mono: 'Atkinson Hyperlegible Mono', ui-monospace, monospace;
  --gut: clamp(20px, 4.2vw, 64px);
  --nav-h: 72px;
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black); font: 400 17px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: #000; padding: 10px 14px; font-weight: 800; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[data-field="yellow"] :focus-visible, [data-field="white"] :focus-visible { outline-color: var(--blue); }

.label { font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.giant { font: 700 clamp(48px, 9.6vw, 168px)/.9 var(--f-title); text-transform: uppercase; letter-spacing: .01em; }
.giant > span { display: block; }

.grid-bg {
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 8vw 8vw; background-position: -1px -1px;
}

/* shape bullets */
.b { display: inline-block; width: 14px; height: 14px; flex: none; }
.b--sq { background: var(--red); }
.b--ci { background: var(--blue); border-radius: 50%; }
.b--tr { background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* ---------------- buttons (pointed = the triangle CTA) ---------------- */
.btn { position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 40px 0 24px; border: 0; background: none; cursor: pointer; text-decoration: none; font: 800 17px/1 var(--f-ui); color: #000; isolation: isolate; }
.btn__bg { position: absolute; inset: 0; z-index: -1; background: var(--yellow); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%); transition: transform .35s var(--pop); }
.btn__t { display: inline-block; transition: transform .35s var(--pop); }
.btn__i { display: inline-flex; width: 16px; height: 14px; transition: transform .35s var(--pop); }
.btn__i svg { width: 100%; height: 100%; fill: currentColor; }
.btn:hover .btn__bg, .btn:focus-visible .btn__bg { transform: scale(1.047); }
.btn:hover .btn__t, .btn:focus-visible .btn__t { transform: rotate(-4deg); }
.btn:hover .btn__i, .btn:focus-visible .btn__i { transform: rotate(18deg); }
.btn--ink { color: #fff; }
.btn--ink .btn__bg { background: #000; }

/* ---------------- nav ---------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); color: #fff; transition: color .3s, background-color .3s; }
.nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: 0; transition: opacity .3s; }
.nav.is-solid::after { opacity: .9; }
.nav[data-ink="dark"] { color: #000; }
.nav[data-bg="blue"].is-solid { background: var(--blue); }
.nav[data-bg="white"].is-solid { background: var(--white); }
.nav[data-bg="yellow"].is-solid { background: var(--yellow); }
.nav[data-bg="red"].is-solid { background: var(--red); }
.nav[data-bg="black"].is-solid { background: var(--black); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--f-title); letter-spacing: .06em; padding-top: 3px; }
.nav__logo .mark { width: 28px; height: 34px; margin-top: -4px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: 15px; }
.nav__links a { text-decoration: none; position: relative; padding: 4px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--pop); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 12px; margin-left: 18px; }
.sound { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1.5px solid currentColor; border-radius: 999px; background: none; cursor: pointer; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.sound__icon { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__icon i { width: 3px; height: 4px; background: currentColor; transition: height .2s; }
.sound[aria-pressed="true"] .sound__icon i { animation: eq .9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound__icon i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .sound__icon i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.bag { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; background: var(--yellow); color: #000; text-decoration: none; font: 800 15px/1 var(--f-ui); }
.bag svg { width: 16px; height: 14px; fill: #000; }

/* ---------------- 1 · hero ---------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--blue); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; padding: calc(var(--nav-h) + 24px) var(--gut) 48px calc(var(--gut) + 6vw); overflow: hidden; }
.hero__copy { position: relative; z-index: 2; max-width: 600px; }
.hero__kicker { margin-bottom: 22px; opacity: .9; }
.hero__title { font: 700 clamp(52px, 6.6vw, 112px)/.92 var(--f-title); text-transform: uppercase; letter-spacing: .005em; }
.hero__title .ln { display: block; overflow: hidden; padding-top: .08em; margin-top: -.08em; }
.hero__title .ln > span { display: block; }
.hero__title .y { color: var(--yellow); }
.hero__sub { margin-top: 24px; max-width: 30em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; }
.pill { position: relative; display: inline-flex; flex-direction: column; gap: 4px; margin-top: 30px; padding: 14px 64px 14px 18px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 18px; text-decoration: none; transition: background-color .25s; }
.pill:hover { background: rgba(255, 255, 255, .1); }
.pill__k { opacity: .8; font-size: 11px; }
.pill__t { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
.pill__t svg { width: 11px; height: 11px; }
.pill__sticker { position: absolute; right: -22px; top: -18px; width: 56px; height: 56px; }
.pill__sticker svg { width: 100%; height: 100%; }
.hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; }
.hero__link { font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.hero__stage { position: relative; align-self: stretch; min-height: 560px; margin-right: calc(-1 * var(--gut)); }
.gl { display: block; width: 100%; height: 100%; }
.hero__stage .gl { position: absolute; inset: 0; }
.dot { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .35); pointer-events: none; }
.d1 { left: 10%; top: 18%; } .d2 { right: 8%; top: 46%; } .d3 { left: 6%; bottom: 14%; width: 16px; height: 16px; } .d4 { left: 52%; top: 8%; width: 12px; height: 12px; }
.stk { position: absolute; pointer-events: none; z-index: 2; }
.stk svg { width: 100%; height: 100%; display: block; }
.stk--tri { width: 132px; height: 118px; right: 9%; top: 12%; }
.stk--sq { width: 84px; height: 84px; left: 2%; top: 74%; }
.stk--ci { width: 78px; height: 78px; right: 14%; bottom: 13%; }
.hero__cap { position: absolute; right: var(--gut); bottom: 0; opacity: .85; }

/* ---------------- 2 · playset ---------------- */
.playset { position: relative; height: 260vh; }
.playset__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.playset__head { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--nav-h) + 6vh); z-index: 4; pointer-events: none; }
.playset__head .label { margin-bottom: 18px; }
.playset__title { font-size: clamp(56px, 9.4vw, 160px); white-space: nowrap; }
.playset__title span:last-child { padding-left: 6vw; }
.playset__gl { position: absolute; inset: 0; z-index: 2; cursor: grab; touch-action: pan-y; }
.playset__gl.is-grab { cursor: grabbing; }
.fcard { position: absolute; z-index: 3; background: #fff; border: 1.5px solid #000; pointer-events: none; will-change: transform; }
.fcard--photo { width: clamp(220px, 23vw, 360px); right: 9vw; top: 52vh; padding: 10px 10px 12px; }
.fcard--photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fcard--photo figcaption { margin-top: 10px; }
.fcard--note { width: clamp(200px, 17vw, 260px); padding: 16px 18px 18px; font-size: 15px; line-height: 1.45; }
.fcard--note .label { margin-bottom: 8px; }
.fcard--note.n1 { left: 9vw; top: 70vh; }
.fcard--note.n2 { left: 44vw; top: 80vh; background: var(--yellow); }

/* ---------------- 3 · ages ---------------- */
.ages { position: relative; background: var(--yellow); color: #000; padding: 18vh 0 12vh; }
.ages__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding: 0 var(--gut); }
.ages__title { font-size: clamp(48px, 7.4vw, 128px); }
.ages__intro { max-width: 26em; font-size: clamp(17px, 1.45vw, 21px); font-weight: 600; justify-self: end; }
.ages__pin { padding-top: 7vh; }
.rule { display: flex; align-items: center; gap: 22px; padding: 0 var(--gut); }
.rule::before, .rule::after { content: ''; flex: 1; height: 1.5px; background: #000; }
.ages__track { display: flex; gap: 20px; padding: 5vh var(--gut) 0; width: max-content; }
.acard { flex: none; width: clamp(280px, 33vw, 480px); background: #fff; border: 1.5px solid #000; padding: clamp(18px, 2.4vw, 34px); display: flex; flex-direction: column; }
.acard__media { position: relative; aspect-ratio: 1 / 1; margin-bottom: 22px; }
.acard__media img, .acard__ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acard__ghost { transform: translate(14px, 12px); }
.acard[data-shape="circles"] img, .acard[data-shape="circles"] .acard__ghost { clip-path: url(#m-circles); }
.acard[data-shape="steps"] img, .acard[data-shape="steps"] .acard__ghost { clip-path: url(#m-steps); }
.acard[data-shape="tris"] img, .acard[data-shape="tris"] .acard__ghost { clip-path: url(#m-tris); }
.acard[data-shape="house"] img, .acard[data-shape="house"] .acard__ghost { clip-path: url(#m-house); }
.acard[data-shape="circles"] .acard__ghost { background: var(--blue); }
.acard[data-shape="steps"] .acard__ghost { background: var(--red); }
.acard[data-shape="tris"] .acard__ghost { background: var(--yellow); }
.acard[data-shape="house"] .acard__ghost { background: #000; }
.acard__age { margin-bottom: 10px; }
.tag { display: inline-block; font: 500 13px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 9px 14px 8px; }
.tag--circle { background: var(--blue); color: #fff; border-radius: 999px; }
.tag--square { background: var(--red); color: #fff; }
.tag--triangle { background: var(--yellow); color: #000; padding-left: 26px; clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); }
.tag--house { background: #000; color: #fff; padding-top: 16px; clip-path: polygon(0 32%, 50% 0, 100% 32%, 100% 100%, 0 100%); }
.acard h3 { font: 700 clamp(30px, 2.8vw, 44px)/1 var(--f-title); text-transform: uppercase; margin-bottom: 10px; }
.acard p:last-child { font-size: 16px; max-width: 28em; }

/* ---------------- 4 · grown-ups ---------------- */
.grown { position: relative; background: var(--red); color: #fff; padding: 22vh 12vw 18vh; overflow: hidden; }
.grown__stickers { position: absolute; inset: 0; pointer-events: none; }
.gs { position: absolute; display: block; }
/* stickers live in the 12vw side gutters (and the top band), never over copy */
.gs1 { width: 8vw; left: 2vw; top: 6%; }
.gs2 { width: 7vw; right: 2.4vw; top: 7%; }
.gs3 { width: 5.6vw; left: 3.4vw; top: 30%; }
.gs4 { width: 6.4vw; right: 2.8vw; top: 32%; }
.gs5 { width: 8.4vw; left: 1.8vw; top: 52%; transform-origin: 50% 50%; }
.gs6 { width: 5.4vw; right: 3.2vw; top: 54%; }
.gs7 { width: 7.6vw; left: 2.2vw; top: 74%; }
.gs8 { width: 4.8vw; right: 3.6vw; top: 76%; }
.gs9 { width: 6.6vw; left: 2.8vw; top: 92%; }
.gs10 { width: 4vw; right: 4vw; top: 94%; }
.grown__head { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto 9vh; text-align: left; }
.grown__title { font-size: clamp(48px, 8.8vw, 152px); }
.grown__title .w { display: block; white-space: nowrap; overflow: hidden; padding-top: .1em; margin-top: -.1em; }
.grown__title .w:last-child { padding-left: 8vw; }
.grown__title .ch { display: inline-block; will-change: transform; }
.grown__intro { margin-top: 32px; max-width: 32em; font-size: clamp(17px, 1.45vw, 21px); }
.grown__body { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; max-width: 1320px; margin: 0 auto; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; padding: 18px 0; border-top: 1.5px solid rgba(255, 255, 255, .55); font-size: 17px; }
.facts li:last-child { border-bottom: 1.5px solid rgba(255, 255, 255, .55); }
.facts .b { grid-row: span 2; margin-top: 3px; }
.facts .b--sq { background: #fff; }
.facts .label { opacity: .85; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.ph { background: #fff; padding: 8px 8px 10px; color: #000; }
.ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ph figcaption { margin-top: 8px; }
.ph2 { margin-top: 9vh; }
.ph3 { margin-top: 3vh; }

/* ---------------- 5 · lesson (signature) ---------------- */
.lesson { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; padding: 18vh var(--gut) 16vh; }
.lesson__copy { max-width: 520px; background: #fff; }
.lesson__copy > .label { margin-bottom: 18px; }
.lesson__title { font-size: clamp(52px, 8.2vw, 136px); margin-bottom: 26px; }
.lesson__rules { margin: 24px 0 28px; }
.lesson__rules li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1.5px solid #000; font-weight: 700; }
.lesson__rules li:last-child { border-bottom: 1.5px solid #000; }
.lesson__ctrl { display: flex; gap: 12px; flex-wrap: wrap; }
.reset { height: 38px; padding: 0 16px; border: 1.5px solid #000; background: #fff; cursor: pointer; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.reset:hover { background: var(--yellow); }
.lesson__count { margin-top: 18px; }
.board { --k: 1; position: relative; width: 100%; max-width: 640px; aspect-ratio: 1 / 1; justify-self: center; background: #fff; border: 1.5px solid #000; touch-action: none; user-select: none; -webkit-user-select: none; }
.board__base { position: absolute; left: 22%; right: 22%; bottom: 13%; height: calc(var(--k) * 16px); background: #000; }
.board__base .label { position: absolute; left: 0; top: calc(100% + 8px); }
.board__zone { position: absolute; inset: 0; pointer-events: none; }
.slot { position: absolute; border: 1.5px dashed rgba(0, 0, 0, .35); transition: border-color .2s, background-color .2s; }
.slot.is-next { border-color: #000; background: repeating-linear-gradient(-45deg, var(--yellow) 0 3px, transparent 3px 11px); }
.slot.is-done { opacity: 0; }
.piece { position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; will-change: transform; z-index: 2; }
.piece svg { display: block; width: 100%; height: 100%; overflow: visible; }
.piece.is-drag { cursor: grabbing; z-index: 5; }
.piece.is-set { cursor: default; z-index: 1; }
.piece--arch { width: calc(var(--k) * 240px); height: calc(var(--k) * 120px); }
.piece--square { width: calc(var(--k) * 120px); height: calc(var(--k) * 120px); }
.piece--triangle { width: calc(var(--k) * 140px); height: calc(var(--k) * 112px); }
.board__hint { position: absolute; left: 18px; top: 16px; right: 18px; font: 700 16px/1.35 var(--f-ui); min-height: 2.7em; }
.board__stamp { position: absolute; left: 50%; top: 22%; transform: translate(-50%, -50%) rotate(-8deg); padding: 10px 18px 6px; background: var(--yellow); border: 2px solid #000; font: 700 clamp(22px, 2.4vw, 34px)/1 var(--f-title); text-transform: uppercase; white-space: nowrap; opacity: 0; pointer-events: none; z-index: 6; }
.board__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 7; }
.board__fx i { position: absolute; width: 14px; height: 14px; }

/* ---------------- 6 · shop ---------------- */
.shop { background: var(--blue); color: #fff; padding: 18vh 0 9vh; }
.shop__facts { display: flex; flex-wrap: wrap; gap: 14px 34px; padding: 34px var(--gut) 0; }
.shop__facts li { display: flex; align-items: center; gap: 10px; }
.shop__facts .b--sq { background: #fff; }
.shop__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding: 0 var(--gut); margin-bottom: 8vh; }
.shop__title { font-size: clamp(48px, 7.6vw, 132px); }
.shop__title .wl { display: block; overflow: hidden; padding: .1em 0 .04em; margin: -.1em 0 -.04em; }
.shop__title .wl > span { display: block; transform-origin: 0 100%; }
.shop__head p { max-width: 24em; justify-self: end; font-size: clamp(17px, 1.4vw, 20px); }
.row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid #000; border-bottom: 1.5px solid #000; background: #000; gap: 1.5px; }
.cell { position: relative; background: #fff; color: #000; display: flex; flex-direction: column; }
.cell__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.cell__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell__cut { object-fit: contain !important; padding: 6% 8%; }
.cell__hover { opacity: 0; transform: scale(1.04); transition: opacity .45s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
.cell:hover .cell__hover, .cell.is-tap .cell__hover { opacity: 1; transform: scale(1); }
.quick { position: absolute; right: 16px; bottom: 14px; width: 58px; height: 52px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s, transform .35s var(--pop); }
.quick svg { width: 100%; height: 100%; overflow: visible; }
.quick svg path:first-child { fill: var(--yellow); stroke: #000; stroke-width: 2.5; stroke-linejoin: round; }
.quick .plus { fill: none; stroke: #000; stroke-width: 3.4; stroke-linecap: round; }
.cell:hover .quick, .quick:focus-visible, .cell.is-tap .quick { opacity: 1; transform: none; }
.quick:hover { transform: rotate(18deg) scale(1.047) !important; }
.cell__meta { padding: 20px 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; border-top: 1.5px solid #000; }
.cell__meta h3 { font: 800 21px/1.2 var(--f-ui); }
.cell__meta .price { font: 500 15px/1.6 var(--f-mono); }
.cell__meta .label { grid-column: 1 / -1; opacity: .75; font-size: 12px; }
.cell__new { position: absolute; z-index: 2; left: 16px; top: 16px; background: var(--red); color: #fff; padding: 8px 12px 7px; }
.cell--own { background: var(--yellow); }
.own__grid { aspect-ratio: 4 / 5; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 9% 5%; padding: 0 8%; }
.o { display: block; flex: none; aspect-ratio: 1; width: 18.5%; border: 2px solid #000; }
.o--ci { background: var(--blue); border-radius: 50%; }
.o--sq { background: var(--red); }
.o--tr { border: 0; background: #000; clip-path: polygon(50% 0, 100% 100%, 0 100%); position: relative; }
.o--tr::after { content: ''; position: absolute; inset: 3px 3.5px 2px; background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); top: 6px; }
.cell--own .cell__meta { grid-template-columns: 1fr; }
.cell--own .cell__meta p { font-size: 15px; }
.cell--own .btn { justify-self: start; margin-top: 8px; min-height: 48px; }

/* ---------------- 7 · footer ---------------- */
.foot { position: relative; background: #000; color: #fff; padding: 9vh 0 28px; overflow: hidden; }
.tickers { position: relative; height: clamp(150px, 15vw, 210px); margin-bottom: 9vh; }
.tick { position: absolute; left: -4vw; right: -4vw; overflow: hidden; height: clamp(58px, 5.6vw, 82px); display: flex; align-items: center; }
.tick--red { top: 18%; background: var(--red); color: #fff; }
.tick--yellow { top: 46%; background: var(--yellow); color: #000; transform: translateY(-12px) rotate(-4.7deg); }
.tick__run { display: flex; align-items: center; gap: 28px; white-space: nowrap; padding-right: 28px; font: 700 clamp(24px, 2.6vw, 40px)/1 var(--f-title); text-transform: uppercase; will-change: transform; }
.tick__run span { padding-top: .14em; }
.tick--red .b--sq { background: #fff; }
.tick--yellow .b--tr { background: #000; }
.tick .b { width: 20px; height: 20px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 0 var(--gut); }
.news h3 { font: 700 clamp(30px, 3.2vw, 52px)/1 var(--f-title); text-transform: uppercase; margin-bottom: 14px; }
.news > p { max-width: 30em; opacity: .9; }
.news__row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.news input { flex: 1 1 260px; min-width: 0; height: 54px; padding: 0 18px; border: 1.5px solid #fff; border-radius: 0; background: #000; color: #fff; font: 600 17px var(--f-ui); }
.news input::placeholder { color: rgba(255, 255, 255, .6); }
.news__ok { min-height: 1.4em; margin-top: 12px; color: var(--yellow); }
.foot__links { display: flex; flex-direction: column; gap: 8px; justify-self: end; min-width: 220px; }
.foot__links .label { opacity: .7; margin-bottom: 6px; }
.foot__links a { font-weight: 700; font-size: 18px; text-decoration: none; }
.foot__links a:hover { color: var(--yellow); }
.foot__word { display: flex; align-items: flex-end; gap: 2vw; padding: 9vh var(--gut) 0; font: 700 clamp(44px, 11vw, 200px)/.8 var(--f-title); letter-spacing: .01em; white-space: nowrap; }
.foot__word .mark { width: 7.4vw; height: auto; flex: none; margin-bottom: .4vw; }
.foot__word span { padding-top: .1em; }
.foot__small { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--gut) 0; margin-top: 4vh; border-top: 1px solid var(--line-w); opacity: .75; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__right { margin-left: auto; }
}
@media (max-width: 991px) {
  .hero { grid-template-columns: 1fr; padding: calc(var(--nav-h) + 28px) var(--gut) 32px; }
  .hero__stage { min-height: 56vh; margin: 4px calc(-1 * var(--gut)) 0; }
  .hero__cap { right: var(--gut); }
  .ages__head, .shop__head, .foot__grid { grid-template-columns: 1fr; }
  .ages__intro, .shop__head p, .foot__links { justify-self: start; }
  .grown__body { grid-template-columns: 1fr; }
  .lesson { grid-template-columns: 1fr; }
  .lesson__copy { max-width: none; }
  .row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  :root { --nav-h: 62px; }
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .nav__logo { font-size: 18px; }
  .nav__logo .mark { width: 22px; height: 28px; }
  .sound { padding: 0 10px; }
  .sound__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero__title { font-size: 14.4vw; }
  .stk--tri { width: 84px; height: 76px; right: 6%; top: 6%; }
  .stk--sq { width: 60px; height: 60px; top: 62%; left: 6%; }
  .stk--ci { display: none; }
  .d4 { display: none; }
  .pill__sticker { right: -14px; top: -16px; width: 44px; height: 44px; }
  .playset { height: 200vh; }
  .playset__title { font-size: 13.2vw; white-space: normal; }
  .playset__title span:last-child { padding-left: 0; }
  .fcard--photo { width: 54vw; right: 5vw; top: 40vh; }
  .fcard--note { width: 56vw; font-size: 14px; }
  .fcard--note.n1 { left: 5vw; top: 74vh; }
  .fcard--note.n2 { display: none; }
  .ages { padding-top: 14vh; }
  .ages__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ages__track::-webkit-scrollbar { display: none; }
  .acard { width: 82vw; scroll-snap-align: center; }
  .grown { padding-left: var(--gut); padding-right: var(--gut); }
  .gs3, .gs4, .gs5, .gs6, .gs7, .gs8 { display: none; }
  .gs1 { width: 64px; left: auto; right: 4vw; top: 3%; } .gs2 { width: 48px; left: 5vw; right: auto; top: 4.5%; } .gs9 { width: 54px; left: 6vw; top: 97%; } .gs10 { width: 34px; right: 8vw; top: 97.4%; }
  .grown__title .w:last-child { padding-left: 0; }
  .photos { grid-template-columns: 1fr 1fr; }
  .ph2 { margin-top: 6vh; }
  .ph3 { grid-column: 1 / -1; width: 62%; margin: 0 auto; }
  .row { grid-template-columns: repeat(2, 1fr); }
  .cell__meta { padding: 14px 14px 16px; grid-template-columns: 1fr; }
  .cell__meta h3 { font-size: 17px; }
  .quick { width: 46px; height: 42px; right: 10px; bottom: 10px; }
  .foot__word .mark { width: 11vw; }
}

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

/* WordPress / Elementor compatibility, inert in a plain browser.
   1. The active WordPress theme styles <body> and every heading too (Twenty Twenty-Five: body weight 300 and -0.1px
      tracking; h1-h6 weight 400, -0.1px tracking, line-height 1.125 and preset sizes). Restore what this page relies on.
   2. The Elementor container that holds the sections can pick up the kit's default padding and gap (seen at phone
      widths); the sections must sit edge to edge, so zero them.
   3. Elementor flattens every <figure> margin inside a widget (frontend.min.css, specificity 0,4,1); figures that
      carry their own margin get it back with the same prefix (0,5,1).
   4. Elementor's generated page CSS (when present) turns that container into a wrapping flex column, which can shrink
      a section below its content, so it is pinned to display: block.
   5. Twenty Twenty-Five sets text-wrap: pretty on headings, paragraphs and captions, which moves line breaks,
      and gives every link a 1px !important underline thickness and a 0.1em offset; put the browser defaults back. */
html body .elementor .e-con.e-parent:has(> .elementor-element [class^="uichemy-"]) { --display: block; --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --row-gap: 0px; --column-gap: 0px; --gap: 0px 0px; }
html body { font-weight: 400; letter-spacing: normal; }
html body :is(blockquote, caption, figcaption, h1, h2, h3, h4, h5, h6, p) { text-wrap: wrap; }
html body a { text-decoration-thickness: auto !important; text-underline-offset: auto; }
html body :is(h1, h2, h3, h4, h5, h6) { letter-spacing: inherit; line-height: inherit; }
html body h1 { font-size: 2em; }
html body h2 { font-size: 1.5em; }
html body h3 { font-size: 1.17em; }
html body :is(h1, h2, h3, h4, h5, h6) { font-weight: bold; }
.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) .ph2 { margin-top: 9vh; }
.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) .ph3 { margin-top: 3vh; }
@media (max-width: 767px) { .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) .ph2 { margin-top: 6vh; } .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) .ph3 { margin: 0 auto; } }
