  :root {
    --accent: #c6f432;   /* electric lime */
    --ink: #0b0f14;
    --muted: #5b616c;
    --gutter: clamp(16px, 4vw, 56px);
    --shadow-sm: 0 1px 2px rgba(0,0,0,1), 0 2px 8px rgba(0,0,0,.85), 0 0 22px rgba(0,0,0,.65);
  }
  * { box-sizing: border-box; }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
  body { margin: 0; font-family: Outfit, Arial, sans-serif; background: #fff; color: var(--ink); }
  main { background-image: linear-gradient(to bottom, #f9fafb, #e4e9f2); overflow-x: clip; }   /* the reveal slide-ins start 48px off to the side: clip them instead of growing the page */
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

  /* ───────── Hero: video fills 100% of the section ───────── */
  .hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; color: #fff; background: var(--ink); }
  .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
      linear-gradient(180deg, rgba(11,15,20,.75) 0%, rgba(11,15,20,.45) 30%, rgba(11,15,20,.55) 65%, rgba(11,15,20,.88) 100%); }
  .hero > :not(video) { position: relative; z-index: 2; }

  /* Top bar */
  .bar { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 22px var(--gutter) 0; }
  .hero > .bar, .page-hero > .bar { z-index: 3; }   /* keep the Team dropdown above the hero text below it */

  /* Logo: icon is an image (with live bubbles), all text is live text */
  .brand { display: inline-flex; align-items: center; gap: clamp(10px, 1.2vw, 16px); }
  .brand svg { height: clamp(60px, 6vw, 84px); width: auto; flex: none; overflow: visible; }
  .brand-text { display: flex; flex-direction: column; line-height: 1; text-shadow: var(--shadow-sm); }
  .brand-name { font-weight: 800; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: .01em; }
  .brand-tag  { white-space: nowrap; font-weight: 600; font-size: clamp(10.5px, 1.05vw, 15px); letter-spacing: .02em; margin-top: .45em; }
  /* Weight wave on the header logo text: one shadow for the whole block (per-letter shadows would grey out neighbours) */
  .hero .brand-text.wave { text-shadow: none; color: #fff; filter: drop-shadow(0 1px 1px rgba(0,0,0,1)) drop-shadow(0 2px 6px rgba(0,0,0,.85)) drop-shadow(0 0 16px rgba(0,0,0,.6)); }
  .brand-text.wave .ch { white-space: pre; }
  .hero .brand svg image { filter: drop-shadow(0 2px 6px rgba(0,0,0,.75)); }

  .bubbles circle { transform-box: fill-box; transform-origin: center; translate: var(--dx) var(--dy); }
  @media (prefers-reduced-motion: no-preference) {
    .bubbles circle { animation: bubble var(--t) cubic-bezier(.3,.6,.4,1) var(--d) infinite both; }
  }
  @keyframes bubble {
    0%   { translate: 0 0; scale: .35; opacity: 1; }
    55%  { translate: var(--dx) var(--dy); scale: 1; opacity: 1; }
    80%  { opacity: .9; }
    100% { translate: calc(var(--dx) * 1.6) calc(var(--dy) * 1.6); scale: 1.12; opacity: 0; }
  }

  /* Big-screen nav: plain text row with an underline that grows on hover (current page stays underlined) */
  .links { display: flex; flex-wrap: wrap; gap: 4px clamp(18px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; justify-content: flex-end; font-size: clamp(16px, 1.3vw, 18px); font-weight: 500; text-shadow: var(--shadow-sm); }
  .links > li { position: relative; }
  .links a { position: relative; display: inline-block; padding: 4px 0; }
  .links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor; box-shadow: 0 1px 3px rgba(0,0,0,.6); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .links a:hover::after, .links a:focus-visible::after, .links a[aria-current="page"]::after { transform: scaleX(1); }
  .links .has-sub > a::before { content: "▾"; position: absolute; right: -14px; top: 5px; font-size: 11px; opacity: .7; }
  .links .has-sub { margin-right: 10px; }
  /* Sub-menu: small light-grey box with a soft shadow, fades in under the item */
  .links .sub { position: absolute; left: 0; top: calc(100% + 6px); min-width: 130px; list-style: none; margin: 0; padding: 10px 10px 4px; background: #eee; color: #111; box-shadow: 0 0 10px rgba(0,0,0,.15); text-shadow: none; z-index: 5; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .links .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; } /* hover bridge */
  .links .has-sub:hover .sub, .links .has-sub:focus-within .sub { opacity: 1; pointer-events: auto; }
  .links .sub li { margin-bottom: 6px; padding: 0 5px; }
  .links .sub a { padding: 0; font-size: 14px; }
  .links .sub a::after { box-shadow: none; bottom: -1px; height: 1px; }

  .menu-btn { display: none; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; text-shadow: var(--shadow-sm); }
  .burger { width: 26px; height: 10px; border-top: 2px solid; border-bottom: 2px solid; filter: drop-shadow(0 1px 2px rgba(0,0,0,.9)); }

  /* Headline sits low, where the intro line used to be */
  .hero-text { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 var(--gutter) clamp(28px, 5vh, 56px); }
  h1 { margin: 0; white-space: nowrap; font-size: min(clamp(32px, 3.4vw, 46px), 7.4vw); font-weight: 700; line-height: 1; letter-spacing: -.04em;
       text-shadow: 0 2px 3px rgba(0,0,0,1), 0 4px 14px rgba(0,0,0,.85), 0 8px 40px rgba(0,0,0,.75), 0 0 80px rgba(0,0,0,.55); }
  h1 > span { display: block; font-weight: 400; color: #fff; }

  /* Morphing headline: one line that alternates between the two phrases */
  /* Shadow is drawn once for the whole line (filter), not per letter: per-letter text-shadows
     would paint over neighbouring letters and make some look grey. */
  .morph { position: relative; height: 1.15em; text-shadow: none;
           filter: drop-shadow(0 2px 2px rgba(0,0,0,.9)) drop-shadow(0 4px 12px rgba(0,0,0,.55)) drop-shadow(0 0 30px rgba(0,0,0,.45)); }
  .morph > i { position: absolute; left: 50%; top: 0; font-style: normal; white-space: pre; will-change: transform, opacity; text-shadow: none; }
  .morph .p1 { font-weight: 700; color: #fff; }
  .morph .p2 { font-weight: 400; color: #fff; }
  .meas { position: absolute; left: 0; top: 0; visibility: hidden; white-space: pre; }

  .foot { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter) 28px; font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.9); text-shadow: var(--shadow-sm); }
  .scroll::after { content: " ↓"; color: var(--accent); }
  .pause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); font-size: 12px; letter-spacing: 0; }
  .pause:hover, .pause:focus-visible { border-color: var(--accent); color: var(--accent); }

  /* ───────── Intro (white) ───────── */
  .intro { padding: clamp(72px, 12vw, 150px) var(--gutter); max-width: 1240px; margin: 0 auto; }
  /* Section titles: the largest text in each section; lead and body text step down from there */
  .sec-title { font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: var(--ink); margin: 0 0 clamp(20px, 2.5vw, 32px); }
  .sec-title::before { content: ""; display: inline-block; width: .3em; height: .3em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .1em rgba(198,244,50,.3); margin-right: .35em; vertical-align: .12em; }
  .intro p.big { margin: 0; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
  .intro .body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); margin-top: clamp(28px, 4vw, 48px); }
  .intro .body p { margin: 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); }
  .intro + .intro-more { padding-top: 0; }   /* the extra sections follow "Our focus" without doubling the gap */
  @media (max-width: 760px) { .intro .body { grid-template-columns: 1fr; } }

  /* ───────── How we discover: the loop (A), a materials-library scan (B), a multinary lattice (D) ───────── */
  .discover { scroll-margin-top: 24px; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 10vw, 130px); }
  .discover > .big { margin: 0 0 clamp(28px, 4vw, 48px); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; }
  /* one box: the steps and their charts on the left, the live scene on the right, split by a hairline and a tint */
  .dc-grid { display: grid; grid-template-columns: 1fr 1.15fr; background: rgba(255,255,255,.7); border: 1px solid rgba(11,15,20,.07); border-radius: 22px; box-shadow: 0 10px 40px rgba(30,45,80,.06); }
  .dc-lattice { margin: 0; padding: 22px; position: relative; display: flex; flex-direction: column; justify-content: center; background: rgba(228,234,244,.45); border-left: 1px solid rgba(11,15,20,.08); border-radius: 0 22px 22px 0; }
  .dc-lattice canvas { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; background: radial-gradient(120% 90% at 50% 0%, #fff, #eef2f8); cursor: crosshair; }
  .legend { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 14px 4px 0; padding: 0; font-size: 14px; color: var(--muted); }
  .legend li { display: flex; align-items: center; gap: 7px; }
  .legend i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset -2px -2px 3px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.12); }
  .tip { position: absolute; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity .15s; transform: translate(-50%, -130%); }
  .dc-side { padding: 22px; display: grid; gap: 18px; }
  .dc-top { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
  .ring { width: 150px; height: 150px; }
  .steps { display: grid; gap: 8px; }
  .steps button { text-align: left; padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid rgba(11,15,20,.08); transition: .2s; }
  .steps button[aria-selected="true"] { color: var(--ink); background: #fff; border-color: rgba(11,15,20,.15); box-shadow: inset 4px 0 0 var(--accent); }
  .steps button:hover { color: var(--ink); }
  .panel h3 { margin: 0 0 8px; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.01em; }
  .panel p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
  .panel svg { display: block; width: 100%; height: auto; margin: 14px 0 6px; font-family: inherit; }
  .panel .src { font-size: 13px; }
  .panel .src a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
  @media (max-width: 900px) { .dc-grid { grid-template-columns: 1fr; } .dc-lattice { border-left: 0; border-top: 1px solid rgba(11,15,20,.08); border-radius: 0 0 22px 22px; } }
  @media (max-width: 480px) { .dc-top { grid-template-columns: 1fr; } .ring { justify-self: center; } }

  /* ───────── Our partners: two logo rows drifting in opposite directions ───────── */
  .partners { padding: 0 0 clamp(72px, 10vw, 130px); }
  .partners .sec-title { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
  .marquee { overflow: hidden; padding: 18px 0;
             -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
                     mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; }
  .track li { flex: none; display: flex; align-items: center; padding: 0 clamp(28px, 3.5vw, 52px); }
  .track img { display: block; height: clamp(44px, 5vw, 64px); width: auto; filter: grayscale(1); opacity: .55; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
  .track img.sq { height: clamp(62px, 7vw, 92px); }  /* square-ish logos need more height to read as big as wide ones */
  .track a:hover img, .track a:focus-visible img, .track li:hover img { filter: none; opacity: 1; }
  @media (prefers-reduced-motion: no-preference) {
    .track { animation: slide var(--dur, 40s) linear infinite; }
    .marquee.rev .track { animation-direction: reverse; }
    .marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
  }
  @keyframes slide { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .marquee { -webkit-mask-image: none; mask-image: none; }
    .track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 24px; }
  }
  /* The row stops and the logos wrap into a static block as soon as a keyboard user tabs into it
     (.kb is set by js/home.js), and whenever animations are paused. While the row drifts, a focused
     link is carried outside the clipped strip, so its focus ring is never seen and Tab looks as if
     it skipped the logos (WCAG 2.4.7 Focus Visible, 2.4.11 Focus Not Obscured). */
  .marquee.kb, .motion-off .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee.kb .track, .motion-off .track { animation: none; transform: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 24px; }
  .marquee.kb .track li[aria-hidden="true"], .motion-off .track li[aria-hidden="true"] { display: none; }   /* the duplicated half only exists to make the loop seamless */

  /* ───────── Footer with animated bubble canvas ───────── */
  .site-footer { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
  .site-footer canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
  .cta { text-align: center; padding: clamp(80px, 12vw, 150px) 24px clamp(60px, 8vw, 100px); }
  .cta h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(34px, 5.4vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
  .cta p { margin: 22px auto 0; max-width: 46ch; color: rgba(255,255,255,.72); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; }
  .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
  .btn { padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid rgba(255,255,255,.28); transition: .2s; }
  .btn.solid { background: var(--accent); color: var(--ink); border-color: var(--accent); }
  .btn:hover, .btn:focus-visible { transform: translateY(-2px); border-color: var(--accent); }
  .btn.solid::after { content: " →"; }

  .f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 48px clamp(24px, 4vw, 56px); border-top: 1px solid rgba(255,255,255,.1); }
  .f-grid p { margin: 18px 0 0; color: rgba(255,255,255,.62); line-height: 1.6; font-size: 15px; max-width: 34ch; }
  .social { display: flex; gap: 12px; margin-top: 20px; }
  .social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.18); transition: .2s; }
  .social a:hover, .social a:focus-visible { color: var(--ink); background: var(--accent); border-color: var(--accent); }
  .social svg { width: 20px; height: 20px; }
  .social a:hover svg g, .social a:focus-visible svg g { fill: var(--accent); }
  .f-grid h3 { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
  .f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .f-grid li a, .f-grid address a { color: rgba(255,255,255,.75); transition: color .2s; }
  .f-grid li a:hover, .f-grid address a:hover { color: #fff; }
  .f-grid address { font-style: normal; color: rgba(255,255,255,.62); line-height: 1.6; font-size: 15px; }
  .site-footer .brand svg { height: 56px; }
  .site-footer .brand-name { font-size: 24px; }
  .site-footer .brand-tag { font-size: 11px; }
  .f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px clamp(24px, 4vw, 56px) 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.55); }
  .f-bottom a:hover { color: #fff; }

  /* ───────── Small-screen menu ───────── */
  /* Same language as the hero: dark glass panel, white text, the nav's underline, lime accent */
  dialog { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); height: 100%; max-width: none; max-height: none; margin: 0;
           padding: 22px var(--gutter) 28px; border: 0; color: #fff; background: rgba(11,15,20,.88);
           -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
           border-left: 1px solid rgba(255,255,255,.08); flex-direction: column; overflow-y: auto; }
  dialog[open] { display: flex; animation: panel-in .35s cubic-bezier(.2,.8,.2,1); }
  dialog::backdrop { background: rgba(5,8,12,.45); }
  @keyframes panel-in { from { transform: translateX(40px); opacity: 0; } }
  dialog .bar { padding: 0; }
  dialog .brand svg { height: 52px; }
  dialog .brand-name { font-size: 22px; }
  dialog .brand-tag { font-size: 10px; }
  dialog nav { margin-top: 40px; }
  dialog ul { list-style: none; margin: 0; padding: 0; }
  dialog nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  dialog nav a { position: relative; display: inline-block; padding: 14px 0; font-size: 20px; font-weight: 500; }
  dialog nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  dialog nav a:hover::after, dialog nav a:focus-visible::after, dialog nav a[aria-current="page"]::after { transform: scaleX(1); }
  dialog .sub { display: flex; gap: 22px; padding: 0 0 12px 16px; margin-top: -6px; border-left: 2px solid rgba(255,255,255,.12); }
  dialog .sub a { padding: 4px 0; font-size: 15px; color: rgba(255,255,255,.8); }
  dialog .sub a::after { bottom: 0; }
  dialog .menu-foot { margin-top: auto; padding-top: 32px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); }
  dialog .menu-foot a { color: #fff; }
  .close { white-space: nowrap; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; }
  .close::after { content: " ✕"; color: var(--accent); }

  @media (max-width: 1100px) {
    .bar > nav { display: none; }
    .menu-btn { display: flex; }
    .f-grid { grid-template-columns: 1fr 1fr; }
    .f-grid > :first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 600px) {
    .menu-btn .menu-label, .foot .scroll { display: none; }
    .foot { justify-content: flex-end; }
    .f-grid { grid-template-columns: 1fr; }
  }

/* ───────── First-view animations (classes are added by js/site.js only when motion is allowed) ───────── */
.rv { opacity: 0; transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.rv-left { transform: translateX(-48px); }
.rv-right { transform: translateX(48px); }
.rv.in { opacity: 1; transform: none; }

/* ───────── Inner pages: blue header lit like a smooth surface; the glow follows the pointer ───────── */
/* --ang, --hx, --hy are eased toward the pointer by js/site.js; without JS they keep these defaults */
.page-hero { --ang: 135deg; --hx: 72%; --hy: 18%; --c1: #0b44d6; --c2: #1a5cf0; --c3: #2b74fb; --glow: rgba(44,112,250,.75); position: relative; overflow: hidden; color: #fff; min-height: min(40vh, 380px); display: flex; flex-direction: column; isolation: isolate;
  background: radial-gradient(55% 95% at var(--hx) var(--hy), var(--glow) 0%, transparent 70%),   /* glow: only a little lighter than the base */
              radial-gradient(70% 120% at calc(100% - var(--hx)) 115%, #0628a0 0%, rgba(6,40,160,0) 65%),
              linear-gradient(var(--ang), var(--c1) 0%, var(--c2) 55%, var(--c3) 100%); }
/* each page's header leans a little toward its own hue (set with data-tone on .page-hero) */
.page-hero[data-tone="indigo"] { --c1: #1f36c9; --c2: #2f4fe6; --c3: #4767f5; --glow: rgba(70,98,246,.7); }
.page-hero[data-tone="azure"]  { --c1: #0a52cf; --c2: #136ce9; --c3: #2687f7; --glow: rgba(34,128,246,.7); }
.page-hero[data-tone="violet"] { --c1: #2a32c4; --c2: #3c48e0; --c3: #5560f0; --glow: rgba(84,94,240,.7); }
.page-hero[data-tone="teal"]   { --c1: #0752bd; --c2: #0d6ed6; --c3: #1d8ae6; --glow: rgba(26,130,226,.7); }
.page-hero[data-tone="navy"]   { --c1: #0a35a8; --c2: #134acb; --c3: #2160e4; --glow: rgba(36,96,228,.7); }
.page-hero > * { position: relative; z-index: 2; }
.page-hero .brand svg image { filter: drop-shadow(0 2px 6px rgba(0,20,80,.45)); }
.page-hero .brand-text.wave { text-shadow: none; color: #fff; filter: drop-shadow(0 1px 1px rgba(0,20,80,.6)) drop-shadow(0 2px 8px rgba(0,20,80,.35)); }
.ph-body { flex: 1; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.ph-text { align-self: center; padding: 12px 0 36px; }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .9; }
.page-title { margin: 0; font-size: clamp(44px, 6vw, 84px); line-height: .95; letter-spacing: -.045em; font-weight: 700; text-shadow: 0 6px 40px rgba(0,20,90,.35); }
.ph-lead { margin: 18px 0 0; max-width: 46ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; }
/* member gallery: cut-outs cross-fade, standing on the bottom edge of the header */
.ph-gallery { align-self: end; position: relative; width: clamp(200px, 21vw, 280px); aspect-ratio: 1; margin: 8px 0 0; }
.ph-gallery::before { content: ""; position: absolute; inset: 10% 4% -10%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.5), rgba(198,244,50,.16) 45%, rgba(255,255,255,0) 70%); }
.ph-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; opacity: 0; transition: opacity 1.1s ease; filter: drop-shadow(0 18px 30px rgba(0,20,90,.4)); }
.ph-gallery img.on { opacity: 1; }
.ph-gallery figcaption { position: absolute; right: -14px; bottom: 14%; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 13px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.15); transition: opacity .5s ease; white-space: nowrap; }
.ph-gallery figcaption b { display: block; font-size: 15px; }
.ph-gallery figcaption.swap { opacity: 0; }
@media (max-width: 760px) {
  .ph-body { grid-template-columns: 1fr; gap: 0; }
  .ph-text { padding: 8px 0 4px; }
  .ph-gallery { order: 2; justify-self: center; width: min(68vw, 260px); }
}

/* ───────── Team ───────── */
.page-wrap { padding: clamp(64px, 9vw, 120px) max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))); }
.page-wrap section { scroll-margin-top: 24px; }
.pi { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(64px, 9vw, 120px); }
.pi > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 16px 50px rgba(30,45,80,.12); }
.pi-name { margin: 0; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.02em; }
.role { margin: 6px 0 18px; color: var(--muted); font-weight: 600; }
.bio p { margin: 0 0 14px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: #2b313b; }
.pi-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pi-links a { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(11,15,20,.15); font-weight: 600; font-size: 15px; transition: .2s; }
.pi-links a:hover, .pi-links a:focus-visible { background: var(--ink); color: #fff; }
.group-title { margin: 44px 0 18px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.person { display: block; width: 100%; height: 100%; text-align: left; font: inherit; color: inherit; padding: 12px 12px 18px; border-radius: 20px; background: rgba(255,255,255,.78); border: 1px solid rgba(11,15,20,.07); transition: transform .25s, box-shadow .25s; }
button.person { cursor: pointer; }
button.person:hover, button.person:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(30,45,80,.14); }
.person img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.person .name { display: block; margin: 14px 4px 2px; font-size: 18px; font-weight: 700; }
.person .p-role { display: block; margin: 0 4px; font-size: 14px; color: var(--muted); }
.person .more { display: block; margin: 10px 4px 0; font-size: 13px; font-weight: 700; }
.person .more::after { content: " →"; color: #2f8f4e; }
.ug { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ug li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid rgba(11,15,20,.08); font-weight: 600; }
#alumni { margin-top: clamp(64px, 9vw, 120px); }

/* Bio card (overrides the side-panel menu styles that apply to every <dialog>) */
dialog.bio-modal { inset: 0; margin: auto; width: min(820px, calc(100% - 32px)); height: auto; max-height: calc(100% - 48px); padding: 0; border-radius: 24px; border: 0; color: var(--ink); background: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.35); -webkit-backdrop-filter: none; backdrop-filter: none; }
dialog.bio-modal[open] { display: block; animation: pop .3s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.bio-body { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 28px; }
.bio-body img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.bio-body h3 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.02em; }
.bio-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; background: #eef1f6; }
.bio-close:hover, .bio-close:focus-visible { background: var(--ink); color: #fff; }
@media (max-width: 640px) { .pi, .bio-body { grid-template-columns: 1fr; } .pi > img, .bio-body img { width: 60%; } .people { grid-template-columns: 1fr 1fr; gap: 12px; } .person { padding: 8px 8px 14px; } .person .name { font-size: 15px; } }

/* ───────── Inner page header without a picture ───────── */
.ph-body.solo { grid-template-columns: 1fr; }
.ph-body.solo .ph-text { padding: 28px 0 56px; }

/* ───────── Gallery: one slideshow per collection, thumbnails, full-screen view ───────── */
#collections .show, #collections .thumbs { max-width: 900px; margin-left: auto; margin-right: auto; }
.show { position: relative; border-radius: 22px; overflow: hidden; background: #0b0f14; box-shadow: 0 16px 50px rgba(30,45,80,.14); }
.stage { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: none; cursor: zoom-in; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;   /* fill the frame; aim a bit above centre to keep faces */ opacity: 0; transition: opacity 1.1s ease; }
.stage img.on { opacity: 1; }
.show .nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.25); opacity: .85; transition: opacity .2s; }
.show .nav:hover, .show .nav:focus-visible { opacity: 1; }
.show .prev { left: 14px; } .show .next { right: 14px; }
.show .count { position: absolute; right: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(11,15,20,.6); color: #fff; font-size: 13px; pointer-events: none; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; list-style: none; margin: 14px 0 0; padding: 4px 2px 10px; scrollbar-width: thin; }
.thumbs button { display: block; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumbs button:hover, .thumbs button[aria-current="true"] { opacity: 1; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { display: block; width: 96px; height: 68px; object-fit: cover; }
dialog.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,9,14,.94); }
dialog.lightbox::backdrop { background: rgba(6,9,14,.6); }
.lightbox img { position: absolute; inset: 56px 72px; width: calc(100% - 144px); height: calc(100% - 112px); object-fit: contain; }
.lightbox .nav, .lightbox .lb-close { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox .nav:hover, .lightbox .lb-close:hover { background: rgba(255,255,255,.24); }
.lightbox .prev { left: 14px; top: 50%; translate: 0 -50%; } .lightbox .next { right: 14px; top: 50%; translate: 0 -50%; }
.lightbox .lb-close { right: 14px; top: 14px; }
.lightbox .count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255,255,255,.8); font-size: 14px; }
@media (max-width: 640px) {
  .show .nav { width: 38px; height: 38px; font-size: 18px; }
  .lightbox img { inset: 60px 8px; width: calc(100% - 16px); height: calc(100% - 120px); }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 8px; translate: none; }
}
#collections > section + section { margin-top: clamp(64px, 8vw, 110px); }
.c-note { margin: -8px 0 20px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); }

/* gallery contents nav: ten collections is a long page to scroll */
.c-toc { margin: 0 0 38px; }
.c-toc ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.c-toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(30,45,80,.16); background: rgba(255,255,255,.7); color: var(--ink); font-size: 14px; text-decoration: none; transition: background .2s, border-color .2s; }
.c-toc a:hover, .c-toc a:focus-visible { background: #fff; border-color: var(--accent); }
#collections .sec-title { scroll-margin-top: 90px; }

/* ───────── Publications: one row per year (year on the left), cards with the paper's graphic ───────── */
.pub-year { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid rgba(11,15,20,.08); }
.pub-year:first-child { border-top: 0; padding-top: 0; }
.pub-y { margin: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); position: sticky; top: 24px; align-self: start; }
.pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.pub { position: relative; display: flex; flex-direction: column; padding: 14px 14px 18px; border-radius: 20px; background: rgba(255,255,255,.85); border: 1px solid rgba(11,15,20,.07); transition: transform .25s, box-shadow .25s; }
.pub:hover, .pub:focus-within { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30,45,80,.12); }
.pub-img { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid rgba(11,15,20,.05); }
.pub-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pub-img.pending { background: linear-gradient(135deg, rgba(26,92,240,.07), rgba(43,116,251,.14)); border: 1px dashed rgba(26,92,240,.3); }   /* no graphical abstract yet: a quiet tile with the journal name */
.pub-img.pending span { font-size: 15px; font-weight: 600; line-height: 1.35; text-align: center; color: #2b4a8f; padding: 0 12px; }
.pub h3 { margin: 14px 2px 8px; font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.005em; }
.pub h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }   /* whole card opens the paper */
.pub h3 a:focus-visible { outline: none; box-shadow: none; }   /* the whole card shows the ring instead */
.pub:has(a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.pub-venue { margin: 0 2px 8px; font-size: 14px; font-style: italic; color: var(--muted); }
.pub-authors { margin: auto 2px 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.pub-authors b { color: var(--ink); font-weight: 600; }
@media (max-width: 1100px) { .pub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pub-year { grid-template-columns: 1fr; gap: 14px; }
  .pub-y { position: static; }
}
@media (max-width: 520px) { .pub-grid { grid-template-columns: 1fr; } }

/* ───────── News: date on the left, a card with photo(s) and text ───────── */
.news-list { max-width: 1040px; }
.news-item { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid rgba(11,15,20,.08); }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-date { margin: 6px 0 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.news-card { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px; align-items: center; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.85); border: 1px solid rgba(11,15,20,.07); }
.news-card.no-img { grid-template-columns: 1fr; padding: 22px 24px; }
.news-imgs { display: grid; gap: 8px; }
.news-imgs.n2 { grid-template-columns: 1fr 1fr; }
.news-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 12px; display: block; }
.news-text p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.more-link { display: inline-block; margin-top: 12px; font-weight: 600; color: #1a5cf0; }
.more-link:hover, .more-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .news-card { grid-template-columns: 1fr; }
}

/* ───────── Careers ───────── */
.careers { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.careers p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; }
.careers p.big { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--ink); font-weight: 500; }
.offer { margin: 6px 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.offer li { position: relative; padding-left: 26px; font-size: 17px; font-weight: 600; }
.offer li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198,244,50,.25); }
.careers-cta .btn { display: inline-block; }
.careers-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.careers-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(30,45,80,.1); }
@media (max-width: 860px) { .careers { grid-template-columns: 1fr; } }

/* ───────── Contact ───────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(18px, 3vw, 36px); align-items: stretch; }
.contact-details { display: grid; gap: 18px; align-content: start; }
.contact-map { display: flex; }   /* stretches to the height of the details column */
.contact-map iframe { flex: 1; width: 100%; height: auto; min-height: 0; border: 0; border-radius: 20px; box-shadow: 0 10px 30px rgba(30,45,80,.1); background: #e4e9f2; }
.contact-card { padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.85); border: 1px solid rgba(11,15,20,.07); font-size: 18px; }
.contact-card > a:not(.more-link) { font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-card > a:not(.more-link):hover { text-decoration: underline; text-underline-offset: 3px; }
.c-label { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card address { font-style: normal; line-height: 1.6; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-map iframe { min-height: 320px; } }

/* ───────── Inner-page header with a photo (js/lens.js adds the broken-lens effect on top) ───────── */
.page-hero.photo { background: #0b1220 center / cover no-repeat; }   /* each page sets its photo with an inline background-image */
.page-hero.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;   /* keeps the white text readable */
  background: linear-gradient(90deg, rgba(4,10,30,.72) 0%, rgba(4,10,30,.35) 55%, rgba(4,10,30,.1) 100%), linear-gradient(0deg, rgba(4,10,30,.35), transparent 40%); }
.page-hero > canvas.lens { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }

/* ───────── Accessibility ───────── */
/* "Pause animations" (motion-off on <html>) freezes the CSS animations and transitions too */
html.motion-off { scroll-behavior: auto; }
.motion-off .rv, .motion-off .ph-gallery img, .motion-off .ph-gallery figcaption, .motion-off .stage img { transition: none; }
.motion-off .bubbles circle { animation-play-state: paused; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* keyboard focus: a white ring inside a dark ring, visible on light, dark and photo backgrounds */
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px #0b0f14; border-radius: 4px; }
.pub:has(a:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px #0b0f14; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; border-radius: 12px; background: #0b0f14; color: #fff; font-weight: 600; transition: top .15s; }
.skip:focus { top: 16px; }
main:focus { outline: none; }
/* white text over photo headers: a soft shadow on top of the dark overlay */
.page-hero.photo .ph-text { text-shadow: 0 2px 14px rgba(0,8,30,.55); }
/* the accessibility button on the left edge and its small panel */
.a11y { position: fixed; right: 16px; bottom: 16px; z-index: 900; }   /* bottom-right: away from where lines of text start */
.a11y-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #1a5cf0; color: #fff; box-shadow: 0 6px 20px rgba(0,20,80,.3); }
.a11y-btn svg { width: 26px; height: 26px; fill: currentColor; }
.a11y-btn:hover { background: #0b44d6; }
.a11y-panel { position: absolute; right: 0; bottom: 58px; width: min(250px, calc(100vw - 32px)); padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 16px 50px rgba(0,20,80,.25); }
.a11y-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.a11y-motion { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #eef2f8; font-weight: 600; text-align: left; }
.a11y-motion .sw { flex: none; position: relative; width: 40px; height: 24px; border-radius: 999px; background: #9aa3b2; transition: background .2s; }
.a11y-motion .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: translate .2s; }
.a11y-motion[aria-checked="true"] .sw { background: #1a5cf0; }
.a11y-motion[aria-checked="true"] .sw::after { translate: 16px 0; }
.a11y-motion:disabled { opacity: .7; cursor: default; }
.a11y-note { margin: 8px 2px 0; font-size: 13px; color: var(--muted); }
.a11y-panel > a { display: inline-block; margin-top: 12px; font-weight: 600; color: #1a5cf0; text-decoration: underline; text-underline-offset: 3px; }
/* the slideshow's own pause button */
.show .play { position: absolute; left: 14px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(11,15,20,.6); color: #fff; font-size: 13px; }
.show .play:hover { background: rgba(11,15,20,.85); }

/* ───────── Accessibility statement ───────── */
.statement > section { max-width: 820px; }
.statement section + section { margin-top: 44px; }
.statement h2 { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; }
.statement p, .statement li { font-size: 18px; line-height: 1.65; color: #2b313a; }
.statement p { margin: 0 0 14px; }
.statement ul { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.statement a { color: #1a5cf0; text-decoration: underline; text-underline-offset: 3px; }
.statement-date { color: var(--muted) !important; font-size: 15px !important; }

/* the fixed accessibility button must never hide a focused element (WCAG 2.4.11): keep a strip free at the bottom */
html { scroll-padding-bottom: 88px; }
.hero .foot { padding-right: calc(var(--gutter) + 64px); }   /* the video pause button sits clear of it */
.links .has-sub.sub-closed .sub { opacity: 0; pointer-events: none; }
.pub-note { margin: 0 0 26px; font-size: 15px; color: var(--muted); }
.pub-note b { color: var(--ink); }

/* ───────── "Discover our lab": the film. A poster with a play button; the YouTube
   iframe (and its cookies) are created only when the visitor presses play. ───────── */
.foot .jumps { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.lab-film { padding-top: 0; }
.lab-film p.big { margin-bottom: clamp(26px, 3.5vw, 44px); }
.film { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 18px 50px rgba(30,45,80,.16); }
.film > * { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; display: block; }
.film-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.film-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,15,20,.6), rgba(11,15,20,0) 38%); }
.film-play:hover img, .film-play:focus-visible img { transform: scale(1.04); }
.film-btn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: grid; place-items: center; width: clamp(66px, 7vw, 94px); aspect-ratio: 1; border-radius: 50%; color: #fff; background: rgba(11,15,20,.55); border: 2px solid rgba(255,255,255,.9); transition: background .25s, color .25s, border-color .25s, scale .25s; }
.film-btn svg { width: 58%; height: 58%; margin-left: 5%; }
.film-play:hover .film-btn, .film-play:focus-visible .film-btn { background: var(--accent); color: var(--ink); border-color: var(--accent); scale: 1.08; }
.film-meta { position: absolute; left: clamp(14px, 2vw, 26px); bottom: clamp(12px, 1.8vw, 22px); z-index: 2; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
/* the frame is clipped, so the focus ring goes on the frame instead of the button (as the publication cards do) */
.film-play:focus-visible { outline: none; box-shadow: none; }
.film:has(.film-play:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px #0b0f14, 0 18px 50px rgba(30,45,80,.16); }
.film-note { margin: 16px 2px 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.film-note a { font-weight: 600; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.film-note a:hover { background: var(--accent); }
.motion-off .film-play img, .motion-off .film-btn { transition: none; }

/* ───────── Running text is justified ─────────
   Paragraph-sized copy only: headings, the large lead lines (.big, .ph-lead), centred text, cards with short
   lines (publications, contact, footer) and addresses keep their own alignment. On narrow screens words may
   break with a hyphen, otherwise the short lines open wide gaps between words. */
.intro .body p, .panel p, .film-note, .bio p, .news-text p, .careers p:not(.big), .statement p, .statement li, .c-note { text-align: justify; }
@media (max-width: 760px) {
  .intro .body p, .panel p, .film-note, .bio p, .news-text p, .careers p:not(.big), .statement p, .statement li, .c-note { -webkit-hyphens: auto; hyphens: auto; }
}
