/* ==========================================================================
   UBEDEV Studio — shared design system for ubedev*.html
   Mirrors ubedev.com: warm paper, ink outlines, hard offset shadows,
   rounded heavy display type, mono labels and a five-colour product palette.
   ========================================================================== */

:root {
  --ink: #1d1a18;
  --paper: #f8f1e8;
  --cream: #fffaf3;
  --white: #fffdfa;
  --muted: #6f6861;
  --blue: #38a7ed;
  --purple: #8558ed;
  --coral: #ff654d;
  --yellow: #ffd64a;
  --green: #62ce79;
  --sky: #c6edff;
  --night: #160c35;
  --noir: #17130f;
  --sepia: #e9dcc3;
  --display: 'Arial Rounded MT Bold', 'Nunito', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --shell: min(1220px, 100% - 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.studio-body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  min-width: 320px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, strong, .display { font-family: var(--display); font-weight: 900; }
em { font-style: normal; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.shell { width: var(--shell); margin-inline: auto; }
@media (min-width: 720px) { :root { --shell: min(1220px, 100% - 3rem); } }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px;
  padding: 0.6rem 1rem; font-weight: 800; font-size: 0.8rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- Labels, chips, buttons ---------- */

.label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  width: fit-content;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 4px 0 var(--ink);
  padding: 0.5rem 0.85rem;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.chip b { color: var(--coral); }
.chip.is-green { background: var(--green); }
.chip.is-white { background: #fff; }
.chip.is-purple { background: var(--purple); color: #fff; }
.chip.is-purple b { color: var(--yellow); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-family: var(--mono); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  min-height: 3.6rem;
  padding: 0 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 6px 0 var(--ink);
  background: #fff;
  color: var(--ink);
  font-family: var(--display); font-weight: 900; font-size: 0.85rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 4px 0 var(--ink); }
.btn:active { transform: translate(5px, 6px); box-shadow: 0 0 0 var(--ink); }
.btn span { font-size: 1.05rem; }
.btn.is-coral { background: var(--coral); color: #fff; }
.btn.is-yellow { background: var(--yellow); }
.btn.is-purple { background: var(--purple); color: #fff; }
.btn.is-small { min-height: 2.8rem; font-size: 0.75rem; padding: 0 1.1rem; box-shadow: 3px 4px 0 var(--ink); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 900; font-size: 0.9rem;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.15rem;
}
.text-link:hover span { transform: translate(2px, -2px); }
.text-link span { transition: transform 0.2s var(--ease); }

/* ---------- Header / nav ---------- */

.site-header {
  position: fixed; top: 0.9rem; left: 0; right: 0; z-index: 100;
  pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  width: var(--shell); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 1.3rem;
  box-shadow: 0 5px 0 var(--coral);
  padding: 0.55rem 0.6rem 0.55rem 0.75rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-badge {
  display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem;
  background: var(--coral);
  border: 2px solid #fff;
  border-radius: 0.7rem;
  font-family: var(--display); font-weight: 900; font-size: 1.25rem; line-height: 1; color: #fff;
}
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1rem; letter-spacing: 0.04em; }
.brand-name small { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.2em; opacity: 0.6; margin-left: 0.3rem; font-weight: 600; }

.nav-links { display: none; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a { font-family: var(--display); font-weight: 900; font-size: 0.8rem; opacity: 0.86; position: relative; }
.nav-links a:hover, .nav-links a[aria-current='page'] { opacity: 1; }
.nav-links a[aria-current='page']::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.45rem; height: 3px; border-radius: 3px; background: var(--yellow);
}

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-back {
  display: none; align-items: center; gap: 0.35rem;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  opacity: 0.7; padding: 0 0.6rem;
}
.nav-back:hover { opacity: 1; }
.nav-cta {
  display: none; align-items: center; gap: 0.9rem;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 0.9rem;
  box-shadow: inset 0 -3px 0 rgba(29, 26, 24, 0.18);
  padding: 0.65rem 1rem;
  font-family: var(--display); font-weight: 900; font-size: 0.78rem;
}
.nav-cta:hover { background: #ffe07a; }
.menu-trigger {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 0.9rem;
  padding: 0.6rem 0.9rem;
  font-family: var(--display); font-weight: 900; font-size: 0.78rem;
}
.menu-trigger-icon { display: grid; gap: 3px; width: 14px; }
.menu-trigger-icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-trigger[aria-expanded='true'] .menu-trigger-icon i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-trigger[aria-expanded='true'] .menu-trigger-icon i:nth-child(2) { opacity: 0; }
.menu-trigger[aria-expanded='true'] .menu-trigger-icon i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu-panel {
  pointer-events: auto;
  width: var(--shell); margin: 0.7rem auto 0;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 1.4rem;
  box-shadow: 6px 7px 0 var(--ink);
  padding: 0.6rem;
  display: none;
}
.menu-panel.is-open { display: block; animation: drop-in 0.25s var(--ease); }
.menu-panel ol { list-style: none; display: grid; }
.menu-panel ol a {
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  font-family: var(--display); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em;
}
.menu-panel ol a small { font-family: var(--mono); font-size: 0.6rem; color: var(--coral); letter-spacing: 0.1em; }
.menu-panel ol a:hover, .menu-panel ol a[aria-current='page'] { background: var(--yellow); }
.menu-panel-foot {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; align-items: center;
  border-top: 2px dashed rgba(29, 26, 24, 0.25);
  margin-top: 0.4rem; padding: 0.9rem 0.9rem 0.4rem;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
}
.menu-panel-foot a:hover { color: var(--coral); }

@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .nav-cta { display: inline-flex; }
}
@media (min-width: 1040px) {
  .nav-links { display: flex; }
  .nav-back { display: inline-flex; }
  .menu-trigger { display: none; }
  .menu-panel, .menu-panel.is-open { display: none; }
}

/* ---------- Generic sections ---------- */

main { display: block; }
.section { padding: clamp(5.5rem, 11vw, 10rem) 0; position: relative; }
.section.is-cream { background: var(--cream); }
.section.is-paper { background: var(--paper); }
.section.is-ink { background: var(--ink); color: #fff; }
.section.is-tight { padding-top: clamp(3rem, 6vw, 5rem); }

.section-intro { max-width: 860px; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-intro .label { color: var(--muted); }
.section.is-ink .section-intro .label { color: rgba(255, 255, 255, 0.55); }
.section-intro h2, .page-hero h1 {
  margin-top: 1.1rem;
  font-size: clamp(2.7rem, 6.5vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}
.section-intro h2 em { color: var(--coral); }
.section-intro h2 em.is-purple { color: var(--purple); }
.section-intro h2 em.is-blue { color: var(--blue); }
.section-intro h2 em.is-yellow { color: var(--yellow); }
.section-intro p {
  margin-top: 1.4rem; max-width: 58ch;
  color: var(--muted); font-size: 1rem; font-weight: 600; line-height: 1.75;
}
.section.is-ink .section-intro p { color: rgba(255, 255, 255, 0.66); }
.section-intro.has-aside { display: grid; gap: 1.5rem; max-width: none; }
@media (min-width: 900px) {
  .section-intro.has-aside { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 0 7rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 214, 74, 0.7) 0 6rem, transparent 6.1rem),
    radial-gradient(circle at 2% 78%, rgba(56, 167, 237, 0.18) 0 11rem, transparent 11.1rem),
    var(--paper);
  overflow: hidden;
}
.hero-layout { position: relative; z-index: 2; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1040px) {
  .hero-layout { grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr); gap: clamp(3rem, 6vw, 6rem); }
}
.hero h1 {
  margin-top: 1.6rem;
  font-size: clamp(3.6rem, 9vw, 7.6rem);
  line-height: 0.85;
  letter-spacing: -0.075em;
  max-width: 10.5ch;
}
.hero h1 em { color: var(--purple); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0.05em; bottom: -0.06em; height: 0.07em;
  background: var(--purple); border-radius: 50%; transform: rotate(-1deg);
}
.hero-lead { margin-top: 2rem; max-width: 50ch; color: var(--muted); font-size: 1.02rem; font-weight: 600; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 2.2rem; color: #776f68; font-size: 0.78rem; font-weight: 600; }
.hero-proof b { color: var(--ink); font-family: var(--display); }
.hero-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }
.hero-proof a { border-bottom: 1.5px solid currentColor; }

.playground { position: relative; display: grid; place-items: center; padding: 2rem 0.5rem; }
.playground-card {
  position: relative; z-index: 2;
  width: min(100%, 580px);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 2rem;
  box-shadow: 12px 14px 0 var(--ink);
  padding: 0.85rem;
  transform: rotate(1.2deg);
}
.playground-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 0.3rem 0.7rem; border-bottom: 2px solid var(--ink);
}
.playground-top > span { display: flex; gap: 0.3rem; }
.playground-top i { width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--coral); }
.playground-top i:nth-child(2) { background: var(--yellow); }
.playground-top i:nth-child(3) { background: var(--green); }
.playground-top small { font-family: var(--mono); font-size: 0.5rem; font-weight: 800; letter-spacing: 0.1em; }
.playground-top b {
  justify-self: end; background: var(--green); color: #fff;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 0.2rem 0.5rem;
  font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.06em;
}
.playground-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; padding-top: 0.85rem; }
.mini {
  position: relative; overflow: hidden;
  border: 2px solid var(--ink); border-radius: 1.15rem;
  min-height: 210px; padding: 1rem;
}
.mini-title { display: flex; align-items: center; gap: 0.6rem; }
.mini-title .app-icon { width: 2.1rem; height: 2.1rem; font-size: 0.9rem; border-radius: 0.6rem; }
.mini-title span { display: grid; }
.mini-title strong { font-size: 0.85rem; }
.mini-title small { font-size: 0.6rem; opacity: 0.65; font-weight: 600; }
.mini.is-chengel { background: var(--sky); }
.mini.is-blocks { background: var(--night); color: #fff; }
.mini.is-verimly {
  grid-column: 1 / -1; min-height: 140px;
  background: var(--coral);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mini.is-verimly small { font-family: var(--mono); font-size: 0.55rem; font-weight: 800; letter-spacing: 0.1em; }
.mini.is-verimly strong { color: #fff; font-size: 2rem; line-height: 0.85; letter-spacing: -0.05em; margin: 0.3rem 0 0.7rem; }
.mini.is-verimly span {
  width: fit-content; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 0.35rem 0.65rem; font-size: 0.6rem; font-weight: 800;
}
.mini-crossword { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; width: 74%; margin: 1rem auto 0; transform: rotate(-3deg); }
.mini-crossword i, .crossword i {
  aspect-ratio: 1; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(29, 26, 24, 0.15); border-radius: 0.2rem;
  font-family: var(--display); font-style: normal; font-weight: 900; font-size: 0.65rem;
}
.mini-crossword i.on, .crossword i.on { background: #fff; border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.mini-blocks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; width: 74%; margin: 1rem auto 0; transform: rotate(3deg); }
.mini-blocks i, .blocks-grid i { aspect-ratio: 1; border-radius: 0.18rem; background: rgba(255, 255, 255, 0.06); }
.mini-blocks i.on, .blocks-grid i.on { background: var(--purple); box-shadow: inset 0 1px rgba(255, 255, 255, 0.25), 0 0 8px rgba(133, 88, 237, 0.5); }

.float-card {
  position: absolute; z-index: 4;
  border: 2px solid var(--ink); box-shadow: 4px 5px 0 var(--ink);
  padding: 0.7rem 0.9rem;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.25;
}
.float-card.is-idea { top: 0; right: 0; background: var(--yellow); transform: rotate(5deg); }
.float-card.is-idea b { color: var(--coral); }
.float-card.is-shipped { bottom: 0.5rem; left: 0; background: var(--green); transform: rotate(-4deg); }
.float-spark { position: absolute; top: 0; left: 4%; z-index: 3; color: var(--purple); font-size: 3.2rem; transform: rotate(-12deg); }
@media (min-width: 1040px) {
  .float-card.is-idea { right: -1.5rem; top: 3%; }
  .float-card.is-shipped { left: -1.8rem; bottom: 6%; }
}

.confetti i { position: absolute; z-index: 1; width: 0.75rem; height: 0.3rem; border-radius: 999px; background: var(--coral); transform: rotate(35deg); }
.confetti i:nth-child(1) { top: 18%; left: 4%; }
.confetti i:nth-child(2) { top: 11%; left: 42%; background: var(--purple); transform: rotate(-30deg); }
.confetti i:nth-child(3) { bottom: 26%; right: 4%; background: var(--blue); }
.confetti i:nth-child(4) { bottom: 16%; left: 47%; background: var(--green); transform: rotate(80deg); }
.confetti i:nth-child(5) { top: 16%; right: 18%; transform: rotate(-15deg); }
.confetti i:nth-child(6) { bottom: 14%; left: 3%; background: var(--yellow); transform: rotate(-45deg); }

/* ---------- Ticker ---------- */

.ticker {
  position: relative; z-index: 3;
  background: var(--purple); color: #fff;
  border-block: 2px solid var(--ink);
  overflow: hidden;
  transform: rotate(-0.5deg) scale(1.01);
}
.hero .ticker { position: absolute; left: 0; right: 0; bottom: 0; }
.ticker.is-coral { background: var(--coral); }
.ticker.is-yellow { background: var(--yellow); color: var(--ink); }
.ticker.is-yellow b { color: var(--coral); }
.ticker-track { display: flex; width: max-content; padding: 0.95rem 0; animation: ticker-move 32s linear infinite; }
.ticker span { white-space: nowrap; padding: 0 1.2rem; font-family: var(--mono); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ticker b { color: var(--yellow); margin-left: 2rem; }
@keyframes ticker-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Product cards ---------- */

.product-stack { display: grid; gap: 2rem; }
.product-card {
  position: relative; overflow: hidden;
  display: grid;
  border: 3px solid var(--ink);
  border-radius: 2rem;
  box-shadow: 10px 12px 0 var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.product-card:hover { transform: translate(3px, 3px); box-shadow: 7px 9px 0 var(--ink); }
@media (min-width: 960px) {
  .product-card { grid-template-columns: 0.9fr 1.1fr; min-height: 600px; }
}
.product-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 4.5rem clamp(1.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem);
}
.product-top {
  position: absolute; top: 1.5rem; left: clamp(1.5rem, 5vw, 4.5rem); right: clamp(1.5rem, 5vw, 4.5rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.09em;
}
.product-top b { border: 1.5px solid currentColor; border-radius: 999px; padding: 0.3rem 0.6rem; }
.app-icon {
  display: grid; place-items: center;
  width: 4.2rem; height: 4.2rem;
  border: 2px solid var(--ink); border-radius: 1.1rem;
  font-family: var(--display); font-weight: 900; font-size: 1.8rem; line-height: 1;
  box-shadow: 3px 4px 0 var(--ink);
}
.product-copy h3 { margin-top: 1.4rem; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.9; letter-spacing: -0.065em; }
.product-copy p { margin-top: 1.2rem; max-width: 44ch; font-size: 0.98rem; font-weight: 600; line-height: 1.7; opacity: 0.78; }
.product-copy .tag-row { margin-top: 1.6rem; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.5rem; margin-top: 2rem; }

.product-visual {
  position: relative; display: grid; place-items: center;
  min-height: 380px; padding: 2.5rem 1.5rem;
}
.visual-badge {
  position: absolute; z-index: 3;
  border: 2px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); border-radius: 0.8rem;
  padding: 0.55rem 0.8rem; text-align: center;
  font-family: var(--mono); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.2;
}
.visual-badge strong { display: block; font-size: 1.5rem; letter-spacing: -0.04em; }

/* Chengel world */
.product-card.is-chengel { background: var(--sky); }
.product-card.is-chengel .app-icon { background: #fff; color: var(--blue); }
.product-card.is-chengel .product-visual {
  background: radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.6) 0 9rem, transparent 9.1rem), var(--blue);
}
@media (min-width: 960px) { .product-card.is-chengel .product-visual { border-left: 3px solid var(--ink); } }
.phone {
  position: relative; z-index: 2;
  width: min(270px, 78%);
  background: var(--ink); border: 3px solid var(--ink); border-radius: 2.2rem;
  padding: 0.55rem; box-shadow: 9px 10px 0 rgba(29, 26, 24, 0.85);
  transform: rotate(-3deg);
}
.phone-screen { border-radius: 1.7rem; overflow: hidden; background: #fff; }
.phone-screen img { width: 100%; height: auto; }
.crossword-screen { padding: 1.4rem 0.9rem 1.1rem; background: #fdfbf6; }
.crossword-screen .label { font-size: 0.5rem; color: var(--muted); }
.crossword-screen strong { display: block; font-size: 1.1rem; margin: 0.2rem 0 0.8rem; letter-spacing: -0.03em; }
.crossword { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.crossword i { font-size: 0.7rem; background: #eef6fb; }
.crossword i.dark { background: var(--ink); border-color: var(--ink); }
.crossword-clue {
  margin-top: 0.9rem; border: 1.5px solid var(--ink); border-radius: 0.7rem; padding: 0.5rem 0.6rem;
  font-size: 0.6rem; font-weight: 700; background: var(--sky);
}
.product-card.is-chengel .visual-badge { background: var(--yellow); right: 8%; bottom: 10%; transform: rotate(4deg); }

/* U Blocks world */
.product-card.is-blocks {
  background:
    radial-gradient(rgba(133, 88, 237, 0.55) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    var(--night);
  color: #fff;
}
.product-card.is-blocks .app-icon { background: var(--purple); color: #fff; }
.product-card.is-blocks .tag, .product-card.is-blocks .product-top b { border-color: rgba(255, 255, 255, 0.5); }
.product-card.is-blocks .btn { box-shadow: 5px 6px 0 #000; }
.product-card.is-blocks .phone { background: #0b061c; transform: rotate(3deg); box-shadow: 9px 10px 0 #000; }
.product-card.is-blocks .visual-badge { background: var(--purple); color: #fff; top: 12%; right: 10%; transform: rotate(-5deg); }

/* Verimly world */
.product-card.is-verimly { background: var(--coral); }
.product-card.is-verimly .app-icon { background: #fff; color: var(--coral); }
.product-card.is-verimly .product-copy p { opacity: 0.9; }
.ticket-shop {
  position: relative; z-index: 2;
  width: min(380px, 100%);
  background: var(--white);
  border: 3px solid var(--ink); border-radius: 1.4rem;
  box-shadow: 9px 10px 0 var(--ink);
  overflow: hidden;
  transform: rotate(2deg);
}
.ticket-url {
  display: flex; align-items: center; gap: 0.4rem;
  border-bottom: 2px solid var(--ink); padding: 0.6rem 0.9rem;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
}
.ticket-url::before { content: '🔒'; font-size: 0.6rem; }
.ticket-event { background: var(--night); color: #fff; padding: 1.2rem 1.1rem; }
.ticket-event small { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em; color: var(--yellow); font-weight: 800; }
.ticket-event strong { display: block; font-size: 2rem; line-height: 0.9; letter-spacing: -0.05em; margin: 0.4rem 0; }
.ticket-event span { font-size: 0.7rem; opacity: 0.7; }
.ticket-rows { padding: 0.9rem 1rem 1rem; display: grid; gap: 0.5rem; }
.ticket-rows .label { color: var(--muted); font-size: 0.55rem; }
.ticket-row {
  display: flex; justify-content: space-between; align-items: center;
  border: 1.5px solid var(--ink); border-radius: 0.7rem; padding: 0.55rem 0.7rem;
  font-size: 0.75rem; font-weight: 800;
}
.ticket-row b { font-family: var(--display); }
.ticket-pay {
  margin-top: 0.3rem; text-align: center;
  background: var(--coral); color: #fff;
  border: 2px solid var(--ink); border-radius: 999px; padding: 0.6rem;
  font-family: var(--display); font-weight: 900; font-size: 0.8rem;
}
.product-card.is-verimly .visual-badge { background: var(--yellow); left: 6%; bottom: 10%; transform: rotate(-5deg); }

/* Motive world */
.product-card.is-motive {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    var(--noir);
  color: var(--sepia);
}
.product-card.is-motive .app-icon { background: var(--sepia); color: var(--noir); font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.product-card.is-motive h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-style: italic; letter-spacing: -0.04em; }
.product-card.is-motive .tag, .product-card.is-motive .product-top b { border-color: rgba(233, 220, 195, 0.5); }
.product-card.is-motive .btn { background: var(--sepia); box-shadow: 5px 6px 0 #000; }
.case-file {
  position: relative; z-index: 2;
  width: min(360px, 100%);
  background: #d9c49a;
  color: #2a2117;
  border: 2px solid #000;
  border-radius: 0.4rem 1.2rem 0.4rem 0.4rem;
  box-shadow: 9px 10px 0 #000;
  padding: 1.4rem 1.3rem 1.3rem;
  transform: rotate(-2.5deg);
  font-family: 'Courier New', var(--mono);
}
.case-file::before {
  content: ''; position: absolute; top: -1.1rem; left: 0; width: 42%; height: 1.2rem;
  background: #d9c49a; border: 2px solid #000; border-bottom: 0; border-radius: 0.5rem 0.5rem 0 0;
}
.case-file small { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; }
.case-file strong { display: block; font-family: Georgia, serif; font-style: italic; font-size: 1.9rem; letter-spacing: -0.03em; margin: 0.4rem 0 0.8rem; }
.case-file p { font-size: 0.72rem; line-height: 1.55; }
.case-stamp {
  position: absolute; right: 1rem; top: 1.2rem;
  border: 2.5px solid #b3261e; color: #b3261e; border-radius: 0.3rem;
  padding: 0.2rem 0.5rem; font-weight: 900; font-size: 0.7rem; letter-spacing: 0.15em;
  transform: rotate(10deg);
}
.case-photo {
  margin-top: 1rem; height: 90px; border: 2px solid #000;
  background:
    radial-gradient(circle at 30% 45%, rgba(0, 0, 0, 0.55) 0 1.4rem, transparent 1.5rem),
    linear-gradient(135deg, #7d6a4f, #3a3024);
  filter: grayscale(0.4);
}
.case-pin { position: absolute; top: -0.4rem; right: 30%; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: #b3261e; border: 2px solid #000; }
.product-card.is-motive .visual-badge { background: var(--sepia); color: var(--noir); top: 12%; right: 8%; transform: rotate(5deg); border-color: #000; box-shadow: 3px 4px 0 #000; }

/* ---------- Approach ---------- */

.approach-grid { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .approach-grid { grid-template-columns: repeat(3, 1fr); } }
.approach-card {
  background: #fff; border: 2px solid var(--ink); border-radius: 1.6rem;
  box-shadow: 6px 7px 0 var(--ink);
  padding: 1.8rem 1.6rem 2rem;
}
.approach-card:nth-child(1) { transform: rotate(-1deg); }
.approach-card:nth-child(3) { transform: rotate(1deg); }
.approach-head { display: flex; justify-content: space-between; align-items: center; }
.approach-head .label { color: var(--muted); }
.approach-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 2px solid var(--ink); border-radius: 50%; font-size: 1.2rem; font-weight: 900;
}
.approach-card:nth-child(1) .approach-icon { background: var(--yellow); }
.approach-card:nth-child(2) .approach-icon { background: var(--purple); color: #fff; }
.approach-card:nth-child(3) .approach-icon { background: var(--green); }
.approach-card h3 { margin-top: 2.2rem; font-size: 1.9rem; letter-spacing: -0.04em; line-height: 1; }
.approach-card p { margin-top: 1rem; color: var(--muted); font-weight: 600; line-height: 1.7; font-size: 0.95rem; }

.loop {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem;
  margin-top: 3rem;
}
.loop span {
  border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  padding: 0.55rem 1rem; font-family: var(--mono); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em;
}
.loop span:nth-of-type(1) { background: var(--yellow); }
.loop span:nth-of-type(2) { background: var(--sky); }
.loop span:nth-of-type(3) { background: var(--coral); color: #fff; }
.loop span:nth-of-type(4) { background: var(--green); }
.loop i { font-style: normal; font-weight: 900; }

/* ---------- Capabilities ---------- */

.cap-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cap-grid { grid-template-columns: repeat(4, 1fr); } }
.cap-card {
  display: flex; flex-direction: column;
  min-height: 250px;
  background: #fff; border: 2px solid var(--ink); border-radius: 1.4rem;
  padding: 1.4rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cap-card:hover { transform: translate(-2px, -3px); box-shadow: 5px 6px 0 var(--ink); }
.cap-icon {
  display: grid; place-items: center; width: 2.8rem; height: 2.8rem;
  border: 2px solid var(--ink); border-radius: 0.8rem;
  font-family: var(--display); font-weight: 900; font-size: 1rem;
}
.cap-card h3 { margin-top: 1.5rem; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.05; }
.cap-card p { margin-top: 0.7rem; color: var(--muted); font-size: 0.88rem; font-weight: 600; line-height: 1.6; }
.cap-card .label { margin-top: auto; padding-top: 1.3rem; font-size: 0.56rem; color: var(--ink); opacity: 0.7; }
.cap-card.is-feature { background: var(--purple); color: #fff; }
.cap-card.is-feature p, .cap-card.is-feature .label { color: rgba(255, 255, 255, 0.82); opacity: 1; }
.cap-card.is-feature .cap-icon { background: var(--yellow); color: var(--ink); }
.cap-icon.is-yellow { background: var(--yellow); }
.cap-icon.is-sky { background: var(--sky); }
.cap-icon.is-coral { background: var(--coral); color: #fff; }
.cap-icon.is-green { background: var(--green); }
.cap-icon.is-purple { background: var(--purple); color: #fff; }
.cap-icon.is-ink { background: var(--ink); color: #fff; }

/* ---------- Websites ---------- */

.site-grid { display: grid; gap: 1.4rem; }
@media (min-width: 820px) { .site-grid { grid-template-columns: repeat(2, 1fr); } }
.site-card {
  display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--ink); border-radius: 1.6rem;
  box-shadow: 6px 7px 0 var(--ink);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-card:hover { transform: translate(2px, 2px); box-shadow: 4px 5px 0 var(--ink); }
.site-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  border-bottom: 2px solid var(--ink); padding: 0.65rem 0.9rem;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
}
.site-bar > span { display: flex; align-items: center; gap: 0.6rem; }
.site-bar i { width: 0.55rem; height: 0.55rem; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--coral); }
.site-preview {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px; padding: 1.3rem;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.site-preview strong { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 0.92; letter-spacing: -0.05em; max-width: 12ch; }
.site-preview small { font-family: var(--mono); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.site-preview.is-rions { background: linear-gradient(160deg, #f3efe6, #d9d2c3); }
.site-preview.is-rions strong { font-family: Georgia, serif; font-weight: 400; }
.site-preview.is-verimly { background: var(--night); color: #fff; }
.site-preview.is-verimly small { color: var(--yellow); }
.site-preview.is-ube { background: var(--paper); }
.site-preview.is-ube strong em { color: var(--purple); }
.site-preview.is-personal { background: #0a0a0a; color: #f5f1e8; }
.site-preview.is-personal strong { font-family: Georgia, serif; font-weight: 300; font-style: italic; }
.site-preview.is-personal small { color: #d4a947; }
.site-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.site-body .label { color: var(--coral); }
.site-body h3 { font-size: 1.6rem; letter-spacing: -0.04em; line-height: 1; }
.site-body p { color: var(--muted); font-weight: 600; font-size: 0.9rem; line-height: 1.65; }
.site-body .tag-row { margin-top: auto; padding-top: 0.4rem; }

.offer-grid { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 720px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .offer-grid { grid-template-columns: repeat(4, 1fr); } }
.offer {
  border: 2px solid var(--ink); border-radius: 1.3rem; background: var(--cream);
  padding: 1.3rem; display: flex; flex-direction: column; gap: 0.6rem;
}
.offer .label { color: var(--coral); }
.offer h4 { font-size: 1.2rem; letter-spacing: -0.03em; }
.offer p { color: var(--muted); font-size: 0.86rem; font-weight: 600; line-height: 1.6; }
.offer small { margin-top: auto; padding-top: 0.6rem; font-family: var(--mono); font-size: 0.56rem; font-weight: 800; letter-spacing: 0.08em; }

.web-cta {
  margin-top: 3rem;
  display: grid; gap: 1.5rem; align-items: center;
  background: var(--yellow); border: 3px solid var(--ink); border-radius: 1.8rem;
  box-shadow: 8px 9px 0 var(--ink);
  padding: clamp(1.5rem, 4vw, 2.6rem);
}
@media (min-width: 900px) { .web-cta { grid-template-columns: 1fr auto; } }
.web-cta p { font-family: var(--display); font-weight: 900; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.2; letter-spacing: -0.03em; max-width: 34ch; }
.web-cta .hero-actions { margin-top: 0; }

/* ---------- Game assets ---------- */

.asset-card {
  display: grid; overflow: hidden;
  background: var(--ink); color: #fff;
  border: 3px solid var(--ink); border-radius: 2rem;
  box-shadow: 10px 12px 0 var(--coral);
}
@media (min-width: 960px) { .asset-card { grid-template-columns: 1fr 1.1fr; } }
.asset-cover {
  position: relative; min-height: 340px; padding: 2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  background:
    linear-gradient(180deg, transparent 55%, rgba(29, 26, 24, 0.65)),
    linear-gradient(160deg, #7fd3f7 0 38%, #ffd38a 38% 40%, #f5b36b 40% 58%, #5aa86a 58% 62%, #3a3a46 62%);
}
.asset-cover-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.asset-skyline { position: absolute; left: 8%; right: 8%; bottom: 36%; display: flex; align-items: flex-end; gap: 6px; height: 40%; }
.asset-skyline i { flex: 1; border: 2px solid var(--ink); border-bottom: 0; border-radius: 0.3rem 0.3rem 0 0; background: #fff6e3; }
.asset-skyline i:nth-child(1) { height: 55%; background: #ffb4a6; }
.asset-skyline i:nth-child(2) { height: 85%; }
.asset-skyline i:nth-child(3) { height: 65%; background: var(--yellow); }
.asset-skyline i:nth-child(4) { height: 100%; background: #b9e3ff; }
.asset-skyline i:nth-child(5) { height: 45%; background: #c8f0cf; }
.asset-skyline i:nth-child(6) { height: 75%; background: #ffd9b5; }
.asset-cover strong { position: relative; z-index: 2; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 0.9; letter-spacing: -0.05em; text-shadow: 3px 3px 0 var(--ink); }
.asset-packs { display: grid; align-content: center; gap: 0.2rem; padding: clamp(1.5rem, 4vw, 3rem); }
.asset-pack {
  display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1.5px dashed rgba(255, 255, 255, 0.22);
}
.asset-pack strong { font-size: 2.2rem; letter-spacing: -0.05em; color: var(--yellow); }
.asset-pack b { display: block; font-family: var(--display); font-size: 1.05rem; }
.asset-pack small { font-family: var(--mono); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em; opacity: 0.6; }
.asset-packs .hero-actions { margin-top: 1.6rem; }
.asset-packs .btn { box-shadow: 5px 6px 0 var(--coral); border-color: #fff; }
.asset-total { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.asset-total span { border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 0.3rem 0.7rem; font-family: var(--mono); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em; }

/* ---------- Team ---------- */

.team-grid { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--ink); border-radius: 1.6rem;
  box-shadow: 6px 7px 0 var(--ink);
  overflow: hidden;
}
.team-avatar {
  position: relative; display: grid; place-items: center;
  height: 210px; border-bottom: 2px solid var(--ink);
  font-family: var(--display); font-weight: 900; font-size: 5rem; letter-spacing: -0.06em;
}
.team-avatar .label { position: absolute; top: 1rem; left: 1rem; font-size: 0.6rem; }
.team-card:nth-child(1) .team-avatar { background: var(--yellow); }
.team-card:nth-child(2) .team-avatar { background: var(--sky); }
.team-card:nth-child(3) .team-avatar { background: var(--coral); color: #fff; }
.team-body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.4rem 1.4rem 1.6rem; flex: 1; }
.team-body .label { color: var(--muted); }
.team-body h3 { font-size: 1.55rem; letter-spacing: -0.04em; line-height: 1.05; }
.team-body p { color: var(--muted); font-size: 0.9rem; font-weight: 600; line-height: 1.65; }
.team-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.8rem; }
.team-links a {
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 0.35rem 0.75rem;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 800;
}
.team-links a:hover { background: var(--yellow); }

/* ---------- Stats strip ---------- */

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat {
  border: 2px solid var(--ink); border-radius: 1.3rem; background: #fff; padding: 1.2rem 1.3rem;
}
.stat strong { display: block; font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -0.06em; line-height: 1; }
.stat .label { display: block; margin-top: 0.5rem; color: var(--muted); font-size: 0.58rem; }
.stat:nth-child(1) strong { color: var(--coral); }
.stat:nth-child(2) strong { color: var(--purple); }
.stat:nth-child(3) strong { color: var(--blue); }
.stat:nth-child(4) strong { color: #2f9e4b; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 214, 74, 0.75) 0 5rem, transparent 5.1rem),
    radial-gradient(circle at 6% 90%, rgba(133, 88, 237, 0.16) 0 9rem, transparent 9.1rem),
    var(--paper);
  border-bottom: 2px solid var(--ink);
}
.page-hero h1 { font-size: clamp(3.2rem, 8vw, 7rem); line-height: 0.88; letter-spacing: -0.07em; max-width: 12ch; }
.page-hero h1 em { color: var(--purple); }
.page-hero p.lead { margin-top: 1.6rem; max-width: 56ch; color: var(--muted); font-weight: 600; font-size: 1.02rem; line-height: 1.75; }
.page-hero .hero-actions { margin-top: 2rem; }

/* ---------- Filter pills (work page) ---------- */

.filter-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-row button {
  border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  padding: 0.55rem 1rem; font-family: var(--mono); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.filter-row button:hover { transform: translate(-1px, -2px); box-shadow: 3px 4px 0 var(--ink); }
.filter-row button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.work-empty { display: none; padding: 2rem; border: 2px dashed var(--ink); border-radius: 1.4rem; text-align: center; font-weight: 700; }
.work-empty.is-visible { display: block; }

/* ---------- Work archive cards ---------- */

.work-grid { display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  display: flex; flex-direction: column;
  background: #fff; border: 3px solid var(--ink); border-radius: 1.8rem;
  box-shadow: 8px 9px 0 var(--ink);
  overflow: hidden;
}
.work-card[hidden] { display: none; }
.work-cover {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  min-height: 220px; padding: 1.4rem;
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.work-cover .app-icon { width: 3.6rem; height: 3.6rem; font-size: 1.5rem; }
.work-cover .chip { position: absolute; top: 1.2rem; right: 1.2rem; }
.work-cover-art { position: absolute; right: 1.2rem; bottom: 1.2rem; width: 52%; max-width: 300px; }
.work-cover.is-chengel { background: var(--sky); }
.work-cover.is-chengel .app-icon { background: #fff; color: var(--blue); }
.work-cover.is-blocks { background: radial-gradient(rgba(133, 88, 237, 0.55) 1.5px, transparent 1.6px) 0 0 / 22px 22px, var(--night); }
.work-cover.is-blocks .app-icon { background: var(--purple); color: #fff; border-color: #fff; }
.work-cover.is-verimly { background: var(--coral); }
.work-cover.is-verimly .app-icon { background: #fff; color: var(--coral); }
.work-cover.is-motive { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px), var(--noir); }
.work-cover.is-motive .app-icon { background: var(--sepia); color: var(--noir); font-family: Georgia, serif; font-style: italic; border-color: #000; }
.work-cover .crossword { width: 100%; transform: rotate(-4deg); }
.work-cover .blocks-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; transform: rotate(4deg); }
.work-cover-ticket {
  position: absolute; right: 1.4rem; bottom: 1.4rem;
  background: var(--white); border: 2px solid var(--ink); border-radius: 1rem; box-shadow: 4px 5px 0 var(--ink);
  padding: 0.8rem 1rem; transform: rotate(3deg); font-weight: 800; font-size: 0.75rem;
}
.work-cover-ticket strong { display: block; font-size: 1.4rem; letter-spacing: -0.04em; }
.work-cover-ticket small { font-family: var(--mono); font-size: 0.55rem; color: var(--muted); }
.work-cover-file {
  position: absolute; right: 1.4rem; bottom: 1.4rem;
  background: #d9c49a; color: #2a2117; border: 2px solid #000; border-radius: 0.3rem 0.9rem 0.3rem 0.3rem; box-shadow: 5px 6px 0 #000;
  padding: 0.8rem 1rem; transform: rotate(-4deg); font-family: 'Courier New', var(--mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
}
.work-cover-file strong { display: block; font-family: Georgia, serif; font-style: italic; font-size: 1.3rem; letter-spacing: -0.02em; }
.work-body { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem 1.5rem 1.7rem; flex: 1; }
.work-body .label { color: var(--coral); }
.work-body h3 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.06em; line-height: 0.95; }
.work-body p { color: var(--muted); font-weight: 600; line-height: 1.7; font-size: 0.95rem; }
.work-meta { display: grid; grid-template-columns: repeat(2, 1fr); border: 2px solid var(--ink); border-radius: 1rem; overflow: hidden; }
.work-meta div { padding: 0.7rem 0.85rem; border-bottom: 1.5px solid var(--ink); }
.work-meta div:nth-child(odd) { border-right: 1.5px solid var(--ink); }
.work-meta div:nth-last-child(-n + 2) { border-bottom: 0; }
.work-meta dt { font-family: var(--mono); font-size: 0.55rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.work-meta dd { margin-top: 0.2rem; font-weight: 800; font-size: 0.85rem; }
.work-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: auto; padding-top: 0.4rem; }

.pack-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .pack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pack-grid { grid-template-columns: repeat(5, 1fr); } }
.pack {
  display: flex; flex-direction: column; gap: 0.5rem;
  border: 2px solid var(--ink); border-radius: 1.3rem; background: #fff; padding: 1.3rem;
}
.pack strong { font-size: 2.6rem; letter-spacing: -0.06em; line-height: 1; }
.pack .label { color: var(--muted); font-size: 0.56rem; }
.pack h4 { font-size: 1.1rem; letter-spacing: -0.02em; margin-top: 0.4rem; }
.pack p { color: var(--muted); font-size: 0.84rem; font-weight: 600; line-height: 1.55; }
.pack:nth-child(1) strong { color: var(--blue); }
.pack:nth-child(2) strong { color: var(--coral); }
.pack:nth-child(3) strong { color: var(--purple); }
.pack:nth-child(4) strong { color: #2f9e4b; }
.pack.is-bundle { background: var(--yellow); }

.why-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why {
  border: 2px solid var(--ink); border-radius: 1.3rem; background: var(--cream); padding: 1.3rem;
}
.why .label { color: var(--coral); }
.why h4 { margin-top: 0.6rem; font-size: 1.2rem; letter-spacing: -0.02em; }
.why p { margin-top: 0.5rem; color: var(--muted); font-size: 0.88rem; font-weight: 600; line-height: 1.6; }

/* ---------- Contact ---------- */

.contact-band {
  position: relative; overflow: hidden;
  background: var(--purple); color: #fff;
  border-block: 3px solid var(--ink);
  padding: clamp(6rem, 12vw, 10rem) 0;
  text-align: center;
}
.contact-band .label { color: var(--yellow); }
.contact-band h2 { margin: 1.2rem auto 0; max-width: 12ch; font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.92; letter-spacing: -0.065em; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 2.4rem;
  background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px; box-shadow: 7px 8px 0 var(--ink);
  padding: 1rem 1.6rem;
  font-family: var(--display); font-weight: 900; font-size: clamp(1.1rem, 3.4vw, 2rem); letter-spacing: -0.03em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  word-break: break-all;
}
.contact-mail:hover { transform: translate(3px, 3px); box-shadow: 4px 5px 0 var(--ink); }
.contact-band p { margin: 1.8rem auto 0; max-width: 40ch; font-weight: 600; line-height: 1.7; opacity: 0.86; }
.contact-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.contact-socials a {
  border: 2px solid #fff; border-radius: 999px; padding: 0.5rem 1rem;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 800;
}
.contact-socials a:hover { background: #fff; color: var(--purple); }
.contact-band .confetti i { opacity: 0.9; }

.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.contact-aside { display: grid; gap: 1rem; }
.contact-tile {
  border: 2px solid var(--ink); border-radius: 1.4rem; background: #fff; padding: 1.4rem;
  box-shadow: 5px 6px 0 var(--ink);
}
.contact-tile .label { color: var(--muted); }
.contact-tile a.big { display: block; margin-top: 0.5rem; font-family: var(--display); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em; word-break: break-all; }
.contact-tile a.big:hover { color: var(--coral); }
.contact-tile p { margin-top: 0.5rem; color: var(--muted); font-size: 0.88rem; font-weight: 600; line-height: 1.6; }
.contact-tile.is-yellow { background: var(--yellow); }
.contact-tile ul { list-style: none; display: grid; gap: 0.5rem; margin-top: 0.8rem; }
.contact-tile li { display: flex; gap: 0.6rem; font-size: 0.9rem; font-weight: 700; }
.contact-tile li::before { content: '✦'; color: var(--coral); }

.contact-form {
  background: var(--cream); border: 3px solid var(--ink); border-radius: 1.8rem;
  box-shadow: 9px 10px 0 var(--ink);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  display: grid; gap: 1.1rem;
}
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--mono); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  font: 600 0.95rem var(--sans);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 3px 4px 0 var(--purple); outline: none; border-color: var(--purple); }
.type-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.type-pills label {
  position: relative; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  padding: 0.5rem 0.9rem; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0; text-transform: none;
}
.type-pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-pills label:has(input:checked) { background: var(--yellow); box-shadow: 2px 3px 0 var(--ink); }
.type-pills label:has(input:focus-visible) { outline: 3px solid var(--purple); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--muted); font-weight: 600; max-width: 40ch; line-height: 1.55; }
.form-status { min-height: 1.2em; font-weight: 800; font-size: 0.85rem; color: var(--purple); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0.8rem; max-width: 900px; }
.faq details { border: 2px solid var(--ink); border-radius: 1.2rem; background: #fff; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--display); font-weight: 900; font-size: 1.1rem; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; transition: transform 0.2s var(--ease); }
.faq details[open] summary { background: var(--yellow); border-bottom: 2px solid var(--ink); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 1.1rem 1.3rem 1.3rem; color: var(--muted); font-weight: 600; line-height: 1.7; }

/* ---------- Values (studio page) ---------- */

.value-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.value-row {
  display: grid; gap: 0.6rem 2rem; padding: 1.8rem 0; border-bottom: 2px solid var(--ink);
}
@media (min-width: 900px) { .value-row { grid-template-columns: 5rem 1fr 1.2fr; align-items: baseline; } }
.value-row .label { color: var(--coral); }
.value-row h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.045em; line-height: 1; }
.value-row p { color: var(--muted); font-weight: 600; line-height: 1.7; }

.stack-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.stack-grid span {
  border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  padding: 0.6rem 1rem; font-family: var(--display); font-weight: 900; font-size: 0.9rem;
}
.stack-grid span:nth-child(5n + 1) { background: var(--yellow); }
.stack-grid span:nth-child(5n + 2) { background: var(--sky); }
.stack-grid span:nth-child(5n + 3) { background: #fff; }
.stack-grid span:nth-child(5n + 4) { background: #c8f0cf; }
.stack-grid span:nth-child(5n + 5) { background: #ffd2c9; }

/* ---------- Footer ---------- */

.studio-footer { background: var(--ink); color: #fff; padding: 4rem 0 2rem; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1.5px solid rgba(255, 255, 255, 0.15); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { margin-top: 1rem; max-width: 34ch; color: rgba(255, 255, 255, 0.6); font-weight: 600; line-height: 1.6; font-size: 0.9rem; }
.footer-col .label { color: var(--yellow); }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; margin-top: 1rem; }
.footer-col a { font-weight: 700; font-size: 0.92rem; opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: var(--yellow); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.6rem; font-family: var(--mono); font-size: 0.66rem; color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover { color: #fff; }
.footer-wordmark {
  margin-top: 2.5rem;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(4rem, 17vw, 15rem); line-height: 0.8; letter-spacing: -0.07em;
  color: var(--paper);
  white-space: nowrap; overflow: hidden;
}
.footer-wordmark em { color: var(--coral); }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product-card, .cap-card, .site-card { transition: none; }
}

/* rotated cards keep their tilt once revealed */
.approach-card.reveal.is-visible:nth-child(1) { transform: rotate(-1deg); }
.approach-card.reveal.is-visible:nth-child(3) { transform: rotate(1deg); }

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  .hero { padding-top: 7rem; }
  .playground-card { box-shadow: 7px 8px 0 var(--ink); border-radius: 1.5rem; }
  .mini { min-height: 170px; }
  .product-card { box-shadow: 6px 7px 0 var(--ink); border-radius: 1.5rem; }
  .product-visual { min-height: 320px; }
  .float-spark { font-size: 2.4rem; }
  .btn { min-height: 3.3rem; }
}
