/* 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: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/montserrat.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter.woff2") format("woff2");
}

:root {
  --maxw: 1240px;
  --bg: #FEFAF2;
  --surface: #F6EFE1;
  --ink: #24201A;
  --muted: #625A4B;
  --line: #E4DAC6;
  --accent: #8A4C19;
  --on-accent: #FFFFFF;
  --accent-text: #7A4011;
  --band: #31261C;
  --on-band: #FEFAF2;
  --muted-band: #D4C6B0;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: ui-monospace, monospace;
  --radius: 8px;
  --radius-sm: 6px;
  --btn-radius: 8px;
  --border: 1px;
  --shadow: 0 10px 26px -20px rgb(0 0 0 / 30%);
  --section: clamp(56px, 7vw, 104px);
  --head-weight: 700;
  --head-style: normal;
  --head-track: -0.02em;
  --head-case: none;
  --head-size: 0.94;
  --density: 1.28;
  --head-scale: 1.16;
  --maxw: 1480px;
  --pic-radius: 32px;
  --gutter: clamp(16px, 5vw, 40px);
  --gap: clamp(16px, 2.4vw, 28px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --reveal-time: 0.8s;
  --reveal-shift: 28px;
  --stagger: 90ms;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ---- Tokens of the design (Design.density and Design.scale) ----
   --density multiplies the vertical padding of the top-level sections and the gaps between
   them, --head-scale the sizes of h1 and h2. variant_of writes them into the first :root block
   of this stylesheet when a design sets them; these defaults sit in :where(), so they never win
   over that block. Below, the rules of the shared styles that a direction leaves as they are,
   repeated in their own order with the two factors: at 1 every size is exactly the shared one.
   The classes ui-<axis>-<value> on <body> do the rest (premium/tokens.css). */
:where(:root) { --density: 1; --head-scale: 1; }
/* A heading the scale makes larger still keeps a long word whole (German and Greek have many):
   it grows up to the size at which a word of --tk-word letters fills its column, and never
   shrinks below the size it has without the scale (times --tk-keep, 1 unless the column is made
   narrower than the direction's own: premium/tokens.css). So each size below reads
   min(size × scale, max(size × keep, cap)), which is the size itself at scale 1. --tk-cw is how
   wide a letter of the display face runs, in em (as frames.css and cinematic measure it);
   --tk-cap is that size for the whole content column, and a heading in a narrower column takes
   its share of it. */
body {
  --tk-cw: 0.66;
  --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; }
}

/* ---- Cinematic ------------------------------------------------------------------------------ */
.dir-cinematic {
  --bg: #31261C;
  --surface: #41372d;
  --ink: #FEFAF2;
  --muted: #D4C6B0;
  --line: #5a5047;
  --accent-text: #FEFAF2;
  --cn-deep: #1e1811;
  --cn-tone: var(--bg);
  /* The light-coloured band of a dark palette would cut the film: bands are the darker chapter. */
  --band: var(--cn-deep);
  --on-band: var(--ink);
  --muted-band: var(--muted);
  --cn-hot: #ad805a;
  --cn-line: color-mix(in srgb, var(--ink) 15%, transparent);
  --cn-dash-c: color-mix(in srgb, var(--ink) 32%, transparent);
  --cn-dash: repeating-linear-gradient(90deg, var(--cn-dash-c) 0 6px, transparent 6px 12px);
  --cn-dash-y: repeating-linear-gradient(180deg, var(--cn-dash-c) 0 6px, transparent 6px 12px);
  --cn-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --cn-hdr: 76px;
  /* The top of the first screen's frame: under the header with a little air. */
  --cn-top: calc(var(--cn-hdr) + clamp(12px, 2.4vh, 28px));
  --cn-g: 0.66;
  /* Tight leading; capitals keep room for the accents of É, Ü, Ż on the line below. */
  --cn-lh: 0.9;
  --cn-frame: min(1600px, 100% - 2 * var(--gutter));
  /* The same width in viewport units, for type sized from it (a % in font-size is not a width). */
  --cn-vw: min(1600px, 100vw - 2 * var(--gutter));
  /* Where the content column starts, for rows that run to the edge of the screen. */
  --cn-edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  --s1: #8A4C19;
  --s2: #FEFAF2;
  --s3: #41372d;
  --focus: var(--cn-hot);
  background: var(--bg);
  color: var(--ink);
}
:root:has(> body.dir-cinematic) { background-color: #31261C; color-scheme: dark; }
.dir-cinematic ::selection { background: var(--accent); color: var(--on-accent); }
.dir-cinematic main { padding-top: var(--cn-hdr); }
.dir-cinematic.page-home main { padding-top: 0; }
.dir-cinematic :where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--cn-hot); outline-offset: 4px; }
.dir-cinematic h1,
.dir-cinematic h2 { line-height: var(--cn-lh); }
.dir-cinematic .lead { color: var(--muted); }
.dir-cinematic .eyebrow { color: var(--accent-text); font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase; }

/* Buttons: a fill rises from below and the label turns with it; the arrow travels. */
.dir-cinematic .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 14px;
  min-height: 52px;
  padding: 12px 26px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.5s var(--cn-ease), border-color 0.5s var(--cn-ease), transform 0.5s var(--cn-ease);
}
.dir-cinematic .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.6s var(--cn-ease);
}
.dir-cinematic .btn .icon { transition: transform 0.6s var(--cn-ease); }
.dir-cinematic .btn-lg { min-height: 58px; padding: 14px 30px; }
.dir-cinematic .btn-accent { background: var(--accent); color: var(--on-accent); }
.dir-cinematic .btn-ghost { border: 1px solid var(--cn-dash-c); background: transparent; color: var(--ink); }
.dir-cinematic .btn-invert { background: var(--on-accent); color: var(--accent); }
.dir-cinematic .btn-invert::before { background: var(--accent); }
@media (hover: hover) {
  .dir-cinematic .btn:hover { transform: none; color: var(--bg); }
  .dir-cinematic .btn:hover::before { transform: none; }
  .dir-cinematic .btn:hover .icon { transform: translateX(5px); }
  .dir-cinematic .btn-invert:hover { color: var(--on-accent); }
}
.dir-cinematic .btn:active { transform: scale(0.98); }
.dir-cinematic .link-more,
.dir-cinematic .cn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.6s var(--cn-ease), color 0.4s var(--cn-ease);
}
.dir-cinematic .link-more .icon,
.dir-cinematic .cn-more .icon { color: var(--cn-hot); transition: transform 0.6s var(--cn-ease); }
@media (hover: hover) {
  .dir-cinematic .link-more:hover,
  .dir-cinematic .cn-more:hover { background-size: 34% 1px; text-decoration: none; }
  .dir-cinematic .link-more:hover .icon,
  .dir-cinematic .cn-more:hover .icon { transform: translateX(6px); }
}

/* ---- Header: transparent over the film, a dark glass bar once the page moves ---------------- */
.dir-cinematic .header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 0;
  background: transparent;
  color: var(--ink);
  transition: transform 0.8s var(--cn-ease), background-color 0.6s var(--cn-ease);
}
.dir-cinematic .header::before {
  content: "";
  position: absolute;
  inset: 0 0 -36px;
  z-index: -1;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--cn-deep) 82%, transparent), transparent);
  pointer-events: none;
  transition: opacity 0.6s var(--cn-ease);
}
.dir-cinematic .header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.dir-cinematic .header.is-scrolled::before { opacity: 0; }
.dir-cinematic .header.is-scrolled::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--cn-dash);
  opacity: 0.6;
}
.dir-cinematic .header-row { width: var(--cn-frame); min-height: var(--cn-hdr); gap: 20px; }
.dir-cinematic .brand { font-size: calc(1.15rem * var(--head-size)); text-transform: var(--head-case); }
.dir-cinematic .brand-tile { border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); }
.dir-cinematic .nav-links { gap: clamp(18px, 2.4vw, 36px); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.dir-cinematic .nav-links a {
  padding-block: 8px;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--cn-hot), var(--cn-hot)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.6s var(--cn-ease);
}
.dir-cinematic .nav-links a:hover,
.dir-cinematic .nav-links a[aria-current="page"] { color: inherit; background-size: 100% 1px; }
.dir-cinematic .nav-menu summary {
  border: 1px solid var(--cn-dash-c);
  border-radius: var(--btn-radius);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dir-cinematic .nav-menu > ul {
  padding: 14px;
  border: 1px solid var(--cn-line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 80%);
}
.dir-cinematic .nav-menu > ul a {
  padding: 12px 10px;
  border-bottom: 1px solid var(--cn-line);
  color: var(--ink);
  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.1;
  text-transform: var(--head-case);
}
.dir-cinematic .nav-menu > ul li:last-child a { border-bottom: 0; }
.dir-cinematic .header-cta.btn {
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--cn-dash-c);
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
}
.dir-cinematic .header-cta.btn::before { background: var(--accent); }
@media (hover: hover) {
  .dir-cinematic .header-cta.btn:hover { border-color: var(--accent); color: var(--on-accent); }
}
/* Spaced capitals need room: the links show from wide screens on, the menu stands in below; the
   split header keeps the bar's order (the name first) so the links never get squeezed. */
@media (min-width: 860px) and (max-width: 1239px) {
  .dir-cinematic .nav-links { display: none; }
  .dir-cinematic .nav-menu { display: block; }
}
/* Seven links or more need a wider screen still. */
@media (min-width: 1240px) and (max-width: 1439px) {
  .dir-cinematic .nav:has(.nav-links > li:nth-child(7)) .nav-links { display: none; }
  .dir-cinematic .nav:has(.nav-links > li:nth-child(7)) .nav-menu { display: block; }
}
@media (min-width: 860px) {
  .dir-cinematic.ui-header-center { --cn-hdr: 100px; }
}
@media (min-width: 860px) {
  .dir-cinematic.ui-header-split .header-row { display: flex; }
  .dir-cinematic.ui-header-split .brand { order: 0; }
  .dir-cinematic.ui-header-split .nav { order: 1; margin-left: auto; }
  .dir-cinematic.ui-header-split .header-cta { order: 2; }
}
.dir-cinematic.ui-header-capsule .header { inset: 12px var(--gutter) auto; margin: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dir-cinematic.ui-header-capsule .header::before,
.dir-cinematic.ui-header-capsule .header::after { display: none; }
.dir-cinematic.ui-header-capsule .header-row {
  width: min(1600px, 100%);
  min-height: 60px;
  padding-inline: 20px 10px;
  border: 1px solid var(--cn-line);
  border-radius: var(--btn-radius);
  background: color-mix(in srgb, var(--cn-deep) 72%, transparent);
  box-shadow: 0 20px 50px -30px rgb(0 0 0 / 80%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

/* ---- First screen: what both have ----------------------------------------------------------- */
.dir-cinematic .cn-hero { position: relative; isolation: isolate; background: var(--cn-deep); color: var(--ink); }
.dir-cinematic .cn-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 34ch;
  margin: 0;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
}
.dir-cinematic .cn-eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cn-hot); box-shadow: 0 0 18px 2px color-mix(in srgb, var(--cn-hot) 60%, transparent); }
.dir-cinematic .cn-marks {
  display: none;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.dir-cinematic .cn-marks i { width: clamp(40px, 6vw, 96px); height: 1px; background: var(--cn-dash); }
.dir-cinematic .cn-title,
.dir-cinematic .cn-fly-title {
  --w: var(--cn-vw);
  --lines: 4;
  margin: 0;
  font-family: var(--font-display);
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: var(--cn-lh);
  text-transform: var(--head-case);
  text-wrap: balance;
  overflow-wrap: break-word;
  /* A soft shadow under the whole title (a filter: a text-shadow would be cut into boxes by the
     masks of the split lines). */
  filter: drop-shadow(0 2px 22px rgb(0 0 0 / 38%));
}
/* Phones: the size fits the longest word and four lines, and never takes more than a share of
   the height, so the lead and the button stay on the first screen. */
.dir-cinematic .cn-title,
.dir-cinematic .cn-fly-title {
  font-size: clamp(1.75rem, min(calc(16vw * var(--head-scale, 1)), 6.4svh, calc(var(--w) * 0.96 / (var(--len) * var(--cn-g))), calc(var(--w) * var(--lines) / (var(--all, var(--chars)) * var(--cn-g) * 1.12))), 15rem);
}
/* The accent of a title (the |accent filter): its last phrase in the accent colour; a serif sets
   it in italic and a lighter cut, a narrow or wide sans keeps its upright letters. When the palette
   has no accent colour for text (a light palette turned dark, or an accent that is the ink), a
   sans draws the accent in outline instead. */
.dir-cinematic .ac {
  color: var(--accent-text);
  font-style: normal;
}
@supports (-webkit-text-stroke: 1px currentColor) {
  .dir-cinematic .ac { color: transparent; -webkit-text-stroke: max(1.5px, 0.022em) var(--ink); }
}
.dir-cinematic .cn-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding-top: 20px;
  /* A hairline over the lead with a short lit segment, no box: the film stays open. */
  background:
    linear-gradient(var(--cn-hot), var(--cn-hot)) 0 0 / 44px 1px no-repeat,
    linear-gradient(var(--cn-line), var(--cn-line)) 0 0 / 100% 1px no-repeat;
}
.dir-cinematic .cn-card.is-bare { padding-top: 0; background: none; }
.dir-cinematic .cn-lead { max-width: 46ch; color: var(--ink); font-size: clamp(1rem, 1.1vw, 1.0625rem); line-height: 1.6; text-shadow: 0 1px 16px rgb(0 0 0 / 45%); }
.dir-cinematic .cn-lead + .cn-lead { margin-top: 0.8em; }
.dir-cinematic .cn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.dir-cinematic .cn-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size 0.6s var(--cn-ease);
}
@media (hover: hover) {
  .dir-cinematic .cn-link:hover { background-size: 30% 1px; }
}
.dir-cinematic .cn-scene { position: absolute; inset: 0; z-index: 1; }

/* ---- "stage": the film fills the screen behind the title ------------------------------------ */
.dir-cinematic .cn-stage { display: grid; min-height: 100svh; overflow: clip; }
.dir-cinematic .cn-stage-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.dir-cinematic .cn-backdrop { position: absolute; inset: 0; }
.dir-cinematic .cn-backdrop-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  transition: opacity 1.4s var(--cn-ease), filter 1.4s var(--cn-ease), transform 1.8s var(--cn-ease);
}
/* Something stands in the spotlight: the photograph steps back into a soft coloured light, so the
   object is the one subject of the shot (and never seen twice). */
.dir-cinematic .cn-stage.has-focus .cn-backdrop-img { opacity: 0.3; filter: blur(18px) saturate(115%); transform: scale(1.12); }
/* A live scene takes the stage: the photograph stays as a soft coloured light behind it. */
.dir-cinematic .cn-hero:has(.stage3d.is-live) :is(.cn-backdrop-img, .cn-fly-img) { opacity: 0.26; filter: blur(22px) saturate(120%); transform: scale(1.12); }
.dir-cinematic.scene-particles .cn-hero:has(.stage3d.is-live) :is(.cn-backdrop-img, .cn-fly-img) { opacity: 0.55; filter: saturate(110%) brightness(0.8); transform: none; }
/* One focal object: a live 3D object takes the place of the cut-out. */
.dir-cinematic.scene-object .cn-hero:has(.stage3d.is-live) .cn-object { opacity: 0; visibility: hidden; }
/* A blob or shards beside the cut-out keep to the side and further back (scenes.js puts them
   right, data-stage-pos), smaller than the full screen. */
.dir-cinematic .cn-stage.has-object .cn-stage-bg > .cn-scene { inset: 10% 0 24%; opacity: 0.72; }
.dir-cinematic .cn-glow {
  position: absolute;
  top: -18vmax;
  right: -14vmax;
  width: 80vmax;
  height: 80vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cn-hot) 24%, transparent), transparent 72%);
  pointer-events: none;
}
.dir-cinematic .has-photo .cn-glow { opacity: 0.55; mix-blend-mode: screen; }
.dir-cinematic .cn-stage.has-focus .cn-glow { display: none; }
.dir-cinematic .cn-horizon {
  position: absolute;
  top: 66%;
  left: -20%;
  right: -20%;
  height: 60%;
  border-top: 1px solid color-mix(in srgb, var(--cn-hot) 55%, transparent);
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  background: radial-gradient(50% 40% at 50% 0, color-mix(in srgb, var(--cn-hot) 16%, transparent), transparent 80%);
  pointer-events: none;
}
.dir-cinematic .has-photo .cn-horizon,
.dir-cinematic .cn-stage.has-focus .cn-horizon { display: none; }
/* The scrim keeps the words on the dark: up from the bottom on phones, from both lower corners
   on wide screens. */
.dir-cinematic .cn-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, var(--cn-deep) 0%, color-mix(in srgb, var(--cn-deep) 86%, transparent) 40%, color-mix(in srgb, var(--cn-deep) 45%, transparent) 62%, transparent 82%),
    linear-gradient(to bottom, color-mix(in srgb, var(--cn-deep) 62%, transparent), transparent 22%);
  pointer-events: none;
}
.dir-cinematic .cn-veil { position: absolute; inset: 0; z-index: 3; background: var(--cn-deep); opacity: 0; pointer-events: none; }
/* The frame: on phones a column (the object under the header, the words at the bottom above the
   room kept for the cookie notice); on wide screens a twelve-column shot (below). */
.dir-cinematic .cn-stage-frame {
  --cn-reach: calc(var(--cn-hdr) + 8px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: var(--cn-frame);
  min-height: 100svh;
  margin-inline: auto;
  padding-block: var(--cn-reach) var(--fold-safe, 80px);
}
.dir-cinematic .cn-stage-top { order: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: auto; }
.dir-cinematic .cn-stage .cn-title { order: 3; }
.dir-cinematic .cn-stage .cn-card { order: 4; }
/* The set: what stands in the light. It only takes the room the words leave (never pushes them
   off the first screen) and at most a third of a phone's height. */
.dir-cinematic .cn-set { position: relative; order: 1; flex: 1 1 0; min-height: 12svh; max-height: 36svh; margin-block: auto; }
.dir-cinematic .cn-set::before {
  content: "";
  position: absolute;
  top: 52%;
  left: 50%;
  width: min(92vw, 940px);
  aspect-ratio: 1.7;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cn-hot) 20%, transparent), transparent 76%);
  pointer-events: none;
}
/* A cone of light from above the frame down onto the object. */
.dir-cinematic .cn-beam {
  position: absolute;
  top: calc(-1 * var(--cn-reach));
  bottom: 14%;
  left: 50%;
  z-index: 0;
  width: min(76vw, 980px);
  translate: -50% 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 11%, transparent), color-mix(in srgb, var(--cn-hot) 7%, transparent) 70%, transparent);
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32%, #000 68%, transparent);
  pointer-events: none;
}
/* The brand name, huge and faint, its two halves parted around the object. */
.dir-cinematic .cn-ghost {
  --hole: min(30vw, 150px);
  position: absolute;
  top: 46%;
  left: 0;
  right: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  gap: var(--hole);
  margin: 0;
  translate: 0 -50%;
  color: color-mix(in srgb, var(--ink) 10%, transparent);
  font-family: var(--font-display);
  font-size: min(20vw, 30svh, calc((var(--cn-vw) - var(--hole)) / 2 / (var(--ga) * var(--cn-g) * 1.04)));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 0.8;
  text-transform: var(--head-case);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.dir-cinematic .cn-ghost span { flex: 1 1 0; min-width: 0; }
.dir-cinematic .cn-ghost span:first-child { text-align: right; }
.dir-cinematic .cn-ghost span:only-child { flex: none; text-align: center; }
.dir-cinematic .cn-set .cn-scene { z-index: 1; }
.dir-cinematic .cn-object { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.dir-cinematic .cn-object-drift { display: flex; align-items: flex-end; justify-content: center; height: 100%; max-width: 100%; }
.dir-cinematic .cn-object-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(64vw, 100%);
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / 55%)) drop-shadow(0 0 40px color-mix(in srgb, var(--cn-hot) 22%, transparent));
}
.dir-cinematic .cn-floor {
  position: absolute;
  bottom: -18px;
  left: 50%;
  z-index: 1;
  width: min(60vw, 620px);
  height: 44px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cn-hot) 30%, transparent), transparent);
  pointer-events: none;
}
@media (min-width: 900px) {
  .dir-cinematic .cn-marks { display: inline-flex; }
  .dir-cinematic .cn-scrim {
    background:
      radial-gradient(64% 60% at 0% 100%, color-mix(in srgb, var(--cn-deep) 92%, transparent), transparent 74%),
      radial-gradient(46% 58% at 100% 100%, color-mix(in srgb, var(--cn-deep) 90%, transparent), transparent 74%),
      linear-gradient(to top, color-mix(in srgb, var(--cn-deep) 70%, transparent), transparent 30%),
      linear-gradient(to bottom, color-mix(in srgb, var(--cn-deep) 58%, transparent), transparent 22%);
  }
  .dir-cinematic .cn-stage-frame {
    --cn-reach: var(--cn-top);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(14px, 2.2vh, 26px) var(--gap);
    padding-block: var(--cn-top) var(--fold-safe, 96px);
  }
  .dir-cinematic .cn-stage-top { position: relative; z-index: 3; grid-area: 1 / 1 / 2 / -1; margin: 0; }
  /* The set takes the top of the shot down to the words: centred, it never meets the title, the
     card or the eyebrow, whatever the height of the screen. */
  .dir-cinematic .cn-set { grid-area: 1 / 1 / 3 / -1; min-height: 0; max-height: none; margin: 0; }
  .dir-cinematic .cn-ghost { --hole: min(24vw, 380px); top: 48%; }
  .dir-cinematic .cn-object-img { max-width: min(30vw, 520px); }
  .dir-cinematic .cn-stage .cn-title {
    --w: calc(var(--cn-vw) * 0.58);
    --lines: 3;
    grid-area: 3 / 1 / 4 / span 7;
    align-self: end;
    font-size: clamp(2.4rem, min(calc(11vw * var(--head-scale, 1)), 17vh, calc(var(--w) * 0.96 / (var(--len) * var(--cn-g))), calc(var(--w) * var(--lines) / (var(--chars) * var(--cn-g) * 1.12))), 15rem);
  }
  .dir-cinematic .cn-stage .cn-card { grid-area: 3 / 8 / 4 / -1; align-self: end; justify-self: end; width: 100%; max-width: 30rem; }
}

/* ---- "flythrough": through a window into the picture ---------------------------------------- */
.dir-cinematic .cn-fly[data-fx] { height: auto; background: var(--cn-deep); }
.dir-cinematic .cn-fly .cn-fly-stage[data-fx-stage] {
  position: relative;
  top: auto;
  display: grid;
  height: auto;
  min-height: max(100svh, 600px);
  overflow: hidden;
}
.dir-cinematic .cn-fly-back { position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--cn-hot) 22%, var(--surface)), var(--cn-deep) 78%); }
.dir-cinematic .cn-fly-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.4s var(--cn-ease), filter 1.4s var(--cn-ease), transform 1.8s var(--cn-ease); }
/* The shade darkens the picture where the words stand: the bottom, the top left corner of the
   main part and the bottom right corner of the accent and the card. */
.dir-cinematic .cn-fly-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(56% 46% at 0% 18%, color-mix(in srgb, var(--cn-deep) 72%, transparent), transparent 80%),
    radial-gradient(58% 56% at 100% 88%, color-mix(in srgb, var(--cn-deep) 80%, transparent), transparent 82%),
    linear-gradient(to top, color-mix(in srgb, var(--cn-deep) 88%, transparent), transparent 46%),
    radial-gradient(120% 90% at 50% 45%, transparent 48%, color-mix(in srgb, var(--cn-deep) 62%, transparent));
  pointer-events: none;
}
.dir-cinematic .cn-fly-port { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; transform-origin: 50% 48%; }
.dir-cinematic .cn-fly-window {
  position: absolute;
  inset: 16svh 24vw 15svh;
  border-radius: clamp(28px, 6vw, 120px);
  box-shadow:
    0 0 0 150vmax var(--cn-deep),
    inset 0 0 0 1px color-mix(in srgb, var(--ink) 24%, transparent),
    inset 0 0 90px 16px color-mix(in srgb, #000 50%, transparent);
  outline: 1px dashed var(--cn-dash-c);
  outline-offset: clamp(10px, 1.4vw, 20px);
}
.dir-cinematic .cn-fly-copy {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  width: var(--cn-frame);
  margin-inline: auto;
  padding-block: var(--cn-top) var(--fold-safe, 96px);
}
.dir-cinematic .cn-fly-eyebrow { grid-area: 1 / 1; }
.dir-cinematic .cn-fly-marks { grid-area: 1 / 1; justify-self: end; }
/* Each half is sized from the longer one and fits two lines: the main part stands top left, the
   accent bottom right. */
.dir-cinematic .cn-fly-title {
  --w: calc(var(--cn-vw) * 0.76);
  --lines: 2;
  grid-area: 2 / 1;
  display: grid;
  grid-template-rows: auto auto;
  align-content: space-between;
  gap: 2.4vh;
}
@media (min-width: 900px) {
  /* Two lines a half at most, three for the whole title, and never more than the height allows. */
  .dir-cinematic .cn-fly-title { font-size: clamp(2.4rem, min(calc(11vw * var(--head-scale, 1)), 12vh, calc(var(--w) * 0.96 / (var(--len) * var(--cn-g))), calc(var(--w) * var(--lines) / (var(--chars) * var(--cn-g) * 1.12)), calc(var(--w) * 3 / (var(--all) * var(--cn-g) * 1.12))), 14rem); }
  /* The card stands bottom right under the accent: the bottom left corner stays free for the
     cookie notice. */
  .dir-cinematic .cn-fly-copy { padding-bottom: clamp(28px, 4.5vh, 52px); }
}
.dir-cinematic .cn-half { display: block; text-shadow: 0 2px 36px rgb(0 0 0 / 55%), 0 1px 3px rgb(0 0 0 / 35%); }
.dir-cinematic .cn-half-in { display: block; }
.dir-cinematic .cn-half-a { justify-self: start; max-width: 76%; }
.dir-cinematic .cn-half-b { justify-self: end; max-width: 76%; text-align: right; }
.dir-cinematic .is-single .cn-half-a { align-self: end; }
.dir-cinematic .cn-fly .cn-card { grid-area: 3 / 1; justify-self: start; width: 100%; max-width: 32rem; }
@media (min-width: 900px) {
  /* Over the window the card keeps a dark plate, so the lead never sits on a bright picture. */
  .dir-cinematic .cn-fly .cn-card { justify-self: end; padding: 20px 22px 22px; background-color: color-mix(in srgb, var(--cn-deep) 84%, transparent); }
}
/* The motion runs on large, tall enough screens with a fine pointer (motion.js adds .is-flying):
   the wrapper is then three screens tall and the stage holds still while the window flies past.
   Anywhere else (and when the engine is off or motion is reduced) the hero is one still screen:
   no empty scroll, the scrubbed layers stand still. */
.dir-cinematic .cn-fly.is-flying[data-fx] { height: 300vh; }
.dir-cinematic .cn-fly.is-flying .cn-fly-stage[data-fx-stage] { position: sticky; top: 0; height: 100vh; min-height: 0; }
html.js .dir-cinematic .cn-fly[data-fx]:not(.is-flying),
html.fx-off .dir-cinematic .cn-fly.is-flying[data-fx] { height: auto; min-height: 0; }
html.js .dir-cinematic .cn-fly:not(.is-flying) .cn-fly-stage[data-fx-stage],
html.fx-off .dir-cinematic .cn-fly.is-flying .cn-fly-stage[data-fx-stage] { position: relative; top: auto; height: auto; min-height: max(100svh, 600px); }
.dir-cinematic .cn-fly:not(.is-flying) :is([data-fx-zoom-in], [data-fx-zoom-out], .cn-half, .cn-fly-eyebrow, .cn-fly-marks),
html.fx-off .dir-cinematic .cn-fly :is([data-fx-zoom-in], [data-fx-zoom-out], .cn-half, .cn-fly-eyebrow, .cn-fly-marks) { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .dir-cinematic .cn-fly[data-fx] { height: auto !important; min-height: 0 !important; }
  .dir-cinematic .cn-fly .cn-fly-stage[data-fx-stage] { position: relative !important; height: auto !important; min-height: max(100svh, 600px) !important; }
  .dir-cinematic .cn-fly :is([data-fx-zoom-in], [data-fx-zoom-out], .cn-half, .cn-fly-eyebrow, .cn-fly-marks) { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 899px) {
  /* Phones: the picture as a strip under the header, taking only the room the words leave. */
  .dir-cinematic .cn-fly .cn-fly-stage[data-fx-stage] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100svh;
    padding: calc(var(--cn-hdr) + 8px) var(--gutter) var(--fold-safe, 80px);
    overflow: visible;
  }
  html.js .dir-cinematic .cn-fly:not(.is-flying) .cn-fly-stage[data-fx-stage] { min-height: 100svh; }
  .dir-cinematic .cn-fly-copy { display: contents; }
  .dir-cinematic .cn-fly-port,
  .dir-cinematic .cn-fly-marks { display: none; }
  .dir-cinematic .cn-fly-back {
    position: relative;
    inset: auto;
    order: 0;
    flex: 1 1 0;
    min-height: 14svh;
    max-height: 36svh;
    overflow: hidden;
    border-radius: clamp(18px, 5vw, 28px);
    outline: 1px dashed var(--cn-dash-c);
    outline-offset: 6px;
  }
  .dir-cinematic .cn-fly-img { position: absolute; inset: 0; }
  .dir-cinematic .cn-fly-eyebrow { order: 1; margin-top: auto; }
  .dir-cinematic .cn-fly-title { --w: calc(100vw - 2 * var(--gutter)); --lines: 4; order: 2; display: block; }
  .dir-cinematic .cn-half { display: inline; }
  .dir-cinematic .cn-half-in { display: inline; }
  .dir-cinematic .cn-half-b { text-align: left; }
  .dir-cinematic .cn-fly .cn-card { order: 3; max-width: none; }
  .dir-cinematic .cn-fly:not(.has-photo):not(.has-scene) .cn-fly-back { display: none; }
  .dir-cinematic .cn-fly:not(.has-photo):not(.has-scene) .cn-fly-eyebrow { margin-top: auto; }
}

/* ---- Chapters ------------------------------------------------------------------------------- */
.dir-cinematic .cn-sec { position: relative; padding-block: calc(clamp(64px, 6.5vw, 108px) * var(--density, 1)); background: var(--cn-tone); color: var(--ink); }
.dir-cinematic .cn-sec.is-deep { --cn-tone: var(--cn-deep); }
.dir-cinematic .cn-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  right: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  height: 1px;
  background: var(--cn-dash);
  opacity: 0.7;
}
.dir-cinematic .cn-hero + .cn-sec::before,
.dir-cinematic .cn-ticker + .cn-sec::before { display: none; }
.dir-cinematic .cn-head { display: grid; gap: 18px 48px; margin-bottom: clamp(36px, 4.4vw, 64px); }
.dir-cinematic .cn-chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
}
.dir-cinematic .cn-chapter::after { content: "/"; order: 1; color: var(--muted); letter-spacing: 0; }
.dir-cinematic .cn-chapter i { order: 2; width: clamp(48px, 8vw, 120px); height: 1px; background: var(--cn-dash); }
/* A heading is sized from its length and the width of its column (--hw): at most three lines,
   its longest word whole, never narrower than about fourteen letters. */
.dir-cinematic .cn-h2 {
  --hw: calc(100vw - 2 * var(--gutter));
  --base: calc(clamp(2.3rem, 6vw, 6.2rem) * var(--head-size) * var(--head-scale, 1));
  max-width: calc(18ch * var(--chs, 1));
  min-width: min(100%, 14ch);
  margin: 0;
  font-size: max(1.9rem, min(var(--base), calc(var(--hw) * 3 / (var(--chars, 28) * var(--cn-g) * 1.12)), calc(var(--hw) * 0.96 / (var(--len, 10) * var(--cn-g)))));
  line-height: var(--cn-lh);
  text-wrap: balance;
}
.dir-cinematic .cn-h2 .ac,
.dir-cinematic .cn-statement .ac { font-weight: inherit; }
.dir-cinematic .cn-head-side { display: grid; gap: 22px; justify-items: start; max-width: 30rem; }
.dir-cinematic .cn-head-side .lead { font-size: clamp(1rem, 1.3vw, 1.15rem); }
.dir-cinematic .cn-tag { margin: 0; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }
.dir-cinematic .price { color: var(--accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.dir-cinematic .price-ask { color: var(--muted); }
@media (min-width: 900px) {
  .dir-cinematic .cn-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
  .dir-cinematic .cn-head .cn-chapter { grid-column: 1 / -1; }
  .dir-cinematic .cn-head-side { justify-self: end; padding-bottom: 0.6em; }
  .dir-cinematic .cn-h2 { --hw: calc(min(var(--maxw), 100vw - 2 * var(--gutter)) * 0.6); }
  /* A heading alone (no lead, no link) takes the width of the page. */
  .dir-cinematic .cn-head.is-solo { grid-template-columns: minmax(0, 1fr); }
  .dir-cinematic .cn-head.is-solo .cn-h2 { --hw: calc(min(var(--maxw), 100vw - 2 * var(--gutter)) * 0.84); max-width: calc(22ch * var(--chs, 1)); }
}
/* Empty pictures (not drawn) are dark plates with the initial, never holes. */
.dir-cinematic .media { border-radius: var(--radius); background: var(--surface); }
.dir-cinematic .media.is-empty { background: radial-gradient(90% 80% at 30% 20%, color-mix(in srgb, var(--cn-hot) 26%, var(--surface)), var(--cn-deep)); }
.dir-cinematic .media-letter { color: var(--ink); font-family: var(--font-display); opacity: 0.5; }
.dir-cinematic .media-img { transition: transform 1.2s var(--cn-ease); }

/* Ticker: a slow band of words. */
.dir-cinematic .cn-ticker { position: relative; overflow: clip; padding-block: clamp(18px, 2.6vw, 34px); background: var(--cn-deep); color: var(--ink); }
.dir-cinematic .cn-ticker::before,
.dir-cinematic .cn-ticker::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--cn-dash); opacity: 0.7; }
.dir-cinematic .cn-ticker::before { top: 0; }
.dir-cinematic .cn-ticker::after { bottom: 0; }
.dir-cinematic .cn-ticker-rail { overflow: hidden; }
.dir-cinematic .cn-ticker-row {
  display: flex;
  flex: none;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: calc(clamp(1.9rem, 5vw, 4.6rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.05;
  text-transform: var(--head-case);
  white-space: nowrap;
}
.dir-cinematic .cn-ticker-row li { display: inline-flex; align-items: center; }
.dir-cinematic .cn-ticker-row li::after { content: "\2726"; margin-inline: 0.7em; color: var(--cn-hot); font-size: 0.42em; }
.dir-cinematic .cn-ticker-row li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
html:not(.js) .dir-cinematic .cn-ticker-row { flex-wrap: wrap; row-gap: 8px; white-space: normal; padding-inline: var(--gutter); font-size: calc(clamp(1.5rem, 3.4vw, 3rem) * var(--head-size)); }

/* Manifesto: one statement across the screen. */
.dir-cinematic .cn-manifesto-in { display: grid; gap: clamp(24px, 3vw, 40px); }
.dir-cinematic .cn-statement {
  max-width: calc(22ch * var(--chs, 1));
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(clamp(2rem, 4.8vw, 5.2rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.02;
  text-transform: var(--head-case);
  text-wrap: balance;
}
.dir-cinematic .cn-manifesto-note { max-width: 38rem; padding-top: 20px; border-top: 1px solid var(--cn-line); }
@media (min-width: 900px) {
  .dir-cinematic .cn-manifesto-in.has-note { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; column-gap: clamp(32px, 5vw, 88px); }
  .dir-cinematic .cn-manifesto-in > .cn-chapter { grid-column: 1 / -1; }
  .dir-cinematic .cn-manifesto-note { justify-self: end; max-width: 26rem; margin-bottom: 0.5em; }
}

/* Categories: an index of big names. */
.dir-cinematic .cn-index { margin: 0; padding: 0; list-style: none; border-top: 1px solid transparent; border-image: var(--cn-dash) 1; }
.dir-cinematic .cn-index-row { position: relative; }
.dir-cinematic .cn-index-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cn-dash); }
.dir-cinematic .cn-index-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px clamp(16px, 3vw, 40px);
  padding-block: clamp(18px, 3vw, 34px);
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.5s var(--cn-ease);
}
.dir-cinematic .cn-index-no { color: var(--accent-text); font-size: 0.8rem; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.dir-cinematic .cn-index-name {
  font-family: var(--font-display);
  font-size: calc(clamp(1.7rem, 5vw, 5rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1;
  text-transform: var(--head-case);
  transition: transform 0.8s var(--cn-ease);
}
.dir-cinematic .cn-index-thumb { grid-column: 3; grid-row: 1; width: clamp(64px, 16vw, 92px); }
.dir-cinematic .cn-index-media { aspect-ratio: 1; border-radius: var(--radius-sm); }
.dir-cinematic .cn-index-arrow { display: none; color: var(--cn-hot); transition: transform 0.8s var(--cn-ease); }
@media (min-width: 900px) {
  .dir-cinematic .cn-index-link { grid-template-columns: 72px minmax(0, 1fr) auto; }
}
/* With a mouse the picture hides and slides in beside the row under the pointer; touch screens
   keep it in the row. */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .dir-cinematic .cn-index-arrow { display: block; }
  .dir-cinematic .cn-index-thumb {
    position: absolute;
    top: 50%;
    right: 12%;
    z-index: 2;
    width: clamp(180px, 18vw, 280px);
    pointer-events: none;
    opacity: 0;
    transform: translate3d(var(--cn-tx, 0px), -50%, 0) rotate(-4deg) scale(0.86);
    clip-path: inset(50% 0 50% 0 round var(--radius));
    transition: opacity 0.5s var(--cn-ease), transform 0.9s var(--cn-ease), clip-path 0.9s var(--cn-ease);
  }
  .dir-cinematic .cn-index-media { aspect-ratio: 4 / 5; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .dir-cinematic .cn-index:hover .cn-index-link:not(:hover) { opacity: 0.5; }
  .dir-cinematic .cn-index-link:hover .cn-index-name { transform: translateX(clamp(10px, 2vw, 32px)); }
  .dir-cinematic .cn-index-link:hover .cn-index-arrow { transform: rotate(45deg); }
  .dir-cinematic .cn-index-link:hover .cn-index-thumb { opacity: 1; transform: translate3d(var(--cn-tx, 0px), -50%, 0) rotate(3deg) scale(1); clip-path: inset(0 0 0 0 round var(--radius)); }
}

/* Products: a horizontal rail of tall frames. */
.dir-cinematic .cn-rail { overflow-x: clip; padding-block: calc(clamp(56px, 7vw, 104px) * var(--density, 1)); }
/* The pinned rail holds still for a while: a smaller heading and frames sized from the height of
   the screen keep the whole shot inside it. */
.dir-cinematic .cn-rail .cn-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.dir-cinematic .cn-rail .cn-h2 { --base: calc(clamp(2rem, 4.6vw, 4.8rem) * var(--head-size) * var(--head-scale, 1)); max-width: calc(20ch * var(--chs, 1)); }
.dir-cinematic .cn-track {
  display: flex;
  gap: clamp(16px, 2.2vw, 36px);
  margin: 0;
  padding: 0 var(--cn-edge) clamp(8px, 2vw, 24px);
  list-style: none;
  scroll-padding-inline: var(--cn-edge);
}
.dir-cinematic .cn-slide { flex: 0 0 auto; width: clamp(220px, min(26vw, 36vh), 400px); scroll-snap-align: start; }
.dir-cinematic .cn-slide-link { --cn-numeral: clamp(3.2rem, 5vw, 5rem); position: relative; display: block; color: inherit; text-decoration: none; }
/* The numeral of the piece in the display face, its lower half over the corner of the picture. */
.dir-cinematic .cn-slide-no {
  position: absolute;
  top: 0;
  left: -0.04em;
  z-index: 2;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: var(--cn-numeral);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.8;
  text-transform: none;
  text-shadow: 0 2px 22px rgb(0 0 0 / 55%);
  pointer-events: none;
}
.dir-cinematic .cn-slide-media { aspect-ratio: 4 / 5; margin-top: calc(var(--cn-numeral) * 0.44); }
.dir-cinematic .cn-slide-tag { display: flex; flex-wrap: wrap; letter-spacing: 0.24em; }
.dir-cinematic .cn-slide-tag span:first-child { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
.dir-cinematic .cn-slide-tag span + span { white-space: pre; }
.dir-cinematic .cn-slide-kind { margin: 0; color: var(--muted); font-size: 0.9rem; }
.dir-cinematic .cn-slide-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); pointer-events: none; }
.dir-cinematic .cn-slide-body { display: grid; gap: 6px; padding-top: 18px; }
.dir-cinematic .cn-slide-title {
  font-size: calc(clamp(1.2rem, 1.7vw, 1.6rem) * var(--head-size));
  line-height: 1.08;
  transition: color 0.4s var(--cn-ease);
}
.dir-cinematic .cn-slide-end .cn-slide-all {
  margin-top: calc(var(--cn-numeral) * 0.44);
  display: grid;
  aspect-ratio: 4 / 5;
  place-content: center;
  justify-items: center;
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius);
  outline: 1px dashed var(--cn-dash-c);
  outline-offset: -1px;
  text-align: center;
}
.dir-cinematic .cn-slide-all-label {
  font-family: var(--font-display);
  font-size: calc(clamp(1.6rem, 2.6vw, 2.6rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1;
  text-transform: var(--head-case);
}
.dir-cinematic .cn-slide-all-arrow { display: grid; width: 84px; height: 84px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); transition: transform 0.8s var(--cn-ease); }
@media (hover: hover) {
  .dir-cinematic .cn-slide-link:hover .media-img { transform: scale(1.06); }
  .dir-cinematic .cn-slide-all:hover .cn-slide-all-arrow { transform: scale(1.1) rotate(-45deg); }
}
@media (min-width: 900px) {
  .dir-cinematic .cn-slide:nth-child(even) { margin-top: clamp(16px, 4vh, 48px); }
}
@media (max-width: 899px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .dir-cinematic .cn-track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .dir-cinematic .cn-track::-webkit-scrollbar { display: none; }
  .dir-cinematic .cn-slide { width: min(76vw, 340px); }
}
html:not(.js) .dir-cinematic .cn-track { overflow-x: auto; scroll-snap-type: x mandatory; }

/* Services: wide cards that stack while scrolling. */
.dir-cinematic .cn-stack { display: grid; gap: clamp(18px, 3vw, 36px); margin: 0; padding: 0; list-style: none; }
.dir-cinematic .cn-stack-card { top: calc(12px + var(--i, 0) * 14px); }
.dir-cinematic .cn-stack-link {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--cn-line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 -24px 60px -30px rgb(0 0 0 / 70%);
}
.dir-cinematic .cn-stack-copy { display: grid; align-content: space-between; gap: 18px; padding: clamp(22px, 4vw, 56px); }
.dir-cinematic .cn-stack-no { color: var(--accent-text); font-size: 0.78rem; letter-spacing: 0.24em; font-variant-numeric: tabular-nums; }
.dir-cinematic .cn-stack-no i { margin-inline: 8px; color: var(--muted); font-style: normal; }
.dir-cinematic .cn-stack-title { max-width: calc(14ch * var(--chs, 1)); font-size: calc(clamp(1.8rem, 4.2vw, 4.2rem) * var(--head-size)); line-height: var(--cn-lh); }
.dir-cinematic .cn-stack-text { max-width: 36rem; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.dir-cinematic .cn-stack-media { aspect-ratio: 16 / 10; border-radius: 0; }
@media (min-width: 900px) {
  .dir-cinematic .cn-stack-link { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(68svh, 620px); }
  .dir-cinematic .cn-stack-media { aspect-ratio: auto; height: 100%; }
}
@media (hover: hover) {
  .dir-cinematic .cn-stack-link:hover .media-img { transform: scale(1.05); }
}

/* Benefits and questions: a still heading on the left, a list on the right. */
.dir-cinematic .cn-split { display: grid; gap: clamp(32px, 5vw, 56px); }
.dir-cinematic .cn-split .cn-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
.dir-cinematic .cn-split .cn-head-side { justify-self: start; }
.dir-cinematic .cn-split .cn-h2 { --base: calc(clamp(2.2rem, 4.8vw, 5rem) * var(--head-size) * var(--head-scale, 1)); max-width: none; }
@media (min-width: 900px) {
  .dir-cinematic .cn-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 128px); }
  .dir-cinematic .cn-split .cn-h2 { --hw: calc(min(var(--maxw), 100vw - 2 * var(--gutter)) * 0.42); }
  .dir-cinematic .cn-split-head { position: sticky; top: calc(var(--cn-hdr) + 32px); align-self: start; }
}
.dir-cinematic .cn-feats { margin: 0; padding: 0; list-style: none; }
.dir-cinematic .cn-feat {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 8px 18px;
  padding-block: clamp(22px, 3vw, 36px);
}
.dir-cinematic .cn-feat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cn-dash); }
.dir-cinematic .cn-feat:first-child { border-top: 1px solid var(--cn-line); }
.dir-cinematic .cn-feat-no { grid-row: 1 / span 2; padding-top: 0.5em; color: var(--accent-text); font-size: 0.78rem; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.dir-cinematic .cn-feat h3 { grid-column: 2; font-size: calc(clamp(1.3rem, 2vw, 1.9rem) * var(--head-size)); line-height: 1.08; }
.dir-cinematic .cn-feat-icon { grid-column: 3; grid-row: 1; color: var(--cn-hot); }
.dir-cinematic .cn-feat-text { grid-column: 2 / -1; color: var(--muted); }
.dir-cinematic .cn-feat-text p + p { margin-top: 0.7em; }

/* Process: huge outlined numbers in a staggered line. */
.dir-cinematic .cn-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px) var(--gap); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) {
  .dir-cinematic .cn-steps { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .dir-cinematic .cn-steps { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
}
.dir-cinematic .cn-step { display: grid; align-content: start; gap: 14px; padding-top: 22px; border-top: 1px solid var(--cn-line); }
.dir-cinematic .cn-step-no {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.5rem);
  font-weight: var(--head-weight);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 60%, transparent);
  font-variant-numeric: tabular-nums;
}
.dir-cinematic .cn-step h3 { font-size: calc(clamp(1.25rem, 1.8vw, 1.7rem) * var(--head-size)); line-height: 1.1; }
.dir-cinematic .cn-step-text { color: var(--muted); }
.dir-cinematic .cn-step-text p + p { margin-top: 0.7em; }

/* Teaser: a wide picture with the story over its lower edge. */
.dir-cinematic .cn-teaser { padding-top: 0; }
.dir-cinematic .cn-teaser::before { display: none; }
.dir-cinematic .cn-teaser-media { position: relative; height: clamp(360px, 82svh, 900px); overflow: hidden; }
.dir-cinematic .cn-teaser-drift { position: absolute; inset: -9% 0; }
.dir-cinematic .cn-teaser-img { height: 100%; border-radius: 0; }
.dir-cinematic .cn-teaser-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--cn-tone), transparent 42%); pointer-events: none; }
.dir-cinematic .cn-teaser-copy { position: relative; z-index: 1; margin-top: clamp(-260px, -18vw, -72px); }
.dir-cinematic .cn-teaser-card {
  display: grid;
  gap: 22px;
  max-width: 44rem;
  padding: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--cn-hot);
  background: var(--cn-tone);
}
.dir-cinematic .cn-teaser-text { display: grid; gap: 20px; justify-items: start; color: var(--muted); }
.dir-cinematic .cn-teaser-text p + p { margin-top: 0.8em; }
@media (min-width: 900px) {
  .dir-cinematic .cn-teaser-card { margin-left: auto; }
}

/* Showcase: a staggered grid of scenes. */
.dir-cinematic .cn-shots { display: grid; gap: clamp(28px, 3.6vw, 52px) var(--gap); margin: 0; padding: 0; list-style: none; }
.dir-cinematic .cn-shot-frame { overflow: hidden; border-radius: var(--radius); }
.dir-cinematic .cn-shot-media { aspect-ratio: 4 / 3; }
.dir-cinematic .cn-shot-caption { display: flex; gap: 14px; margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.dir-cinematic .cn-shot-caption span { color: var(--accent-text); font-size: 0.75rem; letter-spacing: 0.2em; padding-top: 0.2em; }
@media (min-width: 900px) {
  .dir-cinematic .cn-shots { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .dir-cinematic .cn-shot.is-wide { grid-column: span 7; }
  .dir-cinematic .cn-shot.is-narrow { grid-column: span 5; }
  .dir-cinematic .cn-shot.is-full { grid-column: 1 / -1; }
  /* Frames of a row share one height, so their captions line up. */
  .dir-cinematic .cn-shot-media { aspect-ratio: auto; height: clamp(280px, 32vw, 500px); }
  .dir-cinematic .cn-shot.is-full .cn-shot-media { height: clamp(300px, 34vw, 540px); }
}

/* Articles: the latest large, the rest as titles between rules. */
.dir-cinematic .cn-reads { margin: 0; padding: 0; list-style: none; }
.dir-cinematic .cn-read { position: relative; }
.dir-cinematic .cn-read::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cn-dash); }
.dir-cinematic .cn-read-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 28px; padding-block: clamp(20px, 3vw, 34px); color: var(--ink); text-decoration: none; }
.dir-cinematic .cn-read-body { display: grid; gap: 8px; }
.dir-cinematic .cn-read-title { font-size: calc(clamp(1.35rem, 2.6vw, 2.4rem) * var(--head-size)); line-height: 1.04; transition: transform 0.8s var(--cn-ease); }
.dir-cinematic .cn-read-text { max-width: 44rem; color: var(--muted); }
.dir-cinematic .cn-read-arrow { color: var(--cn-hot); transition: transform 0.8s var(--cn-ease); }
.dir-cinematic .cn-read.is-lead .cn-read-link { grid-template-columns: minmax(0, 1fr) auto; padding-top: 0; }
.dir-cinematic .cn-read.is-lead .cn-read-frame { grid-column: 1 / -1; overflow: hidden; border-radius: var(--radius); }
.dir-cinematic .cn-read-media { aspect-ratio: 16 / 9; }
.dir-cinematic .cn-read.is-lead .cn-read-title { font-size: calc(clamp(1.7rem, 4vw, 3.8rem) * var(--head-size)); }
@media (min-width: 900px) {
  .dir-cinematic .cn-read.is-lead .cn-read-link { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) auto; padding-bottom: clamp(28px, 4vw, 52px); }
  .dir-cinematic .cn-read.is-lead .cn-read-frame { grid-column: 1; }
  .dir-cinematic .cn-read.is-lead .cn-read-arrow { align-self: end; }
}
@media (hover: hover) {
  .dir-cinematic .cn-read-link:hover .cn-read-title { transform: translateX(10px); }
  .dir-cinematic .cn-read-link:hover .cn-read-arrow { transform: rotate(45deg); }
  .dir-cinematic .cn-read-link:hover .media-img { transform: scale(1.05); }
}

/* Promises: a quiet strip. */
.dir-cinematic .cn-promise { padding-block: calc(clamp(48px, 6vw, 88px) * var(--density, 1)); background: var(--cn-deep); }
.dir-cinematic .cn-promises { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px var(--gap); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) {
  .dir-cinematic .cn-promises { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .dir-cinematic .cn-promises { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
}
.dir-cinematic .cn-promise-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; padding-left: 18px; border-left: 1px solid transparent; border-image: var(--cn-dash-y) 1; }
.dir-cinematic .cn-promise-icon { grid-row: 1 / span 2; color: var(--cn-hot); }
.dir-cinematic .cn-promise-item h3 { font-family: var(--font-body); font-size: 1rem; font-style: normal; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3; text-transform: none; }
.dir-cinematic .cn-promise-text { color: var(--muted); font-size: 0.95rem; }

/* Cases: tall frames in two staggered columns. */
.dir-cinematic .cn-works { display: grid; gap: clamp(36px, 5vw, 72px) var(--gap); margin: 0; padding: 0; list-style: none; }
.dir-cinematic .cn-work-link { display: grid; gap: 18px; color: var(--ink); text-decoration: none; }
.dir-cinematic .cn-work-frame { overflow: hidden; border-radius: var(--radius); }
.dir-cinematic .cn-work-media { aspect-ratio: 4 / 3; }
.dir-cinematic .cn-work-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; }
.dir-cinematic .cn-work-no { grid-row: 1 / span 2; padding-top: 0.4em; color: var(--accent-text); font-size: 0.75rem; letter-spacing: 0.2em; }
.dir-cinematic .cn-work-title { font-size: calc(clamp(1.3rem, 2.2vw, 2.2rem) * var(--head-size)); line-height: 1.06; }
.dir-cinematic .cn-work-text { color: var(--muted); }
@media (min-width: 900px) {
  .dir-cinematic .cn-works { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 112px); }
  .dir-cinematic .cn-work:nth-child(even) { margin-top: clamp(48px, 10vh, 140px); }
  .dir-cinematic .cn-work.is-last-odd { grid-column: 1 / -1; }
  .dir-cinematic .cn-work.is-last-odd .cn-work-media { aspect-ratio: 21 / 9; }
}
@media (hover: hover) {
  .dir-cinematic .cn-work-link:hover .media-img { transform: scale(1.05); }
}

/* Plans: side by side between dashed rules. */
.dir-cinematic .cn-tiers { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) {
  .dir-cinematic .cn-tiers { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
}
.dir-cinematic .cn-tier { position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 40px) clamp(4px, 2vw, 32px) clamp(24px, 3vw, 40px) 0; }
.dir-cinematic .cn-tier::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--cn-dash); }
.dir-cinematic .cn-tier-no { color: var(--accent-text); font-size: 0.75rem; letter-spacing: 0.24em; }
.dir-cinematic .cn-tier h3 { font-size: calc(clamp(1.3rem, 2vw, 1.8rem) * var(--head-size)); }
.dir-cinematic .cn-tier .price { font-family: var(--font-display); font-size: calc(clamp(2.2rem, 4.4vw, 4rem) * var(--head-size)); font-weight: var(--head-weight); line-height: 1; letter-spacing: var(--head-track); }
.dir-cinematic .cn-tier .price-ask { font-family: var(--font-body); font-size: 1rem; }
.dir-cinematic .cn-tier-text { color: var(--muted); }
@media (min-width: 1000px) {
  .dir-cinematic .cn-tiers { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
  .dir-cinematic .cn-tier + .cn-tier { padding-left: clamp(20px, 2.6vw, 40px); }
  .dir-cinematic .cn-tier + .cn-tier::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--cn-dash-y); }
}

/* FAQ: big questions between rules. */
.dir-cinematic .faq details { position: relative; padding-block: 6px; border-bottom: 0; }
.dir-cinematic .faq details::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cn-dash); }
.dir-cinematic .faq summary { min-height: 64px; padding-block: 18px; font-family: var(--font-display); font-size: calc(clamp(1.15rem, 1.7vw, 1.5rem) * var(--head-size)); font-style: var(--head-style); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.2; }
.dir-cinematic .faq-mark { width: 18px; height: 18px; color: var(--cn-hot); }
.dir-cinematic .faq-mark::before,
.dir-cinematic .faq-mark::after { top: 8px; width: 18px; height: 1px; transition: transform 0.6s var(--cn-ease); }
.dir-cinematic .faq-a { max-width: 44rem; padding-bottom: 22px; color: var(--muted); }

/* ---- Inner pages ---------------------------------------------------------------------------- */
.dir-cinematic .page-head { position: relative; padding-block: calc(clamp(48px, 9vw, 136px) * var(--density, 1)) calc(clamp(28px, 4vw, 56px) * var(--density, 1)); }
.dir-cinematic .page-head::after { content: ""; position: absolute; bottom: 0; left: max(var(--gutter), calc((100% - var(--maxw)) / 2)); right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); height: 1px; background: var(--cn-dash); }
.dir-cinematic .page-head h1 { max-width: calc(16ch * var(--chs, 1)); font-size: min(calc(clamp(2.5rem, 7.4vw, 7.6rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.5rem, 7.4vw, 7.6rem) * var(--head-size) * var(--tk-keep, 1)), var(--tk-cap, 999px))); }
.dir-cinematic .page-head .lead { max-width: 40rem; margin-top: 24px; }
.dir-cinematic .crumbs { margin-bottom: 26px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.dir-cinematic .crumbs a { color: var(--muted); text-decoration: none; }
.dir-cinematic .crumbs a:hover { color: var(--ink); }
.dir-cinematic .section-top { padding-top: calc(clamp(32px, 4vw, 56px) * var(--density, 1)); }
.dir-cinematic .section-alt { background: var(--cn-deep); }
.dir-cinematic .section-band { background: var(--cn-deep); color: var(--ink); }
.dir-cinematic .sec-head h2 { font-size: min(calc(clamp(1.9rem, 4vw, 3.6rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(1.9rem, 4vw, 3.6rem) * var(--head-size) * var(--tk-keep, 1)), calc(min(46rem, var(--tk-col, 100vw)) / (var(--tk-word, 20) * var(--tk-cw, 0.62))))); }
.dir-cinematic .sec-no,
.dir-cinematic .section-band .sec-no { color: var(--accent-text); letter-spacing: 0.24em; }
.dir-cinematic.ui-head-rule .sec-head { border-top: 0; background: var(--cn-dash) 0 0 / 100% 1px no-repeat; }
.dir-cinematic .item-tag { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.dir-cinematic .item-title { font-size: calc(1.2rem * var(--head-size)); line-height: 1.12; text-transform: var(--head-case); }
.dir-cinematic .item-more { color: var(--ink); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.dir-cinematic .item-more .icon { color: var(--cn-hot); }
.dir-cinematic.ui-card-boxed .item-link { border: 1px solid var(--cn-line); background: var(--surface); box-shadow: none; }
.dir-cinematic.ui-card-boxed .section-alt .item-link { background: var(--surface); }
.dir-cinematic.ui-card-caption .item-body { border-top: 1px solid var(--cn-line); }
.dir-cinematic.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body {
  padding: 72px 16px 16px;
  background: linear-gradient(to top, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 66%) 48%, rgb(0 0 0 / 0%));
}
.dir-cinematic.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;
}
.dir-cinematic.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-tag { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 599px) {
  .dir-cinematic.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-link { overflow: visible; border-radius: 0; }
  .dir-cinematic.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body { position: static; padding: 12px 2px 4px; background: none; color: var(--ink); }
  .dir-cinematic.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body .item-tag { color: var(--muted); }
  .dir-cinematic.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body .price { color: var(--accent-text); }
  .dir-cinematic.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-body :is(.item-text, .item-more) { color: var(--muted); }
  .dir-cinematic.ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-title { display: block; font-size: calc(1.05rem * var(--head-size)); -webkit-line-clamp: unset; }
}
.dir-cinematic.ui-grid-list .items:not(.items-related),
.dir-cinematic.ui-grid-list .items:not(.items-related) .item { border-color: var(--cn-line); }
@media (hover: hover) {
  .dir-cinematic .item-link:hover .media-img,
  .dir-cinematic .tile-link:hover .media-img { transform: scale(1.06); }
}
.dir-cinematic .tile-name { font-size: calc(1.3rem * var(--head-size)); text-transform: var(--head-case); }
.dir-cinematic .feature { border: 1px solid var(--cn-line); border-radius: var(--radius); background: transparent; }
.dir-cinematic .section-alt .feature { background: transparent; }
.dir-cinematic .feature-icon,
.dir-cinematic .section-alt .feature-icon { border: 1px solid var(--cn-line); background: transparent; color: var(--cn-hot); }
.dir-cinematic .feature p { color: var(--muted); }
.dir-cinematic .step { border-top: 1px solid var(--cn-line); }
.dir-cinematic .step-no { color: var(--accent-text); letter-spacing: 0.2em; }
.dir-cinematic .plan { border: 1px solid var(--cn-line); background: var(--surface); }
.dir-cinematic .plan .price { font-size: calc(2.4rem * var(--head-size)); font-weight: var(--head-weight); }
.dir-cinematic .duo-media,
.dir-cinematic .wide-media,
.dir-cinematic .product-media { border-radius: var(--radius); }
.dir-cinematic .prose h2 { font-size: min(calc(clamp(1.5rem, 2.6vw, 2.2rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(1.5rem, 2.6vw, 2.2rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.55))); line-height: 1.05; }
.dir-cinematic .includes li .icon { color: var(--cn-hot); }
.dir-cinematic .product-copy h1 { font-size: min(calc(clamp(2.2rem, 4.8vw, 4.6rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.2rem, 4.8vw, 4.6rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.45))); }
.dir-cinematic .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); }
.dir-cinematic .product-copy { top: calc(var(--cn-hdr) + 24px); }
.dir-cinematic .specs { border-top: 1px solid var(--cn-line); }
.dir-cinematic .specs > div { border-bottom: 1px solid var(--cn-line); }
.dir-cinematic .specs dt { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.dir-cinematic .read-bar { height: 2px; background: var(--cn-hot); }
.dir-cinematic .toc { top: calc(var(--cn-hdr) + 24px); }
.dir-cinematic .toc-title { color: var(--accent-text); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; }
.dir-cinematic .contact-card { border: 1px solid var(--cn-line); background: var(--surface); }
.dir-cinematic .field label { color: var(--ink); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; }
.dir-cinematic .field input,
.dir-cinematic .field textarea,
.dir-cinematic .sort select {
  border: 0;
  border-bottom: 1px solid var(--cn-dash-c);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.4s var(--cn-ease);
}
.dir-cinematic .field input:focus,
.dir-cinematic .field textarea:focus { border-bottom-color: var(--cn-hot); outline: none; }
.dir-cinematic .field input:focus-visible,
.dir-cinematic .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--cn-hot); }
.dir-cinematic .chip { border-color: var(--cn-line); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }
.dir-cinematic .chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.dir-cinematic .how-steps::before { display: none; }
.dir-cinematic .how-step { padding-left: 0; border-top: 1px solid var(--cn-line); }
.dir-cinematic .how-step .step-no { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 60%, transparent); }
.dir-cinematic .gallery-title { text-transform: var(--head-case); }
.dir-cinematic .notfound-code { color: transparent; font-size: clamp(6rem, 24vw, 18rem); -webkit-text-stroke: 1px var(--cn-hot); }

/* ---- The closing call and the end credits --------------------------------------------------- */
.dir-cinematic .cta-band { position: relative; overflow: clip; padding-block: calc(clamp(72px, 9vw, 140px) * var(--density, 1)); background: var(--cn-deep); color: var(--ink); }
.dir-cinematic .cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  right: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  height: 1px;
  background: linear-gradient(90deg, var(--cn-hot) 0 72px, var(--cn-line) 72px);
}
.dir-cinematic .cta-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12vw;
  bottom: 0;
  z-index: -1;
  width: 64vw;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cn-hot) 14%, transparent), transparent);
  pointer-events: none;
}
.dir-cinematic .cta-band { isolation: isolate; }
.dir-cinematic .cta-band h2 { color: var(--ink); }
.dir-cinematic .cta-band .cta-text { color: var(--muted); }
.dir-cinematic .cta-band .btn-invert { background: var(--accent); color: var(--on-accent); }
.dir-cinematic .cta-band .btn-invert::before { background: var(--ink); }
@media (hover: hover) {
  .dir-cinematic .cta-band .btn-invert:hover { color: var(--bg); }
}
.dir-cinematic .cta-band h2 { max-width: calc(14ch * var(--chs, 1)); font-size: min(calc(clamp(2.4rem, 6.6vw, 7rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.4rem, 6.6vw, 7rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.7))); line-height: var(--cn-lh); }
.dir-cinematic .cta-inner { align-items: flex-end; gap: 32px 48px; }
.dir-cinematic .cta-inner > div { max-width: 52rem; }
.dir-cinematic .cta-text { max-width: 36rem; margin-top: 20px; font-size: 1.05rem; }
.dir-cinematic .cn-footer { padding-block: clamp(56px, 8vw, 112px) 0; overflow: clip; background: var(--cn-deep); color: var(--ink); }
.dir-cinematic .cn-footer .footer-head { color: var(--ink); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.dir-cinematic .cn-footer :is(.footer-col, .footer-nav, .footer-contacts, .footer-tagline) { color: var(--muted); }
.dir-cinematic .cn-footer a { text-decoration: none; transition: color 0.4s var(--cn-ease); }
.dir-cinematic .cn-footer a:hover { color: var(--ink); }
.dir-cinematic .cn-footer .footer-base { margin-top: clamp(40px, 6vw, 80px); border-top: 0; background: var(--cn-dash) 0 0 / 100% 1px no-repeat; color: var(--muted); }
.dir-cinematic .cn-credits { margin-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(10px, 1.6vw, 24px); overflow: hidden; }
.dir-cinematic .cn-keep { white-space: nowrap; }
.dir-cinematic .cn-wordmark {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: min(24vw, calc((100vw - 2 * var(--gutter)) / (var(--len) * var(--cn-g) * 1.06)));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 0.86;
  text-align: center;
  text-transform: var(--head-case);
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgb(0 0 0 / 30%) 100%);
  mask-image: linear-gradient(to bottom, #000 55%, rgb(0 0 0 / 30%) 100%);
}
.dir-cinematic .cookie-notice { border-color: var(--cn-line); background: var(--surface); color: var(--ink); }
.dir-cinematic .cookie-notice button { background: var(--ink); color: var(--bg); }

/* ---- Tokens of the design (premium/tokens.css): the film's own pictures, buttons and rules --- */
/* Pictures: the frames of the chapters take the shape; the wide teaser runs from edge to edge
   and keeps square corners; a service card holds its words beside the picture (--pic-card). */
.dir-cinematic[class*="ui-pic-"] :is(.cn-slide-media, .cn-index-media, .cn-shot-frame, .cn-shot-frame .media, .cn-read-frame, .cn-read-frame .media, .cn-work-frame, .cn-work-frame .media) { border-radius: var(--pic); }
.dir-cinematic[class*="ui-pic-"] .cn-stack-link { border-radius: var(--pic-card); }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .dir-cinematic[class*="ui-pic-"] .cn-index-thumb { clip-path: inset(50% 0 50% 0 round var(--pic)); }
  .dir-cinematic[class*="ui-pic-"] .cn-index-link:hover .cn-index-thumb { clip-path: inset(0 0 0 0 round var(--pic)); }
}
@media (min-width: 600px) {
  /* A card with its words over the picture takes the card shape; phones set the words under the
     picture, which keeps the shape of a picture. */
  .dir-cinematic[class*="ui-pic-"].ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-link { border-radius: var(--pic-card); }
  .dir-cinematic[class*="ui-pic-"].ui-card-overlay:not(.ui-grid-rows):not(.ui-grid-list) .item-media { border-radius: 0; }
}
/* Headings: a scaled chapter title fits its longest word to its column (--hw); in the teaser
   card that column is the card, narrower than the page. */
.dir-cinematic[class*="ui-scale-"] .cn-teaser-card .cn-h2 { --hw: calc(min(44rem, 100vw - 2 * var(--gutter)) - 2 * clamp(24px, 4vw, 56px)); }
/* Buttons: the fill still rises from below, in a colour that keeps the words readable. */
.dir-cinematic.ui-btn-solid .header-cta.btn { border-color: transparent; background: var(--accent); color: var(--on-accent); }
.dir-cinematic.ui-btn-solid .header-cta.btn::before { background: var(--ink); }
.dir-cinematic.ui-btn-solid .btn-ghost::before { background: var(--accent); }
.dir-cinematic.ui-btn-outline .cta-band .btn-invert { border: 2px solid currentColor; background: transparent; color: inherit; }
.dir-cinematic.ui-btn-underline .cta-band .btn-invert,
.dir-cinematic.ui-btn-underline .header-cta.btn { padding-inline: 0; border-color: transparent; background: transparent; color: inherit; }
@media (hover: hover) {
  .dir-cinematic.ui-btn-solid .btn-ghost:hover { color: var(--on-accent); }
  .dir-cinematic.ui-btn-solid .header-cta.btn:hover { color: var(--bg); }
  .dir-cinematic.ui-btn-underline .btn:hover,
  .dir-cinematic.ui-btn-underline .cta-band .btn-invert:hover,
  .dir-cinematic.ui-btn-underline .header-cta.btn:hover { border-color: transparent; color: inherit; text-decoration-thickness: 3px; }
}
/* Rules between the chapters: the dashed line becomes a solid hairline, a bold ink rule, or
   goes. */
.dir-cinematic.ui-rules-hairline .cn-sec::before { background: color-mix(in srgb, var(--ink) 30%, transparent); opacity: 1; }
.dir-cinematic.ui-rules-bold .cn-sec::before { height: 3px; background: var(--ink); opacity: 0.9; }
.dir-cinematic.ui-rules-none .cn-sec::before { display: none; }

/* ---- Motion: only when it is welcome -------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes cn-unveil { from { opacity: 1; } to { opacity: 0; } }
  @keyframes cn-settle { from { transform: scale(1.1); } to { transform: none; } }
  @keyframes cn-rise-in { from { opacity: 0; transform: translate3d(0, 7vh, 0) scale(0.94); } to { opacity: 1; transform: none; } }
  @keyframes cn-drift { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -16px, 0) rotate(-1.6deg); } }
  @keyframes cn-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.06); } }
  @keyframes cn-door-a { from { opacity: 0; transform: translate3d(-7vw, 0, 0); } to { opacity: 1; transform: none; } }
  @keyframes cn-door-b { from { opacity: 0; transform: translate3d(7vw, 0, 0); } to { opacity: 1; transform: none; } }
  @keyframes cn-open { from { transform: scale(0.82); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes cn-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  @keyframes cn-beam-in { from { opacity: 0; transform: scaleY(0.4); } to { opacity: 1; transform: none; } }
  @keyframes cn-part-a { from { opacity: 0; transform: translate3d(14%, 0, 0); } to { opacity: 1; transform: none; } }
  @keyframes cn-part-b { from { opacity: 0; transform: translate3d(-14%, 0, 0); } to { opacity: 1; transform: none; } }

  html.js .dir-cinematic .cn-veil { animation: cn-unveil 1.9s var(--cn-ease) 0.15s both; }
  html.js .dir-cinematic .cn-stage-bg { animation: cn-settle 2.8s var(--cn-ease) both; }
  html.js .dir-cinematic .cn-beam { transform-origin: 50% 0; animation: cn-beam-in 1.8s var(--cn-ease) 0.2s both; }
  html.js .dir-cinematic .cn-ghost span:first-child { animation: cn-part-a 1.8s var(--cn-ease) 0.3s both; }
  html.js .dir-cinematic .cn-ghost span + span { animation: cn-part-b 1.8s var(--cn-ease) 0.3s both; }
  html.js .dir-cinematic .cn-object-img { animation: cn-rise-in 1.6s var(--cn-ease) 0.35s both; }
  html.js .dir-cinematic .cn-object-drift { animation: cn-drift 11s cubic-bezier(0.37, 0, 0.63, 1) 2.2s infinite; }
  html.js .dir-cinematic .cn-glow { animation: cn-breathe 12s cubic-bezier(0.37, 0, 0.63, 1) infinite; }
  html.js .dir-cinematic .cn-fly-window { animation: cn-open 1.8s var(--cn-ease) 0.1s both; }
  html.js .dir-cinematic .cn-half-a .cn-half-in { animation: cn-door-a 1.6s var(--cn-ease) 0.3s both; }
  html.js .dir-cinematic .cn-half-b .cn-half-in { animation: cn-door-b 1.6s var(--cn-ease) 0.42s both; }
  html.js .dir-cinematic .cn-eyebrow::before { animation: cn-pulse 2.4s cubic-bezier(0.37, 0, 0.63, 1) infinite; }
  /* A first visit opens behind the curtain: the film starts when it lifts. */
  html.js:not(.seen) .dir-cinematic .cn-veil { animation-delay: 1.1s; }
  html.js:not(.seen) .dir-cinematic .cn-stage-bg { animation-delay: 0.9s; }
  html.js:not(.seen) .dir-cinematic .cn-beam { animation-delay: 1s; }
  html.js:not(.seen) .dir-cinematic .cn-ghost span { animation-delay: 1.1s; }
  html.js:not(.seen) .dir-cinematic .cn-object-img { animation-delay: 1.2s; }
  html.js:not(.seen) .dir-cinematic .cn-fly-window { animation-delay: 1s; }
  html.js:not(.seen) .dir-cinematic .cn-half-a .cn-half-in { animation-delay: 1.2s; }
  html.js:not(.seen) .dir-cinematic .cn-half-b .cn-half-in { animation-delay: 1.32s; }
  /* Phones: the same entrance, short; the first screen is complete within a second. */
  @media (max-width: 899px) {
    html.js .dir-cinematic :is(.cn-veil, .cn-beam, .cn-ghost span, .cn-object-img, .cn-half-in) { animation-duration: 0.9s; animation-delay: 0.05s; }
    html.js .dir-cinematic .cn-stage-bg { animation-duration: 1.2s; }
    html.js:not(.seen) .dir-cinematic :is(.cn-veil, .cn-beam, .cn-ghost span, .cn-object-img, .cn-half-in) { animation-delay: 0.9s; }
    html.js:not(.seen) .dir-cinematic .cn-stage-bg { animation-delay: 0.9s; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .dir-cinematic .cn-ticker-row { flex-wrap: wrap; row-gap: 8px; white-space: normal; padding-inline: var(--gutter); font-size: calc(clamp(1.5rem, 3.4vw, 3rem) * var(--head-size)); }
  .dir-cinematic .cn-index-thumb { transition: none; }
}

/* ---- Shared first screens (decision 78) ------------------------------------------------------ */
.fr-hero {
  /* How wide the letters of the display face run, for titles that fit their column. */
  --fr-g: 0.66;
  /* The same for capitals, and for the name of the brand set in the case of the headings. */
  --fr-gu: 0.8;
  --fr-gm: 0.67;
  /* The density of the design (--density, tight to grand) multiplies the air above and below. */
  --fr-d: var(--density, 1);
  /* What more air and larger titles take of the height of the screen: a picture whose height
     follows the screen gives it back, so the words still reach the first screen. A title beside a
     picture of full height takes it from its own size instead; at the default tokens it is 0 and
     every size is the one before the tokens. Less air and smaller titles never make a picture
     larger than its own size: it would push the words down under the cookie notice. */
  --fr-give: max(0px, calc((var(--fr-d) - 1) * 160px + (var(--head-scale, 1) - 1) * 220px));
  /* Room for a header laid over the page: cinematic and aurora start their home page under it. */
  --fr-top: 0px;
  /* The height a first screen fills: the screen under a header in the page. */
  --fr-fold: calc(100vh - 76px);
  /* The content column: its width, and where it starts from the edge of the screen. */
  --fr-w: min(var(--maxw), 100vw - 2 * var(--gutter));
  --fr-edge: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  --fr-gap: clamp(16px, 2.2vw, 26px);
  --fr-col: var(--fr-w);
  --fr-vw: 11vw;
  --fr-min: 1.25rem;
  --fr-max: 6rem;
  --fr-lines: 4;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: 0;
  color: var(--ink);
}
@supports (height: 100svh) {
  .fr-hero { --fr-fold: calc(100svh - 76px); }
}
.dir-cinematic .fr-hero { --fr-top: var(--cn-hdr, 76px); --fr-fold: 100vh; }
.dir-aurora .fr-hero { --fr-top: var(--au-hdr, 84px); --fr-fold: 100vh; }
@supports (height: 100svh) {
  :is(.dir-cinematic, .dir-aurora) .fr-hero { --fr-fold: 100svh; }
}
.fr-hero .fr-eyebrow { margin: 0; }
.fr-title {
  margin: 0;
  max-width: 100%;
  /* The scale of the design (--head-scale) grows or shrinks the title, never past its column: the
     longest word and the number of lines still bound it. */
  font-size: clamp(var(--fr-min), min(calc(var(--fr-vw) * var(--head-size, 1) * var(--head-scale, 1)), calc(var(--fr-col) * 0.96 / (var(--len) * var(--fr-g))), calc(var(--fr-col) * var(--fr-lines) / (var(--chars) * var(--fr-g) * 1.12))), calc(var(--fr-max) * var(--head-scale, 1)));
  line-height: 1.02;
  overflow-wrap: break-word;
}
/* The accent of the title in the accent colour, where the direction gives it no look of its own. */
:where(.fr-title) .ac { color: var(--accent-text); }
.fr-words { display: grid; justify-items: start; gap: var(--fr-gap); }
/* A column never grows past its box for one long word: the title shrinks to it (down to its
   floor) or breaks it, and the lead and the buttons stay on a phone screen. The layouts of wide
   screens set their own columns over this. */
:where(.fr-words, .fr-portrait-copy, .fr-veil-in, .fr-deck-in, .fr-deck-copy, .fr-strip-head, .fr-strip-copy, .fr-lb-head, .fr-lb-copy) { grid-template-columns: minmax(0, 1fr); }
.fr-lead { max-width: 36rem; }
.fr-hero .fr-para { margin: 0; font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.55; }
.fr-hero .fr-para + .fr-para { margin-top: 0.6em; }
.fr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.fr-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fr-mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: color-mix(in srgb, currentColor 16%, transparent);
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 18rem);
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  line-height: 1;
  text-transform: var(--head-case);
  user-select: none;
}
/* A live 3D scene lies over the picture of its panel; the picture sinks back once it plays. */
.fr-hero .fr-scene { position: absolute; inset: 0; z-index: 1; --s1: var(--accent); --s2: var(--ink); --s3: var(--surface); }
.fr-hero:has(.stage3d.is-live) :is(.fr-portrait-media, .fr-lb-frame) .fr-img { opacity: 0.24; filter: blur(16px) saturate(1.2); }
@media (max-width: 640px) {
  .fr-hero { --fr-gap: 16px; }
  .fr-title { hyphens: auto; }
  .fr-actions > .btn { flex: 1 1 auto; }
}

/* ---- portrait: the words beside a tall photo that runs to the edge of the screen ---- */
.fr-portrait-copy { display: grid; align-content: center; justify-items: start; gap: var(--fr-gap); }
.fr-portrait-media { position: relative; overflow: hidden; background: var(--surface); color: var(--ink); }
.fr-portrait-media > .fr-img { position: absolute; inset: 0; }
.fr-portrait-tag {
  position: absolute;
  inset-block-end: clamp(14px, 2.4vw, 28px);
  inset-inline-start: clamp(14px, 2.4vw, 28px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 2 * clamp(14px, 2.4vw, 28px));
  margin: 0;
  padding: 8px 14px;
  border-radius: var(--btn-radius);
  background: rgb(0 0 0 / 62%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.fr-portrait-tag i { flex: none; width: 26px; height: 1px; background: currentColor; }
.fr-portrait-tag span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fr-portrait.no-media .fr-portrait-tag { background: none; color: var(--muted); -webkit-backdrop-filter: none; backdrop-filter: none; }
.fr-portrait.has-scene .fr-portrait-tag { z-index: 2; }
@media (min-width: 900px) {
  .fr-portrait {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    min-height: min(var(--fr-fold), 980px);
  }
  .fr-portrait-copy {
    --fr-col: calc(var(--fr-w) * 0.46);
    --fr-vw: 6vw;
    --fr-max: calc(6.8rem - max(0px, var(--fr-give)) * 0.35);
    --fr-lines: 4;
    padding-block: calc(var(--fr-top) + clamp(32px, 6vh, 72px) * var(--fr-d)) max(var(--fold-safe, 96px), calc(clamp(48px, 8vh, 96px) * var(--fr-d)));
    padding-inline: var(--fr-edge) clamp(28px, 4.4vw, 72px);
  }
  .fr-portrait-media { min-height: 100%; border-end-start-radius: calc(var(--radius) * 3); }
}
@media (max-width: 899px) {
  .fr-portrait-copy {
    --fr-vw: 10vw;
    padding: calc(var(--fr-top) + clamp(24px, 6vw, 40px) * var(--fr-d)) var(--gutter) calc(clamp(28px, 6vw, 40px) * var(--fr-d));
  }
  .fr-portrait-media {
    aspect-ratio: 5 / 4;
    margin-inline-start: var(--gutter);
    border-start-start-radius: calc(var(--radius) * 2);
    border-end-start-radius: calc(var(--radius) * 2);
  }
}
/* organic: the tall photo is an arch; swiss: a hairline frame, square cut. */
.dir-organic .fr-portrait-media { border-start-start-radius: 999px 46%; border-start-end-radius: 0; }
@media (min-width: 900px) {
  .dir-organic .fr-portrait-media { margin-block-start: calc(var(--fr-top) + 24px); border-start-start-radius: 50% 26%; border-end-start-radius: 0; }
}
.dir-swiss .fr-portrait-media { border-radius: 0; box-shadow: inset 1px 0 0 var(--line); }
.dir-brutal .fr-portrait-media { border-radius: 0; border-inline-start: var(--bw2, 4px) solid var(--edge, var(--ink)); }

/* ---- veil: the photo over the whole screen under a dark veil, the title in the middle ---- */
.fr-veil {
  display: grid;
  place-items: center;
  min-height: min(var(--fr-fold), 1100px);
  padding: calc(var(--fr-top) + clamp(40px, 8vh, 104px) * var(--fr-d)) var(--gutter) max(var(--fold-safe, 96px), calc(clamp(64px, 10vh, 128px) * var(--fr-d)));
  background: var(--band);
  color: var(--on-band);
  text-align: center;
}
.fr-veil.has-photo { background: #0c0c0e; color: #fff; }
.fr-veil-media { position: absolute; inset: -10% 0; z-index: -3; overflow: hidden; }
.fr-veil-zoom { position: absolute; inset: 0; }
.fr-veil-mark { position: absolute; inset: 0; z-index: -2; font-size: clamp(14rem, 52vw, 46rem); }
.fr-veil-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
/* Never less than .56 black where words stand: white text keeps 4.5:1 over the whitest photo. */
.fr-veil.has-photo .fr-veil-shade {
  background:
    radial-gradient(ellipse 72% 64% at 50% 52%, rgb(0 0 0 / 30%), rgb(0 0 0 / 12%) 72%, rgb(0 0 0 / 0%)),
    linear-gradient(to bottom, rgb(0 0 0 / 22%), rgb(0 0 0 / 0%) 26%, rgb(0 0 0 / 0%) 74%, rgb(0 0 0 / 30%)),
    rgb(0 0 0 / 50%);
}
.fr-veil-in {
  --fr-col: min(var(--fr-w), 1120px);
  --fr-vw: 7.2vw;
  --fr-max: calc(8.4rem - max(0px, var(--fr-give)) * 0.35);
  --fr-lines: 3;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.8vw, 32px);
  width: min(1120px, 100%);
}
.fr-veil-title { text-wrap: balance; }
.fr-veil-words { justify-items: center; }
.fr-veil .fr-lead { max-width: 40rem; }
.fr-veil .fr-actions { justify-content: center; }
.fr-veil-eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.fr-veil-eyebrow::before,
.fr-veil-eyebrow::after { content: ""; width: clamp(20px, 4vw, 48px); height: 1px; background: currentColor; opacity: 0.6; }
.fr-veil.no-media :is(.fr-veil-eyebrow, .fr-para) { color: var(--muted-band); }
.fr-veil.no-media .fr-title,
.fr-veil.no-media .fr-title .ac { color: var(--on-band); }
.fr-veil.has-photo :is(.fr-title, .fr-veil-eyebrow, .fr-para) { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 0 28px rgb(0 0 0 / 35%); }
.fr-veil.has-photo .fr-title .ac,
.fr-veil.has-photo .fr-title .ac :is(.fx-w, .fx-wi, .fx-li) {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}
.fr-veil.has-photo .fr-title .ac { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.fr-veil.no-media .fr-title .ac :is(.fx-w, .fx-wi, .fx-li) { -webkit-text-fill-color: currentColor; }
.fr-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 6px;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.fr-veil.has-photo .fr-link { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 40%); }
.fr-veil.no-media .fr-link { color: var(--on-band); }
.fr-veil :is(.fr-link, .btn):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.fr-veil.has-photo .btn-accent:focus-visible { outline-color: #fff; }
@media (hover: hover) {
  .fr-link:hover { text-decoration-thickness: 2px; }
}
.fr-veil-cue { position: absolute; inset-inline: 0; bottom: clamp(18px, 3vh, 32px); display: flex; justify-content: center; pointer-events: none; }
.fr-veil-cue i { display: block; width: 1px; height: clamp(32px, 6vh, 56px); background: linear-gradient(currentColor, transparent); opacity: 0.7; transform-origin: 50% 0; }
@media (max-width: 640px) {
  .fr-veil-in { --fr-vw: 11vw; }
  .fr-veil-cue { display: none; }
}

/* ---- bigtype: the title set huge, a small photo beside it like a stamp, a thick rule ---- */
.fr-bigtype { padding: calc(var(--fr-top) + clamp(28px, 5vw, 72px) * var(--fr-d)) 0 max(var(--fold-safe, 96px), calc(clamp(48px, 7vw, 104px) * var(--fr-d))); }
.fr-big {
  --fr-vw: 10.6vw;
  --fr-min: 1.4rem;
  --fr-max: 12rem;
  --fr-lines: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  column-gap: var(--gap);
  row-gap: clamp(18px, 2.6vw, 34px);
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.fr-big > * { grid-column: 1 / -1; min-width: 0; }
.fr-big-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.fr-big-no {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.fr-big-no i { flex: none; width: clamp(28px, 5vw, 64px); height: 1px; background: currentColor; }
.fr-big-no span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fr-big-title { line-height: 0.94; letter-spacing: calc(var(--head-track) - 0.02em); }
.fr-big-stamp {
  justify-self: end;
  width: min(46%, 280px);
  margin: 0;
  padding: clamp(6px, 0.8vw, 10px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  box-shadow: 0 26px 54px -30px rgb(0 0 0 / 50%), 0 0 0 1px var(--line);
  rotate: 3deg;
}
.fr-big-stamp .fr-img { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); }
.fr-big-rule { display: block; height: clamp(3px, 0.45vw, 6px); background: var(--ink); transform-origin: 0 50%; }
.fr-big-rule:dir(rtl) { transform-origin: 100% 50%; }
.fr-big-words { gap: var(--fr-gap) var(--gap); }
@media (min-width: 900px) {
  .fr-big { --fr-col: var(--fr-w); }
  /* The title keeps nine columns of twelve; the stamp stands in the last three, never over it. */
  .fr-bigtype.has-photo .fr-big { --fr-col: calc(var(--fr-w) * 0.72); }
  .fr-bigtype.has-photo .fr-big-title { grid-column: 1 / span 9; grid-row: 2; }
  .fr-big-stamp { grid-column: 10 / -1; grid-row: 2; align-self: end; width: 100%; max-width: 300px; margin-block-end: 0.2em; }
  .fr-big-words { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .fr-big-words .fr-actions { justify-content: flex-end; justify-self: end; }
  .fr-bigtype.no-lead .fr-big-words { grid-template-columns: minmax(0, 1fr); }
  .fr-bigtype.no-lead .fr-big-words .fr-actions { justify-self: start; justify-content: flex-start; }
}
@media (max-width: 899px) {
  .fr-big { --fr-vw: 13vw; }
}
.dir-swiss .fr-big-stamp { rotate: none; border-radius: 0; box-shadow: none; outline: 1px solid var(--line); }
.dir-brutal .fr-big-stamp { border-radius: 0; box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--edge, var(--ink)); outline: var(--bw, 3px) solid var(--edge, var(--ink)); }
.dir-brutal .fr-big-rule { background: var(--accent); height: clamp(8px, 1vw, 14px); }
.dir-arcade .fr-big-stamp { border: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: 0 var(--lift, 6px) 0 var(--edge, var(--ink)); rotate: -4deg; }
.dir-editorial .fr-big-rule, .dir-gallery .fr-big-rule { height: 1px; box-shadow: 0 4px 0 var(--ink); }

/* ---- deck: the words beside a fanned stack of three photos ---- */
.fr-deck { padding: calc(var(--fr-top) + clamp(28px, 5vw, 64px) * var(--fr-d)) 0 max(var(--fold-safe, 96px), calc(clamp(48px, 7vw, 96px) * var(--fr-d))); }
.fr-deck-in {
  display: grid;
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.fr-deck-copy { display: grid; justify-items: start; gap: var(--fr-gap); }
.fr-deck-cards { position: relative; justify-self: center; width: min(100%, 580px); aspect-ratio: 1 / 0.96; }
.fr-card { position: absolute; z-index: 1; width: 60%; margin: 0; }
.fr-card-in {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: clamp(6px, 0.8vw, 10px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 60px -32px rgb(0 0 0 / 55%), 0 0 0 1px var(--line);
}
.fr-card-in > .fr-img { border-radius: var(--radius-sm); }
.fr-card--1 { z-index: 3; top: 6%; inset-inline-start: 20%; rotate: -2deg; }
.fr-card--2 { z-index: 2; top: 15%; inset-inline-start: 0; rotate: -10deg; }
.fr-card--3 { z-index: 1; top: 2%; inset-inline-start: 40%; rotate: 9deg; }
.fr-deck-cards--1 .fr-card--1 { top: 2%; inset-inline-start: 14%; width: 72%; rotate: -3deg; }
.fr-deck-cards--2 .fr-card--1 { inset-inline-start: 34%; rotate: 4deg; }
.fr-deck-cards--2 .fr-card--2 { inset-inline-start: 4%; rotate: -7deg; }
@media (min-width: 900px) {
  .fr-deck-in { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); min-height: calc(min(var(--fr-fold), 960px) - 140px); }
  .fr-deck-copy { --fr-col: calc(var(--fr-w) * 0.48); --fr-vw: 5.8vw; --fr-max: calc(6.6rem - max(0px, var(--fr-give)) * 0.35); --fr-lines: 4; }
}
@media (max-width: 899px) {
  .fr-deck-copy { --fr-vw: 10vw; }
  .fr-deck-cards { width: min(100%, 440px); }
}
/* swiss: the cards are squared up in a stepped stack; brutal and arcade: hard edges and shadows. */
.dir-swiss .fr-card { rotate: none; }
.dir-swiss .fr-card-in { border-radius: 0; box-shadow: none; outline: 1px solid var(--line); }
.dir-swiss .fr-card--1 { top: 18%; inset-inline-start: 36%; }
.dir-swiss .fr-card--2 { top: 0; inset-inline-start: 0; }
.dir-swiss .fr-card--3 { top: 9%; inset-inline-start: 18%; }
.dir-brutal .fr-card-in { border-radius: 0; box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--edge, var(--ink)); outline: var(--bw, 3px) solid var(--edge, var(--ink)); }
.dir-arcade .fr-card-in { border: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: 0 var(--lift, 6px) 0 var(--edge, var(--ink)); }

/* ---- strip: the title over a wide photo, a strip of promises or first pages over its foot ---- */
.fr-strip { padding: calc(var(--fr-top) + clamp(28px, 5vw, 72px) * var(--fr-d)) 0 max(var(--fold-safe, 96px), calc(clamp(44px, 6vw, 88px) * var(--fr-d))); }
.fr-strip-head {
  display: grid;
  gap: var(--fr-gap) var(--gap);
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.fr-strip-copy { display: grid; justify-items: start; gap: var(--fr-gap); }
.fr-strip-body { position: relative; width: min(var(--maxw), 100% - 2 * var(--gutter)); margin: calc(clamp(28px, 4vw, 52px) * var(--fr-d)) auto 0; }
.fr-strip-media { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--surface); }
.fr-strip-list {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  list-style: none;
  box-shadow: 0 28px 56px -36px rgb(0 0 0 / 45%);
}
.fr-strip.has-photo .fr-strip-list { margin: calc(-1 * clamp(28px, 6vw, 48px)) clamp(10px, 3.6vw, 48px) 0; }
.fr-strip-item { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: clamp(16px, 2vw, 26px); }
.fr-strip-item + .fr-strip-item { border-top: 1px solid var(--line); }
.fr-strip-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--btn-radius);
  background: var(--accent);
  color: var(--on-accent);
}
.fr-strip-text { min-width: 0; }
.fr-strip-name {
  display: block;
  font-family: var(--font-display);
  font-size: calc(1.08rem * var(--head-size, 1));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.2;
  text-transform: var(--head-case);
  overflow-wrap: break-word;
}
.fr-strip-note { display: block; margin-top: 6px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.fr-strip-list.is-links .fr-strip-item { padding: 0; }
.fr-strip-link { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 44px; padding: clamp(16px, 2vw, 26px); color: inherit; text-decoration: none; }
.fr-strip-no { flex: none; color: var(--accent-text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.fr-strip-link .icon { flex: none; margin-inline-start: auto; color: var(--accent-text); transition: translate 0.3s var(--ease); }
.fr-strip-link:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -4px; }
@media (hover: hover) {
  .fr-strip-link:hover .fr-strip-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
  .fr-strip-link:hover .icon { translate: 3px -3px; }
}
@media (min-width: 760px) {
  .fr-strip-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr-strip-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fr-strip-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fr-strip-item + .fr-strip-item { border-top: 0; border-inline-start: 1px solid var(--line); }
}
/* On a wide screen the photo is as tall as the rest of the first screen allows and the strip lies
   inside its foot, so both are seen at once. */
@media (min-width: 900px) {
  .fr-strip-head { --fr-col: calc(var(--fr-w) * 0.6); --fr-vw: 6.4vw; --fr-max: 7rem; --fr-lines: 3; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
  .fr-strip-media { aspect-ratio: auto; height: clamp(360px, 50vh, 600px); }
  .fr-strip.has-photo .fr-strip-list { position: absolute; inset: auto clamp(16px, 2.6vw, 36px) clamp(16px, 2.6vw, 36px); margin: 0; }
}
@media (max-width: 899px) {
  .fr-strip-head { --fr-vw: 11vw; }
}
.dir-brutal .fr-strip-list { border: var(--bw, 3px) solid var(--edge, var(--ink)); border-radius: 0; box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--edge, var(--ink)); }
.dir-brutal .fr-strip-media { border-radius: 0; }
.dir-arcade .fr-strip-list { border: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: 0 var(--lift, 6px) 0 var(--edge, var(--ink)); }
.dir-swiss .fr-strip-list { border-radius: 0; box-shadow: none; }
:is(.dir-aurora, .dir-cinematic) .fr-strip-list { background: color-mix(in srgb, var(--surface) 78%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }

/* ---- letterbox: the title in a row, under it a wide frame like a film still ---- */
.fr-letterbox { padding: calc(var(--fr-top) + clamp(24px, 4.4vw, 64px) * var(--fr-d)) 0 max(var(--fold-safe, 96px), calc(clamp(40px, 6vw, 88px) * var(--fr-d))); }
.fr-lb-head {
  display: grid;
  gap: var(--fr-gap) var(--gap);
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.fr-lb-copy { display: grid; justify-items: start; gap: var(--fr-gap); }
.fr-lb-screen { width: min(1600px, 100% - 2 * var(--gutter)); margin: calc(clamp(24px, 3.6vw, 48px) * var(--fr-d)) auto 0; }
.fr-lb-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.39 / 1;
  border-radius: var(--radius);
  background: #0c0c0e;
  color: #fff;
}
.fr-lb-pan { position: absolute; inset: -4%; }
.fr-lb-mark { position: absolute; inset: 0; color: #fff; }
/* The bars of a wide film above and below, and the dark it plays in. */
.fr-lb-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 62%), rgb(0 0 0 / 0%) 24%, rgb(0 0 0 / 0%) 68%, rgb(0 0 0 / 70%)),
    radial-gradient(ellipse 80% 90% at 50% 50%, rgb(0 0 0 / 0%) 60%, rgb(0 0 0 / 36%));
}
.fr-lb-frame .fr-scene { --ink: #f3f1ec; --s2: #f3f1ec; --s3: color-mix(in srgb, var(--accent) 36%, #ffffff); }
.fr-lb-hud {
  position: absolute;
  inset: clamp(12px, 2vw, 22px) clamp(14px, 2.2vw, 26px) auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.fr-lb-rec { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fr-lb-rec i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgb(255 255 255 / 20%); }
.fr-lb-time { flex: none; }
.fr-lb-run { position: absolute; inset: auto clamp(14px, 2.2vw, 26px) clamp(12px, 2vw, 20px); z-index: 3; height: 2px; background: rgb(255 255 255 / 28%); }
.fr-lb-run i { display: block; width: 100%; height: 100%; background: #fff; transform-origin: 0 50%; scale: 0.24 1; }
.fr-lb-run i:dir(rtl) { transform-origin: 100% 50%; }
@media (min-width: 900px) {
  .fr-lb-head { --fr-col: calc(var(--fr-w) * 0.56); --fr-vw: 5.8vw; --fr-max: 6.4rem; --fr-lines: 3; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end; }
}
@media (max-width: 899px) {
  .fr-lb-head { --fr-vw: 11vw; }
}
@media (max-width: 640px) {
  .fr-lb-screen { width: 100%; }
  .fr-lb-frame { aspect-ratio: 16 / 10; border-radius: 0; }
}
.dir-brutal .fr-lb-frame { border-radius: 0; outline: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--edge, var(--ink)); }
.dir-arcade .fr-lb-frame { border: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: 0 var(--lift, 6px) 0 var(--edge, var(--ink)); }

/* ==== The first screens of decision 123 ========================================================= */

/* A surface under words besides the page: a panel, a field, a tile or a picture. A container
   marked fr-tone takes the colours its first screen gives it: --fr-ink for the title, the eyebrow
   and the links, --fr-soft for the lead, --fr-ac for the accent of the title, --fr-shade for a
   shadow under words over a picture. Every text there keeps a pair checked for contrast, so the
   accent of a direction (an outline, a gradient, its colour) is set plain on such a surface. */
.fr-tone {
  --fr-ink: var(--ink);
  --fr-soft: var(--muted);
  --fr-ac: var(--accent-text);
  --edge: var(--fr-ink);
  --focus: var(--fr-ink);
  color: var(--fr-ink);
}
.fr-hero .fr-tone :is(.fr-title, .fr-eyebrow, .fr-link) { color: var(--fr-ink); }
.fr-hero .fr-tone .fr-para { color: var(--fr-soft); }
.fr-hero .fr-tone :is(.fr-title, .fr-eyebrow, .fr-para, .fr-link) { text-shadow: var(--fr-shade, none); }
.fr-hero .fr-tone .fr-eyebrow { border-color: color-mix(in srgb, var(--fr-ink) 36%, transparent); background: none; }
.fr-hero .fr-tone .fr-title .ac,
.fr-hero .fr-tone .fr-title .ac :is(.fx-w, .fx-wi, .fx-li) {
  color: var(--fr-ac);
  background: none;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}
.fr-hero .fr-tone .fr-title .ac { text-decoration: var(--fr-ac-line, none); text-underline-offset: 0.12em; }
.fr-hero .fr-tone :is(.fr-link, .btn):focus-visible { outline: 2px solid var(--fr-ink); outline-offset: 4px; }
/* The band pair. Plain selector lists here and below, not :is(): each keeps its own weight, so a
   direction's own field (.dir-swiss .fr-sp-field) still wins. */
.fr-cp-panel,
.fr-sp-field,
.fr-dp--0 .fr-dp-head,
.fr-wordlist.no-media .fr-wl-in,
.fr-corners.no-media .fr-co-in,
.fr-swatch.no-media .fr-sw-in {
  --fr-ink: var(--on-band);
  --fr-soft: var(--muted-band);
  --fr-ac: var(--on-band);
  --fr-ac-line: underline 0.06em var(--accent);
}
/* White over a picture, on a veil of at least .56 black: 4.5:1 over the whitest picture. The
   accent keeps its colour as an underline, which no picture can take away. */
.fr-diptych:not(.fr-dp--0) .fr-dp-head,
.fr-wordlist.has-photo .fr-wl-in,
.fr-corners.has-photo .fr-co-in,
.fr-swatch.has-photo .fr-sw-in {
  --fr-ink: #fff;
  --fr-soft: #fff;
  --fr-ac: #fff;
  --fr-ac-line: underline 0.06em var(--accent);
  --fr-shade: 0 1px 2px rgb(0 0 0 / 40%), 0 0 28px rgb(0 0 0 / 35%);
}
/* The accent pair: the main button turns around to show on it (with the weight of two classes, so
   the buttons of the design, outline or underline, still win: premium/tokens.css). */
.fr-ti-accent,
.dir-arcade .fr-sp-field,
.dir-brutal .fr-sp-field {
  --fr-ink: var(--on-accent);
  --fr-soft: var(--on-accent);
  --fr-ac: var(--on-accent);
  --fr-ac-line: underline 0.06em currentColor;
}
:where(.dir-arcade, .dir-brutal) .fr-sp-field .fr-btn { border-color: var(--on-accent); background: var(--on-accent); color: var(--accent); }
.fr-hero:is(.fr-wordlist, .fr-corners, .fr-swatch).has-photo .btn-accent:focus-visible { outline-color: #fff; }
/* A picture that fills its box, and a box that clips what moves inside it. */
:where(.fr-wb-strip, .fr-cp-media, .fr-dp-cell, .fr-sp-media, .fr-tc-media, .fr-wl-media, .fr-co-media, .fr-sw-media, .fr-ti-pic, .fr-is-media) > .fr-img,
:where(.fr-wb-pan, .fr-tc-pan, .fr-co-zoom, .fr-sw-zoom) > .fr-img { position: absolute; inset: 0; }
:where(.fr-wb-copy, .fr-cp-panel, .fr-dp-in, .fr-dp-head, .fr-sp-copy, .fr-tr-head, .fr-tc-card, .fr-is-in, .fr-is-line, .fr-wl-in, .fr-wl-corner, .fr-co-in, .fr-ti-in, .fr-ti-accent, .fr-st-in, .fr-st-head, .fr-sw-in, .fr-sw-mid) { grid-template-columns: minmax(0, 1fr); }
/* The name of the brand as a wordmark, fitted to the width it has (--wm-w): on one line, or on
   two when one would leave it small (a long name on a phone; --wm-two is the largest size that
   takes two lines, 0 for a mark that keeps to one), never past its longest word. Capitals stand
   close; lower case keeps a full line, so the tails of a first line (p, g, y) never touch the
   capitals and accents of a second (Ó, Ś). */
.fr-wordmark {
  --wm-w: var(--fr-w);
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, max(calc(var(--wm-w) / (var(--wm-chars) * var(--fr-gm))), min(calc(var(--wm-w) * 2 / (var(--wm-chars) * var(--fr-gm) * 1.1)), calc(var(--wm-w) * 0.94 / (var(--wm-len) * var(--fr-gm))), var(--wm-two, 2.6rem))), var(--wm-max, 12rem));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: calc(var(--head-track) - 0.01em);
  line-height: 1;
  text-transform: var(--head-case);
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* ---- wordband: the name across the whole width, the words in a row, a wide strip of the photo ---- */
.fr-wordband {
  display: grid;
  grid-template-rows: auto auto minmax(clamp(150px, 24vh, 260px), 1fr);
  row-gap: calc(clamp(20px, 2.8vw, 40px) * var(--fr-d));
  min-height: min(var(--fr-fold), 1100px);
  padding-block-start: calc(var(--fr-top) + clamp(14px, 2.4vw, 32px) * var(--fr-d));
}
.fr-wordband.no-media { grid-template-rows: auto auto; min-height: 0; padding-block-end: max(var(--fold-safe, 96px), calc(clamp(40px, 6vw, 88px) * var(--fr-d))); }
.fr-wb-band { padding-inline: var(--gutter); padding-block-end: calc(clamp(12px, 1.6vw, 22px) * var(--fr-d)); border-block-end: 1px solid var(--line); }
.fr-wb-mark { --wm-w: calc(100vw - 2 * var(--gutter)); --wm-max: min(24vh, 26vw); }
.fr-wb-row {
  display: grid;
  gap: var(--fr-gap) var(--gap);
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.fr-wb-copy { display: grid; justify-items: start; gap: var(--fr-gap); }
.fr-wb-strip { position: relative; overflow: hidden; background: var(--surface); }
.fr-wb-pan { position: absolute; inset: -10% 0; }
@media (min-width: 900px) {
  .fr-wb-row { --fr-col: calc(var(--fr-w) * 0.44); --fr-vw: 4.6vw; --fr-max: 5.2rem; --fr-lines: 3; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); align-items: end; }
}
/* Wide enough for the three in a row: the title, the lead, the buttons one over the other. */
@media (min-width: 1200px) {
  .fr-wb-words { grid-template-columns: minmax(18rem, 1fr) minmax(0, max-content); align-items: end; column-gap: var(--gap); }
  .fr-wb-words .fr-actions { flex-direction: column; align-items: stretch; }
  .fr-wordband.no-lead .fr-wb-words { grid-template-columns: minmax(0, 1fr); justify-items: end; }
}
@media (max-width: 899px) {
  .fr-wb-row { --fr-vw: 10vw; }
}
.dir-brutal .fr-wb-band { border-block: var(--bw2, 4px) solid var(--edge, var(--ink)); background: var(--accent); color: var(--on-accent); padding-block: calc(clamp(10px, 1.4vw, 18px) * var(--fr-d)); }
.dir-arcade .fr-wb-mark { color: var(--accent-text); text-shadow: 0 var(--lift, 6px) 0 var(--edge, var(--ink)); }
.dir-arcade .fr-wb-band { border: 0; }
.dir-swiss .fr-wb-band, .dir-gallery .fr-wb-band { border-color: var(--ink); }
.dir-editorial .fr-wb-band { border-block-end: 1px solid var(--ink); box-shadow: 0 4px 0 -3px var(--ink); }
.dir-organic .fr-wb-band { border: 0; }
.dir-organic .fr-wb-strip { margin-inline: var(--gutter); border-radius: var(--og-r, 24px) var(--og-r, 24px) 0 0; }
.dir-arcade .fr-wb-strip { border-block-start: var(--bw, 3px) solid var(--edge, var(--ink)); }
.dir-brutal .fr-wb-strip { border-block-start: var(--bw2, 4px) solid var(--edge, var(--ink)); }
/* aurora: the name in a gradient from the accent to the ink, set on every split line too (as the
   accent of its titles is). */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .dir-aurora .fr-wb-mark,
  .dir-aurora .fr-wb-mark :is(.fx-line, .fx-li) {
    background-image: linear-gradient(100deg, var(--accent-text) 0%, var(--ink) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* ---- colorpanel: the words on a panel of the band colour, a photo of full height beside it ---- */
.fr-colorpanel { display: grid; }
.fr-cp-panel {
  display: grid;
  align-content: end;
  justify-items: start;
  gap: var(--fr-gap);
  padding: calc(var(--fr-top) + clamp(28px, 6vw, 48px) * var(--fr-d)) var(--gutter) calc(clamp(32px, 7vw, 48px) * var(--fr-d));
  background: var(--band);
}
.fr-cp-media { position: relative; overflow: hidden; min-height: clamp(260px, 62vw, 560px); background: var(--surface); color: var(--ink); }
@media (min-width: 900px) {
  .fr-colorpanel { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); min-height: min(var(--fr-fold), 1040px); }
  .fr-cp-panel {
    --fr-col: calc(var(--fr-w) * 0.36);
    --fr-vw: 4.8vw;
    /* Four lines of the title and the words under it never run past the first screen. */
    --fr-max: min(5.8rem, max(2rem, calc((min(var(--fr-fold), 1040px) - var(--fr-top) - 440px - var(--fr-give)) / 4.2 / var(--head-scale, 1))));
    --fr-lines: 4;
    padding-block: calc(var(--fr-top) + clamp(40px, 8vh, 104px) * var(--fr-d)) max(var(--fold-safe, 96px), calc(clamp(56px, 10vh, 112px) * var(--fr-d)));
    padding-inline: var(--fr-edge) clamp(28px, 3.8vw, 64px);
  }
  .fr-cp-media { min-height: 100%; }
}
@media (max-width: 899px) {
  .fr-cp-panel { --fr-vw: 10vw; }
}
.dir-organic .fr-cp-media { border-start-start-radius: 999px 40%; }
.dir-arcade .fr-cp-media { border-inline-start: var(--bw, 3px) solid var(--edge, var(--ink)); }
.dir-brutal .fr-cp-media { border-inline-start: var(--bw2, 4px) solid var(--ink); }
.dir-brutal .fr-cp-panel { background-image: radial-gradient(circle, color-mix(in srgb, var(--on-band) 16%, transparent) 1.3px, transparent 1.8px); background-size: 14px 14px; }
@media (max-width: 899px) {
  .dir-organic .fr-cp-media { margin-inline-start: var(--gutter); border-start-start-radius: calc(var(--radius) * 2); }
  .dir-arcade .fr-cp-media, .dir-brutal .fr-cp-media { border-inline-start: 0; border-block-start: var(--bw2, 4px) solid var(--ink); }
}
:is(.dir-cinematic, .dir-aurora) .fr-cp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, var(--band), rgb(0 0 0 / 0%) 22%);
}
:is(.dir-cinematic, .dir-aurora) .fr-cp-media:dir(rtl)::after { background: linear-gradient(to left, var(--band), rgb(0 0 0 / 0%) 22%); }

/* ---- diptych: two pictures side by side, a big title across both, the words under them ---- */
.fr-diptych { padding-block: calc(var(--fr-top) + clamp(18px, 3vw, 44px) * var(--fr-d)) calc(clamp(32px, 5vw, 72px) * var(--fr-d)); }
.fr-dp-in {
  display: grid;
  justify-items: center;
  gap: calc(clamp(16px, 2.2vw, 30px) * var(--fr-d));
  width: min(1600px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  text-align: center;
}
.fr-dp-stage { display: grid; justify-self: stretch; overflow: hidden; border-radius: var(--radius); }
.fr-dp-cells, .fr-dp-head { grid-area: 1 / 1; }
.fr-dp-cells {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(4px, 0.6vw, 10px);
  min-height: calc((100vw - 2 * var(--gutter)) * 0.74);
}
.fr-dp--1 .fr-dp-cells { grid-template-columns: minmax(0, 1fr); }
.fr-dp-cell { position: relative; overflow: hidden; margin: 0; background: var(--band); }
/* The scrim lies under the title across both pictures and the gap between them: .56 black where
   the words stand (they keep out of its fading edges), and a light veil over the rest. */
.fr-dp-head {
  --fr-col: calc(min(1600px, 100vw - 2 * var(--gutter)) - 2 * clamp(16px, 4vw, 72px));
  --fr-vw: 7.6vw;
  --fr-max: 8.4rem;
  --fr-lines: 3;
  z-index: 1;
  display: grid;
  align-self: center;
  justify-items: center;
  padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 72px);
}
.fr-diptych:not(.fr-dp--0) .fr-dp-head { background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 56%) clamp(32px, 4vw, 52px), rgb(0 0 0 / 56%) calc(100% - clamp(32px, 4vw, 52px)), rgb(0 0 0 / 0%)); }
.fr-diptych:not(.fr-dp--0) .fr-dp-cell::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 14%); pointer-events: none; }
.fr-dp-title { text-wrap: balance; }
.fr-dp-words { justify-items: center; }
.fr-dp-words .fr-lead { max-width: 42rem; }
.fr-dp-words .fr-actions { justify-content: center; }
/* A wide screen: the pictures as tall as the screen leaves them, and a title of three lines never
   taller than they are. */
@media (min-width: 900px) {
  .fr-dp-stage { --dp-h: clamp(260px, calc(min(var(--fr-fold), 1060px) - var(--fr-top) - 380px - var(--fr-give)), 640px); }
  .fr-dp-cells { min-height: var(--dp-h); }
  .fr-dp-head { --fr-max: min(8.4rem, max(2rem, calc((var(--dp-h) - 2 * clamp(40px, 5vw, 64px)) / 3.1 / var(--head-scale, 1)))); }
}
@media (max-width: 640px) {
  .fr-dp-head { --fr-vw: 11vw; }
}
.dir-swiss .fr-dp-stage, .dir-brutal .fr-dp-stage { border-radius: 0; }
.dir-brutal .fr-dp-stage { outline: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--edge, var(--ink)); }
.dir-arcade .fr-dp-stage { border: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: 0 var(--lift, 6px) 0 var(--edge, var(--ink)); }
.dir-organic .fr-dp-stage { border-radius: var(--og-r, 24px); }
.dir-organic .fr-dp-cell:first-child { border-start-start-radius: 999px 40%; }
.dir-organic .fr-dp-cell:last-child { border-start-end-radius: 999px 40%; }

/* ---- specimen: one subject in the middle of a plain field, a small title at its foot ---- */
.fr-specimen { padding: 0; }
.fr-sp-field {
  --fr-s1: var(--accent);
  position: relative;
  display: grid;
  gap: calc(clamp(18px, 2.4vw, 28px) * var(--fr-d));
  min-height: min(var(--fr-fold), 1060px);
  padding: calc(var(--fr-top) + clamp(18px, 3.4vh, 40px) * var(--fr-d)) var(--gutter) max(var(--fold-safe, 96px), calc(clamp(28px, 5vh, 56px) * var(--fr-d)));
  background-color: var(--band);
}
.fr-sp-label {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-align: end;
  text-transform: uppercase;
}
.fr-sp-label i { flex: none; width: clamp(24px, 4vw, 48px); height: 1px; background: currentColor; opacity: 0.6; }
.fr-sp-no { flex: none; font-variant-numeric: tabular-nums; }
.fr-sp-name { min-width: 0; overflow-wrap: anywhere; }
.fr-sp-stage { position: relative; justify-self: center; width: min(100%, calc(var(--sp-h) * 0.8)); height: var(--sp-h); --sp-h: clamp(200px, calc(38vh - var(--fr-give) / 2), 420px); }
.fr-sp-media { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 48px 90px -54px rgb(0 0 0 / 75%); }
.fr-sp-mark { position: absolute; inset: 0; font-size: clamp(8rem, 30vw, 20rem); }
.fr-sp-stage .fr-scene { inset: -6% -10%; --ink: var(--fr-ink); --s1: var(--fr-s1); --s2: var(--fr-ink); --s3: color-mix(in srgb, var(--fr-s1) 34%, var(--fr-ink)); }
.fr-specimen:has(.stage3d.is-live:not([data-stage3d="gradient"])) .fr-sp-media { opacity: 0; }
/* The words stay over the scene, which may reach past its column. A scene that fills its whole
   box with colour (the gradient) is a light behind the subject instead, faded out at its edges. */
.fr-sp-label, .fr-sp-copy { position: relative; z-index: 2; }
.fr-sp-media { z-index: 1; }
.fr-sp-stage .fr-scene[data-stage3d="gradient"] {
  z-index: 0;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.fr-sp-copy { display: grid; justify-items: start; gap: calc(var(--fr-gap) * 0.8); --fr-vw: 8vw; --fr-max: 3.4rem; --fr-lines: 4; }
.fr-sp-copy .fr-lead { max-width: 30rem; }
.fr-sp-copy .fr-para { font-size: clamp(0.98rem, 1.1vw, 1.08rem); }
@media (min-width: 760px) {
  .fr-sp-stage { --sp-h: clamp(240px, calc(48vh - var(--fr-give) / 2), 560px); }
}
/* A wide screen, or a landscape one of a tablet: the subject stands in the middle column over the
   whole height, the label in the top corner and the words in the bottom corner beside it. */
@media (min-width: 1200px), (min-width: 960px) and (min-aspect-ratio: 5/4) {
  .fr-sp-field {
    --sp-h: clamp(300px, calc(66vh - var(--fr-give)), 720px);
    grid-template-columns: minmax(0, 1fr) calc(var(--sp-h) * 0.8) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    column-gap: clamp(32px, 3.6vw, 64px);
    align-items: start;
  }
  .fr-sp-label { grid-column: 3; grid-row: 1; }
  .fr-sp-stage { grid-column: 2; grid-row: 1 / -1; align-self: center; width: 100%; --sp-h: inherit; }
  .fr-sp-stage .fr-scene { inset: -8% -36%; }
  .fr-sp-copy { --fr-col: calc((var(--fr-w) - var(--sp-h) * 0.8) / 2 - 3.6vw); --fr-vw: 3.1vw; grid-column: 1; grid-row: 3; align-self: end; }
}
/* swiss: a lit table with hairlines through the middle; arcade and brutal: the accent colour. */
.dir-swiss .fr-sp-field {
  --fr-ink: var(--ink);
  --fr-soft: var(--muted);
  --fr-ac: var(--accent-text);
  --fr-ac-line: none;
  background: linear-gradient(var(--sw-rule, var(--line)), var(--sw-rule, var(--line))) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--sw-rule, var(--line)), var(--sw-rule, var(--line))) 0 50% / 100% 1px no-repeat, var(--surface);
}
.dir-swiss .fr-sp-media { border-radius: 0; box-shadow: none; outline: 1px solid var(--line); }
:is(.dir-arcade, .dir-brutal) .fr-sp-field { --fr-s1: var(--on-accent); background-color: var(--accent); }
.dir-brutal .fr-sp-field { background-image: radial-gradient(circle, color-mix(in srgb, var(--on-accent) 18%, transparent) 1.3px, transparent 1.8px); background-size: 16px 16px; }
.dir-brutal .fr-sp-media { border-radius: 0; outline: var(--bw, 3px) solid var(--on-accent); box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--on-accent); }
.dir-arcade .fr-sp-media { border: var(--bw, 3px) solid var(--on-accent); border-radius: var(--r-card, 24px); box-shadow: 0 var(--lift, 6px) 0 var(--on-accent); rotate: -2deg; }
.dir-organic .fr-sp-media { border-radius: 999px 999px var(--og-r, 24px) var(--og-r, 24px); }
.dir-gallery .fr-sp-media, .dir-editorial .fr-sp-media { border-radius: 0; box-shadow: none; }
:is(.dir-cinematic, .dir-aurora) .fr-sp-field { background-image: radial-gradient(ellipse 46% 52% at 50% 52%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }

/* ---- triptych: a huge title, three tall crops in a row, a thick rule and the words on it ---- */
.fr-triptych {
  --tr-gap: clamp(8px, 1.4vw, 22px);
  --tr-n: 3;
  display: grid;
  grid-template-rows: auto minmax(clamp(150px, 24vh, 260px), 1fr) auto auto;
  gap: calc(clamp(16px, 2.2vw, 30px) * var(--fr-d)) var(--gap);
  min-height: min(var(--fr-fold), 1080px);
  padding: calc(var(--fr-top) + clamp(14px, 2.6vw, 36px) * var(--fr-d)) var(--fr-edge) max(var(--fold-safe, 96px), calc(clamp(40px, 6vw, 88px) * var(--fr-d)));
}
.fr-tr--2 { --tr-n: 2; }
.fr-tr--1 { --tr-n: 1; }
.fr-tr--0 { grid-template-rows: auto auto auto; min-height: 0; }
.fr-triptych > * { min-width: 0; }
/* The huge title takes at most two lines and leaves the crops, the rule and the words their room. */
.fr-tr-head { display: grid; justify-items: start; gap: var(--fr-gap); --fr-vw: 9.6vw; --fr-min: 1.6rem; --fr-max: min(9rem, max(2.4rem, calc((min(var(--fr-fold), 1080px) - var(--fr-top) - 500px - var(--fr-give)) / 2.1 / var(--head-scale, 1)))); --fr-lines: 2; }
.fr-tr-title { line-height: 0.92; letter-spacing: calc(var(--head-track) - 0.02em); }
.fr-tr-row { display: flex; justify-content: space-between; gap: var(--tr-gap); }
.fr-tr-panel { position: relative; flex: 1 1 0; overflow: hidden; aspect-ratio: 3 / 4; margin: 0; border-radius: var(--radius); background: var(--surface); }
.fr-tr-panel > .fr-img { position: absolute; inset: 0; }
.fr-tr--1 .fr-tr-panel { flex-grow: 0; flex-basis: 40%; }
.fr-tr-rule { display: block; height: clamp(5px, 0.7vw, 10px); background: var(--ink); transform-origin: 0 50%; }
.fr-tr-rule:dir(rtl) { transform-origin: 100% 50%; }
.fr-tr-words { gap: var(--fr-gap) var(--gap); }
/* Wide enough for three tall crops: they are as tall as the first screen leaves them (a size
   container gives them its height) and never wider than their share of the row. */
@media (min-width: 641px) {
  .fr-tr-row { container-type: size; }
  /* A browser without container units keeps the crops as tall as the row. */
  .fr-tr-panel { flex: none; height: 100%; height: min(100cqh, calc((100cqw - (var(--tr-n) - 1) * var(--tr-gap)) / var(--tr-n) * 4 / 3)); }
}
@media (min-width: 900px) {
  .fr-tr-words { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .fr-tr-words .fr-actions { justify-content: flex-end; justify-self: end; }
  .fr-triptych.no-lead .fr-tr-words { grid-template-columns: minmax(0, 1fr); }
  .fr-triptych.no-lead .fr-tr-words .fr-actions { justify-self: start; justify-content: flex-start; }
}
/* A wide screen, or a landscape one of a tablet: the crops stand on the rule like panels on a
   shelf, the words beside them. */
@media (min-width: 1200px), (min-width: 960px) and (min-aspect-ratio: 5/4) {
  .fr-triptych:not(.fr-tr--0) { grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); grid-template-rows: auto minmax(clamp(220px, 34vh, 400px), 1fr) auto; }
  .fr-triptych:not(.fr-tr--0) .fr-tr-head, .fr-triptych:not(.fr-tr--0) .fr-tr-rule { grid-column: 1 / -1; }
  .fr-triptych:not(.fr-tr--0) .fr-tr-words { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr); align-self: end; }
  .fr-triptych:not(.fr-tr--0) .fr-tr-words .fr-actions { justify-self: start; justify-content: flex-start; }
  .fr-triptych:not(.fr-tr--0) .fr-tr-row { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .fr-triptych:not(.fr-tr--0) .fr-tr-rule { grid-row: 3; }
}
@media (max-width: 640px) {
  .fr-triptych { grid-template-rows: auto auto auto auto; min-height: 0; }
  .fr-tr-head { --fr-vw: 13vw; }
}
.dir-swiss .fr-tr-panel { border-radius: 0; outline: 1px solid var(--line); }
.dir-brutal .fr-tr-panel { border-radius: 0; outline: var(--bw, 3px) solid var(--edge, var(--ink)); outline-offset: calc(-1 * var(--bw, 3px)); }
.dir-brutal .fr-tr-rule { height: clamp(10px, 1.2vw, 16px); background: var(--accent); box-shadow: 0 var(--bw, 3px) 0 var(--edge, var(--ink)), 0 calc(-1 * var(--bw, 3px)) 0 var(--edge, var(--ink)); }
.dir-arcade .fr-tr-panel { border: var(--bw, 3px) solid var(--edge, var(--ink)); border-radius: var(--r-card, 24px); }
.dir-arcade .fr-tr-panel--1 { rotate: -2deg; }
.dir-arcade .fr-tr-panel--3 { rotate: 2deg; }
.dir-arcade .fr-tr-rule { border-radius: 999px; background: var(--accent); }
.dir-organic .fr-tr-panel { border-radius: 999px 999px var(--og-r, 24px) var(--og-r, 24px); }
.dir-organic .fr-tr-rule { height: 3px; border-radius: 999px; }
:is(.dir-editorial, .dir-gallery) .fr-tr-rule { height: 1px; box-shadow: 0 4px 0 var(--ink); }
:is(.dir-editorial, .dir-gallery) .fr-tr-panel { border-radius: 0; }

/* ---- textcard: the photo over the whole screen, a solid card holding the words ---- */
.fr-textcard {
  display: grid;
  align-items: center;
  min-height: min(var(--fr-fold), 1060px);
  overflow: clip;
  padding: calc(var(--fr-top) + clamp(28px, 6vh, 80px) * var(--fr-d)) var(--fr-edge) max(var(--fold-safe, 96px), calc(clamp(40px, 8vh, 104px) * var(--fr-d)));
  background: var(--band);
}
.fr-tc-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--band); }
.fr-tc-pan { position: absolute; inset: -9% 0; }
.fr-tc-card {
  --fr-col: calc(min(34rem, 100vw - 2 * var(--gutter)) - 2 * clamp(24px, 3.2vw, 52px));
  --fr-vw: 4.6vw;
  /* The card keeps to the first screen: four lines of the title never take more than it has. */
  --fr-max: min(4.8rem, max(2rem, calc((min(var(--fr-fold), 1060px) - var(--fr-top) - 430px - var(--fr-give)) / 4.2 / var(--head-scale, 1))));
  --fr-lines: 4;
  display: grid;
  justify-items: start;
  gap: var(--fr-gap);
  box-sizing: border-box;
  width: min(34rem, 100%);
  padding: clamp(24px, 3.2vw, 52px);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 50px 90px -50px rgb(0 0 0 / 70%);
}
/* On a phone the card is docked at the foot of the screen, the photo above it. */
@media (max-width: 759px) {
  .fr-textcard { align-items: end; padding: calc(var(--fr-top) + max(14vh, 36vh - var(--fr-give))) 0 0; }
  .fr-tc-card {
    --fr-col: calc(100vw - 2 * var(--gutter));
    --fr-vw: 10vw;
    width: 100%;
    padding: clamp(24px, 6vw, 32px) var(--gutter) max(var(--fold-safe, 80px), 28px);
    border-radius: calc(var(--radius) * 1.5) calc(var(--radius) * 1.5) 0 0;
    box-shadow: 0 -24px 48px -30px rgb(0 0 0 / 55%);
  }
}
.dir-swiss .fr-tc-card { border-radius: 0; box-shadow: none; outline: 1px solid var(--line); }
.dir-brutal .fr-tc-card { border: var(--bw, 3px) solid var(--edge, var(--ink)); border-radius: 0; box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--edge, var(--ink)); }
.dir-arcade .fr-tc-card { border: var(--bw, 3px) solid var(--edge, var(--ink)); border-radius: var(--r-card, 24px); box-shadow: 0 var(--lift, 6px) 0 var(--edge, var(--ink)); }
.dir-organic .fr-tc-card { border-radius: var(--og-r, 24px); }
:is(.dir-editorial, .dir-gallery) .fr-tc-card { border-radius: 0; }
.dir-editorial .fr-tc-card { box-shadow: inset 0 0 0 1px var(--line), 0 50px 90px -50px rgb(0 0 0 / 70%); }
@media (max-width: 759px) {
  :is(.dir-brutal, .dir-arcade) .fr-tc-card { border-inline: 0; border-block-end: 0; box-shadow: none; }
  .dir-arcade .fr-tc-card { border-radius: var(--r-card, 24px) var(--r-card, 24px) 0 0; }
  .dir-organic .fr-tc-card { border-radius: var(--og-r, 24px) var(--og-r, 24px) 0 0; }
}

/* ---- issue: a magazine cover, the name as a masthead, a tall photo with the cover line ---- */
.fr-issue { padding-block: calc(var(--fr-top) + clamp(10px, 2vw, 28px) * var(--fr-d)) max(var(--fold-safe, 96px), calc(clamp(28px, 4vw, 64px) * var(--fr-d))); }
.fr-is-in {
  display: grid;
  gap: calc(clamp(10px, 1.6vw, 22px) * var(--fr-d));
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.fr-is-mast { padding-block: clamp(6px, 0.8vw, 12px); border-block: 1px solid var(--ink); box-shadow: 0 -4px 0 -3px var(--ink), 0 4px 0 -3px var(--ink); }
.fr-is-name { --wm-max: min(15vh, 13vw); --wm-two: 0px; text-align: center; }
.fr-is-date {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-align: center;
  font-variant-caps: all-small-caps;
  font-variant-numeric: tabular-nums;
}
.fr-is-kick { min-width: 0; overflow-wrap: anywhere; }
.fr-is-cover { --is-h: clamp(220px, calc(40vh - var(--fr-give) / 2), 460px); display: grid; justify-items: center; gap: calc(clamp(16px, 2vw, 28px) * var(--fr-d)); }
.fr-is-media { position: relative; overflow: hidden; width: min(100%, calc(var(--is-h) * 0.78)); height: var(--is-h); margin: 0; background: var(--surface); box-shadow: 0 34px 60px -40px rgb(0 0 0 / 60%); }
.fr-is-line { --fr-vw: 9vw; --fr-max: 4.4rem; --fr-lines: 3; display: grid; justify-items: center; text-align: center; }
.fr-is-title { text-wrap: balance; }
.fr-is-words { justify-items: center; text-align: center; }
.fr-is-words .fr-lead { max-width: 34rem; }
.fr-is-words .fr-actions { justify-content: center; }
/* A narrow screen (or an upright tablet): the title is the cover line over the foot of the picture,
   white on a scrim of at least .56 black where it stands. */
@media (max-width: 959px), (max-width: 1099px) and (max-aspect-ratio: 1249/1000) {
  .fr-issue.has-photo .fr-is-line,
  .fr-issue.has-photo .fr-is-media { grid-area: 1 / 1; }
  .fr-issue.has-photo .fr-is-line {
    --fr-col: calc(min(100vw - 2 * var(--gutter), var(--is-h) * 0.78) - 40px);
    z-index: 1;
    align-self: end;
    box-sizing: border-box;
    width: min(100%, calc(var(--is-h) * 0.78));
    padding: clamp(44px, 9vh, 72px) 20px 20px;
    background: linear-gradient(to top, rgb(0 0 0 / 72%), rgb(0 0 0 / 58%) calc(100% - clamp(36px, 7vh, 60px)), rgb(0 0 0 / 0%));
    color: #fff;
  }
  .fr-issue.has-photo .fr-is-line .fr-title { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 40%); }
  .fr-issue.has-photo .fr-is-line .fr-title .ac,
  .fr-issue.has-photo .fr-is-line .fr-title .ac :is(.fx-w, .fx-wi, .fx-li) { color: #fff; background: none; -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; }
  .fr-issue.has-photo .fr-is-line .fr-title .ac { text-decoration: underline 0.06em var(--accent); text-underline-offset: 0.12em; }
}
@media (min-width: 760px) and (max-width: 959px), (min-width: 760px) and (max-width: 1099px) and (max-aspect-ratio: 1249/1000) {
  .fr-is-cover { --is-h: clamp(260px, calc(44vh - var(--fr-give) / 2), 600px); }
}
/* A wide screen, or a landscape one of a tablet: the cover in the middle, the title beside it on
   the left, set to its edge, the lead and the buttons on the right; the cover is as tall as the
   screen leaves it. */
@media (min-width: 1100px), (min-width: 960px) and (min-aspect-ratio: 5/4) {
  .fr-is-cover {
    --is-h: clamp(300px, calc(min(var(--fr-fold), 1080px) - var(--fr-top) - min(15vh, 13vw) - 210px - var(--fr-give)), 760px);
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(28px, 3.4vw, 64px);
  }
  .fr-is-line { --fr-col: calc((var(--fr-w) - var(--is-h) * 0.78) / 2 - 3.4vw); --fr-vw: 4.4vw; --fr-max: 5.2rem; --fr-lines: 4; justify-items: end; text-align: end; grid-column: 1; grid-row: 1; padding-block-end: 0.2em; }
  .fr-is-media { grid-column: 2; grid-row: 1; width: calc(var(--is-h) * 0.78); }
  .fr-is-words { grid-column: 3; grid-row: 1; justify-items: start; text-align: start; }
  .fr-is-words .fr-actions { justify-content: flex-start; }
  .fr-issue.no-media .fr-is-cover { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fr-issue.no-media .fr-is-words { grid-column: 2; }
}
.dir-swiss .fr-is-media, .dir-brutal .fr-is-media { box-shadow: none; }
.dir-brutal .fr-is-media { outline: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--edge, var(--ink)); }
.dir-brutal .fr-is-mast { border-width: var(--bw2, 4px); box-shadow: none; background: var(--accent); color: var(--on-accent); padding-inline: 8px; }
.dir-arcade .fr-is-media { border: var(--bw, 3px) solid var(--edge, var(--ink)); border-radius: var(--r-card, 24px); rotate: 1.5deg; }
.dir-arcade .fr-is-name { color: var(--accent-text); }
.dir-organic .fr-is-media { border-radius: 999px 999px var(--og-r, 24px) var(--og-r, 24px); }
.dir-organic .fr-is-mast { border: 0; box-shadow: none; }

/* ---- wordlist: the names of the site stacked huge over the photo, the title in a corner ---- */
.fr-wordlist.has-words {
  display: grid;
  min-height: min(var(--fr-fold), 1100px);
  overflow: clip;
  padding: calc(var(--fr-top) + clamp(24px, 5vh, 64px) * var(--fr-d)) var(--gutter) max(var(--fold-safe, 96px), calc(clamp(32px, 6vh, 80px) * var(--fr-d)));
  background: var(--band);
}
.fr-wordlist.has-words.has-photo { background: #0c0c0e; }
.fr-wl-media { position: absolute; inset: -8% 0; z-index: -2; }
.fr-wl-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fr-wordlist.has-photo .fr-wl-shade { background: linear-gradient(100deg, rgb(0 0 0 / 22%), rgb(0 0 0 / 0%) 55%), rgb(0 0 0 / 58%); }
.fr-wl-in {
  --wl-col: var(--fr-w);
  display: grid;
  align-content: space-between;
  gap: calc(clamp(24px, 4vh, 48px) * var(--fr-d)) var(--gap);
  width: min(var(--maxw), 100%);
  margin-inline: auto;
}
.fr-wl-list {
  display: grid;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, min(calc(var(--wl-col) * 0.96 / (var(--wl-len) * var(--fr-gu))), calc((min(var(--fr-fold), 1100px) - var(--fr-top) - 380px) / (var(--wl-n) * 0.96))), 11rem);
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: 0.01em;
  line-height: 0.96;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.fr-wl-item { min-width: 0; }
.fr-wl-link, .fr-wl-item > span { color: var(--fr-ink); text-decoration: none; text-shadow: var(--fr-shade, none); }
.fr-wl-link { display: inline-block; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 0.05em; text-underline-offset: 0.1em; }
.fr-wl-link:focus-visible { outline: 2px solid var(--fr-ink); outline-offset: 4px; }
@media (hover: hover) {
  .fr-wl-link:hover { text-decoration-color: var(--accent); }
}
.fr-wl-corner { display: grid; justify-items: start; gap: 14px; --fr-col: min(24rem, 100vw - 2 * var(--gutter)); --fr-vw: 7.2vw; --fr-max: 2.8rem; --fr-min: 1.35rem; --fr-lines: 4; }
.fr-wl-corner .fr-para { font-size: clamp(0.98rem, 1.1vw, 1.06rem); }
.fr-wl-title { line-height: 1.08; }
@media (min-width: 900px) {
  .fr-wl-in { --wl-col: calc(var(--fr-w) - min(24rem, 32vw) - var(--gap)); grid-template-columns: minmax(0, 1fr) minmax(0, min(24rem, 32vw)); align-content: stretch; align-items: end; }
  .fr-wl-list { align-self: center; font-size: clamp(2rem, min(calc(var(--wl-col) * 0.96 / (var(--wl-len) * var(--fr-gu))), calc((min(var(--fr-fold), 1100px) - var(--fr-top) - 200px) / (var(--wl-n) * 0.96))), 11rem); }
  .fr-wl-corner { --fr-col: min(24rem, 32vw); --fr-vw: 2.6vw; }
}

/* ---- corners: the photo over the whole screen, a small title in the middle, the rest in the
   four corners ---- */
.fr-corners {
  display: grid;
  min-height: min(var(--fr-fold), 1100px);
  overflow: clip;
  padding: calc(var(--fr-top) + clamp(18px, 3.4vh, 40px) * var(--fr-d)) var(--gutter) max(var(--fold-safe, 96px), calc(clamp(24px, 4vh, 48px) * var(--fr-d)));
  background: var(--band);
}
.fr-corners.has-photo { background: #0c0c0e; }
.fr-co-media { position: absolute; inset: -6% 0; z-index: -2; overflow: hidden; }
.fr-co-zoom { position: absolute; inset: 0; }
.fr-co-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fr-corners.has-photo .fr-co-shade { background: radial-gradient(ellipse 80% 70% at 50% 50%, rgb(0 0 0 / 0%), rgb(0 0 0 / 16%)), rgb(0 0 0 / 56%); }
.fr-co-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "eye brand" "title title" "lead lead" "act act";
  gap: clamp(16px, 2.4vh, 28px) var(--gap);
  width: min(1600px, 100%);
  margin-inline: auto;
}
.fr-co-top { grid-area: eye; min-width: 0; }
.fr-co-brand {
  grid-area: brand;
  align-self: start;
  justify-self: end;
  max-width: min(40vw, 22rem);
  margin: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: calc(clamp(1rem, 1.5vw, 1.3rem) * var(--head-size, 1));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.15;
  text-align: end;
  text-overflow: ellipsis;
  text-transform: var(--head-case);
  white-space: nowrap;
  color: var(--fr-ink);
  text-shadow: var(--fr-shade, none);
}
.fr-co-title {
  --fr-col: min(34rem, 100vw - 2 * var(--gutter));
  --fr-vw: 4.6vw;
  --fr-min: 0.95rem;
  --fr-max: 1.6rem;
  --fr-lines: 3;
  grid-area: title;
  align-self: center;
  justify-self: center;
  max-width: 34rem;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}
.fr-co-lead { grid-area: lead; align-self: end; max-width: 26rem; }
.fr-co-lead .fr-para { font-size: clamp(0.96rem, 1.05vw, 1.04rem); line-height: 1.5; }
.fr-co-act { grid-area: act; align-self: end; }
/* Below the wide layout a tiny title is as small as the words around it, and a display face with
   thin strokes fades into a light, busy photo. There it is a heading of its own size on a phone
   (a tablet keeps the size it had), keeps the open leading and the wide letters of the frame over
   the tight ones a direction gives its titles (two classes beat .dir-* h1), and a soft shade lies
   right behind it, wherever the title falls: the veil of the photo alone is lightest in the
   middle. */
@media (max-width: 899px) {
  .fr-hero .fr-co-title {
    --fr-vw: 6vw;
    --fr-min: 1.3rem;
    letter-spacing: 0.12em;
    line-height: 1.25;
  }
  .fr-corners.has-photo .fr-co-title { position: relative; z-index: 0; }
  .fr-corners.has-photo .fr-co-title::before {
    content: "";
    position: absolute;
    inset: -0.9em -1.2em;
    z-index: -1;
    background: radial-gradient(closest-side, rgb(0 0 0 / 36%) 55%, rgb(0 0 0 / 0%));
    pointer-events: none;
  }
}
@media (min-width: 900px) {
  .fr-co-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "eye . brand" ". title ." "lead . act";
  }
  .fr-co-title { --fr-vw: 1.5vw; }
  .fr-co-act { justify-self: end; }
  .fr-co-act .fr-actions { justify-content: flex-end; }
}

/* ---- tiles: three pictures and one tile of the accent colour with the title, the words under ---- */
.fr-tiles { padding-block: calc(var(--fr-top) + clamp(16px, 2.8vw, 40px) * var(--fr-d)) max(var(--fold-safe, 96px), calc(clamp(36px, 5vw, 72px) * var(--fr-d))); }
.fr-ti-in {
  display: grid;
  gap: calc(clamp(18px, 2.4vw, 30px) * var(--fr-d));
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.fr-ti-grid {
  --ti-gap: clamp(6px, 0.9vw, 14px);
  --ti-n: 3;
  display: grid;
  grid-template-columns: repeat(var(--ti-n), minmax(0, 1fr));
  gap: var(--ti-gap);
}
.fr-ti--2 .fr-ti-grid { --ti-n: 2; }
.fr-ti--1 .fr-ti-grid, .fr-ti--0 .fr-ti-grid { --ti-n: 1; }
.fr-ti-tile { position: relative; overflow: hidden; min-width: 0; margin: 0; border-radius: var(--radius); }
.fr-ti-pic { aspect-ratio: 1 / 1; background: var(--surface); }
.fr-ti--1 .fr-ti-pic { aspect-ratio: 16 / 10; }
.fr-ti-accent {
  --fr-col: calc(100vw - 2 * var(--gutter) - 2 * clamp(20px, 2.6vw, 44px));
  --fr-vw: 10vw;
  --fr-max: 5.6rem;
  --fr-lines: 3;
  display: grid;
  grid-column: 1 / -1;
  align-content: end;
  justify-items: start;
  gap: 14px;
  min-height: clamp(180px, 48vw, 320px);
  padding: clamp(20px, 2.6vw, 44px);
  background: var(--accent);
}
.fr-ti-accent .fr-title { line-height: 1; }
@media (min-width: 900px) {
  .fr-ti-grid {
    --ti-row: clamp(170px, calc((min(var(--fr-fold), 1040px) - var(--fr-top) - 320px - var(--fr-give)) / 2), 380px);
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-auto-rows: minmax(var(--ti-row), auto);
  }
  /* The row of the title tile is the taller one, so a title of three lines fits in it. */
  .fr-ti--3 .fr-ti-grid { grid-template-rows: minmax(calc(var(--ti-row) * 1.16), auto) minmax(calc(var(--ti-row) * 0.84), auto); }
  /* Its title fits the height of its row in three lines. */
  .fr-ti-accent {
    --fr-col: calc(var(--fr-w) * 0.52 - 2 * clamp(20px, 2.6vw, 44px));
    --fr-vw: 4.2vw;
    --fr-max: min(5.6rem, max(1.8rem, calc((var(--ti-row) * 1.16 - 2 * clamp(20px, 2.6vw, 44px) - 48px) / 3.1 / var(--head-scale, 1))));
    grid-column: auto;
    min-height: 0;
  }
  .fr-ti-pic { aspect-ratio: auto; }
  .fr-ti--2 .fr-ti-accent { grid-row: span 2; }
  .fr-ti--1 .fr-ti-grid { grid-auto-rows: minmax(calc(var(--ti-row) * 1.7), auto); }
  .fr-ti--0 .fr-ti-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .fr-ti--0 .fr-ti-accent { --fr-col: var(--fr-w); min-height: clamp(260px, 40vh, 420px); }
  .fr-ti-words { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .fr-ti-words .fr-actions { justify-content: flex-end; justify-self: end; }
  .fr-tiles.no-lead .fr-ti-words { grid-template-columns: minmax(0, 1fr); }
}
.dir-swiss .fr-ti-grid { gap: 1px; padding: 1px; background: var(--line); }
.dir-swiss .fr-ti-tile { border-radius: 0; }
.dir-brutal .fr-ti-tile { border-radius: 0; outline: var(--bw, 3px) solid var(--edge, var(--ink)); outline-offset: calc(-1 * var(--bw, 3px)); }
.dir-brutal .fr-ti-grid { --ti-gap: clamp(10px, 1.2vw, 16px); }
.dir-brutal .fr-ti-accent { box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--ink); outline-color: var(--ink); }
.dir-arcade .fr-ti-tile { border: var(--bw, 3px) solid var(--edge, var(--ink)); border-radius: var(--r-card, 24px); }
.dir-arcade .fr-ti-accent { border-color: var(--ink); box-shadow: inset 0 calc(-1 * var(--lift, 6px)) 0 rgb(0 0 0 / 14%); }
.dir-organic .fr-ti-tile { border-radius: var(--og-r, 24px); }
.dir-organic .fr-ti-accent { border-start-start-radius: 999px 46%; }
:is(.dir-editorial, .dir-gallery) .fr-ti-tile { border-radius: 0; }

/* ---- stagger: the title set like a sentence, three pictures as drawn at different heights ---- */
.fr-stagger { padding-block: calc(var(--fr-top) + clamp(20px, 3.6vw, 56px) * var(--fr-d)) calc(clamp(40px, 6vw, 96px) * var(--fr-d)); }
.fr-st-in {
  display: grid;
  gap: calc(clamp(18px, 2.4vw, 30px) * var(--fr-d));
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.fr-st-head { display: grid; justify-items: start; gap: var(--fr-gap); --fr-vw: 8.4vw; --fr-max: 5.2rem; --fr-lines: 3; }
.fr-st-title { max-width: 26ch; line-height: 1.08; text-transform: none; text-wrap: pretty; }
.fr-st-title .ac { font-style: italic; }
.fr-st-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2vw, 28px) var(--gap);
  margin-block-start: calc(clamp(8px, 2vw, 32px) * var(--fr-d));
}
.fr-st-fig { min-width: 0; margin: 0; }
.fr-st-img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm, 0); background: var(--surface); }
.fr-st-cap { margin-block-start: 10px; color: var(--muted); font-size: 0.8rem; font-style: italic; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.fr-st-fig--1 { grid-column: 1 / -1; }
.fr-st-fig--2 { grid-column: 1 / span 3; }
.fr-st-fig--3 { grid-column: 4 / span 3; margin-block-start: clamp(32px, 12vw, 64px); }
.fr-st--2 .fr-st-fig--2 { grid-column: 2 / span 4; }
@media (min-width: 900px) {
  .fr-st-head { --fr-col: calc(var(--fr-w) * 0.86); --fr-vw: 5.2vw; }
  .fr-st-words { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: var(--gap); }
  .fr-st-words .fr-actions { justify-content: flex-end; justify-self: end; }
  .fr-stagger.no-lead .fr-st-words { grid-template-columns: minmax(0, 1fr); }
  .fr-stagger.no-lead .fr-st-words .fr-actions { justify-self: start; }
  .fr-st-row { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .fr-st-fig--1 { grid-column: 1 / span 5; }
  .fr-st-fig--2 { grid-column: 7 / span 3; margin-block-start: clamp(56px, 8vw, 140px); }
  .fr-st-fig--3 { grid-column: 10 / span 3; margin-block-start: clamp(16px, 2.6vw, 44px); }
  .fr-st--2 .fr-st-fig--2 { grid-column: 8 / span 4; }
  .fr-st--1 .fr-st-fig--1 { grid-column: 3 / span 8; }
}
.dir-swiss .fr-st-img { border-radius: 0; outline: 1px solid var(--line); }
.dir-brutal .fr-st-img { border-radius: 0; outline: var(--bw, 3px) solid var(--edge, var(--ink)); box-shadow: var(--hard, 6px) var(--hard, 6px) 0 var(--edge, var(--ink)); }
.dir-arcade .fr-st-img { border: var(--bw, 3px) solid var(--edge, var(--ink)); border-radius: var(--r-in, 16px); }
.dir-arcade .fr-st-fig--1 { rotate: -1.5deg; }
.dir-arcade .fr-st-fig--3 { rotate: 2deg; }
.dir-organic .fr-st-fig--2 .fr-st-img { border-radius: 999px 999px var(--og-r, 24px) var(--og-r, 24px); }

/* ---- swatch: the photo over the whole screen like a sample of a material, a hairline frame ---- */
.fr-swatch {
  display: grid;
  min-height: min(var(--fr-fold), 1100px);
  overflow: clip;
  padding: calc(var(--fr-top) + clamp(10px, 1.6vw, 24px)) clamp(10px, 1.6vw, 24px) clamp(10px, 1.6vw, 24px);
  background: var(--band);
}
.fr-swatch.has-photo { background: #0c0c0e; }
.fr-sw-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.fr-sw-zoom { position: absolute; inset: 0; }
/* The tint turns the picture toward the accent and keeps its light (the colour blend), so the veil
   over it still gives white text its 4.5:1. */
.fr-sw-media::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: color; opacity: 0.6; }
.fr-sw-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.fr-swatch.has-photo .fr-sw-shade { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgb(0 0 0 / 6%), rgb(0 0 0 / 18%)), rgb(0 0 0 / 56%); }
.fr-sw-in {
  --sw-hair: color-mix(in srgb, var(--fr-ink) 46%, transparent);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  padding: 0 clamp(16px, 3vw, 44px) max(var(--fold-safe, 96px), calc(clamp(32px, 6vh, 72px) * var(--fr-d)));
  border: 1px solid var(--sw-hair);
}
.fr-sw-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-block: 14px;
  border-block-end: 1px solid var(--sw-hair);
  color: var(--fr-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
  text-shadow: var(--fr-shade, none);
}
.fr-sw-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-sw-bar i { flex: 1 1 auto; min-width: 24px; height: 1px; background: var(--sw-hair); }
.fr-sw-no { flex: none; font-variant-numeric: tabular-nums; }
.fr-sw-mid {
  --fr-col: min(var(--fr-w) - 2 * clamp(16px, 3vw, 44px), 62rem);
  --fr-vw: 11vw;
  --fr-max: 7.2rem;
  --fr-lines: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  padding-block: calc(clamp(28px, 6vh, 72px) * var(--fr-d)) 0;
  text-align: center;
}
.fr-sw-title { text-wrap: balance; }
.fr-sw-title .ac { font-style: italic; }
.fr-sw-words { justify-items: center; }
.fr-sw-words .fr-lead { max-width: 30rem; }
.fr-sw-words .fr-para { font-size: clamp(0.98rem, 1.1vw, 1.08rem); }
.fr-sw-words .fr-actions { justify-content: center; }
@media (min-width: 900px) {
  .fr-sw-mid { --fr-vw: 6.6vw; }
}
.dir-brutal .fr-sw-in { border-width: var(--bw, 3px); }
.dir-organic .fr-sw-in { border-radius: var(--og-r, 24px); }
.dir-arcade .fr-sw-in { border-width: var(--bw, 3px); border-radius: var(--r-card, 24px); }

/* ---- Long words on a phone: the picture that comes before them gives way (is-wordy). ---- */
@media (max-width: 759px) {
  .fr-specimen.is-wordy .fr-sp-stage { --sp-h: clamp(180px, calc(29vh - var(--fr-give) / 2), 340px); }
  .fr-issue.is-wordy .fr-is-cover { --is-h: clamp(200px, calc(31vh - var(--fr-give) / 2), 380px); }
  /* The cover gives way in height, not in width: the cover line on it keeps room for a long word
     at the smallest size of the title. */
  .fr-issue.is-wordy.has-photo :is(.fr-is-media, .fr-is-line) { width: min(100%, max(calc(var(--is-h) * 0.78), 17.5rem)); }
  .fr-issue.is-wordy.has-photo .fr-is-line { --fr-col: calc(min(100vw - 2 * var(--gutter), max(var(--is-h) * 0.78, 17.5rem)) - 40px); }
  .fr-textcard.is-wordy { padding-top: calc(var(--fr-top) + max(12vh, 25vh - var(--fr-give))); }
}

/* ---- A short phone: the pictures that come before the words on a phone give way, so the title,
   the lead and the main button still reach the first screen. ---- */
@media (max-width: 759px) and (max-height: 720px) {
  .fr-sp-field { --sp-h: min(30vh, 300px); }
  .fr-sp-stage { --sp-h: min(30vh, 300px); }
  .fr-textcard { padding-top: calc(var(--fr-top) + 26vh); }
  /* The cover turns wide on a short phone, so its cover line keeps the whole width. */
  .fr-is-cover { --is-h: min(30vh, 220px); }
  .fr-is-media, .fr-issue.has-photo .fr-is-line { width: 100%; }
  .fr-issue.has-photo .fr-is-line { --fr-col: calc(100vw - 2 * var(--gutter) - 40px); }
  .fr-dp-cells { min-height: calc((100vw - 2 * var(--gutter)) * 0.6); }
  .fr-ti-accent { --fr-vw: 9vw; min-height: 0; }
}

/* ---- Motion: only while it is allowed; without it every first screen stands complete ---- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fr-settle { from { scale: 1.12; } }
  @keyframes fr-draw { from { scale: 0 1; } }
  @keyframes fr-cue { 0% { scale: 1 0; opacity: 0; } 30% { opacity: 0.7; } 100% { scale: 1 1; opacity: 0; } }
  @keyframes fr-pan { from { scale: 1.02; translate: -1.6% 0.6%; } to { scale: 1.1; translate: 1.6% -0.8%; } }
  @keyframes fr-run { from { scale: 0 1; } to { scale: 1 1; } }
  @keyframes fr-blink { 50% { opacity: 0.25; } }
  .fr-veil-zoom { animation: fr-settle 2.6s var(--fx-ease, ease-out) both; }
  .fr-veil-cue i { animation: fr-cue 2.4s var(--fx-ease-io, ease-in-out) 1.6s infinite; }
  .fr-big-rule { animation: fr-draw 1.1s var(--fx-ease-io, ease-in-out) 0.3s both; }
  .fr-lb-pan { animation: fr-pan 24s ease-in-out infinite alternate; }
  .fr-lb-run i { animation: fr-run 14s linear infinite; }
  .fr-lb-rec i { animation: fr-blink 1.6s steps(2, jump-none) infinite; }
  .fr-hero:has(.stage3d.is-live) .fr-lb-pan { animation: none; }
  .fr-card { transition: rotate 0.7s var(--fx-ease, ease-out), inset 0.7s var(--fx-ease, ease-out), top 0.7s var(--fx-ease, ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .fr-deck-cards:hover .fr-card--2 { inset-inline-start: -6%; rotate: -15deg; }
    .fr-deck-cards:hover .fr-card--3 { inset-inline-start: 46%; rotate: 14deg; }
    .fr-deck-cards:hover .fr-card--1 { top: 3%; rotate: 0deg; }
    .dir-swiss .fr-deck-cards:hover .fr-card { rotate: none; }
  }
  .fr-tr-rule { animation: fr-draw 1.1s var(--fx-ease-io, ease-in-out) 0.35s both; }
  :is(.fr-co-zoom, .fr-sw-zoom) { animation: fr-settle 2.8s var(--fx-ease, ease-out) both; }
  .fr-sp-media { transition: opacity 0.9s var(--fx-ease, ease-out) 0.2s; }
  .fr-wl-link { transition: text-decoration-color 0.3s var(--ease); }
}
@media print {
  .fr-veil-cue, .fr-lb-run { display: none; }
}

/* ---- Shared layouts of the blocks (decision 126) --------------------------------------------- */
.bk {
  /* How wide the letters of the display face run, for titles sized to their column. */
  --bk-g: 0.66;
  --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;
}
