/* Carbon V4 : the site after the opening: calm, editorial, precise */

/* ---------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 var(--gutter);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: rgba(242, 237, 228, 0.07);
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 12px/1 var(--sans); letter-spacing: 0.34em; color: var(--ink); }
.wordmark img { width: 26px; height: 26px; border-radius: 7px; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav > a { font: 500 12px/1 var(--sans); letter-spacing: 0.06em; color: var(--ink-2); text-decoration: none; padding: 8px 0; transition: color .3s; }
.site-nav > a { position: relative; }
.site-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; opacity: .5; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease-out); }
.site-nav > a:hover, .site-nav > a[aria-current] { color: var(--ink); }
@media (hover: hover) { .site-nav > a:hover::after { transform: none; transform-origin: 0 50%; } }
.site-nav > a[aria-current]::after { transform: none; opacity: .35; }
/* what only the full-screen menu shows */
.nav-num, .nav-foot { display: none; }
.header-cta {
  display: inline-block; padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(242, 237, 228, 0.2); color: var(--ink); text-decoration: none;
  font: 500 12px/1 var(--sans); letter-spacing: 0.02em; transition: border-color .3s, background-color .3s;
}
.header-cta:hover { border-color: rgba(242, 237, 228, 0.5); background: rgba(242, 237, 228, 0.05); }
.header-cta span[aria-hidden] { display: inline-block; margin-left: 2px; transition: transform .5s var(--ease-out); }
@media (hover: hover) { .header-cta:hover span[aria-hidden] { transform: translate3d(2px, -2px, 0); } }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
html.sig-bright .site-header:not(.is-solid) { color: #1b1712; }
html.sig-bright .site-header:not(.is-solid) .wordmark,
html.sig-bright .site-header:not(.is-solid) .site-nav > a,
html.sig-bright .site-header:not(.is-solid) .header-cta { color: #1b1712; }
html.sig-bright .site-header:not(.is-solid) .header-cta { border-color: rgba(27, 23, 18, 0.28); }
html.sig-bright .site-header:not(.is-solid) .menu-toggle span { background: #1b1712; }

@media (max-width: 900px) {
  .site-header { height: 60px; gap: 12px; }
  .menu-toggle { display: block; margin-left: 2px; }
  .header-cta { margin-left: auto; padding: 8px 12px; font-size: 12px; transition: border-color .3s, background-color .3s, opacity .4s var(--ease), visibility .4s; }

  /* the menu is a page of its own: a curtain comes down, the chapters are set large in the serif, centred */
  .wordmark, .menu-toggle { position: relative; z-index: 2; }
  #main-nav {
    position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: 1;
    margin: 0; gap: 0; flex-direction: column; align-items: center;
    padding: 96px var(--gutter) calc(30px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    background:
      radial-gradient(130% 62% at 50% 0%, rgba(201, 169, 97, 0.12), rgba(201, 169, 97, 0) 64%),
      radial-gradient(100% 46% at 50% 100%, rgba(201, 169, 97, 0.05), rgba(201, 169, 97, 0) 72%),
      #0a0a09;
    clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden;
    transition: clip-path .55s var(--ease-in-out), opacity .45s var(--ease), visibility 0s linear .55s;
  }
  #main-nav.is-open {
    clip-path: inset(0 0 0 0); opacity: 1; visibility: visible;
    transition: clip-path .9s var(--ease-out), opacity .5s var(--ease), visibility 0s;
  }
  #main-nav > a {
    display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 10px 0;
    font: 500 clamp(36px, calc(4.6vw + 20px), 60px)/1.02 var(--serif); letter-spacing: -0.01em; color: var(--ink);
    opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), filter .22s var(--ease), color .35s var(--ease);
  }
  #main-nav > a:first-of-type { margin-top: auto; }
  #main-nav > a:last-of-type { margin-bottom: auto; }
  #main-nav > a::after { display: none; }
  #main-nav > a:hover, #main-nav > a:focus-visible { color: var(--champagne-soft); }
  #main-nav > a[aria-current] { font-style: italic; color: var(--champagne-soft); }
  #main-nav > a:active { opacity: .7; }
  .nav-num { display: block; font: 600 10px/1 var(--sans); font-style: normal; letter-spacing: 0.24em; margin-right: -0.24em; color: var(--champagne); }
  #main-nav.is-open > a { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s var(--ease-out), color .35s var(--ease); }
  #main-nav.is-open > a:nth-of-type(1) { transition-delay: .16s, .16s, .16s, 0s; }
  #main-nav.is-open > a:nth-of-type(2) { transition-delay: .22s, .22s, .22s, 0s; }
  #main-nav.is-open > a:nth-of-type(3) { transition-delay: .28s, .28s, .28s, 0s; }
  #main-nav.is-open > a:nth-of-type(4) { transition-delay: .34s, .34s, .34s, 0s; }
  #main-nav.is-open > a:nth-of-type(5) { transition-delay: .40s, .40s, .40s, 0s; }
  /* the way to the store closes the page; the official badge only fades in, it never moves */
  .nav-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 30px; opacity: 0; transition: opacity .22s var(--ease); }
  .nav-foot::before { content: ""; width: 36px; height: 1px; margin-bottom: 14px; background: var(--champagne); opacity: .55; }
  #main-nav.is-open .nav-foot { opacity: 1; transition: opacity .9s var(--ease) .5s; }
  .nav-meta { font: 500 10px/1.4 var(--sans); letter-spacing: 0.2em; margin-right: -0.2em; text-transform: uppercase; color: var(--ink-3); }

  /* while it is open: the page behind stays still, the header becomes part of the menu */
  html.menu-open, html.menu-open body { overflow: hidden; }
  html.menu-open .site-header, html.menu-open .site-header.is-solid { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
  html.menu-open .header-cta { opacity: 0; visibility: hidden; }
  html.motion-reduced #main-nav, html.motion-reduced #main-nav.is-open { clip-path: none; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
  html.motion-reduced #main-nav.is-open { transition: opacity .3s var(--ease), visibility 0s; }
  html.motion-reduced #main-nav > a, html.motion-reduced #main-nav.is-open > a { transform: none; filter: none; transition: opacity .3s var(--ease), color .35s var(--ease); transition-delay: 0s; }
}
/* a phone held sideways: the same menu, tighter */
@media (max-width: 900px) and (max-height: 560px) {
  #main-nav { padding-top: 64px; }
  #main-nav > a { padding: 5px 0; font-size: 28px; }
  .nav-num, .nav-foot::before, .nav-meta { display: none; }
  .nav-foot { padding-top: 16px; }
}
@media (max-width: 400px) { .header-cta .cta-long { display: none; } }

/* ---------------- shared editorial pieces */
/* one rhythm for the whole page: the same breath between two sections, the same between a heading and what it introduces */
:root { --section-gap: clamp(96px, 11vw, 160px); --block-gap: clamp(40px, 5vw, 72px); }
.chapter { position: relative; padding: var(--section-gap) var(--gutter) 0; max-width: 1320px; margin: 0 auto; }
/* the tour ends on a stage as tall as the screen: its own margin already counts as part of the breath */
.collection + .stories { padding-top: calc(var(--section-gap) * 0.55); }
.section-meta { position: relative; display: flex; justify-content: space-between; gap: 24px; margin-bottom: var(--block-gap); padding-bottom: 16px; font: 500 10px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.section-meta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: 0 50%; }
html.js .section-meta::after { transform: scaleX(0); transition: transform 1.6s var(--ease-out) .1s; }
html.js .section-meta span { opacity: 0; transition: opacity 1s var(--ease) .35s; }
html.js .section-meta.is-in::after { transform: none; }
html.js .section-meta.is-in span { opacity: 1; }
html.motion-reduced .section-meta::after, html.motion-reduced .section-meta span { transform: none !important; opacity: 1 !important; transition: none !important; }
.eyebrow { margin: 0 0 20px; font: 600 11px/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne); }
.display { margin: 0; font: 500 clamp(40px, 5.2vw, 76px)/1.02 var(--serif); letter-spacing: -0.012em; color: var(--ink); }
.display em { font-style: italic; color: var(--champagne-soft); }
.lead { margin: 28px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font: 500 13px/1 var(--sans); letter-spacing: 0.02em; color: var(--ink); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid rgba(201, 169, 97, 0.5); transition: border-color .3s, gap .3s; }
.text-link:hover { border-color: var(--champagne); gap: 12px; }
.caption { margin-top: 18px; font: 500 10px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); text-align: center; }

.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1.1s var(--ease) var(--rd, 0s), transform 1.3s var(--ease-out) var(--rd, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.motion-reduced .reveal { opacity: 1 !important; transform: none !important; transition: none; }
/* headings arrive word by word, coming into focus */
html.js .display.is-split { opacity: 1; transform: none; }
.display .word { display: inline-block; }
html.js .display.is-split .word { opacity: 0; transform: translate3d(0, 0.42em, 0); filter: blur(7px); transition: opacity .9s var(--ease) calc(var(--i) * 55ms + var(--rd, 0s)), transform 1.1s var(--ease-out) calc(var(--i) * 55ms + var(--rd, 0s)), filter .9s var(--ease) calc(var(--i) * 55ms + var(--rd, 0s)); }
html.js .display.is-split.is-in .word { opacity: 1; transform: none; filter: none; }
html.motion-reduced .display .word { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
h1, h2, h3, .display { text-wrap: balance; }
p { text-wrap: pretty; }

/* phone frame for real captures */
.phone {
  --pw: min(330px, 74vw);
  position: relative; width: var(--pw); margin: 0 auto;
  padding: calc(var(--pw) * 0.034); border-radius: calc(var(--pw) * 0.165);
  background: #030303;
  box-shadow: 0 0 0 1.5px #2b2927, 0 0 0 2.5px #111, 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 30px 120px -60px rgba(201, 169, 97, 0.18);
}
.phone::before { content: ""; position: absolute; left: 50%; top: calc(var(--pw) * 0.057); width: calc(var(--pw) * 0.28); height: calc(var(--pw) * 0.082); margin-left: calc(var(--pw) * -0.14); border-radius: 999px; background: #000; z-index: 2; }
.phone img { width: 100%; height: auto; aspect-ratio: 800 / 1738; border-radius: calc(var(--pw) * 0.132); background: #111; }
.phone-stack { position: relative; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-media { display: flex; justify-content: center; }

/* parallax: set by the script while the element crosses the viewport */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
html.motion-reduced [data-parallax], html.motion-reduced .story-image img { transform: none !important; }

/* ---------------- manifesto */
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.manifesto .display { font-size: clamp(40px, 5vw, 76px); }
.manifesto .display em { display: block; }
.manifesto .lead { max-width: 44ch; }
/* the figures, stacked on a hairline grid; each row draws its line, then its number rolls in and counts */
.figures { list-style: none; margin: 0; padding: 0; }
.figure { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(20px, 2.4vw, 36px); align-items: end; align-items: last baseline; padding: clamp(22px, 2.6vw, 34px) 0; }
.figure::before, .figure:last-child::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: 0 50%; }
.figure:last-child::after { top: auto; bottom: 0; }
.figure-num { display: block; font: 500 clamp(54px, 5.6vw, 88px)/0.86 var(--serif); letter-spacing: -0.015em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.figure-label { margin: 0; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.figure-label small { display: block; margin-top: 7px; font: 400 13px/1.5 var(--sans); color: var(--ink-3); }
html.js .figure::before, html.js .figure:last-child::after { transform: scaleX(0); transition: transform 1.4s var(--ease-out) calc(var(--fi) * 140ms); }
html.js .figure:last-child::after { transition-delay: calc(var(--fi) * 140ms + 220ms); }
html.js .figure-num { opacity: 0; transform: translate3d(0, 0.28em, 0); filter: blur(8px); transition: opacity 1s var(--ease) calc(var(--fi) * 140ms + 140ms), transform 1.3s var(--ease-out) calc(var(--fi) * 140ms + 140ms), filter 1s var(--ease) calc(var(--fi) * 140ms + 140ms); }
html.js .figure-label { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity 1s var(--ease) calc(var(--fi) * 140ms + 300ms), transform 1.2s var(--ease-out) calc(var(--fi) * 140ms + 300ms); }
html.js .figures.is-in .figure::before, html.js .figures.is-in .figure:last-child::after { transform: none; }
html.js .figures.is-in .figure-num, html.js .figures.is-in .figure-label { opacity: 1; transform: none; filter: none; }
html.motion-reduced .figure::before, html.motion-reduced .figure::after, html.motion-reduced .figure-num, html.motion-reduced .figure-label { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }

/* ---------------- collection: a guided tour of three screens, driven by the scroll */
.tour-intro .display em { display: block; text-wrap: balance; }
.tour { position: relative; margin-top: clamp(16px, 2.5vw, 40px); }
.tour-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
html.js .tour { height: 330vh; }
html.js .tour-stage { position: sticky; top: 0; height: 100vh; padding-top: 68px; }
@supports (height: 100svh) {
  html.js .tour { height: 330svh; }
  html.js .tour-stage { height: 100svh; }
}
.tour-media { position: relative; display: flex; flex-direction: column; align-items: center; isolation: isolate; }
.tour-glow {
  position: absolute; left: 50%; top: 47%; z-index: -1; width: min(760px, 150%); aspect-ratio: 1;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--glow, 38 64 190) / 0.26), rgb(var(--glow, 38 64 190) / 0.06) 55%, transparent 72%);
}
.phone--tour { --pw: min(318px, 35vh, 74vw); }
@supports (height: 100svh) { .phone--tour { --pw: min(318px, 35svh, 74vw); } }
.screens {
  position: relative; aspect-ratio: 800 / 1738; overflow: hidden; background: #0b0b0b;
  border-radius: calc(var(--pw) * 0.132); isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.screen { position: absolute; inset: 0; margin: 0; transform: translate3d(0, 100%, 0); will-change: transform; }
.screen.is-current { transform: none; }
.phone .screen img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; }
.screen::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.screen + .screen { box-shadow: 0 -24px 60px -12px rgba(0, 0, 0, 0.7); }
.tour-media .caption { margin-top: 26px; }

.tour-steps {
  position: relative; display: inline-grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(242, 237, 228, 0.02);
}
.tour-steps::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -13px; height: 1px;
  background: linear-gradient(90deg, var(--champagne) calc(var(--tour-q, 0) * 100%), rgba(242, 237, 228, 0.1) 0);
}
.tour-steps button {
  position: relative; z-index: 1; border: 0; background: none; padding: 11px 22px; border-radius: 999px;
  font: 500 13px/1 var(--sans); color: var(--ink-3); cursor: pointer; white-space: nowrap; transition: color .45s var(--ease);
}
.tour-steps button:hover { color: var(--ink-2); }
.tour-steps button[aria-current] { color: var(--ink); }
.tour-thumb {
  position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc((100% - 8px) / 3); border-radius: 999px;
  background: rgba(242, 237, 228, 0.09); box-shadow: inset 0 0 0 1px rgba(242, 237, 228, 0.07);
  transform: translate3d(calc(var(--tour-s, 0) * 100%), 0, 0);
}
.tour-count { display: flex; align-items: center; gap: 14px; margin: 34px 0 0; font: 500 11px/1 var(--sans); letter-spacing: 0.2em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tour-count-now { position: relative; display: inline-block; width: 2.4ch; height: 1.1em; overflow: hidden; color: var(--champagne); }
.tour-count-now i { position: absolute; left: 0; top: 0; font-style: normal; }
.tour-count-sep { width: 38px; height: 1px; background: var(--line); }
.tour-texts { display: grid; margin-top: 22px; }
.tour-text {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translate3d(0, 16px, 0);
  transition: opacity .5s var(--ease), transform .8s var(--ease-out), visibility 0s linear .5s;
}
.tour-text.is-past { transform: translate3d(0, -16px, 0); }
.tour-text.is-current { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .1s, transform .9s var(--ease-out) .1s, visibility 0s; }
.tour-text h3 { margin: 0; font: 500 clamp(30px, 2.9vw, 42px)/1.08 var(--serif); letter-spacing: -0.01em; }
.tour-text p { margin: 14px 0 0; max-width: 42ch; color: var(--ink-2); }
.tour-panel .text-link { margin-top: 34px; }
html:not(.js) .tour-texts { display: block; }
html:not(.js) .tour-text { opacity: 1; visibility: visible; transform: none; margin-bottom: 22px; }
html:not(.js) .tour-thumb, html:not(.js) .tour-count { display: none; }

/* ---------------- stories */
.stories-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.stories-head p { margin: 0; max-width: 40ch; color: var(--ink-2); justify-self: end; }
.stories-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: var(--block-gap); }
.story-card { position: relative; }
.story-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.story-image { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5; background: #151412; }
.story-image img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.001); transition: filter .8s var(--ease); will-change: transform; }
.story-image { transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out); }
.story-read { transition: color .4s, letter-spacing .6s var(--ease-out); }
@media (hover: hover) {
  .story-open:hover .story-image { transform: translate3d(0, -6px, 0); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(201, 169, 97, .22); }
  .story-open:hover .story-image img { filter: brightness(1.06) saturate(1.05); }
  .story-open:hover .story-read { color: var(--champagne-soft); letter-spacing: .02em; }
}
.story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,.55)); }
.story-number { position: absolute; left: 16px; top: 14px; z-index: 1; font: 500 11px/1 var(--sans); letter-spacing: .18em; color: rgba(245, 243, 239, .8); }
.story-card-content { padding: 20px 4px 0; }
.story-kicker { display: flex; justify-content: space-between; gap: 12px; font: 500 10px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.story-card h3 { margin: 12px 0 0; font: 500 24px/1.18 var(--serif); }
.story-read { display: inline-block; margin-top: 16px; font: 500 12px/1 var(--sans); color: var(--champagne); }
.story-end { display: flex; flex-direction: column; gap: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, rgba(201,169,97,.08), rgba(201,169,97,0) 60%); }
.story-end > .eyebrow { margin: 0; }
.story-end-body { margin: auto 0; }
.story-end > .text-link { margin-top: 0; align-self: flex-start; }
.story-end strong { display: block; font: 500 76px/1 var(--serif); color: var(--champagne); }
.story-end h3 { margin: 14px 0 0; font: 500 24px/1.2 var(--serif); }
.story-end p { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); }

/* story reader: the codes of the app: full-bleed hero, glass close button over it, drop cap */
.story-dialog {
  width: min(740px, calc(100vw - 32px)); max-width: none; max-height: min(calc(100vh - 48px), 940px);
  padding: 0; border: 0; border-radius: 30px; background: #0f0f0e; color: var(--ink); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(242, 237, 228, 0.09), 0 60px 140px -30px rgba(0, 0, 0, 0.9);
}
.story-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .62s var(--ease-out) both; }
.story-dialog.is-closing { animation: dialog-out .28s cubic-bezier(.4, 0, 1, 1) both; }
.story-dialog::backdrop { background: rgba(4, 4, 4, .74); -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%); animation: backdrop-in .5s var(--ease) both; }
.story-dialog.is-closing::backdrop { animation: backdrop-out .28s ease both; }
@keyframes dialog-in { from { opacity: 0; transform: translate3d(0, 28px, 0) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes dialog-out { to { opacity: 0; transform: translate3d(0, 14px, 0) scale(.975); } }
@keyframes backdrop-in { from { opacity: 0; } }
@keyframes backdrop-out { to { opacity: 0; } }
.dialog-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(242, 237, 228, .18) transparent; }
.dialog-hero { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #0f0f0e; }
.dialog-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 40%; background: linear-gradient(rgba(15, 15, 14, 0), rgba(15, 15, 14, .5) 58%, #0f0f0e 94%); pointer-events: none; }
.dialog-image { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--hero-y, 0px), 0) scale(var(--hero-z, 1.06)); transform-origin: 50% 50%; will-change: transform; }
.story-dialog[open] .dialog-image { animation: hero-in 1.1s var(--ease-out) backwards; }
@keyframes hero-in { from { transform: scale(1.14); filter: brightness(.7); } }
.dialog-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); color: #fff; cursor: pointer;
  background: rgba(28, 27, 25, .32);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 24px -8px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease-out), background-color .3s, border-color .3s;
}
.dialog-close svg { width: 15px; height: 15px; }
.dialog-close:hover { transform: scale(1.06); background: rgba(48, 46, 43, .45); border-color: rgba(255, 255, 255, .34); }
.dialog-close:active { transform: scale(.96); }
.dialog-copy { position: relative; padding: 6px clamp(24px, 6vw, 60px) 48px; }
.dialog-copy .eyebrow { margin-bottom: 14px; }
.dialog-copy h2 { margin: 0; font: 500 clamp(38px, 5vw, 54px)/1.02 var(--serif); letter-spacing: -0.01em; }
.dialog-subtitle { margin: 14px 0 0; font: 400 18px/1.45 var(--sans); color: rgba(242, 237, 228, .62); max-width: 46ch; text-wrap: balance; }
.dialog-rule { margin: 30px 0 26px; border: 0; height: 1px; background: var(--line); }
.dialog-copy p { color: var(--ink-2); }
.dialog-lede::first-letter { float: left; margin: 0.08em 0.1em 0 0; font: 500 4.1em/0.78 var(--serif); color: var(--champagne); }
.dialog-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
@media (max-width: 640px) {
  .story-dialog { width: calc(100vw - 20px); border-radius: 26px; max-height: calc(100vh - 20px); }
  .dialog-close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .dialog-close svg { width: 13px; height: 13px; }
}
@supports (height: 100svh) { .story-dialog { max-height: min(calc(100svh - 48px), 940px); } @media (max-width: 640px) { .story-dialog { max-height: calc(100svh - 20px); } } }
.button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; font: 600 13px/1 var(--sans); text-decoration: none; transition: transform .3s var(--ease), background-color .3s; }
.button-gold { background: var(--champagne); color: #14110b; }
.button-gold:hover { background: var(--champagne-soft); }
.button span[aria-hidden], .text-link span[aria-hidden] { display: inline-block; transition: transform .5s var(--ease-out); }
@media (hover: hover) { .button:hover span[aria-hidden] { transform: translate3d(2px, -2px, 0); } .button:active { transform: scale(.98); } }

/* ---------------- spec battle: one duel, played the way the app plays it */
.billing-toggle button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: none; font: 500 13px/1 var(--sans); color: var(--ink-3); cursor: pointer; transition: all .3s; }
.billing-toggle button[aria-pressed="true"] { border-color: rgba(201, 169, 97, .6); color: var(--ink); background: rgba(201, 169, 97, .08); }
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; }
.roll > span { display: inline-block; }
.roll > .roll-out { position: absolute; left: 0; top: 0; }
.battle-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.battle-head .lead { margin: 0; justify-self: end; max-width: 42ch; }
.duel {
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 1.24fr) minmax(0, 1fr);
  gap: clamp(20px, 3.2vw, 48px); align-items: center; margin-top: var(--block-gap);
}
.duel-car {
  position: relative; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 20px;
  background: rgba(245, 243, 239, .015);
  transition: border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.duel-car-top { display: flex; justify-content: space-between; font: 500 10px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.duel-car-top span:last-child { font-family: var(--mono); letter-spacing: .06em; }
.duel-car h3 { margin: 10px 0 14px; font: 500 clamp(24px, 2.3vw, 32px)/1.08 var(--serif); font-variant-numeric: lining-nums; }
.duel-car h3 em { color: var(--champagne-soft); }
.duel-media { position: relative; overflow: hidden; border-radius: 12px; background: #141312; }
.duel-media img { width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; transition: filter .6s var(--ease), opacity .6s var(--ease), transform 1.2s var(--ease-out); }
.duel-model { margin: 12px 0 0; font: 400 12px/1.45 var(--sans); color: var(--ink-3); text-wrap: balance; }
@media (hover: hover) { .duel-car:hover .duel-media img { transform: scale(1.035); } }
/* the verdict: gold for the winner, the loser loses its colour (app: saturation .4, opacity .55, smooth .6 s) */
.duel-car.is-winner { border-color: rgba(201, 169, 97, .6); box-shadow: 0 10px 46px -10px rgba(201, 169, 97, .42), inset 0 0 0 1px rgba(201, 169, 97, .08); }
.duel-car.is-loser .duel-media img { filter: saturate(.4); opacity: .55; }
.duel-board { min-width: 0; }
.duel-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; margin-bottom: 8px; }
.duel-n { display: inline-grid; justify-self: center; font: italic 500 clamp(54px, 5.2vw, 76px)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--ink-2); transition: color .5s var(--ease); }
.duel-n > span { grid-area: 1 / 1; display: block; text-align: center; }
.duel-n.is-leading { color: var(--champagne); }
.duel-vs { font: italic 700 14px/1 var(--serif); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 6px; }
.duel-rows { list-style: none; margin: 0; padding: 0; }
.duel-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 13px 0; border-bottom: 0.5px solid rgba(242, 237, 228, .13); }
.duel-rows span { font: 400 19px/1.2 var(--mono); color: var(--ink); white-space: nowrap; }
.duel-rows span:first-child { text-align: right; }
.duel-rows span.is-win { font-weight: 600; color: var(--champagne); }
.duel-rows small { margin-left: 5px; font: 400 11px/1 var(--mono); color: var(--ink-3); }
.duel-rows b { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-align: center; color: var(--ink-3); white-space: nowrap; }
/* the lines arrive one by one (app: opacity + 14 pt, spring .5 / .78) */
html.js .duel.is-armed .duel-rows li { opacity: 0; transform: translate3d(0, 14px, 0); }
html.js .duel.is-armed .duel-rows li.is-in { opacity: 1; transform: none; transition: opacity .7s var(--row-ease, cubic-bezier(.25, .9, .3, 1)), transform .7s var(--row-ease, cubic-bezier(.25, .9, .3, 1.03)); }
/* verdict on glass (app: ultra thin material + 35 % veil, spring .55 / .74 in, smooth .5 s out) */
.duel-verdict {
  position: absolute; inset: -16px; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 32px; border-radius: 28px; text-align: center; cursor: pointer;
  background: rgba(10, 10, 10, .35); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(242, 237, 228, .06);
  opacity: 0; visibility: hidden; transform: scale(.96);
  transition: opacity .5s var(--ease-in-out), transform .5s var(--ease-in-out), visibility 0s linear .5s;
}
.duel.is-verdict .duel-verdict { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--verdict-ease, cubic-bezier(.2, .9, .3, 1)), transform .8s var(--verdict-ease, cubic-bezier(.2, .9, .3, 1.03)), visibility 0s; }
.duel-verdict-kicker { font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.duel-verdict-brand { margin-top: 6px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }
.duel-verdict-name {
  max-width: 27ch; font: italic 500 clamp(34px, 3.9vw, 56px)/1.08 var(--serif); text-wrap: balance;
  background: linear-gradient(180deg, #dcc590, #c9a55a); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.duel-verdict-score { margin-top: 6px; font: 400 14px/1 var(--mono); letter-spacing: .06em; color: var(--ink-2); }
.duel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 24px; margin-top: clamp(32px, 3.6vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); }
.duel-replay {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: none; font: 500 13px/1 var(--sans); color: var(--ink-2); cursor: pointer;
  transition: color .3s, border-color .3s, opacity .5s var(--ease), background-color .3s;
}
.duel-replay svg { width: 15px; height: 15px; transition: transform .7s var(--ease-out); }
@media (hover: hover) { .duel-replay:hover { color: var(--ink); border-color: rgba(242, 237, 228, .32); background: rgba(242, 237, 228, .03); } .duel-replay:hover svg { transform: rotate(-200deg); } }
.duel-replay:disabled { opacity: .3; cursor: default; }
html.motion-reduced .duel-replay, html:not(.js) .duel-replay { display: none; }
.battle-fine { margin: 0; font-size: 12px; color: var(--ink-3); text-align: right; }

/* ---------------- daily */
.daily-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: var(--block-gap); }
.daily-grid article { padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, rgba(242, 237, 228, 0.025), rgba(242, 237, 228, 0) 55%); transition: border-color .6s var(--ease), background-color .6s var(--ease), transform .8s var(--ease-out); }
@media (hover: hover) { .daily-grid article:hover { border-color: rgba(201, 169, 97, .3); background-color: rgba(201, 169, 97, .025); } }
.daily-grid span { font: 500 10px/1.4 var(--sans); letter-spacing: .18em; color: var(--champagne); }
.daily-grid h3 { margin: 16px 0 0; font: 500 26px/1.15 var(--serif); }
.daily-grid p { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }
.daily-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; align-items: start; gap: 20px; margin-top: var(--block-gap); }
.daily-phone { margin: 0; display: flex; flex-direction: column; align-items: center; }
.daily-phone .phone { --pw: min(290px, 24vw); margin: 0; }
.daily-phone figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 26px; font-size: 13px; color: var(--ink-3); text-align: center; }
.daily-phone figcaption span { font: 500 10px/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne); }
html.js .daily-phone { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
html.js .daily-phone + .daily-phone { transition-delay: .12s; }
html.js .daily-phone + .daily-phone + .daily-phone { transition-delay: .24s; }
html.js .daily-phone.is-in { opacity: 1; transform: none; }

/* live captures: the numbers roll in, the rings draw, the medals pop, as in the app */
.live-screen { position: relative; overflow: hidden; border-radius: calc(var(--pw) * 0.132); background: #111; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.phone .live-screen img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 1738; border-radius: 0; background: none; }
.live-layer { position: absolute; inset: 0; display: none; }
.live-layer .live-plate { position: absolute; inset: 0; height: 100%; }
.live-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.live-char, .live-medal { position: absolute; overflow: hidden; }
.live-char i, .live-medal i { position: absolute; inset: 0; background-repeat: no-repeat; }
[data-live="stats"] .live-char i { background-image: url("../img/app/stats-sprites.webp"); }
[data-live="distinctions"] .live-char i, [data-live="distinctions"] .live-medal i { background-image: url("../img/app/distinctions-sprites.webp"); }
.live-medal { overflow: visible; }
[data-live].is-armed .live-layer { display: block; }
[data-live].is-armed .live-char i { transform: translate3d(0, 64%, 0); opacity: 0; filter: blur(3px); }
[data-live].is-armed .live-medal i { transform: scale(.5); opacity: 0; }
[data-live].is-armed [data-ring] { opacity: 0; }
[data-live].is-playing .live-char i {
  transform: none; opacity: 1; filter: none;
  transition: transform .75s cubic-bezier(.2, .9, .25, 1.03) var(--d), opacity .4s ease var(--d), filter .55s ease var(--d);
}
[data-live].is-playing .live-medal i {
  transform: none; opacity: 1;
  transition: transform .7s cubic-bezier(.34, 1.45, .64, 1) var(--d), opacity .35s ease var(--d);
}
[data-live].is-done .live-layer { opacity: 0; transition: opacity .5s ease .1s; }
/* the gallery: each photo takes its place in the row, the image settling inside its frame (as in the story reader);
   a photo is the capture itself, laid over the whole screen and clipped to its tile: at rest it is the capture, pixel for pixel */
.live-photo, .live-photo i { position: absolute; inset: 0; transform-origin: var(--o); }
.live-photo i { background-size: 100% 100%; background-repeat: no-repeat; }
[data-live="gallery"] .live-photo i { background-image: url("../img/app/galerie.webp"); }
[data-live].is-armed .live-photo { opacity: 0; transform: scale(.94); }
[data-live].is-armed .live-photo i { transform: scale(1.18); filter: blur(6px); }
[data-live].is-playing .live-photo { opacity: 1; transform: none; transition: opacity .5s ease var(--d), transform .95s cubic-bezier(.16, 1, .3, 1) var(--d); }
[data-live].is-playing .live-photo i { transform: none; filter: none; transition: transform 1.25s cubic-bezier(.16, 1, .3, 1) var(--d), filter .8s ease var(--d); }

/* ---------------- privacy */
.privacy .split-media .phone { --pw: min(300px, 70vw); }

/* ---------------- premium */
.pricing-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; margin-top: var(--block-gap); align-items: stretch; }
.price-card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; transition: border-color .6s var(--ease), box-shadow .8s var(--ease-out); }
@media (hover: hover) { .price-card:hover { border-color: rgba(242, 237, 228, .22); } .price-card.is-premium:hover { border-color: rgba(201, 169, 97, .55); box-shadow: 0 40px 90px -50px rgba(201, 169, 97, .35); } }
.price-card.is-premium { border-color: rgba(201, 169, 97, .35); background: linear-gradient(170deg, rgba(201,169,97,.09), rgba(201,169,97,.01) 55%); }
.price-card h3 { margin: 10px 0 0; font: 500 32px/1.1 var(--serif); }
.price-card h3 em { color: var(--champagne-soft); }
.amount { margin: 26px 0 6px; font: 500 64px/1 var(--serif); font-variant-numeric: lining-nums; }
.amount small { font: 400 16px/1 var(--sans); color: var(--ink-3); margin-left: 6px; }
.price-note { margin: 0; font-size: 14px; color: var(--ink-3); min-height: 1.6em; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; }
.check-list li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 5px; border-left: 1.5px solid var(--champagne); border-bottom: 1.5px solid var(--champagne); transform: rotate(-45deg); }
.billing-toggle { display: inline-flex; gap: 6px; margin-top: 24px; }
.billing-toggle button span { margin-left: 6px; color: var(--champagne); }
.price-fine { margin: 22px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.pricing-footnote { margin: 28px 0 0; max-width: 80ch; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.pricing-footnote a { color: var(--ink-2); }

/* ---------------- faq */
.faq-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 500 22px/1.3 var(--serif); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { transition: color .4s var(--ease); }
@media (hover: hover) { .faq-item summary:hover { color: var(--champagne-soft); } }
.faq-item[open] .faq-body { animation: faq-open .7s var(--ease-out) both; }
@keyframes faq-open { from { opacity: 0; transform: translate3d(0, -6px, 0); } }
.faq-item .pm { flex: none; color: var(--champagne); font-family: var(--sans); font-weight: 300; transition: transform .3s var(--ease); }
.faq-item[open] .pm { transform: rotate(45deg); }
.faq-body { padding: 0 0 26px; max-width: 60ch; color: var(--ink-2); }
.faq-body a { color: var(--ink); }

/* ---------------- download */
.download { text-align: center; padding-bottom: clamp(120px, 14vw, 200px); }
.download-icon { width: 84px; height: 84px; margin: 0 auto 36px; border-radius: 20px; box-shadow: 0 20px 60px -20px rgba(201, 169, 97, .35); }
html.js .download-icon { opacity: 0; transform: scale(.86) translate3d(0, 12px, 0); transition: opacity 1s var(--ease), transform 1.4s var(--ease-out), box-shadow 1.6s var(--ease) .3s; }
html.js .download-icon.is-in { opacity: 1; transform: none; box-shadow: 0 24px 80px -18px rgba(201, 169, 97, .5); }
html.motion-reduced .download-icon { opacity: 1 !important; transform: none !important; }
.download .display { font-size: clamp(44px, 6vw, 88px); }
.download p.lead { margin-left: auto; margin-right: auto; }
.appstore-badge { display: inline-block; line-height: 0; border-radius: 9px; }
.appstore-badge img { display: block; width: auto; height: 48px; }
.appstore-badge:focus-visible { outline-offset: 4px; }
.appstore-badge--large { margin-top: 40px; }
.appstore-badge--large img { height: 54px; }
.download-note { display: block; margin-top: 18px; font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }

/* ---------------- footer */
.site-footer { padding: 64px var(--gutter) 40px; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-top p { margin: 0; font: italic 500 22px/1.2 var(--serif); color: var(--ink-2); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-links nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { font-size: 13px; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.motion-toggle { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 8px 14px; font: 500 12px/1 var(--sans); color: var(--ink-3); cursor: pointer; }
.motion-toggle:disabled { cursor: default; opacity: .7; }
.footer-colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 34px; font-size: 12px; color: var(--ink-3); }
.footer-colophon a { color: var(--ink-3); }
.footer-legal { margin: 18px 0 0; max-width: 90ch; font-size: 11px; line-height: 1.6; color: rgba(242, 237, 228, .38); }

/* ---------------- responsive */
@supports (height: 100svh) { @media (max-width: 1000px) { .phone--tour { --pw: min(250px, 27svh, 60vw); } } }
@media (max-width: 1000px) {
  .tour-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; text-align: center; }
  html.js .tour-stage { padding-top: 60px; }
  .tour-panel { display: contents; }
  .tour-steps { order: 0; margin-bottom: 22px; }
  .tour-steps button { padding: 10px 15px; font-size: 12px; }
  .tour-media { order: 1; }
  .tour-media .caption { display: none; }
  .phone--tour { --pw: min(250px, 27vh, 60vw); }
  .tour-count, .tour-panel .text-link { display: none; }
  .tour-texts { order: 2; margin-top: 20px; max-width: 34ch; }
  .tour-text h3 { font-size: 23px; }
  .tour-text p { margin-top: 8px; font-size: 14px; line-height: 1.5; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split--flip .split-copy { order: 0; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .battle-head { grid-template-columns: 1fr; gap: 24px; }
  .battle-head .lead { justify-self: start; }
  .duel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "a b" "board board"; align-items: stretch; gap: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .duel-car[data-side="0"] { grid-area: a; }
  .duel-car[data-side="1"] { grid-area: b; }
  .duel-board { grid-area: board; margin-top: 10px; }
  .duel-foot { max-width: 640px; margin-left: auto; margin-right: auto; }
  .stories-head { grid-template-columns: 1fr; }
  .stories-head p { justify-self: start; }
  .stories-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 14px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .stories-row::-webkit-scrollbar { display: none; }
  .story-card, .story-end { flex: 0 0 min(76vw, 320px); scroll-snap-align: start; }
  .daily-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .figure { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: start; }
  .figure-num { font-size: clamp(44px, 13vw, 58px); }
  .figure-label { font-size: 14px; }
  .figure-label small { font-size: 12px; }
  .duel-car { padding: 11px 11px 13px; border-radius: 16px; }
  .duel-car-top { font-size: 9px; letter-spacing: .14em; }
  .duel-car h3 { margin: 7px 0 10px; font-size: 21px; }
  .duel-media { border-radius: 10px; }
  .duel-model { margin-top: 9px; font-size: 11px; }
  .duel-rows li { grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); padding: 11px 0; }
  .duel-rows span { font-size: 16px; }
  .duel-rows small { margin-left: 4px; font-size: 10px; }
  .duel-rows b { font-size: 9px; letter-spacing: .12em; }
  .duel-n { font-size: 54px; }
  .duel-verdict { inset: -8px; border-radius: 22px; padding: 22px; }
  .duel-verdict-name { font-size: clamp(28px, 8.4vw, 36px); }
  .duel-foot { flex-direction: column; align-items: flex-start; }
  .battle-fine { text-align: left; }
  .section-meta span:last-child { display: none; }
  .daily-phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 14px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .daily-phones::-webkit-scrollbar { display: none; }
  .daily-phone { flex: 0 0 auto; scroll-snap-align: start; }
  .daily-phone .phone { --pw: min(250px, 62vw); }
  .daily-phone figcaption { margin-top: 18px; font-size: 12px; }
}

/* ---------------- language switch (the same page in the other language) and prices written currency first */
.site-nav > a.nav-lang { margin-left: 4px; padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 900px) {
  #main-nav > a.nav-lang { padding: 14px 0 0; border: 0; font: 500 12px/1 var(--sans); letter-spacing: 0.24em; margin-right: -0.24em; text-transform: uppercase; color: var(--ink-3); }
  #main-nav > a.nav-lang .nav-num { display: none; }
}
.amount small.cur { margin: 0; font: inherit; color: inherit; }

/* English pages: the live phones use the English captures */
html[lang="en-GB"] [data-live="stats"] .live-char i { background-image: url("../img/app-en/stats-sprites.webp"); }
html[lang="en-GB"] [data-live="distinctions"] .live-char i, html[lang="en-GB"] [data-live="distinctions"] .live-medal i { background-image: url("../img/app-en/distinctions-sprites.webp"); }
html[lang="en-GB"] [data-live="gallery"] .live-photo i { background-image: url("../img/app-en/galerie.webp"); }

/* ---------------- for the cars you own (Carbon 1.2): due dates, documents, logbook, three real screens side by side;
   on a phone they slide sideways, like the Stories */
.collection + .owners { padding-top: calc(var(--section-gap) * 0.55); }
.owners .display em { display: block; }
.owners-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); margin-top: var(--block-gap); }
.owner-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.owner-item .phone { --pw: min(280px, 24vw); margin: 0; }
.owner-item > span { margin-top: 30px; font: 500 10px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne); }
.owner-item h3 { margin: 12px 0 0; font: 500 26px/1.15 var(--serif); }
.owner-item p { margin: 12px 0 0; max-width: 34ch; font-size: 15px; color: var(--ink-2); }
.owners-caption { margin-top: 40px; text-wrap: balance; }
@media (max-width: 1000px) {
  .owners-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 14px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .owners-row::-webkit-scrollbar { display: none; }
  .owner-item { flex: 0 0 min(76vw, 320px); scroll-snap-align: start; }
  .owner-item .phone { --pw: min(250px, 64vw); }
  .owners-caption { margin-top: 24px; }
}
/* the three phones come alive like those of the garage (scripts/build_owners_live.py): the timeline of the due dates
   draws itself and its marks pop as it reaches them, the counts roll in and the bars fill; the papers are scanned into
   their frames; the thread of the logbook runs down from the year, its marks pop and the photo settles in.
   Marks, papers and photo are cut out of the capture itself */
.live-sweep, .live-thread, .live-bar, .live-dot, .live-doc b { position: absolute; }
.live-sweep i, .live-thread i, .live-bar i { position: absolute; inset: 0; background-repeat: no-repeat; }
.live-bar, .live-dot { overflow: hidden; }
.live-dot { border-radius: 50%; }
.live-dot i { position: absolute; background-size: 100% 100%; background-repeat: no-repeat; }
.live-doc, .live-doc i { position: absolute; inset: 0; }
.live-doc i { background-size: 100% 100%; background-repeat: no-repeat; clip-path: inset(var(--t) var(--r) var(--b) var(--l)); }
[data-live="echeances"] .live-sweep i, [data-live="echeances"] .live-bar i, [data-live="echeances"] .live-char i { background-image: url("../img/app/echeances-sprites.webp"); }
[data-live="echeances"] .live-dot i { background-image: url("../img/app/echeances.webp"); }
[data-live="papiers"] .live-doc i { background-image: url("../img/app/papiers.webp"); }
[data-live="carnet"] .live-thread i, [data-live="carnet"] .live-char i { background-image: url("../img/app/carnet-sprites.webp"); }
[data-live="carnet"] .live-dot i, [data-live="carnet"] .live-photo i { background-image: url("../img/app/carnet.webp"); }
.live-doc b::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; transform: translateY(-50%); background: #f6ecd2; box-shadow: 0 0 calc(var(--pw) * .018) calc(var(--pw) * .004) rgba(201, 169, 97, .7); }
[data-live].is-armed .live-sweep i { clip-path: inset(0 100% 0 0); }
[data-live].is-armed .live-thread i { clip-path: inset(0 0 100% 0); }
[data-live].is-armed .live-doc i { clip-path: inset(var(--t) var(--r) calc(100% - var(--t)) var(--l)); }
[data-live].is-armed .live-bar i { transform: translate3d(-101%, 0, 0); }
[data-live].is-armed .live-dot { transform: scale(.3); opacity: 0; }
[data-live].is-armed .live-doc b { opacity: 0; }
[data-live].is-playing .live-sweep i { clip-path: inset(0); transition: clip-path 1.1s cubic-bezier(.4, 0, .2, 1) var(--d); }
[data-live].is-playing .live-thread i { clip-path: inset(0); transition: clip-path 1.3s cubic-bezier(.4, 0, .2, 1) var(--d); }
[data-live].is-playing .live-bar i { transform: none; transition: transform 1s cubic-bezier(0, 0, .58, 1) var(--d); }
[data-live].is-playing .live-dot { transform: none; opacity: 1; transition: transform .7s cubic-bezier(.34, 1.45, .64, 1) var(--d), opacity .25s ease var(--d); }
[data-live].is-playing .live-doc i { clip-path: inset(var(--t) var(--r) var(--b) var(--l)); transition: clip-path .7s cubic-bezier(.4, 0, .2, 1) var(--d); }
[data-live].is-playing .live-doc b { animation: live-scan .7s cubic-bezier(.4, 0, .2, 1) var(--d) both, live-scan-light .7s linear var(--d) both; }
@keyframes live-scan { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 100%, 0); } }
@keyframes live-scan-light { 0% { opacity: 0; } 15%, 75% { opacity: 1; } 100% { opacity: 0; } }
html[lang="en-GB"] [data-live="echeances"] .live-sweep i, html[lang="en-GB"] [data-live="echeances"] .live-bar i, html[lang="en-GB"] [data-live="echeances"] .live-char i { background-image: url("../img/app-en/echeances-sprites.webp"); }
html[lang="en-GB"] [data-live="echeances"] .live-dot i { background-image: url("../img/app-en/echeances.webp"); }
html[lang="en-GB"] [data-live="papiers"] .live-doc i { background-image: url("../img/app-en/papiers.webp"); }
html[lang="en-GB"] [data-live="carnet"] .live-thread i, html[lang="en-GB"] [data-live="carnet"] .live-char i { background-image: url("../img/app-en/carnet-sprites.webp"); }
html[lang="en-GB"] [data-live="carnet"] .live-dot i, html[lang="en-GB"] [data-live="carnet"] .live-photo i { background-image: url("../img/app-en/carnet.webp"); }
