/* Web fonts (static woff2, inlined from fonts.css so the font faces are known without a second CSS request) */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/Manrope-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/Manrope-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/Manrope-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/Manrope-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Unbounded-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Unbounded-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Unbounded-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Unbounded-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/Unbounded-900-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/Unbounded-900-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/Unbounded-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/Unbounded-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ───────── Tokens ───────── */
:root {
  --ink: #14062B;
  --paper: #FFF3FB;
  --pink: #FF2E93;
  --cobalt: #2340FF;
  --lime: #C6FF3D;
  --tang: #FF7A1A;
  --violet: #8A3BFF;
  --cherry: #E0123C;
  --world: var(--pink);

  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Manrope', 'Segoe UI', sans-serif;

  --line: 2px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --r-frame: 28px;
  --pad: clamp(18px, 4vw, 56px);
  --iri: linear-gradient(120deg, var(--pink), var(--violet) 35%, var(--cobalt) 60%, var(--lime) 85%, var(--tang));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
main { overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 110; top: 12px; left: 24px; padding: 12px 20px; background: var(--lime); border: var(--line); border-radius: 12px; transform: translateY(-160%); }
.skip:focus { transform: none; }
:focus-visible { outline: 4px solid var(--lime); outline-offset: 3px; box-shadow: 0 0 0 7px var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; margin: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-color: var(--pink); }
.empty { grid-column: 1 / -1; padding: clamp(80px, 14vw, 180px) var(--pad); text-align: center; background: var(--paper); }
.empty h1, .empty h2 { font-size: clamp(28px, 4vw, 56px); max-width: 20ch; margin: 0 auto 24px; }
.empty p { margin-bottom: 28px; }

/* ───────── Buttons & stickers ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px;
  font-family: var(--body); font-weight: 800; font-size: 16px; text-decoration: none;
  background: var(--lime); color: var(--ink);
  border: var(--line); border-radius: 999px; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn--paper { background: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--lime); }
.btn--ink:hover { box-shadow: 8px 8px 0 var(--lime); }
.btn--added { background: var(--paper); }

.sticker {
  display: inline-block; padding: 10px 20px;
  font-family: var(--display); font-weight: 900; font-size: clamp(16px, 2vw, 24px); line-height: 1.05;
  background: var(--lime); border: var(--line); border-radius: 999px; box-shadow: var(--shadow);
  transform: rotate(-6deg);
}

/* ───────── Logo ───────── */
.mark { display: inline-block; height: auto; flex-shrink: 0; vertical-align: middle; filter: drop-shadow(2px 2px 0 var(--ink)); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__word { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: -.065em; white-space: nowrap; }

/* ───────── Header ───────── */
.top {
  position: fixed; z-index: 50; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 7px 7px 18px;
  background: var(--paper); border: var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.top.is-scrolled .logo__word { display: none; }
.nav { display: none; gap: 4px; }
.nav a {
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  font-family: var(--body); font-weight: 800; font-size: 15px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.top__actions { display: flex; gap: 8px; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border: var(--line); border-radius: 50%; background: var(--lime);
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn--menu { background: var(--paper); }
.cart-count {
  position: absolute; top: -8px; right: -8px; min-width: 26px; height: 26px; padding: 0 6px;
  display: grid; place-items: center; border: var(--line); border-radius: 999px;
  background: var(--pink); color: var(--paper); font: 800 13px var(--body);
}
.cart-count:empty { display: none; }
@media (min-width: 900px) {
  .top { left: 50%; right: auto; transform: translateX(-50%); width: min(1100px, calc(100% - 40px)); }
  .nav { display: flex; }
  .icon-btn--menu { display: none; }
}

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--pad); background: var(--world); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
}
.menu.is-open { visibility: visible; opacity: 1; }
.menu a { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 12vw, 72px); line-height: 1.05; text-decoration: none; letter-spacing: -.04em; }
.menu .icon-btn { position: absolute; top: 22px; right: 22px; background: var(--paper); }

/* ───────── Age gate ───────── */
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; padding: 24px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink) url('../img/texture-smoke.webp') center / cover;
}
.gate[hidden] { display: none; }
@media (max-width: 899px) { .gate { background-image: url('../img/texture-smoke-800.webp'); } }
.gate__box {
  margin: auto; width: min(560px, 100%); padding: clamp(28px, 5vw, 48px); text-align: center;
  background: var(--paper); border: var(--line); border-radius: var(--r-frame); box-shadow: 14px 14px 0 var(--pink);
}
.gate__age { font-family: var(--display); font-weight: 900; font-size: clamp(96px, 22vw, 168px); line-height: .85; letter-spacing: -.06em;
  background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(5px 5px 0 var(--ink)); margin: 18px 0 8px; }
.gate p { margin: 0 0 24px; font-size: 19px; }
.gate__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-height: 560px) {
  .gate__box { padding: 20px 24px; }
  .gate__box .mark { width: 64px; }
  .gate__age { font-size: 72px; margin: 6px 0 4px; }
  .gate p { margin-bottom: 14px; }
}

/* ───────── Hero ───────── */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero > picture { position: absolute; inset: 0; } /* the <picture> wrapper must not become a grid row */
.hero__word {
  position: relative; z-index: 2; width: min(1280px, 98vw);
  animation: inflate 1.1s cubic-bezier(.2, 1.6, .4, 1) both .2s;
}
.hero__word img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(20, 6, 43, .45)); }
.hero__word--type {
  font-family: var(--display); font-weight: 900; font-size: 21vw; line-height: .8; letter-spacing: -.07em; text-align: center;
  color: var(--paper); text-shadow: 10px 10px 0 var(--ink);
}
.hero .sticker { position: absolute; z-index: 3; }
.hero__s1 { left: 6%; bottom: 18%; background: var(--lime); animation: pop .6s both 1.1s; }
.hero__s2 { right: 6%; top: 20%; background: var(--pink); color: var(--ink); transform: rotate(8deg); animation: pop .6s both 1.3s; }
.hero__cta { position: absolute; z-index: 3; bottom: 6%; left: 50%; translate: -50% 0; width: max-content; max-width: calc(100% - 40px); white-space: nowrap; animation: pop .6s both 1.5s; }
@keyframes inflate { from { transform: scale(.4) translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }

/* ───────── Marquee ───────── */
.marquee {
  position: relative; z-index: 5; overflow: hidden; margin: -34px 0 0;
  background: var(--lime); border-block: var(--line); transform: rotate(-2deg) scale(1.04);
}
.marquee--pink { background: var(--pink); color: var(--paper); transform: rotate(2deg) scale(1.04); margin: 0; }
.marquee__track { display: flex; width: max-content; animation: slide 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 28px; padding: 16px 28px 16px 0;
  font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 32px); white-space: nowrap; letter-spacing: -.03em; }
.marquee__item .mark { width: 54px; filter: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Model collection */
.worlds { position: relative; padding: 80px var(--pad); background: var(--paper); }
.models__intro { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: 1388px; margin: 0 auto 36px; }
.models__intro h2 { font-size: clamp(30px, 4vw, 56px); }
.worlds__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1388px; margin: auto; }
.world { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; padding: 32px; color: var(--paper); border: var(--line); border-radius: 24px; background: var(--ink); box-shadow: var(--shadow); }
.world__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.world::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #14062b10 15%, #14062b50 45%, #14062be6 100%); }
.world__name { position: relative; z-index: 2; font-size: clamp(32px, 3.3vw, 52px); color: var(--paper); }
@media (max-width: 699px) {
  .worlds { padding-block: 56px; }
  .worlds__track { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .models__intro { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 24px; }
  .world { min-height: 480px; padding: 24px; }
}

/* ───────── Big framed image ───────── */
.section { padding: clamp(70px, 10vw, 140px) var(--pad); }
.frame { border: var(--line); border-radius: var(--r-frame); box-shadow: var(--shadow-lg); overflow: hidden; background: var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.family { background: var(--world); transition: background .6s; position: relative; }
.family .frame { max-width: 1400px; margin: 0 auto; aspect-ratio: 3 / 2; }
.family .sticker { position: absolute; z-index: 2; }
.family__s1 { top: clamp(40px, 7vw, 110px); left: calc(var(--pad) + 2%); background: var(--paper); }
.family__s2 { bottom: clamp(40px, 7vw, 110px); right: calc(var(--pad) + 2%); background: var(--lime); transform: rotate(5deg); }

/* ───────── Editorial collage ───────── */
.edit { background: var(--ink); color: var(--paper); overflow: hidden; }
.edit__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; max-width: 1400px; margin: 0 auto; align-items: start; }
.edit__item { position: relative; grid-column: span 12; margin: 0; }
.edit__item .frame { aspect-ratio: 4 / 5; box-shadow: 6px 6px 0 var(--c); }
.edit__item .sticker { position: absolute; bottom: -18px; left: 18px; background: var(--c); color: var(--ink); }
@media (min-width: 700px) {
  .edit__item:nth-of-type(1) { grid-column: 1 / span 4; transform: rotate(-2deg); }
  .edit__item:nth-of-type(2) { grid-column: 5 / span 4; margin-top: 80px; }
  .edit__item:nth-of-type(3) { grid-column: 9 / span 4; margin-top: 24px; transform: rotate(2deg); }
}
.edit__title { font-size: clamp(36px, 10vw, 150px); margin-bottom: 60px; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────── Store teaser ───────── */
.store { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; background: var(--ink); padding: 64px var(--pad); }
.store > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store__card {
  position: relative; z-index: 2; text-align: center; padding: clamp(28px, 4vw, 48px);
  background: var(--paper); border: var(--line); border-radius: var(--r-frame); box-shadow: 14px 14px 0 var(--cobalt);
  rotate: -2deg; max-width: 92vw;
}
.store__card h2 { font-size: clamp(32px, 5vw, 72px); margin-bottom: 30px; }

/* ───────── Footer ───────── */
.foot { background: var(--ink); color: var(--paper); padding: 70px var(--pad) 0; overflow: hidden; }
.foot__row { display: flex; flex-wrap: wrap; gap: 28px 60px; justify-content: space-between; max-width: 1400px; margin: 0 auto 40px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px; }
.foot__links a { padding: 10px 18px; border: 1px solid var(--paper); border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 700; }
.foot__links a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.foot__big { font-family: var(--display); font-weight: 900; font-size: 17vw; line-height: 1.2; letter-spacing: -.065em; text-align: center; margin: 0 -1vw; padding-bottom: .12em;
  background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.warning {
  position: relative; z-index: 2; margin: 0 calc(var(--pad) * -1); padding: 22px var(--pad);
  background: var(--paper); color: var(--ink); border-top: var(--line);
  font-weight: 600; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.65; text-align: center;
}
.foot small { display: block; opacity: .8; font-size: 16px; }

/* ───────── Cart drawer ───────── */
.drawer-bg { position: fixed; inset: 0; z-index: 70; background: rgba(20, 6, 43, .55); opacity: 0; visibility: hidden; transition: .25s; }
.drawer {
  position: fixed; z-index: 71; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--paper); border-left: var(--line);
  transform: translateX(105%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .9, .2, 1), visibility .35s;
}
.cart-open .drawer { transform: none; visibility: visible; }
.cart-open .drawer-bg { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: var(--line); }
.drawer__head h2 { font-size: 30px; }
.drawer__list { flex: 1; min-height: 0; overflow: auto; padding: 18px 22px; display: grid; gap: 18px; align-content: start; }
.drawer__empty { text-align: center; padding: 40px 0; }
.drawer__empty .mark { width: 110px; margin: 0 auto 16px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px 16px; align-items: center; padding-block: 8px 18px; border-bottom: 1px solid #14062b24; }
.line .qty { grid-column: 2; justify-self: start; }
.line__img { width: 64px; height: 76px; border: var(--line); border-radius: 14px; background: var(--c); padding: 4px; grid-row: span 2; }
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__name { font-family: var(--body); font-weight: 800; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.drawer__note { margin: 0; font-size: 13px; }
.qty button:disabled { opacity: .35; background: none; }
.line__price { font-weight: 800; }
.qty { display: inline-flex; align-items: center; border: var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 22px; font-weight: 800; }
.qty button:hover { background: var(--lime); }
.qty span { min-width: 28px; text-align: center; font-weight: 800; }
.drawer__foot { padding: 22px; border-top: var(--line); display: grid; gap: 16px; }
.drawer__total { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 900; font-size: 28px; }

/* ───────── Page head (inner pages) ───────── */
.phead { position: relative; isolation: isolate; padding: 150px var(--pad) 48px; overflow: hidden; background: var(--ink) center / cover no-repeat; color: var(--paper); }
.phead::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #14062bb3, #14062b24); }
.phead h1 { position: relative; font-size: clamp(48px, 7vw, 108px); color: var(--paper); text-shadow: 4px 4px 0 var(--ink); }
.phead p { position: relative; margin: 20px 0 0; max-width: 42ch; font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; text-shadow: 0 1px 2px #14062bcc, 0 0 14px #14062b99; }
.phead .sticker { position: relative; margin-top: 28px; }

/* ───────── Shop ───────── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 34px var(--pad) 0; max-width: 1500px; margin: 0 auto; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px;
  border: var(--line); border-radius: 999px; background: var(--paper); font-family: var(--display); font-weight: 700; font-size: 15px;
}
.chip i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c, var(--iri)); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--c, var(--lime)); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 12px var(--pad) 88px; max-width: 1500px; margin: 0 auto; }
.catalog-meta { max-width: 1500px; padding: 20px var(--pad) 12px; margin: auto; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.catalog-meta p { margin: 0; font-size: 14px; font-weight: 700; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--c); color: var(--ink);
  border: var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; text-decoration: none;
}
.card__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; mix-blend-mode: multiply; }
.card__dev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 15% 10% 6%; transition: transform .3s; }
.card:hover .card__dev { transform: translateY(-4px) rotate(-2deg); }
.card__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 18px; background: var(--paper); border-top: var(--line); }
.card__body > div { min-width: 0; }
.card__name { font-family: var(--body); font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.card__taste { font-size: 14px; margin-top: 8px; line-height: 1.5; }
.card__price { position: absolute; top: 16px; left: 16px; z-index: 2; }
.card__price.sticker { font: 800 15px var(--body); padding: 6px 12px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); transform: none; }
.card .add { width: 44px; height: 44px; flex: 0 0 auto; border: var(--line); border-radius: 50%; background: var(--lime); box-shadow: 2px 2px 0 var(--ink); font-size: 26px; font-weight: 700; line-height: 1; }
.card__link:focus-visible { outline: 4px solid var(--cobalt); outline-offset: -6px; box-shadow: none; border-radius: inherit; }
@media (min-width: 601px) and (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } .card__body { padding: 12px; flex-wrap: wrap; gap: 12px; } .card__body > div { flex: 1 0 100%; } .card__name { font-size: 17px; } .card__taste { font-size: 13px; } .card__price { top: 10px; left: 10px; } .card__price.sticker { font-size: 13px; padding: 4px 8px; } .card__media { aspect-ratio: 4 / 5; } .card .add { margin-left: auto; } }
.card .add:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.card__link { position: absolute; inset: 0; z-index: 1; }
.card .add { position: relative; z-index: 2; align-self: flex-end; }

/* ───────── Product page ───────── */
.pdp { display: grid; min-height: 100svh; background: var(--paper); }
.pdp__stage { position: relative; min-height: 480px; overflow: hidden; display: grid; place-items: center; border-bottom: var(--line); background: var(--c); }
.pdp__stage > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__device { position: relative; height: min(54vh, 460px); width: auto; max-width: 78%; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .3)); }
.pdp__info { min-width: 0; padding: 32px var(--pad) 48px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.pdp__info h1 { font-size: clamp(28px, 7.8vw, 46px); line-height: 1.1; overflow-wrap: anywhere; }
.pdp__taste { font-size: 19px; font-weight: 600; color: var(--ink); margin: -8px 0 2px; }
.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.breadcrumb span { align-self: center; opacity: .4; }
.pdp__flavours { display: grid; gap: 12px; }
.flavours__label { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; margin: 0; font-size: 14px; font-weight: 800; }
.flavours__label span { font-weight: 500; }
.pdp__stock { display: flex; align-items: center; gap: 8px; margin: 0 0 -10px; font-size: 14px; font-weight: 700; }
.pdp__stock::before { content: ''; width: 8px; height: 8px; background: #297947; border-radius: 50%; }
.pdp__stock.is-out::before { background: var(--cherry); }
.pdp__note { margin: 0; font-size: 13px; line-height: 1.6; max-width: 48ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 16px 12px; background: var(--c); color: var(--f, var(--ink)); border: var(--line); border-radius: 16px; box-shadow: var(--shadow); rotate: -2deg; }
.stat:nth-child(2) { rotate: 2deg; }
.stat b { display: block; font-family: var(--body); font-weight: 800; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.2; white-space: nowrap; }
.stat span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.pdp__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pdp__price { font-family: var(--body); font-weight: 800; font-size: 38px; white-space: nowrap; letter-spacing: -.05em; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pdp__stage { min-height: 760px; border-bottom: 0; border-right: var(--line); position: sticky; top: 0; height: max(760px, 100svh); padding-top: 80px; }
  .pdp__info { padding-top: 120px; padding-inline: clamp(28px, 4vw, 64px); }
  .pdp__info h1 { font-size: clamp(32px, 3.8vw, 58px); }
}
.more { padding: 64px var(--pad) 88px; background: var(--paper); max-width: 1500px; margin: auto; }
.more h2 { font-size: clamp(28px, 4vw, 56px); margin-bottom: 32px; }
.more .grid { padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.more__all { display: flex; width: fit-content; margin: 36px auto 0; }

/* ───────── Brand book ───────── */
.bb { padding: clamp(70px, 9vw, 120px) var(--pad); border-bottom: var(--line); }
.bb__in { max-width: 1400px; margin: 0 auto; }
.bb h2 { font-size: clamp(44px, 7vw, 100px); margin-bottom: 36px; }
.bb p { max-width: 62ch; font-size: 20px; }
.bb .manifesto { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 6vw, 88px); line-height: 1; letter-spacing: -.04em; max-width: 16ch; }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.logo-tile { display: grid; place-items: center; gap: 14px; aspect-ratio: 4 / 3; padding: 28px; border: var(--line); border-radius: var(--r-frame); box-shadow: var(--shadow); background: var(--b); color: var(--f); }
.logo-tile .mark { width: 46%; }
.logo-tile .logo__word { font-size: clamp(34px, 4vw, 54px); }
.logo-tile figcaption { font-size: 15px; font-weight: 700; }
.logo-tile--chrome { min-height: 300px; background-image: radial-gradient(ellipse at 50% 40%, #8a3bff, transparent 70%); }
.gate__brand { display: block; margin: 12px 0 22px; font-family: var(--display); font-size: 24px; font-weight: 900; letter-spacing: -.065em; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.swatch { aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: var(--c); color: var(--f, var(--ink)); border: var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.swatch b { font-family: var(--display); font-size: 20px; }
.swatch span { font-size: 15px; font-weight: 700; }
.spec { display: grid; gap: 30px; }
.spec__a { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 11vw, 180px); line-height: 1; overflow-wrap: anywhere; letter-spacing: -.06em; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(.05em .05em 0 var(--ink)); }
.spec__b { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; max-width: 30ch; }
.worlds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 22px; }
.wtile { position: relative; aspect-ratio: 3 / 2; border: var(--line); border-radius: var(--r-frame); box-shadow: 8px 8px 0 var(--c); overflow: hidden; }
.wtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wtile:hover img { transform: scale(1.06); }
.wtile b { position: absolute; left: 16px; bottom: 16px; padding: 8px 16px; background: var(--c); border: var(--line); border-radius: 999px; font-family: var(--display); font-size: 18px; }
.mood { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mood .frame { box-shadow: var(--shadow); }
.mood .m1 { grid-column: span 4; aspect-ratio: 3 / 2; }
.mood .m2 { grid-column: span 2; aspect-ratio: 2 / 3; }
.mood .m3 { grid-column: span 3; aspect-ratio: 3 / 2; }
.mood .m4 { grid-column: span 3; aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .mood > * { grid-column: span 6 !important; } }

/* ───────── Contact ───────── */
.contact { display: grid; gap: 28px; padding: 60px var(--pad) 120px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.info { display: grid; gap: 16px; }
.info__item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--c); border: var(--line); border-radius: 22px; box-shadow: var(--shadow); font-size: 19px; font-weight: 700; text-decoration: none; }
.info__item svg { width: 34px; height: 34px; flex: 0 0 auto; }
.form { padding: clamp(24px, 4vw, 44px); background: var(--paper); border: var(--line); border-radius: var(--r-frame); box-shadow: 12px 12px 0 var(--pink); display: grid; gap: 18px; }
.form h2 { font-size: clamp(36px, 5vw, 64px); }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.form label small, .optional { font-size: 13px; font-weight: 500; }
.optional { margin-top: -7px; }
.form__note { font-size: 13px; margin: 0; line-height: 1.65; }
.order-guide { padding: 16px 16px 28px 0; }
.order-guide h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: 15ch; }
.order-guide p { max-width: 36ch; margin-block: 24px; }
.order-guide ol { padding-left: 22px; margin-bottom: 24px; }
.order-guide li { padding-left: 8px; margin-bottom: 14px; }
.order-guide li::marker { font-weight: 800; color: var(--violet); }
.form input, .form textarea {
  width: 100%; min-height: 58px; padding: 14px 18px; font: 600 18px var(--body); color: var(--ink);
  background: #fff; border: var(--line); border-radius: 18px;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--lime), 5px 5px 0 3px var(--ink); }
.summary { display: grid; gap: 12px; padding: 18px; border: 1px solid #14062b30; border-radius: 14px; background: #fff; font-size: 14px; }
.summary > div { display: flex; justify-content: space-between; gap: 14px; font-weight: 600; }
.summary > div > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.summary > div > span:last-child { flex-shrink: 0; white-space: nowrap; }
.summary .tot { font-size: 20px; font-weight: 800; border-top: 1px solid #14062b30; padding-top: 14px; }
.summary .summary__empty { display: block; }
.summary__empty p { margin: 0 0 8px; }
.ok { text-align: center; padding: 30px 10px; }
.ok .mark { width: 120px; margin: 0 auto 18px; }

/* ───────── Toast ───────── */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; translate: -50% calc(100% + 60px);
  display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px;
  background: var(--paper); border: var(--line); border-radius: 999px; box-shadow: var(--shadow);
  font-weight: 800; visibility: hidden; transition: translate .35s cubic-bezier(.2, 1.4, .4, 1), visibility .35s;
}
.toast.show { translate: -50% 0; visibility: visible; }
.toast img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c); object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ───────── Device fixes (mobile/tablet audit, 15 devices) ───────── */
html { scroll-padding-top: 110px; color-scheme: only light; }
button, .btn, .chip, .icon-btn, .qty button, .card .add { touch-action: manipulation; }
.menu { overflow-y: auto; overscroll-behavior: contain; }
.drawer__list { overscroll-behavior: contain; }
.logo { min-height: 44px; min-width: 44px; }
.menu a { padding: 2px 0; }
.nav a { padding: 12px 18px; }
.cart-count { min-width: 28px; height: 28px; font: 800 15px var(--body); color: var(--ink); }
.toast { width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.card__body { flex: 1; }
.qty button { flex: 0 0 44px; width: 44px; height: 44px; }
.line__price { white-space: nowrap; }
.drawer__total { gap: 12px; white-space: nowrap; font-size: clamp(20px, 7vw, 28px); }
.info, .form, .spec { grid-template-columns: minmax(0, 1fr); }
.info__item { min-width: 0; overflow-wrap: anywhere; }
.info__item, .wtile b, .world__buy .sticker { color: var(--f, var(--ink)); }
.ok h2 { font-size: clamp(26px, 3.6vw, 44px); overflow-wrap: normal; text-wrap: balance; }
.bb h2 { font-size: clamp(30px, 11vw, 100px); }
.spec__a { font-size: clamp(26px, 10vw, 180px); overflow-wrap: normal; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edit__title { font-size: clamp(30px, 5.4vw, 78px); max-width: 18ch; }
.swatches { grid-template-columns: repeat(auto-fit, minmax(min(130px, 40vw), 1fr)); }

@media (min-width: 700px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .contact, .pdp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 14px; padding-right: var(--pad); }
  .filters::-webkit-scrollbar { height: 4px; }
  .filters::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 99px; }
  .chip { flex: 0 0 auto; }
}
@media (max-width: 400px) {
  .line { grid-template-columns: 60px minmax(0, 1fr); }
  .line__img { width: 60px; height: 60px; }
  .line .qty { grid-column: 2; justify-self: start; }
  .stats { gap: 8px; }
  .stat { padding: 10px; }
  .stat b { font-size: clamp(20px, 6.5vw, 26px); }
  .stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--3 .stat:first-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .stats--3 .stat:first-child span { margin-top: 0; }
}
@media (max-width: 359px) {
  .top { left: 10px; right: 10px; gap: 8px; padding-left: 12px; }
  .top .mark { width: 40px; height: auto; }
  .top .logo__word { font-size: 20px; }
  .top .icon-btn { width: 46px; height: 46px; }
  .drawer__head, .drawer__list, .drawer__foot { padding-inline: 14px; }
}
@media (max-width: 300px) {
  .top .logo__word { display: none; }
}
/* phones in landscape and other short screens */
@media (max-height: 560px) {
  .drawer { overflow-y: auto; }
  .drawer__head { padding: 10px 18px; }
  .drawer__head h2 { font-size: 24px; }
  .drawer__list { flex: none; overflow: visible; padding: 12px 18px; }
  .drawer__foot { position: sticky; bottom: 0; padding: 12px 18px; gap: 10px; grid-template-columns: 1fr auto; align-items: center; background: var(--paper); }
  .drawer__total { font-size: 22px; }
  .hero__cta { bottom: 56px; }
  .pdp__stage { min-height: auto; padding: 100px 0 16px; }
  .pdp__device { height: min(50vh, 220px); }
}
@media (max-height: 560px) and (orientation: landscape) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .card__media { aspect-ratio: 4 / 3; }
  .card__name { font-size: 17px; }
}
@media (max-width: 899px) and (max-height: 500px) {
  .world__device { top: auto; bottom: var(--pad); right: 6%; translate: none; height: min(60svh, 220px); }
}

/* ───────── Live catalogue + checkout states ───────── */
.card.is-out .card__dev { filter: grayscale(1) opacity(.55); }
.card.is-out .card__price { background: var(--ink); color: var(--paper); }
.btn:disabled, .card .add:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { margin: 0; font-weight: 800; color: var(--cherry); }
.form__msg:empty { display: none; }
.ok__code { font-family: var(--display); font-weight: 900; font-size: 34px; letter-spacing: .08em; margin: 6px 0; }

/* ───────── Real range: model labels + flavour switcher ───────── */
.card__model { margin-bottom: 8px; font: 600 12px/1.4 var(--body); opacity: .75; }
.line__model { font-size: 14px; font-weight: 700; opacity: .7; }
.pdp__model { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 800 14px var(--body); padding: 10px 16px; background: var(--c); color: var(--f); transform: none; box-shadow: 3px 3px 0 var(--ink); }
.flavours { display: flex; flex-wrap: wrap; gap: 10px; }
.flavour {
  display: grid; place-items: center; width: 58px; height: 64px; padding: 5px;
  background: var(--c); border: var(--line); border-radius: 12px; box-shadow: 2px 2px 0 var(--ink);
  transition: transform .15s;
}
.flavour img { width: 100%; height: 100%; object-fit: contain; }
.flavour:hover { transform: translate(-2px, -2px); }
.flavour[aria-current="page"] { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: none; }
@media (max-width: 400px) { .flavour { width: 56px; height: 56px; } }

/* ───────── Hero: real devices around the logo ───────── */
.hero__devs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__dev {
  position: absolute; height: clamp(120px, 27vh, 300px); width: auto;
  filter: drop-shadow(0 26px 26px rgba(20, 6, 43, .5));
  animation: pop .7s both;
}
.hero__dev:nth-child(1) { left: 3%;  top: 15%;    rotate: -14deg; }
.hero__dev:nth-child(2) { left: 13%; bottom: 7%;  rotate: 9deg; }
.hero__dev:nth-child(3) { right: 4%; top: 14%;    rotate: 12deg; }
.hero__dev:nth-child(4) { right: 14%; bottom: 8%; rotate: -9deg; height: clamp(140px, 32vh, 340px); }
.hero__s1 { left: 24%; bottom: 23%; }
.hero__s2 { right: 24%; top: 25%; }
@media (max-width: 899px) {
  .hero__dev { height: 15svh; }
  .hero__dev:nth-child(1) { left: -2%; top: 13%; }
  .hero__dev:nth-child(2) { left: 4%; bottom: 13%; }
  .hero__dev:nth-child(3) { right: -2%; top: 15%; }
  .hero__dev:nth-child(4) { right: 3%; bottom: 14%; height: 17svh; }
  .hero__s1 { left: 8%; bottom: 32%; }
  .hero__s2 { right: 8%; top: 30%; }
}

/* Model compositions */
.model__text { position: relative; z-index: 3; display: grid; gap: 16px; justify-items: start; width: 100%; }
.model__brand { background: var(--c); color: var(--f); transform: none; font: 800 13px var(--body); padding: 7px 12px; box-shadow: 3px 3px 0 var(--ink); }
.model__name { max-width: 15ch; }
.model__name span { display: inline-block; font-size: .65em; margin-left: .25em; }
.model__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.model__buy .btn { min-height: 48px; padding-inline: 20px; }
.model__puffs { font-size: 14px; font-weight: 600; }
.cluster { position: absolute; z-index: 2; top: 38px; left: 50%; translate: -50% 0; width: min(90%, 500px); display: flex; justify-content: center; align-items: center; }
.cluster__dev { display: block; width: 35%; flex: 0 0 35%; margin-inline: -6px; rotate: var(--r); transition: transform .2s; }
.cluster__dev img { width: 100%; height: 238px; object-fit: contain; filter: drop-shadow(0 16px 16px #14062b50); }
.cluster__dev:hover, .cluster__dev:focus-visible { transform: translateY(-8px); z-index: 2; }
@media (max-width: 899px) { .cluster__dev img { height: 210px; } .model__buy { align-items: start; } }
@media (max-width: 699px) { .cluster { top: 28px; } .cluster__dev img { height: 205px; } .model__name { font-size: clamp(30px, 7.8vw, 48px); } .model__puffs { font-size: 13px; } }

/* ───────── Flavour conveyor ───────── */
.conveyor { position: relative; display: grid; gap: 28px; justify-items: center; padding: clamp(70px, 9vw, 130px) 0; background: var(--world); transition: background .6s; overflow: hidden; }
.conveyor__row { width: 100%; overflow: hidden; padding: 14px 0; }
.conveyor__track { display: flex; gap: 22px; width: max-content; padding-left: 22px; animation: slide 70s linear infinite; }
.conveyor__row--rev .conveyor__track { animation-direction: reverse; }
.conveyor__row:hover .conveyor__track, .conveyor__row:focus-within .conveyor__track { animation-play-state: paused; }
.blob {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: clamp(150px, 15vw, 230px); height: clamp(150px, 15vw, 230px); padding: clamp(16px, 1.7vw, 26px);
  background: var(--c); border: var(--line); border-radius: 50%; box-shadow: var(--shadow); text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .9, .2, 1);
}
.blob img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(20, 6, 43, .35)); }
.blob__name {
  position: absolute; left: 50%; bottom: -10px; translate: -50% 0; padding: 5px 12px; white-space: nowrap;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; font: 800 14px/1.2 var(--body);
  opacity: 0; transition: opacity .2s;
}
.blob:hover, .blob:focus-visible { transform: translateY(-8px) rotate(-6deg); }
.blob:hover .blob__name, .blob:focus-visible .blob__name { opacity: 1; }
.conveyor__cta { position: relative; z-index: 2; text-decoration: none; font-size: clamp(24px, 3.4vw, 44px); background: var(--paper); transform: rotate(-3deg); }
@media (prefers-reduced-motion: reduce) { .conveyor__row { overflow-x: auto; } }

/* ───────── Shop: model tabs ───────── */
.mtab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 72px; padding: 8px 18px 8px 8px;
  background: var(--c); color: var(--f); border: var(--line); border-radius: 24px; box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--body); font-weight: 800; font-size: 16px; line-height: 1.2; text-align: left;
  transition: transform .15s, box-shadow .15s;
}
.mtab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.mtab[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 4px; box-shadow: 3px 3px 0 var(--ink); }
.mtab__devs { display: flex; }
.mtab__devs img { height: 54px; width: auto; max-width: 44px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .3)); }
.mtab__devs img + img { margin-left: -14px; }
.mtab__name small { display: block; margin-bottom: 3px; font: 600 12px var(--body); }
.filters { gap: 14px; padding-top: 40px; }
@media (max-width: 600px) { .filters { padding-top: 30px; padding-bottom: 18px; } .mtab { min-height: 66px; font-size: 15px; } .mtab__devs img { height: 48px; } }

/* per-flavour backdrops (assets/img/bg/) are made for the device: show them as they are */
.card__bg { opacity: 1; mix-blend-mode: normal; }
.card:hover .card__bg { transform: scale(1.06); }
.card__bg { transition: transform .5s cubic-bezier(.2, .9, .2, 1); }
/* tall devices (Lush King Pro) must stay inside the flavour tile */
.flavour { position: relative; overflow: hidden; }
.flavour img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); }
/* phone: keep the device clear of the floating header */
@media (max-width: 899px) and (min-height: 561px) {
  .pdp__stage { min-height: 440px; height: 56svh; max-height: 580px; padding: 96px 0 24px; }
  .pdp__device { height: min(37svh, 360px); }
}

/* Small screens retain readable names and room around touch targets. */
@media (max-width: 600px) {
  .phead { padding-top: 132px; padding-bottom: 32px; }
  .phead h1 { font-size: clamp(32px, 10.5vw, 58px); }
  .filters { padding-top: 26px; padding-bottom: 16px; }
  .mtab { min-height: 62px; border-radius: 18px; }
  .mtab__devs img { height: 42px; }
  .catalog-meta { padding-block: 16px; }
  .catalog-meta .text-link { font-size: 13px; }
  .edit__grid { column-gap: 0; row-gap: 36px; }
  .edit__item { grid-column: span 12; }
  .edit__item .frame { aspect-ratio: 4 / 3; }
  .edit__title { margin-bottom: 0; }
  .store { min-height: 420px; }
  .store__card { padding: 28px 20px; rotate: 0deg; box-shadow: 6px 6px 0 var(--cobalt); }
  .contact { padding-top: 32px; gap: 20px; padding-bottom: 72px; }
  .form { padding: 24px 18px; box-shadow: 6px 6px 0 var(--pink); }
  .form h2 { font-size: 32px; }
  .order-guide { padding-bottom: 16px; }
  .pdp__buy { justify-content: space-between; }
  .pdp__buy .btn { flex: 1; padding-inline: 18px; }
  .pdp__price { font-size: 32px; }
  .more .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more .card:last-child { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .toast { border-radius: 18px; padding: 10px 14px; font-size: 14px; }
  .toast img { flex: 0 0 40px; width: 40px; height: 48px; }
  .foot { padding-top: 48px; }
  .foot__row { gap: 24px; }
}
@media (max-width: 359px) {
  .grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .card__media { aspect-ratio: 1; }
  .card__body { flex-wrap: nowrap; }
  .card__body > div { flex: 1; }
  .more .grid { grid-template-columns: minmax(0, 1fr); }
  .more .card:last-child { width: 100%; }
  .model__buy { flex-direction: column; }
  .pdp__buy .btn { flex-basis: 100%; }
}

/* ═════════ Polish 2026-10-27 ═════════ */

/* First visit: the page stays hidden until app.js shows the 18+ gate (class set by data.js in <head>).
   If the script never arrives, the page shows itself after 8 s. */
.need-age main, .need-age .foot { visibility: hidden; animation: reveal 0s 8s forwards; }
@keyframes reveal { to { visibility: visible; } }

/* Overlays: visibility switches on at once when opening (so focus can move in), fades out when closing */
.menu.is-open { transition: opacity .25s, visibility 0s; }
.cart-open .drawer { transition: transform .35s cubic-bezier(.2, .9, .2, 1), visibility 0s; }

/* The designed lime + ink focus ring, also on components that draw their own shadow */
:is(.btn, .mtab, .card .add, .flavour, .info__item, .wtile, .blob, .cluster__dev, .menu__link, .edit__link, .notice__btn, .line__rm):focus-visible {
  outline: 4px solid var(--lime); outline-offset: 3px; box-shadow: 0 0 0 7px var(--ink);
}
.btn[aria-disabled="true"] { opacity: .55; cursor: progress; box-shadow: none; transform: none; }

/* Headings never leave one word alone on a line */
.phead h1, .pdp__info h1, .order-guide h2, .edit__title, .store__card h2, .empty h1, .empty h2, .more h2, .models__intro h2, .form h2 { text-wrap: balance; }

/* Desktop header: the nav stays centred when the logo word hides on scroll */
@media (min-width: 900px) { .nav { position: absolute; left: 50%; translate: -50% 0; } }

/* Closed shop / no connection: one sticker under the header */
.notice {
  position: fixed; z-index: 49; top: 90px; left: 50%; translate: -50% 0; rotate: -1.5deg;
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 28px);
  padding: 10px 20px; background: var(--cherry); color: var(--paper);
  border: var(--line); border-radius: 999px; box-shadow: var(--shadow); font: 800 15px/1.3 var(--body);
}
.notice--fail { background: var(--tang); color: var(--ink); padding-right: 8px; }
.notice__btn[aria-disabled="true"] { opacity: .55; cursor: progress; }
.notice__btn { flex: 0 0 auto; min-height: 44px; padding: 0 18px; border: var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 800; }

/* Mobile menu: colour bands with real devices */
.menu { justify-content: flex-start; padding-top: 88px; }
.menu__nav { display: grid; gap: 14px; width: min(560px, 100%); margin: auto auto 0; }
.menu .menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 8px 12px 8px 22px;
  background: var(--c); color: var(--f); border: var(--line); border-radius: 22px; box-shadow: var(--shadow);
  font-family: var(--display); font-weight: 900; font-size: clamp(28px, 8.4vw, 50px); line-height: 1.05; letter-spacing: -.04em; text-decoration: none;
  rotate: -1.5deg;
}
.menu .menu__link:nth-child(even) { rotate: 1.5deg; }
.menu .menu__link[aria-current="page"] { box-shadow: 6px 6px 0 var(--paper); }
.menu__art { display: flex; align-items: center; flex: 0 0 auto; }
.menu__art img { height: 60px; width: auto; max-width: 40px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .3)); }
.menu__art img + img { margin-left: -12px; }
.menu__art .mark { width: 52px; filter: none; }
.menu__icon { display: grid; place-items: center; width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); }
.menu__icon svg { width: 26px; height: 26px; }
.menu__cart { align-self: center; margin: 26px auto auto; }
.menu__cart svg { width: 22px; height: 22px; }
.menu__count { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--pink); color: var(--ink); font-size: 14px; }
.menu__count:empty { display: none; }

/* Home: reserve the height of the parts built by app.js (lazy images below them must not load early) */
.worlds__track:empty { min-height: calc(2 * 560px + 28px); }
@media (max-width: 699px) { .worlds__track:empty { min-height: calc(4 * 480px + 3 * 24px); } }
.conveyor__track:empty { min-height: clamp(150px, 15vw, 230px); }
.marquee__track:empty { min-height: 86px; }

/* Conveyor + marquees: pause button, and keyboard focus can scroll a frozen belt */
.motion-toggle { position: absolute; z-index: 3; top: 18px; right: var(--pad); background: var(--paper); box-shadow: var(--shadow); }
.no-motion .marquee__track, .no-motion .conveyor__track { animation-play-state: paused; }
.no-motion .conveyor__row { overflow-x: auto; }
.conveyor__row:focus-within { overflow-x: auto; }
.conveyor__row { scroll-padding-inline: 24px; }
.conveyor__row:focus-within .conveyor__track { animation: none; }

/* Lookbook: a real device in every colour world */
.edit__link { display: block; color: inherit; text-decoration: none; border-radius: var(--r-frame); }
.edit__item .frame { position: relative; }
.frame .edit__dev {
  position: absolute; left: 50%; bottom: 7%; width: auto; height: 70%; max-width: 72%; translate: -50% 0;
  object-fit: contain; filter: drop-shadow(0 22px 22px rgba(20, 6, 43, .55)); transition: transform .4s cubic-bezier(.2, .9, .2, 1);
}
.edit__link:hover .edit__dev { transform: translateY(-8px) rotate(-3deg); }

/* Inner page heads: the backdrop is a real <img> (found early, high priority) */
.phead__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .phead::before { background: linear-gradient(180deg, #14062b33, #14062bcc); } }

/* Product cards: flavour colour under the text, add button on the picture */
.card__body { display: block; background: var(--paper); background: color-mix(in srgb, var(--c) 16%, var(--paper)); }
.card .add { position: absolute; right: 12px; bottom: 12px; z-index: 2; margin: 0; width: 48px; height: 48px; }
@media (max-width: 600px) { .card .add { right: 8px; bottom: 8px; width: 44px; height: 44px; } }
.card__model, .card__name, .line__name, .line__model, .summary, .pdp__model { word-spacing: .14em; }
.card__brand { font-weight: 800; margin-right: .15em; }

/* Live prices: placeholders pulse until /api/catalog answers */
.card__price.is-pending, .pdp__price.is-pending { animation: pending 1s ease-in-out infinite alternate; }
.pdp__stock.is-pending::before { background: #14062b40; }
@keyframes pending { from { opacity: .35; } to { opacity: .9; } }

/* Product page */
.pdp__info { background: var(--paper); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, var(--paper)), var(--paper) 60%); }
@media (min-width: 900px) {
  .pdp__device { height: min(72vh, 680px); max-width: 82%; }
  .flavour { width: 84px; height: 92px; border-radius: 16px; }
}
@media (max-width: 899px) {
  .pdp__buy { position: sticky; bottom: 0; z-index: 4; margin-inline: calc(var(--pad) * -1); padding: 12px var(--pad); background: var(--paper); border-top: var(--line); }
  body[data-page="product"] .toast { bottom: 100px; }
}
@media (max-width: 400px) {
  .pdp__price { font-size: 28px; }
  .pdp__buy { gap: 12px; }
  .pdp__buy .btn { padding-inline: 14px; font-size: 15px; white-space: nowrap; }
}
/* wide but short screens (landscape tablets/phones 900px+): the device fits the first view */
@media (min-width: 900px) and (max-height: 560px) {
  .pdp__stage { height: 100svh; min-height: 0; padding: 84px 0 12px; }
  .pdp__device { height: min(62svh, 300px); }
  .pdp__info { padding-top: 96px; }
}

/* Hero on small laptops / iPad landscape: devices and stickers clear of the wordmark */
@media (min-width: 900px) and (max-width: 1279px) {
  .hero__word { width: min(1280px, 70vw); }
  .hero__dev { height: clamp(120px, 24vh, 250px); }
  .hero__dev:nth-child(4) { height: clamp(130px, 27vh, 280px); }
  .hero__dev:nth-child(1) { left: 1%; top: 13%; }
  .hero__dev:nth-child(3) { right: 1%; top: 13%; }
  .hero__s1 { left: 31%; bottom: 20%; }
  .hero__s2 { right: 28%; top: 21%; }
}
/* Hero on landscape phones: devices beside the wordmark, CTA inside the first view */
@media (max-width: 999px) and (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: 100svh; }
  .hero__word { width: min(62vw, 620px); }
  .hero__dev { height: 44svh; }
  .hero__dev:nth-child(1) { left: 2%; top: 16%; }
  .hero__dev:nth-child(2) { left: 13%; bottom: 6%; }
  .hero__dev:nth-child(3) { right: 2%; top: 16%; }
  .hero__dev:nth-child(4) { right: 13%; bottom: 6%; height: 48svh; }
  .hero__cta { bottom: 48px; } /* clear of the marquee band that overlaps the hero bottom */
  .hero__s1 { left: 28%; bottom: 28%; }
  .hero__s2 { right: 24%; top: 27%; }
}

/* Brand book */
.logo-tile { min-width: 0; }
.logo-tile .mark { width: min(46%, 200px); height: auto; }
.bb .spec__a { background: linear-gradient(120deg, var(--paper) 10%, var(--lime) 50%, var(--paper) 90%); -webkit-background-clip: text; background-clip: text; }

/* Contact / checkout: guide, then the form, then the contact cards (left column on desktop) */
.contact { grid-template-areas: "guide" "form" "info"; }
.order-guide { grid-area: guide; }
.contact > .form { grid-area: form; }
.contact > .info { grid-area: info; align-content: start; }
.contact > .info:empty { display: none; }
@media (min-width: 900px) {
  .contact { grid-template-areas: "guide form" "info form"; grid-template-rows: auto 1fr; }
}
.order-guide .steps { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 12px; padding: 0; margin: 26px 0 14px; }
.order-guide .steps li {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 18px 8px 8px;
  background: var(--c); color: var(--f, var(--ink)); border: var(--line); border-radius: 999px; box-shadow: var(--shadow);
  font: 800 16px/1.2 var(--body); rotate: -3deg;
}
.order-guide .steps li:nth-child(2) { rotate: 2deg; }
.order-guide .steps li:nth-child(3) { rotate: -1deg; }
.steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 900 16px var(--display); }
.summary .sum__line { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.sum__line > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.sum__img { width: 40px; height: 48px; padding: 3px; background: var(--c); border: 2px solid var(--ink); border-radius: 10px; }
.sum__img img { width: 100%; height: 100%; object-fit: contain; }
.sum__line.is-out .sum__img img { filter: grayscale(1) opacity(.55); }
.sum__line.is-out > span:last-child { color: var(--cherry); font-weight: 800; }
.form__state { margin: 0; font-weight: 800; font-size: 15px; }
.form__state:empty { display: none; }
.form [aria-invalid="true"] { border-color: var(--cherry); box-shadow: 4px 4px 0 var(--cherry); }
.form [aria-invalid="true"]:focus { box-shadow: 5px 5px 0 var(--cherry), 5px 5px 0 3px var(--ink); }
.ok__items { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 0; margin: 18px 0 22px; }
.ok__items li { position: relative; width: 64px; height: 76px; padding: 5px; background: var(--c); border: var(--line); border-radius: 14px; box-shadow: 2px 2px 0 var(--ink); }
.ok__items img { width: 100%; height: 100%; object-fit: contain; }
.ok__items b { position: absolute; right: -10px; top: -10px; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; font: 800 13px var(--body); }
.ok__total { display: flex; justify-content: center; align-items: baseline; gap: 12px; margin: 4px 0 10px; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 4vw, 34px); }
.ok__total span { font: 800 16px var(--body); }
.ok__changed { display: inline-block; margin: 0 0 12px; padding: 6px 14px; background: var(--lime); border: var(--line); border-radius: 999px; font-weight: 800; }

/* Cart: sold-out lines are marked and can be removed in one tap */
.line.is-out .line__img img { filter: grayscale(1) opacity(.55); }
.line__out { display: inline-block; padding: 2px 10px; background: var(--ink); color: var(--paper); border-radius: 999px; font-size: 13px; }
.line__rm { grid-column: 2; justify-self: start; min-height: 44px; padding: 0 18px; border: var(--line); border-radius: 999px; background: var(--cherry); color: var(--paper); font-weight: 800; }
.drawer__note.is-warn { color: var(--cherry); font-weight: 800; font-size: 14px; }

/* Footer: legal links (shown once the pages exist) */
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 1400px; margin: -12px auto 32px; font-size: 14px; font-weight: 700; }
.foot__legal a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }

/* Legal pages (privacy / terms, live once the owner fills them) */
.legal { max-width: 860px; margin: 0 auto; padding: 56px var(--pad) 110px; font-size: 18px; }
.legal h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 44px 0 14px; text-wrap: balance; }
.legal p, .legal li { max-width: 68ch; }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--violet); font-weight: 800; }
.legal code { font-size: .9em; padding: 1px 6px; background: #fff; border: 1px solid #14062b30; border-radius: 6px; }
.legal__draft { display: inline-block; padding: 10px 18px; background: var(--cherry); color: var(--paper); border: var(--line); border-radius: 999px; box-shadow: var(--shadow); font-weight: 800; }
.todo { background: var(--lime); color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 800; }

/* 404 */
.nf { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 130px var(--pad) 70px; background: var(--ink); }
.nf__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.nf__devs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nf__dev { position: absolute; height: clamp(140px, 30vh, 320px); width: auto; filter: drop-shadow(0 26px 26px rgba(20, 6, 43, .5)); animation: pop .7s both .3s; }
.nf__dev:nth-child(1) { left: 4%; top: 18%; rotate: -14deg; }
.nf__dev:nth-child(2) { right: 5%; top: 14%; rotate: 12deg; }
.nf__dev:nth-child(3) { right: 17%; bottom: 6%; rotate: -8deg; }
.nf__card { position: relative; text-align: center; padding: clamp(28px, 4vw, 48px); max-width: min(640px, 100%); background: var(--paper); border: var(--line); border-radius: var(--r-frame); box-shadow: 14px 14px 0 var(--pink); rotate: -2deg; }
.nf__code { margin: 0 0 10px; font: 900 clamp(96px, 22vw, 200px)/.85 var(--display); letter-spacing: -.06em; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(5px 5px 0 var(--ink)); }
.nf__card h1 { font-size: clamp(28px, 4.4vw, 52px); margin-bottom: 26px; text-wrap: balance; }
@media (max-width: 699px) {
  .nf__dev { height: 17svh; }
  .nf__dev:nth-child(1) { left: -4%; top: 12%; }
  .nf__dev:nth-child(2) { right: -4%; top: 11%; }
  .nf__dev:nth-child(3) { right: 3%; bottom: 3%; }
  .nf__card { rotate: 0deg; box-shadow: 8px 8px 0 var(--pink); }
}
