/* Shared base: reset, accessibility, reduced motion, the small-screen menu and scroll reveals.
   Included at the top of every site's single stylesheet. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
/* Hyphens only for long words (that would not fit a phone screen), never «зай-вих». */
h1, h2, h3, h4 { overflow-wrap: anywhere; hyphens: auto; hyphenate-limit-chars: 12 5 5; text-wrap: balance; }
/* Long words, addresses and e-mails wrap instead of widening the page at 320px. */
p, li, dd, dt, a, summary { overflow-wrap: anywhere; }
p { text-wrap: pretty; }
a { color: inherit; }
img, svg { max-width: 100%; }
img { height: auto; }
.icon { display: inline-block; flex: none; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
[id] { scroll-margin-top: 96px; }
main:focus { outline: none; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus, var(--accent-text));
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Navigation: links on wide screens, a disclosure menu on small ones. */
.nav-links { display: none; margin: 0; padding: 0; list-style: none; }
.nav-menu { position: relative; }
.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
}
.nav-menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
  border-block: 2px solid currentColor;
}
.nav-menu-icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
}
.nav-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: min(20rem, calc(100vw - 32px));
  margin: 0;
  padding: 8px;
  list-style: none;
}
.nav-menu > ul a { display: block; min-height: 44px; padding: 11px 14px; }
/* Multi-page sites: the page being shown. */
[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-menu { display: none; }
}

/* Scroll reveal: main.js hides only elements below the first screen, so nothing stays hidden
   without JS and nothing above the fold flashes. Transform and opacity only: no layout shift. */
[data-reveal] {
  transition: opacity var(--reveal-time, 0.6s) var(--ease, ease-out),
    transform var(--reveal-time, 0.6s) var(--ease, ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger, 70ms));
}
[data-reveal].is-pending { opacity: 0; transform: translateY(var(--reveal-shift, 20px)); }
[data-reveal].is-pending.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal].is-pending { opacity: 1; transform: none; }
}

/* Sites for a country: the language menu, the cookie notice and the privacy page, all from the
   site's own tokens. Only these sites carry this part. */
.nav-langs { display: flex; align-items: center; gap: 8px; }
nav.nav-langs .nav-menu summary { white-space: nowrap; overflow-wrap: normal; }
/* On a phone the header holds the name, the menu and the languages: the word «Menu» gives way to
   its icon, and screen readers still read it. */
@media (max-width: 480px) {
  nav.nav-langs .nav-menu summary { gap: 0; padding-inline: 12px; font-size: 0; }
}
.lang-menu { position: relative; flex: none; }
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.lang-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.lang-menu[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.lang-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 45;
  width: max-content;
  min-width: 10rem;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 16px 36px -18px rgb(0 0 0 / 45%);
}
.lang-menu > ul a {
  display: block;
  min-height: 44px;
  padding: 11px 14px;
  border: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
}
.lang-menu > ul a:hover { background: var(--surface); color: var(--ink); }
.lang-menu > ul a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 0.3em; }

.cookie-notice {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: 46rem;
  margin-inline: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--band);
  color: var(--on-band);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.45;
  box-shadow: 0 16px 36px -18px rgb(0 0 0 / 55%);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { flex: 1 1 16rem; margin: 0; color: inherit; font-size: inherit; }
.cookie-notice a { color: inherit; text-decoration: underline; }
.cookie-notice button {
  flex: none;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  background: var(--on-band);
  color: var(--band);
  font-weight: 600;
  cursor: pointer;
}
.cookie-notice button[hidden] { display: none; }
.cookie-notice :focus-visible { outline-color: currentColor; }
@media (max-width: 480px) {
  .cookie-notice { left: 8px; right: 8px; bottom: 8px; gap: 6px 12px; padding: 10px 12px; font-size: 0.8125rem; line-height: 1.35; }
  .cookie-notice p { flex-basis: 100%; }
}

.legal-head, .legal-page, .legal-foot { width: min(760px, 100% - 32px); margin-inline: auto; }
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
.legal-home { color: var(--ink); font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; text-decoration: none; }
.legal-page { padding-block: clamp(32px, 6vw, 64px); color: var(--ink); }
main.legal-page h1 {
  margin: 0 0 clamp(24px, 4vw, 40px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 3rem);
  letter-spacing: normal;
  line-height: 1.15;
  text-transform: none;
}
main.legal-page h2 {
  margin: 2em 0 0.5em;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
}
main.legal-page p { max-width: 68ch; margin: 0 0 0.9em; color: var(--ink); font-size: 1rem; line-height: 1.65; }
.legal-foot { padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.legal-foot a { color: inherit; }

/* Fonts: files of the site (assets/fonts/, OFL). */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/onest.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/nunito.woff2") format("woff2");
}

:root {
  --maxw: 1240px;
  --bg: #FFFDFD;
  --surface: #FFECF2;
  --ink: #32141F;
  --muted: #773F55;
  --line: #FFD7E3;
  --accent: #CD1957;
  --on-accent: #FFFFFF;
  --accent-text: #B4164B;
  --band: #451026;
  --on-band: #FFFDFD;
  --muted-band: #FCBFD2;
  --font-display: "Onest", sans-serif;
  --font-body: "Nunito", sans-serif;
  --font-mono: ui-monospace, monospace;
  --radius: 20px;
  --radius-sm: 12px;
  --btn-radius: 999px;
  --border: 0px;
  --shadow: 0 20px 44px -28px rgb(0 0 0 / 34%);
  --section: clamp(64px, 9vw, 128px);
  --head-weight: 600;
  --head-style: normal;
  --head-track: -0.02em;
  --head-case: none;
  --head-size: 1.04;
  --density: 1;
  --head-scale: 1.16;
  --pic-radius: 32px;
  --gutter: clamp(16px, 5vw, 40px);
  --gap: clamp(16px, 2.4vw, 28px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --reveal-time: 0.8s;
  --reveal-shift: 28px;
  --stagger: 90ms;
}

/* Type */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--head-weight);
  font-style: var(--head-style);
  letter-spacing: var(--head-track);
  text-transform: var(--head-case);
  line-height: 1.08;
}
h1 { font-size: calc(clamp(2.3rem, 6.4vw, 4.6rem) * var(--head-size)); }
h2 { font-size: calc(clamp(1.7rem, 3.6vw, 2.8rem) * var(--head-size)); }
h3 { font-size: calc(1.2rem * var(--head-size)); line-height: 1.2; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-text);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 1.6em 0 0.5em; font-size: calc(clamp(1.35rem, 2.4vw, 1.75rem) * var(--head-size)); }
.prose h2:first-child { margin-top: 0; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(800px, 100% - 2 * var(--gutter)); }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--btn-radius);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s;
}
.btn-lg { min-height: 54px; padding: 12px 28px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border-color: currentColor; background: transparent; color: var(--ink); }
.btn-invert { background: var(--on-accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .link-more:hover { text-decoration-thickness: 2px; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s var(--ease);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  font-family: var(--font-display);
  font-size: calc(1.2rem * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.1;
  text-decoration: none;
}
.brand-mark { display: block; flex: none; width: 36px; height: 36px; }
.brand-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-tile {
  display: grid;
  flex: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}
.nav { margin-left: auto; }
.nav-links { gap: 26px; font-size: 0.95rem; font-weight: 500; }
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a:hover { color: var(--accent-text); }
.nav-menu > ul { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); box-shadow: 0 18px 40px -22px rgb(0 0 0 / 45%); }
.nav-menu > ul a { color: var(--ink); text-decoration: none; }
.header-cta { display: none; min-height: 42px; padding: 8px 18px; font-size: 0.9rem; white-space: nowrap; }
@media (min-width: 1080px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 860px) {
  .ui-header-center .header-row { flex-wrap: wrap; justify-content: center; padding-block: 16px 8px; }
  .ui-header-center .brand { width: 100%; justify-content: center; font-size: calc(1.6rem * var(--head-size)); }
  .ui-header-center .nav { margin: 0; }
  .ui-header-center .header-cta { display: none; }
  .ui-header-split .header-row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .ui-header-split .brand { order: 2; }
  .ui-header-split .nav { order: 1; margin: 0; }
  .ui-header-split .header-cta { order: 3; display: inline-flex; justify-self: end; }
}
.ui-header-capsule .header { top: 10px; margin: 10px var(--gutter) 0; border: 0; background: transparent; }
.ui-header-capsule .header-row {
  width: min(var(--maxw), 100%);
  min-height: 62px;
  padding-inline: 18px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 14px 34px -24px rgb(0 0 0 / 45%);
}

/* The name of the site stays on one line (decision 123): cut with «…» rather than broken letter by
   letter when the links leave it too little room. main.js then drops the button beside the links
   (is-tight) and, if that is not enough, folds the links into the menu (is-crowded). */
[data-header] .brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-header].is-tight .header-cta { display: none !important; }
[data-header].is-crowded .nav-links { display: none !important; }
[data-header].is-crowded .nav-menu { display: block !important; }
/* A word too long for its line even in the smallest type main.js gives it is hyphenated. */
.fit-hyphens { -webkit-hyphens: auto; hyphens: auto; }

/* Sections */
.section { padding-block: var(--section); }
.section-top { padding-top: clamp(16px, 3vw, 32px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-alt { background: var(--surface); }
.section-band { background: var(--band); color: var(--on-band); }
.section-band .lead, .section-band .scene-caption { color: var(--muted-band); }
.section-band .link-more { color: var(--on-band); }
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: clamp(26px, 4vw, 48px);
}
.sec-head-copy { max-width: 46rem; }
.sec-head .lead { margin-top: 12px; }
.sec-no { display: block; margin-bottom: 10px; color: var(--accent-text); font-size: 0.9rem; font-weight: 600; }
.section-band .sec-no { color: var(--on-band); }
.ui-head-center .sec-head { flex-direction: column; align-items: center; text-align: center; }
.ui-head-rule .sec-head { padding-top: 18px; border-top: 2px solid currentColor; }

/* First screen */
.hero { padding-block: clamp(32px, 6vw, 72px); }
.hero-copy .lead { max-width: 38rem; margin-top: 18px; }
.hero-frame { overflow: hidden; border-radius: var(--radius); }
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero--split .hero-inner { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero--split .hero-frame { aspect-ratio: 5 / 4; }
.hero--cover { position: relative; display: flex; align-items: flex-end; min-height: min(84svh, 780px); padding-block: 40px; background: var(--band); color: var(--on-band); }
.hero--cover .hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero--cover .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 76%), rgb(0 0 0 / 22%) 72%); }
.hero--cover .hero-inner { position: relative; }
.hero--cover:not(.no-media) { color: #fff; }
.hero--cover:not(.no-media) .lead, .hero--cover:not(.no-media) .eyebrow { color: #fff; }
.hero--cover .btn-ghost { color: inherit; }
.hero--cover.no-media .lead { color: var(--muted-band); }
.hero--cover.no-media .eyebrow { color: var(--on-band); }
.hero--poster h1 { font-size: calc(clamp(2.8rem, 10.4vw, 8.4rem) * var(--head-size)); line-height: 0.98; }
.hero--poster .hero-copy { display: grid; gap: 18px; }
.hero--poster .hero-copy .lead { margin: 0; }
.hero--poster .actions { margin-top: 4px; }
.hero-figure { margin-top: clamp(28px, 4vw, 48px); }
.hero--poster .hero-frame { aspect-ratio: 21 / 9; }
.hero--stack { text-align: center; }
.hero--stack .hero-copy { max-width: 56rem; margin-inline: auto; }
.hero--stack .lead { margin-inline: auto; }
.hero--stack .actions { justify-content: center; }
.hero--stack .hero-frame { aspect-ratio: 16 / 8; }
.hero-visual { position: relative; }
.hero--mosaic .hero-inner { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-mosaic { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.hero-tile-a { grid-row: span 2; }
.hero-tile-b, .hero-tile-c { aspect-ratio: 1; }
.hero--panel { padding-top: 0; }
.hero--panel .hero-bg { height: clamp(300px, 62vh, 620px); overflow: hidden; background: var(--band); }
.hero--panel .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-top: clamp(-120px, -9vw, -48px);
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 24px 54px -34px rgb(0 0 0 / 45%);
}
.hero--panel.no-media .hero-bg { display: none; }
.hero--panel.no-media .hero-copy { margin-top: 32px; }
@media (min-width: 900px) {
  .hero--split .hero-inner { grid-template-columns: 1.08fr 0.92fr; }
  .hero--mosaic .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero--poster .hero-copy { grid-template-columns: 1.4fr 1fr; align-items: end; column-gap: 40px; }
  .hero--poster h1, .hero--poster .eyebrow { grid-column: 1 / -1; }
}

/* Pictures */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.media-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media.is-empty { display: grid; place-items: center; background: linear-gradient(140deg, var(--accent), var(--band)); }
.media-letter { color: var(--on-band); font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: var(--head-weight); opacity: 0.7; }
.item-media { aspect-ratio: 4 / 5; }
.item-wide { aspect-ratio: 3 / 2; }
.tile-media { aspect-ratio: 1; }
.duo-media { aspect-ratio: 4 / 3; }
.wide-media { aspect-ratio: 16 / 10; }
.product-media { aspect-ratio: 4 / 5; }
.scene-media { aspect-ratio: 4 / 5; }
@media (min-width: 760px) {
  .wide-media { aspect-ratio: 21 / 9; }
}

/* Lists: one markup, laid out by the design. */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.items-articles, .kind-company .items, .kind-product .items, .kind-landing .items { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.items-related { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.item[hidden] { display: none; }
.item-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.item-body { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
.item-tag { color: var(--muted); font-size: 0.8125rem; }
.item-title { font-size: calc(1.1rem * var(--head-size)); }
.item-text { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.item-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--accent-text); font-size: 0.9rem; font-weight: 600; }
.price { color: var(--accent-text); font-size: 1.05rem; font-weight: 600; }
.price-ask { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.media-img { transition: transform 0.6s var(--ease); }
@media (hover: hover) {
  .item-link:hover .media-img, .tile-link:hover .media-img { transform: scale(1.04); }
}

@media (min-width: 760px) {
  .items { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .ui-grid-feature .items:not(.items-related) > .item:first-child { grid-column: span 2; grid-row: span 2; }
  .ui-grid-feature .items:not(.items-related) > .item:first-child .item-title { font-size: calc(1.7rem * var(--head-size)); }
  .ui-grid-feature .items:not(.items-related) > .item:first-child .item-media { flex: 1; aspect-ratio: auto; min-height: 320px; }
}
.ui-grid-rows .items:not(.items-related) { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); }
.ui-grid-rows .items:not(.items-related) .item-title { font-size: calc(clamp(1.4rem, 2.6vw, 2rem) * var(--head-size)); }
@media (min-width: 760px) {
  .ui-grid-rows .items:not(.items-related) .item-link { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
  .ui-grid-rows .items:not(.items-related) .item:nth-child(even) .item-media { order: 2; }
  .ui-grid-rows .items:not(.items-related) .item-media { aspect-ratio: 3 / 2; }
}
.ui-grid-list .items:not(.items-related) { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.ui-grid-list .items:not(.items-related) .item { border-bottom: 1px solid var(--line); }
.ui-grid-list .items:not(.items-related) .item-link { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 18px; padding-block: 16px; }
.ui-grid-list .items:not(.items-related) .item-media { aspect-ratio: 1; }
.ui-grid-list .items:not(.items-related) .item-body { padding: 0; }
@media (min-width: 760px) {
  .ui-grid-list .items:not(.items-related) .item-link { grid-template-columns: 160px 1fr; }
  .ui-grid-list .items:not(.items-related) .item-title { font-size: calc(1.5rem * var(--head-size)); }
}
.ui-grid-rail [data-rail] {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 12px;
}
.ui-grid-rail [data-rail] > .item { flex: 0 0 min(78%, 320px); scroll-snap-align: start; }

.ui-card-boxed .item-link { padding: 12px; border: var(--border) solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); }
.ui-card-boxed .section-alt .item-link { background: var(--bg); }
.ui-card-boxed .item-body { padding: 14px 6px 8px; }
.ui-card-boxed .media { border-radius: calc(var(--radius) * 0.7); }
.ui-card-caption .item-body { padding-top: 10px; border-top: 2px solid currentColor; margin-top: 12px; }
.ui-card-caption .item-title { font-family: var(--font-body); font-size: 1rem; font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-link { position: relative; overflow: hidden; border-radius: var(--radius); }
.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 16px 16px;
  background: linear-gradient(to top, rgb(0 0 0 / 78%), rgb(0 0 0 / 0%));
  color: #fff;
}
.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body :is(.price, .item-tag, .item-text, .item-more) { color: #fff; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
.tile-link { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; }
.tile-name {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgb(0 0 0 / 74%), rgb(0 0 0 / 0%));
  font-family: var(--font-display);
  font-size: calc(1.25rem * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  line-height: 1.15;
}

/* Cards with icons, steps, plans */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.feature { padding: clamp(18px, 2.4vw, 28px); border: var(--border) solid var(--line); border-radius: var(--radius); background: var(--bg); }
.section-alt .feature { background: var(--bg); }
.feature h3 { margin: 12px 0 8px; }
.feature p { color: var(--muted); font-size: 0.975rem; }
.feature-icon { display: inline-grid; width: 44px; height: 44px; place-items: center; border-radius: var(--radius-sm); background: var(--surface); color: var(--accent-text); }
.section-alt .feature-icon { background: var(--surface); }
.features-line .feature { padding: 0; border: 0; background: none; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.step { padding-top: 16px; border-top: 2px solid currentColor; }
.step-no { color: var(--accent-text); font-size: 0.9rem; font-weight: 600; }
.step h3 { margin: 8px 0; }
.step p { color: var(--muted); font-size: 0.975rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.plan .price { font-family: var(--font-display); font-size: calc(1.9rem * var(--head-size)); }
.plan p { color: var(--muted); }
.plan .btn { margin-top: auto; }

/* Text beside a picture */
.duo { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.duo-copy > * + * { margin-top: 16px; }
.duo-text { align-items: start; margin-top: clamp(24px, 4vw, 48px); }
@media (min-width: 860px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo-text { grid-template-columns: 1.4fr 1fr; }
}
.includes h2 { margin-bottom: 14px; font-size: calc(1.35rem * var(--head-size)); }
.includes ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.includes li { display: flex; gap: 10px; }
.includes .icon { margin-top: 3px; color: var(--accent-text); }

/* Big statement, ticker, scenes */
.manifesto-line {
  max-width: calc(30ch * var(--chs, 1));
  font-family: var(--font-display);
  font-size: calc(clamp(1.7rem, 3.8vw, 3rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.12;
  text-wrap: balance;
}
.ui-head-center .manifesto-line, .ui-head-center .manifesto-note { margin-inline: auto; text-align: center; }
.manifesto-note { max-width: 40rem; margin-top: 22px; }
.ticker { overflow: hidden; padding-block: 14px; background: var(--accent); color: var(--on-accent); }
.ticker-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-row { display: flex; flex: none; gap: 44px; margin: 0; padding: 0 22px; list-style: none; font-weight: 600; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }
.scenes { display: grid; grid-auto-columns: min(72vw, 340px); grid-auto-flow: column; gap: var(--gap); margin: 0; padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2)) 10px; overflow-x: auto; scroll-snap-type: x proximity; list-style: none; }
.scene { scroll-snap-align: center; }
.scene-caption { margin-top: 10px; color: var(--muted); font-size: 0.925rem; }
.gallery { columns: 3 260px; column-gap: var(--gap); margin-block: 0; padding: 0; list-style: none; }
.gallery-item { margin-bottom: clamp(24px, 3vw, 40px); break-inside: avoid; }
.gallery-title { margin-top: 12px; font-size: calc(1.15rem * var(--head-size)); line-height: 1.25; }
.how-steps { display: grid; gap: clamp(24px, 3vw, 40px); margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
.how-step { display: grid; gap: 8px 28px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .how-step { grid-template-columns: 72px minmax(0, 1fr); }
}
.how-step .prose h2 { margin-top: 0; }
.product-more, .case-text, .pricing-notes { margin-top: clamp(24px, 3vw, 40px); }

/* Inner pages */
.page-head { padding-block: clamp(28px, 5vw, 64px) clamp(20px, 3vw, 36px); }
.page-head .lead { max-width: 44rem; margin-top: 16px; }
.crumbs { margin-bottom: 18px; color: var(--muted); font-size: 0.875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.crumbs [aria-current="page"] { text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.filters[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--btn-radius); background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.sort { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.sort select, .field input, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
}
.sort select { width: auto; }
.product { padding-block: clamp(20px, 3vw, 36px) var(--section); }
.product-grid { display: grid; gap: clamp(22px, 4vw, 56px); align-items: start; }
.product-copy > * + * { margin-top: 16px; }
.product-copy .price { display: block; font-size: 1.5rem; }
.product-copy .form-note { margin-top: 10px; }
.product-text { margin-top: clamp(28px, 4vw, 48px); }
.specs { margin-top: 24px; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
@media (min-width: 860px) {
  .product-grid { grid-template-columns: 1.1fr 1fr; }
  .product-copy { position: sticky; top: 96px; }
}
.category-text { margin-top: clamp(32px, 5vw, 56px); }
.read-bar { position: fixed; inset: 0 auto auto 0; z-index: 60; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.read-grid { display: grid; gap: clamp(20px, 4vw, 56px); padding-block: clamp(24px, 4vw, 48px) var(--section); }
.toc { font-size: 0.925rem; }
.toc-title { margin-bottom: 8px; font-weight: 600; }
.toc ol { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--muted); }
.toc a { color: inherit; }
@media (min-width: 980px) {
  .read-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .toc { position: sticky; top: 96px; align-self: start; }
}
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1.3fr 1fr; }
}
.contact-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); }
.contact-card h2 { margin-bottom: 16px; font-size: calc(1.4rem * var(--head-size)); }
.contact-list { display: grid; gap: 14px; }
.contact-list dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.875rem; }
.contact-list a { color: inherit; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 620px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.form .btn { justify-self: start; }
.form-note { color: var(--muted); font-size: 0.875rem; }
.faq details { padding-block: 4px; border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding-block: 12px; font-weight: 600; }
.faq-mark { position: relative; flex: none; width: 14px; height: 14px; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform 0.2s var(--ease); }
.faq-mark::after { transform: rotate(90deg); }
.faq details[open] .faq-mark::after { transform: rotate(0); }
.faq-a { padding-bottom: 16px; color: var(--muted); }
.faq-a p + p { margin-top: 0.7em; }
.notfound-code { color: var(--accent-text); font-family: var(--font-display); font-size: clamp(4rem, 14vw, 9rem); font-weight: var(--head-weight); line-height: 1; }
.notfound .lead { margin-top: 14px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.notfound-links a { display: inline-flex; align-items: center; gap: 6px; }

/* Closing band and footer */
.cta-band { padding-block: clamp(44px, 7vw, 88px); background: var(--accent); color: var(--on-accent); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner > div { max-width: 42rem; }
.cta-text { margin-top: 10px; }
.footer { padding-block: clamp(40px, 6vw, 72px) 24px; background: var(--band); color: var(--on-band); }
.footer-giant {
  margin-block: 0 clamp(28px, 4vw, 48px);
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 11rem);
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 0.95;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 28px var(--gap); }
.footer-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-line .footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-tagline { max-width: 26rem; margin-top: 12px; color: var(--muted-band); }
.footer-head { margin: 0 0 10px; font-weight: 600; }
.footer-list + .footer-head { margin-top: 20px; }
.footer-nav ul, .footer-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer a { color: inherit; }
.footer-col, .footer-nav { color: var(--muted-band); font-size: 0.95rem; }
.footer-contacts { display: grid; gap: 10px; color: var(--muted-band); font-size: 0.95rem; }
.footer-contacts dt { font-size: 0.8125rem; opacity: 0.85; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid currentColor; color: var(--muted-band); font-size: 0.875rem; }

/* What a shop has that others do not, and the extra care of Premium sites. */
.header.is-away { transform: translateY(-110%); }
.manifesto-line { font-size: calc(clamp(1.8rem, 4.2vw, 3.4rem) * var(--head-size)); }
.section-band .scenes { padding-bottom: 18px; }
.item-link, .tile-link, .feature, .plan { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
@media (hover: hover) {
  .feature:hover, .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
}

/* The first screen. Everything here is on top of a first screen that works and reads as it is. */
.hero-float { position: absolute; right: -3%; bottom: -9%; width: min(46%, 300px); pointer-events: none; filter: drop-shadow(0 26px 30px rgb(0 0 0 / 28%)); }
.hero--poster .hero-float, .hero--stack .hero-float { right: 5%; bottom: -12%; width: min(34%, 340px); }
.hero-object { display: block; width: 100%; height: auto; }
.hero-frame[data-scene] { position: relative; background: radial-gradient(120% 90% at 50% 22%, var(--surface), var(--bg)); }
.hero-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: grab; touch-action: pan-y; transition: opacity 0.9s var(--ease); }
.hero-canvas:active { cursor: grabbing; }
.hero-frame.has-scene .hero-canvas { opacity: 1; }
.hero-frame.has-scene .hero-img { opacity: 0.32; filter: blur(16px) saturate(0.85); transform: scale(1.12); transition: opacity 0.9s var(--ease), filter 0.9s var(--ease); }
.hero-frame.has-scene::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 7%; height: 9%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / 34%), transparent); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes hero-open { from { clip-path: inset(10% 7% round var(--radius)); } to { clip-path: inset(0 round var(--radius)); } }
  @keyframes hero-settle { from { transform: scale(1.14); } }
  @keyframes hero-drift { 50% { translate: 0 -12px; rotate: 2.5deg; } }
  @keyframes hero-fan { from { opacity: 0; transform: translateZ(-120px) rotateY(0deg); } }
  body:not(.ui-motion-still) .hero-copy > * { animation: hero-rise 0.7s var(--ease) both; }
  body:not(.ui-motion-still) .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  body:not(.ui-motion-still) .hero-copy > :nth-child(3) { animation-delay: 140ms; }
  body:not(.ui-motion-still) .hero-copy > :nth-child(4) { animation-delay: 210ms; }
  .ui-motion-reveal .hero-frame, .ui-motion-reveal .hero-bg, .ui-motion-reveal .hero-tile { animation: hero-open 1.2s var(--ease) both; }
  .ui-motion-reveal .hero-img, .ui-motion-reveal .hero-tile .media-img { animation: hero-settle 1.8s var(--ease) both; }
  .ui-motion-depth .hero-float { animation: hero-rise 0.9s 0.2s var(--ease) both; }
  .ui-motion-depth .hero-object { animation: hero-drift 7s ease-in-out infinite; }
  [data-stack] { perspective: 1300px; transform-style: preserve-3d; transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform 0.5s var(--ease); }
  [data-stack] .hero-tile { animation: hero-fan 1s var(--ease) both; transition: transform 0.5s var(--ease); }
  [data-stack] .hero-tile-a { transform: translateZ(calc(var(--spread, 0) * 30px)); }
  [data-stack] .hero-tile-b { animation-delay: 120ms; transform: translateZ(calc(40px + var(--spread, 0) * 70px)) rotateY(-5deg); }
  [data-stack] .hero-tile-c { animation-delay: 220ms; transform: translateZ(calc(20px + var(--spread, 0) * 110px)) rotateY(-9deg); }
  body:not(.ui-motion-still) [data-reveal].is-pending:not(.is-in) .media-img { clip-path: inset(0 0 22% 0); }
  body:not(.ui-motion-still) [data-reveal] .media-img { transition: clip-path 1s var(--ease), transform 0.6s var(--ease); }
  body:not(.ui-motion-still) .item-link, body:not(.ui-motion-still) .tile-link { transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
  .how-steps { position: relative; }
  .how-steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(var(--read, 0)); transform-origin: top; }
  .how-step { padding-left: 16px; }
}

/* Art direction: the shared premium layer, then the direction's own styles. */
/* The shared layer of every art direction, the base of premium/engine.js: split-text masks, the
   first states of reveals, rails, stacked cards, the fly-through, marquees, the header states and
   its recolouring by the section under it, the curtain, the grain, and the small details every
   Premium site shares. A direction builds on it in its own style.css (scoped to .dir-<id>).
   First states hide content only under html.js and only while motion is allowed; html.fx-off (no
   GSAP, or the engine failed) and a failsafe animation (the engine never ran) show it again. */

/* ---- Tempo: one easing family per direction (body[data-tempo]) ----
   --fx-ease: reveals and entrances; --fx-ease-io: things that cross the screen; --fx-dur: a
   reveal; --ease (shared): hovers and small UI, always an ease-out. */
body[data-tempo] { --fx-ease: cubic-bezier(.215, .61, .355, 1); --fx-ease-io: cubic-bezier(.645, .045, .355, 1); --fx-dur: .8s; }
body[data-tempo="silk"] { --fx-ease: cubic-bezier(.16, 1, .3, 1); --fx-ease-io: cubic-bezier(.87, 0, .13, 1); --fx-dur: 1.2s; --ease: cubic-bezier(.16, 1, .3, 1); }
body[data-tempo="crisp"] { --ease: cubic-bezier(.215, .61, .355, 1); }
body[data-tempo="bouncy"] { --fx-ease: cubic-bezier(.34, 1.56, .64, 1); --fx-ease-io: cubic-bezier(.68, -.6, .32, 1.6); --fx-dur: .9s; --ease: cubic-bezier(.34, 1.4, .64, 1); }
body[data-tempo="punch"] { --fx-ease: cubic-bezier(.76, 0, .24, 1); --fx-ease-io: cubic-bezier(.76, 0, .24, 1); --fx-dur: .55s; --ease: cubic-bezier(.25, 1, .5, 1); }

/* ---- Shared details ---- */
::selection { background: var(--accent); color: var(--on-accent); }
:where(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }
main { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---- Tokens of the design (Design.density and Design.scale) ----
   --density multiplies the vertical padding of the top-level sections and the gaps between
   them, --head-scale the sizes of h1 and h2. variant_of writes them into the first :root block
   of this stylesheet when a design sets them; these defaults sit in :where(), so they never win
   over that block. Below, the rules of the shared styles that a direction leaves as they are,
   repeated in their own order with the two factors: at 1 every size is exactly the shared one.
   The classes ui-<axis>-<value> on <body> do the rest (premium/tokens.css). */
:where(:root) { --density: 1; --head-scale: 1; }
/* A heading the scale makes larger still keeps a long word whole (German and Greek have many):
   it grows up to the size at which a word of --tk-word letters fills its column, and never
   shrinks below the size it has without the scale (times --tk-keep, 1 unless the column is made
   narrower than the direction's own: premium/tokens.css). So each size below reads
   min(size × scale, max(size × keep, cap)), which is the size itself at scale 1. --tk-cw is how
   wide a letter of the display face runs, in em (as frames.css and cinematic measure it);
   --tk-cap is that size for the whole content column, and a heading in a narrower column takes
   its share of it. */
body {
  --tk-cw: 0.62;
  --tk-word: 20;
  --tk-col: min(var(--maxw), 100vw - 2 * var(--gutter));
  --tk-cap: calc(var(--tk-col) / (var(--tk-word) * var(--tk-cw)));
}
h1 { font-size: min(calc(clamp(2.3rem, 6.4vw, 4.6rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.3rem, 6.4vw, 4.6rem) * var(--head-size) * var(--tk-keep, 1)), var(--tk-cap, 999px))); }
h2 { font-size: min(calc(clamp(1.7rem, 3.6vw, 2.8rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(1.7rem, 3.6vw, 2.8rem) * var(--head-size) * var(--tk-keep, 1)), calc(min(46rem, var(--tk-col, 100vw)) / (var(--tk-word, 20) * var(--tk-cw, 0.62))))); }
.prose h2 { font-size: min(calc(clamp(1.35rem, 2.4vw, 1.75rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(1.35rem, 2.4vw, 1.75rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.55))); }
.section { padding-block: calc(var(--section) * var(--density, 1)); }
.section-top { padding-top: calc(clamp(16px, 3vw, 32px) * var(--density, 1)); }
.section-tight { padding-block: calc(clamp(36px, 5vw, 64px) * var(--density, 1)); }
.includes h2 { font-size: min(calc(1.35rem * var(--head-size) * var(--head-scale, 1)), max(calc(1.35rem * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.3))); }
.page-head { padding-block: calc(clamp(28px, 5vw, 64px) * var(--density, 1)) calc(clamp(20px, 3vw, 36px) * var(--density, 1)); }
.product { padding-block: calc(clamp(20px, 3vw, 36px) * var(--density, 1)) calc(var(--section) * var(--density, 1)); }
.read-grid { padding-block: calc(clamp(24px, 4vw, 48px) * var(--density, 1)) calc(var(--section) * var(--density, 1)); }
.contact-card h2 { font-size: min(calc(1.4rem * var(--head-size) * var(--head-scale, 1)), max(calc(1.4rem * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.3))); }
.gallery-title { font-size: min(calc(1.15rem * var(--head-size) * var(--head-scale, 1)), max(calc(1.15rem * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.25))); }
.cta-band { padding-block: calc(clamp(44px, 7vw, 88px) * var(--density, 1)); }

/* ---- Split text (DunaFX.split) ----
   Each moving piece sits in a mask that clips it. The mask is widened by --fx-pad (descenders,
   accents above capitals at a tight line-height) and --fx-side (italic overhang) through padding on
   the piece and the same negative margin on the mask, so the text keeps its exact layout. */
.fx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  user-select: none;
}
.fx-w { display: inline-block; margin: calc(-1 * var(--fx-pad, .2em)) calc(-1 * var(--fx-side, .06em)); clip-path: inset(0); }
.fx-wi { display: inline-block; padding: var(--fx-pad, .2em) var(--fx-side, .06em); }
.fx-wc { padding-inline: var(--fx-side, .06em); }
.fx-c { display: inline-block; padding-block: var(--fx-pad, .2em); }
.fx-split-in.fx-lines { display: flex; flex-direction: column; }
.fx-line { display: block; margin: calc(-1 * var(--fx-pad, .2em)) calc(-1 * var(--fx-side, .06em)); clip-path: inset(0); }
.fx-li { display: block; padding: var(--fx-pad, .2em) var(--fx-side, .06em); }

/* ---- First states of reveals, and the failsafe ----
   Translate and scale (the individual properties) leave a direction's own transform alone; GSAP
   takes them over when it plays the reveal. :has() sits in a rule of its own, so a browser without
   it drops only that rule (the engine then hides the element itself). */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.fx-off) :is([data-fx~="lines"], [data-fx~="words"], [data-fx~="chars"]):not(.fx-split):not(.is-in),
  html.js:not(.fx-off) [data-fx~="rise"]:not(.is-in) [data-fx-item],
  html.js:not(.fx-off) [data-fx~="blur"]:not(.is-in) { opacity: 0; }
  html.js:not(.fx-off) [data-fx~="rise"]:not(.is-in) [data-fx-item] { translate: 0 40px; }
  html.js:not(.fx-off) [data-fx~="rise"]:not(.is-in):not(:has([data-fx-item])) { opacity: 0; translate: 0 40px; }
  html.js:not(.fx-off) [data-fx~="blur"]:not(.is-in) { filter: blur(16px); }
  html.js:not(.fx-off) [data-fx~="clip"]:not(.is-in) { clip-path: inset(0 0 100% 0); }
  html.js:not(.fx-off) [data-fx~="clip"]:not(.is-in) :is(img, video) { scale: 1.2; }

  /* The engine adds html.fx as soon as it runs; if it never does, all of this shows after 3 s. */
  @keyframes fx-failsafe { to { opacity: 1; translate: none; scale: none; clip-path: none; filter: none; } }
  html.js:not(.fx):not(.fx-off) :is([data-fx~="lines"], [data-fx~="words"], [data-fx~="chars"], [data-fx~="rise"], [data-fx~="blur"], [data-fx~="clip"], [data-fx~="rise"] [data-fx-item], [data-fx~="clip"] img, [data-fx~="clip"] video) {
    animation: fx-failsafe .4s ease-out 3s forwards;
  }
}

/* ---- The header: states and recolouring ----
   The engine sets body[data-nav] to the data-theme of the section under the header and
   html[data-tone] to the tone of the page background. A section of the page's own tone keeps the
   page pair; one of the other tone takes the band pair; "accent" takes the accent pair. The
   --nav-* colours are the hooks: a direction that draws its own header uses them (or its own
   body[data-nav] rules) to follow. */
[data-header] { --nav-bg: var(--bg); --nav-ink: var(--ink); --nav-muted: var(--muted); --nav-line: var(--line); --nav-hover: var(--accent-text); }
[data-header].is-away { transform: translateY(calc(-100% - 24px)); }
[data-header].is-away:focus-within { transform: none; }
html[data-tone="light"] body[data-nav="dark"] [data-header],
html[data-tone="dark"] body[data-nav="light"] [data-header] {
  --nav-bg: var(--band);
  --nav-ink: var(--on-band);
  --nav-muted: var(--muted-band);
  --nav-line: color-mix(in srgb, var(--on-band) 18%, transparent);
  --nav-hover: var(--on-band);
  --focus: var(--on-band);
}
body[data-nav="accent"] [data-header] {
  --nav-bg: var(--accent);
  --nav-ink: var(--on-accent);
  --nav-muted: var(--on-accent);
  --nav-line: color-mix(in srgb, var(--on-accent) 24%, transparent);
  --nav-hover: var(--on-accent);
  --focus: var(--on-accent);
}
:where(body[data-nav]:not(.ui-header-capsule)) [data-header] { background: var(--nav-bg); border-bottom-color: var(--nav-line); color: var(--nav-ink); }
:where(body[data-nav].ui-header-capsule) [data-header] { color: var(--nav-ink); }
:where(body[data-nav].ui-header-capsule) [data-header] .header-row { background: var(--nav-bg); border-color: var(--nav-line); }
:where(body[data-nav]) [data-header] .nav-links a:hover { color: var(--nav-hover); }
:where(body[data-nav="accent"]) [data-header] .btn-accent { background: var(--on-accent); color: var(--accent); }

/* ---- Rail: a pinned horizontal track on wide screens with a mouse, a native row elsewhere ---- */
[data-fx~="rail"] { overflow-x: clip; }
[data-fx~="rail"] [data-fx-track] {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
[data-fx~="rail"] [data-fx-track] > * { flex: 0 0 auto; scroll-snap-align: start; }
:where([data-fx~="rail"] [data-fx-track]) { gap: var(--gap); margin-block: 0; padding-block: 8px 16px; padding-inline: 0; list-style: none; }
:where([data-fx~="rail"] [data-fx-track] > *) { width: min(80vw, 400px); }
[data-fx~="rail"].fx-pinned [data-fx-track] { overflow: visible; scroll-snap-type: none; }

/* ---- Stack: cards that stick one over the other (the engine adds .fx-stacked when they fit) ---- */
[data-fx~="stack"].fx-stacked [data-fx-card] {
  position: sticky;
  top: calc(var(--fx-stack-top, 12vh) + var(--fx-i, 0) * var(--fx-stack-step, 16px));
  transform-origin: 50% 0;
}

/* ---- Zoom: the fly-through, tall with a sticky stage on wide screens with a mouse only ---- */
@media (min-width: 900px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.js:not(.fx-off) [data-fx~="zoom"] { min-height: var(--fx-zoom-h, 260vh); }
  html.js:not(.fx-off) [data-fx~="zoom"] [data-fx-stage] { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
}

/* ---- Marquee: the engine copies the content into .fx-mq; with reduced motion the row stays still ---- */
[data-fx~="marquee"] { overflow: hidden; overflow: clip; }
.fx-mq { display: flex; width: max-content; }
[data-fx~="marquee"] .fx-mq > .fx-mq-g { flex: none; width: max-content; max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes fx-marquee { to { transform: translate3d(calc(-1 * var(--fx-mq-w, 50%)), 0, 0); } }
  .fx-mq { animation: fx-marquee var(--fx-mq-t, 40s) linear infinite; }
  [data-fx~="marquee"][data-fx-dir="-1"] .fx-mq { animation-direction: reverse; }
  .fx-mq.is-paused, [data-fx~="marquee"]:focus-within .fx-mq { animation-play-state: paused; }
  @media (hover: hover) {
    [data-fx~="marquee"]:hover .fx-mq { animation-play-state: paused; }
  }
}

/* ---- The curtain: the brand on the first page of a visit ----
   Never without JS, never on later pages (html.seen), never with reduced motion. The brand name
   rises in the display face while a rule fills under it; the engine lifts it once the fonts are
   in (at the earliest .55 s, at the latest 1 s after the page starts) and it is gone by 1.6 s.
   If the engine never runs, the failsafe below has it gone by 1.6 s too. Directions may give it
   their own colours (.dir-<id> .curtain). */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: var(--surface);
  color: var(--ink);
}
html:not(.js) .curtain, html.seen .curtain { display: none; }
.curtain-in { display: grid; justify-items: center; gap: clamp(14px, 2vw, 22px); max-width: min(92vw, 1100px); text-align: center; }
.curtain-name {
  display: block;
  padding-block: .12em;
  font-family: var(--font-display);
  font-size: calc(clamp(2.4rem, 8vw, 7rem) * var(--head-size, 1));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1;
  text-transform: var(--head-case);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.curtain-line { display: block; width: min(220px, 40vw); height: 2px; background: var(--accent); transform-origin: 0 50%; }
.curtain.is-leaving { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes fx-curtain-name { from { opacity: 0; translate: 0 .4em; clip-path: inset(0 0 100% 0); } }
  @keyframes fx-curtain-line { from { scale: 0 1; } }
  @keyframes fx-curtain-gone { to { opacity: 0; visibility: hidden; } }
  .curtain { animation: fx-curtain-gone .3s ease-out 1.3s forwards; }
  .curtain-name { animation: fx-curtain-name .5s var(--fx-ease, ease-out) .05s both; }
  .curtain-line { animation: fx-curtain-line .5s var(--fx-ease-io, ease-in-out) .1s both; }
  /* It leaves by transform only, which the compositor keeps moving even while the page is busy
     starting a 3D scene; every exit is over within .6 s. crisp (and any other tempo): a clean
     slide up, the brand a step ahead. */
  .curtain { transition: transform .5s cubic-bezier(.65, 0, .35, 1); }
  .curtain.is-leaving { transform: translateY(-100%); }
  .curtain-in { transition: opacity .25s ease-out, translate .5s cubic-bezier(.65, 0, .35, 1), scale .5s cubic-bezier(.65, 0, .35, 1); }
  .curtain.is-leaving .curtain-in { opacity: 0; translate: 0 -24px; }
  /* silk: a slow lift, the brand lagging behind like a layer further away */
  body[data-tempo="silk"] .curtain { transition: transform .6s cubic-bezier(.76, 0, .24, 1); }
  body[data-tempo="silk"] .curtain-in { transition: opacity .35s ease-out, translate .6s cubic-bezier(.76, 0, .24, 1); }
  body[data-tempo="silk"] .curtain.is-leaving .curtain-in { translate: 0 45vh; }
  /* bouncy: it ducks down a little, then flies off; the brand shrinks away */
  body[data-tempo="bouncy"] .curtain { transition: transform .55s cubic-bezier(.6, -.28, .735, .045); }
  body[data-tempo="bouncy"] .curtain.is-leaving .curtain-in { translate: none; scale: .85; }
  /* punch: a hard, stop-motion cut */
  body[data-tempo="punch"] .curtain { transition: transform .32s steps(4, end); }
}

/* ---- Grain: a still film grain over the page (an SVG noise tile, no requests) ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--fx-grain, .04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---- The header on a phone: a long brand name in a wide face stays on one line (cut with "…"
   rather than broken inside the word), and the menu button never wraps its word. ---- */
@media (max-width: 640px) {
  [data-header] .header-row { gap: 12px; }
  [data-header] .brand { flex: 0 1 auto; min-width: 0; }
  [data-header] .brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-header] .nav { flex: none; }
  [data-header] .nav-menu summary { white-space: nowrap; }
}

/* ---- Room for the cookie notice ----
   A first screen whose text sits at the bottom of the screen keeps at least --fold-safe free under
   it (padding-bottom: var(--fold-safe, 96px)), so the notice below never covers its title or
   buttons. --muted-on-dark: quiet text on a dark surface a direction paints itself (4.5:1 and more
   on any dark ground); on the band, --muted-band stays the pair. */
:root { --fold-safe: 96px; --muted-on-dark: rgb(255 255 255 / 76%); }
@media (max-width: 640px) {
  :root { --fold-safe: 80px; }
}

/* ---- The cookie notice: a compact card bottom-left (at most 380 px wide and 76 px tall), a slim
   full-width bar on phones (at most 64 px). Its colours stay the band pair; a direction may
   recolour it. ---- */
.cookie-notice {
  left: 16px;
  right: auto;
  bottom: 16px;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  max-width: min(380px, 100vw - 32px);
  margin: 0;
  padding: 9px 9px 9px 14px;
  border-radius: var(--radius-sm, 0);
  font-size: .75rem;
  line-height: 1.35;
  box-shadow: 0 12px 30px -18px rgb(0 0 0 / 60%);
}
.cookie-notice p { flex: 1 1 auto; min-width: 0; text-wrap: pretty; }
/* While it shows, the end of the page can still scroll out from under it. */
body:has(> .cookie-notice:not([hidden])) > footer { padding-bottom: calc(var(--fold-safe, 96px) + 8px); }
.cookie-notice button { min-height: 36px; padding: 6px 12px; border-radius: var(--btn-radius, 0); font-size: .8125rem; line-height: 1.2; white-space: nowrap; }
@media (max-width: 640px) {
  .cookie-notice {
    left: 0;
    right: 0;
    bottom: 0;
    gap: 10px;
    width: auto;
    max-width: none;
    padding: 8px 10px 8px 14px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 0;
    font-size: .71875rem;
    line-height: 1.3;
    box-shadow: 0 -10px 24px -20px rgb(0 0 0 / 60%);
  }
  .cookie-notice p { flex: 1 1 auto; }
  .cookie-notice button { min-height: 34px; padding: 6px 12px; font-size: .75rem; }
}
/* On a short phone the notice waits below the screen until the visitor scrolls (chrome.html). */
html.notice-later .cookie-notice { visibility: hidden; transform: translateY(calc(100% + 16px)); }
@media (prefers-reduced-motion: no-preference) {
  .cookie-notice { transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
}

/* ---- A marquee that stands still (no JS, reduced motion, the engine off) wraps its row onto more
   lines instead of running off the edge: its own child (the row) and the marquee itself when the
   pieces are its children. A row that only repeats the brand for decoration keeps one clipped
   line with data-fx-still="clip" on the marquee. A direction whose row sits deeper, or whose tape
   has a fixed height, unwraps that itself. If the engine never runs, the row wraps after 3 s. ---- */
html:not(.js) [data-fx~="marquee"]:not([data-fx-still="clip"]),
html.fx-off [data-fx~="marquee"]:not(.fx-on):not([data-fx-still="clip"]) { flex-wrap: wrap; white-space: normal; }
html:not(.js) [data-fx~="marquee"]:not([data-fx-still="clip"]) > :not(.fx-mq),
html.fx-off [data-fx~="marquee"]:not(.fx-on):not([data-fx-still="clip"]) > :not(.fx-mq) { flex-wrap: wrap; row-gap: .3em; width: auto; max-width: 100%; white-space: normal; }
@media (prefers-reduced-motion: reduce) {
  :root [data-fx~="marquee"]:not(.fx-on):not([data-fx-still="clip"]) { flex-wrap: wrap; white-space: normal; }
  :root [data-fx~="marquee"]:not(.fx-on):not([data-fx-still="clip"]) > :not(.fx-mq) { flex-wrap: wrap; row-gap: .3em; width: auto; max-width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes fx-unwrap { to { flex-wrap: wrap; row-gap: .3em; width: auto; max-width: 100%; white-space: normal; } }
  html.js:not(.fx):not(.fx-off) [data-fx~="marquee"]:not([data-fx-still="clip"]) > :not(.fx-mq) { animation: fx-unwrap 0s 3s forwards; }
}

/* ---- Motion off (html.fx-off): no pinned section keeps the room or the place ScrollTrigger gave
   it, and a rail is a plain scrolling row again. ---- */
html.fx-off .pin-spacer { inset: auto !important; width: auto !important; max-width: none !important; height: auto !important; max-height: none !important; padding: 0 !important; }
html.fx-off .pin-spacer > * { position: relative !important; inset: auto !important; width: auto !important; max-width: none !important; height: auto !important; transform: none !important; translate: none !important; }
html.fx-off [data-fx~="rail"] [data-fx-track] { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; translate: none !important; }

/* ---- Type: balanced headings that never hyphenate by themselves, section headings that break
   only between words (so a column never shrinks under their longest word), paragraphs without a
   lone last word, addresses that keep together. The first-screen title may still break a word
   too long for its line rather than run out of it; on phones a word too long for the line may
   be hyphenated rather than cut. ---- */
:where(li, dd, figcaption, blockquote) { text-wrap: pretty; }
@media (min-width: 641px) {
  h1, h2, h3, h4, h5, h6 { hyphens: manual; }
  h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
}
/* The shared section heading never shrinks under 14 characters beside its link; a direction
   that sets its own heading in a column keeps that column at least as wide. */
@media (min-width: 900px) {
  .sec-head h2 { min-inline-size: min(14ch, 46vw); }
}
:where(.contact-list dd, .footer-contacts dd, address) { text-wrap: balance; }

/* ---- Card grids without a lone card in a row ----
   The columns follow the number of cards (the shown ones: a filtered catalogue counts what it
   shows): 4 as 4 (2 + 2 on a laptop), 5 as 5 pictures or 3 + 2 text cards, 6 and 9 as rows of 3,
   7, 8, 11 and 12 as rows of 4, 10 as rows of 5; on a tablet two columns, and an odd last card
   on a phone or a tablet takes the whole row (its picture turning landscape). Cards of a row are
   as tall as each other, their price or link at the bottom. Specificity is kept at three classes
   (the :not(.fx-n) pair), so a plain ".dir-<id> .items" rule gives way and a direction's own count
   layout (four classes and more, as swiss has) wins. ---- */
.item-body { flex: 1 1 auto; }
.item-body > :is(.price, .item-more):last-child { margin-top: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 3vw, 40px) var(--gap); columns: auto; }
.gallery-item { margin-bottom: 0; }
@media (min-width: 641px) and (max-width: 899px) {
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(2 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px), (min-width: 641px) and (max-width: 899px) {
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track])) > :where(:nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])):not(:first-child)) { grid-column: 1 / -1; }
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .gallery):not([data-fx-track])) > :where(:nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])):not(:first-child)) :is(.item-media, .tile-media, .scene-media) { aspect-ratio: 16 / 9; }
}
@media (min-width: 900px) {
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(2 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(3 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n), :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(5 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n), :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(6 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n), :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(9 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(4 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(7 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n), :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(8 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n), :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(10 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n), :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(11 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n), :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(12 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .features, .steps, .plans, .gallery):not([data-fx-track]):has(> :nth-child(4 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .gallery):not([data-fx-track]):has(> :nth-child(5 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n), :where(:is(.ui-grid-grid .items, .ui-grid-rail .items:not([data-rail]), .items.items-related, .tiles, .gallery):not([data-fx-track]):has(> :nth-child(10 of :not([hidden])):nth-last-child(1 of :not([hidden])))):is(.items, .tiles, .features, .steps, .plans, .gallery):not(.fx-n):not(.fx-n) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---- Cards with the text over the picture (ui-card-overlay): a scrim strong enough for any
   photo (.85 at the foot, fading out well above the text), a label on one line, titles of at
   most two lines on phones. Only the text box's own padding and background carry the scrim, so a
   direction that sets the text under the picture (position: static; background: none; its own
   padding) leaves nothing of it behind. ---- */
.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body {
  padding: clamp(72px, 8vw, 112px) 16px 16px;
  background: linear-gradient(to top, rgb(0 0 0 / 85%) 0%, rgb(0 0 0 / 62%) 42%, rgb(0 0 0 / 0%) 100%);
}
.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-tag { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
}
.tile-name { background: linear-gradient(to top, rgb(0 0 0 / 82%), rgb(0 0 0 / 0%)); }

/* ---- Inner pages of a direction ----
   Contacts: the card and a picture of the brand's world (or a panel with its name) side by side,
   the form beside them when the site has one. Products, services and cases: the text in a reading
   column beside a card that stays in view. "What is included": the name of each item on a line
   of its own. Directions restyle all of it in their own style.css. */
.contact-wide { align-items: start; }
.contact-side { display: grid; gap: var(--gap); align-content: start; }
.contact-wide .contact-card { display: grid; align-content: start; gap: 18px; }
.contact-wide .contact-card h2 { margin-bottom: 0; font-size: min(calc(clamp(1.6rem, 2.6vw, 2.2rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(1.6rem, 2.6vw, 2.2rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.4))); }
.contact-wide .contact-list { gap: 18px; }
.contact-wide .contact-list dd { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.4; }
.contact-call { justify-self: start; }
.contact-visual { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.contact-brand { display: grid; place-items: end start; overflow: hidden; padding: clamp(20px, 3vw, 36px); background: var(--band); color: var(--on-band); }
.contact-brand-name {
  font-family: var(--font-display);
  font-size: calc(clamp(2.4rem, 6vw, 5.5rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: .95;
  text-transform: var(--head-case);
  overflow-wrap: anywhere;
}
@media (min-width: 860px) {
  .contact-wide:not(.has-form) { grid-template-columns: minmax(0, 1fr); }
  .contact-wide:not(.has-form) .contact-card { align-content: center; }
  .contact-wide:not(.has-form) .contact-side { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; }
  .contact-wide:not(.has-form) .contact-card { padding: clamp(28px, 4vw, 56px); }
  .contact-wide:not(.has-form) .contact-visual { aspect-ratio: auto; min-height: 100%; height: 100%; min-block-size: 360px; }
  .contact-wide.has-form .contact-side { position: sticky; top: 96px; }
}
.contact-next .cta-inner > div { max-width: 48rem; }

.detail-body { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(32px, 5vw, 64px); }
.product .detail-body { margin-top: clamp(40px, 6vw, 88px); }
.detail-main { min-width: 0; max-width: 68ch; }
.detail-main > .prose { margin-top: 0; }
.detail-main > .prose + .prose { margin-top: clamp(28px, 4vw, 48px); }
.detail-card { display: grid; gap: 14px; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.detail-card > .btn { justify-self: start; margin-top: 6px; }
.detail-card .price { display: block; font-size: 1.4rem; }
.detail-card .specs { margin-top: 0; }
.detail-card-name {
  font-family: var(--font-display);
  font-size: calc(1.3rem * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.15;
  text-transform: var(--head-case);
}
.detail-card h2 { margin: 0; }
.detail-toc { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: part; }
.detail-toc li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); counter-increment: part; }
.detail-toc li::before { content: counter(part, decimal-leading-zero); color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.detail-toc a { color: inherit; text-underline-offset: .2em; }
.includes li > span > strong { display: block; margin-bottom: 2px; }
.case-text h2[id], .detail-main h2[id] { scroll-margin-top: 110px; }
@media (min-width: 900px) {
  .detail-body { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); }
  .detail-body.is-solo { grid-template-columns: minmax(0, 68ch); justify-content: center; }
  .detail-side { position: sticky; top: 104px; }
  .read-grid { max-width: 1080px; margin-inline: auto; }
}

/* ---- Print and forced colours: everything shown, nothing in the way ---- */
@media print {
  .curtain, .grain { display: none !important; }
  [data-fx], [data-fx-item], [data-fx-card], .fx-w, .fx-wi, .fx-li, .fx-c, [data-fx~="clip"] :is(img, video) {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    scale: none !important;
    clip-path: none !important;
    filter: none !important;
  }
  [data-header] { position: static; transform: none; }
}
@media (forced-colors: active) {
  .grain { display: none; }
}
/* The live 3D scene of a first screen (premium/scenes.js). A direction places and sizes
   .stage3d; this keeps the canvas over the poster and fades the poster out once the scene has
   drawn its first frame (.is-live). Without JS, without WebGL or on a slow device the poster
   simply stays. */
.stage3d {
  position: relative;
  overflow: hidden;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.stage3d > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage3d[data-stage3d="object"] > img,
.stage3d[data-stage3d="shards"] > img,
.stage3d[data-stage3d="blob"] > img {
  object-fit: contain;
}
.stage3d > .stage3d-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.stage3d.is-live > .stage3d-canvas {
  opacity: 1;
}
.stage3d.is-live > img {
  opacity: 0;
}
/* The turned object can be spun by a horizontal drag; a vertical one still scrolls the page. */
.stage3d.is-live[data-stage3d="object"] {
  pointer-events: auto;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
}
.stage3d.is-live[data-stage3d="object"]:active {
  cursor: grabbing;
}
@media (prefers-reduced-motion: no-preference) {
  .stage3d > .stage3d-canvas {
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .stage3d > img {
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
  }
}
@media print {
  .stage3d > .stage3d-canvas {
    display: none;
  }
  .stage3d.is-live > img {
    opacity: 1;
  }
}
/* On a phone the drop stands behind the text, dimmed; a direction that gives it a place of its
   own sets --stage-dim: 1. */
@media (max-width: 640px) {
  .stage3d.is-live[data-stage3d="blob"] > .stage3d-canvas {
    opacity: var(--stage-dim, 0.5);
  }
}
/* ==========================================================================================
   Art direction: ARCADE. Sweet, glossy and bouncy, like a mobile game or a candy brand:
   chunky lettering with a candy extrusion, thick ink outlines, hard offset shadows, die-cut
   stickers tilted a few degrees, glossy game buttons that squash when pressed, wavy band edges,
   sprinkles and confetti. Text keeps to its colour pairs; the candy hues only decorate.
   ========================================================================================== */
.dir-arcade {
  --hl: #FFD43B;
  --hl-ink: var(--ink);
  --edge: var(--ink);
  --pop: var(--accent-text);
  --lip: var(--ink);
  --bw: 3px;
  --lift: 6px;
  --r-card: max(var(--radius), 24px);
  --r-in: max(calc(var(--radius) - 8px), 16px);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --spring-soft: cubic-bezier(.22, 1.28, .36, 1);
  --squash: cubic-bezier(.3, 0, .2, 1);
  --die: #fff;
  --k1: var(--accent);
  --k2: var(--accent-text);
  --k3: var(--band);
  --k4: var(--accent);
  --wave-h: clamp(14px, 2.2vw, 26px);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20V4C15 4 15 16 30 16S45 4 60 4S75 16 90 16S105 4 120 4V20Z'/%3E%3C/svg%3E");
  --sprinkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg%3E%3Crect x='24' y='30' width='26' height='9' rx='4.5' transform='rotate(32 37 34)'/%3E%3Crect x='168' y='22' width='26' height='9' rx='4.5' transform='rotate(-38 181 26)'/%3E%3Crect x='98' y='104' width='26' height='9' rx='4.5' transform='rotate(76 111 108)'/%3E%3Crect x='206' y='132' width='26' height='9' rx='4.5' transform='rotate(12 219 136)'/%3E%3Crect x='40' y='186' width='26' height='9' rx='4.5' transform='rotate(-62 53 190)'/%3E%3Crect x='140' y='210' width='26' height='9' rx='4.5' transform='rotate(48 153 214)'/%3E%3Ccircle cx='78' cy='96' r='5.5'/%3E%3Ccircle cx='214' cy='70' r='4.5'/%3E%3Ccircle cx='120' cy='176' r='5.5'/%3E%3Ccircle cx='22' cy='128' r='4.5'/%3E%3Ccircle cx='240' cy='232' r='5'/%3E%3C/g%3E%3C/svg%3E");
  --polka: radial-gradient(color-mix(in oklab, var(--ink) 9%, transparent) 1.6px, transparent 2.2px);
  --fx-grain: 0.025;
}
/* Candy hues around the accent, for sprinkles, confetti and candies only (never text). */
@supports (color: oklch(from red l c h)) {
  .dir-arcade {
    --k2: oklch(from var(--accent) max(l, 0.72) max(c, 0.14) calc(h + 150));
    --k3: oklch(from var(--accent) max(l, 0.8) max(c, 0.13) calc(h + 70));
    --k4: oklch(from var(--accent) max(l, 0.66) max(c, 0.15) calc(h - 75));
  }
}

/* ---- Type ------------------------------------------------------------------------------- */
.dir-arcade h1, .dir-arcade h2, .dir-arcade h3 { line-height: 1.02; }
.dir-arcade h2 { font-size: min(calc(clamp(2.1rem, 5vw, 4.1rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.1rem, 5vw, 4.1rem) * var(--head-size) * var(--tk-keep, 1)), calc(min(46rem, var(--tk-col, 100vw)) / (var(--tk-word, 20) * var(--tk-cw, 0.62))))); }
.dir-arcade h3 { line-height: 1.14; }
.dir-arcade .lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); }
.dir-arcade .prose a, .dir-arcade .faq-a a, .dir-arcade .contact-list a {
  text-decoration: underline wavy var(--accent-text);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em;
}

/* ---- Buttons: glossy game buttons that squash when pressed ------------------------------ */
.dir-arcade .btn {
  position: relative;
  isolation: isolate;
  min-height: 50px;
  padding: 10px 24px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  font-family: var(--font-display);
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: 0;
  text-transform: var(--head-case);
  box-shadow: 0 5px 0 var(--lip);
  transform: none;
  transition: translate 0.45s var(--spring), scale 0.45s var(--spring), box-shadow 0.45s var(--spring), background-color 0.2s, color 0.2s;
}
/* The candy shine: a short streak in the top padding, clear of the letters. */
.dir-arcade .btn::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 18px;
  width: min(30%, 64px);
  height: 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / 55%);
  pointer-events: none;
}
.dir-arcade .btn-lg { min-height: 58px; padding: 12px 30px; font-size: 1.06rem; }
.dir-arcade .btn-ghost { border-color: var(--edge); background: var(--bg); color: var(--ink); }
.dir-arcade .btn-invert { background: var(--on-accent); color: var(--accent); }
@media (hover: hover) {
  .dir-arcade .btn:hover { translate: 0 -3px; box-shadow: 0 8px 0 var(--lip); }
}
.dir-arcade .btn:active {
  translate: 0 4px;
  scale: 1.04 0.94;
  box-shadow: 0 1px 0 var(--lip);
  transition-duration: 0.08s;
}
.dir-arcade .a-cta { padding-right: 12px; }
.dir-arcade .a-cta-icon {
  display: grid;
  flex: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--on-accent);
  color: var(--accent);
  transition: rotate 0.5s var(--spring), translate 0.5s var(--spring);
}
@media (hover: hover) {
  .dir-arcade .a-cta:hover .a-cta-icon { rotate: -20deg; translate: 3px 0; }
}
.dir-arcade .a-cta--play { min-height: 66px; padding: 12px 14px 12px 34px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); box-shadow: 0 7px 0 var(--lip); }
.dir-arcade .a-cta--play::after {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border: var(--bw) solid var(--accent);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.dir-arcade .link-more {
  min-height: 44px;
  padding: 8px 18px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: var(--head-weight);
  text-decoration: none;
  box-shadow: 0 4px 0 var(--edge);
  transition: translate 0.4s var(--spring), box-shadow 0.4s var(--spring);
}
@media (hover: hover) {
  .dir-arcade .link-more:hover { translate: 0 -2px; box-shadow: 0 6px 0 var(--edge); }
}
.dir-arcade .link-more:active { translate: 0 3px; box-shadow: 0 1px 0 var(--edge); }

/* ---- Header: a floating game bar -------------------------------------------------------- */
.dir-arcade .header,
.dir-arcade.ui-header-capsule .header {
  top: 0;
  margin: 0;
  padding-top: 10px;
  border: 0;
  background: transparent;
  transition: transform 0.5s var(--spring);
}
.dir-arcade .header-row,
.dir-arcade.ui-header-capsule .header-row {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  min-height: 62px;
  padding: 6px 8px 6px 12px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--edge);
}
.dir-arcade .brand { font-size: calc(1.25rem * var(--head-size)); }
.dir-arcade .header .brand { color: var(--ink); }
.dir-arcade .brand-tile {
  width: 40px;
  height: 40px;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  rotate: -8deg;
  transition: rotate 0.5s var(--spring);
}
.dir-arcade .brand-mark { width: 40px; height: 40px; }
@media (hover: hover) {
  .dir-arcade .brand:hover :is(.brand-tile, .brand-mark) { rotate: 8deg; }
}
.dir-arcade .brand-mark { transition: rotate 0.5s var(--spring); }
.dir-arcade .nav-links { gap: 2px; }
.dir-arcade .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px clamp(9px, 1vw, 14px);
  white-space: nowrap;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  transition: background-color 0.2s, rotate 0.4s var(--spring);
}
.dir-arcade .nav-links a:hover { background: var(--surface); color: var(--ink); rotate: -3deg; }
.dir-arcade .nav-links a[aria-current="page"] { background: var(--accent); color: var(--on-accent); text-decoration: none; }
.dir-arcade .nav-menu summary,
.dir-arcade .lang-menu summary {
  min-height: 44px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  font-weight: 800;
}
.dir-arcade .nav-menu summary { background: var(--accent); color: var(--on-accent); }
.dir-arcade .lang-menu summary { background: var(--bg); color: var(--ink); }
.dir-arcade .nav-menu > ul,
.dir-arcade .lang-menu > ul {
  border: var(--bw) solid var(--edge);
  border-radius: 24px;
  background: var(--bg);
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
}
.dir-arcade .nav-menu > ul a,
.dir-arcade .lang-menu > ul a { border-radius: 16px; font-weight: 700; }
.dir-arcade .nav-menu > ul a:hover,
.dir-arcade .lang-menu > ul a:hover { background: var(--surface); }
.dir-arcade .header-cta { min-height: 44px; padding: 6px 18px; font-size: 0.92rem; box-shadow: 0 4px 0 var(--lip); }
/* One row in every header variant: the brand, the links (never broken inside a word), the call
   (only where the row has room for it; the first screen has the same call). */
@media (min-width: 860px) {
  .dir-arcade:is(.ui-header-center, .ui-header-split) .header-row { display: flex; flex-wrap: nowrap; justify-content: flex-start; padding-block: 6px; }
  .dir-arcade:is(.ui-header-center, .ui-header-split) .brand { order: 0; width: auto; justify-content: flex-start; font-size: calc(1.25rem * var(--head-size)); }
  .dir-arcade:is(.ui-header-center, .ui-header-split) .nav { order: 0; margin: 0 0 0 auto; }
  .dir-arcade:is(.ui-header-center, .ui-header-split) .header-cta { order: 0; }
}
.dir-arcade .header-cta { display: none; }
@media (min-width: 1280px) {
  .dir-arcade .header-cta { display: inline-flex; }
}

/* ---- Sections: colour bands with wavy edges --------------------------------------------- */
.dir-arcade main > :is(.section, .cta-band) { position: relative; }
.dir-arcade main > .section { background-color: var(--bg); }
.dir-arcade main > .section.section-alt { background-color: var(--surface); }
.dir-arcade main > .section.section-band { background-color: var(--band); }
.dir-arcade main > .section.a-band { background-color: var(--accent); color: var(--on-accent); }
/* Each band draws its own wavy top over the band before it, in its own colour. */
.dir-arcade main > :is(.section, .cta-band)::before,
.dir-arcade .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: var(--wave-h);
  background: inherit;
  -webkit-mask: var(--wave) left bottom / calc(var(--wave-h) * 6) 100% repeat-x;
  mask: var(--wave) left bottom / calc(var(--wave-h) * 6) 100% repeat-x;
  pointer-events: none;
}
.dir-arcade main > .section.section-alt::before { -webkit-mask-position: 37% bottom; mask-position: 37% bottom; }
.dir-arcade main > .section.section-band::before { -webkit-mask-position: 71% bottom; mask-position: 71% bottom; }
.dir-arcade .sec-head { margin-bottom: clamp(30px, 4.5vw, 58px); }
.dir-arcade .sec-head h2 { max-width: calc(18ch * var(--chs, 1)); }
.dir-arcade.ui-head-center .sec-head h2 { margin-inline: auto; }
.dir-arcade .sec-no {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 16px;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: var(--head-weight);
  rotate: -10deg;
  box-shadow: 3px 3px 0 var(--edge);
}
.dir-arcade.ui-head-rule .sec-head { padding-top: 22px; border-top: var(--bw) dashed currentColor; }

/* ---- Product, offer and article cards: tilted stickers ----------------------------------- */
.dir-arcade .items { gap: clamp(22px, 3vw, 36px); }
.dir-arcade .item { --tilt: 0deg; }
.dir-arcade:not(.ui-grid-rows, .ui-grid-list) .item:nth-child(4n + 1),
.dir-arcade .items-related > .item:nth-child(4n + 1) { --tilt: -1.6deg; }
.dir-arcade:not(.ui-grid-rows, .ui-grid-list) .item:nth-child(4n + 2),
.dir-arcade .items-related > .item:nth-child(4n + 2) { --tilt: 1.1deg; }
.dir-arcade:not(.ui-grid-rows, .ui-grid-list) .item:nth-child(4n + 3),
.dir-arcade .items-related > .item:nth-child(4n + 3) { --tilt: -0.7deg; }
.dir-arcade:not(.ui-grid-rows, .ui-grid-list) .item:nth-child(4n),
.dir-arcade .items-related > .item:nth-child(4n) { --tilt: 1.7deg; }
.dir-arcade .item-link,
.dir-arcade.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-link {
  position: relative;
  overflow: visible;
  padding: 10px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  background: var(--bg);
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
  rotate: var(--tilt);
  transition: translate 0.5s var(--spring), rotate 0.5s var(--spring), scale 0.5s var(--spring), box-shadow 0.5s var(--spring);
}
.dir-arcade .item-link .media,
.dir-arcade.ui-card-boxed .media { border-radius: var(--r-in); }
@media (hover: hover) {
  .dir-arcade .item-link:hover {
    rotate: 0deg;
    translate: -3px -6px;
    scale: 1.02;
    box-shadow: calc(var(--lift) + 5px) calc(var(--lift) + 8px) 0 var(--pop);
  }
  .dir-arcade .item-link:hover .price:not(.price-ask) { rotate: 4deg; scale: 1.08; }
}
.dir-arcade .item-link:active { translate: 2px 3px; box-shadow: 2px 2px 0 var(--pop); transition-duration: 0.1s; }
.dir-arcade .item-body,
.dir-arcade.ui-card-boxed .item-body,
.dir-arcade.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body {
  position: static;
  gap: 8px;
  padding: 14px 8px 8px;
  background: none;
  color: inherit;
}
.dir-arcade.ui-card-caption .item-body { margin-top: 0; border-top: 0; }
.dir-arcade.ui-card-caption .item-title {
  font-family: var(--font-display);
  font-size: calc(1.2rem * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  text-transform: var(--head-case);
}
.dir-arcade .item-title { font-size: calc(1.2rem * var(--head-size)); }
.dir-arcade .item-tag,
.dir-arcade.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body .item-tag {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}
.dir-arcade.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body .item-text { color: var(--muted); }
.dir-arcade.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body .item-more { color: var(--accent-text); }
.dir-arcade .price,
.dir-arcade.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body .price {
  display: inline-flex;
  align-self: flex-start;
  justify-self: start;
  width: fit-content;
  padding: 3px 14px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: var(--head-weight);
  white-space: nowrap;
  rotate: -3deg;
  box-shadow: 2px 3px 0 var(--edge);
  transition: rotate 0.5s var(--spring), scale 0.5s var(--spring);
}
@media (max-width: 520px) {
  .dir-arcade .items .price:not(.price-ask) { padding-inline: 10px; font-size: 0.95rem; }
}
.dir-arcade .price-ask,
.dir-arcade.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body .price-ask {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  rotate: none;
  box-shadow: none;
}
.dir-arcade .item-more { font-weight: 800; }
.dir-arcade.ui-grid-list .items:not(.items-related) { gap: 18px; border-top: 0; }
.dir-arcade.ui-grid-list .items:not(.items-related) .item { border-bottom: 0; }
.dir-arcade.ui-grid-list .items:not(.items-related) .item-link { padding: 10px 18px 10px 10px; }
.dir-arcade.ui-grid-rows .items:not(.items-related) .item-link { padding: clamp(10px, 1.6vw, 18px); }
.dir-arcade.ui-grid-rail [data-rail] { gap: clamp(20px, 3vw, 32px); padding: 12px 16px 26px 6px; }
@media (min-width: 760px) {
  .dir-arcade.ui-grid-feature .items:not(.items-related) > .item:first-child { --tilt: -1deg; }
}

/* ---- Categories: round candy buttons with a label sticker -------------------------------- */
.dir-arcade .tiles { gap: clamp(26px, 4vw, 52px) clamp(16px, 3vw, 40px); }
.dir-arcade .tile-link {
  display: grid;
  justify-items: center;
  overflow: visible;
  border-radius: 0;
  color: var(--ink);
}
.dir-arcade .tile-media {
  width: 100%;
  aspect-ratio: 1;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
  transition: rotate 0.6s var(--spring), scale 0.6s var(--spring);
}
.dir-arcade .tile-name {
  position: relative;
  inset: auto;
  z-index: 1;
  justify-content: center;
  max-width: calc(100% + 12px);
  margin-top: -30px;
  padding: 10px 18px;
  border: var(--bw) solid var(--edge);
  border-radius: 28px;
  background: var(--bg);
  color: var(--ink);
  font-size: calc(1.02rem * var(--head-size));
  line-height: 1.12;
  text-align: center;
  /* A label breaks between words, never inside one ("individuale / s"). */
  overflow-wrap: break-word;
  hyphens: manual;
  box-shadow: 0 4px 0 var(--edge);
  transition: rotate 0.5s var(--spring);
}
@media (max-width: 420px) {
  .dir-arcade .tile-name { padding: 8px 12px; font-size: calc(0.9rem * var(--head-size)); }
}
.dir-arcade .tile:nth-child(even) { translate: 0 min(3vw, 34px); }
.dir-arcade .tile:nth-child(3n + 1) .tile-name { rotate: -2deg; }
.dir-arcade .tile:nth-child(3n + 2) .tile-name { rotate: 2deg; }
@media (hover: hover) {
  .dir-arcade .tile-link:hover .tile-media { rotate: 7deg; scale: 1.04; }
  .dir-arcade .tile-link:hover .tile-name { rotate: -4deg; }
}

/* ---- Benefits, values, promises: candy cards scattered off the grid --------------------- */
.dir-arcade .features { gap: clamp(22px, 3vw, 34px); align-items: start; }
.dir-arcade .feature {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  background: var(--bg);
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
  transition: translate 0.5s var(--spring), rotate 0.5s var(--spring), box-shadow 0.5s var(--spring);
}
.dir-arcade .section-alt .feature { background: var(--bg); }
.dir-arcade .feature h3 { margin: 18px 0 8px; }
.dir-arcade .feature-icon,
.dir-arcade .section-alt .feature-icon {
  width: 62px;
  height: 62px;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  rotate: -8deg;
  box-shadow: 3px 3px 0 var(--edge);
}
.dir-arcade .feature:nth-child(3n + 2) .feature-icon { background: var(--band); color: var(--on-band); rotate: 7deg; }
.dir-arcade .feature:nth-child(3n) .feature-icon { background: var(--surface); color: var(--accent-text); rotate: -3deg; }
@media (hover: hover) {
  .dir-arcade .feature:hover { rotate: -1deg; transform: none; box-shadow: calc(var(--lift) + 4px) calc(var(--lift) + 6px) 0 var(--pop); }
}
@media (min-width: 760px) {
  .dir-arcade .features:not(.features-line) > .feature:nth-child(even) { translate: 0 34px; }
  .dir-arcade .features:not(.features-line) { padding-bottom: 34px; }
}
.dir-arcade .features-line .feature,
.dir-arcade .section-alt .features-line .feature {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  translate: none;
}
.dir-arcade .features-line .feature h3 { margin-top: 14px; }

/* ---- Steps: a game path with numbered coins --------------------------------------------- */
.dir-arcade .steps { gap: clamp(26px, 3vw, 40px); }
.dir-arcade .step { position: relative; padding: 0; border-top: 0; }
.dir-arcade .step-no {
  position: relative;
  z-index: 1;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: var(--head-weight);
  box-shadow: 0 6px 0 var(--lip);
}
.dir-arcade .step:nth-child(even) .step-no { background: var(--band); color: var(--on-band); }
.dir-arcade .step h3 { margin: 20px 0 8px; }
/* The path between two coins (on a row of steps only). */
@media (min-width: 900px) {
  .dir-arcade .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 86px;
    right: -12px;
    top: 35px;
    border-top: 4px dashed var(--edge);
    opacity: 0.55;
  }
}
.dir-arcade .how-steps { gap: clamp(18px, 3vw, 28px); }
.dir-arcade .how-steps::before { display: none; }
.dir-arcade .how-step {
  padding: clamp(18px, 3vw, 30px);
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  background: var(--bg);
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
}
.dir-arcade .how-step .step-no { width: 62px; height: 62px; font-size: 1.3rem; }

/* ---- Plans ------------------------------------------------------------------------------- */
.dir-arcade .plans { gap: clamp(22px, 3vw, 34px); align-items: start; }
.dir-arcade .plan {
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  background: var(--bg);
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
  transition: translate 0.5s var(--spring), rotate 0.5s var(--spring), box-shadow 0.5s var(--spring);
}
.dir-arcade .plan .price { font-size: calc(1.5rem * var(--head-size)); }
.dir-arcade .plan:nth-child(3n + 2) { background: var(--surface); rotate: 1deg; }
@media (hover: hover) {
  .dir-arcade .plan:hover { rotate: -1deg; transform: none; box-shadow: calc(var(--lift) + 4px) calc(var(--lift) + 6px) 0 var(--pop); }
}

/* ---- Pictures in a row: polaroid stickers ------------------------------------------------ */
.dir-arcade .scenes { gap: clamp(20px, 3vw, 34px); padding-block: 18px 34px; }
.dir-arcade .scene {
  padding: 10px 10px 16px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  background: var(--bg);
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
  rotate: -2deg;
}
.dir-arcade .scene:nth-child(even) { rotate: 1.6deg; }
.dir-arcade .scene .media { border-radius: var(--r-in); }
.dir-arcade .scene-caption,
.dir-arcade .section-band .scene .scene-caption { padding-inline: 6px; color: var(--ink); font-size: 1.04rem; font-weight: 700; line-height: 1.35; }
/* The row scrolls sideways: a candy scroll bar under it says so, and a card cut by the edge
   fades out in the margin instead of ending in a hard cut (at the end of the row nothing is
   faded: the last card stops where the fade begins). */
.dir-arcade .scenes {
  scrollbar-width: auto;
  scrollbar-color: var(--accent) color-mix(in oklab, currentColor 14%, transparent);
  --fade: max(var(--gutter), (100vw - var(--maxw)) / 2);
  -webkit-mask: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent);
  mask: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent);
}
.dir-arcade .section-band .scenes { scrollbar-color: var(--hl) color-mix(in oklab, var(--on-band) 18%, transparent); }
.dir-arcade .gallery-item {
  padding: 10px 10px 18px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  background: var(--bg);
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
}
.dir-arcade .gallery-item:nth-child(odd) { rotate: -1.2deg; }
.dir-arcade .gallery-item:nth-child(even) { rotate: 1.2deg; }
.dir-arcade .gallery-item .media { border-radius: var(--r-in); }
.dir-arcade .gallery-title,
.dir-arcade .gallery-item .scene-caption { padding-inline: 6px; }

/* ---- Text beside a picture: the picture in a candy blob ---------------------------------- */
.dir-arcade .duo-media {
  border: var(--bw) solid var(--edge);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: 12px 12px 0 var(--pop);
  rotate: -2deg;
}
.dir-arcade .duo-copy h2 { font-size: min(calc(clamp(2rem, 4.4vw, 3.6rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2rem, 4.4vw, 3.6rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.45))); }
.dir-arcade .duo-copy .link-more { margin-top: 26px; }

/* ---- The statement band ------------------------------------------------------------------ */
.dir-arcade .a-manifesto { overflow-x: clip; text-align: center; }
.dir-arcade .a-manifesto-inner { position: relative; z-index: 1; }
.dir-arcade .a-manifesto-line {
  max-width: calc(21ch * var(--chs, 1));
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: calc(clamp(2.1rem, 5.6vw, 4.9rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.04;
  text-transform: var(--head-case);
  text-wrap: balance;
}
.dir-arcade .a-manifesto-note { max-width: 40rem; margin: 26px auto 0; font-size: 1.12rem; }
.dir-arcade .a-candies { position: absolute; inset: 0; pointer-events: none; }
.dir-arcade .a-candy {
  position: absolute;
  width: clamp(46px, 7vw, 96px);
  aspect-ratio: 1;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  box-shadow: 4px 5px 0 var(--edge);
}
.dir-arcade .a-candy--1 { left: 5%; top: 16%; background: repeating-conic-gradient(var(--bg) 0 22.5deg, var(--k2) 22.5deg 45deg); rotate: 12deg; }
.dir-arcade .a-candy--2 { right: 7%; top: 10%; width: clamp(34px, 5vw, 70px); background: radial-gradient(circle at 34% 30%, rgb(255 255 255 / 75%) 0 12%, transparent 13%), var(--k3); }
.dir-arcade .a-candy--3 { left: 10%; bottom: 10%; width: clamp(30px, 4vw, 58px); background: radial-gradient(circle at 34% 30%, rgb(255 255 255 / 75%) 0 12%, transparent 13%), var(--k4); }
.dir-arcade .a-candy--4 { right: 4%; bottom: 14%; background: radial-gradient(circle, transparent 0 24%, var(--edge) 25% 30%, var(--bg) 31%); rotate: -10deg; }
@media (max-width: 759px) {
  .dir-arcade .a-candy--1 { left: -12px; top: 18px; }
  .dir-arcade .a-candy--4 { right: -14px; bottom: 18px; }
  .dir-arcade .a-candy--2, .dir-arcade .a-candy--3 { display: none; }
}

/* ---- Ticker: a candy tape across the page, a plain one crossing under it ----------------- */
.dir-arcade .a-tape-wrap { position: relative; overflow-x: clip; padding-block: clamp(36px, 6vw, 72px); }
.dir-arcade .a-tape-wrap--cross::before {
  content: "";
  position: absolute;
  left: -4vw;
  right: -4vw;
  top: 50%;
  height: clamp(44px, 5vw, 62px);
  margin-top: calc(clamp(44px, 5vw, 62px) / -2);
  border-block: var(--bw) solid var(--edge);
  background: var(--k3);
  rotate: 2.2deg;
}
.dir-arcade .a-tape {
  position: relative;
  overflow: hidden;
  margin-inline: -4vw;
  padding-block: 12px;
  border-block: var(--bw) solid var(--edge);
  background: var(--accent);
  color: var(--on-accent);
  rotate: -2.2deg;
  box-shadow: 0 6px 0 var(--edge);
}
.dir-arcade .a-tape-row {
  display: flex;
  flex: none;
  gap: 0;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  line-height: 1.2;
  text-transform: var(--head-case);
  white-space: nowrap;
}
.dir-arcade .a-tape-row li { display: inline-flex; align-items: center; }
.dir-arcade .a-tape-row li::after {
  content: "\2726" / "";
  margin-inline: 0.7em;
  font-size: 0.8em;
}

/* ---- Questions --------------------------------------------------------------------------- */
.dir-arcade .faq details {
  margin-bottom: 14px;
  padding: 2px clamp(16px, 2.4vw, 24px);
  border: var(--bw) solid var(--edge);
  border-radius: 26px;
  background: var(--bg);
  box-shadow: 0 5px 0 var(--edge);
}
.dir-arcade .faq details[open] { background: var(--surface); }
.dir-arcade .faq summary { min-height: 60px; font-family: var(--font-display); font-size: 1.08rem; font-style: var(--head-style); font-weight: var(--head-weight); }
.dir-arcade .faq-mark {
  width: 34px;
  height: 34px;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  transition: rotate 0.5s var(--spring);
}
.dir-arcade .faq-mark::before,
.dir-arcade .faq-mark::after { left: 50%; top: 50%; width: 14px; height: 3px; margin: -1.5px 0 0 -7px; border-radius: 2px; }
.dir-arcade .faq details[open] .faq-mark { rotate: 180deg; }

/* ---- Closing band and footer ------------------------------------------------------------- */
.dir-arcade .cta-band {
  overflow-x: clip;
  padding-block: calc(clamp(70px, 10vw, 132px) * var(--density, 1));
  text-align: center;
}
.dir-arcade .cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--k3);
  opacity: 0.45;
  -webkit-mask: var(--sprinkle) 0 0 / 300px 300px repeat, linear-gradient(90deg, #000 0 14%, transparent 32% 68%, #000 86%);
  -webkit-mask-composite: source-in;
  mask: var(--sprinkle) 0 0 / 300px 300px repeat intersect, linear-gradient(90deg, #000 0 14%, transparent 32% 68%, #000 86%);
  pointer-events: none;
}
.dir-arcade .cta-inner { position: relative; z-index: 1; flex-direction: column; justify-content: center; gap: 30px; }
.dir-arcade .cta-inner > div { max-width: 46rem; }
.dir-arcade .cta-band h2 { font-size: min(calc(clamp(2.3rem, 6vw, 5rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.3rem, 6vw, 5rem) * var(--head-size) * var(--tk-keep, 1)), calc(min(46rem, var(--tk-col, 100vw)) / (var(--tk-word, 20) * var(--tk-cw, 0.62))))); }
.dir-arcade .cta-text { margin-top: 16px; font-size: 1.12rem; }
.dir-arcade .footer { position: relative; padding-top: clamp(60px, 8vw, 104px); }
.dir-arcade .footer-giant {
  font-size: clamp(3.4rem, 15vw, 13rem);
  line-height: 0.92;
  text-shadow: 0.025em 0.03em 0 var(--accent), 0.05em 0.06em 0 var(--accent);
}
.dir-arcade .footer .brand-tile { border-color: var(--on-band); }
.dir-arcade .footer a:hover { text-decoration: underline wavy; text-underline-offset: 0.25em; }
.dir-arcade .footer-base { border-top: var(--bw) dashed currentColor; }
.dir-arcade .footer-top {
  padding: 4px 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
}

/* ---- Inner pages ------------------------------------------------------------------------- */
.dir-arcade .page-head {
  position: relative;
  overflow-x: clip;
  padding-block: calc(clamp(32px, 5vw, 72px) * var(--density, 1)) calc(clamp(52px, 7vw, 96px) * var(--density, 1));
  background-color: var(--surface);
  background-image: var(--polka);
  background-size: 22px 22px;
}
.dir-arcade .page-head h1 {
  font-size: min(calc(clamp(2.6rem, 7vw, 5.8rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.6rem, 7vw, 5.8rem) * var(--head-size) * var(--tk-keep, 1)), var(--tk-cap, 999px)));
  line-height: 0.98;
  text-shadow: 0.025em 0.03em 0 var(--pop), 0.05em 0.06em 0 var(--pop);
}
.dir-arcade .page-head .lead { margin-top: 22px; }
.dir-arcade .crumbs { margin-bottom: 22px; font-weight: 700; }
.dir-arcade .crumbs ol { gap: 8px 6px; }
.dir-arcade .crumbs a,
.dir-arcade .crumbs [aria-current="page"] {
  display: inline-block;
  padding: 3px 12px;
  border: 2px solid var(--edge);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
}
.dir-arcade .crumbs li + li::before { content: "\2192" / ""; margin-right: 6px; }
.dir-arcade .notfound-code {
  color: var(--ink);
  font-size: clamp(5rem, 18vw, 12rem);
  text-shadow: 0.03em 0.04em 0 var(--pop), 0.06em 0.08em 0 var(--pop);
}
.dir-arcade .notfound-links a { font-weight: 800; }
.dir-arcade .product-media,
.dir-arcade .wide-media {
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  box-shadow: 12px 12px 0 var(--pop);
}
.dir-arcade .product-media { rotate: -1.5deg; }
.dir-arcade .product-copy h1 { font-size: min(calc(clamp(2.2rem, 4.6vw, 3.8rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.2rem, 4.6vw, 3.8rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.45))); }
.dir-arcade .product-copy .price { font-size: 1.5rem; padding: 6px 18px; }
.dir-arcade .specs {
  padding: 4px 18px;
  border: var(--bw) solid var(--edge);
  border-radius: 22px;
  background: var(--surface);
}
.dir-arcade .specs > div { border-bottom: 2px dashed var(--line); }
.dir-arcade .specs > div:last-child { border-bottom: 0; }
.dir-arcade .chip {
  border: var(--bw) solid var(--edge);
  font-weight: 800;
  transition: translate 0.35s var(--spring), rotate 0.35s var(--spring);
}
.dir-arcade .chip:hover { rotate: -3deg; }
.dir-arcade .chip[aria-pressed="true"] { border-color: var(--edge); box-shadow: 0 4px 0 var(--lip); }
.dir-arcade .sort select,
.dir-arcade .field input,
.dir-arcade .field textarea {
  min-height: 52px;
  padding: 12px 16px;
  border: var(--bw) solid var(--edge);
  border-radius: 18px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--edge);
}
.dir-arcade .field textarea { border-radius: 22px; }
.dir-arcade .field input:focus,
.dir-arcade .field textarea:focus,
.dir-arcade .sort select:focus { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.dir-arcade .field label { font-weight: 800; }
.dir-arcade .contact-card,
.dir-arcade .toc {
  padding: clamp(20px, 3vw, 32px);
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--lift) var(--lift) 0 var(--pop);
}
.dir-arcade .toc { align-self: start; }
.dir-arcade .read-bar { height: 7px; border-radius: 0 999px 999px 0; background: var(--accent); }
.dir-arcade .includes .icon {
  box-sizing: content-box;
  padding: 4px;
  border: 2px solid var(--edge);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}
.dir-arcade .curtain { background: var(--accent); color: var(--on-accent); }
.dir-arcade .curtain-name { text-shadow: 0.03em 0.04em 0 var(--lip), 0.06em 0.08em 0 var(--lip); }
.dir-arcade .curtain-line { height: 8px; border-radius: 999px; background: var(--on-accent); }

/* ---- First screen ------------------------------------------------------------------------ */
/* The colours of the screen: its field, the title's fill, outline and extrusion, the panel. */
.dir-arcade .a-hero {
  --h-bg: var(--accent);
  --h-glow-a: color-mix(in oklab, var(--accent) 66%, #fff);
  --h-glow-b: color-mix(in oklab, var(--accent) 62%, #000);
  --h-fill: var(--on-accent);
  --h-stroke: var(--ink);
  --h-sw: 0.085em;
  --h-shadow: var(--ink);
  --h-line: var(--ink);
  --h-panel: var(--bg);
  --h-badge: var(--bg);
  --h-badge-ink: var(--ink);
  --a-hdr: 72px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100svh;
  /* The screen starts under the floating header bar (pulled up a little more than the bar is
     tall, so a taller bar never shows a strip of the page above it) and keeps the bottom free for
     the tape and the cookie notice. */
  --a-pull: calc(var(--a-hdr) + 64px);
  margin-top: calc(-1 * var(--a-pull));
  padding: calc(var(--a-pull) + clamp(14px, 3vh, 40px)) 0 var(--fold-safe, 96px);
  background:
    radial-gradient(64% 58% at 86% 12%, var(--h-glow-a), transparent 70%),
    radial-gradient(58% 64% at 4% 98%, var(--h-glow-b), transparent 72%),
    var(--h-bg);
  color: var(--ink);
}
.dir-arcade .a-hero > * { min-width: 0; }
.dir-arcade .a-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.dir-arcade .a-blob {
  position: absolute;
  width: 44vmax;
  aspect-ratio: 1;
  border-radius: 50%;
}
.dir-arcade .a-blob--1 { left: -18vmax; top: -20vmax; background: radial-gradient(circle at 60% 60%, color-mix(in oklab, var(--k2) 30%, transparent), transparent 66%); }
.dir-arcade .a-blob--2 { right: -20vmax; bottom: -24vmax; background: radial-gradient(circle at 40% 40%, color-mix(in oklab, var(--k4) 26%, transparent), transparent 66%); }
/* Sugar: a fine grid of light dots fading out of the top-right light. */
.dir-arcade .a-sugar {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 24%) 1.3px, transparent 1.9px);
  background-size: 26px 26px;
  -webkit-mask: radial-gradient(72% 72% at 80% 22%, #000, transparent 72%);
  mask: radial-gradient(72% 72% at 80% 22%, #000, transparent 72%);
}
/* Glossy gumballs: the still picture of the candy scene (they leave when it draws). */
.dir-arcade .a-gum {
  position: absolute;
  width: var(--s, 60px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 27%, rgb(255 255 255 / 92%) 0 9%, rgb(255 255 255 / 0%) 26%),
    radial-gradient(circle at 64% 72%, transparent 38%, rgb(0 0 0 / 26%) 100%),
    var(--c, var(--k3));
  box-shadow: 0 10px 22px -8px rgb(0 0 0 / 35%);
  transition: opacity 0.8s ease-out;
}
.dir-arcade .a-gum--1 { --s: clamp(34px, 5vw, 72px); --c: var(--k3); left: 3%; top: 64%; }
.dir-arcade .a-gum--2 { --s: clamp(22px, 3vw, 40px); --c: var(--k2); left: 46%; top: 11%; }
.dir-arcade .a-gum--3 { --s: clamp(40px, 6vw, 88px); --c: var(--k4); right: 2%; top: 56%; }
.dir-arcade .a-gum--4 { --s: clamp(26px, 3.4vw, 50px); --c: var(--k2); left: 56%; bottom: 9%; }
.dir-arcade .a-hero:has(.stage3d.is-live) .a-gum { opacity: 0; }
.dir-arcade .a-blob { display: none; }
.dir-arcade .a-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  --s1: var(--k3);
  --s2: var(--k2);
  --s3: var(--k4);
}
.dir-arcade .a-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0;
  padding: 7px 18px 7px 12px;
  border: var(--bw) solid var(--h-line);
  border-radius: 999px;
  background: var(--h-badge);
  color: var(--h-badge-ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--head-weight);
  line-height: 1.25;
  rotate: -2.5deg;
  box-shadow: 3px 4px 0 var(--h-line);
}
.dir-arcade .a-badge::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
/* The title: chunky letters with an outline under the fill and a hard extrusion, as large as the
   main part and its longest word allow; the accent part rides below on a tilted pill. */
.dir-arcade .a-title {
  --room: min(100vw - 2 * var(--gutter), var(--maxw));
  --span: 1;
  --lines: 3.2;
  margin: 0;
  color: var(--h-fill);
  font-size: clamp(min(var(--title-min, 2.1rem), calc(var(--room) * var(--span) / (var(--longest) * var(--cw) * 1.06))), min(calc(var(--room) * var(--span) / (var(--longest) * var(--cw) * 1.06)), calc(var(--room) * var(--span) * var(--lines) / (var(--chars) * var(--cw) * 1.12))), var(--title-max, calc(6.5rem * var(--head-scale, 1))));
  line-height: 1.02;
  letter-spacing: min(var(--head-track), -0.01em);
  -webkit-text-stroke: var(--h-sw) var(--h-stroke);
  paint-order: stroke fill;
  text-shadow: 0 0.075em 0 var(--h-shadow);
  text-wrap: balance;
}
.dir-arcade .a-title .a-w { display: inline-block; white-space: nowrap; transform-origin: 50% 85%; }
.dir-arcade .a-title .ac {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.42em;
  padding: 0.12em 0.5em 0.16em;
  border: var(--bw) solid var(--hl-ink);
  border-radius: 0.42em;
  background: var(--hl);
  color: var(--hl-ink);
  font-size: clamp(1.05rem, min(0.4em, calc(var(--room) * var(--span) * 0.82 / (var(--tail) * var(--cw) * 1.06))), 2.5rem);
  font-style: normal;
  line-height: 1.14;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 0;
  text-shadow: none;
  text-wrap: balance;
  rotate: -1.6deg;
  transform-origin: 0 50%;
  box-shadow: 4px 4px 0 var(--h-line);
}
@media (forced-colors: active) {
  .dir-arcade .a-title { -webkit-text-stroke: 0; text-shadow: none; }
}
.dir-arcade .a-lead { margin: 0; color: var(--ink); font-size: clamp(1rem, 1.2vw, 1.1rem); font-weight: 600; line-height: 1.5; }
.dir-arcade .a-lead + .a-lead { margin-top: 0.6em; }
.dir-arcade .a-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.dir-arcade .a-bubble {
  position: relative;
  max-width: 36rem;
  padding: clamp(12px, 1.8vh, 18px) clamp(16px, 2vw, 24px);
  border: var(--bw) solid var(--h-line);
  border-radius: 24px;
  background: var(--h-panel);
  box-shadow: var(--lift) var(--lift) 0 var(--h-line);
}
/* The tail of the speech bubble, pointing at the title. */
.dir-arcade .a-bubble::before {
  content: "";
  position: absolute;
  left: 40px;
  top: -14px;
  width: 24px;
  height: 24px;
  border-top: var(--bw) solid var(--h-line);
  border-left: var(--bw) solid var(--h-line);
  border-radius: 6px 0 0;
  background: var(--h-panel);
  rotate: 45deg;
}
/* On the accent field the main call is the highlight, the second one the page colour. */
.dir-arcade .a-hero--sticker .a-actions .btn-accent { border-color: var(--hl-ink); background: var(--hl); color: var(--hl-ink); box-shadow: 0 5px 0 var(--hl-ink); }
.dir-arcade .a-hero--sticker .a-actions .btn-accent .a-cta-icon { background: var(--hl-ink); color: var(--hl); }
.dir-arcade .a-hero .a-actions .btn-ghost { border-color: var(--ink); background: var(--bg); color: var(--ink); box-shadow: 0 5px 0 var(--ink); }

/* "sticker": words on the left, the sticker on a starburst on the right; on phones the words come
   first and the pictures after them. */
.dir-arcade .a-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  row-gap: clamp(12px, 2vh, 20px);
}
.dir-arcade .a-hero-grid > * { min-width: 0; max-width: 100%; }
.dir-arcade .a-hero-grid .a-title { justify-self: stretch; }
.dir-arcade .a-hero-grid .a-actions { margin-top: 4px; }
.dir-arcade .a-art {
  position: relative;
  justify-self: center;
  width: min(100%, 78vw, 40svh, 420px);
  aspect-ratio: 1;
  margin-top: 14px;
}
.dir-arcade .a-burst { position: absolute; left: 8%; top: 6%; width: 84%; aspect-ratio: 1; }
.dir-arcade .a-burst::before,
.dir-arcade .a-burst::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 58% 9.8%, 69.1% 3.8%, 72.8% 15.9%, 85.4% 14.6%, 84.1% 27.2%, 96.2% 30.9%, 90.2% 42%, 100% 50%, 90.2% 58%, 96.2% 69.1%, 84.1% 72.8%, 85.4% 85.4%, 72.8% 84.1%, 69.1% 96.2%, 58% 90.2%, 50% 100%, 42% 90.2%, 30.9% 96.2%, 27.2% 84.1%, 14.6% 85.4%, 15.9% 72.8%, 3.8% 69.1%, 9.8% 58%, 0% 50%, 9.8% 42%, 3.8% 30.9%, 15.9% 27.2%, 14.6% 14.6%, 27.2% 15.9%, 30.9% 3.8%, 42% 9.8%);
}
.dir-arcade .a-burst::before { background: var(--h-line); translate: 7px 9px; scale: 1.03; }
.dir-arcade .a-burst::after { background: radial-gradient(circle at 40% 36%, color-mix(in oklab, var(--hl) 60%, #fff) 0 28%, transparent 64%), var(--hl); }
.dir-arcade .a-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: 10px 12px 0 var(--edge);
}
.dir-arcade .a-art .a-card { position: absolute; right: 2%; top: 3%; z-index: 1; width: 54%; rotate: 7deg; }
.dir-arcade .a-card-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dir-arcade .a-sticker { position: absolute; left: 0; bottom: 2%; z-index: 2; width: 74%; rotate: -9deg; }
.dir-arcade .a-sticker-float { will-change: transform; }
.dir-arcade .a-sticker-img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(4px 0 0 var(--die)) drop-shadow(-4px 0 0 var(--die))
    drop-shadow(0 4px 0 var(--die)) drop-shadow(0 -4px 0 var(--die))
    drop-shadow(9px 11px 0 color-mix(in oklab, var(--h-line) 88%, transparent));
}
.dir-arcade .a-art.is-solo .a-sticker { left: 8%; bottom: auto; top: 6%; width: 84%; rotate: 8deg; }
.dir-arcade .a-art.no-sticker .a-card { left: 19%; right: auto; top: 10%; width: 62%; rotate: 4deg; }
.dir-arcade .a-star {
  position: absolute;
  z-index: 3;
  width: clamp(30px, 4vw, 56px);
  aspect-ratio: 1;
  filter: drop-shadow(3px 3px 0 var(--h-line));
}
.dir-arcade .a-star::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--die);
  clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 63%, 50% 100%, 38% 63%, 0 50%, 38% 37%);
}
.dir-arcade .a-star--1 { left: 4%; top: 6%; }
.dir-arcade .a-star--2 { right: 0; bottom: 30%; width: clamp(22px, 3vw, 38px); }
.dir-arcade .a-star--2::before { background: var(--hl); }
.dir-arcade .a-dot {
  position: absolute;
  right: 8%;
  bottom: 4%;
  z-index: 3;
  width: clamp(40px, 5vw, 70px);
  aspect-ratio: 1;
  border: var(--bw) solid var(--h-line);
  border-radius: 50%;
  background: repeating-conic-gradient(var(--k2) 0 22.5deg, var(--die) 22.5deg 45deg);
  box-shadow: 3px 4px 0 var(--h-line);
}
.dir-arcade .a-art.is-solo .a-dot { display: none; }
@media (min-width: 900px) {
  .dir-arcade .a-hero-grid {
    grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 480px);
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(16px, 3vw, 48px);
  }
  .dir-arcade .a-hero-grid > :not(.a-art) { grid-column: 1; }
  .dir-arcade .a-art { grid-column: 2; grid-row: 1 / span 4; align-self: center; width: 100%; margin: 0; }
  .dir-arcade .a-title { --title-min: 3.2rem; }
  .dir-arcade .a-hero--sticker .a-title { --span: 0.62; --lines: 2.3; --title-max: min(calc(6.5rem * var(--head-scale, 1)), 12.5vh); }
  .dir-arcade .a-hero--sticker.is-bare .a-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .dir-arcade .a-hero--sticker.is-bare .a-title { --span: 0.9; --lines: 2; --title-max: min(calc(8rem * var(--head-scale, 1)), 14vh); }
}

/* "arcade": a game title screen. */
.dir-arcade .a-hero--arcade { text-align: center; }
.dir-arcade .a-rays {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 130vmax;
  aspect-ratio: 1;
  margin: -65vmax 0 0 -65vmax;
  background: repeating-conic-gradient(from 0deg, color-mix(in oklab, var(--h-bg) 80%, #fff) 0 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 10%, transparent 70%);
  mask: radial-gradient(closest-side, #000 10%, transparent 70%);
  opacity: 0.55;
}
.dir-arcade .a-screen { position: relative; z-index: 1; display: grid; justify-items: center; row-gap: clamp(12px, 2vh, 20px); }
.dir-arcade .a-title--center { --span: 0.94; --lines: 2.6; --title-max: min(calc(6.5rem * var(--head-scale, 1)), 12.5vh); max-width: 100%; justify-self: stretch; text-align: center; }
.dir-arcade .a-title--center .ac { margin-inline: auto; transform-origin: 50% 50%; }
.dir-arcade .a-row {
  display: grid;
  grid-template-areas: "dialog dialog" "card sticker";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px) 16px;
  align-items: start;
  justify-items: center;
  width: 100%;
  margin-top: 6px;
}
.dir-arcade .a-dialog {
  grid-area: dialog;
  width: 100%;
  max-width: 42rem;
  padding: clamp(14px, 2.2vh, 26px) clamp(16px, 2.4vw, 30px);
  border: var(--bw) solid var(--h-line);
  border-radius: 28px;
  background: var(--h-panel);
  box-shadow: 0 8px 0 var(--h-line);
}
.dir-arcade .a-dialog .a-actions { justify-content: center; margin-top: clamp(12px, 2vh, 18px); }
.dir-arcade .a-dialog > .a-actions:first-child { margin-top: 0; }
.dir-arcade .a-card--side { grid-area: card; width: min(100%, 200px, 30svh); rotate: -7deg; }
.dir-arcade .a-sticker--side { grid-area: sticker; position: relative; left: auto; bottom: auto; width: min(100%, 220px, 30svh); rotate: 9deg; }
.dir-arcade .a-row.no-card .a-sticker--side,
.dir-arcade .a-row.no-sticker .a-card--side { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .dir-arcade .a-row { grid-template-areas: "card dialog sticker"; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 0.8fr); }
  .dir-arcade .a-row.no-card .a-sticker--side,
  .dir-arcade .a-row.no-sticker .a-card--side { grid-column: auto; }
  .dir-arcade .a-card--side { justify-self: end; width: min(100%, 230px); margin-top: 26px; }
  .dir-arcade .a-sticker--side { justify-self: start; width: min(100%, 250px); margin-top: -10px; }
}

/* Short laptop screens: the same screen, packed a little tighter so the calls stay in view. */
@media (min-width: 900px) and (max-height: 800px) {
  .dir-arcade .a-hero { padding-top: calc(var(--a-pull) + 10px); }
  .dir-arcade :is(.a-hero-grid, .a-screen) { row-gap: 12px; }
  .dir-arcade .a-badge { padding-block: 5px; font-size: 0.88rem; }
  .dir-arcade .a-title { --title-min: 2.8rem; }
  .dir-arcade .a-title .ac { margin-top: 0.3em; }
  .dir-arcade .a-lead { font-size: 1rem; line-height: 1.45; }
}

/* Phones: the words first, a little smaller, the pictures right after the calls. */
@media (max-width: 899px) {
  .dir-arcade .a-hero { --a-hdr: 72px; padding-bottom: var(--fold-safe, 80px); }
  .dir-arcade .a-badge { font-size: 0.85rem; padding: 5px 14px 5px 10px; }
  .dir-arcade .a-title .ac { margin-top: 0.36em; }
  .dir-arcade .a-bubble::before { display: none; }
  .dir-arcade .a-actions .btn-lg { min-height: 52px; padding-block: 8px; }
}
@media (max-width: 420px) {
  .dir-arcade .a-badge { font-size: 0.8rem; }
  .dir-arcade .a-lead { font-size: 1rem; line-height: 1.45; }
  .dir-arcade .a-actions { gap: 12px; }
  .dir-arcade .a-actions .btn { padding-inline: 20px; }
  .dir-arcade .a-actions .btn-lg { font-size: 0.98rem; }
  .dir-arcade .a-cta--play { padding-left: 22px; }
  .dir-arcade .a-cta { padding-right: 8px; }
}

/* ---- The tape across the bottom edge of the first screen ---------------------------------- */
/* The screen's own tape (no ticker section on the page) lies half over the screen, half over the
   section after it; the ticker section does the same when it follows the screen. */
.dir-arcade .a-tape-wrap--edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0;
  translate: 0 50%;
}
.dir-arcade .a-hero + .a-tape-wrap--cross {
  z-index: 2;
  margin-top: calc(-1 * clamp(60px, 7vw, 104px));
}
/* Over the accent field the tape is the highlight, as the pill is. */
.dir-arcade :is(.a-tape-wrap--edge, .a-hero + .a-tape-wrap--cross) .a-tape { background: var(--hl); color: var(--hl-ink); }

/* ---- Confetti of the calls to action (made by motion.js) --------------------------------- */
.dir-arcade .a-confetti { position: fixed; inset: 0; z-index: 70; overflow: hidden; pointer-events: none; }
.dir-arcade .a-bit {
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--k1);
}
.dir-arcade .a-bit--2 { background: var(--k2); }
.dir-arcade .a-bit--3 { width: 16px; height: 7px; border-radius: 4px; background: var(--k3); }
.dir-arcade .a-bit--4 { width: 14px; height: 14px; border-radius: 0; background: var(--k4); clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 63%, 50% 100%, 38% 63%, 0 50%, 38% 37%); }

/* If the engine gives up (html.fx-off), whatever the motion script had hidden shows again. */
html.fx-off .dir-arcade :is([data-a-in], [data-a-pop], [data-a-title], .a-w, .ac, .sec-head h2, .sec-no, .step-no) {
  opacity: 1 !important;
  transform: none !important;
}

/* Tapes stand still without scripts, with reduced motion or when the engine gives up: then their
   words wrap onto as many lines as they need instead of running off the edge, and a tape of the
   brand repeated shows it only a few times. */
@media (prefers-reduced-motion: reduce) {
  .dir-arcade .a-tape-row { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 4px; white-space: normal; }
  .dir-arcade .a-tape-row--brand li:nth-child(n + 4) { display: none; }
}
html:not(.js) .dir-arcade .a-tape-row,
html.fx-off .dir-arcade [data-fx~="marquee"]:not(.fx-on) .a-tape-row { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 4px; white-space: normal; }
html:not(.js) .dir-arcade .a-tape-row--brand li:nth-child(n + 4),
html.fx-off .dir-arcade [data-fx~="marquee"]:not(.fx-on) .a-tape-row--brand li:nth-child(n + 4) { display: none; }
@media (max-width: 599px) {
  html:not(.js) .dir-arcade .a-tape-row--brand li:nth-child(n + 3),
  html.fx-off .dir-arcade [data-fx~="marquee"]:not(.fx-on) .a-tape-row--brand li:nth-child(n + 3) { display: none; }
}
@media (max-width: 599px) and (prefers-reduced-motion: reduce) {
  .dir-arcade .a-tape-row--brand li:nth-child(n + 3) { display: none; }
}

/* ---- Tokens of the design (premium/tokens.css): the candy pictures and buttons -------------- */
/* Pictures: the picture inside a sticker card, a polaroid or a category button takes the shape;
   the card around it keeps its sticker corners. */
.dir-arcade[class*="ui-pic-"] :is(.item-link .media, .scene .media, .gallery-item .media, .tile-media) { border-radius: var(--pic); }
/* Buttons. Outline keeps the thick edge and the hard shadow of a game button, in the colour of
   the words around it: on the accent field of the first screen the colour of its title, in the
   dialog panel the ink. Underline drops the shadow and the squash. Solid fills the second call
   of the first screen in ink too. */
.dir-arcade.ui-btn-outline .btn { border-width: var(--bw); box-shadow: 0 5px 0 currentColor; }
.dir-arcade.ui-btn-outline .btn::before { display: none; }
.dir-arcade.ui-btn-outline .btn:active { box-shadow: 0 1px 0 currentColor; }
.dir-arcade:is(.ui-btn-outline, .ui-btn-underline) .a-hero .a-actions .btn { border-color: currentColor; background: transparent; color: var(--h-fill); }
.dir-arcade:is(.ui-btn-outline, .ui-btn-underline) .a-hero .a-dialog .a-actions .btn { color: var(--ink); }
.dir-arcade.ui-btn-outline .a-hero .a-actions .btn { box-shadow: 0 5px 0 currentColor; }
.dir-arcade.ui-btn-underline .btn,
.dir-arcade.ui-btn-underline .btn:active,
.dir-arcade.ui-btn-underline .a-hero .a-actions .btn { border-color: transparent; box-shadow: none; translate: none; scale: none; }
.dir-arcade.ui-btn-underline .a-actions .btn { padding-inline: 0; }
.dir-arcade.ui-btn-solid .a-hero .a-actions .btn-ghost { border-color: var(--ink); background: var(--ink); color: var(--bg); }
/* Dividers: the wavy top of each band gets an ink outline, thin or bold: the same wave a line
   higher, less the wave itself, so the outline never covers the band. */
.dir-arcade.ui-rules-hairline { --a-rule: color-mix(in srgb, var(--edge) 35%, transparent); }
.dir-arcade.ui-rules-bold { --a-rule: var(--edge); }
.dir-arcade.page-home:is(.ui-rules-hairline, .ui-rules-bold) main > .section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: calc(var(--wave-h) + var(--rule-w));
  background: var(--a-rule);
  -webkit-mask: var(--wave) left top / calc(var(--wave-h) * 6) var(--wave-h) repeat-x, var(--wave) left bottom / calc(var(--wave-h) * 6) var(--wave-h) repeat-x;
  -webkit-mask-composite: source-out;
  mask: var(--wave) left top / calc(var(--wave-h) * 6) var(--wave-h) repeat-x subtract, var(--wave) left bottom / calc(var(--wave-h) * 6) var(--wave-h) repeat-x;
  pointer-events: none;
}
.dir-arcade.page-home:is(.ui-rules-hairline, .ui-rules-bold) main > .section.section-alt::after { -webkit-mask-position: 37% top, 37% bottom; mask-position: 37% top, 37% bottom; }
.dir-arcade.page-home:is(.ui-rules-hairline, .ui-rules-bold) main > .section.section-band::after { -webkit-mask-position: 71% top, 71% bottom; mask-position: 71% top, 71% bottom; }
@media (hover: hover) {
  .dir-arcade.ui-btn-outline .btn:hover { box-shadow: 0 8px 0 currentColor; }
  .dir-arcade.ui-btn-underline .btn:hover { box-shadow: none; translate: none; text-decoration-thickness: 3px; }
}

/* ---- Motion: loops and first states, only when motion is welcome ------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* The first screen comes in from motion.js; without it, it shows by itself. */
  html.js:not(.fx-off) .dir-arcade:not(.a-static) .a-hero :is([data-a-in], [data-a-pop], [data-a-title]) {
    opacity: 0;
    animation: a-failsafe 0.01s 3s forwards;
  }
  /* Once the motion script takes over (.a-live) the first screen is shown again: its entrance
     starts from its own first frame, in the same moment. */
  html.js:not(.fx-off) .dir-arcade:not(.a-static) .a-hero.a-live :is([data-a-in], [data-a-pop], [data-a-title]) { opacity: 1; animation: none; }
  @keyframes a-failsafe { to { opacity: 1; } }

  @keyframes a-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -14px, 0) rotate(3deg); }
  }
  @keyframes a-twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(0.72) rotate(45deg); }
  }
  @keyframes a-spin { to { transform: rotate(1turn); } }
  @keyframes a-turn { to { rotate: 1turn; } }
  @keyframes a-ring {
    0% { opacity: 0.7; transform: scale(0.94); }
    70%, 100% { opacity: 0; transform: scale(1.18); }
  }
  @keyframes a-drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(3vmax, 2vmax, 0); }
  }
  @keyframes a-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-6deg); }
  }
  .dir-arcade .a-sticker-float { animation: a-float 6s ease-in-out infinite; }
  .dir-arcade .a-star::before { animation: a-twinkle 3.2s ease-in-out infinite; }
  .dir-arcade .a-star--2::before { animation-delay: -1.4s; }
  .dir-arcade .a-dot { animation: a-turn 14s linear infinite; }
  .dir-arcade .a-burst { animation: a-turn 60s linear infinite; }
  .dir-arcade .a-rays { animation: a-spin 90s linear infinite; }
  .dir-arcade .a-blob--1 { animation: a-drift 18s ease-in-out infinite; }
  .dir-arcade .a-blob--2 { animation: a-drift 22s ease-in-out -7s infinite reverse; }
  .dir-arcade .a-cta--play::after { animation: a-ring 2.6s var(--squash) infinite; }
  .dir-arcade .a-candy { animation: a-bob 5s ease-in-out infinite; }
  .dir-arcade .a-candy--2 { animation-duration: 4.2s; animation-delay: -1s; }
  .dir-arcade .a-candy--3 { animation-duration: 5.6s; animation-delay: -2.4s; }
  .dir-arcade .a-candy--4 { animation-duration: 6.4s; animation-delay: -3s; }
  .dir-arcade .a-gum { animation: a-bob 5.4s ease-in-out infinite; }
  .dir-arcade .a-gum--2 { animation-duration: 4.4s; animation-delay: -1.2s; }
  .dir-arcade .a-gum--3 { animation-duration: 6.2s; animation-delay: -2.6s; }
  .dir-arcade .a-gum--4 { animation-duration: 4.8s; animation-delay: -3.4s; }
  /* Scroll reveals bounce in like stickers slapped on the page. */
  .dir-arcade [data-reveal] {
    transition: opacity 0.5s ease-out, transform 0.8s var(--spring);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .dir-arcade [data-reveal].is-pending { transform: translateY(46px) scale(0.86) rotate(-3deg); }
  .dir-arcade [data-reveal].is-pending.is-in { transform: none; }
}

/* ---- Shared layouts of the blocks (decision 126) --------------------------------------------- */
.bk {
  /* How wide the letters of the display face run, for titles sized to their column. */
  --bk-g: 0.62;
  --bk-col: min(var(--maxw), 100vw - 2 * var(--gutter));
  --bk-r: var(--radius, 8px);
  --bk-r-sm: var(--radius-sm, 6px);
  --bk-pic: var(--pic, var(--radius, 8px));
  --bk-gap: clamp(16px, 2.4vw, 28px);
  --bk-rule: var(--line);
  --bk-edge: var(--border, 0px);
  position: relative;
  isolation: isolate;
}
.bk.bk-on-surface { background: var(--surface); }
.bk.bk-on-band {
  --bg: var(--band);
  --surface: var(--band);
  --ink: var(--on-band);
  --muted: var(--muted-band);
  --accent-text: var(--on-band);
  --line: color-mix(in srgb, var(--on-band) 24%, transparent);
  --focus: var(--on-band);
  background: var(--band);
  color: var(--on-band);
}
/* What these layouts draw themselves: the headings of their pieces, their texts and pictures. */
:is(.bk-index, .bk-bento, .bk-zig, .bk-cards, .bk-band, .bk-type, .bk-timeline, .bk-track, .bk-panels, .bk-masonry, .bk-slides, .bk-collage-caps, .bk-menu, .bk-bars, .bk-spot, .bk-open, .bk-stack, .bk-big, .bk-story, .bk-call) :is(h2, h3, p) { margin: 0; }
:is(.bk-index, .bk-bento, .bk-zig, .bk-cards, .bk-type, .bk-timeline, .bk-track, .bk-menu, .bk-bars, .bk-spot-list, .bk-open, .bk-stack, .bk-big) h3 { color: var(--ink); }
.bk :is(.bk-index-pic, .bk-zig-pic, .bk-masonry-pic, .bk-slide-pic, .bk-collage-pic, .bk-story-pic, .bk-call-pic) { border-radius: var(--bk-pic); }
.bk :is(.bk-index-go, .bk-tile-go, .bk-zig-go) svg { flex: none; }

/* ---- Pages (services, work): index ---- */
.bk .bk-index { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--bk-rule); list-style: none; }
.bk .bk-index-row { border-bottom: 1px solid var(--bk-rule); }
.bk .bk-index-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-areas: "pic name go" "pic text go";
  gap: 6px 18px;
  align-items: center;
  padding-block: clamp(18px, 2.4vw, 30px);
  color: inherit;
  text-decoration: none;
}
.bk .bk-index-pic { grid-area: pic; aspect-ratio: 1; align-self: start; }
.bk .bk-index-name { grid-area: name; font-size: calc(clamp(1.25rem, 2.6vw, 2.2rem) * var(--head-size)); line-height: 1.1; }
.bk .bk-index-text { grid-area: text; color: var(--muted); max-width: 60ch; }
.bk .bk-index-go {
  grid-area: go;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--bk-rule);
  border-radius: 999px;
  color: var(--accent-text);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.bk .bk-index-link:hover .bk-index-go,
.bk .bk-index-link:focus-visible .bk-index-go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }
@media (min-width: 900px) {
  .bk .bk-index-link { grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1fr) auto; grid-template-areas: "pic name text go"; gap: 32px; }
  .bk .bk-index-pic { aspect-ratio: 4 / 3; align-self: center; }
  .bk .bk-index-text { font-size: 1.02rem; }
}

/* ---- Pages: bento ---- */
.bk .bk-bento { display: grid; gap: var(--bk-gap); margin: 0; padding: 0; list-style: none; }
.bk .bk-tile-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: var(--bk-edge) solid var(--bk-rule);
  border-radius: var(--bk-r);
  background: var(--bg);
  color: inherit;
  text-decoration: none;
}
.bk .bk-tile-pic { aspect-ratio: 16 / 10; border-radius: 0; flex: none; }
.bk .bk-tile-copy { display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2.2vw, 28px); flex: 1; }
.bk .bk-tile-name { font-size: calc(clamp(1.15rem, 1.8vw, 1.5rem) * var(--head-size)); line-height: 1.15; }
.bk .bk-tile-text { color: var(--muted); }
.bk .bk-tile-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--accent-text); font-weight: 600; }
.bk .bk-tile.is-solid .bk-tile-link { border-color: transparent; background: var(--accent); color: var(--on-accent); }
.bk .bk-tile.is-solid :is(.bk-tile-name, .bk-tile-text, .bk-tile-go) { color: var(--on-accent); }
.bk .bk-tile.is-solid .bk-tile-copy { padding: clamp(22px, 3vw, 40px); }
.bk .bk-tile.is-solid .bk-tile-name { font-size: calc(clamp(1.4rem, 2.6vw, 2.2rem) * var(--head-size)); }
@media (min-width: 900px) {
  .bk .bk-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bk .bk-tile { grid-column: span 3; }
  .bk .bk-bento > .bk-tile:nth-child(n + 4) { grid-column: span 2; }
  .bk .bk-bento--4 > .bk-tile:nth-child(4) { grid-column: span 6; }
  .bk .bk-bento--5 > .bk-tile:nth-child(n + 4) { grid-column: span 3; }
  .bk .bk-tile.is-lead { grid-row: span 2; }
  .bk .bk-tile.is-lead .bk-tile-pic { flex: 1; aspect-ratio: auto; min-height: 240px; }
  .bk .bk-tile.is-lead .bk-tile-name { font-size: calc(clamp(1.5rem, 2.6vw, 2.3rem) * var(--head-size)); }
  .bk .bk-bento--1 > .bk-tile, .bk .bk-bento--2 > .bk-tile { grid-column: span 3; grid-row: auto; }
  .bk .bk-bento--1 > .bk-tile { grid-column: 1 / -1; }
  .bk .bk-bento--4 > .bk-tile:nth-child(4) .bk-tile-link { flex-direction: row; }
  .bk .bk-bento--4 > .bk-tile:nth-child(4) .bk-tile-pic { width: 44%; aspect-ratio: auto; min-height: 220px; }
}

/* ---- Pages: zigzag ---- */
.bk .bk-zig { display: grid; gap: clamp(40px, 7vw, 104px); margin: 0; padding: 0; list-style: none; }
.bk .bk-zig-link { display: grid; gap: clamp(18px, 3vw, 28px); color: inherit; text-decoration: none; }
.bk .bk-zig-pic { aspect-ratio: 4 / 3; }
.bk .bk-zig-copy { display: grid; gap: 14px; align-content: center; }
.bk .bk-zig-name { font-size: calc(clamp(1.5rem, 3.2vw, 2.6rem) * var(--head-size)); line-height: 1.08; }
.bk .bk-zig-text { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; max-width: 52ch; }
.bk .bk-zig-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.bk .bk-zig-link:hover .bk-zig-go svg { transform: translateX(4px); }
.bk .bk-zig-go svg { transition: transform .3s var(--ease); }
@media (min-width: 900px) {
  .bk .bk-zig-link { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
  .bk .bk-zig-row:nth-child(even) .bk-zig-media { order: 2; }
  .bk .bk-zig-row:nth-child(even) .bk-zig-link { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .bk .bk-zig-pic { aspect-ratio: 3 / 2; }
}

/* ---- Benefits: cards ---- */
.bk .bk-cards { display: grid; gap: var(--bk-gap); margin: 0; padding: 0; list-style: none; }
.bk .bk-cards-item {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(22px, 2.6vw, 34px);
  border: var(--bk-edge) solid var(--bk-rule);
  border-radius: var(--bk-r);
  background: var(--bg);
}
.bk .bk-cards .bk-chip {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
}
.bk .bk-cards-item p { color: var(--muted); }
@media (min-width: 640px) {
  .bk .bk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* An odd last card takes the whole row: no empty cell beside it. */
  .bk .bk-cards > .bk-cards-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bk .bk-cards--3, .bk .bk-cards--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk .bk-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Five: two wide cards over three narrow ones. */
  .bk .bk-cards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bk .bk-cards--5 > .bk-cards-item { grid-column: span 2; }
  .bk .bk-cards--5 > .bk-cards-item:nth-child(-n + 2) { grid-column: span 3; }
  .bk .bk-cards > .bk-cards-item:last-child:nth-child(odd) { grid-column: auto; }
  .bk .bk-cards--5 > .bk-cards-item:last-child { grid-column: span 2; }
}

/* ---- Benefits: band ---- */
.bk .bk-band { display: grid; margin: 0; padding: 0; list-style: none; }
.bk .bk-band-item { display: grid; justify-items: center; gap: 10px; padding: clamp(22px, 3vw, 36px) clamp(12px, 2vw, 28px); text-align: center; }
.bk .bk-band-item + .bk-band-item { border-top: 1px solid var(--line); }
.bk .bk-band .bk-chip {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}
.bk .bk-band-item h3 { color: var(--on-band); }
.bk .bk-band-item p { color: var(--muted-band); max-width: 34ch; }
.bk.bk-benefits.bk-l-band :is(.sec-head, .og-head) { text-align: center; }
@media (min-width: 900px) {
  .bk .bk-band { grid-template-columns: repeat(var(--bk-n, 3), minmax(0, 1fr)); }
  .bk .bk-band--2 { --bk-n: 2; }
  .bk .bk-band--4 { --bk-n: 4; }
  .bk .bk-band--5, .bk .bk-band--6 { --bk-n: 3; row-gap: 12px; }
  .bk .bk-band-item + .bk-band-item { border-top: 0; border-inline-start: 1px solid var(--line); }
  .bk .bk-band--5 > :nth-child(3n + 1), .bk .bk-band--6 > :nth-child(3n + 1) { border-inline-start: 0; }
}

/* ---- Benefits: typeset ---- */
.bk .bk-type { display: grid; margin: 0; padding: 0; list-style: none; }
.bk .bk-type-row { display: grid; gap: 12px; padding-block: clamp(20px, 3vw, 36px); border-top: 3px solid var(--ink); }
.bk .bk-type-row:last-child { border-bottom: 3px solid var(--ink); }
.bk .bk-type-title {
  /* As large as the column lets its longest word stand whole. */
  font-size: min(calc(clamp(1.7rem, 4.4vw, 3.6rem) * var(--head-size) * var(--head-scale, 1)), calc(var(--bk-col) * 0.96 / (var(--len, 10) * var(--bk-g))));
  line-height: 1.02;
}
.bk .bk-type-text { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.6; max-width: 52ch; }
@media (min-width: 900px) {
  .bk .bk-type-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: baseline; }
  .bk .bk-type-title { font-size: min(calc(clamp(1.7rem, 4.4vw, 3.6rem) * var(--head-size) * var(--head-scale, 1)), calc(var(--bk-col) * 0.56 / (var(--len, 10) * var(--bk-g)))); }
}

/* ---- Steps: the round mark every layout of the steps shares ---- */
.bk .bk-step-no {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bk .bk-step-copy { display: grid; gap: 8px; min-width: 0; }
.bk .bk-step-copy p { color: var(--muted); }

/* ---- Steps: timeline ---- */
.bk .bk-timeline { position: relative; display: grid; gap: clamp(24px, 4vw, 44px); margin: 0; padding: 0; list-style: none; }
.bk .bk-timeline::before { content: ""; position: absolute; inset-block: 22px; inset-inline-start: 21px; width: 2px; background: var(--line); }
.bk .bk-timeline-step { position: relative; display: flex; gap: 20px; align-items: flex-start; }
.bk .bk-timeline .bk-step-no { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
@media (min-width: 900px) {
  .bk .bk-timeline { gap: 8px; }
  .bk .bk-timeline::before { inset-inline-start: calc(50% - 1px); }
  .bk .bk-timeline-step { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
  .bk .bk-timeline-step .bk-step-no { grid-column: 2; grid-row: 1; }
  .bk .bk-timeline-step .bk-step-copy { grid-row: 1; grid-column: 3; padding-block: 6px 28px; }
  .bk .bk-timeline-step:nth-child(even) .bk-step-copy { grid-column: 1; text-align: end; justify-items: end; }
}

/* ---- Steps: track ----
   On a phone the steps stand in a row that is swiped sideways (the next one shows at the edge),
   a line joining each mark to the next; on a wide screen they fill the row under one line. */
.bk .bk-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 320px);
  gap: 24px;
  margin: 0;
  padding: 0 0 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  list-style: none;
}
.bk .bk-track:focus-visible { outline: 2px solid var(--focus, var(--accent-text)); outline-offset: 4px; }
/* The row fades out at its far edge, so a step cut by the edge reads as one more to swipe to; room
   after the last step lets it come out of the fade. */
@media (max-width: 899.98px) {
  .bk .bk-track { padding-inline-end: 32px; scroll-padding-inline-end: 32px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  :root[dir="rtl"] .bk .bk-track { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
}
.bk .bk-track-step { position: relative; display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start; }
.bk .bk-track-step:not(:last-child)::before { content: ""; position: absolute; inset-block-start: 21px; inset-inline: 56px -18px; height: 2px; background: var(--line); }
.bk .bk-track .bk-step-no { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .bk .bk-track { grid-auto-flow: row; grid-template-columns: repeat(var(--bk-n, 3), minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 40px); padding: 0; overflow: visible; }
  .bk .bk-track--2 { --bk-n: 2; }
  .bk .bk-track--4 { --bk-n: 4; }
  .bk .bk-track--5 { --bk-n: 5; }
  .bk .bk-track-step:not(:last-child)::before { display: none; }
  .bk .bk-track::before,
  .bk .bk-track::after { content: ""; position: absolute; inset-block: 21px auto; inset-inline: 22px; height: 2px; }
  .bk .bk-track::before { background: var(--line); }
  .bk .bk-track::after { background: var(--accent); transform-origin: 0 50%; }
  .bk .bk-track .bk-step-no { box-shadow: 0 0 0 6px var(--bg); }
  .bk .bk-track-step { gap: 18px; }
  .bk .bk-track--6 { --bk-n: 3; }
  .bk .bk-track--6::before, .bk .bk-track--6::after { display: none; }
}
:root[dir="rtl"] .bk-track::after { transform-origin: 100% 50%; }

/* ---- Steps: panels ---- */
.bk .bk-panels { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bk .bk-panels-step {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--bk-r);
}
.bk .bk-panels-step.is-surface { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.bk .bk-panels-step.is-band { background: var(--band); color: var(--on-band); }
.bk .bk-panels-step.is-band :is(h3, p) { color: var(--on-band); }
.bk .bk-panels-step.is-band p { color: var(--muted-band); }
.bk .bk-panels-step.is-band .bk-step-no { background: var(--on-band); color: var(--band); }
.bk .bk-panels-step.is-accent { background: var(--accent); color: var(--on-accent); }
.bk .bk-panels-step.is-accent :is(h3, p) { color: var(--on-accent); }
.bk .bk-panels-step.is-accent .bk-step-no { background: var(--on-accent); color: var(--accent); }
.bk .bk-panels .bk-step-no { width: 40px; height: 40px; font-size: .9rem; }
.bk .bk-panels-step h3 { font-size: calc(clamp(1.15rem, 1.6vw, 1.4rem) * var(--head-size)); }
@media (min-width: 700px) {
  .bk .bk-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .bk .bk-panels { grid-template-columns: repeat(var(--bk-n, 3), minmax(0, 1fr)); }
  .bk .bk-panels--4 { --bk-n: 4; }
  .bk .bk-panels-step { min-height: 300px; align-content: space-between; }
}
.bk.bk-on-surface .bk-panels-step.is-surface { background: var(--bg); }

/* ---- Gallery: masonry ---- */
.bk .bk-masonry { columns: 2; column-gap: clamp(12px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.bk .bk-masonry-item { display: grid; gap: 8px; margin-bottom: clamp(12px, 2vw, 24px); break-inside: avoid; }
/* Pictures of a site are drawn in a few sizes: each takes a shape of its own here, so the columns
   never line up. */
.bk .bk-masonry-pic { aspect-ratio: 4 / 5; }
.bk .bk-masonry-item:nth-child(6n + 2) .bk-masonry-pic { aspect-ratio: 1; }
.bk .bk-masonry-item:nth-child(6n + 3) .bk-masonry-pic { aspect-ratio: 3 / 4; }
.bk .bk-masonry-item:nth-child(6n + 4) .bk-masonry-pic { aspect-ratio: 4 / 3; }
.bk .bk-masonry-item:nth-child(6n + 5) .bk-masonry-pic { aspect-ratio: 2 / 3; }
.bk .bk-masonry-item:nth-child(6n) .bk-masonry-pic { aspect-ratio: 5 / 4; }
.bk .bk-masonry-cap { color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (min-width: 900px) {
  .bk .bk-masonry { columns: 3; }
}

/* ---- Gallery: slider ---- */
.bk.bk-l-slider .bk-wrap { width: 100%; }
.bk.bk-l-slider .bk-wrap > :not(.bk-slides) { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.bk .bk-slides {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  margin: 0;
  padding: 4px max(var(--gutter), calc((100% - var(--maxw)) / 2)) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  scrollbar-width: thin;
  list-style: none;
}
.bk .bk-slides:focus-visible { outline: 2px solid var(--focus, var(--accent-text)); outline-offset: 2px; }
.bk .bk-slide { position: relative; flex: 0 0 min(86vw, 1040px); scroll-snap-align: start; }
.bk .bk-slide-pic { aspect-ratio: 4 / 5; }
.bk .bk-slide-cap {
  position: absolute;
  inset: auto 0 0;
  padding: 56px clamp(16px, 2.4vw, 28px) clamp(16px, 2.4vw, 24px);
  border-radius: 0 0 var(--bk-pic) var(--bk-pic);
  background: linear-gradient(to top, rgb(0 0 0 / 78%), rgb(0 0 0 / 0%));
  color: #fff;
  font-family: var(--font-display);
  font-size: calc(clamp(1.05rem, 1.8vw, 1.5rem) * var(--head-size));
  line-height: 1.2;
}
.bk .bk-slide-cap span { display: block; max-width: 40ch; text-shadow: 0 1px 12px rgb(0 0 0 / 50%); }
@media (min-width: 700px) {
  .bk .bk-slide { flex-basis: min(72vw, 1040px); }
  .bk .bk-slide-pic { aspect-ratio: 16 / 9; }
}
body.ui-pic-arch .bk-slide-pic { border-radius: var(--pic-card); }
body.ui-pic-pill .bk-slide-pic { border-radius: var(--pic-card); }

/* ---- Gallery: collage ---- */
.bk .bk-collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(70px, 14vw, 120px); margin: 0; padding: 0; list-style: none; }
.bk .bk-collage-item { position: relative; }
.bk .bk-collage-pic { position: absolute; inset: 0; box-shadow: 0 24px 48px -28px rgb(0 0 0 / 55%); }
.bk .bk-collage-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 4; z-index: 1; }
.bk .bk-collage-item:nth-child(2) { grid-column: 4 / 7; grid-row: 2 / 5; z-index: 2; }
.bk .bk-collage-item:nth-child(3) { grid-column: 1 / 4; grid-row: 4 / 6; z-index: 3; }
.bk .bk-collage-item:nth-child(4) { grid-column: 3 / 7; grid-row: 5 / 8; z-index: 1; }
.bk .bk-collage-item:nth-child(5) { grid-column: 1 / 3; grid-row: 6 / 8; z-index: 4; }
.bk .bk-collage-item:nth-child(6) { grid-column: 5 / 7; grid-row: 8 / 10; z-index: 2; }
.bk .bk-collage-caps {
  display: grid;
  gap: 10px 28px;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
  list-style: none;
}
.bk .bk-collage-caps li { display: flex; gap: 10px; align-items: baseline; }
.bk .bk-collage-no { flex: none; color: var(--accent-text); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .bk .bk-collage { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(60px, 6vw, 92px); }
  .bk .bk-collage-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 6; }
  .bk .bk-collage-item:nth-child(2) { grid-column: 5 / 9; grid-row: 3 / 7; }
  .bk .bk-collage-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 5; }
  .bk .bk-collage-item:nth-child(4) { grid-column: 8 / 12; grid-row: 5 / 9; }
  .bk .bk-collage-item:nth-child(5) { grid-column: 2 / 6; grid-row: 6 / 9; }
  .bk .bk-collage-item:nth-child(6) { grid-column: 11 / 13; grid-row: 8 / 10; }
  .bk .bk-collage--1 .bk-collage-item { grid-column: 1 / -1; grid-row: 1 / 7; }
  .bk .bk-collage--2 .bk-collage-item:nth-child(2) { grid-column: 6 / 13; grid-row: 2 / 7; }
  .bk .bk-collage--3 .bk-collage-item:nth-child(3) { grid-row: 2 / 7; }
  .bk .bk-collage-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899.98px) {
  .bk .bk-collage--1 .bk-collage-item { grid-column: 1 / -1; grid-row: 1 / 4; }
  .bk .bk-collage--2 .bk-collage-item:nth-child(2) { grid-row: 3 / 6; }
}
body.ui-pic-arch .bk-collage-pic { border-radius: var(--pic-card); }

/* ---- Plans: the price takes the size and colour of its place, whatever the direction gives .price ---- */
.bk :is(.bk-menu-price, .bk-bars-price, .bk-spot-price, .bk-spot-row-price) .price {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

/* ---- Plans: menu ---- */
.bk .bk-menu { display: grid; gap: 4px clamp(32px, 6vw, 88px); margin: 0; padding: 0; list-style: none; }
.bk .bk-menu-item { display: grid; gap: 6px; padding-block: clamp(16px, 2vw, 24px); border-bottom: 1px solid var(--line); }
.bk .bk-menu-line { display: flex; align-items: baseline; gap: 12px; }
.bk .bk-menu-name { min-width: 0; font-size: calc(clamp(1.15rem, 1.8vw, 1.45rem) * var(--head-size)); }
.bk .bk-menu-dots { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 40%, transparent); transform: translateY(-.3em); }
.bk .bk-menu-price { flex: none; max-width: 48%; color: var(--accent-text); font-family: var(--font-display); font-size: calc(clamp(1.1rem, 1.6vw, 1.35rem) * var(--head-size)); font-weight: var(--head-weight); text-align: end; }
.bk .bk-menu-text { color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) {
  .bk .bk-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Plans: bars ---- */
.bk .bk-bars { display: grid; margin: 0; padding: 0; list-style: none; }
.bk .bk-bars-item { display: grid; gap: 10px 32px; padding-block: clamp(22px, 3vw, 36px); border-top: 2px solid var(--ink); }
.bk .bk-bars-item:last-child { border-bottom: 2px solid var(--ink); }
.bk .bk-bars-line { display: contents; }
.bk .bk-bars-name { font-size: calc(clamp(1.3rem, 2.4vw, 2rem) * var(--head-size)); }
.bk .bk-bars-price {
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: calc(clamp(1.9rem, 4.4vw, 3.8rem) * var(--head-size));
  font-weight: var(--head-weight);
  line-height: 1;
  overflow-wrap: anywhere;
}
.bk .bk-bars-text { color: var(--muted); max-width: 60ch; }
@media (min-width: 900px) {
  .bk .bk-bars-item { grid-template-columns: minmax(0, 1fr) minmax(0, auto); grid-template-areas: "name price" "text price"; align-items: center; }
  .bk .bk-bars-name { grid-area: name; }
  .bk .bk-bars-price { grid-area: price; max-width: 46vw; text-align: end; }
  .bk .bk-bars-text { grid-area: text; }
}

/* ---- Plans: spotlight ---- */
.bk .bk-spot { display: grid; gap: var(--bk-gap); }
.bk .bk-spot-main {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(26px, 4vw, 56px);
  border-radius: var(--bk-r);
  background: var(--accent);
  color: var(--on-accent);
}
.bk .bk-spot-main :is(h3, p, .price) { color: var(--on-accent); }
.bk .bk-spot-name { font-size: calc(clamp(1.4rem, 2.6vw, 2.2rem) * var(--head-size)); }
.bk .bk-spot-price { font-family: var(--font-display); font-size: calc(clamp(2.2rem, 5vw, 4.2rem) * var(--head-size)); font-weight: var(--head-weight); line-height: 1; overflow-wrap: anywhere; }
.bk .bk-spot-btn { justify-self: start; margin-top: 8px; background: var(--on-accent); color: var(--accent); }
body.ui-btn-outline .bk-spot-btn, body.ui-btn-underline .bk-spot-btn { background: transparent; color: var(--on-accent); }
.bk .bk-spot-list { display: grid; align-content: start; margin: 0; padding: 0; list-style: none; }
.bk .bk-spot-row { display: grid; gap: 8px; padding-block: clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--line); }
.bk .bk-spot-row:first-child { padding-top: 0; }
.bk .bk-spot-row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; }
.bk .bk-spot-row-head h3 { min-width: 0; font-size: calc(clamp(1.15rem, 1.8vw, 1.45rem) * var(--head-size)); }
.bk .bk-spot-row-price { color: var(--accent-text); font-family: var(--font-display); font-size: calc(1.25rem * var(--head-size)); font-weight: var(--head-weight); }
.bk .bk-spot-row > p { color: var(--muted); }
@media (min-width: 900px) {
  .bk .bk-spot { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .bk .bk-spot.is-alone { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
}

/* ---- Questions: open ---- */
.bk .bk-open { display: grid; gap: clamp(28px, 4vw, 48px) clamp(32px, 6vw, 88px); }
.bk .bk-open-item { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }
.bk .bk-open-q { font-size: calc(clamp(1.15rem, 1.8vw, 1.45rem) * var(--head-size)); line-height: 1.2; }
.bk .bk-open-a { display: grid; gap: .8em; color: var(--muted); }
@media (min-width: 900px) {
  .bk .bk-open { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Questions: the details both opening layouts share ---- */
.bk :is(.bk-stack, .bk-big) summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.bk :is(.bk-stack, .bk-big) summary::-webkit-details-marker { display: none; }
.bk :is(.bk-stack, .bk-big) summary:focus-visible { outline: 2px solid var(--focus, var(--accent-text)); outline-offset: 4px; }
.bk .bk-q { min-width: 0; }
.bk .bk-q-mark { display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.bk .bk-a { display: grid; gap: .8em; color: var(--muted); }
.bk details[open] .bk-q-mark { transform: rotate(45deg); }

/* ---- Questions: stack ---- */
.bk .bk-stack { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.bk .bk-stack-item { border: var(--bk-edge) solid var(--line); border-radius: var(--bk-r); background: var(--bg); }
.bk .bk-stack-item summary { padding: clamp(18px, 2.2vw, 26px) clamp(18px, 2.6vw, 30px); font-weight: 600; font-size: 1.06rem; }
.bk .bk-stack .bk-q-mark { width: 40px; height: 40px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.bk .bk-stack .bk-a { padding: 0 clamp(18px, 2.6vw, 30px) clamp(20px, 2.4vw, 28px); }
.bk.bk-questions.bk-l-stack :is(.sec-head, .og-head) { justify-content: center; text-align: center; }

/* ---- Questions: big ---- */
.bk .bk-big { display: grid; border-top: 1px solid var(--line); }
.bk .bk-big-item { border-bottom: 1px solid var(--line); }
.bk .bk-big-item summary { padding-block: clamp(20px, 3vw, 38px); }
.bk .bk-big .bk-q {
  font-family: var(--font-display);
  font-size: calc(clamp(1.3rem, 3vw, 2.4rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.12;
  text-transform: var(--head-case);
}
.bk .bk-big .bk-q-mark { width: 48px; height: 48px; border: 1.5px solid currentColor; border-radius: 999px; color: var(--accent-text); }
.bk .bk-big .bk-a { max-width: 64ch; padding-bottom: clamp(22px, 3vw, 36px); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; }
.bk .bk-big details[open] .bk-q-mark { transform: rotate(90deg); }

/* ---- The story of the brand (teaser) ---- */
.bk .bk-story { display: grid; gap: clamp(22px, 4vw, 48px); }
.bk .bk-story-copy { display: grid; gap: 16px; align-content: center; min-width: 0; }
.bk .bk-story-title { font-size: min(calc(clamp(1.7rem, 3.6vw, 2.8rem) * var(--head-size) * var(--head-scale, 1)), calc(var(--bk-col) / (20 * var(--bk-g)))); }
.bk .bk-story-text { display: grid; gap: 1em; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; }
.bk .bk-story-more { justify-self: start; }
/* overlap: the card lies over the foot of the picture. */
.bk .bk-story--overlap .bk-story-pic { aspect-ratio: 4 / 3; }
.bk .bk-story--overlap .bk-story-copy {
  position: relative;
  z-index: 1;
  margin: -64px 12px 0;
  padding: clamp(24px, 3.4vw, 48px);
  border: var(--bk-edge) solid var(--line);
  border-radius: var(--bk-r);
  background: var(--surface);
  box-shadow: 0 30px 60px -40px rgb(0 0 0 / 45%);
}
.bk .bk-story--overlap.no-media .bk-story-copy { margin: 0; }
@media (min-width: 900px) {
  .bk .bk-story--overlap { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
  .bk .bk-story--overlap .bk-story-media { grid-column: 1 / 9; grid-row: 1; }
  .bk .bk-story--overlap .bk-story-pic { aspect-ratio: 3 / 2; }
  .bk .bk-story--overlap .bk-story-copy { grid-column: 7 / 13; grid-row: 1; align-self: end; margin: 0 0 -48px; }
  .bk .bk-story--overlap.no-media .bk-story-copy { grid-column: 1 / -1; margin: 0; }
}
/* quote: the story large in the display face, a round picture beside it. */
.bk .bk-story--quote .bk-story-media { width: min(220px, 52vw); }
.bk .bk-story--quote .bk-story-pic { aspect-ratio: 1; border-radius: 999px; }
.bk .bk-story--quote .bk-story-title { order: -1; color: var(--accent-text); font-family: var(--font-body); font-size: .95rem; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
/* Only the first paragraph is the quote; the rest of the story reads as text under it. */
.bk .bk-story--quote .bk-story-text p:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: calc(clamp(1.35rem, 2.8vw, 2.35rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.25;
}
.bk .bk-story--quote .bk-story-text.is-long p:first-child { font-size: calc(clamp(1.12rem, 1.8vw, 1.55rem) * var(--head-size)); line-height: 1.32; }
.bk .bk-story--quote .bk-story-text p:first-child::before { content: "\201C"; color: var(--accent-text); }
.bk .bk-story--quote .bk-story-text p + p { max-width: 60ch; }
@media (min-width: 900px) {
  .bk .bk-story--quote { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .bk .bk-story--quote.no-media { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
  .bk .bk-story--quote .bk-story-media { width: auto; }
}
/* columns: a wide strip of the picture, the story in two columns under it. */
.bk .bk-story--columns .bk-story-pic { aspect-ratio: 16 / 9; }
.bk .bk-story--columns .bk-story-text p:first-child::first-letter {
  float: inline-start;
  margin: .06em .12em 0 0;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: var(--head-weight);
  line-height: .82;
}
@media (min-width: 900px) {
  .bk .bk-story--columns .bk-story-pic { aspect-ratio: 21 / 8; }
  .bk .bk-story--columns .bk-story-copy { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 5vw, 80px); align-items: start; }
  .bk .bk-story--columns .bk-story-text { display: block; columns: 2; column-gap: clamp(24px, 4vw, 56px); }
  .bk .bk-story--columns .bk-story-text p + p { margin-top: 1em; }
  .bk .bk-story--columns .bk-story-more { grid-column: 2; }
}

/* ---- The closing call (cta) ---- */
.bk.bk-cta.section { padding-block: calc(clamp(56px, 9vw, 128px) * var(--density, 1)); }
.bk .bk-call { display: grid; gap: clamp(22px, 4vw, 48px); }
.bk .bk-call-copy { display: grid; gap: 16px; align-content: center; min-width: 0; }
.bk .bk-call-title { font-size: min(calc(clamp(1.8rem, 4vw, 3.2rem) * var(--head-size) * var(--head-scale, 1)), calc(var(--bk-col) * 0.96 / (var(--len, 10) * var(--bk-g)))); }
.bk .bk-call-text { display: grid; gap: .8em; max-width: 56ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.bk .bk-call-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* poster: on the band, centred, the call as large as its longest word lets it. */
.bk .bk-call--poster { justify-items: center; text-align: center; }
.bk .bk-call--poster .bk-call-copy { justify-items: center; max-width: 1100px; }
.bk .bk-call--poster .bk-call-title {
  font-size: min(calc(clamp(2.2rem, 6.4vw, 5.6rem) * var(--head-size) * var(--head-scale, 1)), calc(var(--bk-col) * 0.94 / (var(--len, 10) * var(--bk-g))), calc(var(--bk-col) * 3.2 / (var(--chars, 30) * var(--bk-g))));
  line-height: 1.02;
}
.bk .bk-call--poster .bk-call-text { color: var(--muted-band); }
.bk .bk-call--poster .bk-call-actions { justify-content: center; }
/* photo: the picture beside the call, both on the surface. */
.bk .bk-call--photo .bk-call-pic { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .bk .bk-call--photo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
  .bk .bk-call--photo .bk-call-pic { aspect-ratio: 5 / 4; }
}
/* contacts: the call beside every way to reach the brand. */
.bk .bk-call-reach { display: grid; gap: 22px; align-content: start; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--bk-r); background: var(--surface); }
.bk .bk-reach { gap: 16px; }
.bk .bk-reach > div { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bk .bk-reach > div:last-child { padding-bottom: 0; border-bottom: 0; }
.bk .bk-reach dt { color: var(--muted); }
.bk .bk-reach dd { margin: 0; color: var(--ink); font-size: clamp(1.02rem, 1.4vw, 1.2rem); font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .bk .bk-call--contacts:not(.is-bare) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
}

/* ---- The art directions: what each of them draws its own pieces with ---- */
/* Brutal: hard borders and hard shadows, no rounding. */
.dir-brutal .bk :is(.bk-tile-link, .bk-cards-item, .bk-panels-step, .bk-spot-main, .bk-stack-item, .bk-call-reach),
.dir-brutal .bk-story--overlap .bk-story-copy { border: var(--bw, 3px) solid var(--ink); border-radius: 0; box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--ink); }
.dir-brutal .bk :is(.bk-step-no, .bk-index-go, .bk-chip, .bk-q-mark) { border-radius: 0; }
.dir-brutal .bk-collage-pic { border: var(--bw, 3px) solid var(--ink); box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--ink); }
.dir-brutal .bk-on-band :is(.bk-step-no, .bk-chip) { border-color: var(--on-band); }
/* Arcade: chunky outlines and soft offset shadows. */
.dir-arcade .bk :is(.bk-tile-link, .bk-cards-item, .bk-panels-step, .bk-spot-main, .bk-stack-item, .bk-call-reach),
.dir-arcade .bk-story--overlap .bk-story-copy { border: 2.5px solid var(--ink); border-radius: max(var(--bk-r), 22px); box-shadow: 0 6px 0 var(--ink); }
.dir-arcade .bk-tile-pic { border-radius: 0; }
.dir-arcade .bk :is(.bk-step-no, .bk-chip) { border: 2.5px solid var(--ink); }
/* Swiss: hairlines, no shadows, square corners. */
.dir-swiss .bk :is(.bk-tile-link, .bk-cards-item, .bk-panels-step, .bk-spot-main, .bk-stack-item, .bk-call-reach),
.dir-swiss .bk-story--overlap .bk-story-copy { border: 1px solid var(--sw-rule, var(--line)); border-radius: 0; box-shadow: none; }
.dir-swiss .bk-collage-pic { box-shadow: none; }
/* Aurora: glass panels with a faint rim. */
.dir-aurora .bk :is(.bk-tile-link, .bk-cards-item, .bk-stack-item, .bk-call-reach),
.dir-aurora .bk-story--overlap .bk-story-copy { border: 1px solid var(--au-rim, var(--line)); background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent); }
/* Cinematic: dashed rules like its own chapters. */
.dir-cinematic .bk :is(.bk-index, .bk-index-row, .bk-menu-item, .bk-spot-row, .bk-open-item, .bk-big, .bk-big-item) { border-color: var(--cn-line, var(--line)); border-style: dashed; }
/* Editorial and gallery: quiet hairlines, the pictures do the talking. */
.dir-editorial .bk :is(.bk-tile-link, .bk-cards-item, .bk-stack-item, .bk-call-reach),
.dir-gallery .bk :is(.bk-tile-link, .bk-cards-item, .bk-stack-item, .bk-call-reach) { border: 1px solid var(--line); box-shadow: none; }
/* Organic: soft and round. */
.dir-organic .bk :is(.bk-tile-link, .bk-cards-item, .bk-panels-step, .bk-spot-main, .bk-stack-item, .bk-call-reach),
.dir-organic .bk-story--overlap .bk-story-copy { border-radius: var(--og-r, max(var(--bk-r), 24px)); }

/* ---- Motion: only while it is allowed ---- */
@media (prefers-reduced-motion: no-preference) {
  .bk .bk-tile-link, .bk .bk-cards-item { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
  .bk .bk-tile-link:hover { transform: translateY(-4px); }
  .bk .bk-tile-link .media-img, .bk .bk-zig-link .media-img, .bk .bk-index-link .media-img { transition: transform .8s var(--ease); }
  .bk .bk-tile-link:hover .media-img, .bk .bk-zig-link:hover .media-img, .bk .bk-index-link:hover .media-img { transform: scale(1.05); }
  /* The line of the track fills as the page scrolls, where the browser follows the scroll. */
  @supports (animation-timeline: view()) {
   @keyframes bk-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @media (min-width: 900px) {
      .bk .bk-track::after { animation: bk-fill linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
    }
  }
}
/* ---- Tokens of the design (Design.width, pic, buttons and rules) -----------------------------
   The classes ui-<axis>-<value> on <body> change one thing each over whatever the art direction
   draws; a design without them looks exactly as the direction does. This comes last, after the
   direction and the shared first screens, so a rule here wins over theirs of the same weight; a
   direction that needs its own version of one (its buttons, its pictures, its dividers) writes it
   with one class more in its style.css. --density and --head-scale are in premium/core.css. */

/* The two factors, from the classes too, in case a page carries the class without the custom
   property: :where() keeps them below the :root block that variant_of writes. */
:where(:root:has(> body.ui-density-tight)) { --density: 0.78; }
:where(:root:has(> body.ui-density-airy)) { --density: 1.28; }
:where(:root:has(> body.ui-density-grand)) { --density: 1.55; }
:where(:root:has(> body.ui-scale-modest)) { --head-scale: 0.86; }
:where(:root:has(> body.ui-scale-large)) { --head-scale: 1.16; }
:where(:root:has(> body.ui-scale-huge)) { --head-scale: 1.34; }

/* ---- Width: the content column (--maxw) is narrower or wider than the direction's own ----
   Where the narrow column is narrower than the direction's (wide screens), a heading may also
   become up to a fifth smaller than its own size, as far as a long word needs to fit the
   narrower column (--tk-keep, core.css). */
body.ui-width-narrow { --maxw: 1040px; }
body.ui-width-wide { --maxw: 1480px; }
@media (min-width: 1120px) {
  body.ui-width-narrow { --tk-keep: 0.8; }
}

/* ---- Pictures of the content (Design.pic) ----
   --pic is the shape of a picture, --pic-card the shape of a card whose words lie on its
   picture: rect, soft and round take --pic-radius (0, 14px, 32px, written by variant_of), arch
   is a round top over square feet, pill has fully round ends. A card with words on it keeps
   corners no letter runs into: square feet under the arch, a round corner for the pill. The
   first screen of the home page and a picture that runs from edge to edge of the screen keep
   their own shape (each direction lists its pictures in its style.css). */
body.ui-pic-rect { --pic: var(--pic-radius, 0px); --pic-card: var(--pic-radius, 0px); }
body.ui-pic-soft { --pic: var(--pic-radius, 14px); --pic-card: var(--pic-radius, 14px); }
body.ui-pic-round { --pic: var(--pic-radius, 32px); --pic-card: var(--pic-radius, 32px); }
body.ui-pic-arch { --pic: 999px 999px 0 0; --pic-card: 32px 32px 0 0; }
body.ui-pic-pill { --pic: 999px; --pic-card: 32px; }
/* The pictures of the shared sections and inner pages. A tile carries its name on the picture,
   so it takes the shape of a card; a direction that lays the words of a card over its picture
   (ui-card-overlay) gives that card the card shape in its own style.css. */
body[class*="ui-pic-"] :is(.item-media, .duo-media, .wide-media, .product-media, .scene-media, .contact-visual) { border-radius: var(--pic); }
body[class*="ui-pic-"] .tile-link { border-radius: var(--pic-card); }

/* ---- Buttons (Design.buttons) ----
   solid: every button a filled block with small corners, the second one in ink on the page
   colour; outline: every button a frame in the colour of the words around it, the first one
   heavier; pill: fully round ends; underline: the words with a line under them, no box (still
   44 px tall); square: sharp corners. Colours stay pairs that are checked for contrast: ink and
   the page, the accent and the text on it, or the colour of the section itself. */
body.ui-btn-pill { --btn-radius: 999px; }
body.ui-btn-square { --btn-radius: 0px; }
body.ui-btn-pill .btn { border-radius: 999px; }
body.ui-btn-square .btn { border-radius: 0; }
body.ui-btn-solid .btn { border-radius: min(var(--btn-radius), 8px); }
body.ui-btn-solid .btn-ghost { border-color: var(--ink); background: var(--ink); color: var(--bg); }
body.ui-btn-outline .btn { border: 1.5px solid currentColor; background: transparent; color: inherit; box-shadow: none; }
body.ui-btn-outline .btn-accent { border-width: 2px; }
body.ui-btn-underline .btn {
  min-height: 44px;
  padding-inline: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32em;
}
body.ui-btn-underline .btn-accent { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
body.ui-btn-underline .btn-invert { text-decoration-color: currentColor; }
/* A direction's fill or shine inside the button has no box to sit in. */
body.ui-btn-underline .btn::before,
body.ui-btn-underline .btn::after { display: none; }

/* ---- Dividers between the sections of the home page (Design.rules) ----
   A line across the content column at the top of each section, in the colour of its words:
   faint for hairline, full for bold. None under the first screen, at a ticker, at a band in a
   colour of its own or the closing call, where the colours already part the sections, nor on a
   section with a rounded top of its own (organic's domes and lens). A direction with dividers or
   edges of its own (cinematic, aurora, arcade, swiss, brutal) restyles those in its style.css;
   there "none" takes its dividers away. */
body.ui-rules-hairline { --rule-w: 1px; --rule-c: color-mix(in srgb, currentColor 26%, transparent); }
body.ui-rules-bold { --rule-w: 3px; --rule-c: currentColor; }
body.page-home:is(.ui-rules-hairline, .ui-rules-bold):not(.dir-cinematic, .dir-aurora, .dir-arcade, .dir-swiss, .dir-brutal)
  main > section:not(:first-child, [class*="ticker"], [class*="tape"], [class*="-band"], .og-dome, .og-lens):not(
    :is(main > :first-child, [class*="ticker"], [class*="tape"], [class*="-band"]) + *) {
  --rule-edge: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  border-top: var(--rule-w) solid;
  border-image: linear-gradient(90deg, transparent var(--rule-edge), var(--rule-c) var(--rule-edge), var(--rule-c) calc(100% - var(--rule-edge)), transparent calc(100% - var(--rule-edge))) 1;
}
