/* Fame6 — shared design system ("Prism", light theme).
   Page builders: use these tokens and classes; put page-only styles in src/pages/<slug>/page.css. */

/* Self-hosted fonts (variable woff2, Latin + Latin-ext; Latin-ext carries the ₹ sign). build.py preloads the two Latin files. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* metric-matched fallback so the swap does not shift text */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }

:root {
  /* grounds */
  --bg: #fafbfd;
  --surface: #ffffff;
  --surface-2: #f2f4f8;
  --line: #e3e6ee;
  --line-strong: #cfd4df;

  /* ink system (all AA on --bg / --surface) */
  --ink-statement: #0b0b14;
  --ink-intro: #2b2d3a;
  --ink-body: #4a4d5c;
  --ink-note: #646878;

  /* six engines: hue (graphics, rules, dots) / ink (AA text on white) / tint (soft grounds) */
  --e1: #ff3d6e; --e1-ink: #c2184b; --e1-tint: #fff0f4;   /* 01 Brand */
  --e2: #ff7a1a; --e2-ink: #b54a00; --e2-tint: #fff4ec;   /* 02 Demand */
  --e3: #f5b800; --e3-ink: #8a6400; --e3-tint: #fff9e6;   /* 03 Content */
  --e4: #12b886; --e4-ink: #0b7a59; --e4-tint: #eafaf4;   /* 04 Web */
  --e5: #1e7bff; --e5-ink: #0b5bd3; --e5-tint: #edf4ff;   /* 05 Automation */
  --e6: #7a4dff; --e6-ink: #5b2ee0; --e6-tint: #f3efff;   /* 06 AI */
  --spectrum: linear-gradient(90deg, var(--e1), var(--e2), var(--e3), var(--e4), var(--e5), var(--e6));

  /* CTA (white text AA on both stops) */
  --cta: linear-gradient(110deg, #5b2ee0 0%, #8a1fb0 50%, #c2184b 100%);

  /* type */
  --font-display: "Bricolage Grotesque", "Inter", "Inter Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --fs-display: clamp(48px, 9.2vw, 132px);
  --fs-1: clamp(40px, 6.4vw, 88px);
  --fs-2: clamp(32px, 4.4vw, 60px);
  --fs-3: clamp(22px, 2.2vw, 30px);
  --fs-lead: clamp(18px, 1.6vw, 22px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-ui: 15px;      /* nav, footer links, compact buttons */
  --fs-micro: 12px;   /* uppercase labels, index numbers */

  /* layout */
  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 72px;
  --section-y: clamp(80px, 11vw, 160px);
  --r-sm: 12px; --r: 20px; --r-lg: 32px;
  --shadow: 0 1px 2px rgba(11, 11, 20, 0.04), 0 12px 40px -12px rgba(11, 11, 20, 0.12);
  --shadow-lg: 0 2px 4px rgba(11, 11, 20, 0.04), 0 40px 80px -24px rgba(40, 30, 90, 0.22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.32, .72, 0, 1);      /* heavy, settled — reveals, menus */
  --ease-press: cubic-bezier(.3, 1.4, .5, 1);    /* tiny overshoot — hover lifts */

  /* rhythm (4px base) — use for gaps inside sections */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section-y-sm: clamp(56px, 7vw, 96px);

  /* hairlines + focus */
  --hairline: rgba(11, 11, 20, 0.08);
  --hairline-strong: rgba(11, 11, 20, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 1px rgba(11, 11, 20, 0.04), 0 4px 12px -6px rgba(40, 30, 90, 0.14);
  --shadow-float: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 2px rgba(11, 11, 20, 0.05), 0 18px 48px -18px rgba(40, 30, 90, 0.28);
  --focus: 0 0 0 2px var(--bg), 0 0 0 4.5px var(--e6-ink);
  --r-pill: 999px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink-body);
  font: 400 var(--fs-body)/1.65 var(--font-body);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink-statement); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
p, li { text-wrap: pretty; }
button { font: inherit; }
:focus-visible { outline: 2.5px solid var(--e6-ink); outline-offset: 3px; border-radius: 8px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--e6-tint); color: var(--ink-statement); }
.skip-link { position: fixed; z-index: 200; left: 12px; top: 12px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--ink-statement); color: #fff; font: 600 var(--fs-ui)/1 var(--font-body); transform: translateY(-160%); transition: transform .35s var(--ease-out); }
.skip-link:focus-visible { transform: none; outline: 2px solid transparent; box-shadow: var(--focus); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--tint { background: var(--surface-2); }

/* type helpers */
.h-display { font-size: var(--fs-display); letter-spacing: -0.045em; line-height: 0.95; }
.h-1 { font-size: var(--fs-1); }
.h-2 { font-size: var(--fs-2); }
.h-3 { font-size: var(--fs-3); letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-intro); max-width: 640px; }
.note { font-size: var(--fs-small); color: var(--ink-note); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font: 600 13px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-intro);
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: var(--spectrum); }
/* Text gradients use the engine INK colours only (AA on white/tint); the light hues stay for graphics. */
/* One 'prism ink' for every gradient word on every page: crimson → plum → violet → blue. No orange/green midpoint (it went olive). */
.spectrum-text, .ink-spectrum { background: linear-gradient(90deg, var(--e1-ink), #8a1fb0 42%, var(--e6-ink) 78%, var(--e5-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* engine helpers: add class e-1..e-6 to any element to set --e / --e-ink / --e-tint */
.e-1 { --e: var(--e1); --e-ink: var(--e1-ink); --e-tint: var(--e1-tint); }
.e-2 { --e: var(--e2); --e-ink: var(--e2-ink); --e-tint: var(--e2-tint); }
.e-3 { --e: var(--e3); --e-ink: var(--e3-ink); --e-tint: var(--e3-tint); }
.e-4 { --e: var(--e4); --e-ink: var(--e4-ink); --e-tint: var(--e4-tint); }
.e-5 { --e: var(--e5); --e-ink: var(--e5-ink); --e-tint: var(--e5-tint); }
.e-6 { --e: var(--e6); --e-ink: var(--e6-ink); --e-tint: var(--e6-tint); }

/* buttons — shine is transform-only; press = scale, never layout */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  font: 600 16px/1 var(--font-body); letter-spacing: -0.005em; color: #fff; background: var(--cta);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(40, 20, 90, 0.18), 0 12px 28px -12px rgba(91, 46, 224, 0.55);
  transition: transform .45s var(--ease-press), box-shadow .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-130%); animation: f6-shine 5.2s cubic-bezier(.45, 0, .2, 1) infinite;
}
.btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus), 0 12px 28px -12px rgba(91, 46, 224, 0.55); }
.btn:active { transform: scale(.975); transition-duration: .12s; }
.btn--ghost { background: var(--surface); color: var(--ink-statement); box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 1px 2px rgba(11, 11, 20, 0.04); }
.btn--ghost::after { display: none; }
.btn--ghost:focus-visible { box-shadow: var(--focus); }
/* button-in-button trailing icon: <a class="btn btn--ico">Label<span class="btn__ico" aria-hidden="true"><svg …/></span></a> */
.btn--ico { padding-right: 7px; gap: 14px; }
.btn__ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: transform .45s var(--ease-press), background .3s;
}
.btn__ico svg { width: 14px; height: 14px; }
.btn--ghost .btn__ico { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 4px rgba(40, 20, 90, 0.16), 0 20px 40px -16px rgba(91, 46, 224, 0.62); }
  .btn:hover:active { transform: translateY(0) scale(.975); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-statement), 0 10px 24px -14px rgba(40, 30, 90, 0.3); }
  .btn:hover .btn__ico { transform: translateX(3px); background: rgba(255, 255, 255, 0.26); }
  .btn--ghost:hover .btn__ico { background: var(--surface); }
}
@keyframes f6-shine { 0%, 62% { transform: translateX(-130%); } 88%, 100% { transform: translateX(130%); } }
.link-arrow { font-weight: 600; color: var(--ink-statement); display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .35s var(--ease-press); }
.link-arrow:hover::after { transform: translateX(4px); }

/* header — a floating glass island that forms once the page moves */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
}
/* soft veil so content sliding under the island never collides with it (no view-transition-name here: it would
   make the header a backdrop root and switch off the island's blur) */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -10px; pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 251, 253, .97) 0%, rgba(250, 251, 253, .6) 55%, rgba(250, 251, 253, 0) 100%);
  opacity: 0; transition: opacity .45s var(--ease-out);
}
.site-header.is-scrolled::before { opacity: 1; }
/* page-load: nav and CTA settle in after the logo (transform + opacity, logo paints first) */
.site-nav, .site-header .btn, .menu-btn { animation: f6-drop .8s var(--ease-out) backwards; }
.site-header .btn, .menu-btn { animation-delay: .08s; }
@keyframes f6-drop { from { opacity: 0; transform: translateY(-8px); } }
.site-header__in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__in::before {
  content: ""; position: absolute; z-index: -1; inset: 6px calc(var(--gutter) - 8px); border-radius: var(--r-pill);
  background: var(--glass); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-float);
  opacity: 0; transform: translateY(-6px) scale(.985); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
  pointer-events: none;
}
.site-header.is-scrolled .site-header__in::before { opacity: 1; transform: none; }
@media (min-width: 768px) { .site-header__in::before { inset: 8px calc(var(--gutter) - 6px) 8px calc(var(--gutter) - 22px); } }
.site-header.is-scrolled .site-nav { background: transparent; box-shadow: inset 0 0 0 1px transparent; }
/* page-load sweep + reading progress (scroll-driven, compositor only) */
.site-header::after {
  content: ""; position: fixed; left: 0; right: 0; top: 0; height: 2px; pointer-events: none;
  background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(0); opacity: 0;
  animation: f6-load 1.25s var(--ease-out) .05s both;
}
@keyframes f6-load { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@supports (animation-timeline: scroll()) {
  .site-header::after { animation: f6-progress linear both; animation-timeline: scroll(root); opacity: .9; }
  @keyframes f6-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.site-logo { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 4px; margin-left: -4px; flex: none; border-radius: 10px; transition: opacity .2s; }
.site-logo img { height: 30px; width: auto; }
.site-logo:hover { opacity: .82; }
.site-nav { display: none; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: rgba(242, 244, 248, .7); box-shadow: inset 0 0 0 1px var(--hairline); transition: background .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border-radius: var(--r-pill);
  font: 500 var(--fs-ui)/1 var(--font-body); letter-spacing: -0.006em; color: var(--ink-intro);
  transition: background .3s var(--ease-out), color .2s, box-shadow .3s var(--ease-out);
}
.site-nav a:hover { color: var(--ink-statement); background: rgba(255, 255, 255, .75); }
.site-nav a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus); }
.site-nav a[aria-current="page"] { background: var(--surface); color: var(--ink-statement); box-shadow: 0 1px 2px rgba(11, 11, 20, .06), 0 6px 16px -8px rgba(40, 30, 90, .25), inset 0 0 0 1px var(--hairline); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 14px; height: 2px; margin-left: -7px; border-radius: 2px; background: var(--spectrum);
}
.site-header .btn { display: none; min-height: 44px; padding: 0 6px 0 20px; gap: 12px; font-size: var(--fs-ui); }
.site-header .btn .btn__ico { width: 32px; height: 32px; }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline-strong), var(--shadow-sm); display: grid; place-items: center; cursor: pointer; color: var(--ink-statement); flex: none; -webkit-tap-highlight-color: transparent; transition: transform .3s var(--ease-press); }
.menu-btn:active { transform: scale(.94); }
.menu-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 18px; height: 1.75px; border-radius: 2px; background: currentColor; position: relative; transition: transform .45s var(--ease-out), background .2s; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
html.menu-open .site-header { background: var(--surface); }
html.menu-open .site-header__in::before { opacity: 0; }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface);
  padding: 0 var(--gutter) max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__bands { display: flex; height: 2px; margin: 0 calc(var(--gutter) * -1) 8px; }
.mobile-menu__bands i { flex: 1; background: var(--e); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.mobile-menu.is-open .mobile-menu__bands i { transform: none; }
.mobile-menu__bands i:nth-child(2) { transition-delay: .04s; } .mobile-menu__bands i:nth-child(3) { transition-delay: .08s; }
.mobile-menu__bands i:nth-child(4) { transition-delay: .12s; } .mobile-menu__bands i:nth-child(5) { transition-delay: .16s; } .mobile-menu__bands i:nth-child(6) { transition-delay: .2s; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--hairline);
  font: 700 clamp(30px, 8.6vw, 40px)/1.05 var(--font-display); letter-spacing: -0.035em; color: var(--ink-statement);
  opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out), color .2s;
}
.mobile-menu.is-open a:not(.btn) { opacity: 1; transform: none; }
.mobile-menu a:nth-of-type(2) { transition-delay: .05s; } .mobile-menu a:nth-of-type(3) { transition-delay: .1s; } .mobile-menu a:nth-of-type(4) { transition-delay: .15s; }
.mobile-menu a small { font: 600 var(--fs-micro)/1 var(--font-body); letter-spacing: .1em; color: var(--e-ink); min-width: 22px; padding-top: 6px; align-self: flex-start; margin-top: 26px; }
.mobile-menu a:not(.btn)::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: var(--e); box-shadow: 0 0 0 4px var(--e-tint); transition: transform .35s var(--ease-press); }
.mobile-menu a:not(.btn):active::after { transform: scale(1.3); }
.mobile-menu a[aria-current="page"] { color: var(--e-ink); }
.mobile-menu .btn { margin-top: 28px; width: 100%; min-height: 56px; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out) .2s, transform .7s var(--ease-out) .2s; }
.mobile-menu.is-open .btn { opacity: 1; transform: none; }
.mobile-menu.is-open .btn:active { transform: scale(.975); }
.mobile-menu__foot { margin-top: auto; padding-top: 36px; }
.mobile-menu__label { margin: 0 0 12px; font: 600 var(--fs-micro)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-note); }
.mobile-menu__engines { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-menu__engines span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--e-tint); font: 600 var(--fs-small)/1 var(--font-body); color: var(--e-ink); }
.mobile-menu__engines span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--e); }
@media (min-width: 1024px) {
  .site-nav, .site-header .btn { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none; }
}

/* footer */
.site-footer { background: var(--surface); padding: 0 0 max(24px, env(safe-area-inset-bottom)); position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--spectrum); }
.site-footer__cta { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--hairline); }
.site-footer__cta::before {
  content: ""; position: absolute; z-index: -1; left: -10%; top: -20%; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(122, 77, 255, .07), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(255, 61, 110, .05), transparent 70%);
}
.site-footer__statement { margin: 0; max-width: 820px; font: 700 clamp(38px, 5.6vw, 76px)/.98 var(--font-display); letter-spacing: -0.045em; color: var(--ink-statement); text-wrap: balance; }
.site-footer__cta .btn { flex: none; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 24px; padding-top: 56px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer__brand, .site-footer__grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .site-footer__grid > :last-child { grid-column: auto; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-top: 72px; } .site-footer__brand, .site-footer__grid > :last-child { grid-column: auto; } }
.site-footer__brand .site-logo { margin-top: -7px; }
.site-footer__lede { margin: 16px 0 0; max-width: 340px; font-size: var(--fs-ui); line-height: 1.6; color: var(--ink-body); }
.site-footer__h { font: 600 var(--fs-micro)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-note); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer ul a { position: relative; min-height: 44px; min-width: 44px; color: var(--ink-intro); font-size: var(--fs-ui); line-height: 1.3; display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.site-footer ul a:focus-visible { outline-offset: 0; }
.site-footer ul a:not(.e-1):not(.e-2):not(.e-3):not(.e-4):not(.e-5):not(.e-6)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out);
}
.site-footer ul a:hover { color: var(--ink-statement); }
.site-footer ul a:hover::after { transform: scaleX(1); }
.site-footer__engines a small { font: 600 var(--fs-micro)/1 var(--font-body); color: var(--e-ink); letter-spacing: .06em; min-width: 18px; }
.site-footer__engines a:hover { color: var(--e-ink); }
.site-footer .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--e); flex: none; transition: transform .35s var(--ease-press), box-shadow .35s var(--ease-out); }
.site-footer__engines a:hover .dot { transform: scale(1.25); box-shadow: 0 0 0 4px var(--e-tint); }
/* giant spectrum wordmark, masked from the mono logo, fading into the base line */
.site-footer__sign { position: relative; margin: clamp(36px, 4vw, 56px) 0 0; aspect-ratio: 1200 / 314; pointer-events: none; user-select: none; }
.site-footer__sign span {
  position: absolute; inset: 0; display: block; opacity: .13;
  background: linear-gradient(90deg, var(--e1), var(--e2) 22%, var(--e3) 40%, var(--e4) 58%, var(--e5) 78%, var(--e6));
  -webkit-mask: url(/brand/logo-mono.svg) center / contain no-repeat; mask: url(/brand/logo-mono.svg) center / contain no-repeat;
}
.site-footer__sign::after { content: ""; position: absolute; inset: 35% 0 -1px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--surface)); }
.site-footer__base { position: relative; margin-top: -8px; padding-top: 16px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; font-size: var(--fs-small); color: var(--ink-note); }
.site-footer__spectrum { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__spectrum i { width: 28px; height: 2px; border-radius: 2px; background: var(--spectrum); flex: none; }
.site-footer__top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-intro); font-weight: 500; }
.site-footer__top svg { transition: transform .4s var(--ease-press); }
.site-footer__top:hover { color: var(--ink-statement); }
.site-footer__top:hover svg { transform: translateY(-3px); }
@media (max-width: 639px) { .site-footer__spectrum { display: none; } .site-footer__base { justify-content: space-between; } }

/* cross-page transition (same-origin navigations, Chromium / Safari 18.2+): a quick dissolve, opacity only,
   so the shared header reads as steady while the page underneath changes */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: f6-vt-out .2s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: f6-vt-in .42s var(--ease-out) .06s both; }
}
@keyframes f6-vt-out { to { opacity: 0; } }
@keyframes f6-vt-in { from { opacity: 0; } }

/* reveal (main.js animates [data-reveal]; without JS everything is visible) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-instant { transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .site-header::after { display: none; }
  .btn::after { display: none; }
}

/* =====================================================================================================
   FILM PLAYER (shared) — every section film and the brand film. main.js "FILM PLAYER" block drives it. 8 Oct 2026.

   Markup (<id> = the file stem in /media/films/; <title> = the film's name):
   <figure class="f6-film" data-film="<id>">                  add f6-film--wide for a full-width film; e-1 … e-6 tints the caption mark
     <div class="f6-film__frame">
       <video class="f6-film__video" muted loop playsinline preload="none" poster="/media/films/<id>.jpg">
         <source data-src="/media/films/<id>.mp4" type="video/mp4">
         <track kind="captions" srclang="en" label="English" src="/media/films/<id>.vtt">
       </video>
       <button class="f6-film__play" type="button" aria-label="Play the <title> film with sound">
         <span class="f6-film__play-ico" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M6.5 4.3v11.4c0 .7.8 1.1 1.4.7l8.6-5.7c.5-.3.5-1.1 0-1.4L7.9 3.6c-.6-.4-1.4 0-1.4.7z" fill="currentColor"/></svg></span>
         <span class="f6-film__play-txt">Watch with sound</span><span class="f6-film__play-dur" aria-hidden="true">0:48</span>
       </button>
     </div>
     <figcaption class="f6-film__cap"><b><title></b><span>0:48 · what it explains</span></figcaption>
   </figure>
   - The button may be left empty: main.js then fills the icon, the label and the duration (from data-dur="48" or
     "0:48" on the figure, else from the file once it loads).
   - The figure has no width of its own: put it in a grid column or a block. The frame is always exactly 16:9 and
     the picture is never cropped (object-fit: contain).
   - poster= loads with the page. For a film far down a long page, data-poster= instead lets main.js set it near
     the viewport.
   ===================================================================================================== */
.f6-film { --ff-r: clamp(14px, 1.7vw, 22px); position: relative; margin: 0; min-width: 0; }
.f6-film__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; container-type: inline-size;
  border-radius: var(--ff-r); background: #f3f5f9; cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 0 0 1px rgba(11, 11, 20, .06), 0 1px 2px rgba(11, 11, 20, .05), 0 30px 60px -34px rgba(40, 30, 90, .45);
}
.f6-film__ph { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; border-radius: inherit; pointer-events: none; }
.f6-film__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; border-radius: inherit; background: transparent; }
/* spectrum hairline, drawn above the picture */
.f6-film__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(115deg, var(--e1), var(--e2) 20%, var(--e3) 38%, var(--e4) 58%, var(--e5) 78%, var(--e6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .78;
}

/* "Watch with sound" — glass pill: gradient play disc, label, duration */
.f6-film__play {
  position: absolute; z-index: 3; left: 14px; bottom: 14px; left: clamp(10px, 2.2cqi, 24px); bottom: clamp(10px, 2.2cqi, 24px);
  display: inline-flex; align-items: center; gap: 11px; min-height: 48px; margin: 0; padding: 4px 16px 4px 4px;
  border: 0; border-radius: var(--r-pill); cursor: pointer; -webkit-tap-highlight-color: transparent;
  font: 600 15px/1 var(--font-body); letter-spacing: -.006em; color: var(--ink-statement); white-space: nowrap;
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 1px rgba(11, 11, 20, .07), 0 2px 4px rgba(11, 11, 20, .05), 0 18px 40px -16px rgba(40, 30, 90, .55);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), opacity .3s var(--ease-out), visibility 0s;
}
.f6-film__play-ico {
  position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: #fff; background: var(--cta);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 14px -6px rgba(91, 46, 224, .75);
  transition: transform .55s var(--ease-press);
}
.f6-film__play-ico svg { width: 16px; height: 16px; margin-left: 2px; }
/* a slow halo invites the tap (transform + opacity only; reduced motion ends it at once) */
.f6-film__play-ico::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(122, 77, 255, .55); opacity: 0; animation: f6-film-halo 3.4s var(--ease-out) 1s infinite;
}
@keyframes f6-film-halo { 0% { transform: scale(.85); opacity: 0; } 14% { opacity: 1; } 72%, 100% { transform: scale(1.32); opacity: 0; } }
.f6-film__play-dur { padding-left: 11px; border-left: 1px solid var(--hairline-strong); font: 600 13px/1 var(--font-body); color: var(--ink-note); font-variant-numeric: tabular-nums; }
.f6-film__play-dur:empty { display: none; }
.f6-film__play:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus), 0 18px 40px -16px rgba(40, 30, 90, .55); }
.f6-film__play:active { transform: scale(.97); transition-duration: .12s; }
@media (hover: hover) {
  .f6-film__frame:hover .f6-film__play { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(11, 11, 20, .08), 0 2px 4px rgba(11, 11, 20, .05), 0 24px 48px -18px rgba(40, 30, 90, .62); }
  .f6-film__frame:hover .f6-film__play-ico { transform: scale(1.07); }
}
.f6-film.is-live .f6-film__play { opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96); pointer-events: none; transition: transform .4s var(--ease-out), opacity .25s var(--ease-out), visibility 0s .4s; }
html:not(.js) .f6-film__play { display: none; }
@container (max-width: 480px) {
  .f6-film__play { min-height: 44px; gap: 9px; padding: 3px 13px 3px 3px; font-size: 14px; }
  .f6-film__play-ico { width: 38px; height: 38px; }
  .f6-film__play-ico svg { width: 14px; height: 14px; }
  .f6-film__play-dur { padding-left: 9px; font-size: 12px; }
}
@container (max-width: 300px) { .f6-film__play-txt { display: none; } .f6-film__play { padding-right: 13px; } }

/* sound mode: captions, spinner, close, control bar (main.js adds .f6-film__ui) */
.f6-film__ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease-out), visibility 0s .3s; }
.f6-film.is-live .f6-film__ui { visibility: visible; opacity: 1; transition: opacity .45s var(--ease-out) .05s, visibility 0s; }
.f6-film.is-live .f6-film__frame { cursor: default; }
.f6-film__bar, .f6-film__close { pointer-events: auto; transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), background .25s; }
.f6-film__bar {
  position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 2px; min-height: 48px; padding: 2px 4px 2px 2px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 1px rgba(11, 11, 20, .07), 0 18px 40px -18px rgba(40, 30, 90, .5);
}
.f6-film__btn {
  position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink-statement); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .25s, transform .35s var(--ease-press);
}
.f6-film__btn svg { width: 20px; height: 20px; pointer-events: none; }
.f6-film__btn:active { transform: scale(.92); }
.f6-film__btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus); }
.f6-film__toggle { color: #fff; background: var(--cta); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px -8px rgba(91, 46, 224, .8); }
.f6-film__toggle svg { width: 18px; height: 18px; }
.f6-film.is-paused .f6-film__toggle svg { margin-left: 2px; }
.f6-film__btn[aria-pressed="false"] svg { opacity: .5; }
.f6-film__btn[aria-pressed="true"]::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 14px; height: 2px; margin-left: -7px; border-radius: 2px; background: var(--spectrum); }
.f6-film__close {
  position: absolute; top: 8px; right: 8px; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 1px rgba(11, 11, 20, .07), 0 10px 24px -12px rgba(40, 30, 90, .5);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), background .25s;
}
.f6-film__close svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .f6-film__btn:not(.f6-film__toggle):hover { background: rgba(11, 11, 20, .06); }
  .f6-film__close:hover { background: #fff; }
  .f6-film__toggle:hover { transform: scale(1.05); }
}
.f6-film__close:focus-visible { box-shadow: var(--focus), 0 10px 24px -12px rgba(40, 30, 90, .5); }
.f6-film__toggle:focus-visible { box-shadow: var(--focus); }
/* seek: grey track, the spectrum revealed up to the play head, a white thumb */
.f6-film__seek { --p: 0%; position: relative; flex: 1 1 auto; min-width: 48px; height: 44px; margin: 0 10px 0 8px; cursor: pointer; touch-action: none; outline: none; }
.f6-film__seek::before, .f6-film__seek::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; transition: transform .25s var(--ease-out); }
.f6-film__seek::before { background: rgba(11, 11, 20, .13); }
.f6-film__seek::after { background: linear-gradient(90deg, var(--e1), var(--e2) 20%, var(--e3) 40%, var(--e4) 60%, var(--e5) 80%, var(--e6)); clip-path: inset(0 calc(100% - var(--p)) 0 0 round 4px); }
.f6-film__thumb {
  position: absolute; z-index: 1; left: var(--p); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(11, 11, 20, .16), 0 2px 6px rgba(40, 30, 90, .35); transition: transform .25s var(--ease-press);
}
.f6-film__seek:hover::before, .f6-film__seek:hover::after, .f6-film.is-scrub .f6-film__seek::before, .f6-film.is-scrub .f6-film__seek::after { transform: scaleY(1.5); }
.f6-film__seek:hover .f6-film__thumb, .f6-film.is-scrub .f6-film__thumb { transform: scale(1.2); }
.f6-film__seek:focus-visible { outline: none; }
.f6-film__seek:focus-visible .f6-film__thumb { transform: scale(1.15); box-shadow: var(--focus); }
.f6-film__time { flex: none; padding: 0 4px 0 0; font: 600 12px/1 var(--font-body); color: var(--ink-intro); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* captions: drawn by main.js from the .vtt (site type, sits above the bar, drops when the bar hides) */
.f6-film__cc {
  position: absolute; left: 7%; right: 7%; bottom: 64px; z-index: 1; pointer-events: none;
  text-align: center; font: 600 14px/1.5 var(--font-body); font-size: clamp(13px, 2.3cqi, 22px); letter-spacing: -.003em; color: #fff; text-wrap: balance;
  transition: transform .5s var(--ease-out);
}
.f6-film__cc span { padding: .14em .6em; border-radius: 8px; background: rgba(11, 11, 20, .8); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.f6-film__cc:empty { display: none; }
.f6-film__spin {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; opacity: 0; transition: opacity .3s;
  background: conic-gradient(from 0deg, rgba(122, 77, 255, 0), var(--e6) 72%, rgba(122, 77, 255, 0) 73%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  animation: f6-film-spin .8s linear infinite paused;
}
.f6-film.is-waiting .f6-film__spin { opacity: 1; transition-delay: .3s; animation-play-state: running; }
@keyframes f6-film-spin { to { transform: rotate(1turn); } }
/* while playing, the controls step aside after a few still seconds (pointer move, tap or keyboard brings them back) */
.f6-film.is-idle .f6-film__bar { opacity: 0; transform: translateY(12px); pointer-events: none; }
.f6-film.is-idle .f6-film__close { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.f6-film.is-idle .f6-film__cc { transform: translateY(50px); }
.f6-film.is-idle .f6-film__frame { cursor: none; }
@container (min-width: 640px) {
  .f6-film__bar { left: 14px; right: 14px; bottom: 14px; max-width: 760px; margin: 0 auto; }
  .f6-film__close { top: 14px; right: 14px; }
  .f6-film__cc { bottom: 80px; }
  .f6-film.is-idle .f6-film__cc { transform: translateY(56px); }
}
@container (max-width: 340px) { .f6-film__time { display: none; } .f6-film__seek { margin-right: 8px; } }

/* caption under the film */
.f6-film__cap { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 16px 0 0; padding-left: 22px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-note); }
.f6-film__cap::before {
  content: ""; position: absolute; left: 3px; top: .55em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg);
  background: var(--e, conic-gradient(var(--e1), var(--e2), var(--e3), var(--e4), var(--e5), var(--e6), var(--e1)));
  box-shadow: 0 0 0 3px var(--e-tint, var(--e6-tint));
}
.f6-film__cap b { font: 600 15px/1.45 var(--font-body); letter-spacing: -.006em; color: var(--ink-statement); }

/* wide: the film on its own — larger radius, a glass tray (spread shadows, so the 16:9 box stays exact), centred caption */
.f6-film--wide { --ff-r: clamp(16px, 2.2vw, 30px); --ff-tray: clamp(5px, .7vw, 9px); max-width: 1120px; margin-inline: auto; }
.f6-film--wide .f6-film__frame {
  box-shadow: 0 0 0 var(--ff-tray) rgba(255, 255, 255, .8), 0 0 0 calc(var(--ff-tray) + 1px) rgba(11, 11, 20, .07),
    0 2px 4px rgba(11, 11, 20, .03), 0 70px 120px -60px rgba(40, 30, 90, .5);
}
.f6-film--wide .f6-film__cap { justify-content: center; text-align: center; margin-top: calc(var(--ff-tray) + clamp(16px, 2vw, 24px)); padding-left: 0; }
.f6-film--wide .f6-film__cap::before { position: relative; left: auto; top: auto; align-self: center; margin-right: 4px; }

@media (forced-colors: active) {
  .f6-film__play, .f6-film__btn, .f6-film__bar { border: 1px solid ButtonText; }
  .f6-film__seek::after, .f6-film__thumb { background: Highlight; }
}
