/* Quiet, full-width photographic intervals. Media keeps its natural colour. */
.rebrand-main .rebrand-film{position:relative;width:calc(100% - 96px);max-width:1200px;margin:40px auto 104px;border-radius:20px;overflow:hidden;background:var(--brand-soft,#f2f2f2);isolation:isolate}
.rebrand-film video{display:block;width:100%;height:auto;aspect-ratio:21/9;object-fit:cover;background:var(--brand-soft,#f2f2f2)}
.rebrand-film>img{display:block;width:100%;height:auto;aspect-ratio:21/9;object-fit:cover}
@media(max-width:880px){.rebrand-main .rebrand-film{width:calc(100% - 48px);margin-top:24px;margin-bottom:72px}.rebrand-film video,.rebrand-film>img{aspect-ratio:16/9}}

/* Illustrated tracking over a film: js/vision.js places each box from its keyframes. */
.vision-scene .vision-overlay{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
.vision-scene .vision-ts{position:absolute;top:18px;left:auto;right:20px;font:600 12.5px/1.25 ui-monospace,Menlo,monospace;font-variant-numeric:tabular-nums;color:#f5f5f5;text-shadow:0 1px 4px rgba(0,0,0,.45)}
.vision-scene .vision-box{position:absolute;left:0;top:0;width:0;height:0;opacity:0;border:1px solid rgba(255,255,255,.55);box-shadow:0 0 0 1px rgba(0,0,0,.28);transition:opacity .25s ease;will-change:transform}
.vision-scene .vision-box::before,.vision-scene .vision-box::after{content:"";position:absolute;width:9px;height:9px;border:2px solid #fff}
.vision-scene .vision-box::before{top:-1px;left:-1px;border-right:0;border-bottom:0}
.vision-scene .vision-box::after{right:-1px;bottom:-1px;border-left:0;border-top:0}
.vision-scene .vision-tag{position:absolute;left:-1px;bottom:100%;margin:0 0 5px;padding:5px 9px;font:600 11.5px/1.1 ui-monospace,Menlo,monospace;letter-spacing:.02em;text-transform:none;white-space:nowrap;background:rgba(18,18,18,.74);border-color:rgba(255,255,255,.28);color:#f0f0f0}
.vision-scene .vision-box--low .vision-tag{bottom:auto;top:-1px;margin:0}
.vision-scene .vision-box--edge .vision-tag{left:auto;right:-1px}
.vision-scene .vision-box--below .vision-tag{bottom:auto;top:100%;margin:5px 0 0}
@media(prefers-reduced-motion:reduce){.vision-scene .vision-box{transition:none}}

/* Photography sits behind the existing sections, without changing their layout. */
.rebrand-research,.rebrand-future{position:relative;isolation:isolate;overflow:hidden}
.rebrand-section-backdrop{position:absolute;inset:0;z-index:-1;display:block;pointer-events:none}
.rebrand-section-backdrop img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.rebrand-section-backdrop::after{content:"";position:absolute;inset:0}
.rebrand-research .rebrand-section-backdrop::after{background:rgba(250,250,250,.62)}
.rebrand-research .rebrand-section-head .rebrand-lede{color:#464646}
.rebrand-research .rebrand-section-head .rebrand-eyebrow{color:#464646}
:root[data-theme="dark"] .rebrand-research .rebrand-section-backdrop::after{background:rgba(14,14,14,.89)}
:root[data-theme="dark"] .rebrand-research .rebrand-section-head .rebrand-lede,
:root[data-theme="dark"] .rebrand-research .rebrand-section-head .rebrand-eyebrow{color:#c7c7c7}
.rebrand-future{background:#171717;color:#fff}
.rebrand-future .rebrand-section-backdrop::after{background:rgba(12,12,12,.72)}
.rebrand-future .rebrand-eyebrow,.rebrand-future .rebrand-lede{color:#f2f2f2}
@media(prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .rebrand-research .rebrand-section-backdrop::after{background:rgba(14,14,14,.89)}
  :root:not([data-theme="light"]) .rebrand-research .rebrand-section-head .rebrand-lede,
  :root:not([data-theme="light"]) .rebrand-research .rebrand-section-head .rebrand-eyebrow{color:#c7c7c7}
}

/* Copy over film uses one set of tokens in both appearances, so text, links,
   buttons, rules and focus rings follow it without per-element overrides. */
.rebrand-hero--cinema,.rebrand-main .rebrand-work--cinema{--brand-ink:#fff;--brand-secondary:#f0f0f0;--brand-muted:#d9d9d9;--brand-line:#ffffff40;--brand-link:#fff;--brand-focus:#fff;--brand-on-button:#141414;--brand-button-hover:#e6e6e6}

/* Film is part of the page composition, with readable copy above it. */
.rebrand-home .rebrand-hero--cinema{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:760px;min-height:min(880px,100svh);padding:166px 0 0;background:#171717;color:#fff}
.rebrand-main .rebrand-hero-film{position:absolute;inset:0;z-index:-1;width:100%;max-width:none;height:100%;margin:0;border-radius:0;background:#171717}
.rebrand-hero-film video{width:100%;height:100%;aspect-ratio:auto;object-position:60% center;background:#171717}
.rebrand-hero-film::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(10,10,10,.83) 0%,rgba(10,10,10,.65) 35%,rgba(10,10,10,.06) 80%),linear-gradient(0deg,rgba(10,10,10,.75),transparent 45%)}
.rebrand-hero--cinema .rebrand-hero-grid{width:100%;text-align:left;pointer-events:none}
.rebrand-hero--cinema .rebrand-hero-copy{max-width:650px;margin:0 0 56px}
.rebrand-hero--cinema .rebrand-eyebrow{color:#fff;margin:0;max-width:none}
.rebrand-hero--cinema h1{font-size:clamp(70px,8vw,114px);margin:24px 0 26px;line-height:1;letter-spacing:-.065em}
.rebrand-hero--cinema h1 span{color:#fff}
.rebrand-hero--cinema .rebrand-hero-lede{max-width:495px;margin-inline:0!important;font-size:17px;line-height:1.65;color:#f2f2f2}
.rebrand-hero--cinema .rebrand-actions{justify-content:flex-start;gap:28px;pointer-events:none}
.rebrand-hero--cinema .rebrand-actions>a,.rebrand-hero--cinema .rebrand-actions>button{pointer-events:auto}
/* The strip's top rule is drawn over the content box only, so it starts and ends with the text above it. */
.rebrand-hero--cinema .rebrand-hero-bottom{position:relative;pointer-events:none;width:100%;margin-top:0;padding-top:24px;padding-bottom:28px;min-height:76px;color:#f2f2f2;border-top:0;border-bottom:0;background:linear-gradient(#ffffff30,#ffffff30) 0 -24px/100% 1px no-repeat content-box border-box}
.rebrand-hero--cinema .rebrand-hero-bottom::before{background:#ffffff30}
.rebrand-hero--cinema .rebrand-hero-bottom>*{max-width:none}

.rebrand-work-stage{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:60px;align-items:start}
.rebrand-main .rebrand-work-film{width:100%;max-width:none;margin:0;border-radius:20px;background:#121212;position:relative;top:auto}
.rebrand-work .rebrand-work-film video{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;background:#121212}
.rebrand-work-stage .rebrand-work-summary{grid-template-columns:28px minmax(0,1fr) 36px;gap:14px;padding:28px 0}
.rebrand-work-stage .rebrand-work-summary h3{font-size:30px;max-width:340px}
.rebrand-work-stage .rebrand-work-toggle{width:36px;height:36px}
.rebrand-work-stage .rebrand-work-toggle::before,.rebrand-work-stage .rebrand-work-toggle::after{left:11px;top:17px}
.rebrand-work-stage .rebrand-work-detail{grid-template-columns:1fr;gap:20px;margin-left:42px;padding:0 0 30px}
.rebrand-work-stage .rebrand-work-detail p{margin:0}
@media(min-width:1700px){.rebrand-home .rebrand-hero--cinema{min-height:900px}}
@media(max-width:1000px){.rebrand-work-stage{gap:32px}.rebrand-work-stage .rebrand-work-summary h3{font-size:26px}}
@media(max-width:880px){
  .rebrand-home .rebrand-hero--cinema{min-height:750px;padding-top:145px}
  .rebrand-main .rebrand-hero-film{width:100%;margin:0}
  .rebrand-hero--cinema .rebrand-hero-copy{margin-bottom:60px;max-width:540px}
  .rebrand-hero--cinema h1{font-size:82px}
  .rebrand-main .rebrand-work-film{width:100%;margin:0;position:relative;top:auto}
  .rebrand-work-stage{grid-template-columns:1fr;gap:32px}
  .rebrand-work .rebrand-work-film video{height:auto;aspect-ratio:16/9}
  .rebrand-work-stage .rebrand-work-summary h3{max-width:none;font-size:30px}
}
/* On a phone the hero ends above a first-visit cookie notice, so its actions stay in view. */
@media(max-width:600px){
  .rebrand-home .rebrand-hero--cinema{min-height:min(700px,100svh);padding-top:120px}
  .rebrand-hero-film video{object-position:85% center}
  .rebrand-hero-film::after{background:linear-gradient(0deg,rgba(10,10,10,.93),rgba(10,10,10,.58) 65%,rgba(10,10,10,.15))}
  .rebrand-hero--cinema .rebrand-hero-copy{margin-bottom:36px}
  /* A hero without the bottom strip keeps the same clearance: 36px plus the strip's height. */
  .rebrand-hero--cinema .rebrand-hero-grid:last-child .rebrand-hero-copy{margin-bottom:114px}
  .rebrand-hero--cinema h1{font-size:clamp(50px,15vw,72px);margin:20px 0}
  html:lang(de) .rebrand-hero--cinema h1{font-size:clamp(42px,12vw,58px)}
  html:lang(fr) .rebrand-hero--cinema:not(.vision-hero) h1{font-size:clamp(46px,14vw,72px)}
  .rebrand-hero--cinema .rebrand-hero-lede{font-size:15px;max-width:340px;line-height:1.65}
  .rebrand-hero--cinema .rebrand-actions{align-items:flex-start;gap:12px 24px}
  .rebrand-hero--cinema .rebrand-hero-bottom{display:block;min-height:72px;padding-top:18px;padding-bottom:20px;font-size:12px;background-position:0 -18px}
  .rebrand-hero--cinema .rebrand-hero-bottom::before{display:none}
  .rebrand-hero--cinema .rebrand-hero-bottom>*{display:block;text-align:left!important;margin:3px 0}
  .rebrand-work-stage .rebrand-work-summary{grid-template-columns:24px minmax(0,1fr) 36px;gap:12px}
  .rebrand-work-stage .rebrand-work-summary h3{font-size:26px}
  .rebrand-work-stage .rebrand-work-detail{margin-left:36px}
}

/* Work is shown over its film, with quiet light sections on either side. */
.rebrand-main .rebrand-work--cinema{position:relative;isolation:isolate;background:#141414;color:#fff;--brand-page:#141414}
.rebrand-work--cinema>.wrap{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px 72px;align-items:start}
.rebrand-work--cinema .rebrand-section-head{margin:0}
.rebrand-work--cinema .rebrand-section-head h2{font-size:clamp(42px,4.5vw,64px);line-height:1.06;max-width:620px;color:#fff}
.rebrand-work--cinema .rebrand-section-head .rebrand-lede{max-width:430px;color:#f0f0f0}
.rebrand-work--cinema .rebrand-work-stage{display:block}
.rebrand-main .rebrand-work--cinema>.rebrand-work-film{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;border-radius:0;z-index:0;background:#141414}
.rebrand-work--cinema .rebrand-work-film video{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
.rebrand-work--cinema .rebrand-work-film::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#080808d9,#080808a6)}
.rebrand-work--cinema .rebrand-work-toggle{color:#fff;border-color:#ffffff55;background:transparent}
.rebrand-work--cinema .rebrand-section-action{grid-column:1/-1;margin:0;padding:0}
@media(max-width:880px){.rebrand-work--cinema>.wrap{grid-template-columns:1fr;gap:32px}.rebrand-work--cinema .rebrand-section-head h2{font-size:clamp(38px,8vw,56px)}.rebrand-work--cinema .rebrand-work-film::after{background:#080808c9}.rebrand-work--cinema .rebrand-section-action{grid-column:auto}}
