/* ==========================================================================
   Onsite: styles
   Mobile-first. Tokens, then the shared parts (type, buttons, header, footer,
   sections, cards, rows, panels, steps, questions, the closing block), then
   each page in menu order, then the Styles page's lab, then motion.
   ========================================================================== */

:root {
  --bg: #f5f4f0;
  --paper: #fbfaf7;
  --ink: #0f0f0e;
  --ink-2: #45433e;
  --ink-3: #6b675f;
  --line: #e2dfd7;
  --line-2: #d3cfc5;
  --red: #e2442a;
  --red-deep: #c8341c;
  --blue: #2547e8;
  --sand: #e9dfcf;
  --dark: #241b14;
  --on-dark: #f7f2ea;
  --on-dark-2: #c9bfb2;
  --green: #2f9e5b;

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Four heading sizes. Everything else is body (16px), small (14px) or the 12px label. */
  --h1: clamp(3rem, 8vw, 7rem);
  --h2: clamp(2rem, 4vw, 3.5rem);
  --h3: clamp(1.25rem, 1.8vw, 1.5rem);

  /* One spacing rhythm */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --section: clamp(72px, 9vw, 128px);
  --text: 62ch;
  --intro: 44ch;

  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1440px;
  --header-h: 64px;
  --radius: 14px;
  /* Eases out with no overshoot */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
/* Sections that only take focus so keyboard users continue from an in-page link's target. */
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--ink); color: var(--bg); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Two faint lines that mark the edges of the content */
.guides {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.guides::before {
  content: ""; position: absolute; inset: 0 var(--gutter);
  border-inline: 1px solid var(--line);
  opacity: 0.7;
}

/* ---------- Type ---------- */
.h1 { font-size: var(--h1); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; text-wrap: balance; }
.h2 { font-size: var(--h2); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.h3 { font-size: var(--h3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.eyebrow,
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.small { font-size: 14px; }
.muted { color: var(--ink-3); }

/* The one text link */
.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: var(--red); }

/* The one list marker: a short dash */
.list li { position: relative; padding-left: 20px; }
.list li + li { margin-top: var(--s1); }
.list li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 9px; height: 1.5px; background: currentColor; opacity: 0.55; }

/* Static tags */
.tags { display: flex; flex-wrap: wrap; gap: var(--s1); }
.tags li,
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  font-size: 14px; line-height: 1.5;
}

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { width: 14px; height: 14px; transition: translate 0.3s var(--ease); }
.btn:hover svg { translate: 2px -2px; }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #2b2a27; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.btn:disabled { opacity: 0.55; cursor: default; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { display: block; width: 36px; height: 36px; flex: none; }
.logo__mark svg { display: block; width: 100%; height: 100%; }
.logo__text { display: grid; }
.logo__word { font-weight: 800; font-size: 19px; letter-spacing: -0.035em; line-height: 1.1; }
.logo__tag { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.2; color: var(--ink-2); }
.logo--foot .logo__mark { width: 44px; height: 44px; }
.logo--foot .logo__word { font-size: 22px; }

/* ---------- Header ---------- */
#site-header { display: contents; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); height: var(--header-h); }
.nav__links { display: none; }
.nav__links a {
  font-size: 15px; font-weight: 500; padding: 8px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { background-size: 100% 1px; }
.nav__cta { display: none; }

/* "Menu" and "Close" share one cell, so the button never changes size. */
.menu-btn { display: inline-grid; }
.menu-btn > span { grid-area: 1 / 1; }
.menu-btn [data-v="close"],
.menu-btn[aria-expanded="true"] [data-v="menu"] { visibility: hidden; }
.menu-btn[aria-expanded="true"] [data-v="close"] { visibility: visible; }

@media (min-width: 960px) {
  .nav__links { display: flex; gap: clamp(20px, 2.6vw, 36px); margin-left: auto; }
  .nav__cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Phone menu: its height eases open under the header. */
.menu {
  position: fixed; z-index: 49; left: 0; right: 0; top: var(--header-h);
  display: grid; grid-template-rows: 0fr;
  background: var(--bg);
  visibility: hidden;
  transition: grid-template-rows 0.2s var(--ease), visibility 0s 0.2s;
}
.menu.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.5s var(--ease), visibility 0s; }
.menu__inner { min-height: 0; overflow: hidden; }
.menu__body {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4);
  height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: var(--s2) var(--gutter) var(--s4);
}
.menu__links a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: var(--h2); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
}
.menu__links a[aria-current="page"] { color: var(--red-deep); }
.menu__body .btn { width: 100%; }
body.menu-open { overflow: hidden; }
@media (min-width: 960px) { .menu { display: none; } }

/* ---------- Sections ---------- */
/* Every section uses the same padding. Two sections in a row on the same background share one gap. */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.band { padding-block: var(--section); }
.band--dark { background: var(--dark); color: var(--on-dark); }
.band--blue { background: var(--blue); color: #fff; }

.shead { margin-bottom: var(--s4); }
.shead__intro { margin-top: var(--s2); max-width: var(--intro); color: var(--ink-2); }
.band--dark .shead__intro { color: var(--on-dark-2); }
.band--blue .shead__intro { color: rgba(255, 255, 255, 0.82); }
.more { margin-top: var(--s4); }

/* Page head: one h1, one line, at most two buttons. */
.page-head { padding-top: clamp(40px, 6vw, 88px); }
.page-head__eyebrow { margin-bottom: var(--s2); }
.page-head__line { margin-top: var(--s3); max-width: var(--intro); font-size: var(--h3); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink-2); }
.page-head__line .link { color: var(--ink); }
.page-head__btns { margin-top: var(--s4); }
.page-head + :is(.band, .lab) { margin-top: var(--s5); }

/* ---------- Media card: picture, h3, one line ---------- */
.cards { display: grid; gap: var(--s4) var(--s3); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mcard { display: block; }
.mcard__pic {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: var(--accent, var(--sand));
}
.mcard__shot {
  position: absolute; left: 7%; right: 7%; top: 9%; bottom: 0; overflow: hidden;
  border-radius: 8px 8px 0 0; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 24px 40px -24px rgba(30, 20, 10, 0.55);
  transition: translate 0.5s var(--ease);
}
.mcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.mcard__pic--phone .mcard__shot { left: 50%; right: auto; width: 34%; translate: -50% 0; border: 6px solid #121212; border-bottom: 0; border-radius: 22px 22px 0 0; }
.mcard:hover .mcard__shot { translate: 0 -6px; }
.mcard__pic--phone .mcard__shot,
.mcard:hover .mcard__pic--phone .mcard__shot { translate: -50% 0; }
.mcard:hover .mcard__pic--phone .mcard__shot { translate: -50% -6px; }
.mcard__title { margin-top: var(--s2); }
.mcard__line { margin-top: 4px; color: var(--ink-3); }
.band--dark .mcard__line { color: var(--on-dark-2); }

/* ---------- Row: hairline, h3 and a line ---------- */
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; gap: var(--s1) var(--s3); padding-block: var(--s3); border-top: 1px solid var(--line); }
.row__body { min-width: 0; max-width: var(--text); color: var(--ink-2); }
.row__body > * + * { margin-top: var(--s2); }
.row__body .link,
.row__body .list { color: var(--ink); }
@media (min-width: 900px) {
  .row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding-block: 28px; }
}

/* ---------- Panel ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 32px); }

/* ---------- Steps: the only numbered part ---------- */
.steps { display: grid; gap: var(--s2); }
.step__n { display: block; margin-bottom: var(--s3); }
.step p { margin-top: var(--s1); color: var(--ink-2); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- Questions: each answer's height eases open ---------- */
.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: var(--h3); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon::before,
.faq__icon::after { content: ""; position: absolute; left: 0; top: 7.25px; width: 16px; height: 1.5px; background: currentColor; transition: rotate 0.5s var(--ease); }
.faq__icon::after { rotate: 90deg; }
.faq__item.is-open .faq__icon::after { rotate: 0deg; }
.faq__a { overflow: hidden; }
.faq__a p { max-width: var(--text); padding-bottom: var(--s3); color: var(--ink-2); }

/* ---------- Closing block ---------- */
.cta__box {
  display: grid; gap: var(--s3);
  padding: clamp(24px, 4vw, 56px); border-radius: var(--radius); background: var(--sand);
}
.cta__line { margin-top: var(--s2); max-width: var(--intro); color: var(--ink-2); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
@media (min-width: 900px) {
  .cta__box { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s5); }
}
.next { margin-bottom: var(--s5); border-block: 1px solid var(--line); }
.next__link { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-block: var(--s3); }
.next__link span { color: var(--ink-3); }
.next__link b { font-weight: 600; margin-right: auto; }
.next__link svg { width: 20px; height: 20px; flex: none; transition: translate 0.3s var(--ease); }
.next__link:hover svg { translate: 4px 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s5) var(--s4); }
.footer__top { display: grid; gap: var(--s4); }
.footer__col .eyebrow { margin-bottom: var(--s2); }
.footer__col li + li { margin-top: var(--s1); }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3);
  margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-3);
}
.footer__bottom a:hover { color: var(--ink); }
@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__top.has-find { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Phone quick bar ---------- */
.quickbar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr auto; gap: var(--s1); padding: 6px;
  border-radius: 999px; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--line), 0 16px 30px -16px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; translate: 0 12px;
  transition: opacity 0.2s var(--ease), translate 0.2s var(--ease), visibility 0s 0.2s;
}
.quickbar.is-on { opacity: 1; visibility: visible; translate: none; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease), visibility 0s; }
.quickbar .btn { min-height: 44px; }
body.has-quickbar { scroll-padding-bottom: 88px; }
@media (min-width: 760px) { .quickbar { display: none; } }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { padding-block: clamp(40px, 6vw, 88px) var(--s5); overflow-x: clip; }
.hero__grid { display: grid; gap: var(--s4); align-items: center; }
.hero__title { font-size: var(--h1); font-weight: 800; letter-spacing: -0.055em; line-height: 0.95; }
.hero__tag { margin-top: var(--s1); font-family: var(--serif); font-style: italic; font-size: var(--h3); line-height: 1.2; color: var(--ink-2); }
.hero__intro { margin-top: var(--s3); max-width: var(--intro); font-size: var(--h3); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink-2); }
.hero__text .btns { margin-top: var(--s4); }
.ltr { display: inline-block; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s5); }
}

/* The stack of product screens, standing still */
.iso { position: relative; width: 84%; max-width: 460px; aspect-ratio: 1.2; margin-inline: auto; }
@media (min-width: 900px) { .iso { width: 100%; } }
.iso__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(-42deg); }
.iso__layer {
  position: absolute; left: 14%; top: 14%; width: 72%; aspect-ratio: 16 / 10;
  border-radius: 8px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), -14px 18px 26px -6px rgba(40, 25, 10, 0.28);
  transform: translateZ(calc(var(--i) * 30px));
}
.iso__layer img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.iso__base {
  position: absolute; left: 6%; top: 6%; width: 88%; aspect-ratio: 16 / 11; border-radius: 14px;
  background: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), -20px 26px 40px -10px rgba(40, 25, 10, 0.25);
}

/* The work band: one row that glides sideways. Its heading changes from clients to our own products. */
.swap { display: grid; }
.swap > span { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), visibility 0s 0.2s; }
.swap > span.is-on { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease) 0.2s, visibility 0s 0.2s; }
.reel__track {
  display: flex; gap: var(--s3);
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.reel__track.is-drag a { pointer-events: none; }
.reel__item { flex: none; width: min(84vw, 460px); scroll-snap-align: start; }
@media (min-width: 760px) { .reel__item { width: calc((min(100vw, var(--max)) - 2 * var(--gutter) - var(--s3)) / 2.25); } }
@media (min-width: 1100px) { .reel__item { width: calc((min(100vw, var(--max)) - 2 * var(--gutter) - 2 * var(--s3)) / 3); } }
.reel__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s4); }
.reel__nav { display: flex; gap: var(--s1); }
.reel__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--on-dark) 45%, transparent); background: transparent; color: var(--on-dark);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.reel__btn svg { width: 16px; height: 16px; }
.reel__btn:hover:not(:disabled) { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.reel__btn:disabled { opacity: 0.35; cursor: default; }
.band--dark :focus-visible { outline-color: var(--on-dark); }

/* ==========================================================================
   Project pages
   ========================================================================== */
.back { display: inline-flex; align-items: center; gap: var(--s1); margin-bottom: var(--s4); font-size: 14px; font-weight: 600; }
.back svg { width: 14px; height: 14px; transition: translate 0.3s var(--ease); }
.back:hover svg { translate: -3px 0; }
.project-head .page-head__more { margin-top: var(--s2); max-width: var(--text); color: var(--ink-2); }
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3);
  max-width: 960px; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line);
}
.facts dd { margin-top: 4px; font-weight: 500; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* The cover: the page's one coloured band */
.cover { padding-block: var(--s5) 0; overflow: hidden; background: var(--accent, var(--sand)); }
.cover__frame { max-width: 1120px; margin-inline: auto; }
.cover .browser { border-radius: 10px 10px 0 0; }
.cover--phone .cover__frame { display: flex; justify-content: center; height: clamp(320px, 42vw, 560px); overflow: hidden; }
.cover--phone .phone { width: min(300px, 66%); height: max-content; border-radius: 18% / 8.5%; }

.browser {
  overflow: hidden; border-radius: 10px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 30px 50px -28px rgba(50, 30, 10, 0.5);
}
.browser__bar { display: flex; align-items: center; gap: 5px; height: 20px; padding: 0 10px; background: #f3f1ec; border-bottom: 1px solid #e6e2da; }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d9d4ca; }
.browser__bar i:first-child { background: var(--red); }
.browser img { width: 100%; }
.phone {
  padding: 4.5%; border-radius: 16% / 7.5%; background: #121212;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 30px 40px -20px rgba(20, 10, 0, 0.5);
}
.phone img { width: 100%; border-radius: 12% / 5.6%; }

/* "What it does" */
.row__body .list { margin-top: var(--s2); }

/* "Screens": a phone beside a wide screen, then wide screens in pairs */
.shots { display: grid; gap: var(--s4) var(--s3); }
.shot { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.shot figcaption { font-size: 14px; color: var(--ink-3); }
.shot__frame {
  flex: 1; display: grid; place-items: center; padding: var(--s4) var(--s3);
  border-radius: var(--radius); background: color-mix(in srgb, var(--accent, var(--sand)) 24%, var(--paper));
}
.shot__frame .phone { width: min(220px, 62%); }
.shot__art img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
@media (min-width: 760px) {
  .shots { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .shot--4 { grid-column: span 4; }
  .shot--6 { grid-column: span 6; }
  .shot--8 { grid-column: span 8; }
  .shot--12 { grid-column: span 12; }
}
@media (max-width: 759px) { .shot--more { display: none; } }

/* ==========================================================================
   Services
   ========================================================================== */
.chat {
  max-width: 420px; margin-top: var(--s3); padding: var(--s2);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); font-weight: 700; }
.chat__head b { display: block; font-size: 14px; }
.chat__head span { font-size: 12px; color: var(--ink-3); }
.chat__log { display: grid; gap: var(--s1); }
.msg { max-width: 86%; padding: 8px 12px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.msg--them { justify-self: end; border-bottom-right-radius: 4px; background: var(--ink); color: var(--bg); }
.msg--ai { justify-self: start; border-bottom-left-radius: 4px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.chat figcaption { margin-top: 12px; font-size: 12px; color: var(--ink-3); }

/* ==========================================================================
   Brand scaling
   ========================================================================== */
.gets { display: grid; gap: var(--s4); }
.gets__note { margin-top: var(--s3); color: var(--ink-2); }
@media (min-width: 900px) { .gets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: start; } }
.report { display: grid; gap: var(--s3); }
.report__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s1); }
.report__head b { font-weight: 600; }
.report__kpi { display: grid; gap: 4px; }
.report__num { font-size: var(--h2); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.report__bars { display: flex; align-items: flex-end; gap: var(--s1); height: 120px; padding-bottom: 1px; border-bottom: 1px solid var(--line); }
.report__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--blue) 70%, var(--paper)); }
.report__bars i:last-child { background: var(--blue); }
.report__rows p { display: grid; gap: 2px; padding-block: 12px; border-top: 1px solid var(--line); }
.report__rows p:first-child { border-top: 0; padding-top: 0; }
.report__rows span { font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.report figcaption { font-size: 14px; color: var(--ink-3); }

.chans { display: grid; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.chan { padding-block: var(--s3); border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.chan p { margin-top: var(--s1); max-width: var(--intro); color: rgba(255, 255, 255, 0.82); }
@media (min-width: 760px) {
  .chans { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); }
}
@media (min-width: 1100px) {
  .chans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.band--blue :focus-visible { outline-color: #fff; }

/* ==========================================================================
   About
   ========================================================================== */
.bio { margin-top: var(--s4); max-width: var(--text); }
.bio p { color: var(--ink-2); }
.bio p + p { margin-top: var(--s2); }
.about-head.has-photo { display: grid; gap: var(--s4); }
.about-photo img { width: 100%; border-radius: var(--radius); }
@media (min-width: 900px) {
  .about-head.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); align-items: start; gap: var(--s5); }
}
.xp__role { padding-bottom: var(--s3); }
.xp__role p:first-child { font-size: var(--h3); font-weight: 600; letter-spacing: -0.02em; }
.xp__role p + p { margin-top: var(--s1); color: var(--ink-2); }
.xp__groups { display: grid; gap: var(--s4); margin-top: var(--s3); }
@media (min-width: 900px) { .xp__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); } }
.xp__group h3 { margin-bottom: var(--s2); }
.xp__group ul { border-bottom: 1px solid var(--line); }
.xp__item { display: grid; gap: 2px; padding-block: var(--s2); border-top: 1px solid var(--line); }
.xp__item b { font-weight: 600; }
.xp__item span { color: var(--ink-3); }
.xp__item:hover b { text-decoration: underline; text-underline-offset: 0.25em; }
.xp__past { margin-top: var(--s5); }

/* ==========================================================================
   Contact: the planner
   ========================================================================== */
/* The shared choice chip (planner and Styles page) */
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chip {
  --chip-line: var(--line-2); --chip-on: var(--ink); --chip-on-ink: var(--bg);
  position: relative; flex: none; display: inline-flex; align-items: center; gap: var(--s1);
  min-height: 40px; padding: 6px 16px; border-radius: 999px;
  border: 1.5px solid var(--chip-line); background: transparent; color: inherit;
  font-size: 14px; font-weight: 500; line-height: 1.3; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: currentColor; }
.chip:has(i) { padding-left: 7px; }
.chip i {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%);
  box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent);
}
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip[aria-pressed="true"],
.chip:has(input:checked) { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }

/* One row that glides sideways */
.chips--row {
  position: relative; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  scroll-snap-type: x proximity;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
  scroll-padding-inline: var(--gutter);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 40px), transparent);
}
.chips--row::-webkit-scrollbar { display: none; }
.chips--row > * { scroll-snap-align: start; }

.planner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
.planner__steps { min-width: 0; }
@media (min-width: 1000px) {
  .planner { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: var(--s5); align-items: start; }
  .chips--row { margin-inline: 0; padding-inline: 0 40px; scroll-padding-inline: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
}
.pstep { min-width: 0; margin: 0; padding: 0; border: 0; }
.pstep + .pstep { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
/* A floated legend sits inside its fieldset like any heading, instead of on the border. */
.pstep legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: var(--s2); font-size: var(--h3); font-weight: 600; letter-spacing: -0.02em; }
.pstep legend + * { clear: both; }
.pstep__n {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0;
}
.pstep__hint { margin: calc(var(--s1) * -1) 0 var(--s2); font-size: 14px; color: var(--ink-3); }
.pstep__sub { margin: var(--s3) 0 12px; }
.pstep .link { font-size: 14px; }
.pstep__more { margin-top: 12px; }
.fields { display: grid; gap: var(--s2); }
@media (min-width: 760px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--wide { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: var(--s1); font-size: 14px; font-weight: 600; }
.field input,
.field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink);
  font: inherit; font-size: 16px;
  transition: border-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus-visible,
.field textarea:focus-visible { border-color: var(--ink); outline-offset: 2px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); opacity: 1; }

/* The brief keeps one height; its text scrolls inside it. */
.brief__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1); margin-bottom: var(--s2); }
.brief__text {
  height: 232px; overflow-y: auto; overscroll-behavior: contain;
  padding: var(--s2); border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  font-family: var(--mono); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere;
}
.brief__send { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s2); }
.brief__status { min-height: 3em; margin-top: 12px; font-size: 14px; }
.brief__status.is-error { color: var(--red-deep); }
.brief__note { font-size: 14px; color: var(--ink-3); }
@media (max-width: 999px) { .brief__live { display: none; } }
@media (min-width: 1000px) { .brief { position: sticky; top: calc(var(--header-h) + var(--s3)); } }

/* ==========================================================================
   Styles page: one made-up coffee shop, every style
   Each .lab[data-lab] block below sets the section colours (--sec-*), the mock site (--m-*)
   and the style name (--w-*). Minimal is the default.
   ========================================================================== */
.lab {
  --sec-bg: #ecebe6; --sec-ink: #111; --sec-mix: 74%;
  --sec-muted: color-mix(in srgb, var(--sec-ink) var(--sec-mix), var(--sec-bg));
  --sec-line: color-mix(in srgb, var(--sec-ink) 24%, transparent);
  --m-bg: #fff; --m-bg2: #f3f3f0; --m-ink: #111; --m-muted: #6b6b6b; --m-accent: #111; --m-btn-ink: #fff;
  --m-font: var(--font); --m-title-font: var(--font); --m-title-weight: 500; --m-title-style: normal;
  --m-title-size: 7.4cqi; --m-track: -0.045em; --m-case: none; --m-lh: 0.95;
  --m-radius: 8px; --m-btn-radius: 999px; --m-border: 1px solid #e4e4e0; --m-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.3);
  --m-a1: #ececea; --m-a2: #dadad6; --m-a3: #111;
  position: relative; overflow: hidden;
  padding-block: var(--section);
  background: var(--sec-bg); color: var(--sec-ink);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.lab :focus-visible { outline-color: currentColor; }
.lab .chip { --chip-line: var(--sec-line); --chip-on: var(--sec-ink); --chip-on-ink: var(--sec-bg); }

.lab__grid { display: grid; gap: var(--s3); grid-template-areas: "stage" "pick" "panel"; }
.lab__stage { grid-area: stage; container-type: inline-size; min-width: 0; }
.lab__pick { grid-area: pick; min-width: 0; }
.lab__pick h2 { margin-bottom: var(--s2); }
.lab__chips { position: relative; display: flex; gap: var(--s1); }
.lab__panel { grid-area: panel; display: grid; gap: var(--s2); align-content: start; min-width: 0; }
@media (max-width: 899px) {
  .lab__chips {
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 40px), transparent);
  }
  .lab__chips::-webkit-scrollbar { display: none; }
  .lab__chips .chip { scroll-snap-align: start; }
}
@media (min-width: 900px) {
  .lab__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    grid-template-areas: "stage pick" "stage panel";
    grid-template-rows: auto 1fr;
    gap: var(--s4) var(--s5); align-items: start;
  }
  .lab__stage { position: sticky; top: calc(var(--header-h) + var(--s3)); }
  .lab__chips { flex-wrap: wrap; }
}

.lab__name {
  font-family: var(--m-title-font); font-weight: var(--m-title-weight); font-style: var(--m-title-style);
  letter-spacing: var(--w-track, -0.02em); color: var(--w-color, inherit); text-shadow: var(--w-shadow, none);
  font-size: calc(clamp(2.4rem, 4.4vw, 4rem) * var(--w-scale, 1));
  height: calc(clamp(2.4rem, 4.4vw, 4rem) * 1.15); line-height: calc(clamp(2.4rem, 4.4vw, 4rem) * 1.15); white-space: nowrap;
}
.lab__note { max-width: var(--intro); color: var(--sec-muted); }
.lab__specs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--s3); }
.lab__swatches { display: flex; padding-right: 6px; }
.lab__swatches li { width: 30px; height: 30px; margin-right: -6px; border-radius: 50%; background: var(--m-bg); box-shadow: 0 0 0 2px var(--sec-bg); }
.lab__swatches li:nth-child(2) { background: var(--m-ink); }
.lab__swatches li:nth-child(3) { background: var(--m-a1); }
.lab__swatches li:nth-child(4) { background: var(--m-a2); }
.lab__font { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sec-muted); white-space: nowrap; }
.lab__field { margin-top: var(--s1); }
.lab__field label { display: block; margin-bottom: var(--s1); font-size: 14px; font-weight: 600; }
.lab__field input {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--sec-line); background: color-mix(in srgb, var(--sec-ink) 6%, transparent);
  color: inherit; font: inherit; font-size: 16px;
}
.lab__field input::placeholder { color: var(--sec-muted); opacity: 1; }
.lab__field input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.lab .btn--dark { background: var(--sec-ink); color: var(--sec-bg); }
.lab .btn--dark:hover { background: color-mix(in srgb, var(--sec-ink) 86%, var(--sec-bg)); }
.lab .btn--line { border-color: currentColor; color: inherit; }
.lab .btn--line:hover { background: var(--sec-ink); color: var(--sec-bg); }
.lab__meta { display: flex; align-items: center; gap: 12px; margin-top: var(--s1); }
.lab__meta:has(.lab__play[hidden]) { display: none; }
.lab:not(.is-auto) .lab__progress { visibility: hidden; }
.lab__progress { position: relative; flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: var(--sec-line); }
.lab__progress i { position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; }
.lab.is-auto .lab__progress i { animation: labProg 3.2s linear forwards paused; }
.lab.is-auto.is-live:not(.is-hover):not(.is-typing):not(.is-out) .lab__progress i { animation-play-state: running; }
@keyframes labProg { to { transform: scaleX(1); } }
.lab__play {
  min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--sec-line); background: transparent;
  font-size: 14px; font-weight: 500;
}
.lab__play:hover { border-color: currentColor; }

/* A style swap crossfades: 0.2s out, 0.5s in. */
.lab__fade { transition: opacity 0.5s var(--ease); }
.lab.is-out .lab__fade { opacity: 0; transition-duration: 0.2s; }

/* Reserve the room of the longest name, note and font, so nothing below moves. */
.sized { display: grid; }
.sized > * { grid-area: 1 / 1; margin: 0; }
.sized > .sizer { visibility: hidden; }

/* The mock website. Sizes use cqi, a percentage of the mock's width. */
.mock {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1 / 0.9;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "nav nav" "hero art" "row row"; gap: 3cqi 4cqi;
  padding: 4cqi 5cqi 5cqi;
  background: var(--m-bg); color: var(--m-ink); font-family: var(--m-font); font-size: 2.3cqi; line-height: 1.35;
  border: var(--m-border); border-radius: var(--m-radius); box-shadow: var(--m-shadow);
}
.mock > * { min-width: 0; }
.mock__nav { grid-area: nav; position: relative; z-index: 2; display: flex; align-items: center; gap: 3cqi; padding-bottom: 2cqi; border-bottom: var(--m-rule, 1px solid transparent); }
.mock__logo {
  margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--m-logo-font, var(--m-title-font)); font-weight: var(--m-logo-weight, 700); font-style: var(--m-title-style);
  font-size: 1.5em; line-height: 1.2; letter-spacing: var(--m-track); text-transform: var(--m-case);
}
.mock__links { display: flex; gap: 2.6cqi; color: var(--m-muted); text-transform: var(--m-case); white-space: nowrap; }
.mock__links i { font-style: normal; }
.mock__bag { padding: 0.6cqi 1.8cqi; border: 1px solid currentColor; border-radius: var(--m-btn-radius); text-transform: var(--m-case); white-space: nowrap; }
.mock__hero { grid-area: hero; align-self: center; position: relative; z-index: 2; }
.mock__kicker { margin-bottom: 2cqi; font-size: 0.86em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-muted); }
.mock__title {
  margin-bottom: 2.4cqi; font-family: var(--m-title-font); font-weight: var(--m-title-weight); font-style: var(--m-title-style);
  font-size: var(--m-title-size); line-height: var(--m-lh); letter-spacing: var(--m-track); text-transform: var(--m-case);
  word-spacing: var(--m-word, 0em); text-shadow: var(--m-glow, none); text-wrap: balance;
}
.mock__title .w { display: inline-block; white-space: nowrap; }
.mock__sub { max-width: 44cqi; margin-bottom: 3cqi; color: var(--m-muted); }
.mock__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6cqi 2.6cqi; }
.mock__btn {
  padding: 1.5cqi 3.4cqi; border-radius: var(--m-btn-radius); border: var(--m-btn-border, 0);
  background: var(--m-accent); color: var(--m-btn-ink); box-shadow: var(--m-btn-shadow, none);
  font-weight: 600; text-transform: var(--m-case); white-space: nowrap;
}
.mock__more { text-decoration: underline; text-underline-offset: 0.35em; text-transform: var(--m-case); white-space: nowrap; }
.mock__art { grid-area: art; position: relative; z-index: 1; align-self: center; width: 100%; aspect-ratio: 1; }
.mock__art span { position: absolute; }
.mock__art .a1 { inset: 0 18% 18% 0; background: var(--m-a1); border-radius: var(--m-radius); }
.mock__art .a2 { right: 0; bottom: 0; width: 55%; aspect-ratio: 1; background: var(--m-a2); border-radius: 50%; }
.mock__art .a3 { left: 14%; top: 14%; width: 22%; aspect-ratio: 1; background: var(--m-a3); border-radius: 50%; }
.mock__row { grid-area: row; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4cqi; }
.mock__card {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.4cqi;
  padding: var(--m-card-pad, 1.3cqi); font-size: 0.88em;
  background: var(--m-bg2); border: var(--m-card-border, 0); border-radius: calc(var(--m-radius) * 0.7); box-shadow: var(--m-card-shadow, none);
}
.mock__card i { position: relative; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 0.8cqi; border-radius: calc(var(--m-radius) * 0.5); background: var(--m-a1); }
.mock__card:nth-child(2) i { background: var(--m-a2); }
.mock__card:nth-child(3) i { background: var(--m-ink); }
.mock__card i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--m-bg); translate: -50% -50%; opacity: 0.9; }
.mock__card b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mock__sticker {
  position: absolute; z-index: 3; right: 5cqi; top: 12cqi;
  display: grid; place-items: center; width: 12.5cqi; aspect-ratio: 1; padding: 1cqi; border-radius: 50%;
  background: var(--m-accent); color: var(--m-btn-ink);
  font-family: var(--m-title-font); font-weight: var(--m-title-weight); font-size: 1.85cqi; line-height: 1.05;
  text-align: center; text-transform: uppercase; rotate: -12deg;
}
.mock__fx { position: absolute; inset: 0; z-index: var(--m-fx-z, 0); pointer-events: none; background: var(--m-fx, none); opacity: var(--m-fx-o, 1); mix-blend-mode: var(--m-fx-blend, normal); }
@keyframes blink { 50% { opacity: 0; } }

/* Layout variants */
.lab:is([data-lab="luxury"], [data-lab="zen"], [data-lab="deco"]) .mock { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nav" "hero" "row"; }
.lab:is([data-lab="luxury"], [data-lab="zen"], [data-lab="deco"]) .mock__hero { justify-self: center; max-width: 70cqi; text-align: center; }
.lab:is([data-lab="luxury"], [data-lab="zen"], [data-lab="deco"]) .mock__sub { margin-inline: auto; }
.lab:is([data-lab="luxury"], [data-lab="zen"], [data-lab="deco"]) .mock__btns { justify-content: center; }
.lab:is([data-lab="luxury"], [data-lab="zen"], [data-lab="deco"]) .mock__art { grid-area: auto; position: absolute; left: 50%; top: 47%; width: 56cqi; translate: -50% -50%; }
.lab:is([data-lab="memphis"], [data-lab="bauhaus"]) .mock { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); grid-template-areas: "nav nav" "art hero" "row row"; }
.lab:is([data-lab="memphis"], [data-lab="bauhaus"]) .mock__sticker { left: 4cqi; right: auto; top: 11cqi; }

/* 02 Editorial */
.lab[data-lab="editorial"] {
  --sec-bg: #e4d9c6; --sec-ink: #1d1a16;
  --m-bg: #f3ede2; --m-bg2: transparent; --m-ink: #1d1a16; --m-muted: #776a5b; --m-accent: #1d1a16; --m-btn-ink: #f3ede2;
  --m-title-font: var(--serif); --m-title-weight: 400; --m-title-style: italic; --m-title-size: 9.2cqi; --m-track: -0.02em; --m-lh: 0.92;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 1px solid #d9cfbf; --m-rule: 1px solid #1d1a16; --m-card-pad: 1.2cqi 0 0;
  --m-a1: #c9b79c; --m-a2: #8c6f4e; --m-a3: #f3ede2;
  --w-scale: 1.12; --w-track: -0.01em;
}
.lab[data-lab="editorial"] .mock__art .a1 { inset: 0 10% 0 10%; border-radius: 999px 999px 0 0; }
.lab[data-lab="editorial"] .mock__art .a2 { right: auto; left: 0; bottom: 4%; width: 34%; }
.lab[data-lab="editorial"] .mock__art .a3 { left: 66%; top: 16%; width: 14%; }
.lab[data-lab="editorial"] .mock__card { border-top: 1px solid #1d1a16; }
.lab[data-lab="editorial"] .mock__sticker { background: #f3ede2; color: #1d1a16; border: 1px solid #1d1a16; font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-size: 2.4cqi; }

/* 03 Bold */
.lab[data-lab="bold"] {
  --sec-bg: #ffd60a; --sec-ink: #0b1a8c;
  --m-bg: #2547e8; --m-bg2: #1c39cf; --m-ink: #fff; --m-muted: #dfe5ff; --m-accent: #ff3b1f; --m-btn-ink: #fff;
  --m-title-font: "Archivo Black", var(--font); --m-title-weight: 400; --m-title-size: 6.6cqi; --m-track: -0.025em; --m-case: uppercase; --m-lh: 0.92;
  --m-radius: 6px; --m-btn-radius: 6px; --m-border: 0; --m-shadow: 0 34px 70px -30px rgba(11, 26, 140, 0.65);
  --m-a1: #ffd60a; --m-a2: #ff3b1f; --m-a3: #fff;
  --w-scale: 0.84; --w-track: -0.03em;
}
.lab[data-lab="bold"] .mock__art .a1 { inset: 4% 14% 20% 4%; rotate: 7deg; }
.lab[data-lab="bold"] .mock__art .a3 { background: none; border: 1.4cqi solid #fff; width: 26%; }
.lab[data-lab="bold"] .mock__sticker { width: 15cqi; border-radius: 0px; clip-path: polygon(50.0% 0.0%, 61.4% 14.8%, 79.4% 9.5%, 79.9% 28.3%, 97.6% 34.5%, 87.0% 50.0%, 97.6% 65.5%, 79.9% 71.7%, 79.4% 90.5%, 61.4% 85.2%, 50.0% 100.0%, 38.6% 85.2%, 20.6% 90.5%, 20.1% 71.7%, 2.4% 65.5%, 13.0% 50.0%, 2.4% 34.5%, 20.1% 28.3%, 20.6% 9.5%, 38.6% 14.8%); background: #ffd60a; color: #0b1a8c; rotate: 14deg; font-size: 2.3cqi; }

/* 04 Playful */
.lab[data-lab="playful"] {
  --sec-bg: #b9f3c8; --sec-ink: #33122a;
  --m-bg: #ffe3ef; --m-bg2: #fff; --m-ink: #33122a; --m-muted: #874c6f; --m-accent: #ff6b3d; --m-btn-ink: #fff;
  --m-font: "Fredoka", ui-rounded, var(--font); --m-title-font: "Fredoka", ui-rounded, var(--font); --m-title-weight: 700; --m-title-size: 8cqi; --m-track: -0.02em;
  --m-radius: 26px; --m-border: 3px solid #33122a; --m-shadow: 8px 8px 0 #33122a;
  --m-card-border: 2px solid #33122a; --m-card-shadow: 4px 4px 0 #33122a; --m-btn-border: 2px solid #33122a; --m-btn-shadow: 3px 3px 0 #33122a;
  --m-a1: #b9f3c8; --m-a2: #ffd60a; --m-a3: #6c8cff;
  --w-scale: 1.02;
}
.lab[data-lab="playful"] .mock__art { rotate: -8deg; }
.lab[data-lab="playful"] .mock__art .a1 { border: 3px solid #33122a; border-radius: 42% 58% 50% 50% / 50% 44% 56% 50%; }
.lab[data-lab="playful"] .mock__art .a2 { border: 3px solid #33122a; }
.lab[data-lab="playful"] .mock__sticker { background: #6c8cff; color: #fff; border: 2px solid #33122a; rotate: 10deg; }

/* 05 Luxury */
.lab[data-lab="luxury"] {
  --sec-bg: #1f1b15; --sec-ink: #efe3c8;
  --m-bg: #0e0d0b; --m-bg2: transparent; --m-ink: #e8d9b8; --m-muted: #a3916f; --m-accent: transparent; --m-btn-ink: #e8d9b8; --m-btn-border: 1px solid #c9a96e;
  --m-title-font: "Cormorant Garamond", var(--serif); --m-title-weight: 500; --m-title-size: 6cqi; --m-track: 0.12em; --m-case: uppercase; --m-lh: 1.08;
  --m-radius: 2px; --m-btn-radius: 0px; --m-border: 1px solid #3a3326; --m-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  --m-card-border: 1px solid #3a3326; --m-rule: 1px solid #3a3326;
  --m-a1: transparent; --m-a2: #c9a96e; --m-a3: #0e0d0b;
  --w-color: #d9bc84; --w-scale: 1.1; --w-track: 0.02em;
}
.lab[data-lab="luxury"] .mock__art .a1 { inset: 0; border-radius: 50%; border: 1px solid #c9a96e; opacity: 0.5; }
.lab[data-lab="luxury"] .mock__art .a2 { left: 50%; top: -1.2cqi; width: 2.4cqi; translate: -50% 0; }
.lab[data-lab="luxury"] .mock__art .a3 { display: none; }
.lab[data-lab="luxury"] .mock__card:first-child i { background: linear-gradient(160deg, #2a241b, #1a1712); }
.lab[data-lab="luxury"] .mock__sticker { top: auto; bottom: 31cqi; right: 6cqi; background: none; color: #c9a96e; border: 1px solid #c9a96e; rotate: 0deg; font-size: 1.7cqi; letter-spacing: 0.12em; }

/* 06 Techwear */
.lab[data-lab="techwear"] {
  --sec-bg: #1c242b; --sec-ink: #dfe7ee;
  --m-bg: #4f6679; --m-bg2: #435869; --m-ink: #eef3f7; --m-muted: #c6d3de; --m-accent: #eef3f7; --m-btn-ink: #23313d;
  --m-font: var(--mono); --m-title-font: "Space Grotesk", var(--font); --m-title-weight: 700; --m-title-size: 7.2cqi; --m-track: -0.04em; --m-case: uppercase; --m-lh: 0.9;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 0; --m-rule: 1px solid rgba(238, 243, 247, 0.35);
  --m-a1: #8fa7ba; --m-a2: #23313d; --m-a3: #eef3f7;
  --m-fx: linear-gradient(rgba(238, 243, 247, 0.07) 1px, transparent 1px) 0 0 / 100% 5cqi, linear-gradient(90deg, rgba(238, 243, 247, 0.07) 1px, transparent 1px) 0 0 / 5cqi 100%;
  --w-scale: 0.98; --w-track: -0.04em;
}
.lab[data-lab="techwear"] :is(.mock__btn, .mock__card, .mock__art .a1) { clip-path: polygon(0 0, calc(100% - 2.4cqi) 0, 100% 2.4cqi, 100% 100%, 2.4cqi 100%, 0 calc(100% - 2.4cqi)); }
.lab[data-lab="techwear"] .mock__art .a2 { width: 40%; border-radius: 0px; }
.lab[data-lab="techwear"] .mock__art .a3 { left: 8%; top: 8%; width: 10%; border-radius: 0px; }
.lab[data-lab="techwear"] .mock__sticker { width: auto; aspect-ratio: auto; padding: 0.8cqi 1.8cqi; border-radius: 0px; rotate: 0deg; background: #f5c400; color: #23313d; font-family: var(--mono); font-weight: 600; font-size: 1.7cqi; letter-spacing: 0.06em; }

/* 07 Brutalist */
.lab[data-lab="brutalist"] {
  --sec-bg: #fff; --sec-ink: #000;
  --m-bg: #ffe600; --m-bg2: #fff; --m-ink: #000; --m-muted: #000; --m-accent: #000; --m-btn-ink: #ffe600;
  --m-font: var(--mono); --m-title-weight: 800; --m-title-size: 7.9cqi; --m-track: -0.065em; --m-word: 0.14em; --m-case: uppercase; --m-lh: 0.86;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 4px solid #000; --m-shadow: 12px 12px 0 #000; --m-rule: 3px solid #000;
  --m-card-border: 3px solid #000; --m-card-shadow: 5px 5px 0 #000;
  --m-a1: #fff; --m-a2: #000; --m-a3: #ff3b1f;
  --w-scale: 1.04; --w-track: -0.06em;
}
.lab[data-lab="brutalist"] .mock__art span { border: 3px solid #000; }
.lab[data-lab="brutalist"] .mock__sticker { border-radius: 0px; background: #ff3b1f; color: #000; border: 3px solid #000; rotate: 6deg; font-family: var(--mono); font-weight: 700; }

/* 08 Retro */
.lab[data-lab="retro"] {
  --sec-bg: #2f4a3a; --sec-ink: #f6e3c3;
  --m-bg: #f6e3c3; --m-bg2: #efd4a8; --m-ink: #5a2a12; --m-muted: #8a5532; --m-accent: #d9541e; --m-btn-ink: #fff3df;
  --m-title-font: "Shrikhand", var(--serif); --m-title-weight: 400; --m-title-size: 7.6cqi; --m-track: 0em; --m-lh: 1;
  --m-radius: 18px; --m-border: 0;
  --m-a1: repeating-linear-gradient(180deg, #d9541e 0 14%, #f0a43a 14% 28%, #e9c46a 28% 42%, #f6e3c3 42% 46%); --m-a2: #5a2a12; --m-a3: #f0a43a;
  --m-fx: var(--noise); --m-fx-o: 0.22; --m-fx-z: 5; --m-fx-blend: multiply;
  --w-color: #f0a43a; --w-scale: 0.92; --w-track: 0em;
}
.lab[data-lab="retro"] .mock__art .a1 { inset: 4% 4% 30% 4%; border-radius: 999px 999px 0 0; }
.lab[data-lab="retro"] .mock__art .a2 { right: 30%; width: 40%; }
.lab[data-lab="retro"] .mock__sticker { background: #f0a43a; color: #5a2a12; }

/* 09 Y2K */
.lab[data-lab="y2k"] {
  --sec-bg: #c6d4ff; --sec-ink: #1a1446;
  --m-bg: linear-gradient(140deg, #eef1ff 0%, #ffe3f6 55%, #dcfff7 100%); --m-bg2: rgba(255, 255, 255, 0.65); --m-ink: #2a1b5c; --m-muted: #65549a;
  --m-accent: linear-gradient(180deg, #ff7ccf, #ff2fa8); --m-btn-ink: #fff;
  --m-title-font: "Unbounded", var(--font); --m-title-weight: 800; --m-title-size: 6.2cqi; --m-track: -0.03em; --m-lh: 1.02;
  --m-radius: 24px; --m-border: 2px solid #fff; --m-shadow: 0 0 0 1px #c9b8ff, 0 30px 60px -30px rgba(80, 40, 160, 0.5);
  --m-card-border: 1px solid #fff;
  --m-a1: linear-gradient(135deg, #fff 0%, #cdd6ea 30%, #8d9ab8 48%, #f4f7fd 62%, #aeb9d3 100%); --m-a2: #ff3fb4; --m-a3: #7cf7ff;
  --w-scale: 0.86;
}
.lab[data-lab="y2k"] .mock__title { background: linear-gradient(90deg, #5b2dff, #ff2fa8 60%, #ff7a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lab[data-lab="y2k"] .mock__art .a1 { inset: 6% 10% 14% 2%; border-radius: 46% 54% 58% 42% / 52% 40% 60% 48%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.lab[data-lab="y2k"] .mock__art .a2 { right: 2%; bottom: 2%; width: 30%; border-radius: 0px; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.lab[data-lab="y2k"] .mock__art .a3 { width: 16%; }
.lab[data-lab="y2k"] .mock__fx::before,
.lab[data-lab="y2k"] .mock__fx::after { content: "\2726"; position: absolute; color: #fff; font-size: 5cqi; line-height: 1; text-shadow: 0 0 1.6cqi #ff9de2, 0 0 3cqi #a78bff; }
.lab[data-lab="y2k"] .mock__fx::before { left: 52%; top: 15%; }
.lab[data-lab="y2k"] .mock__fx::after { left: 7%; bottom: 31%; font-size: 3.4cqi; }
.lab[data-lab="y2k"] .mock__sticker { background: #7cf7ff; color: #2a1b5c; border: 2px solid #fff; }

/* 10 Neon */
.lab[data-lab="neon"] {
  --sec-bg: #07030f; --sec-ink: #f3eaff;
  --m-bg: linear-gradient(180deg, #0d0221 0%, #1d0b3f 64%, #2a0e4f 100%); --m-bg2: rgba(13, 2, 33, 0.72); --m-ink: #fdf0ff; --m-muted: #c0a6dd;
  --m-accent: #ff2bd6; --m-btn-ink: #0d0221;
  --m-title-font: "Orbitron", var(--font); --m-title-weight: 800; --m-title-size: 5.4cqi; --m-track: 0.03em; --m-case: uppercase; --m-lh: 1.1;
  --m-glow: 0 0 1cqi rgba(255, 43, 214, 0.9), 0 0 3cqi rgba(255, 43, 214, 0.55);
  --m-radius: 12px; --m-border: 1px solid #3b1d6e; --m-shadow: 0 0 70px -12px rgba(255, 43, 214, 0.5);
  --m-card-border: 1px solid rgba(45, 226, 230, 0.5); --m-btn-shadow: 0 0 2cqi rgba(255, 43, 214, 0.7);
  --m-a1: linear-gradient(180deg, #f9c80e, #ff2bd6); --m-a2: #2de2e6; --m-a3: #ff2bd6;
  --w-color: #ff6be6; --w-shadow: 0 0 18px rgba(255, 43, 214, 0.75); --w-scale: 0.78; --w-track: 0.02em;
}
.lab[data-lab="neon"] .mock__logo { color: #2de2e6; text-shadow: 0 0 1cqi #2de2e6; }
.lab[data-lab="neon"] .mock__art .a1 {
  inset: 4%; border-radius: 50%;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 52% 57%, #000 57% 66%, transparent 66% 71%, #000 71% 80%, transparent 80% 85%, #000 85%);
          mask-image: linear-gradient(180deg, #000 52%, transparent 52% 57%, #000 57% 66%, transparent 66% 71%, #000 71% 80%, transparent 80% 85%, #000 85%);
}
.lab[data-lab="neon"] .mock__art :is(.a2, .a3) { display: none; }
.lab[data-lab="neon"] .mock__fx::before {
  content: ""; position: absolute; left: -40%; right: -40%; bottom: 0; height: 42%;
  background: repeating-linear-gradient(90deg, rgba(45, 226, 230, 0.5) 0 1px, transparent 1px 7cqi), repeating-linear-gradient(180deg, rgba(45, 226, 230, 0.5) 0 1px, transparent 1px 3.5cqi);
  transform: perspective(40cqi) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%);
}
.lab[data-lab="neon"] .mock__sticker { background: none; color: #2de2e6; border: 2px solid #2de2e6; box-shadow: 0 0 1.4cqi #2de2e6, inset 0 0 1.4cqi #2de2e6; text-shadow: 0 0 1cqi #2de2e6; }

/* 11 Swiss */
.lab[data-lab="swiss"] {
  --sec-bg: #d90414; --sec-ink: #fff; --sec-mix: 100%;
  --m-bg: #fff; --m-bg2: transparent; --m-ink: #000; --m-muted: #4d4d4d; --m-accent: #e30613; --m-btn-ink: #fff;
  --m-title-weight: 800; --m-title-size: 9.4cqi; --m-track: -0.065em; --m-word: 0.12em; --m-case: lowercase; --m-lh: 0.84;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 0; --m-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); --m-rule: 2px solid #000; --m-card-pad: 1.2cqi 0 0;
  --m-a1: #e30613; --m-a2: #000; --m-a3: #fff;
  --m-fx: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 7.5cqi);
  --w-track: -0.06em;
}
.lab[data-lab="swiss"] .mock { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.45fr); }
.lab[data-lab="swiss"] .mock__art { align-self: stretch; aspect-ratio: auto; }
.lab[data-lab="swiss"] .mock__art .a1 { inset: 0 0 34% 0; }
.lab[data-lab="swiss"] .mock__art .a2 { left: 0; right: auto; width: 70%; }
.lab[data-lab="swiss"] .mock__art .a3 { left: 60%; top: 52%; width: 22%; border: 0.6cqi solid #000; }
.lab[data-lab="swiss"] .mock__card { border-top: 2px solid #000; }
.lab[data-lab="swiss"] .mock__sticker { width: 11cqi; border-radius: 0px; rotate: 0deg; background: #000; color: #fff; font-size: 2.6cqi; font-weight: 800; letter-spacing: -0.04em; text-transform: lowercase; }

/* 12 Zen */
.lab[data-lab="zen"] {
  --sec-bg: #e2ddd0; --sec-ink: #2b2a26;
  --m-bg: #f4f1ea; --m-bg2: transparent; --m-ink: #2b2a26; --m-muted: #6a6558; --m-accent: #2b2a26; --m-btn-ink: #f4f1ea;
  --m-title-font: "Zen Old Mincho", var(--serif); --m-title-weight: 700; --m-title-size: 5.6cqi; --m-track: 0.04em; --m-lh: 1.32;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 0; --m-shadow: 0 30px 60px -36px rgba(43, 42, 38, 0.35); --m-card-pad: 0;
  --m-a1: transparent; --m-a2: #c8cdb8; --m-a3: #b5543c;
  --w-scale: 0.9; --w-track: 0.02em;
}
.lab[data-lab="zen"] .mock__art .a1 { inset: 0; border-radius: 50%; border: 1.6cqi solid #2b2a26; border-right-color: transparent; rotate: -40deg; opacity: 0.1; }
.lab[data-lab="zen"] .mock__art :is(.a2, .a3) { display: none; }
.lab[data-lab="zen"] .mock__card { grid-template-columns: minmax(0, 1fr); text-align: center; }
.lab[data-lab="zen"] .mock__card:nth-child(n) i { background: #dcdccb; }
.lab[data-lab="zen"] .mock__sticker { width: 8.5cqi; border-radius: 1cqi; rotate: 0deg; background: #b5543c; color: #f4f1ea; font-size: 2cqi; }

/* 13 Art Deco */
.lab[data-lab="deco"] {
  --sec-bg: #0b1f1e; --sec-ink: #f1e3b5;
  --m-bg: #10302e; --m-bg2: rgba(212, 175, 55, 0.08); --m-ink: #f1e3b5; --m-muted: #cdb97f; --m-accent: #d4af37; --m-btn-ink: #10302e;
  --m-title-font: "Poiret One", var(--font); --m-title-weight: 400; --m-title-size: 6cqi; --m-track: 0.12em; --m-case: uppercase; --m-lh: 1.12;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 1px solid #d4af37;
  --m-shadow: inset 0 0 0 1.4cqi #10302e, inset 0 0 0 calc(1.4cqi + 1px) #d4af37, 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --m-card-border: 1px solid rgba(212, 175, 55, 0.5); --m-rule: 1px solid rgba(212, 175, 55, 0.5);
  --m-a1: repeating-conic-gradient(from -90deg at 50% 100%, #d4af37 0deg 3deg, transparent 3deg 11deg); --m-a2: #d4af37; --m-a3: #10302e;
  --w-color: #d4af37; --w-scale: 1.04; --w-track: 0.06em;
}
.lab[data-lab="deco"] .mock__art { top: 34%; width: 50cqi; opacity: 0.3; }
.lab[data-lab="deco"] .mock__art .a1 { inset: 0 0 50% 0; border-radius: 999px 999px 0 0; }
.lab[data-lab="deco"] .mock__art .a2 { right: 42%; bottom: 50%; width: 16%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; }
.lab[data-lab="deco"] .mock__art .a3 { display: none; }
.lab[data-lab="deco"] .mock__sticker { width: 14cqi; padding: 3cqi; border-radius: 0px; rotate: 0deg; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: #d4af37; color: #10302e; font-size: 1.65cqi; letter-spacing: 0.08em; }

/* 14 Memphis */
.lab[data-lab="memphis"] {
  --sec-bg: #fff3b0; --sec-ink: #1b1b1b;
  --m-bg: #fff; --m-bg2: #fff; --m-ink: #1b1b1b; --m-muted: #4a4a4a; --m-accent: #ff5d8f; --m-btn-ink: #1b1b1b;
  --m-title-font: "Bungee", var(--font); --m-title-weight: 400; --m-title-size: 5.8cqi; --m-track: 0em; --m-lh: 1.04;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 3px solid #1b1b1b; --m-shadow: 10px 10px 0 #6a4cff;
  --m-card-border: 2px solid #1b1b1b; --m-card-shadow: 4px 4px 0 #00c2d1; --m-btn-border: 2px solid #1b1b1b; --m-btn-shadow: 3px 3px 0 #1b1b1b;
  --m-a1: #00c2d1; --m-a2: repeating-linear-gradient(45deg, #ffd400 0 1.2cqi, transparent 1.2cqi 2.4cqi); --m-a3: #6a4cff;
  --m-fx: radial-gradient(circle, #ff5d8f 0 0.45cqi, transparent 0.55cqi) 0 0 / 9cqi 9cqi, radial-gradient(circle, #00c2d1 0 0.4cqi, transparent 0.5cqi) 4.5cqi 4.5cqi / 9cqi 9cqi;
  --m-fx-o: 0.55;
  --w-scale: 0.8; --w-track: 0em;
}
.lab[data-lab="memphis"] .mock__title { text-shadow: 0.35cqi 0.35cqi 0 #ff5d8f; }
.lab[data-lab="memphis"] .mock__art .a1 { inset: 0 20% 26% 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lab[data-lab="memphis"] .mock__art .a2 { width: 62%; border-radius: 0px; border: 2px solid #1b1b1b; rotate: 12deg; }
.lab[data-lab="memphis"] .mock__art .a3 { left: 4%; top: 58%; width: 28%; background: radial-gradient(circle, #fff 0 18%, transparent 20%) 0 0 / 2cqi 2cqi, #6a4cff; }
.lab[data-lab="memphis"] .mock__sticker { width: 14cqi; border-radius: 0px; clip-path: polygon(50.0% 0.0%, 61.4% 14.8%, 79.4% 9.5%, 79.9% 28.3%, 97.6% 34.5%, 87.0% 50.0%, 97.6% 65.5%, 79.9% 71.7%, 79.4% 90.5%, 61.4% 85.2%, 50.0% 100.0%, 38.6% 85.2%, 20.6% 90.5%, 20.1% 71.7%, 2.4% 65.5%, 13.0% 50.0%, 2.4% 34.5%, 20.1% 28.3%, 20.6% 9.5%, 38.6% 14.8%); background: #ffd400; color: #1b1b1b; rotate: -10deg; font-size: 2.2cqi; }

/* 15 Newspaper */
.lab[data-lab="newspaper"] {
  --sec-bg: #d9d4c7; --sec-ink: #111;
  --m-bg: #f4f0e6; --m-bg2: transparent; --m-ink: #111; --m-muted: #4f4b43; --m-accent: #111; --m-btn-ink: #f4f0e6;
  --m-font: Georgia, "Times New Roman", serif; --m-title-font: "Playfair Display", Georgia, serif; --m-title-weight: 800; --m-title-size: 6.4cqi; --m-track: -0.02em; --m-lh: 0.98;
  --m-logo-font: "UnifrakturCook", Georgia, serif;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 0; --m-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); --m-card-pad: 0 1.6cqi;
  --m-a1: radial-gradient(circle, #111 0 30%, transparent 33%) 0 0 / 1.5cqi 1.5cqi, #e2dccd; --m-a2: #111; --m-a3: #f4f0e6;
  --m-fx: var(--noise); --m-fx-o: 0.16; --m-fx-z: 5; --m-fx-blend: multiply;
  --w-scale: 0.95;
}
.lab[data-lab="newspaper"] .mock__nav { flex-wrap: wrap; row-gap: 1cqi; padding-bottom: 1cqi; border-bottom: 0.6cqi double #111; }
.lab[data-lab="newspaper"] .mock__logo { flex: 1 0 100%; margin: 0; padding-bottom: 0.8cqi; border-bottom: 1px solid #111; text-align: center; font-size: 2.8em; line-height: 1; letter-spacing: 0; text-transform: none; }
.lab[data-lab="newspaper"] .mock__links { margin-right: auto; }
.lab[data-lab="newspaper"] .mock__bag { padding: 0; border: 0; }
.lab[data-lab="newspaper"] .mock__kicker { font-style: italic; letter-spacing: 0; text-transform: none; }
.lab[data-lab="newspaper"] .mock__art .a1 { inset: 0; border: 1px solid #111; border-radius: 0px; }
.lab[data-lab="newspaper"] .mock__art :is(.a2, .a3) { display: none; }
.lab[data-lab="newspaper"] .mock__row { gap: 0; }
.lab[data-lab="newspaper"] .mock__card { border-left: 1px solid #111; }
.lab[data-lab="newspaper"] .mock__card:first-child { padding-left: 0; border-left: 0; }
.lab[data-lab="newspaper"] .mock__sticker { top: 25cqi; right: 3cqi; background: #f4f0e6; color: #c8102e; border: 0.4cqi solid #c8102e; rotate: -14deg; }

/* 16 Terminal */
.lab[data-lab="terminal"] {
  --sec-bg: #0a0f0a; --sec-ink: #b6ffb6;
  --m-bg: #050a05; --m-bg2: transparent; --m-ink: #33ff66; --m-muted: #25c955; --m-accent: #33ff66; --m-btn-ink: #050a05;
  --m-font: "VT323", var(--mono); --m-title-font: "VT323", var(--mono); --m-title-weight: 400; --m-title-size: 8.4cqi; --m-track: 0em; --m-case: uppercase; --m-lh: 0.92;
  --m-glow: 0 0 1cqi rgba(51, 255, 102, 0.55);
  --m-radius: 6px; --m-btn-radius: 0px; --m-border: 1px solid #1f6b33; --m-shadow: 0 0 0 4px #0b130b, 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  --m-card-border: 1px dashed #1f8f3f; --m-rule: 1px dashed #1f8f3f;
  --m-a1: transparent; --m-a2: #33ff66; --m-a3: transparent;
  --m-fx: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.65));
  --m-fx-z: 5;
  --w-color: #33ff66; --w-shadow: 0 0 16px rgba(51, 255, 102, 0.6); --w-scale: 1.22; --w-track: 0em;
}
.lab[data-lab="terminal"] .mock { font-size: 3cqi; line-height: 1.1; text-shadow: 0 0 0.6cqi rgba(51, 255, 102, 0.45); }
.lab[data-lab="terminal"] .mock__logo::before { content: "~/"; opacity: 0.7; }
.lab[data-lab="terminal"] .mock__title::after { content: "_"; animation: blink 1s steps(1) 6; }
.lab[data-lab="terminal"] .mock__art .a1 { inset: 0; border: 1px dashed #33ff66; border-radius: 0px; }
.lab[data-lab="terminal"] .mock__art .a1::before {
  content: "   ( (\A     ) )\A   ........\A   |      |]\A   \\      /\A    `----'";
  position: absolute; inset: 0; display: grid; place-items: center; white-space: pre; font-size: 4cqi; line-height: 1;
}
.lab[data-lab="terminal"] .mock__art .a2 { right: 8%; bottom: 8%; width: 6%; aspect-ratio: 1 / 1.6; border-radius: 0px; animation: blink 1s steps(1) 6; }
.lab[data-lab="terminal"] .mock__card:nth-child(n) i { border: 1px solid #1f6b33; background: repeating-linear-gradient(90deg, #0f3a1a 0 2px, transparent 2px 4px); }
.lab[data-lab="terminal"] .mock__card i::after { background: #33ff66; opacity: 0.25; }
.lab[data-lab="terminal"] .mock__sticker { width: auto; aspect-ratio: auto; padding: 0.6cqi 1.6cqi; border-radius: 0px; rotate: 0deg; background: none; color: #33ff66; border: 1px solid #33ff66; font-size: 2.6cqi; text-transform: none; }

/* 17 Zine */
.lab[data-lab="zine"] {
  --sec-bg: #ff2e88; --sec-ink: #111; --sec-mix: 92%;
  --m-bg: #f2efe9; --m-bg2: #fff; --m-ink: #111; --m-muted: #3b3b3b; --m-accent: #111; --m-btn-ink: #fff;
  --m-font: var(--mono); --m-title-font: "Permanent Marker", var(--font); --m-title-weight: 400; --m-title-size: 5.8cqi; --m-track: 0em; --m-case: uppercase; --m-lh: 1.32;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 0; --m-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --m-card-border: 2px solid #111;
  --m-a1: #111; --m-a2: #ff2e88; --m-a3: #ffe14d;
  --m-fx: var(--noise); --m-fx-o: 0.32; --m-fx-z: 5; --m-fx-blend: multiply;
  --w-color: #fff; --w-scale: 0.92; --w-track: 0em;
}
.lab[data-lab="zine"] .mock__title .ch { display: inline-block; margin-right: 0.03em; padding: 0 0.06em; background: #111; color: #f2efe9; rotate: -4deg; }
.lab[data-lab="zine"] .mock__title .ch:nth-child(3n + 2) { background: #fff; color: #111; outline: 0.25cqi solid #111; rotate: 3deg; font-family: var(--serif); font-style: italic; text-transform: none; }
.lab[data-lab="zine"] .mock__title .ch:nth-child(4n + 3) { background: #ff2e88; color: #111; rotate: -2deg; font-family: var(--font); font-weight: 800; }
.lab[data-lab="zine"] .mock__title .ch:nth-child(5n + 4) { background: #ffe14d; color: #111; rotate: 5deg; font-family: var(--mono); }
.lab[data-lab="zine"] .mock__title .ch:nth-child(7n) { background: none; color: #111; rotate: 0deg; }
.lab[data-lab="zine"] .mock__art .a1 { inset: 2% 12% 16% 4%; border-radius: 0px; clip-path: polygon(0.0% 1.3%, 12.5% 0.6%, 25.0% 2.6%, 37.5% 0.3%, 50.0% 2.1%, 62.5% 1.5%, 75.0% 0.2%, 87.5% 2.0%, 100.0% 0.1%, 97.7% 12.5%, 96.3% 25.0%, 96.4% 37.5%, 97.7% 50.0%, 99.3% 62.5%, 96.5% 75.0%, 96.9% 87.5%, 98.5% 100.0%, 87.5% 99.8%, 75.0% 98.3%, 62.5% 97.6%, 50.0% 99.9%, 37.5% 96.2%, 25.0% 99.4%, 12.5% 97.2%, 0.0% 96.6%, 0.5% 87.5%, 1.2% 75.0%, 3.3% 62.5%, 0.7% 50.0%, 2.3% 37.5%, 2.6% 25.0%, 1.5% 12.5%); background: linear-gradient(160deg, #3a3a3a, #111); rotate: -3deg; }
.lab[data-lab="zine"] .mock__art .a2 { width: 34%; }
.lab[data-lab="zine"] .mock__art .a3 { left: 24%; top: -1%; width: 46%; aspect-ratio: 4 / 1; border-radius: 0px; rotate: -8deg; opacity: 0.85; }
.lab[data-lab="zine"] .mock__card:nth-child(odd) { rotate: -1.5deg; }
.lab[data-lab="zine"] .mock__card:nth-child(even) { rotate: 1.5deg; }
.lab[data-lab="zine"] .mock__btn { rotate: -2deg; }
.lab[data-lab="zine"] .mock__sticker { border-radius: 0px; clip-path: polygon(0.0% 1.3%, 12.5% 0.6%, 25.0% 2.6%, 37.5% 0.3%, 50.0% 2.1%, 62.5% 1.5%, 75.0% 0.2%, 87.5% 2.0%, 100.0% 0.1%, 97.7% 12.5%, 96.3% 25.0%, 96.4% 37.5%, 97.7% 50.0%, 99.3% 62.5%, 96.5% 75.0%, 96.9% 87.5%, 98.5% 100.0%, 87.5% 99.8%, 75.0% 98.3%, 62.5% 97.6%, 50.0% 99.9%, 37.5% 96.2%, 25.0% 99.4%, 12.5% 97.2%, 0.0% 96.6%, 0.5% 87.5%, 1.2% 75.0%, 3.3% 62.5%, 0.7% 50.0%, 2.3% 37.5%, 2.6% 25.0%, 1.5% 12.5%); background: #ffe14d; color: #111; rotate: 8deg; font-size: 2.6cqi; }

/* 18 Glass */
.lab[data-lab="glass"] {
  --sec-bg: #0f0c24; --sec-ink: #f2f0ff;
  --m-bg: radial-gradient(55% 60% at 18% 22%, #7b5cff 0%, transparent 70%), radial-gradient(50% 55% at 86% 24%, #ff7ac6 0%, transparent 70%), radial-gradient(60% 60% at 60% 96%, #2fd3ff 0%, transparent 70%), #1a1440;
  --m-bg2: rgba(255, 255, 255, 0.14); --m-ink: #fff; --m-muted: rgba(255, 255, 255, 0.82); --m-accent: rgba(255, 255, 255, 0.94); --m-btn-ink: #1a1440;
  --m-title-font: "Plus Jakarta Sans", var(--font); --m-title-weight: 800; --m-title-size: 6.8cqi; --m-track: -0.045em; --m-lh: 0.98;
  --m-radius: 22px; --m-border: 1px solid rgba(255, 255, 255, 0.25); --m-shadow: 0 30px 80px -30px rgba(123, 92, 255, 0.65);
  --m-card-border: 1px solid rgba(255, 255, 255, 0.32);
  --m-a1: rgba(255, 255, 255, 0.16); --m-a2: linear-gradient(135deg, #ff7ac6, #7b5cff); --m-a3: #2fd3ff;
  --w-color: #c9bcff; --w-scale: 0.96; --w-track: -0.04em;
}
.lab[data-lab="glass"] :is(.mock__card, .mock__art .a1, .mock__bag, .mock__sticker) { -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); }
.lab[data-lab="glass"] .mock__art .a1 { z-index: 1; inset: 10% 6% 14% 8%; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 18px; rotate: -8deg; }
.lab[data-lab="glass"] .mock__art .a2 { z-index: 0; right: 2%; bottom: 2%; width: 52%; }
.lab[data-lab="glass"] .mock__art .a3 { z-index: 0; left: 2%; top: 2%; width: 26%; filter: blur(0.4cqi); }
.lab[data-lab="glass"] .mock__bag { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }
.lab[data-lab="glass"] .mock__sticker { background: rgba(255, 255, 255, 0.18); color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }

/* 19 Bauhaus */
.lab[data-lab="bauhaus"] {
  --sec-bg: #1d4e89; --sec-ink: #efe7d6; --sec-mix: 86%;
  --m-bg: #efe7d6; --m-bg2: #e5dbc5; --m-ink: #1a1a1a; --m-muted: #4a4a4a; --m-accent: #d62828; --m-btn-ink: #fff;
  --m-title-font: "Josefin Sans", var(--font); --m-title-weight: 700; --m-title-size: 6.8cqi; --m-track: 0.01em; --m-case: uppercase; --m-lh: 0.96;
  --m-radius: 0px; --m-btn-radius: 0px; --m-border: 0; --m-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); --m-rule: 0.8cqi solid #1a1a1a;
  --m-a1: #1d4e89; --m-a2: #f2c12e; --m-a3: #d62828;
  --w-color: #f2c12e; --w-track: 0.02em;
}
.lab[data-lab="bauhaus"] .mock__art .a1 { inset: 0 22% 22% 0; border-radius: 50%; }
.lab[data-lab="bauhaus"] .mock__art .a2 { width: 46%; border-radius: 0px; }
.lab[data-lab="bauhaus"] .mock__art .a3 { left: 0; top: auto; bottom: 0; width: 44%; border-radius: 0px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lab[data-lab="bauhaus"] .mock__card { border-top: 1.2cqi solid #d62828; }
.lab[data-lab="bauhaus"] .mock__card:nth-child(2) { border-top-color: #1d4e89; }
.lab[data-lab="bauhaus"] .mock__card:nth-child(3) { border-top-color: #f2c12e; }
.lab[data-lab="bauhaus"] .mock__sticker { background: #1a1a1a; color: #efe7d6; font-size: 1.6cqi; }

/* 20 Organic */
.lab[data-lab="organic"] {
  --sec-bg: #dfe7d4; --sec-ink: #26331f;
  --m-bg: #f3efe4; --m-bg2: #e9e3d2; --m-ink: #26331f; --m-muted: #59674e; --m-accent: #2f5d3a; --m-btn-ink: #f3efe4;
  --m-title-font: "Young Serif", var(--serif); --m-title-weight: 400; --m-title-size: 7.2cqi; --m-track: -0.02em; --m-lh: 1;
  --m-radius: 26px; --m-border: 0; --m-shadow: 0 30px 60px -30px rgba(38, 51, 31, 0.4);
  --m-a1: #c9d8b6; --m-a2: #d9825b; --m-a3: #2f5d3a;
  --w-color: #2f5d3a; --w-scale: 0.98;
}
.lab[data-lab="organic"] .mock__art .a1 { inset: 0 10% 12% 0; border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
.lab[data-lab="organic"] .mock__art .a2 { width: 50%; border-radius: 41% 59% 38% 62% / 52% 36% 64% 48%; }
.lab[data-lab="organic"] .mock__art .a3 { left: 10%; top: 8%; width: 26%; border-radius: 0 100% 0 100%; rotate: 24deg; }
.lab[data-lab="organic"] .mock__card i { border-radius: 999px 999px 10px 10px; }
.lab[data-lab="organic"] .mock__sticker { border-radius: 58% 42% 52% 48% / 45% 55% 45% 55%; background: #d9825b; color: #fff; }

/* ==========================================================================
   Motion
   One reveal: opacity plus a 12px rise over 0.5s, eased out with no overshoot.
   The hero letters use the same move. With reduced motion, nothing moves.
   ========================================================================== */
.js [data-reveal] { opacity: 0; translate: 0 12px; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: none; }
.js .hero__title .ltr { opacity: 0; translate: 0 12px; animation: letterIn 0.5s var(--ease) forwards; animation-delay: calc(0.1s + var(--i) * 45ms); }
@keyframes letterIn { to { opacity: 1; translate: none; } }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  .js [data-reveal],
  .js .hero__title .ltr { opacity: 1; translate: none; }
}
