/* 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: "Balsamiq Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/balsamiq-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope.woff2") format("woff2");
}

:root {
  --maxw: 1240px;
  --bg: #FEF9F2;
  --surface: #F6EDE1;
  --ink: #241F1A;
  --muted: #62584C;
  --line: #E5D8C7;
  --accent: #93432C;
  --on-accent: #FFFFFF;
  --accent-text: #823724;
  --band: #30251D;
  --on-band: #FEF9F2;
  --muted-band: #D5C4B2;
  --font-display: "Balsamiq Sans", "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: ui-monospace, monospace;
  --radius: 2px;
  --radius-sm: 2px;
  --btn-radius: 2px;
  --border: 0px;
  --shadow: none;
  --section: clamp(80px, 12vw, 176px);
  --head-weight: 700;
  --head-style: normal;
  --head-track: -0.01em;
  --head-case: none;
  --head-size: 1.02;
  --density: 1;
  --head-scale: 1.16;
  --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: swiss ====================================================================
   A precise sheet: one grotesk, hairline 1 px grids, giant numbers and indices, small mono labels,
   a single accent, radius 0, no shadows. Motion is crisp: lines draw themselves, words rise in
   their masks, pictures open like shutters. Everything sits under .dir-swiss (the body). */

.dir-swiss {
  --radius: 0px;
  --radius-sm: 0px;
  --btn-radius: 0px;
  --shadow: none;
  --border: 1px;
  --maxw: 1360px;
  --sw-rule: var(--line);
  --sw-rule-band: var(--muted-band);
  --sw-wash: var(--surface);
  --sw-ease: cubic-bezier(.2, .8, .2, 1);
  --sw-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sw-pad: clamp(14px, 1.4vw, 22px);
  --sw-hdr: 64px;
  --sw-track: clamp(-0.032em, calc(var(--head-track) - 0.008em), 0.01em);
}
@supports (color: color-mix(in oklab, red, blue)) {
  .dir-swiss {
    --sw-rule: color-mix(in oklab, var(--ink) 17%, var(--bg));
    --sw-rule-band: color-mix(in oklab, var(--on-band) 22%, var(--band));
    --sw-wash: color-mix(in oklab, var(--ink) 3%, var(--bg));
  }
}

/* ---- Type ------------------------------------------------------------------------------------ */
.dir-swiss h1, .dir-swiss h2, .dir-swiss h3 { letter-spacing: var(--sw-track); }
.dir-swiss :is(.sw-head, .sec-head) h2 { font-size: min(calc(clamp(1.9rem, 4.1vw, 3.9rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(1.9rem, 4.1vw, 3.9rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.47))); line-height: 1; }
.dir-swiss h3 { font-size: calc(clamp(1.08rem, 1.3vw, 1.28rem) * var(--head-size)); line-height: 1.2; }
.dir-swiss .lead { font-size: clamp(1.0625rem, 1.2vw, 1.18rem); line-height: 1.5; }
.dir-swiss .eyebrow,
.dir-swiss .sw-eyebrow,
.dir-swiss .item-tag,
.dir-swiss .sw-tr-tag,
.dir-swiss .sw-prod-tag,
.dir-swiss .crumbs,
.dir-swiss .sw-index-head,
.dir-swiss .sw-list-head,
.dir-swiss .footer-head,
.dir-swiss .toc-title {
  font-family: var(--sw-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}
.dir-swiss .eyebrow { color: var(--ink); }
.dir-swiss .price { color: var(--ink); font-variant-numeric: tabular-nums; }
.dir-swiss .price-ask { color: var(--muted); }
.dir-swiss .sw-sq { display: inline-block; flex: none; width: 0.62em; height: 0.62em; background: var(--accent); }
.dir-swiss svg.icon { stroke-width: 1.5; }

/* ---- Buttons and links ----------------------------------------------------------------------- */
.dir-swiss .btn { gap: 12px; min-height: 48px; padding: 12px 18px; border-width: 1px; letter-spacing: -0.005em; transition: transform 0.25s var(--sw-ease); }
.dir-swiss .btn-lg { min-height: 56px; padding: 14px 20px; }
.dir-swiss .btn .icon { transition: transform 0.3s var(--sw-ease); }
.dir-swiss .sw-btn { gap: 0; padding: 0; align-items: stretch; }
.dir-swiss .sw-btn > span:first-child { display: flex; align-items: center; padding: 14px 20px 14px 22px; }
.dir-swiss .sw-btn-ic { display: grid; place-items: center; width: 56px; border-left: 1px solid var(--on-accent); }
.dir-swiss .sw-link,
.dir-swiss .sw-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}
.dir-swiss .sw-more { font-family: var(--sw-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.dir-swiss .link-more { font-family: var(--sw-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
@media (hover: hover) {
  .dir-swiss .btn:hover { transform: none; }
  .dir-swiss .btn:hover .icon { transform: translateX(4px); }
  .dir-swiss .sw-more:hover .icon, .dir-swiss .link-more:hover .icon { transform: translateX(4px); }
  .dir-swiss .sw-link:hover, .dir-swiss .sw-more:hover { text-decoration-thickness: 2px; }
}
.dir-swiss .sw-more .icon, .dir-swiss .link-more .icon { transition: transform 0.3s var(--sw-ease); }
.dir-swiss .btn:active { transform: translateY(1px); }

/* ---- Header ---------------------------------------------------------------------------------- */
.dir-swiss .header { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .header-row { min-height: var(--sw-hdr); gap: 20px; }
.dir-swiss .brand { gap: 10px; font-size: calc(1.08rem * var(--head-size)); font-weight: 700; letter-spacing: -0.02em; text-transform: var(--head-case); }
.dir-swiss .brand-mark, .dir-swiss .brand-tile { width: 30px; height: 30px; }
.dir-swiss .brand-tile { font-family: var(--sw-mono); font-size: 0.72rem; }
.dir-swiss .nav { display: flex; align-self: stretch; align-items: center; }
.dir-swiss .nav-links { align-self: stretch; gap: 0; counter-reset: sw-nav; font-size: 0.875rem; font-weight: 500; }
.dir-swiss .nav-links li { display: flex; border-left: 1px solid var(--sw-rule); }
.dir-swiss .nav-links li:last-child { border-right: 1px solid var(--sw-rule); }
.dir-swiss .nav-links a { display: flex; align-items: center; gap: 8px; padding: 0 14px; text-decoration: none; white-space: nowrap; overflow-wrap: normal; }
.dir-swiss .nav-links a::before {
  content: counter(sw-nav, decimal-leading-zero);
  content: counter(sw-nav, decimal-leading-zero) / "";
  counter-increment: sw-nav;
  color: var(--muted);
  font-family: var(--sw-mono);
  font-size: 0.6875rem;
}
.dir-swiss .nav-links a[aria-current="page"] { background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 2px no-repeat; }
.dir-swiss .nav-links a:hover { color: var(--accent-text); }
.dir-swiss .nav-menu summary { min-height: 44px; border: 1px solid currentColor; font-size: 0.875rem; font-weight: 600; }
.dir-swiss .nav-menu > ul { padding: 0; border: 1px solid var(--sw-rule); border-radius: 0; box-shadow: none; background: var(--bg); }
.dir-swiss .nav-menu > ul li + li { border-top: 1px solid var(--sw-rule); }
.dir-swiss .nav-menu > ul a { padding: 12px 16px; }
.dir-swiss .lang-menu > ul { border-color: var(--sw-rule); box-shadow: none; }
.dir-swiss .header-cta { min-height: 40px; padding: 8px 14px; font-size: 0.85rem; }
/* Links in a row only where they all fit: the menu stands for them below. */
@media (min-width: 860px) and (max-width: 1279px) {
  .dir-swiss .nav-links { display: none; }
  .dir-swiss .nav-menu { display: block; }
}
/* A split header keeps the brand first: the links need the whole row. */
.dir-swiss.ui-header-split .header-row { display: flex; }
.dir-swiss.ui-header-split .brand, .dir-swiss.ui-header-split .nav { order: 0; }
.dir-swiss.ui-header-split .nav { margin-left: auto; }
/* A capsule header becomes the plain bar of the grid. */
.dir-swiss.ui-header-capsule .header { top: 0; margin: 0; border: 0; border-bottom: 1px solid var(--sw-rule); background: var(--bg); }
.dir-swiss.ui-header-capsule .header-row { width: min(var(--maxw), 100% - 2 * var(--gutter)); min-height: var(--sw-hdr); padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
@media (min-width: 860px) {
  .dir-swiss.ui-header-center .nav, .dir-swiss.ui-header-center .nav-links { min-height: 52px; }
}
/* The header takes the colours of the section under it. */
.dir-swiss[data-nav="dark"] .header { background: var(--band); color: var(--on-band); border-bottom-color: var(--sw-rule-band); --focus: var(--on-band); }
.dir-swiss[data-nav="dark"] .header .nav-links li { border-color: var(--sw-rule-band); }
.dir-swiss[data-nav="dark"] .header .nav-links a::before { color: var(--muted-band); }
.dir-swiss[data-nav="dark"] .header .nav-links a:hover { color: var(--on-band); text-decoration: underline; }
.dir-swiss[data-nav="accent"] .header { background: var(--accent); color: var(--on-accent); border-bottom-color: var(--on-accent); --focus: var(--on-accent); }
.dir-swiss[data-nav="accent"] .header .nav-links li { border-color: var(--on-accent); }
.dir-swiss[data-nav="accent"] .header .nav-links a::before { color: var(--on-accent); }
.dir-swiss[data-nav="accent"] .header .nav-links a:hover { color: var(--on-accent); text-decoration: underline; }
.dir-swiss[data-nav="accent"] .header .nav-links a[aria-current="page"] { background-image: linear-gradient(var(--on-accent), var(--on-accent)); }
.dir-swiss[data-nav="accent"] .header .header-cta { background: var(--on-accent); color: var(--accent); }
.dir-swiss[data-nav="accent"] .header .brand-tile { background: var(--on-accent); color: var(--accent); }
/* Scroll progress: a hairline of the accent along the top (motion.js). */
.dir-swiss .sw-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* The curtain of the first visit: the paper, the name, a hairline. */
.dir-swiss .curtain { background: var(--bg); }
.dir-swiss .curtain-name { letter-spacing: calc(var(--head-track) - 0.03em); }
.dir-swiss .curtain-line { height: 1px; background: var(--ink); }

/* ---- First screen ---------------------------------------------------------------------------- */
.dir-swiss .sw-hero { position: relative; padding-block: clamp(10px, 1.2vw, 18px) clamp(40px, 5vw, 80px); }
.dir-swiss .sw-frame { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
/* Hairlines: every cell draws its top and left line, the frame its right and bottom one, so the
   lines can draw themselves one by one. */
.dir-swiss .sw-frame::before,
.dir-swiss .sw-frame::after,
.dir-swiss .sw-cell::before,
.dir-swiss .sw-cell::after { content: ""; position: absolute; z-index: 3; background: var(--sw-rule); pointer-events: none; }
.dir-swiss .sw-frame::before { top: 0; right: 0; bottom: 0; width: 1px; transform-origin: top; }
.dir-swiss .sw-frame::after { left: 0; right: 0; bottom: 0; height: 1px; transform-origin: right; }
.dir-swiss .sw-cell::before { top: 0; left: 0; right: 0; height: 1px; transform-origin: left; }
.dir-swiss .sw-cell::after { top: 0; left: 0; bottom: 0; width: 1px; transform-origin: top; }
.dir-swiss .sw-cell { position: relative; min-width: 0; padding: var(--sw-pad); }
.dir-swiss .sw-k { position: absolute; top: 10px; right: 12px; z-index: 4; color: var(--muted); font-family: var(--sw-mono); font-size: 0.6875rem; line-height: 1; }

/* The top row: the eyebrow and the address. */
.dir-swiss .sw-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; padding-block: 13px; }
.dir-swiss .sw-eyebrow { display: inline-flex; align-items: baseline; gap: 10px; margin: 0; color: var(--ink); }
.dir-swiss .sw-eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); }
.dir-swiss .sw-meta-place { margin: 0 0 0 auto; color: var(--muted); font-family: var(--sw-mono); font-size: 0.75rem; letter-spacing: 0.06em; line-height: 1.35; text-align: right; text-transform: uppercase; }

/* The title cell: the title at its top, the lead and the buttons under it. */
.dir-swiss .sw-title { display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(20px, 3.4vh, 36px); padding-top: clamp(30px, 5vh, 56px); padding-bottom: clamp(20px, 3vh, 30px); }
.dir-swiss .sw-h1 {
  max-width: 100%;
  font-size: min(calc(var(--sw-h1) * var(--head-size) * var(--head-scale, 1)), max(calc(var(--sw-h1) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.6)));
  line-height: 0.95;
  letter-spacing: clamp(-0.025em, var(--head-track), 0.01em);
  text-wrap: balance;
  padding-bottom: 0.08em;
}
/* The size follows the length of the title and the height of the screen, so the lead and the
   button stay on the first screen. */
.dir-swiss .sw-size-s { --sw-h1: clamp(2.6rem, min(10.4vw, 19vh), 11rem); --sw-h1: clamp(2.6rem, min(10.4vw, 19svh), 11rem); }
.dir-swiss .sw-size-m { --sw-h1: clamp(2.2rem, min(7.4vw, 13.5vh), 8rem); --sw-h1: clamp(2.2rem, min(7.4vw, 13.5svh), 8rem); }
.dir-swiss .sw-size-l { --sw-h1: clamp(1.9rem, min(5.5vw, 10.6vh), 6rem); --sw-h1: clamp(1.9rem, min(5.5vw, 10.6svh), 6rem); }
/* The accent part: the same face in the accent colour, upright. */
.dir-swiss .sw-h1 .ac { color: var(--accent-text); font-style: normal; }
/* Each word in its mask; the padding keeps descenders out of the clip. */
.dir-swiss .sw-w { display: inline-block; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.dir-swiss .sw-w-in { display: inline-block; }

.dir-swiss .sw-tail { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; }
.dir-swiss .sw-lead-wrap { flex: 1 1 24rem; max-width: 48ch; }
.dir-swiss .sw-lead { color: var(--muted); }
.dir-swiss .sw-lead + .sw-lead { margin-top: 0.8em; }
.dir-swiss .sw-actions { display: flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* The index of the page and the list of the index hero. */
.dir-swiss .sw-index, .dir-swiss .sw-list { display: flex; flex-direction: column; gap: 18px; }
.dir-swiss .sw-index-head, .dir-swiss .sw-list-head { margin: 0; padding-right: 32px; color: var(--muted); }
.dir-swiss .sw-list-head a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ink); text-decoration: none; }
.dir-swiss .sw-list-head a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.dir-swiss .sw-ix { margin: 0; padding: 0; list-style: none; }
.dir-swiss .sw-ix li { position: relative; border-top: 1px solid var(--sw-rule); }
.dir-swiss .sw-ix li:last-child { border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .sw-ix a { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; align-items: baseline; gap: 10px; min-height: 44px; padding: 11px 0; color: inherit; font-size: 0.95rem; line-height: 1.3; text-decoration: none; }
.dir-swiss .sw-ix-no { color: var(--muted); font-family: var(--sw-mono); font-size: 0.7rem; }
.dir-swiss .sw-ix-name { transition: transform 0.35s var(--sw-ease); }
.dir-swiss .sw-ix-go { align-self: center; line-height: 0; }
.dir-swiss .sw-ix-go .icon { transition: transform 0.35s var(--sw-ease); }
.dir-swiss .sw-ix-go--down .icon { transform: rotate(90deg); }
/* The index of the grid hero: small mono labels in a narrow column. */
.dir-swiss .sw-ix--small a { grid-template-columns: 1.7rem minmax(0, 1fr) auto; gap: 8px; padding: 10px 0; font-family: var(--sw-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.05em; line-height: 1.35; text-transform: uppercase; }
.dir-swiss .sw-ix--small .sw-ix-no { font-size: inherit; }
@media (hover: hover) {
  .dir-swiss .sw-ix:not(.sw-ix--big) a:hover .sw-ix-name { transform: translateX(4px); }
  .dir-swiss .sw-ix:not(.sw-ix--big) a:hover .sw-ix-no { color: var(--accent-text); }
  .dir-swiss .sw-ix a:hover .sw-ix-go .icon { transform: translate(3px, -3px); }
  .dir-swiss .sw-ix a:hover .sw-ix-go--down .icon { transform: rotate(90deg) translateX(3px); }
}
.dir-swiss .sw-ix--big a { grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: center; padding: clamp(12px, 1.4vw, 20px) 10px; }
.dir-swiss .sw-ix--big .sw-ix-name {
  display: block;
  font-family: var(--font-display);
  font-size: calc(clamp(1.15rem, 1.7vw, 1.7rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--sw-track);
  line-height: 1.08;
  text-transform: var(--head-case);
}
.dir-swiss .sw-ix-text { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.dir-swiss .sw-ix-text .price { color: inherit; font-size: inherit; }

/* The photo and the line field. */
.dir-swiss .sw-photo { display: flex; }
.dir-swiss .sw-photo-in { position: relative; flex: 1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.dir-swiss .sw-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.dir-swiss .sw-field { display: flex; flex-direction: column; }
.dir-swiss .sw-stage { position: relative; flex: 1; min-height: 150px; overflow: hidden; --s1: var(--accent); --s2: var(--ink); --s3: var(--line); }
.dir-swiss .sw-stage > canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.dir-swiss .sw-lines { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transition: opacity 0.8s var(--sw-ease); }
.dir-swiss .stage3d.is-live .sw-lines { opacity: 0; }
.dir-swiss .sw-lines path { fill: none; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.dir-swiss .sw-lines .is-ink { stroke: var(--ink); stroke-opacity: 0.3; }
.dir-swiss .sw-lines .is-accent { stroke: var(--accent); }

/* The sheet on wide screens. The first screen holds the top row and the title cell; the photo and
   the tall line field start under them and are met on the first scroll. */
@media (min-width: 1024px) {
  .dir-swiss .sw-hero .sw-frame { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .dir-swiss .sw-meta { grid-column: 1 / -1; }
  .dir-swiss .sw-hero--grid .sw-title { grid-column: 1 / 10; }
  .dir-swiss .sw-hero--grid .sw-index { grid-column: 10 / -1; }
  .dir-swiss .sw-hero--grid.no-index .sw-title { grid-column: 1 / -1; }
  .dir-swiss .sw-hero--grid .sw-photo { grid-column: 1 / 6; }
  .dir-swiss .sw-hero--grid .sw-field { grid-column: 6 / -1; }
  .dir-swiss .sw-hero--grid.no-media .sw-field { grid-column: 1 / -1; }
  .dir-swiss .sw-hero--grid .sw-photo-in { aspect-ratio: auto; min-height: clamp(260px, 42vh, 480px); }
  .dir-swiss .sw-hero--grid .sw-stage { min-height: clamp(260px, 42vh, 480px); }
  .dir-swiss .sw-hero--index .sw-title { grid-column: 1 / 9; }
  .dir-swiss .sw-hero--index .sw-list { grid-column: 9 / -1; grid-row: span 2; }
  .dir-swiss .sw-hero--index .sw-photo { grid-column: 1 / 5; }
  .dir-swiss .sw-hero--index .sw-field { grid-column: 5 / 9; }
  .dir-swiss .sw-hero--index.no-media .sw-field { grid-column: 1 / 9; }
  .dir-swiss .sw-hero--index .sw-photo-in { aspect-ratio: auto; min-height: clamp(220px, 34vh, 380px); }
  .dir-swiss .sw-hero--index .sw-stage { min-height: clamp(220px, 34vh, 380px); }
  .dir-swiss .sw-hero--index .sw-size-s { --sw-h1: clamp(2.6rem, min(8.6vw, 17vh), 9rem); --sw-h1: clamp(2.6rem, min(8.6vw, 17svh), 9rem); }
  .dir-swiss .sw-hero--index .sw-size-m { --sw-h1: clamp(2.2rem, min(6.2vw, 12.5vh), 6.6rem); --sw-h1: clamp(2.2rem, min(6.2vw, 12.5svh), 6.6rem); }
  .dir-swiss .sw-hero--index .sw-size-l { --sw-h1: clamp(1.9rem, min(4.7vw, 10vh), 5rem); --sw-h1: clamp(1.9rem, min(4.7vw, 10svh), 5rem); }
  .dir-swiss .sw-hero--index .sw-lead-wrap { flex-basis: 100%; }
}
/* From a wide laptop the index of the grid hero keeps to two columns. */
@media (min-width: 1280px) {
  .dir-swiss .sw-hero--grid .sw-title { grid-column: 1 / 11; }
  .dir-swiss .sw-hero--grid .sw-index { grid-column: 11 / -1; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .dir-swiss .sw-hero .sw-frame { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dir-swiss .sw-hero .sw-frame > * { grid-column: 1 / -1; }
  .dir-swiss .sw-hero .sw-frame > .sw-photo { grid-column: 1 / 4; }
  .dir-swiss .sw-hero .sw-frame > .sw-field { grid-column: 4 / -1; }
  .dir-swiss .sw-hero.no-media .sw-frame > .sw-field { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .dir-swiss .sw-hero--grid .sw-index { order: 5; }
  .dir-swiss .sw-hero--grid .sw-ix--small a { min-height: 44px; font-size: 0.75rem; }
  .dir-swiss .sw-hero--index .sw-title { order: 1; }
  .dir-swiss .sw-hero--index .sw-list { order: 4; }
  .dir-swiss .sw-hero .sw-photo, .dir-swiss .sw-hero .sw-field { order: 3; }
  .dir-swiss .sw-title { padding-top: clamp(26px, 6vw, 48px); }
}
@media (max-width: 639px) {
  .dir-swiss .sw-size-s { --sw-h1: clamp(2.6rem, 12.5vw, 3.6rem); }
  .dir-swiss .sw-size-m { --sw-h1: clamp(2.05rem, 9.4vw, 2.9rem); }
  .dir-swiss .sw-size-l { --sw-h1: clamp(1.8rem, 8.1vw, 2.4rem); }
  .dir-swiss .sw-title { gap: 18px; padding-top: 22px; }
  .dir-swiss .sw-tail { gap: 18px; }
  .dir-swiss .sw-meta-place { display: none; }
  .dir-swiss .sw-photo-in { max-height: 38svh; }
  .dir-swiss .sw-stage { min-height: 140px; }
  .dir-swiss .sw-actions { width: 100%; }
  .dir-swiss .sw-btn { width: 100%; justify-content: space-between; }
}

/* ---- Sections as rows of the grid ------------------------------------------------------------- */
/* Rows follow each other closely: the hairline at the top of each is the pause. */
.dir-swiss { --section: clamp(52px, 6.4vw, 96px); }
.dir-swiss .sw-sec { position: relative; padding-top: calc(clamp(36px, 4.4vw, 64px) * var(--density, 1)); }
.dir-swiss .sw-alt { background: var(--sw-wash); }
.dir-swiss .sw-band { background: var(--band); color: var(--on-band); --sw-rule: var(--sw-rule-band); --focus: var(--on-band); }
/* On the band every quiet text takes the quiet colour of the band, never the one of the paper. */
.dir-swiss .sw-band :is(.lead, .sw-head-note .lead, .sw-tr-text, .sw-tr-no, .sw-tr-tag, .sw-rail-cap, .sw-gallery-cap, .sw-note) { color: var(--muted-band); }
.dir-swiss .sw-band :is(.sw-more, .sw-num, .sw-rail-no) { color: var(--on-band); }
.dir-swiss .sw-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 0; padding-top: clamp(18px, 1.8vw, 26px); }
/* The hairline the row hangs from; it draws itself from the left (motion.js). */
.dir-swiss .sw-row-rule { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--sw-rule); transform-origin: left; pointer-events: none; }
.dir-swiss .sw-side-in { display: flex; align-items: center; gap: 12px; }
.dir-swiss .sw-num {
  display: block;
  flex: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: calc(3rem * var(--head-size));
  font-style: normal;
  font-weight: var(--head-weight);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.05em;
  line-height: 0.8;
  text-box: trim-both cap alphabetic;
}
/* A quiet number: where the content numbers itself in large (the steps). */
.dir-swiss .sw-num--quiet { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sw-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.35; text-box: none; }
.dir-swiss .sw-num--quiet::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); }
/* The heading, the lead and the link hang from the same line; the heading is never squeezed. */
.dir-swiss .sw-head { display: grid; gap: 16px 40px; align-items: start; margin-bottom: clamp(28px, 3.6vw, 52px); }
.dir-swiss .sw-head h2 { max-width: calc(22ch * var(--chs, 1)); min-width: min(14ch, 100%); text-wrap: balance; text-box: trim-both cap alphabetic; }
.dir-swiss .sw-head-note { display: grid; justify-items: start; gap: 14px; }
.dir-swiss .sw-head-note .lead { max-width: 46ch; color: var(--muted); }
.dir-swiss .sw-head-note > p:first-child { text-box: trim-start cap alphabetic; }
@media (min-width: 900px) {
  .dir-swiss .sw-head { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .dir-swiss .sw-head-note > .sw-more:first-child { margin-top: -12px; }
}
@media (min-width: 1024px) {
  .dir-swiss .sw-row { grid-template-columns: minmax(0, 2fr) minmax(0, 7fr); column-gap: clamp(20px, 2.4vw, 40px); }
  .dir-swiss .sw-wide { grid-column: 1 / -1; }
  .dir-swiss .sw-side-in { position: sticky; top: calc(var(--sw-hdr) + 22px); }
  .dir-swiss .sw-num:not(.sw-num--quiet) { font-size: calc(clamp(4rem, 7.4vw, 8.75rem) * var(--head-size)); }
}

/* Table-like lists: number, name, text, picture, arrow; the accent wipes in under a row. */
.dir-swiss .sw-table { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .sw-tr-item { position: relative; }
.dir-swiss .sw-tr-item::before,
.dir-swiss .sw-def::before,
.dir-swiss .sw-step::before,
.dir-swiss .sw-plan::before,
.dir-swiss .sw-strip-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 1px;
  background: var(--sw-rule);
  transform: scaleX(var(--sw-x, 1));
  transform-origin: left;
  transition: transform 0.9s var(--sw-ease) calc(var(--sw-i, 0) * 70ms);
  pointer-events: none;
}
.dir-swiss .sw-tr,
.dir-swiss .sw-ix--big a {
  position: relative;
  isolation: isolate;
  color: inherit;
  text-decoration: none;
}
.dir-swiss .sw-tr::before,
.dir-swiss .sw-ix--big a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--sw-ease);
}
.dir-swiss .sw-tr {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  grid-template-areas: "no name media" "no text media";
  align-items: baseline;
  gap: 6px 16px;
  min-height: 64px;
  padding: 18px 10px;
}
.dir-swiss .sw-tr:focus-visible, .dir-swiss .sw-ix a:focus-visible { outline-offset: -3px; }
.dir-swiss .sw-tr-no { grid-area: no; color: var(--muted); font-family: var(--sw-mono); font-size: 0.72rem; }
.dir-swiss .sw-tr-name { grid-area: name; min-width: 0; }
.dir-swiss .sw-tr-tag { margin-bottom: 4px; color: var(--muted); }
.dir-swiss .sw-tr-title { font-size: calc(clamp(1.2rem, 1.9vw, 1.8rem) * var(--head-size)); line-height: 1.08; transition: transform 0.4s var(--sw-ease); }
.dir-swiss .sw-tr-text { grid-area: text; max-width: 52ch; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.dir-swiss .sw-tr-price { grid-area: text; }
.dir-swiss .sw-tr-media { grid-area: media; align-self: start; width: 76px; aspect-ratio: 1; }
.dir-swiss .sw-tr-media .media-img { transition: transform 0.6s var(--sw-ease), filter 0.5s var(--sw-ease); }
.dir-swiss .sw-tr-go { display: none; grid-area: go; align-self: start; justify-self: end; line-height: 0; }
.dir-swiss .sw-tr-go .icon { transition: transform 0.4s var(--sw-ease); }
.dir-swiss .sw-tr--bare { grid-template-areas: "no name media"; }
.dir-swiss .sw-tr:not(.sw-tr--media) { grid-template-columns: 2.4rem minmax(0, 1fr); grid-template-areas: "no name" "no text"; }
.dir-swiss .sw-table--big .sw-tr-title { font-size: calc(clamp(1.6rem, 3.6vw, 3.2rem) * var(--head-size)); line-height: 1; }
@media (min-width: 900px) {
  .dir-swiss .sw-tr { grid-template-columns: 3.4rem minmax(0, 5fr) minmax(0, 4fr) 22px; grid-template-areas: "no name text go"; gap: 16px 24px; padding: 22px 12px; }
  .dir-swiss .sw-tr--media { grid-template-columns: 3.4rem minmax(0, 5fr) minmax(0, 4fr) clamp(7.5rem, 11vw, 10.5rem) 22px; grid-template-areas: "no name text media go"; }
  .dir-swiss .sw-tr--bare { grid-template-columns: 3.4rem minmax(0, 1fr) 22px; grid-template-areas: "no name go"; }
  .dir-swiss .sw-tr--bare.sw-tr--media { grid-template-columns: 3.4rem minmax(0, 1fr) clamp(7.5rem, 11vw, 10.5rem) 22px; grid-template-areas: "no name media go"; }
  .dir-swiss .sw-tr-go { display: block; }
  .dir-swiss .sw-tr-media { width: 100%; aspect-ratio: 4 / 3; }
  .dir-swiss .sw-table--big .sw-tr { padding-block: clamp(22px, 2.4vw, 34px); }
}
@media (hover: hover) {
  .dir-swiss .sw-tr-media .media-img { filter: grayscale(1) contrast(1.05); }
  .dir-swiss .sw-tr:hover::before, .dir-swiss .sw-ix--big a:hover::before { transform: scaleY(1); }
  .dir-swiss .sw-tr:hover, .dir-swiss .sw-ix--big a:hover,
  .dir-swiss .sw-tr:hover :is(.sw-tr-no, .sw-tr-tag, .sw-tr-text, .price, .price-ask),
  .dir-swiss .sw-ix--big a:hover :is(.sw-ix-no, .sw-ix-text, .price, .price-ask) { color: var(--on-accent); }
  .dir-swiss .sw-tr:hover .sw-tr-title { transform: translateX(8px); }
  .dir-swiss .sw-tr:hover .sw-tr-media .media-img { filter: none; transform: scale(1.06); }
  .dir-swiss .sw-tr:hover .sw-tr-go .icon { transform: rotate(45deg); }
}

/* Products: a sheet of hairline cells. */
.dir-swiss .sw-sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sw-rule); border-left: 1px solid var(--sw-rule); }
.dir-swiss .sw-sheet-item { border-right: 1px solid var(--sw-rule); border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .sw-prod { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: var(--sw-pad); color: inherit; text-decoration: none; }
.dir-swiss .sw-prod-no { color: var(--muted); font-family: var(--sw-mono); font-size: 0.7rem; }
.dir-swiss .sw-prod-media { aspect-ratio: 4 / 5; background: var(--surface); }
.dir-swiss .sw-prod-body { display: grid; gap: 4px; margin-top: auto; }
.dir-swiss .sw-prod-tag { color: var(--muted); }
.dir-swiss .sw-prod-title { font-size: calc(1.02rem * var(--head-size)); line-height: 1.25; }
.dir-swiss .sw-prod-body .price { font-size: 0.95rem; font-weight: 600; }
@media (min-width: 640px) {
  .dir-swiss .sw-prod-body { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px; }
  .dir-swiss .sw-prod-tag { grid-column: 1 / -1; }
}
.dir-swiss .sw-sheet--1 { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
.dir-swiss :is(.sw-sheet--3, .sw-sheet--5, .sw-sheet--7) > .sw-sheet-item:last-child { grid-column: 1 / -1; }
@media (max-width: 899px) {
  .dir-swiss :is(.sw-sheet--3, .sw-sheet--5, .sw-sheet--7) > .sw-sheet-item:last-child .sw-prod-media { aspect-ratio: 16 / 10; }
}
@media (min-width: 900px) {
  .dir-swiss :is(.sw-sheet--3, .sw-sheet--6) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dir-swiss :is(.sw-sheet--4, .sw-sheet--8) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dir-swiss .sw-sheet--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dir-swiss .sw-sheet--7 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .dir-swiss .sw-sheet--7 > .sw-sheet-item { grid-column: span 3; }
  .dir-swiss .sw-sheet--7 > .sw-sheet-item:nth-child(n + 5) { grid-column: span 4; }
  .dir-swiss :is(.sw-sheet--3, .sw-sheet--5) > .sw-sheet-item:last-child { grid-column: auto; }
  .dir-swiss .sw-sheet--7 > .sw-sheet-item:last-child { grid-column: span 4; }
}
@media (hover: hover) {
  .dir-swiss .sw-prod .media-img { transition: transform 0.7s var(--sw-ease); }
  .dir-swiss .sw-prod:hover .media-img { transform: scale(1.04); }
  .dir-swiss .sw-prod:hover .sw-prod-no { color: var(--accent-text); }
  .dir-swiss .sw-prod:hover .sw-prod-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
}

/* Benefits: a numbered definition table. */
.dir-swiss .sw-defs { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .sw-def { position: relative; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 10px 16px; padding: 22px 0 24px; }
.dir-swiss .sw-def-no { color: var(--muted); font-family: var(--sw-mono); font-size: 0.72rem; padding-top: 0.3em; }
.dir-swiss .sw-def-name { display: flex; align-items: flex-start; gap: 12px; }
.dir-swiss .sw-def-icon { flex: none; color: var(--accent-text); line-height: 0; padding-top: 2px; }
.dir-swiss .sw-def-text { grid-column: 2; color: var(--muted); max-width: 56ch; }
.dir-swiss .sw-def-text p + p { margin-top: 0.7em; }
@media (min-width: 900px) {
  .dir-swiss .sw-def { grid-template-columns: 3.4rem minmax(0, 4fr) minmax(0, 5fr); gap: 16px 24px; padding-block: 26px 30px; }
  .dir-swiss .sw-def-text { grid-column: 3; }
}

/* Process: columns under giant numbers (the row itself numbers quietly, so the two counts do not
   compete). Five steps on a tablet go three and two, so no row ends half empty. */
.dir-swiss .sw-steps { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .sw-step { position: relative; padding: 20px var(--sw-pad) 30px 0; }
.dir-swiss .sw-step-no {
  display: block;
  margin-bottom: clamp(24px, 4vw, 56px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: calc(clamp(3.6rem, 7.6vw, 8rem) * var(--head-size));
  font-weight: var(--head-weight);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.06em;
  line-height: 0.8;
}
.dir-swiss .sw-step:first-child .sw-step-no { color: var(--accent-text); }
.dir-swiss .sw-step h3 { margin-bottom: 10px; }
.dir-swiss .sw-step p { color: var(--muted); font-size: 0.975rem; }
@media (min-width: 700px) {
  .dir-swiss .sw-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); border-right: 1px solid var(--sw-rule); }
  .dir-swiss .sw-step { grid-column: span 3; padding-left: var(--sw-pad); border-left: 1px solid var(--sw-rule); }
  .dir-swiss :is(.sw-steps--3, .sw-steps--6) > .sw-step { grid-column: span 2; }
  .dir-swiss .sw-steps--5 > .sw-step:nth-child(-n + 3) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .dir-swiss .sw-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dir-swiss .sw-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dir-swiss :is(.sw-steps--4, .sw-steps--5) > .sw-step:nth-child(n) { grid-column: auto; }
}

/* Promises: one strip of cells. */
.dir-swiss .sw-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--sw-rule); border-left: 1px solid var(--sw-rule); }
.dir-swiss .sw-strip-cell { position: relative; display: grid; align-content: start; gap: 10px; padding: 22px var(--sw-pad) 26px; border-right: 1px solid var(--sw-rule); }
.dir-swiss .sw-strip-icon { color: var(--accent-text); line-height: 0; }
.dir-swiss .sw-strip-cell p { color: var(--muted); font-size: 0.95rem; }

/* Plans: the columns of one table. */
.dir-swiss .sw-plans { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .sw-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px var(--sw-pad) 30px 0; }
.dir-swiss .sw-plan-no { color: var(--muted); font-family: var(--sw-mono); font-size: 0.72rem; }
.dir-swiss .sw-plan-price { margin-block: 6px 4px; }
.dir-swiss .sw-plan-price .price { display: block; color: var(--ink); font-variant-numeric: lining-nums; font-family: var(--font-display); font-size: calc(clamp(2.2rem, 4vw, 3.6rem) * var(--head-size)); font-weight: var(--head-weight); letter-spacing: -0.04em; line-height: 1; }
.dir-swiss .sw-plan-price .price-ask { color: var(--muted); font-size: 1.1rem; font-family: var(--font-body); letter-spacing: 0; }
.dir-swiss .sw-plan-text { color: var(--muted); }
@media (min-width: 800px) {
  .dir-swiss .sw-plans { border-right: 1px solid var(--sw-rule); }
  .dir-swiss .sw-plans--2, .dir-swiss .sw-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-swiss .sw-plans--3, .dir-swiss .sw-plans--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dir-swiss .sw-plans--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dir-swiss .sw-plans--5 > .sw-plan { grid-column: span 3; }
  .dir-swiss .sw-plans--5 > .sw-plan:nth-child(-n + 3) { grid-column: span 2; }
  .dir-swiss .sw-plan { padding-left: var(--sw-pad); border-left: 1px solid var(--sw-rule); }
}
@media (min-width: 1180px) {
  .dir-swiss .sw-plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Teaser: a picture and the story. */
.dir-swiss .sw-duo { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
.dir-swiss .sw-duo-img { aspect-ratio: 4 / 3; }
.dir-swiss .sw-duo-copy { display: grid; justify-items: start; gap: 16px; max-width: 54ch; color: var(--muted); }
@media (min-width: 900px) {
  .dir-swiss .sw-duo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

/* Questions: hairline rows. */
.dir-swiss .faq details { border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .faq details:first-child { border-top: 1px solid var(--sw-rule); }
.dir-swiss .faq summary { min-height: 60px; padding-block: 16px; font-size: calc(1.05rem * var(--head-size)); font-weight: 600; line-height: 1.3; }
.dir-swiss .faq summary:hover .faq-q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.dir-swiss .faq-mark::before, .dir-swiss .faq-mark::after { height: 1px; top: 7px; }
.dir-swiss .faq-a { max-width: 62ch; padding-bottom: 22px; }

/* The ticker: a strip of numbered phrases between hairlines. */
.dir-swiss .sw-ticker { overflow: hidden; border-block: 1px solid var(--sw-rule); background: var(--bg); }
.dir-swiss .sw-ticker-row { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.dir-swiss .sw-ticker-row li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: clamp(12px, 1.4vw, 18px) 0 clamp(12px, 1.4vw, 18px) clamp(18px, 2.2vw, 30px);
  font-family: var(--font-display);
  font-size: calc(clamp(1.15rem, 2.1vw, 1.9rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--sw-track);
  line-height: 1.1;
  text-transform: var(--head-case);
}
.dir-swiss .sw-ticker-no { color: var(--accent-text); font-family: var(--sw-mono); font-size: 0.7rem; font-style: normal; font-weight: 500; letter-spacing: 0.04em; }
.dir-swiss .sw-ticker-sep { padding-left: clamp(18px, 2.2vw, 30px); color: var(--muted); font-weight: 400; }

/* The statement on the accent field. */
.dir-swiss .sw-manifesto { background: var(--accent); color: var(--on-accent); --sw-rule: var(--on-accent); --focus: var(--on-accent); }
.dir-swiss .sw-manifesto-in { position: relative; display: grid; gap: clamp(20px, 3vw, 36px); }
.dir-swiss .sw-manifesto-mark { display: inline-flex; align-items: center; align-self: start; justify-self: start; gap: 10px; min-height: 32px; margin: 0; color: inherit; font-family: var(--sw-mono); font-size: 0.75rem; letter-spacing: 0.06em; line-height: 1.35; text-decoration: none; text-transform: uppercase; }
.dir-swiss a.sw-manifesto-mark:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.dir-swiss .sw-manifesto .sw-sq { background: var(--on-accent); }
.dir-swiss .sw-statement {
  max-width: calc(24ch * var(--chs, 1));
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(clamp(2rem, 5vw, 5.1rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: calc(var(--head-track) - 0.02em);
  line-height: 1;
  text-transform: var(--head-case);
  text-wrap: balance;
}
.dir-swiss .sw-manifesto .sw-note { max-width: 46ch; color: var(--on-accent); font-size: 1.05rem; }
.dir-swiss .sw-manifesto-note p + p { margin-top: 0.8em; }
.dir-swiss .sw-manifesto-rule { display: block; height: 1px; background: currentColor; transform-origin: left; }
@media (min-width: 1024px) {
  .dir-swiss .sw-manifesto-in { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .dir-swiss .sw-manifesto-mark { grid-column: 1 / 3; margin-top: 0.4em; }
  .dir-swiss .sw-statement { grid-column: 3 / -1; }
  .dir-swiss .sw-manifesto-note { grid-column: 8 / -1; }
  .dir-swiss .sw-manifesto-rule { grid-column: 1 / -1; grid-row: 1; }
}

/* The gallery on the band: a row of cells across the sheet, or a strip for many pictures. */
.dir-swiss .sw-showcase { overflow: clip; }
.dir-swiss .sw-showcase .sw-head { margin-bottom: clamp(24px, 3vw, 40px); }
.dir-swiss .sw-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); margin: 0; padding: 0; list-style: none; }
.dir-swiss .sw-gallery-media { aspect-ratio: 4 / 5; }
.dir-swiss :is(.sw-gallery--1, .sw-gallery--2) .sw-gallery-media { aspect-ratio: 3 / 2; }
.dir-swiss :is(.sw-rail-cap, .sw-gallery-cap) { display: flex; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--sw-rule); font-size: 0.925rem; line-height: 1.4; }
.dir-swiss .sw-rail-no { flex: none; font-family: var(--sw-mono); font-size: 0.7rem; padding-top: 0.25em; }
@media (min-width: 640px) {
  .dir-swiss :is(.sw-gallery--2, .sw-gallery--4) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-swiss .sw-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .dir-swiss .sw-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dir-swiss .sw-rail { display: flex; gap: clamp(12px, 1.4vw, 20px); margin: 0; padding: 0 max(var(--gutter), calc((100% - var(--maxw)) / 2)); list-style: none; }
.dir-swiss .sw-rail-item { flex: 0 0 auto; width: min(72vw, calc(min(58vh, 520px) * 0.8)); }
.dir-swiss .sw-rail-media { aspect-ratio: 4 / 5; }
@media (max-width: 899px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .dir-swiss .sw-rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
  .dir-swiss .sw-rail-item { scroll-snap-align: start; }
}
html:not(.js) .dir-swiss .sw-rail { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }

/* ---- Lists of the inner pages: the same hairline sheet ---------------------------------------- */
/* Every card is a closed cell (its borders overlap the neighbour's), so a short last row never
   leaves an open frame. Lists that are not filtered take their columns from their length: the
   last row is shared out so it ends at the right edge. */
.dir-swiss .items { gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); padding: 0 1px 1px 0; }
.dir-swiss .items-articles, .dir-swiss.kind-company .items, .dir-swiss.kind-product .items, .dir-swiss.kind-landing .items { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 760px) {
  .dir-swiss .items { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
.dir-swiss .items > .item { margin: 0 -1px -1px 0; border: 1px solid var(--sw-rule); }
.dir-swiss .item-link { height: 100%; }
.dir-swiss .item-body { flex: 1; }
.dir-swiss .item-body > :is(.item-more, .price, .price-ask) { margin-top: auto; padding-top: 8px; }
.dir-swiss .items .item-wide { aspect-ratio: 4 / 3; }
@media (max-width: 759px) {
  .dir-swiss .items:not([data-list]) > .item:nth-child(odd):last-child { grid-column: 1 / -1; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]) > .item { grid-column: span 2; grid-row: auto; }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(3n + 2):last-child) > .item:nth-last-child(-n + 2),
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(3n + 1):last-child) > .item:nth-last-child(-n + 4) { grid-column: span 3; }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:only-child) > .item:only-child:nth-child(n) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]) > .item { grid-column: span 3; grid-row: auto; }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(4n + 3):last-child) > .item:nth-last-child(-n + 3),
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(4n + 1):last-child) > .item:nth-last-child(-n + 5) { grid-column: span 4; }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(4n + 2):last-child) > .item:nth-last-child(-n + 2),
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(4n + 1):last-child) > .item:nth-last-child(-n + 2) { grid-column: span 6; }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(4n + 2):last-child) > .item:nth-last-child(-n + 2) .item-media,
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(4n + 1):last-child) > .item:nth-last-child(-n + 2) .item-media { aspect-ratio: 16 / 9; }
  /* Six and nine go in threes, one alone takes the row. */
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(6):last-child) > .item:nth-child(n),
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(9):last-child) > .item:nth-child(n) { grid-column: span 4; }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(6):last-child) > .item:nth-child(n) .item-media,
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(9):last-child) > .item:nth-child(n) .item-media { aspect-ratio: 4 / 5; }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(6):last-child) > .item:nth-child(n) .item-wide,
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:nth-child(9):last-child) > .item:nth-child(n) .item-wide { aspect-ratio: 4 / 3; }
  .dir-swiss:not(.ui-grid-list, .ui-grid-rows) .items:not([data-list]):has(> .item:only-child) > .item:only-child:nth-child(n) { grid-column: 1 / -1; }
}
/* The large first card of the "feature" lists stays one cell of the sheet. */
.dir-swiss.ui-grid-feature .items:not(.items-related) > .item:first-child .item-title { font-size: calc(1.05rem * var(--head-size)); }
.dir-swiss.ui-grid-feature .items:not(.items-related) > .item:first-child .item-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
.dir-swiss .item-link, .dir-swiss.ui-card-boxed .item-link { padding: var(--sw-pad); border: 0; background: none; box-shadow: none; }
.dir-swiss .item-body, .dir-swiss.ui-card-boxed .item-body { gap: 6px; padding: 14px 0 0; }
.dir-swiss .item-media, .dir-swiss .media { border-radius: 0; }
.dir-swiss .item-title { font-size: calc(1.05rem * var(--head-size)); line-height: 1.25; }
.dir-swiss .item-text { font-size: 0.925rem; }
.dir-swiss .item-more { font-family: var(--sw-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.dir-swiss.ui-card-caption .item-body { border-top-width: 1px; }
.dir-swiss.ui-card-overlay .items .item-link { overflow: visible; }
.dir-swiss.ui-card-overlay .items .item-body { position: static; padding: 14px 0 0; background: none; color: inherit; }
.dir-swiss.ui-card-overlay .items .item-body :is(.price, .item-tag, .item-text, .item-more) { color: var(--muted); }
.dir-swiss.ui-card-overlay .items .item-body .price { color: var(--ink); }
.dir-swiss.ui-grid-list .items:not(.items-related) .item { border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .media.is-empty { background: var(--band); }
.dir-swiss .media-letter { font-family: var(--font-display); letter-spacing: -0.06em; opacity: 1; }
.dir-swiss .media.is-empty .media-letter { color: var(--on-band); }
@media (hover: hover) {
  .dir-swiss .item-link:hover .item-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
  .dir-swiss .item-link:hover .media-img, .dir-swiss .tile-link:hover .media-img { transform: scale(1.035); }
}
.dir-swiss .media-img { transition: transform 0.7s var(--sw-ease); }
.dir-swiss .tile-link { border-radius: 0; }
.dir-swiss .features { gap: 0; border-top: 1px solid var(--sw-rule); border-left: 1px solid var(--sw-rule); }
.dir-swiss .feature { border: 0; border-right: 1px solid var(--sw-rule); border-bottom: 1px solid var(--sw-rule); border-radius: 0; background: none; }
.dir-swiss .section-alt .feature { background: none; }
.dir-swiss .feature-icon { width: 40px; height: 40px; border: 1px solid var(--sw-rule); background: none; }
.dir-swiss .features-line { border: 0; }
.dir-swiss .features-line .feature { border: 0; border-top: 1px solid var(--sw-rule); padding-top: 18px; }
.dir-swiss .feature:hover, .dir-swiss .plan:hover { transform: none; box-shadow: none; }
.dir-swiss .steps .step { border-top: 1px solid var(--sw-rule); }
.dir-swiss .step-no, .dir-swiss .how-step .step-no { font-family: var(--sw-mono); font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.dir-swiss .plans { gap: 0; border-top: 1px solid var(--sw-rule); border-left: 1px solid var(--sw-rule); }
.dir-swiss .plan { border: 0; border-right: 1px solid var(--sw-rule); border-bottom: 1px solid var(--sw-rule); border-radius: 0; background: none; }
.dir-swiss .plan .price { color: var(--ink); font-size: calc(clamp(2rem, 3.4vw, 3rem) * var(--head-size)); letter-spacing: -0.04em; line-height: 1; }
.dir-swiss .plan .price-ask { font-size: 1rem; font-family: var(--font-body); letter-spacing: 0; color: var(--muted); }
.dir-swiss .section-alt { background: var(--sw-wash); }
.dir-swiss .section-band .sec-no, .dir-swiss .sec-no { font-family: var(--sw-mono); font-size: 0.75rem; font-weight: 500; }
.dir-swiss .sec-head { padding-top: 16px; border-top: 1px solid var(--sw-rule); }

/* ---- Inner pages ----------------------------------------------------------------------------- */
.dir-swiss .page-head { padding-block: calc(clamp(20px, 3vw, 36px) * var(--density, 1)) calc(clamp(28px, 4vw, 56px) * var(--density, 1)); }
.dir-swiss .page-head .wrap { display: grid; gap: 18px 40px; padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .page-head h1 { max-width: calc(18ch * var(--chs, 1)); font-size: min(calc(clamp(2.5rem, 6.6vw, 6.6rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.5rem, 6.6vw, 6.6rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.75))); line-height: 0.93; letter-spacing: calc(var(--head-track) - 0.025em); }
.dir-swiss .page-head .lead { max-width: 46ch; margin: 0; color: var(--muted); }
.dir-swiss .crumbs { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--sw-rule); color: var(--muted); }
.dir-swiss .crumbs a { text-decoration: none; }
.dir-swiss .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.dir-swiss .crumbs [aria-current="page"] { color: var(--ink); }
@media (min-width: 1024px) {
  .dir-swiss .page-head .wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .dir-swiss .page-head .wrap > * { grid-column: 1 / -1; }
  .dir-swiss .page-head .wrap > h1 { grid-column: 1 / 10; }
  .dir-swiss .page-head .wrap > .lead { grid-column: 7 / -1; }
  .dir-swiss .page-head.notfound .wrap > * { grid-column: 1 / -1; }
}
.dir-swiss .section-top { padding-top: calc(clamp(20px, 3vw, 40px) * var(--density, 1)); }
.dir-swiss .prose h2 { padding-top: 0.8em; border-top: 1px solid var(--sw-rule); }
.dir-swiss .prose h2:first-child { padding-top: 0; border-top: 0; }
.dir-swiss .duo-media, .dir-swiss .wide-media { border-radius: 0; }

.dir-swiss .product-grid { gap: 0; }
.dir-swiss .product-copy { padding-top: clamp(20px, 3vw, 32px); }
.dir-swiss .product-copy h1 { font-size: min(calc(clamp(2.2rem, 4.6vw, 4.4rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.2rem, 4.6vw, 4.4rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.45))); line-height: 0.95; letter-spacing: calc(var(--head-track) - 0.02em); }
.dir-swiss .product-copy .price { font-family: var(--font-display); font-size: calc(clamp(1.8rem, 3vw, 2.6rem) * var(--head-size)); font-weight: var(--head-weight); letter-spacing: -0.03em; }
.dir-swiss .specs { border-top-color: var(--sw-rule); }
.dir-swiss .specs > div { border-bottom-color: var(--sw-rule); }
.dir-swiss .specs dt { font-family: var(--sw-mono); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; padding-top: 0.2em; }
@media (min-width: 860px) {
  .dir-swiss .product-grid { border-top: 1px solid var(--sw-rule); }
  .dir-swiss .product-copy { align-self: stretch; padding: clamp(24px, 3vw, 40px); border-left: 1px solid var(--sw-rule); }
  .dir-swiss .product-copy[data-sticky] { align-self: start; }
  .dir-swiss .product-media { margin-top: clamp(24px, 3vw, 40px); }
}

.dir-swiss .read-bar { height: 2px; }
.dir-swiss .toc { padding-top: 14px; border-top: 1px solid var(--ink); }
.dir-swiss .toc ol { counter-reset: sw-toc; padding-left: 0; list-style: none; }
.dir-swiss .toc li { display: flex; gap: 10px; padding-block: 6px; border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .toc li::before { content: counter(sw-toc, decimal-leading-zero); content: counter(sw-toc, decimal-leading-zero) / ""; counter-increment: sw-toc; flex: none; font-family: var(--sw-mono); font-size: 0.72rem; padding-top: 0.25em; }
.dir-swiss .toc a { text-decoration: none; }
.dir-swiss .toc a:hover { color: var(--ink); text-decoration: underline; }

.dir-swiss .how-steps { border-top: 1px solid var(--sw-rule); }
.dir-swiss .how-step { border-top-color: var(--sw-rule); }
.dir-swiss .how-step .step-no { font-family: var(--font-display); font-size: calc(clamp(2.4rem, 4vw, 3.6rem) * var(--head-size)); font-weight: var(--head-weight); color: var(--ink); letter-spacing: -0.05em; line-height: 0.85; }
@media (min-width: 760px) {
  .dir-swiss .how-step { grid-template-columns: minmax(96px, 2fr) minmax(0, 7fr); }
}
.dir-swiss .how-steps::before { width: 1px; }

.dir-swiss .contact-card { border: 1px solid var(--sw-rule); background: none; }
.dir-swiss .contact-list > div { padding-bottom: 12px; border-bottom: 1px solid var(--sw-rule); }
.dir-swiss .contact-list dt { font-family: var(--sw-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
.dir-swiss .field label { font-family: var(--sw-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.dir-swiss .field input, .dir-swiss .field textarea { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding-inline: 0; }
.dir-swiss .field :is(input, textarea):focus-visible, .dir-swiss .sort select:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.dir-swiss .chip { border-radius: 0; font-size: 0.875rem; }
.dir-swiss .sort select { border-color: var(--sw-rule); }
.dir-swiss .gallery-title { font-size: min(calc(1.02rem * var(--head-size) * var(--head-scale, 1)), max(calc(1.02rem * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.25))); }
.dir-swiss .scene-caption { font-size: 0.9rem; }
.dir-swiss .notfound-code { color: var(--ink); font-size: clamp(6rem, 24vw, 20rem); letter-spacing: -0.07em; line-height: 0.8; }

/* ---- Closing band: the accent field ---------------------------------------------------------- */
.dir-swiss .cta-band { padding-block: calc(clamp(56px, 8vw, 128px) * var(--density, 1)); --focus: var(--on-accent); }
.dir-swiss .cta-inner { display: grid; gap: 28px; align-items: end; }
.dir-swiss .cta-inner > div { max-width: none; }
.dir-swiss .cta-band h2 { max-width: calc(18ch * var(--chs, 1)); font-size: min(calc(clamp(2.3rem, 6vw, 6rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.3rem, 6vw, 6rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.66))); line-height: 0.94; letter-spacing: calc(var(--head-track) - 0.025em); }
.dir-swiss .cta-text { max-width: 46ch; margin-top: 18px; }
.dir-swiss .cta-band .btn-invert { justify-self: start; }
@media (min-width: 900px) {
  .dir-swiss .cta-inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .dir-swiss .cta-band .btn-invert { justify-self: end; }
}

/* ---- Tokens of the design (premium/tokens.css): the sheet's pictures, buttons and rules ----- */
/* Pictures: the cells of the tables, the sheet, the gallery, the strip and the teaser take the
   shape; the photograph of the first screen keeps its square cell. */
.dir-swiss[class*="ui-pic-"] :is(.sw-tr-media, .sw-prod-media, .sw-gallery-media, .sw-rail-media, .sw-duo-img) { border-radius: var(--pic); }
/* Buttons: the hairline that sets off the arrow of the main call follows the colour of its
   words; underlined, the arrow just follows the words. */
.dir-swiss:is(.ui-btn-outline, .ui-btn-underline) .sw-btn-ic { border-left-color: currentColor; }
.dir-swiss.ui-btn-underline .sw-btn > span:first-child { padding-inline: 0 12px; }
.dir-swiss.ui-btn-underline .sw-btn-ic { width: auto; border-left: 0; }
/* Rules: the hairline each row hangs from is the divider of the sheet; bold makes it a heavy
   rule in ink, none takes it away. */
.dir-swiss.ui-rules-bold .sw-row-rule { height: 3px; background: var(--ink); }
.dir-swiss.ui-rules-bold .sw-band .sw-row-rule { background: var(--on-band); }
.dir-swiss.ui-rules-none .sw-row-rule { display: none; }

/* ---- Footer: the last sheet ------------------------------------------------------------------ */
.dir-swiss .footer { padding-block: 0 20px; background: var(--band); color: var(--on-band); --sw-rule: var(--sw-rule-band); --focus: var(--on-band); }
.dir-swiss .sw-footer-grid { display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--sw-rule); }
.dir-swiss .sw-footer-grid > * { flex: 1 1 200px; min-width: 0; padding: clamp(28px, 4vw, 48px) var(--sw-pad) clamp(28px, 4vw, 44px); border-right: 1px solid var(--sw-rule); }
.dir-swiss .sw-footer-grid > .footer-brand { flex: 2 1 280px; }
.dir-swiss .footer-head { display: flex; gap: 10px; margin-bottom: 16px; color: var(--muted-band); }
.dir-swiss .sw-foot-no { color: var(--on-band); }
.dir-swiss .footer-list + .footer-head { margin-top: 28px; }
.dir-swiss .footer-col, .dir-swiss .footer-nav, .dir-swiss .footer-contacts { color: var(--on-band); }
.dir-swiss .footer a { text-decoration: none; }
.dir-swiss .footer a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.dir-swiss .footer-contacts dt { color: var(--muted-band); font-family: var(--sw-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 1; }
.dir-swiss .footer-tagline { color: var(--muted-band); }
.dir-swiss .brand-footer { font-size: calc(1.3rem * var(--head-size)); }
.dir-swiss .footer .brand-footer { width: auto; justify-content: flex-start; }
.dir-swiss .footer-line { padding-block: clamp(28px, 4vw, 44px); border-bottom: 0; }
.dir-swiss .sw-giant-wrap { overflow: clip; border-top: 1px solid var(--sw-rule); }
.dir-swiss .sw-giant {
  margin: 0;
  padding-block: clamp(18px, 2.6vw, 36px) 0.12em;
  font-size: calc(var(--sw-g) * var(--head-size));
  letter-spacing: calc(var(--head-track) - 0.05em);
  line-height: 0.8;
  white-space: nowrap;
  text-transform: var(--head-case);
}
.dir-swiss .sw-giant--s { --sw-g: clamp(4rem, 21vw, 21rem); }
.dir-swiss .sw-giant--m { --sw-g: clamp(3rem, 12.4vw, 13rem); }
.dir-swiss .sw-giant--l { --sw-g: clamp(2.4rem, 7.6vw, 8rem); }
.dir-swiss .footer-base { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--sw-rule); color: var(--muted-band); font-family: var(--sw-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.dir-swiss .footer-top { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; }

/* ---- Motion: hidden first states, only where motion is allowed and the page has JS ----------- */
.dir-swiss .sw-hero .sw-cell::before, .dir-swiss .sw-hero .sw-cell::after,
.dir-swiss .sw-hero .sw-frame::before, .dir-swiss .sw-hero .sw-frame::after {
  transition: transform var(--sw-in-line) var(--sw-ease) calc(var(--d, 0) * var(--sw-in-step));
}
/* The first screen draws itself within about a second and a half; on phones within one. */
.dir-swiss { --sw-in: 0.8s; --sw-in-line: 1s; --sw-in-step: 80ms; --sw-in-word: 35ms; --sw-in-wipe: 1.1s; }
@media (max-width: 699px) {
  .dir-swiss { --sw-in: 0.55s; --sw-in-line: 0.6s; --sw-in-step: 30ms; --sw-in-word: 16ms; --sw-in-wipe: 0.7s; }
}
.dir-swiss .sw-row-rule, .dir-swiss .sw-manifesto-rule { transition: transform 1.1s var(--sw-ease) 0.1s; }
@media (prefers-reduced-motion: no-preference) {
  html.js .dir-swiss .sw-hero .sw-cell::before, html.js .dir-swiss .sw-hero .sw-frame::after { transform: scaleX(0); }
  html.js .dir-swiss .sw-hero .sw-cell::after, html.js .dir-swiss .sw-hero .sw-frame::before { transform: scaleY(0); }
  html.js .dir-swiss .sw-hero [data-sw-in], html.js .dir-swiss .sw-hero .sw-ix li { opacity: 0; transform: translateY(14px); }
  html.js .dir-swiss .sw-hero .sw-w { overflow: hidden; overflow: clip; }
  html.js .dir-swiss .sw-hero .sw-w-in { transform: translateY(108%); }
  html.js .dir-swiss .sw-hero .sw-photo-in { clip-path: inset(0 0 100% 0); }
  html.js .dir-swiss .sw-hero .sw-photo-in .sw-img { transform: scale(1.18); }
  html.js .dir-swiss .sw-hero .sw-lines { clip-path: inset(0 100% 0 0); }
  .dir-swiss .sw-hero [data-sw-in], .dir-swiss .sw-hero .sw-ix li {
    transition: opacity var(--sw-in) var(--sw-ease), transform var(--sw-in) var(--sw-ease);
    transition-delay: calc(100ms + var(--d, 0) * var(--sw-in-step) + min(var(--sw-i, 0), 7) * var(--sw-in-word));
  }
  .dir-swiss .sw-hero .sw-w-in { transition: transform var(--sw-in) var(--sw-ease) calc(120ms + var(--d, 1) * var(--sw-in-step) + min(var(--i, 0), 12) * var(--sw-in-word)); }
  .dir-swiss .sw-hero .sw-photo-in { transition: clip-path var(--sw-in-wipe) var(--sw-ease) calc(140ms + var(--d, 0) * var(--sw-in-step)); }
  .dir-swiss .sw-hero .sw-photo-in .sw-img { transition: transform calc(var(--sw-in-wipe) * 1.4) var(--sw-ease) calc(140ms + var(--d, 0) * var(--sw-in-step)); }
  .dir-swiss .sw-hero .sw-lines { transition: clip-path calc(var(--sw-in-wipe) * 1.4) var(--sw-ease) calc(200ms + var(--d, 0) * var(--sw-in-step)), opacity 0.8s var(--sw-ease); }
  html.sw-go .dir-swiss .sw-hero .sw-cell::before, html.sw-go .dir-swiss .sw-hero .sw-cell::after,
  html.sw-go .dir-swiss .sw-hero .sw-frame::before, html.sw-go .dir-swiss .sw-hero .sw-frame::after,
  html.sw-go .dir-swiss .sw-hero [data-sw-in], html.sw-go .dir-swiss .sw-hero .sw-ix li,
  html.sw-go .dir-swiss .sw-hero .sw-w-in, html.sw-go .dir-swiss .sw-hero .sw-photo-in .sw-img { opacity: 1; transform: none; }
  html.sw-go .dir-swiss .sw-hero .sw-photo-in, html.sw-go .dir-swiss .sw-hero .sw-lines { clip-path: inset(0); }
  html.sw-go .dir-swiss .sw-hero.is-settled .sw-w { overflow: visible; }
  /* Without the script the first screen still shows itself. */
  html.js:not(.sw-go) .dir-swiss .sw-hero .sw-cell::before, html.js:not(.sw-go) .dir-swiss .sw-hero .sw-cell::after,
  html.js:not(.sw-go) .dir-swiss .sw-hero .sw-frame::before, html.js:not(.sw-go) .dir-swiss .sw-hero .sw-frame::after,
  html.js:not(.sw-go) .dir-swiss .sw-hero [data-sw-in], html.js:not(.sw-go) .dir-swiss .sw-hero .sw-ix li,
  html.js:not(.sw-go) .dir-swiss .sw-hero .sw-w-in, html.js:not(.sw-go) .dir-swiss .sw-hero .sw-photo-in,
  html.js:not(.sw-go) .dir-swiss .sw-hero .sw-photo-in .sw-img, html.js:not(.sw-go) .dir-swiss .sw-hero .sw-lines {
    animation: sw-show 0.6s var(--sw-ease) 3s forwards;
  }
  @keyframes sw-show { to { opacity: 1; transform: none; clip-path: inset(0); } }
  /* Below the first screen, lines draw when they come into view (motion.js arms them). */
  html.sw-on .dir-swiss [data-sw-draw]:not(.is-drawn) { --sw-x: 0; }
  html.sw-on .dir-swiss [data-sw-line]:not(.is-drawn) { transform: scaleX(0); }
  /* The still line field drifts. */
  .dir-swiss .sw-stage--still .sw-lines-flow { animation: sw-flow 16s linear infinite; }
  @keyframes sw-flow { to { transform: translateX(-80px); } }
  html.js:not(.fx-off) .dir-swiss .sw-ticker-row { flex-wrap: nowrap; }
  html.js:not(.fx-off) .dir-swiss .sw-ticker-row li { white-space: nowrap; }
}

/* ---- 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;
}
