/* Forma: a training club. Only --d-* tokens and b-* classes belong here.
   Cool graphite, chalk white, no accent colour: the photographs bring the heat. Wide Unbounded headlines,
   Sora for the rest. Signature: the hero switches on like the club at six in the morning, in three bands. */
:root {
  --d-bg: #121314;
  --d-surface: #1b1c1e;
  --d-surface-2: #26282b;
  --d-text: #f1f1ef;
  --d-muted: #a2a4a7;
  --d-line: #303235;
  --d-accent: #f1f1ef;
  --d-on-accent: #121314;
  --d-invert-bg: #e9e9e6;
  --d-invert-text: #121314;
  --d-sale: #f1f1ef;
  --d-focus: #f1f1ef;
  --d-scrim: rgb(0 0 0 / 0.6);

  --d-font-body: "Sora", system-ui, sans-serif;
  --d-font-display: "Unbounded", system-ui, sans-serif;
  --d-display-weight: 500;
  --d-display-tracking: -0.03em;
  --d-display-case: uppercase;
  --d-display-leading: 0.95;
  --d-label-tracking: 0.02em;
  --d-icon-stroke: 1.6;

  --d-radius: 999px;
  --d-radius-card: 6px;
  --d-header-h: 4.5rem;
  --d-logo-h: 1.15rem;
  --d-over-ink: #f4f4f2;

  --d-dur-reveal: 1000ms;
  --d-stagger: 80ms;
}
.d-display { font-size: clamp(2.6rem, 1rem + 7.4vw, 8.4rem); }
.d-h2 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3.2rem); }
.d-h3 { font-family: var(--d-font-body); text-transform: none; letter-spacing: -0.01em; font-weight: 500; }

/* Signature: three bands of dark lift off the hero one after another, top first, like ceiling lights. */
.b-lights { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.b-lights i { background: #000; opacity: 0; }
.d-motion .b-lights i { animation: b-lights 900ms steps(2, end) both; animation-delay: calc(350ms + var(--n) * 260ms); }
@keyframes b-lights { from { opacity: 0.92; } to { opacity: 0; } }
.d-hero__media img { filter: grayscale(1) contrast(1.05); }
.d-tile .d-media img, .bk-service .d-media img, .bk-person .d-media img { filter: grayscale(1); }
.b-hero { position: relative; }

/* The club: the photograph full-bleed, the lights switching on, the live panel beside the headline. */
.b-club { position: relative; display: grid; min-height: calc(100svh - 4.5rem); color: var(--d-over-ink); isolation: isolate; overflow: hidden; }
.b-club__media { position: absolute; inset: 0; z-index: -1; }
.b-club__media img { width: 100%; height: 100%; object-fit: cover; }
.b-club__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.25)); }
.b-club__grid { position: relative; z-index: 1; display: grid; gap: var(--d-space-7); align-items: end; padding-block: calc(var(--d-header-h) + var(--d-space-7)) var(--d-space-7); }
@media (min-width: 60rem) { .b-club__grid { grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 0.8fr); } }
.b-club__copy { display: grid; gap: var(--d-space-5); justify-items: start; --d-text: var(--d-over-ink); }
.b-club__line { max-width: 34rem; font-size: var(--d-step-1); }
.b-club .d-link { color: inherit; }
.b-head { display: grid; gap: var(--d-space-3); max-width: 44rem; }
.b-quiet { display: grid; gap: var(--d-space-7); }
@media (min-width: 60rem) { .b-quiet { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: end; } }
