/* Flint site, design «Peak» (17 Nov 2026), on the owner's mark #3 since 18 Nov 2026.
   One idea: the owner's mark is the shape of every frame. The hero carries the mark cropped and giant (four
   slanted bars in two seamed pairs); photos, panels and buttons carry its 45-degree chamfer (cut c across,
   c down); lists use its bar (ends leaning 42 degrees) as their bullet. Palette and type come from the app («نبض»): cobalt #1F5BEA, cool hues only.
   Motion: one ease (.2,0,0,1), three durations (160/420/900 ms), entrances rise 24px and fade, stagger 70 ms;
   the mark's corner snaps in with a small overshoot, like the app intro. Everything moving is opt-in through
   html.motion (set by boot.js only when the reader has not asked for reduced motion).
   Graphics, photos and phones never mirror in Arabic (dir="ltr" on them); only text and layout order flip. */

/* ---------- fonts (OFL, subset in assets/fonts) ---------- */
@font-face { font-family: "Sora"; src: url(/assets/fonts/Sora-latin.woff2) format("woff2"); font-weight: 100 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2248; }
@font-face { font-family: "Manrope"; src: url(/assets/fonts/Manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2248; }
@font-face { font-family: "Noto Kufi Arabic"; src: url(/assets/fonts/NotoKufiArabic-arabic.woff2) format("woff2"); font-weight: 600 800; font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200F, U+0020-0040, U+00A0; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/PlexArabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200F, U+0020-0040, U+00A0; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/PlexArabic-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200F, U+0020-0040, U+00A0; }

/* ---------- tokens ---------- */
:root {
  /* light (app «نبض» light) */
  --ground: #F3F5F9; --surface: #FFFFFF; --raised: #E9EDF3; --ink: #10141E; --ink-2: #4A5263; --edge: #C9D1DE;
  --accent: #1F5BEA; --accent-press: #1A4FCC; --on-accent: #FFFFFF;
  /* dark (app «نبض» dark) */
  --d-ground: #0D1016; --d-card: #161A22; --d-raised: #212631; --d-ink: #F1F4FA; --d-ink-2: #A6AEBD;
  --d-accent: #8DB0FF; --d-fill: #2E66F2;
  /* data colours (macros, water) */
  --protein: #5B8EFF; --carbs: #F2B24C; --fat: #3CC8B4; --water: #7CC8F5;
  --protein-l: #1F5BEA; --carbs-l: #C08400; --fat-l: #0F8C7E; --water-l: #1E86C8;
  /* type */
  --f-display: "Sora", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* motion */
  --ease: cubic-bezier(.2, 0, 0, 1); --snap: cubic-bezier(.34, 1.56, .64, 1);
  --t1: 160ms; --t2: 420ms; --t3: 900ms;
  /* space */
  --m: clamp(20px, 5vw, 64px); --max: 1320px; --gap: clamp(16px, 2vw, 24px);
  --sec: clamp(88px, 11vw, 168px);
  --cut: 28px;
  /* the mark's bar as a bullet: both ends lean at 42 degrees (run 0.9 x height) */
  --bar: polygon(6.3px 0, 100% 0, calc(100% - 6.3px) 100%, 0 100%);
  --head: 64px;
  color-scheme: light;
}
html[lang="ar"] {
  --f-display: "Noto Kufi Arabic", "Sora", system-ui, sans-serif;
  --f-body: "Plex Arabic", "Manrope", system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-block-start: calc(var(--head) + 16px);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--f-body);
  font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; }
html[lang="ar"] body { line-height: 1.8; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sec-dark :focus-visible, .inset :focus-visible, .site-foot :focus-visible { outline-color: var(--d-accent); }
::selection { background: var(--accent); color: var(--on-accent); }

.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -80px; z-index: 50; padding: 12px 18px;
  background: var(--ink); color: var(--ground); font-weight: 700; text-decoration: none; }
.skip:focus { inset-block-start: 12px; }

/* type scale */
.d-display, .d-h2, h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; }
.d-display { font-size: clamp(2.75rem, 1.4rem + 5.6vw, 7rem); line-height: .98; font-weight: 700; letter-spacing: -.035em; }
.d-h2 { font-size: clamp(2rem, 1.25rem + 3.2vw, 4.25rem); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
html[lang="ar"] .d-display { line-height: 1.3; letter-spacing: 0; font-weight: 800; font-size: clamp(2.5rem, 1.3rem + 4.8vw, 6rem); }
html[lang="ar"] .d-h2 { line-height: 1.35; letter-spacing: 0; font-weight: 700; font-size: clamp(1.85rem, 1.2rem + 2.8vw, 3.75rem); }
html[lang="ar"] h3 { letter-spacing: 0; font-weight: 700; }
p { text-wrap: pretty; }

/* the peak, as a bullet */
.peaks { display: grid; gap: 14px; }
.peaks li { position: relative; padding-inline-start: 30px; }
.peaks li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; width: 17px; height: 7px;
  background: var(--accent); clip-path: var(--bar); }
html[lang="ar"] .peaks li::before { inset-block-start: .8em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 28px 12px 24px;
  border: 0; font-family: var(--f-body); font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background-color var(--t1) var(--ease), transform var(--t1) var(--ease); }
.btn .arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--t2) var(--ease); flex: none; }
html[dir="rtl"] .btn .arr { transform: scaleX(-1); }        /* a direction arrow, not a graphic: it points the reading way */
.btn:hover .arr { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid currentColor; outline-offset: -7px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-press); }
.sec-dark .btn-accent { background: var(--d-fill); }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-light { background: var(--surface); color: var(--accent); }
.btn-light:hover { background: var(--raised); }
.btn-quiet { background: var(--raised); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: default; }
.link { color: var(--accent); font-weight: 700; text-underline-offset: .2em; text-decoration-thickness: from-font; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--ground); }
.bar { display: flex; align-items: center; gap: 24px; min-height: var(--head); }
.brand { display: inline-flex; flex: none; padding-block: 8px; }
.brand .lockup { height: 36px; width: auto; }
.nav { display: none; gap: 4px; margin-inline: auto; }
.nav a { padding: 10px 12px; font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: color var(--t1) var(--ease); }
.nav a:hover { color: var(--ink); }
.head-tools { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav + .head-tools { margin-inline-start: 0; }
.head-tools details { position: relative; }
.head-tools summary { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; justify-content: center;
  padding-inline: 10px; list-style: none; cursor: pointer; font-weight: 700; font-size: .9rem; }
.head-tools summary::-webkit-details-marker { display: none; }
.head-tools summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.head-tools summary:hover { background: var(--raised); }
.head-tools details[open] summary { background: var(--ink); color: var(--ground); }
.lang ul, .menu nav { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 8px); min-width: 220px; padding: 8px;
  background: var(--ink); color: var(--ground); display: grid;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.lang a, .menu a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; text-decoration: none; font-weight: 600; }
.lang a small { opacity: .7; font-weight: 500; }
.lang a:hover, .menu a:hover, .lang a[aria-current] { background: var(--d-raised); }
.menu a:nth-child(7) { margin-block-end: 8px; }
.lang :focus-visible, .menu :focus-visible { outline-color: var(--d-accent); outline-offset: -3px; }
@media (min-width: 1080px) { .nav { display: flex; } .menu { display: none; } }

/* ---------- section shells ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec-dark { background: var(--d-ground); color: var(--d-ink); }
.sec-dark p, .sec-dark li { color: var(--d-ink-2); }
.sec-dark h2, .sec-dark h3, .sec-dark b { color: var(--d-ink); }
.sec-raised { background: var(--raised); }
.sec p + p { margin-block-start: 1em; }

/* phones: the app's real screens in a plain bezel (no shadow, no glass) */
.phone { position: relative; padding: 9px; border-radius: 52px; background: var(--ink); width: min(100%, 330px); }
.phone img { border-radius: 43px; width: 100%; }
.sec-dark .phone { background: var(--d-raised); }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; padding-block: clamp(32px, 6vw, 80px) 0; }
.hero-shape { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* the mark sits inside a dir="ltr" box, so it is placed with physical insets (it never mirrors) */
/* phones: behind the phone, the two top bars showing above it and their ends cut by the right edge */
.giant-mark { position: absolute; bottom: 22vw; left: 50%; margin-left: calc(-1 * min(62vw, 300px)); width: min(124vw, 600px); height: auto; fill: var(--accent); overflow: visible; }

.hero-in { position: relative; display: grid; gap: 40px; align-items: end; }
.hero-copy { max-width: 760px; padding-block-end: clamp(8px, 4vw, 96px); }
.hero-sub { margin-block-start: 24px; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; max-width: 34em; color: var(--ink-2); }
.hero-act { margin-block-start: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
/* Apple's official badge, unaltered (owner, 25 Nov 2026: «اي بدلها»). Black artwork, never mirrored, clear space ≥ ¼ of its height. */
.store-badge { display: inline-flex; border-radius: 10px; }
.store-badge img { display: block; height: 54px; width: auto; }
.store-badge:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.closing .store-badge:focus-visible { outline-color: var(--on-accent); }
.hero-note { margin-block-start: 16px; font-size: .95rem; color: var(--ink-2); max-width: 32em; }
.hero-phone { justify-self: center; width: min(78vw, 340px); margin-block-end: -120px; z-index: 2; }
.hero + .sec { padding-block-start: calc(var(--sec) + 80px); }
/* one column (below 960px): the mark is placed from the phone, not from the screen width, so only its top bars show
   above the phone (--peek), and the gap between the copy and the phone is wider than --peek: the bars never reach
   the text or the button at any width or in landscape (23 Nov 2026). Phone height = 2.174 × width − 21px; at rest its top
   sits (height − 120px) above the bottom of .hero-shape (its margin-block-end); the mark is 1.1983 × as tall as it is wide. */
@media (max-width: 959px) {
  .hero { --pw: min(78vw, 340px); --mw: min(100vw, 600px); --peek: calc(var(--pw) * .16); }
  .hero-in { row-gap: calc(var(--peek) + 32px); }
  .giant-mark { width: var(--mw); max-width: none;
    bottom: calc(2.174 * var(--pw) - 21px - 120px + var(--peek) - 1.1983 * var(--mw)); }
}
@media (min-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); column-gap: clamp(40px, 5vw, 96px); }
  .hero-copy { max-width: none; }
  .hero-copy h1 { max-width: 9.2em; }
  .hero-phone { justify-self: end; margin-block-end: -160px; }
  .giant-mark { bottom: -20%; left: auto; margin-left: 0; right: -4%; width: min(42vw, 700px); }
  html[dir="rtl"] .giant-mark { right: auto; left: -4%; }
  .hero-sub { max-width: 28em; }
}

/* ---------- scan (dark) ---------- */
.scan-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .scan-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.scan-photo { position: relative; aspect-ratio: 1; background: var(--d-card); --cut: clamp(36px, 6vw, 72px);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); overflow: hidden; }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.on { visibility: visible; }
.plate { position: absolute; inset: 0; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.bbox { position: absolute; border: 2px solid var(--box, var(--protein)); border-radius: 6px; }
.bbox.b1 { --box: #FFFFFF; } .bbox.b2 { --box: var(--carbs); } .bbox.b3 { --box: var(--fat); } .bbox.b4 { --box: var(--water); }
.bl { position: absolute; display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 9px; white-space: nowrap;
  background: var(--box, #fff); color: var(--ink); font-size: .78rem; line-height: 1.3; border-radius: 4px; }
.sec-dark .bl b { color: var(--ink); font-weight: 700; }
.bl small { font-size: inherit; color: var(--ink); }
.lb-top .bl { inset-block-end: calc(100% + 4px); } .lb-bottom .bl { inset-block-start: calc(100% + 4px); }
.lb-l .bl { left: -2px; } .lb-r .bl { right: -2px; }
.scan-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--d-accent); opacity: 0; pointer-events: none; }
.scan-chip { position: absolute; left: 16px; top: 16px; padding: 6px 12px 6px 28px; background: var(--d-ground); color: var(--d-ink);
  font-size: .8rem; font-weight: 700; border-radius: 4px; opacity: 0; }
.scan-chip::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--d-accent); }
.scan-side { display: flex; flex-direction: column; gap: 32px; }
.scan-text { order: 1; } .tabs { order: 2; } .scan-cell-wrap { order: 3; }
.scan-text p { max-width: 34em; }
@media (min-width: 960px) { .scan-h { grid-column: 1 / -1; max-width: 16em; } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 8px 16px; border: 0; background: var(--d-card); color: var(--d-ink); font-weight: 600; cursor: pointer;
  transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease); }
.tab:hover { background: var(--d-raised); }
.tab[aria-pressed="true"] { background: var(--d-ink); color: var(--d-ground); }
.scan-cells { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 8px; }
.scan-cells[hidden] { display: none; }
.sec .cell { display: grid; gap: 4px; align-content: start; margin: 0; padding: 22px 24px; }
.cell-ink { background: var(--d-fill); }
.cell-tone { background: var(--d-card); }
.sec-dark .cell-big { font-family: var(--f-display); font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); font-weight: 700; line-height: 1; color: var(--d-ink); letter-spacing: -.03em; }
.cell-big small { font-size: .38em; letter-spacing: 0; font-weight: 600; }
.sec-dark .cell-sm { color: var(--d-ink); font-weight: 600; }
.sec-dark .cell-ink .cell-big, .sec-dark .cell-ink .cell-sm { color: #FFFFFF; }

/* ---------- how ---------- */
.how-head { display: grid; gap: 20px; max-width: 760px; }
.how-head p { color: var(--ink-2); max-width: 36em; }
/* three real screens, camera → result → Today, in equal chamfered frames on the app's dark ground (23 Nov 2026).
   Phones: each step is a row (frame at the inline start, words beside it), so the section stays short. */
.how-steps { margin-block-start: clamp(40px, 6vw, 80px); display: grid; gap: 28px; }
.how-step { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 18px; align-items: center; }
.how-txt p { margin-block-start: 8px; color: var(--ink-2); max-width: 26em; }
.how-shot { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--d-ground); --cut: clamp(18px, 2.4vw, 32px);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.how-shot picture, .how-shot img { width: 100%; }
/* the camera: the plate fills the viewfinder, the shutter sits on the dark bar under it (physical sides: never mirrored) */
.cam-view { position: absolute; left: 0; top: 0; width: 100%; height: 80%; }
.cam-view img { height: 100%; object-fit: cover; }
.cam-corners { position: absolute; left: 12%; right: 12%; top: 10%; height: 60%; }
.cam-corners i { position: absolute; width: 18%; aspect-ratio: 1; border: 0 solid #FFFFFF; }
.cam-corners i:nth-child(1) { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 10px; }
.cam-corners i:nth-child(2) { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 10px; }
.cam-corners i:nth-child(3) { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 10px; }
.cam-corners i:nth-child(4) { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 10px; }
.cam-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; display: grid; place-items: center; background: var(--d-ground); }
.cam-shutter { width: clamp(26px, 24%, 60px); aspect-ratio: 1; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--d-ground); outline: 3px solid #FFFFFF; }
/* the result card, centred on the dark ground */
.how-check { display: grid; align-content: center; }
/* the Today screen, from the top */
.how-log picture, .how-log img { height: 100%; }
.how-log img { object-fit: cover; object-position: 50% 0; }
@media (min-width: 640px) {
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .how-step { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; gap: 22px; }
}
/* 320px phones: a narrower frame leaves the words a readable column */
@media (max-width: 359px) { .how-step { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 14px; } }

/* ---------- portions demo ---------- */
.demo-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .demo-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } .demo-h { grid-column: 1 / -1; max-width: 13em; } .demo-copy { position: sticky; top: calc(var(--head) + 32px); } }
.demo-copy p { margin-block-start: 20px; color: var(--ink-2); max-width: 34em; }
.demo-copy > p:first-child { margin-block-start: 0; }
.fatq { display: grid; gap: 10px; margin-block-start: 24px; color: var(--ink-2); }
.fatq li { display: flex; gap: 12px; align-items: baseline; }
.fq { display: inline-block; width: 12px; height: 12px; flex: none; border-radius: 50%; }
.fq-u { background: var(--fat-l); } .fq-s { background: var(--carbs-l); }
.panel { background: var(--surface); padding: clamp(22px, 3vw, 36px); --cut: 32px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.panel-title { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; }
.panel-h { margin-block: 24px 10px; font-family: var(--f-body); font-size: .95rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pcard { display: grid; justify-items: center; gap: 2px; padding: 14px 6px; border: 0; background: var(--raised); cursor: pointer; text-align: center;
  box-shadow: inset 0 0 0 2px transparent; transition: background-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease); }
.pcard svg { width: 52px; height: 52px; margin-block-end: 6px; }
.pl-rim { fill: var(--surface); stroke: var(--edge); stroke-width: 2; }
.pl-food { fill: var(--carbs); }
.pcard b { font-size: .95rem; }
.pcard > .num, .pcard .kc { font-size: .85rem; color: var(--ink-2); }
.pcard:hover { background: #DFE4EC; }
.pcard[aria-pressed="true"] { background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 44px; padding: 8px 14px; border: 0; background: var(--raised); color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease); }
.chip:hover { background: #DFE4EC; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.readout { display: grid; gap: 12px; margin-block-start: 28px; padding: 22px 24px; background: var(--ink); color: var(--ground); }
.ro-main { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.ro-label { font-weight: 600; }
.ro-big { font-family: var(--f-display); font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.75rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.ro-big small { font-size: .36em; letter-spacing: 0; font-weight: 600; }
.ro-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: #C9CFDA; }
.readout p + p { margin: 0; }
.badge-fat { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; background: var(--d-raised); color: var(--d-ink); font-size: .85rem; font-weight: 600; }
.badge-fat[hidden] { display: none; }
.badge-fat .fq-u { background: var(--fat); } .badge-fat .fq-s { background: var(--carbs); }
.panel-src { margin-block-start: 16px; font-size: .85rem; color: var(--ink-2); }

/* ---------- workouts (dark) ---------- */
.wk-sec { overflow: clip; }
.wk-shape { position: absolute; left: -10%; inset-block-end: 0; width: min(90vw, 1100px); pointer-events: none; }
.wk-shape svg { width: 100%; height: auto; fill: var(--d-card); }
html[dir="rtl"] .wk-shape { left: auto; right: -10%; }
.wk-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); }
.wk-lede { margin-block-start: 24px; font-size: 1.125rem; max-width: 34em; }
.wk-copy .peaks { margin-block-start: 36px; }
.sec-dark .wk-copy .peaks li { color: var(--d-ink); }
.wk-copy .peaks li::before { background: var(--d-accent); }
.wk-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 720px) { .wk-copy .peaks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 640px) { .wk-stage { grid-template-columns: minmax(0, 1fr) 240px; } .wk-phone { margin-block-start: 64px; } }
@media (min-width: 1100px) {
  .wk-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
  .wk-copy .peaks { grid-template-columns: minmax(0, 1fr); }
}
.wk-phone { width: min(70vw, 260px); justify-self: center; }

.logger { background: var(--d-card); padding: clamp(20px, 2.6vw, 28px); --cut: 26px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.sec-dark .lg-of { color: var(--d-ink-2); font-size: .9rem; font-weight: 600; }
.lg-name { margin-block-start: 6px; font-size: 1.375rem; }
.sec-dark .lg-reason { display: flex; gap: 10px; align-items: flex-start; margin-block-start: 14px; padding: 12px 14px; background: var(--d-raised); color: var(--d-ink); font-size: .92rem; line-height: 1.45; }
.lg-reason svg { flex: none; width: 20px; height: 20px; margin-block-start: 1px; fill: none; stroke: var(--d-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-table { width: 100%; margin-block-start: 18px; border-collapse: separate; border-spacing: 0 6px; font-size: .95rem; }
.lg-table th { padding: 0 8px 2px; text-align: start; font-size: .8rem; font-weight: 600; color: var(--d-ink-2); }
.lg-table td { padding: 8px; background: var(--d-raised); color: var(--d-ink); white-space: nowrap; }
.lg-table td:first-child { color: var(--d-ink-2); }
.lg-table td:last-child { width: 56px; text-align: end; }
.lg-big { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; }
.lg-table tr.done td { background: #1B2A4D; }
/* 320px phones: the set table keeps every column without spilling out of the card */
@media (max-width: 359px) { .logger { padding-inline: 12px; } .lg-table { font-size: .875rem; } .lg-table td, .lg-table th { padding-inline: 4px; } .lg-table td:last-child { width: 48px; } .lg-big { font-size: 1rem; } }
.lg-tick { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; background: var(--d-card); cursor: pointer;
  transition: background-color var(--t1) var(--ease), transform var(--t1) var(--ease); }
.lg-tick svg { width: 22px; height: 22px; fill: none; stroke: var(--d-ink-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 20; stroke-dashoffset: 0; }
.lg-tick:hover { background: #2A3040; }
.lg-tick:active { transform: scale(.92); }
.lg-tick[aria-pressed="true"] { background: var(--d-fill); }
.lg-tick[aria-pressed="true"] svg { stroke: #FFFFFF; }
.lg-rest { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-block-start: 12px; padding: 12px 14px; background: var(--d-raised); }
.lg-ring { width: 48px; height: 48px; transform: rotate(-90deg); }
.lg-ring-track { fill: none; stroke: #2E3443; stroke-width: 5; }
.lg-ring-fill { fill: none; stroke: var(--d-accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.sec-dark .lg-rest-txt { color: var(--d-ink); font-weight: 600; }
.lg-rest-txt b { font-family: var(--f-display); font-size: 1.35rem; margin-inline-start: 6px; }
.lg-skip { min-height: 44px; padding: 6px 14px; border: 0; background: transparent; color: var(--d-accent); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.lg-rest.idle .lg-ring-fill { stroke-dashoffset: 100; }
.lg-rest.idle .lg-skip { visibility: hidden; }

/* ---------- your day: one pinned scene (23 Nov 2026) ----------
   At rest (no script, Reduce Motion, narrow or short screens, still screenshots) it is a plain stack: each beat
   with its own app cards beside its words. With motion welcome on a wide screen the beats' cards hide, the phone
   stays in the middle of the screen (sticky) and its screen crossfades to the beat crossing the middle. */
.day-head { display: grid; gap: 20px; max-width: 760px; }
.day-head p { color: var(--ink-2); max-width: 32em; }
.day-stage { display: none; }
.day-beats { margin-block-start: clamp(40px, 6vw, 80px); display: grid; gap: clamp(40px, 6vw, 72px); }
.beat { display: grid; gap: 20px; align-items: center; }
.beat-shot { display: grid; gap: 0; padding-block: 8px; background: var(--d-ground); max-width: 440px; --cut: 26px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.beat-shot img { width: 100%; }
.beat-txt { max-width: 30em; }
.beat-txt h3 + p { margin-block-start: 8px; color: var(--ink-2); }
.beat-txt p + h3 { margin-block-start: 28px; }
@media (min-width: 700px) { .beat { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 5vw, 80px); } }

/* the phone: an app screen made of the real cards on the app's dark ground */
.dp-screen { position: relative; aspect-ratio: 390 / 848; overflow: hidden; border-radius: 40px; background: var(--d-ground); }
/* the status bar is the top of the real Today screenshot (52 of its 848 rows), so the phone reads as the app */
.dp-status { position: absolute; left: 0; right: 0; top: 0; height: 6.1%; overflow: hidden; z-index: 1; }
.dp-view { position: absolute; inset: 0; padding-block-start: 11%; display: flex; flex-direction: column; opacity: 0; }
.dp-view.on { opacity: 1; }
/* cards keep their size and run on under the screen's bottom edge, like a screen with more below */
.dp-view > picture { flex: none; }
/* the first beat is the whole real Today screen, status bar to tab bar */
.dp-view.dp-full { padding-block-start: 0; }
.phone .dp-view img, .phone .dp-status img { border-radius: 0; }
/* the photo result is a sheet over the meal photo: round its top corners off so the photo never peeks out */
img.sheet-top, .phone .dp-view img.sheet-top { border-radius: 4.4% 4.4% 0 0 / 4.1% 4.1% 0 0; }
.dp-steps { display: flex; justify-content: center; gap: 8px; margin-block-start: 24px; }
.dp-steps i { width: 22px; height: 7px; background: var(--edge); clip-path: var(--bar); transition: background-color var(--t2) var(--ease), width var(--t2) var(--ease); }
.dp-steps i.on { width: 36px; background: var(--accent); }

@media (min-width: 860px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  /* phone width from the screen height, so the whole phone and its marks fit between the header and the bottom */
  .motion:not(.snap) .day-scene { --pw: min(300px, calc((100vh - var(--head) - 150px) * .46));
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(var(--pw), .8fr); column-gap: clamp(40px, 5vw, 96px); }
  .motion:not(.snap) .day-stage { display: block; grid-column: 2; grid-row: 1; align-self: start; justify-self: center; position: sticky;
    top: calc(var(--head) / 2 + 50vh - (2.174 * (var(--pw) - 18px) + 18px + 31px) / 2); }
  .motion:not(.snap) .day-phone { width: var(--pw); }
  .motion:not(.snap) .day-beats { grid-column: 1; grid-row: 1; gap: 0; margin-block-start: 0; }
  .motion:not(.snap) .beat { display: flex; align-items: center; min-height: 72vh; }
  /* the last beat runs longer, so the phone is still held while it sits in the middle */
  .motion:not(.snap) .beat:last-child { min-height: 92vh; }
  .motion:not(.snap) .beat-shot { display: none; }
  .motion:not(.snap) .beat-txt { opacity: .3; transition: opacity var(--t2) var(--ease); }
  .motion:not(.snap) .beat.on .beat-txt { opacity: 1; }
  .motion:not(.snap) .beat-txt h3 { font-size: clamp(1.5rem, 1rem + 1.2vw, 2.125rem); line-height: 1.2; letter-spacing: -.02em; }
  html[lang="ar"].motion:not(.snap) .beat-txt h3 { line-height: 1.5; letter-spacing: 0; }
  .motion:not(.snap) .beat-txt p { font-size: 1.125rem; }
  .motion:not(.snap) .dp-view { transform: translateY(16px) scale(.985);
    transition: opacity var(--t2) var(--ease), transform var(--t3) var(--ease); }
  .motion:not(.snap) .dp-view.on { transform: none; }
}

/* ---------- water ---------- */
.water-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .water-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.water-copy > p { margin-block-start: 20px; color: var(--ink-2); max-width: 34em; }
.water-copy .peaks { margin-block-start: 28px; }
.water-copy .peaks li::before { background: var(--water-l); }
.water-demo { display: grid; gap: 18px; }
.wd-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.wd-amount { text-align: center; font-family: var(--f-display); }
.wd-amount b { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -.03em; }
.wd-amount span { font-weight: 600; color: var(--ink-2); }
.wd-vessel { width: min(100%, 220px); margin-inline: auto; cursor: ns-resize; touch-action: none; }
.wd-vessel:focus-visible { outline-offset: 6px; }
.wd-vessel svg { width: 100%; height: auto; overflow: visible; }
.wd-vessel [hidden] { display: none; }
.wd-body { fill: var(--raised); }
.wd-rim { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.wd-cap { fill: var(--ink); }
.wd-water { fill: var(--water-l); }
.wd-marks line { stroke: var(--ink-2); stroke-width: 2; }
.wd-marks text { font: 600 12px var(--f-body); fill: var(--ink-2); }
.wd-presets { justify-content: center; }
.wd-day p { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.wd-bar { width: 100%; height: 8px; margin-block-start: 8px; }
.wd-bar-track { fill: var(--raised); }
.wd-bar-fill { fill: var(--water-l); }
.wd-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-actions .btn { flex: 1 1 auto; }

/* ---------- coaches (inset dark panel) ---------- */
.coach-sec { padding-block: calc(var(--sec) * .5); }
.inset { max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.inset-in { background: var(--d-ground); color: var(--d-ink); padding: clamp(28px, 5vw, 72px); display: grid; gap: clamp(32px, 4vw, 56px);
  --cut: clamp(40px, 6vw, 80px); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.inset-in h2, .inset-in h3, .inset-in b { color: var(--d-ink); }
.inset-in p { color: var(--d-ink-2); }
.coach-lede { margin-block-start: 20px; max-width: 34em; }
.coach-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-block-start: 36px; }
.coach-list li { display: grid; gap: 4px; align-content: start; }
.cp { width: 96px; margin-block-end: 10px; --cut: 18px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); background: var(--d-raised); }
.cp img { width: 96px; height: 96px; object-fit: cover; }
.coach-list b { font-family: var(--f-display); font-size: 1.1rem; }
.coach-list span { color: var(--d-ink-2); font-size: .95rem; }
.coach-side { display: grid; gap: 28px; align-content: start; }
.coach-block p { margin-block-start: 8px; }
.coach-note { font-size: .92rem; }
.ai-tag { display: inline-block; padding: 2px 8px; margin-inline-end: 6px; background: var(--d-raised); color: var(--d-ink); font-weight: 700; font-size: .8rem; }
.coach-phone { width: min(70vw, 280px); justify-self: center; background: var(--d-raised); }
@media (min-width: 640px) { .coach-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .inset-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) 280px; align-items: start; }
  .coach-head { grid-column: 1 / 3; }
  .coach-list { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coach-side { grid-column: 2; }
  .coach-phone { grid-column: 3; grid-row: 1 / 3; }
}

/* ---------- food menu ---------- */
.food-head { display: grid; gap: 20px; max-width: 760px; }
.food-head p { color: var(--ink-2); max-width: 36em; }
.menu-cat { margin-block-start: clamp(40px, 5vw, 64px); }
.menu-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block-end: 16px; font-size: 1.5rem; }
.menu-h small { font-family: var(--f-body); font-size: .95rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.menu { display: grid; gap: 8px; }
@media (min-width: 860px) { .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); } }
.mi { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px; background: var(--surface); }
.mi-pic { display: block; width: 64px; height: 64px; background: var(--raised); --cut: 12px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.mi-pic img { width: 64px; height: 64px; object-fit: cover; }
.mi-peak { position: relative; }
.mi-peak::after { content: ""; position: absolute; inset: 18px 20px; background: var(--accent);
  -webkit-mask: url(/assets/img/brand/flint-mark-solid.svg?v=bd87adf8) center / contain no-repeat; mask: url(/assets/img/brand/flint-mark-solid.svg?v=bd87adf8) center / contain no-repeat; }
.mi-txt { display: grid; gap: 2px; min-width: 0; }
.mi-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mi-row b { font-weight: 700; }
.mi-kc { flex: none; font-weight: 700; color: var(--accent); white-space: nowrap; }
.mi-sv { color: var(--ink-2); font-size: .92rem; }
/* phones: six rows of the long list, then «show all» (flint.js adds .clip and shows the button; no script = full list) */
.menu-more { margin-block-start: 12px; width: 100%; clip-path: none; }
.menu-more[hidden] { display: none; }
.menu > li:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.menu > li:focus:not(:focus-visible) { outline: none; }
@media (max-width: 859px) { .menu.clip > li:nth-child(n+7) { display: none; } }
@media (min-width: 860px) { .menu-more { display: none; } }
.menu-note { margin-block-start: 20px; color: var(--ink-2); font-size: .95rem; max-width: 50em; }
.food-extra { display: grid; gap: var(--gap); margin-block-start: clamp(40px, 5vw, 64px); }
.food-extra > div { padding: clamp(22px, 3vw, 32px); background: var(--raised); }
.food-extra p { margin-block-start: 10px; color: var(--ink-2); }
@media (min-width: 860px) { .food-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- privacy tiles ---------- */
.priv-sec { padding-block-start: 0; }
.priv-board { display: grid; gap: var(--gap); }
.ptile { position: relative; padding: clamp(24px, 3vw, 36px); background: var(--surface); }
.ptile h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.2; }
.ptile p { margin-block-start: 12px; color: var(--ink-2); }
.ptile-head { background: none; padding: 0 0 16px; display: flex; align-items: flex-end; }
.ptile-head h2 { max-width: 14em; }
.ptile-link { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; background: var(--accent); color: var(--on-accent);
  text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1.25;
  --cut: 26px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); transition: background-color var(--t1) var(--ease); }
.ptile-link:hover { background: var(--accent-press); }
.ptile-link .arr { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .ptile-link .arr { transform: scaleX(-1); }
.ptile-link:focus-visible { outline: 3px solid var(--on-accent); outline-offset: -8px; }
@media (min-width: 700px) { .priv-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ptile-head { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .priv-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- pricing (dark) ---------- */
.price-grid { display: grid; gap: clamp(88px, 7vw, 104px); }
@media (min-width: 1000px) { .price-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.price-copy > p { margin-block-start: 20px; max-width: 34em; }
.trial { display: grid; gap: 8px; margin-block-start: 36px; }
.trial li { display: grid; gap: 2px; padding: 18px 20px; background: var(--d-card); position: relative; padding-inline-start: 52px; }
.trial li::before { content: ""; position: absolute; inset-inline-start: 20px; inset-block-start: 27px; width: 18px; height: 7px; background: var(--d-accent);
  clip-path: var(--bar); }
.trial li:first-child { background: var(--d-fill); }
.trial li:first-child::before { background: #FFFFFF; }
.sec-dark .trial li:first-child span { color: #E6ECFF; }
.trial b { font-family: var(--f-display); }
/* Two plans (owner, 20 Nov 2026): yearly first and marked, monthly as its own clear option. The period word sits on
   the price's baseline, smaller than the figure but easy to read. The mark never mirrors (the amount box is LTR). */
.plans { display: grid; gap: 12px; }
.plan { position: relative; padding: clamp(20px, 2.4vw, 28px); background: var(--d-card); color: var(--d-ink); }
.plan-y { background: var(--d-raised); box-shadow: inset 0 0 0 2px var(--d-fill); }
.plan-top { display: flex; align-items: center; gap: 12px; }
.plan-name { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; }
.plan-tag { padding: 2px 12px; font-size: .9rem; font-weight: 700; line-height: 1.5; background: var(--d-fill); color: #FFFFFF; white-space: nowrap;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.plan-price { display: flex; align-items: baseline; align-items: last baseline; flex-wrap: wrap; column-gap: 12px; row-gap: 4px; margin-block-start: 12px; }
.pp-amt { display: inline-flex; align-items: flex-start; font-family: "Sora", var(--f-display); line-height: .9; }
.pf-cur { font-size: .45em; font-weight: 600; margin-block-start: .2em; margin-inline-end: .06em; }
.pf-num { font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan-y .pp-amt { font-size: clamp(3.5rem, 1.6rem + 6vw, 7rem); }
.plan-m .pp-amt { font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); }
.pf-per { font-family: var(--f-body); font-weight: 700; line-height: 1.2; color: var(--d-ink); }
.plan-y .pf-per { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); }
.plan-m .pf-per { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); }
.sec-dark .plan-price { color: var(--d-ink); }
.plan-note { margin-block-start: 10px; font-size: 1.0625rem; font-weight: 600; }
.sec-dark .plan-y .plan-note { color: var(--d-accent); }
.pf-peak { position: absolute; inset-block-start: clamp(20px, 2.4vw, 28px); inset-inline-end: clamp(20px, 2.4vw, 28px);
  width: clamp(32px, 4vw, 52px); height: auto; fill: var(--d-fill); }
.price-inc { margin-block-start: 32px; display: grid; gap: 12px; }
.sec-dark .price-inc li { position: relative; padding-inline-start: 30px; color: var(--d-ink); }
.price-inc li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; width: 17px; height: 7px; background: var(--d-accent); clip-path: var(--bar); }
.price-act { margin-block-start: 36px; }
.sec-dark .fine { margin-block-start: 20px; font-size: .9rem; max-width: 40em; }
.fine a { color: var(--d-accent); text-underline-offset: .2em; }

/* ---------- FAQ (filled tiles) ---------- */
.faq-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; } .faq-head { position: sticky; top: calc(var(--head) + 32px); } }
.faq-head p { margin-block-start: 20px; color: var(--ink-2); max-width: 30em; }
.faq-list { display: grid; gap: 6px; }
.faq-list details { background: var(--surface); transition: background-color var(--t2) var(--ease), color var(--t2) var(--ease); }
.faq-list summary { position: relative; display: block; padding-block: 20px; padding-inline: 24px 64px; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 650; font-size: 1.08rem; line-height: 1.4; }
html[lang="ar"] .faq-list summary { font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: -4px; }
.faq-list summary i { position: absolute; inset-inline-end: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2.5px; background: currentColor;
  transition: transform var(--t2) var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] { background: var(--accent); color: var(--on-accent); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details[open] summary:focus-visible { outline-color: var(--on-accent); }
.ans { padding: 0 24px 24px; max-width: 46em; }
.ans a { color: inherit; font-weight: 700; text-underline-offset: .2em; }
.faq-list details:hover:not([open]) { background: #FAFBFD; }

/* ---------- closing (cobalt field) ---------- */
.closing { background: var(--accent); color: var(--on-accent); overflow: clip; padding-block-end: 0; }
.close-grid { display: grid; gap: 40px; align-items: end; }
.close-copy { padding-block-end: clamp(40px, 8vw, 120px); }
.close-copy p { margin-block-start: 24px; font-size: 1.15rem; max-width: 30em; }
.close-copy p:last-child { margin-block-start: 32px; }
.btn-light:focus-visible { outline-color: var(--accent); }
.close-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.close-mail { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.close-phone { justify-self: center; width: min(70vw, 320px); background: var(--ink); }
@media (min-width: 960px) { .close-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } .close-phone { justify-self: end; } }

/* ---------- footer ---------- */
.site-foot { background: var(--d-ground); color: var(--d-ink); padding-block: clamp(48px, 6vw, 96px) 40px; }
/* the lockup at full width, by the brand rule: the word's cap height 0.40 of the mark, the gap 0.30 */
.foot-word { display: flex; align-items: center; gap: 8.55%; width: 100%; text-decoration: none; color: var(--d-ink); }
.foot-mark { width: 23.79%; height: auto; fill: var(--d-ink); flex: none; overflow: visible; }
.foot-wordmark { width: 67.66%; height: auto; fill: var(--d-ink); }
.foot-word:focus-visible { outline-offset: 8px; }
.foot-cols { display: grid; gap: 32px; margin-block-start: clamp(48px, 6vw, 88px); }
@media (min-width: 760px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.foot-col h2 { font-size: .95rem; font-weight: 700; color: var(--d-ink-2); letter-spacing: 0; }
.foot-col ul { display: grid; gap: 2px; margin-block-start: 12px; }
.foot-col a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; font-weight: 600; }
.foot-col a:hover { color: var(--d-accent); }
.foot-contact p { margin-block-start: 12px; color: var(--d-ink-2); max-width: 26em; }
.foot-contact p:first-of-type a { color: var(--d-ink); }
.foot-legal { display: grid; gap: 6px; margin-block-start: 48px; font-size: .85rem; color: var(--d-ink-2); }

/* ---------- legal pages ---------- */
.doc-head { padding-block: clamp(40px, 7vw, 96px) clamp(32px, 4vw, 56px); overflow: clip; }
.doc-head-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: end; }
/* phones: the mark would squeeze the intro into a narrow column, so it shows only from 700px */
@media (max-width: 699px) { .doc-peak { display: none; } }
@media (min-width: 700px) { .doc-head-in { grid-template-columns: minmax(0, 1fr) auto; } }
.doc-head h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
html[lang="ar"] .doc-head h1 { line-height: 1.3; letter-spacing: 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-block-start: 20px; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.summary { margin-block-start: 20px; font-size: 1.15rem; max-width: 40em; }
.doc-peak { width: clamp(64px, 12vw, 180px); height: auto; fill: var(--accent); }
.doc { display: grid; gap: 40px; padding-block-end: clamp(64px, 8vw, 120px); }
@media (min-width: 1000px) { .doc { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; } .toc { position: sticky; top: calc(var(--head) + 24px); max-height: calc(100vh - var(--head) - 48px); overflow: auto; } }
.toc { background: var(--surface); padding: 20px 22px; }
.toc h2 { font-size: 1rem; font-weight: 700; }
.toc ol { display: grid; gap: 2px; margin-block-start: 10px; }
.toc a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 600; line-height: 1.4; }
.toc a:hover { color: var(--accent); }
.prose { max-width: 46em; min-width: 0; }
.prose h2 { margin-block: 56px 16px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
html[lang="ar"] .prose h2 { line-height: 1.45; letter-spacing: 0; }
.prose h2:first-child { margin-block-start: 0; }
.prose h3 { margin-block: 32px 10px; font-size: 1.15rem; }
.prose p, .prose ul, .prose ol { margin-block: 0 16px; }
.prose ul li { position: relative; padding-inline-start: 26px; margin-block-end: 8px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .7em; width: 14px; height: 6px; background: var(--accent); clip-path: var(--bar); }
.prose a { color: var(--accent); font-weight: 600; text-underline-offset: .2em; overflow-wrap: anywhere; }
.prose strong { font-weight: 700; }
.steps-list { counter-reset: s; display: grid; gap: 8px; }
.prose .steps-list li { counter-increment: s; position: relative; padding-block: 14px; padding-inline: 56px 18px; background: var(--surface); margin: 0; }
.steps-list li::before { content: counter(s); position: absolute; inset-inline-start: 16px; top: 12px; width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0 6px; margin-block: 8px 24px; font-size: .95rem; }
.prose th { text-align: start; padding: 8px 14px; font-weight: 700; color: var(--ink-2); font-size: .85rem; }
.prose td { padding: 14px; background: var(--surface); vertical-align: top; }
.table { overflow-x: auto; }
@media (max-width: 720px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr { margin-block-end: 10px; background: var(--surface); padding: 6px 0; }
  .prose td { padding: 8px 16px; background: none; }
  .prose td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
}
.contact-card { margin-block: 16px 24px; padding: 24px; background: var(--surface); --cut: 22px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.prose .btn.primary { background: var(--accent); color: var(--on-accent); text-decoration: none; }
.refs li { overflow-wrap: anywhere; }
mark.review { background: #FFE9B8; color: var(--ink); padding: 0 4px; }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(56px, 10vw, 140px); overflow: clip; }
.nf-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .nf-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.nf-code { font-family: "Sora", var(--f-display); font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 700; line-height: .9; letter-spacing: -.05em; color: var(--accent); }
.nf h1 { margin-block: 16px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.1; letter-spacing: -.03em; }
.nf-copy p { margin-block-start: 12px; color: var(--ink-2); max-width: 32em; }
.nf-copy .nf-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-block-start: 28px; }
.nf-peak { width: min(60vw, 380px); justify-self: center; fill: var(--accent); }

/* ================= motion (opt-in: html.motion) ================= */
.motion [data-rv] { opacity: 0; transform: translateY(24px);
  transition: opacity var(--t2) var(--ease) var(--d, 0ms), transform var(--t3) var(--ease) var(--d, 0ms); }
.motion [data-rv].in { opacity: 1; transform: none; }

/* the mark builds like the app intro (LaunchIntroView, 18 Nov 2026): the four bars slide up into place along
   their 42-degree lean (top bar first, 70 ms apart), each pair still standing open about a bar-gap; then the
   pairs snap shut onto their hairline seams and the whole mark gives a small settle. Units are the drawing's. */
.motion [data-build] .fb-bar { opacity: 0; }
.motion [data-build].built .fb-bar { animation: fb-in 640ms var(--ease) both; }
.motion [data-build].built .fb2 .fb-bar { animation-delay: 70ms; }
.motion [data-build].built .fb3 .fb-bar { animation-delay: 140ms; }
.motion [data-build].built .fb4 .fb-bar { animation-delay: 210ms; }
.motion [data-build].built .fb { animation: 220ms cubic-bezier(.55, 0, .8, .3) 860ms both; }
.motion [data-build].built .fb1 { animation-name: fb-lock1; }
.motion [data-build].built .fb2 { animation-name: fb-lock2; }
.motion [data-build].built .fb3 { animation-name: fb-lock3; }
.motion [data-build].built .fb4 { animation-name: fb-lock4; }
.motion [data-build].built { animation: pk-settle 300ms var(--ease) 1080ms both; transform-origin: 50% 60%; }
@keyframes fb-in { from { opacity: 0; transform: translate(-113.7px, 126.3px); } 35% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes fb-lock1 { from { transform: translate(-5.4px, -13px); } to { transform: none; } }
@keyframes fb-lock2 { from { transform: translate(5.4px, 13px); } to { transform: none; } }
@keyframes fb-lock3 { from { transform: translateY(-13px); } to { transform: none; } }
@keyframes fb-lock4 { from { transform: translateY(13px); } to { transform: none; } }
@keyframes pk-settle { 0% { transform: scale(1); } 45% { transform: scale(.985); } 100% { transform: scale(1); } }

/* hero copy and phone arrive after the mark has started */
.motion .hero .hero-copy[data-rv] { --d: 260ms; }
.motion .hero-phone { opacity: 0; transform: translateY(60px); transition: opacity var(--t2) var(--ease) 420ms, transform 1100ms var(--ease) 420ms; }
.motion .hero-phone.in { opacity: 1; transform: none; }

/* scan: the shutter (signature motion). A new plate closes in from the top like a camera shutter,
   the scan line sweeps once, then the boxes land one after another. */
.motion .scan-photo .bbox { opacity: 0; transform: scale(.94); transition: opacity 260ms var(--ease), transform 420ms var(--snap); }
.motion .scan-photo.shot .slide.on .bbox { opacity: 1; transform: none; }
.motion .scan-photo.shot .slide.on .b1 { transition-delay: 760ms; }
.motion .scan-photo.shot .slide.on .b2 { transition-delay: 830ms; }
.motion .scan-photo.shot .slide.on .b3 { transition-delay: 900ms; }
.motion .scan-photo.shot .slide.on .b4 { transition-delay: 970ms; }
.motion .scan-photo.shot .slide.on { animation: shutter 620ms var(--ease) both; }
.motion .scan-photo.shot .scan-line { animation: sweep 900ms var(--ease) 260ms both; }
.motion .scan-photo.shot .scan-chip { animation: chip 1100ms var(--ease) 200ms both; }
@keyframes shutter { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sweep { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--sweep, 560px)); } }
@keyframes chip { 0% { opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }

/* how: the three frames rise in turn (data-rv); in the camera the viewfinder corners close in on the plate,
   then the shutter is pressed once */
.motion .cam-corners i { opacity: 0; transition: opacity var(--t2) var(--ease) 380ms, transform var(--t3) var(--ease) 380ms; }
.motion .cam-corners i:nth-child(1) { transform: translate(-14px, -14px); }
.motion .cam-corners i:nth-child(2) { transform: translate(14px, -14px); }
.motion .cam-corners i:nth-child(3) { transform: translate(-14px, 14px); }
.motion .cam-corners i:nth-child(4) { transform: translate(14px, 14px); }
.motion .how-step.in .cam-corners i { opacity: 1; transform: none; }
.motion .how-step.in .cam-shutter { animation: press 360ms var(--ease) 1200ms both; }
@keyframes press { 0% { transform: scale(1); } 40% { transform: scale(.84); } 100% { transform: scale(1); } }

/* logger: a ticked set draws its check */
.motion .lg-tick[aria-pressed="true"] svg { animation: tick 320ms var(--ease) both; }
@keyframes tick { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }

/* small live transitions (only when motion is welcome) */
.motion .wd-water { transition: y var(--t2) var(--ease), height var(--t2) var(--ease); }
.motion .wd-bar-fill { transition: width var(--t2) var(--ease); }
.motion .pl-food { transition: r var(--t2) var(--ease); }
.motion .lg-ring-fill { transition: stroke-dashoffset 1s linear; }

/* scroll-driven: the hero mark drifts as the hero leaves; the workouts peak rises into place */
@supports (animation-timeline: view()) {
  .motion .hero-shape { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .motion .wk-shape svg { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  .motion .plan-y .pf-peak { animation: rise-sm linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
}
@keyframes drift { to { transform: translateY(12%); } }
@keyframes rise { from { transform: translateY(30%); } to { transform: none; } }
@keyframes rise-sm { from { transform: translateY(60%) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ================= apparel: Drop 01 «First Spark» (18 Nov 2026) =================
   A coming-soon page for the first collection. The idea: the 42-degree lean of the mark's bar ends is the
   collection's one line (its cobalt panels are cut on it), so the page moves on it too: the mark builds in,
   the colour bars slide up along the lean and stack into one slanted cut, and every picture opens with a
   wipe whose edge leans 42 degrees. Black #0B0D12, cobalt #1F5BEA, white #F3F5F9. Pictures never mirror. */
.soon { display: inline-block; margin-inline-start: 6px; padding: 1px 10px; font-size: .75rem; font-weight: 700; line-height: 1.5;
  background: var(--accent); color: #FFFFFF; vertical-align: 1px; white-space: nowrap;
  clip-path: polygon(4.5px 0, 100% 0, calc(100% - 4.5px) 100%, 0 100%); }
.nav .nav-ap[aria-current] { color: var(--ink); }
.foot-col .soon { margin-inline-start: 8px; }

/* the page's header is dark, so it runs into the runway picture */
.p-apparel .site-head { background: #0B0D12; color: var(--d-ink); }
.p-apparel .nav a { color: #B9C0CD; }
.p-apparel .nav a:hover, .p-apparel .nav .nav-ap[aria-current] { color: #FFFFFF; }
.p-apparel .head-tools summary:hover { background: var(--d-raised); }
.p-apparel .head-tools details[open] summary { background: var(--d-ink); color: #0B0D12; }
.p-apparel .site-head :focus-visible, .ap-hero :focus-visible, .ap-dark :focus-visible { outline-color: var(--d-accent); }

.ap-sec { padding-block: clamp(96px, 11vw, 176px); position: relative; }
.ap-dark { background: #0B0D12; color: var(--d-ink); }
.ap-dark p { color: #D3D9E3; }
.ap-head { display: grid; gap: 20px; max-width: 780px; margin-block-end: clamp(40px, 5vw, 72px); }
.ap-head p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 34em; }

/* hero: the runway, full bleed */
.ap-hero { position: relative; display: grid; align-items: end; min-height: clamp(560px, calc(100svh - var(--head)), 1040px);
  background: #0B0D12; color: #FFFFFF; overflow: clip; }
.ap-hero-media { position: absolute; inset: 0; }
.ap-hero-pic, .ap-hero-pic img { display: block; width: 100%; height: 100%; }
.ap-hero-pic img { object-fit: cover; object-position: 50% 0; }
/* the one allowed blend: a neutral scrim under the words on the photograph */
.ap-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 13, 18, .94) 0%, rgba(11, 13, 18, .7) 30%, rgba(11, 13, 18, 0) 62%); }
.ap-hero-in { position: relative; padding-block: 160px clamp(40px, 6vw, 88px); }
.ap-hero-mark svg { width: clamp(52px, 5vw, 84px); height: auto; fill: #FFFFFF; overflow: visible; }
html[dir="rtl"] .ap-hero-mark svg { margin-left: auto; }   /* placed at the reading start; the drawing itself never mirrors */
.ap-title { margin-block-start: clamp(18px, 2vw, 28px); font-size: clamp(3.5rem, 1rem + 9.6vw, 11.5rem); line-height: .92; font-weight: 700; letter-spacing: -.045em; color: #FFFFFF; }
html[lang="ar"] .ap-title { font-size: clamp(3rem, 1rem + 7.6vw, 9rem); line-height: 1.25; letter-spacing: 0; font-weight: 800; }
.ap-title .ln { display: block; }
.ap-sub { margin-block-start: clamp(20px, 2.4vw, 32px); max-width: 30em; font-size: clamp(1.125rem, 1rem + .3vw, 1.25rem); line-height: 1.5; color: #E8ECF3; }
.ap-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-block-start: 32px; }
.ap-soon { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.125rem; color: #FFFFFF; }
.ap-soon i { width: 24px; height: 8px; background: var(--d-accent); clip-path: polygon(7.2px 0, 100% 0, calc(100% - 7.2px) 100%, 0 100%); }

/* idea: the three colours as the mark's bars; equal heights and 6px seams, so their 42-degree ends
   line up into one slanted cut (each bar is 0.9 x (height + seam) shorter than the one above it) */
.ap-idea { background: #DDE2EA; }
.ap-idea-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .ap-idea-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.ap-lede { margin-block-start: 24px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 32em; }
.swatches { display: grid; gap: 6px; }
.sw { --h: clamp(112px, 10vw, 148px); justify-self: left; width: 100%; min-height: var(--h); display: flex; flex-wrap: wrap; align-content: center; align-items: baseline;
  gap: 4px 16px; padding-block: 18px; padding-left: 28px; padding-right: calc(var(--h) * .9 + 20px);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--h) * .9) 100%, 0 100%); }
.sw-cobalt { width: calc(100% - (var(--h) + 6px) * .9); }
.sw-white { width: calc(100% - (var(--h) + 6px) * 1.8); }
.sw b { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
html[lang="ar"] .sw b { letter-spacing: 0; line-height: 1.4; }
.sw-hex { font-weight: 700; font-variant-numeric: tabular-nums; }
.sw-p { flex-basis: 100%; font-size: .95rem; line-height: 1.45; }
.sw-black { background: #0B0D12; color: #FFFFFF; } .sw-black .sw-hex, .sw-black .sw-p { color: #D3D9E3; }
.sw-cobalt { background: #1F5BEA; color: #FFFFFF; } .sw-cobalt .sw-hex, .sw-cobalt .sw-p { color: #E9EFFF; }
.sw-white { background: #F3F5F9; color: var(--ink); }
/* phones: the bars keep their lean but not the stagger, which would leave the last one too narrow to read */
@media (max-width: 640px) { .sw { --h: 104px; padding-left: 20px; } .sw-white, .sw-cobalt { width: 100%; } }

/* pieces */
.ap-pieces-head { display: grid; gap: 32px; margin-block-end: clamp(40px, 5vw, 64px); }
.ap-pieces-head p { margin-block-start: 20px; max-width: 34em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
@media (min-width: 1000px) { .ap-pieces-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.ap-filter { display: grid; gap: 14px; justify-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-dark .ap-chip { background: #1A1E27; color: var(--d-ink); }
.ap-dark .ap-chip:hover { background: #262B36; }
.ap-dark .ap-chip[aria-pressed="true"] { background: #FFFFFF; color: #0B0D12; }
.ap-chip:active { transform: scale(.97); }
.ap-chip { transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease), transform var(--t1) var(--ease); }
.ap-dark .ap-count { font-weight: 600; color: #D3D9E3; }
.pcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; grid-auto-flow: dense; }
@media (min-width: 1000px) { .pcs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 20px; } .pc-hero { grid-column: span 2; grid-row: span 2; } }
.pc[hidden] { display: none; }
.pc-btn { display: grid; grid-template-rows: 1fr auto; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.pc-pic { position: relative; display: block; overflow: hidden; background: #141821; min-height: 0; }
.pc-zoom { position: relative; display: block; height: 100%; transition: transform 900ms var(--ease); }
.pc-pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1856 / 2304; }
.pc-hero .pc-zoom { position: absolute; inset: 0; }
.pc-hero .pc-pic img { aspect-ratio: auto; }
.pc-dot { position: absolute; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: 2px solid #FFFFFF;
  outline: 2px solid rgba(11, 13, 18, .55); opacity: 0; transform: scale(1.7); pointer-events: none;
  transition: opacity 240ms var(--ease), transform 420ms var(--ease); }
.pc-hero .pc-dot { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.pc-btn:hover .pc-zoom, .pc-btn[aria-pressed="true"] .pc-zoom { transform: scale(1.04); }
.pc-btn:hover .pc-dot, .pc-btn:focus-visible .pc-dot, .pc-btn[aria-pressed="true"] .pc-dot { opacity: 1; transform: none; }
.pc-btn:focus-visible { outline: 3px solid var(--d-accent); outline-offset: 4px; }
.pc-txt { display: grid; gap: 6px; padding-block-start: 16px; }
.pc-name { font-family: var(--f-display); font-size: 1.125rem; line-height: 1.3; font-weight: 650; color: var(--d-ink); }
html[lang="ar"] .pc-name { font-weight: 700; }
.pc-hero .pc-name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }
.pc-place { font-size: .95rem; line-height: 1.5; color: #C9D0DB; }
.pc-k { margin-inline-end: 8px; font-weight: 700; color: var(--d-accent); }
.pc-btn[aria-pressed="true"] .pc-k { color: #FFFFFF; }

/* the mark in fabric */
.fab-grid { display: grid; gap: 16px; }
.fab { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; }
.fab-pic { --sl: 90%; display: block; overflow: hidden; background: #141821; min-height: 0; }
.fab-pic img { width: 100%; height: 100%; object-fit: cover; }
.fab figcaption, .ap-fig figcaption { margin-block-start: 12px; font-size: .95rem; font-weight: 600; line-height: 1.45; }
@media (min-width: 800px) {
  .fab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fab-embroidery { grid-column: 1 / 3; grid-row: 1 / 3; }
  .fab-reflective { grid-column: 3; grid-row: 1; } .fab-cap { grid-column: 3; grid-row: 2; }
  .fab-wristband { grid-column: 1; grid-row: 3; } .fab-waistband { grid-column: 2 / 4; grid-row: 3; }
  .fab-reflective .fab-pic, .fab-cap .fab-pic, .fab-wristband .fab-pic { aspect-ratio: 1; }
  .fab-embroidery .fab-pic, .fab-waistband .fab-pic { position: relative; }
  .fab-embroidery img, .fab-waistband img { position: absolute; inset: 0; }
  .fab-waistband img { object-position: 50% 30%; }
}

/* lookbook: a clean stack, a horizontal run under the scroll on wide screens (below) */
.look-view { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.look-track { display: grid; gap: 32px 16px; }
.ap-frame { --sl: 60%; display: block; overflow: hidden; background: #141821; }
.ap-frame img { width: 100%; height: auto; }
.r-tall { --sl: 112.5%; } .r-sq { --sl: 90%; } .r-wide { --sl: 50%; }
.ap-fig .ap-frame { --sl: inherit; }
.ap-dark .ap-fig figcaption { color: var(--d-ink); }
@media (min-width: 800px) {
  .look-track { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .lk-look-group { grid-column: 1 / -1; }
  .lk-look-men img, .lk-look-duo img { aspect-ratio: 1.9; object-fit: cover; }
}

/* training: the words hold still while the pictures pass */
.train-grid { display: grid; gap: 40px; }
.train-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; align-items: start; }
.tr-train-run-city, .tr-train-boxing { grid-column: 1 / -1; }
.train-copy p { margin-block-start: 20px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 26em; }
@media (min-width: 1000px) {
  .train-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
  .train-copy { position: sticky; top: calc(var(--head) + 48px); }
  .train-figs { gap: 48px 20px; }
}

/* closing: the cobalt field of the home page, the mark large behind the phone */
.ap-close { padding-block-end: 0; }
.ap-close-shape { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ap-close-shape svg { position: absolute; right: -8%; bottom: -12%; width: min(86vw, 720px); height: auto; fill: #3D78F7; }
.ap-close .wrap { position: relative; }
.ap-note { padding-block: 28px 36px; font-size: .95rem; color: #E9EFFF; }

/* ---------- apparel motion (opt-in: html.motion; Reduce Motion shows everything at rest) ---------- */
.motion .ap-hero-pic img { animation: ap-zoom 2400ms var(--ease) both; }
.motion .ap-title .ln { animation: ap-line 1000ms var(--ease) 420ms both; }
.motion .ap-sub { animation: ap-up 900ms var(--ease) 620ms both; }
.motion .ap-act { animation: ap-up 900ms var(--ease) 760ms both; }
@keyframes ap-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes ap-line { from { opacity: 0; transform: translateY(32px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }
@keyframes ap-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* the colour bars arrive like the mark's bars: up and to the right along the lean */
.motion [data-bar] { opacity: 0; transform: translate(-80px, 89px); transition: opacity var(--t2) var(--ease) var(--d, 0ms), transform var(--t3) var(--ease) var(--d, 0ms); }
.motion [data-bar].in { opacity: 1; transform: none; }
/* every picture opens with a wipe whose edge leans 42 degrees (top ahead of the bottom by 0.9 x height). The
   picture itself is never clipped (so it loads and is observed normally): a curtain in the section's ground
   colour covers it and is cut away from the left along the lean. */
main.ap { overflow-x: clip; }   /* the bars and pictures enter from outside the page; never a sideways scroll */
[data-wipe] { position: relative; }
.motion [data-wipe]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--wipe-bg, #F3F5F9);
  clip-path: polygon(0 0, calc(200% + var(--sl, 60%)) 0, 200% 100%, calc(0% - var(--sl, 60%)) 100%);
  transition: clip-path 1150ms cubic-bezier(.65, 0, .25, 1) var(--d, 0ms); }
.motion [data-wipe].in::after { clip-path: polygon(calc(100% + var(--sl, 60%)) 0, calc(200% + var(--sl, 60%)) 0, 200% 100%, 100% 100%); }
.ap-dark [data-wipe] { --wipe-bg: #0B0D12; }
.motion .pc.pop { animation: ap-up 520ms var(--ease) var(--d, 0ms) both; }
@supports (animation-timeline: view()) {
  .motion .ap-hero-media { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .motion .fab-pic img { animation: fab-zoom linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .motion .ap-close-shape svg { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
}
@keyframes fab-zoom { from { transform: scale(1.16); } to { transform: scale(1); } }
/* lookbook on wide screens: the section holds still and the runway passes sideways as you scroll */
@supports (view-timeline: --a) {
  @media (min-width: 1000px) and (min-height: 640px) {
    .motion:not(.snap) .look-run { height: 230vh; view-timeline: --look block; }
    .motion:not(.snap) .look-pin { position: sticky; top: var(--head); height: calc(100vh - var(--head)); display: flex; align-items: center; overflow: hidden; }
    .motion:not(.snap) .look-view { direction: ltr; max-width: none; width: auto; flex: 1; padding: 0; margin-inline: var(--m); overflow: hidden; }
    .motion:not(.snap) .look-track { --lh: min(calc(100vh - var(--head) - 140px), 820px); direction: ltr; display: flex; gap: 20px; width: max-content; padding-inline: 0;
      animation: look-x linear both; animation-timeline: --look; animation-range: contain 0% contain 100%; }
    .motion:not(.snap) .look-track .ap-fig { flex: none; }
    .motion:not(.snap) .look-track img { height: var(--lh); width: auto; }
    html[dir="rtl"].motion:not(.snap) .look-track figcaption { direction: rtl; text-align: right; }
  }
}
@keyframes look-x { to { transform: translateX(var(--shift, 0px)); } }
.snap [data-bar], .snap .pc, .snap .ap-title .ln, .snap .ap-sub, .snap .ap-act { opacity: 1 !important; transform: none !important; }
.snap [data-wipe]::after { display: none !important; }
.snap .ap-title .ln { clip-path: none !important; }

/* html.snap: added by tools/render for still screenshots: every piece in its final place */
.snap *, .snap *::before, .snap *::after { animation: none !important; transition: none !important; }
.snap [data-rv], .snap .hero-phone, .snap .cam-corners i, .snap .scan-photo .bbox { opacity: 1 !important; transform: none !important; }
.snap [data-build] path { opacity: 1 !important; }
.snap [data-build] .fb { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
}

/* forced colours: keep frames and controls visible */
@media (forced-colors: active) {
  .btn, .chip, .tab, .pcard, .lg-tick { border: 2px solid ButtonText; }
  .peaks li::before, .prose ul li::before { background: CanvasText; }
}
