/* The inner pages' hero (11 Nov 2026): the home hero's look on one screen. The glass frame (glass.css, glass.js), the
   depth scene settled in (hero-depth.css, c/js/hero-one.js), the page's own headline, intro and buttons. Nothing pins.
   Case studies show their own project picture in the scene. */
/* always home's dark colours, whatever theme the page itself uses (light pages, a case study's brand colours) */
.hero.hero-one, .closing[data-closing], html[data-theme] .closing[data-closing] {
  --ink-0: oklch(0.135 0.006 358); --ink-1: oklch(0.165 0.008 358); --ink-2: oklch(0.21 0.01 358);
  --rule: oklch(0.34 0.012 358); --rule-soft: oklch(0.27 0.01 358);
  --fg: oklch(0.965 0.005 358); --fg-2: oklch(0.78 0.01 358); --fg-3: oklch(0.62 0.012 358);
  --accent: oklch(0.6 0.244 358.6); --accent-deep: oklch(0.52 0.215 358.6);
  background: var(--ink-0); color: var(--fg);
}
html[data-theme] .closing[data-closing] .plane-close { display: block; }   /* a case study's theme hid the concrete plate */
.hero.hero-one { height: auto; }
/* pages with live scenes (gl): home's pinned story rules must not apply here */
.gl .hero-one .hero-pin { height: auto; }
.gl .hero-one .hero-intro { position: relative; top: auto; }
.hero-one .hero-intro .hero-h { clip-path: none !important; }
.hero-one .hero-intro .eyebrow, .hero-one .hero-intro .hero-foot { opacity: 1 !important; visibility: visible !important; }
.hero-one .hero-stage { position: absolute; inset: 0 0 auto; height: 100svh; min-height: 600px; z-index: 0; }
.hero-one .hero-flow { position: relative; z-index: 1; margin-top: 0; }
.hero-one .hero-intro { min-height: max(100svh, 600px); }
.hero-one .hero-h { font-size: clamp(44px, 6.1vw, 112px); line-height: .94; color: var(--fg); -webkit-text-stroke: 0; max-width: 16ch; text-wrap: balance; }
.hero-one .hero-h em, .hero-one .hero-h .pk { font-style: normal; color: #FF0A7A; }
.hero-one .hero-h br { display: none; }
.hero-one .hero-h span { display: inline; }
.hero-one .eyebrow { color: var(--fg-2); }
.hero-one .lede { max-width: 52ch; }

/* a case study: its own picture under the rings, dimmed and faded out towards the headline */
.hero-one.is-case .hd-photo { mix-blend-mode: normal; z-index: -1; }
.hero-one.is-case .hd-photo img { opacity: 1; filter: brightness(.5) saturate(1.05); object-position: 66% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 70%); mask-image: linear-gradient(90deg, transparent 26%, #000 70%); }

/* the old opening, now the first section under the hero: a little air above it */
.hero-one + section { scroll-margin-top: var(--hd); }

@media (max-width: 767px) {
  .hero-one .hero-stage { min-height: 0; }
  .hero-one .hero-intro { min-height: 100svh; }
  .hero-one .hero-h { font-size: clamp(36px, 10.4vw, 64px); max-width: none; }
  .hero-one.is-case .hd-photo img { -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 66%); mask-image: linear-gradient(180deg, #000 30%, transparent 66%); }
}
