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

:root {
  --maxw: 1240px;
  --bg: #FDFDEC;
  --surface: #F4F6CE;
  --ink: #222312;
  --muted: #515331;
  --line: #E4E8B1;
  --accent: #282B21;
  --on-accent: #E7EB88;
  --accent-text: #5D5F1F;
  --band: #2A2C21;
  --on-band: #FDFDEC;
  --muted-band: #D4D9A9;
  --font-display: "Cormorant", serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: ui-monospace, monospace;
  --radius: 2px;
  --radius-sm: 2px;
  --btn-radius: 2px;
  --border: 0px;
  --shadow: none;
  --section: clamp(80px, 12vw, 176px);
  --head-weight: 500;
  --head-style: italic;
  --head-track: -0.005em;
  --head-case: none;
  --head-size: 1.26;
  --density: 1.28;
  --head-scale: 1.16;
  --pic-radius: 14px;
  --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.52;
  --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; }
}
/* Editorial: a fashion and lifestyle magazine. Paper, ink and one muted accent; a large serif
   display with stair-stepped titles, small capital labels, hairline and double rules, drop
   capitals and drop numbers on an asymmetric 12-column grid with a lot of white space. Pictures
   are cropped like a printed spread and always carry a caption or a credit line.
   Everything is scoped to .dir-editorial (the body of an editorial site). */

.dir-editorial {
  --maxw: 1320px;
  --ed-ease: cubic-bezier(.16, 1, .3, 1);
  --ed-gap: clamp(16px, 2.2vw, 32px);
  --ed-step: .5em;
  --ed-bleed: max(var(--gutter), (100vw - var(--maxw)) / 2);
  --ed-label: 600 .75rem/1.35 var(--font-body);
  /* Air between sections: two of them never leave more than about 200px empty. */
  --section: clamp(64px, 7vw, 104px);
  /* Real italics only: a face without its italic file stays upright rather than slanted. */
  font-synthesis: weight;
}
@media (min-width: 760px) {
  .dir-editorial { --ed-step: 1.05em; }
}
/* The height of the header bar (a centred nameplate is taller), for first screens that fit the
   screen. */
.dir-editorial { --ed-head-h: 69px; }
@media (min-width: 860px) {
  .dir-editorial.ui-header-center { --ed-head-h: 138px; }
}
@media (min-width: 1100px) {
  .dir-editorial { --ed-step: 1.55em; }
}

/* The curtain of the first page of a visit: the name on paper over a double rule. */
.dir-editorial .curtain { background: var(--bg); color: var(--ink); }
.dir-editorial .curtain-name { letter-spacing: calc(var(--head-track) - .02em); }
.dir-editorial .curtain-line { height: 5px; border-block: 1px solid var(--ink); background: none; }

/* ---- Type and links ---------------------------------------------------------------------- */
.dir-editorial h1, .dir-editorial h2, .dir-editorial h3 { line-height: 1.04; }
.dir-editorial .eyebrow { font: var(--ed-label); letter-spacing: .18em; text-transform: uppercase; }
.dir-editorial .lead { color: var(--muted); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.62; }
.dir-editorial .ed-u { position: relative; display: inline-block; }
.dir-editorial .ed-u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.18em;
  height: 1px;
  background: currentColor;
  transform-origin: 100% 50%;
}
.dir-editorial .ed-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font: var(--ed-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
.dir-editorial .ed-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font: var(--ed-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
.dir-editorial .ed-more .icon, .dir-editorial .ed-page-more .icon, .dir-editorial .ed-story-more .icon, .dir-editorial .ed-pair-more .icon {
  transition: transform .6s var(--ed-ease);
}
@media (hover: hover) {
  .dir-editorial .ed-more:hover .icon,
  .dir-editorial .ed-page-link:hover .ed-page-more .icon,
  .dir-editorial .ed-story-link:hover .ed-story-more .icon,
  .dir-editorial .ed-pair-link:hover .ed-pair-more .icon { transform: translateX(5px); }
}

/* Buttons: small capitals on a plain field, the arrow moves; nothing jumps. */
.dir-editorial .btn {
  min-height: 52px;
  padding: 14px 26px;
  font: 600 .8125rem/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .5s var(--ed-ease);
}
.dir-editorial .btn .icon { transition: transform .6s var(--ed-ease); }
.dir-editorial .btn-ghost { border: 1px solid currentColor; }
.dir-editorial .btn:active { transform: translateY(1px); }
@media (hover: hover) {
  .dir-editorial .btn:hover { transform: none; }
  .dir-editorial .btn:hover .icon { transform: translateX(4px); }
}

/* ---- Header: a thin bar on paper; with the centred layout, a nameplate. ------------------- */
/* The colours come from the engine's hooks (--nav-*): the page pair, or another one when a
   section of another tone passes under the header. */
html .dir-editorial .header[data-header] {
  border-bottom: 1px solid var(--nav-line, var(--line));
  background: var(--nav-bg, var(--bg));
  color: var(--nav-ink, var(--ink));
}
.dir-editorial.ui-header-capsule .header { top: 0; margin: 0; }
.dir-editorial.ui-header-capsule .header-row {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.dir-editorial .header-row { min-height: 68px; gap: 20px; }
.dir-editorial .brand { font-size: calc(1.3rem * var(--head-size)); }
.dir-editorial .nav-links {
  gap: clamp(16px, 2vw, 32px);
  font: var(--ed-label);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dir-editorial .nav-links a { position: relative; display: inline-block; padding-block: 12px; }
.dir-editorial .nav-links a:hover { color: inherit; }
.dir-editorial .nav-links a[aria-current="page"] { text-decoration: none; }
.dir-editorial .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .6s var(--ed-ease);
}
.dir-editorial .nav-links a:hover::after, .dir-editorial .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.dir-editorial .nav-menu summary { font: var(--ed-label); letter-spacing: .14em; text-transform: uppercase; }
.dir-editorial .nav-menu > ul { border: 1px solid var(--ink); border-radius: 0; background: var(--bg); box-shadow: none; }
.dir-editorial .nav-links a { white-space: nowrap; }
.dir-editorial .header-cta { display: none; min-height: 42px; padding: 8px 18px; font-size: .75rem; }
/* Brand on the left, links on the right: a split bar has no room for small capitals. */
.dir-editorial.ui-header-split .header-row { display: flex; }
.dir-editorial.ui-header-split .brand, .dir-editorial.ui-header-split .nav, .dir-editorial.ui-header-split .header-cta { order: 0; }
.dir-editorial.ui-header-split .nav { margin-left: auto; }
@media (min-width: 860px) and (max-width: 1099px) {
  .dir-editorial:not(.ui-header-center) .nav-links { display: none; }
  .dir-editorial:not(.ui-header-center) .nav-menu { display: block; }
}
@media (min-width: 1360px) {
  .dir-editorial:not(.ui-header-center) .header-cta { display: inline-flex; }
}
@media (min-width: 860px) {
  .dir-editorial.ui-header-center .header-row { padding-block: 20px 0; }
  .dir-editorial.ui-header-center .brand { font-size: calc(2.2rem * var(--head-size)); letter-spacing: calc(var(--head-track) - .01em); }
  .dir-editorial.ui-header-center .nav { display: flex; justify-content: center; width: 100%; margin-top: 14px; border-top: 1px solid var(--line); }
}

/* ---- Sections ------------------------------------------------------------------------------- */
.dir-editorial .section { padding-block: calc(var(--section) * var(--density, 1)); }
.dir-editorial .section-tight { padding-block: calc(clamp(44px, 6vw, 88px) * var(--density, 1)); }
.dir-editorial .section-top { padding-top: calc(clamp(20px, 3vw, 40px) * var(--density, 1)); }
.dir-editorial .section-alt { background: var(--surface); }
.dir-editorial .ed-sec { overflow-x: clip; }

/* The opening of a section: folio, stair-stepped title, lead. */
.dir-editorial .ed-head { display: grid; gap: clamp(18px, 2.4vw, 30px); margin-bottom: clamp(44px, 6vw, 96px); }
.dir-editorial .ed-folio {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--accent-text);
  font: var(--ed-label);
  letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
}
.dir-editorial .ed-folio-n {
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: var(--head-weight);
  letter-spacing: 0;
  line-height: 1;
}
.dir-editorial .ed-folio-line { flex: 1; height: 1px; background: var(--ink); transform-origin: 0 50%; }
.dir-editorial .ed-folio-label { max-width: 50%; overflow: hidden; color: var(--muted); text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.dir-editorial .ed-stair {
  margin: 0;
  font-size: min(calc(clamp(2.15rem, 5.2vw, 5rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.15rem, 5.2vw, 5rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.66)));
  line-height: 1;
  letter-spacing: calc(var(--head-track) - .01em);
}
.dir-editorial .ed-l { display: block; padding-inline-start: calc(var(--s, 0) * var(--ed-step)); }
.dir-editorial .ed-li { display: block; }
/* Masks for the lines, only while motion.js lets them rise: room is kept for accents and tails. */
.dir-editorial .ed-stair.is-masked .ed-l { overflow: clip; overflow-clip-margin: .08em; padding-block: .1em .16em; margin-block: -.1em -.16em; }
.dir-editorial .ed-head-lead .lead { max-width: 34rem; }
@media (min-width: 960px) {
  .dir-editorial .ed-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ed-gap); align-items: end; }
  .dir-editorial .ed-head > * { grid-column: 1 / -1; }
  .dir-editorial .ed-head.has-more .ed-folio { grid-column: 1 / span 9; }
  .dir-editorial .ed-head .ed-more { grid-row: 1; grid-column: 10 / -1; justify-self: end; }
  .dir-editorial .ed-head.has-lead .ed-stair { grid-column: 1 / span 8; }
  .dir-editorial .ed-head .ed-head-lead { grid-column: 9 / -1; padding-bottom: .35em; }
  .dir-editorial .ed-head--stack { grid-template-columns: minmax(0, 1fr); }
  .dir-editorial .ed-head--stack > *,
  .dir-editorial .ed-head--stack.has-more .ed-folio,
  .dir-editorial .ed-head--stack.has-lead .ed-stair,
  .dir-editorial .ed-head--stack .ed-head-lead { grid-column: 1 / -1; }
  .dir-editorial .ed-head--stack .ed-more { grid-row: auto; grid-column: 1 / -1; justify-self: start; }
  /* The stacked heading stands in the narrow column of a split (5 of 12): its share of the cap. */
  .dir-editorial .ed-head--stack .ed-stair { font-size: min(calc(clamp(2rem, 3.7vw, 3.7rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2rem, 3.7vw, 3.7rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.38))); }
}

/* A heading beside a list (shop rows, questions). */
.dir-editorial .ed-split { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 960px) {
  .dir-editorial .ed-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 112px); align-items: start; }
  .dir-editorial .ed-split-head { position: sticky; top: 112px; }
  .dir-editorial .ed-split-head .ed-head { margin-bottom: 0; }
}

/* Drop capitals: the first letter of a standfirst or an opening paragraph. */
.dir-editorial .ed-deck:first-child::first-letter,
.dir-editorial .ed-para:first-child::first-letter,
.dir-editorial .read-grid .prose > p:first-of-type::first-letter,
.dir-editorial.page-about .duo .prose > p:first-child::first-letter {
  float: left;
  margin: .05em .1em 0 0;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 3.4em;
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  line-height: .8;
}

/* ---- First screen ---------------------------------------------------------------------------- */
.dir-editorial .ed-hero { padding-block: clamp(6px, 1.6vw, 24px) clamp(48px, 6vw, 96px); overflow-x: clip; }
.dir-editorial .ed-meta {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  padding-block: 14px;
  border-bottom: 1px solid var(--ink);
  font: var(--ed-label);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.dir-editorial .ed-kicker { min-width: 0; margin: 0 auto 0 0; color: var(--accent-text); }
.dir-editorial .ed-dots { display: none; gap: 6px; }
.dir-editorial .ed-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.dir-editorial .ed-dateline { flex: none; margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.dir-editorial .ed-dateline span { margin-inline: .3em; }
.dir-editorial .ed-place { display: none; flex: none; margin: 0; color: var(--muted); }
@media (min-width: 760px) {
  .dir-editorial .ed-dots { display: inline-flex; }
  .dir-editorial .ed-place { display: block; }
  .dir-editorial .ed-place + .ed-dateline { display: none; }
}
/* The column hero has about half the width for its meta row: the place goes, the date stays. */
.dir-editorial .ed-meta--col .ed-place { display: none; }
.dir-editorial .ed-meta--col .ed-place + .ed-dateline { display: block; }
.dir-editorial .ed-deck { color: var(--ink); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.6; }
.dir-editorial .ed-deck + .ed-deck { margin-top: .8em; }
.dir-editorial .ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: clamp(22px, 2.6vw, 32px); }

/* The title of both first screens (ed.hero_title): its lines flow on phones and stand one under
   the other, stepped in, on wider screens. The type is sized from the title itself (--total,
   --len, --rows, --cw: see ed.html), so a long title keeps to four lines on a phone and three on a
   wide screen, and the lead and the main button stay on the first screen. */
.dir-editorial .ed-cover-title {
  margin: 0;
  font-size: calc(clamp(1.9rem, calc(8vw * var(--head-scale, 1)), calc(2.9rem * var(--head-scale, 1))) * var(--head-size));
  line-height: .96;
  letter-spacing: calc(var(--head-track) - .02em);
}
.dir-editorial .ed-cl, .dir-editorial .ed-ci { display: inline; }
/* The accent: the italic of the display face where the site has it, always in the accent colour
   and a step lighter. */
.dir-editorial .ac {
  color: var(--accent-text);
  font-style: italic;
  font-weight: max(400, calc(var(--head-weight) - 100));
}
/* A rounded crop of a picture between the words, like a photo pasted into a cover line. */
.dir-editorial .ed-pill {
  display: inline-block;
  width: 2.3em;
  height: .72em;
  margin-inline: .04em;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface) var(--pill) 55% 50% / cover no-repeat;
  color: transparent;
  line-height: 1;
  vertical-align: middle;
}
.dir-editorial .ed-column .ed-pill { background-size: 260%; background-position: 40% 42%; }
@supports (width: 1cqi) {
  .dir-editorial .ed-mast, .dir-editorial .ed-col { container-type: inline-size; }
  .dir-editorial .ed-cover-title {
    font-size: min(min(calc(2.9rem * var(--head-size) * var(--head-scale, 1)), max(calc(2.9rem * var(--head-size) * var(--tk-keep, 1)), var(--tk-cap, 999px))), calc(100cqi / (var(--cw, .56) * 1.06 * (var(--total, 40) / 3.6 + 1.5))));
  }
}
@media (min-width: 760px) {
  .dir-editorial .ed-cover-title { line-height: .98; }
  .dir-editorial .ed-cl { display: block; }
  .dir-editorial .ed-cr2 { padding-inline-start: 1.4em; }
  .dir-editorial .ed-cr3 { padding-inline-start: .5em; }
  .dir-editorial .ed-pill { width: 3.1em; height: .86em; margin-inline: .06em; }
}

/* Masthead: the meta row, the title, a double rule, the standfirst beside the buttons, then the
   spread of two photographs with their captions. */
.dir-editorial .ed-mast-title { margin: clamp(16px, min(3vw, 4.4vh), 40px) 0 clamp(14px, min(2.2vw, 3.4vh), 30px); }
@media (min-width: 760px) {
  .dir-editorial .ed-mast-title { font-size: calc(clamp(2.6rem, calc(6vw * var(--head-scale, 1)), calc(6.4rem * var(--head-scale, 1))) * var(--head-size)); }
  @supports (width: 1cqi) {
    .dir-editorial .ed-mast-title {
      font-size: min(calc(9.5rem * var(--head-size) * var(--head-scale, 1)), calc(100cqi / (var(--cw, .56) * 1.06 * var(--len, 24))), calc((100svh - var(--ed-head-h)) * .36 / var(--rows, 3)));
    }
  }
}
.dir-editorial .ed-double { height: 5px; border-block: 1px solid var(--ink); transform-origin: 0 50%; }
.dir-editorial .ed-masthead .ed-intro { margin-top: clamp(18px, min(2.6vw, 3.6vh), 34px); }
.dir-editorial .ed-standfirst { max-width: 44rem; }
.dir-editorial .ed-spread { display: grid; gap: clamp(22px, 3vw, 36px); margin-top: clamp(40px, 6vw, 88px); }
.dir-editorial .ed-plate, .dir-editorial .ed-inset { margin: 0; }
.dir-editorial .ed-plate { margin-inline: calc(-1 * var(--gutter)); }
.dir-editorial .ed-plate-media { aspect-ratio: 4 / 3; border-radius: 0; }
.dir-editorial .ed-plate .ed-cap { padding-inline: var(--gutter); }
.dir-editorial .ed-inset {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 62%;
  margin-top: clamp(-150px, -26vw, -80px);
  padding: clamp(6px, .8vw, 12px) clamp(6px, .8vw, 12px) 0;
  background: var(--bg);
}
.dir-editorial .ed-inset-media { aspect-ratio: 4 / 5; border-radius: 0; }
/* Captions of the spread: a number in the italic of the display face, then the description. */
.dir-editorial .ed-cap { display: flex; gap: 10px; max-width: 46ch; margin-top: 12px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.dir-editorial .ed-cap-no {
  flex: none;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.3;
}
.dir-editorial .ed-cap-text:empty { display: none; }
/* The caption of the large photo stays clear of the smaller one laid over its corner. */
.dir-editorial .has-inset .ed-plate .ed-cap { max-width: calc(38% + var(--gutter)); }
@media (min-width: 760px) {
  .dir-editorial .ed-plate-media { aspect-ratio: 16 / 10; }
  .dir-editorial .ed-inset { width: 42%; margin-top: clamp(-240px, -20vw, -120px); }
  .dir-editorial .has-inset .ed-plate .ed-cap { max-width: calc(56% + var(--gutter)); }
}
@media (min-width: 960px) {
  .dir-editorial .ed-masthead .ed-intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--ed-gap);
    align-items: end;
  }
  .dir-editorial .ed-masthead .ed-standfirst { grid-column: 1 / 8; max-width: none; }
  .dir-editorial .ed-masthead .ed-intro.is-long .ed-standfirst { columns: 2; column-gap: var(--ed-gap); }
  .dir-editorial .ed-masthead .ed-actions { grid-column: 9 / -1; justify-content: flex-end; margin: 0; }
  .dir-editorial .ed-masthead.no-lead .ed-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .dir-editorial .ed-spread { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ed-gap); row-gap: 0; align-items: start; }
  .dir-editorial .ed-plate { grid-column: 1 / 9; grid-row: 1; margin-inline: calc(-1 * var(--ed-bleed)) 0; }
  .dir-editorial .ed-plate .ed-cap { padding-inline: var(--ed-bleed) 0; }
  .dir-editorial .has-inset .ed-plate .ed-cap { max-width: calc(50% + var(--ed-bleed)); }
  .dir-editorial .ed-inset {
    grid-column: 8 / 12;
    grid-row: 1;
    justify-self: stretch;
    width: auto;
    margin: clamp(120px, 14vw, 220px) 0 0;
  }
  .dir-editorial .ed-spread:not(:has(.ed-inset)) .ed-plate { grid-column: 1 / -1; margin-inline: calc(-1 * var(--ed-bleed)); }
  .dir-editorial .ed-spread:not(:has(.ed-inset)) .ed-plate-media { aspect-ratio: 21 / 9; }
}

/* Column: text on the left, a vertical rule with the name along it, a tall portrait. On phones the
   standfirst and the buttons come before the picture, so they stay on the first screen. */
.dir-editorial .ed-column { padding-block: clamp(10px, 2.4vw, 32px) clamp(48px, 6vw, 96px); overflow-x: clip; }
.dir-editorial .ed-col { display: grid; gap: clamp(24px, 5vw, 40px); }
.dir-editorial .ed-col-text { display: contents; }
.dir-editorial .ed-meta--col { order: 1; }
.dir-editorial .ed-col-title { order: 2; }
.dir-editorial .ed-column .ed-intro { order: 3; }
.dir-editorial .ed-col-figure, .dir-editorial .ed-monogram { order: 4; }
.dir-editorial .ed-col-rule { display: none; }
.dir-editorial .ed-col-figure { margin: 0 calc(-1 * var(--gutter)); }
.dir-editorial .ed-portrait { aspect-ratio: 4 / 5; border-radius: 0; }
.dir-editorial .ed-credit {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 12px var(--gutter) 0;
  color: var(--muted);
  font: var(--ed-label);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dir-editorial .ed-credit-no { margin-left: auto; font-variant-numeric: tabular-nums; }
.dir-editorial .ed-monogram { display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: clip; background: var(--surface); }
.dir-editorial .ed-monogram span {
  color: color-mix(in srgb, var(--accent) 30%, var(--surface));
  font-family: var(--font-display);
  font-size: clamp(9rem, 34vw, 26rem);
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  line-height: .8;
}
@media (min-width: 960px) {
  .dir-editorial .ed-col { grid-template-columns: minmax(0, 7fr) clamp(48px, 6vw, 96px) minmax(0, 5fr); gap: 0; align-items: stretch; }
  .dir-editorial .ed-col-text { display: flex; flex-direction: column; gap: clamp(22px, 3.2vh, 36px); padding-block: 2px 6px; }
  /* The meta row and the title at the top, the standfirst and the buttons at the foot of the
     portrait. */
  .dir-editorial .ed-col-title { margin-top: clamp(8px, 3vh, 40px); }
  .dir-editorial .ed-column .ed-intro { margin-top: auto; }
  .dir-editorial .ed-col-title { font-size: calc(clamp(2.4rem, calc(4.4vw * var(--head-scale, 1)), calc(5.4rem * var(--head-scale, 1))) * var(--head-size)); }
  @supports (width: 1cqi) {
    .dir-editorial .ed-col-title {
      font-size: min(calc(7.5rem * var(--head-size) * var(--head-scale, 1)), calc(55cqi / (var(--cw, .56) * 1.06 * var(--len, 24))), calc((100svh - var(--ed-head-h)) * .3 / var(--rows, 3)));
    }
  }
  .dir-editorial .ed-col-rule { position: relative; display: flex; align-items: center; justify-content: center; }
  .dir-editorial .ed-col-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--ink); transform-origin: 50% 0; }
  .dir-editorial .ed-spine {
    position: relative;
    padding-block: 18px;
    background: var(--bg);
    color: var(--muted);
    font: var(--ed-label);
    letter-spacing: .3em;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
  .dir-editorial .ed-col-figure { margin: 0; }
  /* The portrait sets the height of the first screen: the header, the hero's top padding, the
     credit line and the room kept for the cookie notice (--fold-safe) are taken off the screen. */
  .dir-editorial .ed-portrait, .dir-editorial .ed-monogram {
    aspect-ratio: auto;
    height: clamp(380px, calc(100svh - var(--ed-head-h) - 82px - var(--fold-safe, 96px)), 820px);
  }
  .dir-editorial .ed-credit { margin-inline: 0; }
}

/* ---- The line of words ----------------------------------------------------------------------- */
.dir-editorial .ed-ticker { padding-block: clamp(14px, 1.6vw, 22px); overflow: clip; border-block: 1px solid var(--ink); }
.dir-editorial .ed-ticker-in { overflow: clip; }
.dir-editorial .ed-ticker-row { display: flex; flex: none; width: max-content; margin: 0; padding: 0; list-style: none; }
.dir-editorial .ed-ticker-row li { display: flex; align-items: center; white-space: nowrap; }
.dir-editorial .ed-ticker-word {
  font-family: var(--font-display);
  font-size: calc(clamp(1.35rem, 2.4vw, 2.2rem) * var(--head-size));
  font-style: italic;
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.2;
}
.dir-editorial .ed-ticker-star { margin-inline: clamp(18px, 2.4vw, 36px); color: var(--accent-text); font-size: .85rem; }
html:not(.js) .dir-editorial .ed-ticker-row { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 6px; padding-inline: var(--gutter); }
@media (prefers-reduced-motion: reduce) {
  .dir-editorial .ed-ticker-row { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 6px; padding-inline: var(--gutter); }
}

/* ---- Products: the rows of a shopping page ------------------------------------------------- */
.dir-editorial .ed-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.dir-editorial .ed-row { border-bottom: 1px solid var(--line); }
.dir-editorial .ed-row-link {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-areas: "media copy price";
  align-items: center;
  gap: 4px 16px;
  padding-block: 14px;
  color: inherit;
  text-decoration: none;
}
.dir-editorial .ed-row-no, .dir-editorial .ed-row-go { display: none; }
.dir-editorial .ed-row-media { grid-area: media; aspect-ratio: 4 / 5; border-radius: 0; }
.dir-editorial .ed-row-copy { grid-area: copy; display: grid; gap: 4px; min-width: 0; }
.dir-editorial .ed-row-tag { color: var(--muted); font: var(--ed-label); letter-spacing: .14em; text-transform: uppercase; }
.dir-editorial .ed-row-title {
  margin: 0;
  font-size: calc(clamp(1.2rem, 2vw, 1.9rem) * var(--head-size));
  line-height: 1.08;
  transition: transform .7s var(--ed-ease);
}
.dir-editorial .ed-row .price {
  grid-area: price;
  justify-self: end;
  font-size: 1rem;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.dir-editorial .ed-row .price-ask { font-size: .875rem; }
@media (min-width: 760px) {
  .dir-editorial .ed-row-link {
    grid-template-columns: 3.4ch 88px minmax(0, 1fr) auto 24px;
    grid-template-areas: "no media copy price go";
    gap: 0 clamp(16px, 2vw, 28px);
    padding-block: 18px;
  }
  .dir-editorial .ed-row-no {
    display: block;
    grid-area: no;
    color: var(--accent-text);
    font: var(--ed-label);
    letter-spacing: .1em;
    font-variant-numeric: tabular-nums;
  }
  .dir-editorial .ed-row-go { display: block; grid-area: go; transition: transform .6s var(--ed-ease); }
}
@media (hover: hover) {
  .dir-editorial .ed-row-link:hover .ed-row-title { transform: translateX(10px); }
  .dir-editorial .ed-row-link:hover .ed-row-go { transform: rotate(45deg); }
}
/* With a mouse the picture leaves the row and appears beside the name, following the pointer
   when motion.js runs (.is-trail); keyboard focus shows it too. */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .dir-editorial .ed-rows { position: relative; }
  .dir-editorial .ed-row-link { grid-template-columns: 3.4ch minmax(0, 1fr) auto 24px; grid-template-areas: "no copy price go"; padding-block: 24px; }
  .dir-editorial .ed-row-media {
    position: absolute;
    top: 50%;
    left: 58%;
    z-index: 2;
    width: clamp(150px, 13vw, 210px);
    opacity: 0;
    pointer-events: none;
    translate: 0 -50%;
    scale: .86;
    transition: opacity .45s var(--ed-ease), scale .8s var(--ed-ease);
  }
  .dir-editorial .ed-row-link:is(:hover, :focus-visible) .ed-row-media { opacity: 1; scale: 1; }
  .dir-editorial .ed-rows.is-trail .ed-row-media { top: 0; left: 0; translate: 28px -50%; }
}

/* ---- Categories: a spread of pictures of different sizes ---------------------------------- */
.dir-editorial .ed-trio { display: grid; gap: clamp(34px, 4vw, 56px) var(--ed-gap); margin: 0; padding: 0; list-style: none; }
.dir-editorial .ed-tile-link { display: block; color: inherit; text-decoration: none; }
.dir-editorial .ed-tile-frame { overflow: hidden; }
.dir-editorial .ed-tile-media { aspect-ratio: 4 / 5; border-radius: 0; }
.dir-editorial .ed-tile-media .media-img { transition: transform 1.2s var(--ed-ease); }
.dir-editorial .ed-tile-cap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding-top: 16px; }
.dir-editorial .ed-tile-no { color: var(--accent-text); font: var(--ed-label); letter-spacing: .12em; }
.dir-editorial .ed-tile-name { margin: 0; font-size: calc(clamp(1.4rem, 2.3vw, 2.2rem) * var(--head-size)); line-height: 1.05; }
.dir-editorial .ed-tile-go { align-self: center; transition: transform .6s var(--ed-ease); }
@media (hover: hover) {
  .dir-editorial .ed-tile-link:hover .media-img { transform: scale(1.045); }
  .dir-editorial .ed-tile-link:hover .ed-tile-go { transform: rotate(45deg); }
}
@media (min-width: 760px) {
  .dir-editorial .ed-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .dir-editorial .ed-tile:nth-child(even) { margin-top: clamp(48px, 8vw, 120px); }
}
@media (min-width: 960px) {
  .dir-editorial .ed-trio { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .dir-editorial .ed-tile { grid-column: span 6; }
  .dir-editorial .ed-tile:nth-child(even) { margin-top: 0; }
  .dir-editorial .ed-tile:nth-child(1) { grid-column: 1 / 8; grid-row: span 2; }
  .dir-editorial .ed-tile:nth-child(1) .ed-tile-media { aspect-ratio: 1 / 1; }
  .dir-editorial .ed-tile:nth-child(2), .dir-editorial .ed-tile:nth-child(3) { grid-column: 9 / -1; }
  .dir-editorial .ed-tile:nth-child(2) .ed-tile-media, .dir-editorial .ed-tile:nth-child(3) .ed-tile-media { aspect-ratio: 3 / 2; }
  .dir-editorial .ed-trio--1 .ed-tile:nth-child(1) { grid-column: 2 / 12; grid-row: auto; }
  .dir-editorial .ed-trio--1 .ed-tile:nth-child(1) .ed-tile-media { aspect-ratio: 16 / 9; }
  .dir-editorial .ed-trio--2 .ed-tile:nth-child(1) { grid-row: auto; }
  .dir-editorial .ed-trio--2 .ed-tile:nth-child(2) { margin-top: clamp(96px, 12vw, 200px); }
  .dir-editorial .ed-trio--2 .ed-tile:nth-child(2) .ed-tile-media { aspect-ratio: 4 / 5; }
  .dir-editorial .ed-trio--many .ed-tile:nth-child(n+4) .ed-tile-media { aspect-ratio: 16 / 10; }
  .dir-editorial .ed-trio--many .ed-tile:nth-child(4):last-child { grid-column: 3 / 11; }
}

/* ---- Services: pages of a magazine, laid one over the other --------------------------------- */
.dir-editorial .ed-pages { display: grid; gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.dir-editorial .ed-page { border-top: 1px solid var(--ink); background: var(--surface); }
.dir-editorial .ed-page-link { display: grid; height: 100%; color: inherit; text-decoration: none; }
.dir-editorial .ed-page-media { aspect-ratio: 4 / 3; border-radius: 0; }
.dir-editorial .ed-page-copy { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3.4vw, 48px); }
.dir-editorial .ed-page-no { color: var(--accent-text); font: var(--ed-label); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.dir-editorial .ed-page-no span { color: var(--muted); }
.dir-editorial .ed-page-title { margin: 0; font-size: calc(clamp(1.75rem, 3.4vw, 3.3rem) * var(--head-size)); line-height: 1.02; }
.dir-editorial .ed-page-text { max-width: 42ch; color: var(--muted); }
.dir-editorial .ed-page-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; font: var(--ed-label); letter-spacing: .16em; text-transform: uppercase; }
@media (min-width: 900px) {
  .dir-editorial .ed-page-link { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(58svh, 520px); }
  .dir-editorial .ed-page-media { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .dir-editorial .ed-page:nth-child(even) .ed-page-link { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .dir-editorial .ed-page:nth-child(even) .ed-page-media { order: 2; }
  .dir-editorial .ed-page-copy { justify-content: flex-start; padding: clamp(32px, 4vw, 64px); }
}

/* ---- Articles: the stories of an issue ----------------------------------------------------- */
.dir-editorial .ed-stories { display: grid; gap: clamp(40px, 5vw, 72px) var(--ed-gap); margin: 0; padding: 0; list-style: none; }
.dir-editorial .ed-story-link { display: grid; gap: 18px; color: inherit; text-decoration: none; }
.dir-editorial .ed-story-frame { overflow: hidden; }
.dir-editorial .ed-story-media { aspect-ratio: 3 / 2; border-radius: 0; }
.dir-editorial .ed-story-media .media-img { transition: transform 1.2s var(--ed-ease); }
.dir-editorial .ed-story-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: var(--accent-text); font: var(--ed-label); letter-spacing: .16em; text-transform: uppercase; }
.dir-editorial .ed-story-meta span + span { color: var(--muted); }
.dir-editorial .ed-story-title { margin: 10px 0 0; font-size: calc(clamp(1.4rem, 2vw, 1.9rem) * var(--head-size)); line-height: 1.1; }
.dir-editorial .ed-story-text { margin-top: 10px; color: var(--muted); }
.dir-editorial .ed-story-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: var(--ed-label); letter-spacing: .16em; text-transform: uppercase; }
@media (hover: hover) {
  .dir-editorial .ed-story-link:hover .media-img { transform: scale(1.04); }
}
@media (min-width: 760px) {
  .dir-editorial .ed-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-editorial .ed-story:first-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .dir-editorial .ed-stories { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .dir-editorial .ed-story { grid-column: span 4; }
  .dir-editorial .ed-story:first-child { grid-column: 1 / 8; grid-row: span 2; }
  .dir-editorial .ed-story:first-child .ed-story-media { aspect-ratio: 4 / 3; }
  .dir-editorial .ed-story:first-child .ed-story-title { font-size: calc(clamp(2rem, 3.4vw, 3.3rem) * var(--head-size)); line-height: 1.02; }
  .dir-editorial .ed-story:nth-child(2), .dir-editorial .ed-story:nth-child(3) { grid-column: 9 / -1; }
  .dir-editorial .ed-story:nth-child(2) .ed-story-media, .dir-editorial .ed-story:nth-child(3) .ed-story-media { aspect-ratio: 16 / 10; }
  .dir-editorial .ed-story:nth-child(n+4) { padding-top: 28px; border-top: 1px solid var(--ink); }
  .dir-editorial .ed-stories--1 .ed-story:first-child { grid-column: 2 / 12; grid-row: auto; }
  .dir-editorial .ed-stories--2 .ed-story:first-child { grid-row: auto; }
  /* Four or five stories: the ones under the cover story share its width. */
  .dir-editorial .ed-stories--4 .ed-story:nth-child(4) { grid-column: 1 / -1; }
  .dir-editorial .ed-stories--5 .ed-story:nth-child(n+4) { grid-column: span 6; }
}

/* ---- A feature: picture and caption ------------------------------------------------------- */
.dir-editorial .ed-feature-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.dir-editorial .ed-feature-fig { margin-inline: calc(-1 * var(--gutter)); }
.dir-editorial .ed-feature-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.dir-editorial .ed-feature-move { position: absolute; inset: -9% 0; }
.dir-editorial .ed-feature-move .media-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dir-editorial .ed-feature-copy { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.dir-editorial .ed-feature-copy .ed-folio { max-width: 22rem; }
.dir-editorial .ed-feature-copy .ed-stair { font-size: min(calc(clamp(2.1rem, 4.4vw, 4.4rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.1rem, 4.4vw, 4.4rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.42))); }
.dir-editorial .ed-feature-text { display: grid; gap: 1em; max-width: 36rem; }
.dir-editorial .ed-feature-copy .ed-more { justify-self: start; }
@media (min-width: 960px) {
  .dir-editorial .ed-feature-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ed-gap); }
  .dir-editorial .ed-feature-fig { grid-column: 1 / 7; margin-inline: calc(-1 * var(--ed-bleed)) 0; }
  .dir-editorial .ed-feature-fig .ed-credit { margin-inline: var(--ed-bleed) 0; }
  .dir-editorial .ed-feature-copy { grid-column: 8 / -1; }
  .dir-editorial .ed-feature.no-media .ed-feature-copy { grid-column: 3 / 11; }
}

/* ---- The pull quote ----------------------------------------------------------------------- */
.dir-editorial .ed-quote .wrap { display: grid; gap: clamp(28px, 4vw, 56px); }
.dir-editorial .ed-quote-fig { margin: 0; }
.dir-editorial .ed-quote-mark {
  display: block;
  height: .46em;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 13rem);
  font-weight: var(--head-weight);
  line-height: .92;
}
.dir-editorial .ed-quote-text { margin: 0; }
.dir-editorial .ed-quote-text p {
  max-width: calc(22ch * var(--chs, 1));
  font-family: var(--font-display);
  font-size: calc(clamp(1.9rem, 4.6vw, 4.6rem) * var(--head-size));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.08;
  text-wrap: balance;
}
.dir-editorial .ed-quote-by {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(26px, 3vw, 42px);
  color: var(--muted);
  font: var(--ed-label);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.dir-editorial .ed-quote-dash { width: 48px; height: 1px; background: var(--ink); }
.dir-editorial .ed-quote-note { max-width: 40rem; }
@media (min-width: 960px) {
  .dir-editorial .ed-quote .wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ed-gap); }
  .dir-editorial .ed-quote-fig { grid-column: 2 / 12; }
  .dir-editorial .ed-quote-note { grid-column: 8 / 12; }
}

/* ---- Benefits: notes in Roman figures ----------------------------------------------------- */
.dir-editorial .ed-notes { display: grid; gap: 0 var(--ed-gap); margin: 0; padding: 0; list-style: none; }
.dir-editorial .ed-note {
  display: grid;
  grid-template-columns: clamp(56px, 6vw, 92px) minmax(0, 1fr);
  gap: 6px 18px;
  padding-block: clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--ink);
}
.dir-editorial .ed-note-no {
  grid-row: span 2;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: calc(clamp(1.6rem, 2.6vw, 2.4rem) * var(--head-size));
  font-style: italic;
  font-weight: var(--head-weight);
  line-height: 1;
}
.dir-editorial .ed-note-title { margin: 0; font-size: calc(clamp(1.25rem, 1.8vw, 1.6rem) * var(--head-size)); line-height: 1.15; }
.dir-editorial .ed-note-text { color: var(--muted); }
/* Columns from the number of notes: none is ever left alone on its row. */
@media (min-width: 760px) {
  .dir-editorial .ed-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
  .dir-editorial .ed-notes > .ed-note:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .dir-editorial .ed-notes--3, .dir-editorial .ed-notes--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dir-editorial .ed-notes--3 > .ed-note:last-child:nth-child(odd) { grid-column: auto; }
  .dir-editorial .ed-notes--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dir-editorial .ed-notes--5 > .ed-note { grid-column: span 2; }
  .dir-editorial .ed-notes--5 > .ed-note:nth-child(n+4) { grid-column: span 3; }
}

/* ---- Steps: full-bleed colour bands, light to dark, with ghost numerals ---------------------- */
.dir-editorial .ed-process { padding-bottom: 0; }
.dir-editorial .ed-process .ed-head { margin-bottom: clamp(36px, 5vw, 72px); }
.dir-editorial .ed-bands { margin: 0; padding: 0; list-style: none; }
.dir-editorial .ed-band { --band-ink: var(--ink); --band-muted: var(--muted); padding-block: calc(clamp(52px, 8vw, 112px) * var(--density, 1)); background: var(--surface); color: var(--band-ink); }
/* A tint of the accent on the surface: decoration under ink and muted text that keep their
   contrast; the deeper one carries ink only. */
.dir-editorial .ed-band--tint { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.dir-editorial .ed-band--deep { --band-muted: var(--ink); background: color-mix(in srgb, var(--accent) 24%, var(--surface)); }
.dir-editorial .ed-band--band { --band-ink: var(--on-band); --band-muted: var(--muted-band); --focus: var(--on-band); background: var(--band); }
.dir-editorial .ed-band-in { display: grid; gap: 18px 24px; }
.dir-editorial .ed-band-no {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 3rem + 7vw, 10rem);
  font-style: var(--head-style);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: var(--head-weight);
  letter-spacing: -.04em;
  line-height: .8;
  opacity: .24;
}
.dir-editorial .ed-band-no > span { display: block; }
.dir-editorial .ed-band-title { max-width: 16em; margin: 0; color: var(--band-ink); font-size: calc(clamp(1.7rem, 1.2rem + 2vw, 3rem) * var(--head-size)); line-height: 1.04; text-wrap: balance; }
.dir-editorial .ed-band-text { max-width: 44ch; margin-top: 16px; color: var(--band-muted); }
.dir-editorial .ed-band-text p + p { margin-top: .8em; }
.dir-editorial .ed-band-fig { width: min(64%, 280px); margin: 10px 0 0; }
.dir-editorial .ed-band:nth-child(even) .ed-band-fig { justify-self: end; }
.dir-editorial .ed-band-frame { overflow: hidden; background: color-mix(in srgb, var(--band-ink) 8%, transparent); }
.dir-editorial .ed-band-media { aspect-ratio: 4 / 5; border-radius: 0; }
@media (min-width: 760px) {
  .dir-editorial .ed-band-in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ed-gap); align-items: start; }
  .dir-editorial .ed-band-no { grid-column: 1 / 4; }
  .dir-editorial .ed-band-copy { grid-column: 4 / 10; padding-top: .4em; }
  .dir-editorial .has-pictures .ed-band-copy { grid-column: 4 / 9; }
  .dir-editorial .ed-band-fig { grid-column: 10 / -1; justify-self: end; width: 100%; max-width: 300px; margin: 0; }
  .dir-editorial .ed-band:nth-child(even) .ed-band-copy { grid-column: 5 / 10; }
  .dir-editorial .has-pictures .ed-band:nth-child(even) .ed-band-copy { grid-column: 5 / 10; grid-row: 1; }
  .dir-editorial .ed-band:nth-child(even) .ed-band-no { grid-column: 2 / 5; grid-row: 1; }
  .dir-editorial .has-pictures .ed-band:nth-child(even) .ed-band-no { grid-column: 1 / 4; }
}

/* ---- Questions ---------------------------------------------------------------------------- */
.dir-editorial .ed-faq { border-top: 1px solid var(--ink); }
.dir-editorial .faq details { padding-block: 4px; border-bottom: 1px solid var(--line); }
.dir-editorial .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-editorial .faq-mark { color: var(--accent-text); }
.dir-editorial .faq-a { max-width: 62ch; padding-bottom: 24px; }

/* ---- Examples of work: a picture and its caption, sides changing -------------------------- */
.dir-editorial .ed-pairs { display: grid; gap: clamp(56px, 8vw, 128px); margin: 0; padding: 0; list-style: none; }
.dir-editorial .ed-pair-link { display: grid; gap: 20px; color: inherit; text-decoration: none; }
.dir-editorial .ed-pair-frame { overflow: hidden; }
.dir-editorial .ed-pair-media { aspect-ratio: 3 / 2; border-radius: 0; }
.dir-editorial .ed-pair-media .media-img { transition: transform 1.2s var(--ed-ease); }
.dir-editorial .ed-pair-copy { display: grid; gap: 12px; align-content: start; }
.dir-editorial .ed-pair-no { color: var(--accent-text); font: var(--ed-label); letter-spacing: .14em; }
.dir-editorial .ed-pair-title { margin: 0; font-size: calc(clamp(1.6rem, 3vw, 2.8rem) * var(--head-size)); line-height: 1.04; }
.dir-editorial .ed-pair-text { max-width: 40ch; color: var(--muted); }
.dir-editorial .ed-pair-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: var(--ed-label); letter-spacing: .16em; text-transform: uppercase; }
@media (hover: hover) {
  .dir-editorial .ed-pair-link:hover .media-img { transform: scale(1.04); }
}
@media (min-width: 960px) {
  .dir-editorial .ed-pair-link { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ed-gap); align-items: end; }
  .dir-editorial .ed-pair-frame { grid-column: 1 / 8; grid-row: 1; }
  .dir-editorial .ed-pair-copy { grid-column: 9 / -1; grid-row: 1; padding-bottom: 8px; }
  .dir-editorial .ed-pair:nth-child(even) .ed-pair-frame { grid-column: 6 / -1; }
  .dir-editorial .ed-pair:nth-child(even) .ed-pair-copy { grid-column: 1 / 5; }
}

/* ---- Plans: a price list ------------------------------------------------------------------ */
.dir-editorial .ed-menu-list { display: grid; max-width: 980px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.dir-editorial .ed-menu-item { padding-block: clamp(20px, 2.6vw, 32px); border-bottom: 1px solid var(--line); }
.dir-editorial .ed-menu-line { display: flex; align-items: baseline; gap: 14px; }
.dir-editorial .ed-menu-name { min-width: 0; margin: 0; font-size: calc(clamp(1.35rem, 2.4vw, 2.2rem) * var(--head-size)); }
.dir-editorial .ed-menu-dots { flex: 1; min-width: 24px; border-bottom: 1px dotted var(--muted); transform: translateY(-.3em); }
.dir-editorial .ed-menu-line .price {
  font-family: var(--font-display);
  font-size: calc(clamp(1.3rem, 2.2vw, 2rem) * var(--head-size));
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.dir-editorial .ed-menu-line .price-ask { font-family: var(--font-body); font-size: .9375rem; }
.dir-editorial .ed-menu-text { max-width: 60ch; margin-top: 8px; color: var(--muted); }
@media (min-width: 960px) {
  .dir-editorial .ed-menu-list { margin-inline-start: 25%; }
}

/* ---- The brand's world: a photo essay ----------------------------------------------------- */
.dir-editorial .ed-essay-list { display: grid; gap: clamp(36px, 5vw, 72px) var(--ed-gap); margin: 0; padding: 0; list-style: none; }
.dir-editorial .ed-essay-fig { margin: 0; }
.dir-editorial .ed-essay-frame { overflow: hidden; }
.dir-editorial .ed-essay-media { aspect-ratio: 4 / 5; border-radius: 0; }
.dir-editorial .ed-essay-cap { display: flex; gap: 14px; margin-top: 12px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.dir-editorial .ed-essay-no { flex: none; padding-top: .2em; color: var(--accent-text); font: var(--ed-label); letter-spacing: .12em; }
@media (min-width: 760px) {
  .dir-editorial .ed-essay-list { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .dir-editorial .ed-essay-item { grid-column: span 6; }
  .dir-editorial .ed-essay-item:nth-child(3n+1) { grid-column: 1 / -1; }
  .dir-editorial .ed-essay-item:nth-child(3n+1) .ed-essay-media { aspect-ratio: 16 / 9; }
  .dir-editorial .ed-essay-item:nth-child(3n+2) { grid-column: 2 / 7; }
  .dir-editorial .ed-essay-item:nth-child(3n) { grid-column: 8 / 12; margin-top: clamp(64px, 10vw, 180px); }
  .dir-editorial .ed-essay-item:nth-child(3n) .ed-essay-media { aspect-ratio: 1 / 1; }
}

/* ---- Promises: a strip between rules ------------------------------------------------------ */
.dir-editorial .ed-pledges { display: grid; margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--ink); }
.dir-editorial .ed-pledge { display: grid; align-content: start; gap: 8px; padding-block: clamp(20px, 2.6vw, 32px); }
.dir-editorial .ed-pledge + .ed-pledge { border-top: 1px solid var(--line); }
.dir-editorial .ed-pledge-no { color: var(--accent-text); font: var(--ed-label); letter-spacing: .14em; }
.dir-editorial .ed-pledge-title { margin: 0; font-size: calc(1.25rem * var(--head-size)); line-height: 1.15; }
.dir-editorial .ed-pledge-text { color: var(--muted); font-size: .975rem; }
@media (min-width: 760px) {
  .dir-editorial .ed-pledges { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
  .dir-editorial .ed-pledge { padding-inline: clamp(18px, 2.4vw, 36px); }
  .dir-editorial .ed-pledge:first-child { padding-inline-start: 0; }
  .dir-editorial .ed-pledge:last-child { padding-inline-end: 0; }
  .dir-editorial .ed-pledge + .ed-pledge { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---- The closing call: the back cover ------------------------------------------------------ */
.dir-editorial .cta-band { padding-block: calc(clamp(80px, 11vw, 168px) * var(--density, 1)); background: var(--surface); color: var(--ink); }
.dir-editorial .cta-inner { display: grid; justify-content: center; justify-items: center; gap: clamp(24px, 3vw, 36px); text-align: center; }
.dir-editorial .cta-inner::before { content: ""; width: 56px; height: 1px; background: var(--ink); }
.dir-editorial .cta-inner > div { max-width: 52rem; }
.dir-editorial .cta-band h2 { font-size: min(calc(clamp(2.3rem, 5.8vw, 5.6rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.3rem, 5.8vw, 5.6rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.7))); line-height: 1; letter-spacing: calc(var(--head-track) - .015em); }
.dir-editorial .cta-text { margin-top: 18px; color: var(--muted); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.dir-editorial .cta-band .btn-invert { background: var(--accent); color: var(--on-accent); }

/* ---- Footer: the colophon ----------------------------------------------------------------- */
.dir-editorial .ed-footer { padding-block: clamp(56px, 7vw, 96px) 28px; overflow-x: clip; background: var(--bg); color: var(--ink); }
.dir-editorial .ed-foot-rule { height: 5px; margin-bottom: clamp(36px, 5vw, 64px); border-block: 1px solid var(--ink); }
.dir-editorial .ed-foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 32px var(--ed-gap); }
.dir-editorial .ed-footer .brand-footer { font-size: calc(1.6rem * var(--head-size)); }
.dir-editorial .ed-footer .footer-tagline { max-width: 24rem; color: var(--muted); }
.dir-editorial .ed-footer .footer-head { margin-bottom: 14px; color: var(--ink); font: var(--ed-label); letter-spacing: .16em; text-transform: uppercase; }
.dir-editorial .ed-footer .footer-col, .dir-editorial .ed-footer .footer-nav, .dir-editorial .ed-footer .footer-contacts { color: var(--muted); }
.dir-editorial .ed-footer a { text-decoration: none; }
.dir-editorial .ed-footer .footer-col a:hover, .dir-editorial .ed-footer .footer-col [aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.dir-editorial .ed-wordmark {
  margin: clamp(48px, 7vw, 104px) 0 0;
  overflow: clip;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: min(19vw, calc(min(100vw - 2 * var(--gutter), var(--maxw)) / (var(--chars, 10) * .5)));
  font-style: var(--head-style);
  font-weight: var(--head-weight);
  letter-spacing: calc(var(--head-track) - .03em);
  line-height: .86;
  text-align: center;
  white-space: nowrap;
}
.dir-editorial .ed-foot-base { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.dir-editorial .ed-foot-base .footer-top { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font: var(--ed-label); letter-spacing: .16em; text-transform: uppercase; }
@media (min-width: 960px) {
  .dir-editorial .ed-foot-grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
}

/* ---- Inner pages ---------------------------------------------------------------------------- */
.dir-editorial .page-head { padding-block: calc(clamp(36px, 6vw, 96px) * var(--density, 1)) calc(clamp(30px, 4vw, 60px) * var(--density, 1)); }
.dir-editorial .page-head:not(.notfound) .wrap { display: grid; gap: 18px; }
.dir-editorial .page-head h1 {
  max-width: calc(18ch * var(--chs, 1));
  font-size: min(calc(clamp(2.4rem, 6.2vw, 6.4rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.4rem, 6.2vw, 6.4rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.83)));
  line-height: .96;
  letter-spacing: calc(var(--head-track) - .02em);
}
.dir-editorial .page-head .lead { max-width: 40rem; margin: 0; }
.dir-editorial .page-head:not(.notfound) .wrap::after { content: ""; height: 1px; margin-top: clamp(12px, 2vw, 28px); background: var(--ink); }
@media (min-width: 960px) {
  .dir-editorial .page-head:not(.notfound) .wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ed-gap); align-items: end; }
  .dir-editorial .page-head:not(.notfound) .wrap > *, .dir-editorial .page-head:not(.notfound) .wrap::after { grid-column: 1 / -1; }
  .dir-editorial .page-head:not(.notfound) .wrap > h1 { grid-column: 1 / 11; }
  .dir-editorial .page-head:not(.notfound) .wrap > .lead { grid-column: 7 / -1; }
}
.dir-editorial .crumbs { margin-bottom: 8px; font: var(--ed-label); letter-spacing: .14em; text-transform: uppercase; }
.dir-editorial .notfound-code { font-size: clamp(5rem, 18vw, 13rem); font-style: var(--head-style); }

/* Section headings of inner pages (related products, other articles). */
.dir-editorial .sec-head { padding-top: 18px; border-top: 1px solid var(--ink); }
.dir-editorial .sec-head h2 { font-size: min(calc(clamp(1.8rem, 3.4vw, 3rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(1.8rem, 3.4vw, 3rem) * var(--head-size) * var(--tk-keep, 1)), calc(min(46rem, var(--tk-col, 100vw)) / (var(--tk-word, 20) * var(--tk-cw, 0.62))))); line-height: 1.02; }
.dir-editorial .sec-no { font: var(--ed-label); letter-spacing: .16em; }
.dir-editorial .link-more { color: var(--ink); font: var(--ed-label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }

/* Lists of products, services and articles: captions under pictures, a rule over each caption. */
.dir-editorial .items { gap: clamp(40px, 4.6vw, 64px) var(--ed-gap); }
@media (min-width: 760px) {
  .dir-editorial .items { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
.dir-editorial .item-link { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.dir-editorial .item .item-link .item-body {
  position: static;
  gap: 6px;
  margin-top: 14px;
  padding: 12px 0 0;
  border-top: 1px solid var(--ink);
  background: none;
  color: inherit;
}
.dir-editorial .item .item-link .item-body :is(.price, .item-more) { color: var(--accent-text); }
.dir-editorial .item .item-link .item-body :is(.item-tag, .item-text) { color: var(--muted); }
.dir-editorial .item .item-link .item-body .price-ask { color: var(--muted); }
.dir-editorial.ui-grid-list .items:not(.items-related) .item .item-body { margin-top: 0; padding-top: 0; border-top: 0; }
.dir-editorial .media, .dir-editorial .item-media { border-radius: 0; }
.dir-editorial .item-tag { font: var(--ed-label); letter-spacing: .14em; text-transform: uppercase; }
.dir-editorial .item-title {
  font-family: var(--font-display);
  font-size: calc(clamp(1.25rem, 1.6vw, 1.5rem) * 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);
}
.dir-editorial .price { font-variant-numeric: lining-nums tabular-nums; }
.dir-editorial .item-more { font: var(--ed-label); letter-spacing: .14em; text-transform: uppercase; }
.dir-editorial .media.is-empty { background: var(--surface); }
.dir-editorial .media-letter {
  color: color-mix(in srgb, var(--accent) 34%, var(--surface));
  font-size: clamp(3rem, 9vw, 7rem);
  font-style: var(--head-style);
  opacity: 1;
}

/* Cards with icons, plans and steps of the inner pages: rules instead of boxes. */
.dir-editorial .feature { padding: 22px 0 0; border: 0; border-top: 1px solid var(--ink); border-radius: 0; background: none; }
.dir-editorial .feature-icon { width: auto; height: auto; background: none; color: var(--accent-text); }
.dir-editorial .feature h3 { font-size: calc(1.3rem * var(--head-size)); }
.dir-editorial .features { gap: clamp(28px, 4vw, 48px) var(--ed-gap); }
.dir-editorial .plans { gap: clamp(28px, 4vw, 48px) var(--ed-gap); }
.dir-editorial .plan { padding: 24px 0 0; border: 0; border-top: 1px solid var(--ink); border-radius: 0; background: none; }
.dir-editorial .plan .price { font-size: calc(2.2rem * var(--head-size)); }
@media (hover: hover) {
  .dir-editorial .feature:hover, .dir-editorial .plan:hover { transform: none; box-shadow: none; }
}
.dir-editorial .how-step { border-top: 1px solid var(--ink); }
.dir-editorial .how-step .step-no, .dir-editorial .step-no {
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: calc(2.4rem * var(--head-size));
  font-weight: var(--head-weight);
  line-height: 1;
}
.dir-editorial .includes .icon { color: var(--accent-text); }

/* Product, article and other reading pages. */
.dir-editorial .product-media { aspect-ratio: 4 / 5; }
.dir-editorial .product-copy h1 { font-size: min(calc(clamp(2.2rem, 4.6vw, 4.4rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(2.2rem, 4.6vw, 4.4rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.45))); line-height: 1; letter-spacing: calc(var(--head-track) - .015em); }
.dir-editorial .product-copy .price { font-family: var(--font-display); font-size: calc(2rem * var(--head-size)); }
.dir-editorial .specs { border-top: 1px solid var(--ink); }
.dir-editorial .specs dt { font: var(--ed-label); letter-spacing: .12em; text-transform: uppercase; }
.dir-editorial .prose { font-size: 1.0625rem; line-height: 1.78; }
.dir-editorial .prose h2 { font-size: min(calc(clamp(1.6rem, 2.8vw, 2.3rem) * var(--head-size) * var(--head-scale, 1)), max(calc(clamp(1.6rem, 2.8vw, 2.3rem) * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.55))); line-height: 1.1; }
.dir-editorial .toc { padding-top: 14px; border-top: 1px solid var(--ink); }
.dir-editorial .toc-title { font: var(--ed-label); letter-spacing: .16em; text-transform: uppercase; }
.dir-editorial .gallery-title { font-size: min(calc(1.3rem * var(--head-size) * var(--head-scale, 1)), max(calc(1.3rem * var(--head-size) * var(--tk-keep, 1)), calc(var(--tk-cap, 999px) * 0.25))); }
.dir-editorial .scene-caption { color: var(--muted); }
.dir-editorial .wide-media, .dir-editorial .duo-media { border-radius: 0; }

/* Forms: a line to write on. */
.dir-editorial .field label { font: var(--ed-label); letter-spacing: .14em; text-transform: uppercase; }
.dir-editorial .field input, .dir-editorial .field textarea {
  padding-inline: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}
.dir-editorial .field input:focus-visible, .dir-editorial .field textarea:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.dir-editorial .contact-card { border-top: 1px solid var(--ink); border-radius: 0; background: var(--surface); }
.dir-editorial .chip { border-color: var(--ink); font: var(--ed-label); letter-spacing: .12em; text-transform: uppercase; }

/* ---- Tokens of the design (premium/tokens.css): the magazine's own pictures and buttons ---- */
/* Pictures: the frames of the spreads take the shape (the picture inside follows its frame); the
   feature picture runs to the edge of the screen and keeps square corners; a service page holds
   its words beside its picture, so the page takes the gentler shape of a card. */
.dir-editorial[class*="ui-pic-"] :is(.ed-row-media, .ed-tile-frame, .ed-story-frame, .ed-band-frame, .ed-pair-frame, .ed-essay-frame) { border-radius: var(--pic); }
.dir-editorial[class*="ui-pic-"] .ed-page { overflow: clip; border-radius: var(--pic-card); }
/* Buttons: the closing call takes the same shape as the others. */
.dir-editorial.ui-btn-outline .cta-band .btn-invert { border: 2px solid currentColor; background: transparent; color: inherit; }
.dir-editorial.ui-btn-underline .cta-band .btn-invert { background: transparent; color: inherit; }

/* ---- Motion that only plays when it is allowed ------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ed-redraw {
    0% { transform: scaleX(1); transform-origin: 100% 50%; }
    45% { transform: scaleX(0); transform-origin: 100% 50%; }
    46% { transform: scaleX(0); transform-origin: 0 50%; }
    100% { transform: scaleX(1); transform-origin: 0 50%; }
  }
  .dir-editorial a:hover .ed-u::after { animation: ed-redraw .9s var(--ed-ease); }
}

/* If the engine gives up (html.fx-off) or the page is printed, what motion.js moved stands still
   in its place. */
html.fx-off .dir-editorial :is(.ed-li, .ed-draw, .ed-col-line, .ed-spine, .ed-note-no, .ed-pledge-no) {
  opacity: 1 !important;
  transform: none !important;
}
@media print {
  .dir-editorial :is(.ed-li, .ed-draw, .ed-col-line, .ed-spine, .ed-note-no, .ed-pledge-no) {
    opacity: 1 !important;
    transform: none !important;
  }
  .dir-editorial .ed-row-media { opacity: 1 !important; }
}

/* ---- 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.52;
  /* The same for capitals, and for the name of the brand set in the case of the headings. */
  --fr-gu: 0.72;
  --fr-gm: 0.53;
  /* 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.52;
  --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;
}
