/* =========================================================================
   MAX LIVING — Performance & Lifestyle Coaching
   Layout concept: cinematic letterbox. Full-bleed dark frames, oversized
   expanded caps, champagne used like a single warm light source.
   ========================================================================= */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Color: one dark world, warm-biased neutrals, champagne as the light */
  --ink: #0a0a0b;          /* page black */
  --coal: #141416;         /* anthracite surface */
  --graphite: #1e1e21;     /* raised surface */
  --line: rgba(232, 220, 196, 0.13);
  --line-strong: rgba(232, 220, 196, 0.28);
  --white: #f6f3ee;        /* warm white for text and paper sections */
  --mute: #a39d92;         /* secondary text, warm grey */
  --dim: #6f6a62;
  --champagne: #cfb68a;    /* accent */
  --champagne-hi: #e9d6ac;
  --champagne-lo: #8a7552;
  --paper: #f3efe8;        /* light section */
  --paper-ink: #151412;
  --paper-mute: #5f5a52;

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(1.45rem, 1.25rem + 1.1vw, 2.25rem);
  --step-4: clamp(1.7rem, 1.35rem + 1.7vw, 2.9rem);
  --step-5: clamp(2rem, 1.3rem + 3vw, 4.2rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  color-scheme: dark;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--champagne); color: var(--ink); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--champagne); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap--narrow { max-width: 900px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-stretch: normal; }
.gold { color: var(--champagne); }
.eyebrow {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--white); max-width: 38ch; }
.muted { color: var(--mute); }
.h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: var(--step-4); line-height: .92; letter-spacing: -0.02em; }
.h3 { font-family: var(--f-display); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: var(--step-2); line-height: 1; letter-spacing: -0.01em; }
.prose { max-width: 62ch; color: var(--mute); display: grid; gap: 1em; }
.prose strong { color: var(--white); font-weight: 600; }
p.prose { display: block; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--champagne); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 0.86rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--bg); border-radius: 999px; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--champagne-hi); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: var(--line-strong); }
.btn--ghost::after { background: var(--white); }
.btn--ghost:hover { color: var(--ink); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark::after { background: var(--graphite); }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; color: var(--champagne); text-decoration: none; font-family: var(--f-display); font-stretch: 112%; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(10, 10, 11, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; gap: 5px; }
.brand__mark { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: 1.22rem; letter-spacing: .02em; }
.brand__mark b { color: var(--champagne); font-weight: 800; }
.brand__sub { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); position: relative; padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: .74rem; }
.nav__toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 27px; }
.nav-open .nav__toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
}
.nav-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: m; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a { display: flex; align-items: baseline; gap: 16px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.2rem, 11vw, 4rem); line-height: 1.02; transform: translateY(110%); transition: transform .7s var(--ease); }
.mobile-menu a small { font-family: var(--f-body); font-size: .8rem; font-weight: 500; letter-spacing: .14em; color: var(--champagne); font-stretch: normal; }
.nav-open .mobile-menu a { transform: none; }
.nav-open .mobile-menu li:nth-child(2) a { transition-delay: .05s; }
.nav-open .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.nav-open .mobile-menu li:nth-child(4) a { transition-delay: .15s; }
.nav-open .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.nav-open .mobile-menu li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu__foot { display: grid; gap: 16px; color: var(--mute); font-size: .9rem; }
.nav-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-block; }
}

/* ---------- Media placeholders (swap for Max's own photos/videos) ---------- */
.media {
  position: relative; overflow: hidden; margin: 0; background: var(--coal);
  border-radius: var(--radius); isolation: isolate; max-width: 100%;
}
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media::before { /* light */
  content: ""; position: absolute; inset: -20%; z-index: 0;
  background:
    radial-gradient(ellipse 45% 55% at var(--lx, 70%) var(--ly, 30%), rgba(233, 214, 172, .30), transparent 70%),
    radial-gradient(ellipse 70% 60% at 20% 110%, rgba(207, 182, 138, .10), transparent 70%),
    linear-gradient(160deg, #1d1c1e 0%, #0d0d0e 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.media::after { content: ""; position: absolute; inset: 0; z-index: 2; background-image: var(--grain); opacity: .09; mix-blend-mode: overlay; pointer-events: none; }
.media--fuel::before { background: radial-gradient(ellipse 40% 45% at 55% 50%, rgba(214, 150, 80, .42), transparent 70%), radial-gradient(ellipse 30% 30% at 58% 48%, rgba(255, 220, 160, .25), transparent 70%), linear-gradient(170deg, #1c1611 0%, #0b0908 80%); }
.media--live::before { background: radial-gradient(ellipse 60% 40% at 30% 20%, rgba(170, 180, 190, .22), transparent 70%), radial-gradient(ellipse 50% 50% at 80% 90%, rgba(207, 182, 138, .16), transparent 70%), linear-gradient(180deg, #17191b 0%, #0b0c0d 85%); }
.media--train::before { background: radial-gradient(ellipse 30% 70% at 72% 20%, rgba(240, 232, 215, .30), transparent 70%), radial-gradient(ellipse 60% 30% at 50% 100%, rgba(207, 182, 138, .10), transparent 70%), linear-gradient(200deg, #1b1b1d 0%, #0a0a0b 70%); }
.media__tag {
  position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 3;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 243, 238, .55);
  display: flex; gap: 8px; align-items: center;
}
.media__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 4px rgba(207, 182, 138, .18); flex: none; }
.media.has-img .media__tag { display: none; }
.media__silhouette { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: rgba(246, 243, 238, .07); }
.media__silhouette svg { width: 46%; height: auto; }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(620px, 92svh, 980px);
  display: grid; align-items: end; overflow: hidden; isolation: isolate;
  padding-block: calc(120px + env(safe-area-inset-top, 0px)) 56px;
}
.hero__film { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.hero__film::before { inset: -10%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 30%, rgba(10,10,11,.2) 55%, var(--ink) 100%); }
.hero__spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 35%), rgba(233, 214, 172, .12), transparent 60%); transition: background .2s; }
.hero__inner { display: grid; gap: 36px; }
.hero__title { font-size: var(--step-5); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title .serif { font-size: 1.08em; line-height: .8; color: var(--champagne); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; }
.hero__copy { display: grid; gap: 24px; max-width: 520px; animation: fade 1.2s .5s var(--ease) both; }
.hero__copy p { color: var(--white); font-size: var(--step-1); line-height: 1.45; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: grid; gap: 10px; justify-items: end; text-align: right; color: var(--mute); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; animation: fade 1.2s .7s var(--ease) both; }
.hero__meta strong { color: var(--white); font-weight: 600; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--champagne), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 720px) { .hero__meta { justify-items: start; text-align: left; } }

/* sub-page hero */
.page-hero { position: relative; padding-block: calc(150px + env(safe-area-inset-top, 0px)) clamp(48px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.3), var(--ink)); }
.page-hero__grid { display: grid; gap: 28px; }
.page-hero__num { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(4rem, 13vw, 11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-strong); position: absolute; right: var(--gutter-r); top: calc(110px + env(safe-area-inset-top, 0px)); z-index: -1; user-select: none; }
.page-hero h1 { font-size: var(--step-5); }
.page-hero .lead { max-width: 46ch; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee span { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: clamp(1.6rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1px var(--mute); }
.marquee svg { width: 22px; height: 22px; color: var(--champagne); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--coal { background: var(--coal); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .muted, .section--paper .prose { color: var(--paper-mute); }
.section--paper .eyebrow { color: var(--champagne-lo); }
.section--paper .prose strong { color: var(--paper-ink); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 48px; } }

/* Manifesto (scroll-lit words) */
.manifesto__text { font-family: var(--f-display); font-weight: 600; font-stretch: 100%; font-size: var(--step-3); line-height: 1.12; letter-spacing: -.015em; max-width: 22ch; }
.manifesto__text .w { color: rgba(246, 243, 238, .34); transition: color .5s var(--ease); }
.manifesto__text .w.on { color: var(--white); }
.manifesto__text em { font-family: var(--f-serif); font-weight: 400; font-style: italic; }
.manifesto__text em .w.on { color: var(--champagne); }
.manifesto__foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; color: var(--mute); }

/* Pillars: stacking cards */
.pillars { display: grid; gap: 24px; }
.pillar {
  position: sticky; top: calc(96px + env(safe-area-inset-top, 0px));
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--graphite); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  min-height: 520px; box-shadow: 0 -30px 60px rgba(0,0,0,.45);
}
.pillar:nth-child(2) { top: calc(116px + env(safe-area-inset-top, 0px)); }
.pillar:nth-child(3) { top: calc(136px + env(safe-area-inset-top, 0px)); }
.pillar__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pillar__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pillar__num { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; color: var(--champagne); letter-spacing: .2em; font-size: .8rem; }
.pillar__name { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: .9; text-transform: uppercase; letter-spacing: -.03em; }
.pillar__sub { font-family: var(--f-serif); font-style: italic; font-size: var(--step-2); color: var(--champagne); line-height: 1.1; }
.pillar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pillar__list li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: .84rem; color: var(--mute); }
.pillar__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pillar .media { border-radius: 0; min-height: 260px; }
@media (min-width: 900px) { .pillar { grid-template-columns: 1.05fr 1fr; } .pillar .media { min-height: 100%; } }

/* Split block */
.split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split > * { min-width: 0; }
.stack { display: grid; gap: 24px; justify-items: start; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 8px 0; display: grid; gap: 6px; }
.fact b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: var(--step-3); line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { color: var(--mute); font-size: .9rem; }

/* Steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 8px 24px; padding-block: 28px; border-bottom: 1px solid var(--line); counter-increment: s; align-items: baseline; }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-stretch: 112%; font-weight: 600; color: var(--champagne); letter-spacing: .1em; font-size: .9rem; }
.step h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: var(--step-1); letter-spacing: .01em; }
.step p { grid-column: 2; color: var(--mute); max-width: 56ch; }
.step__tag { display: inline-block; margin-left: 10px; font-family: var(--f-body); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
@media (min-width: 900px) { .steps--grid { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 0 32px; } .steps--grid .step { grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 0; } .steps--grid .step p { grid-column: 1; } }
.section--paper .steps, .section--paper .step { border-color: rgba(21,20,18,.14); }
.section--paper .step p { color: var(--paper-mute); }
.section--paper .step::before { color: var(--champagne-lo); }

/* Cards grid */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--ink); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: background .4s var(--ease); position: relative; }
.card:hover { background: var(--coal); }
.card h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: var(--step-1); letter-spacing: .01em; }
.card p { color: var(--mute); }
.card__icon { width: 40px; height: 40px; color: var(--champagne); }
.card__badge { position: absolute; top: 20px; right: 20px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); border: 1px solid var(--line-strong); padding: 3px 10px; border-radius: 999px; }

/* Packages */
.packages { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.package { border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 20px; background: linear-gradient(180deg, var(--coal), var(--ink)); }
.package--featured { border-color: var(--champagne-lo); background: linear-gradient(180deg, #1d1a15, var(--ink)); }
.package h3 { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: var(--step-2); line-height: 1; }
.package__price { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; color: var(--champagne); letter-spacing: .06em; }
.package ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--mute); }
.package li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.package li::before { content: ""; width: 10px; height: 1px; background: var(--champagne); margin-top: .8em; }
.package .btn { margin-top: auto; align-self: start; }

/* Quote / testimonials */
.quote { font-family: var(--f-serif); font-style: italic; font-size: var(--step-3); line-height: 1.12; letter-spacing: -.01em; max-width: 24ch; }
.quote cite { display: block; margin-top: 20px; font-family: var(--f-body); font-style: normal; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.testimonials { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.testimonial { margin: 0; border-top: 1px solid var(--line-strong); padding-top: 24px; display: grid; gap: 18px; align-content: start; }
.testimonial p { font-family: var(--f-serif); font-size: var(--step-2); line-height: 1.2; }
.testimonial footer { color: var(--mute); font-size: .85rem; }
.example-note { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.example-note::before { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }

/* Social strip */
.social-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .social-grid { grid-template-columns: repeat(4, 1fr); } }
.social-grid .media { aspect-ratio: 9 / 14; }

.play { position: absolute; z-index: 3; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(246,243,238,.4); display: grid; place-items: center; }
.play::after { content: ""; border-left: 9px solid var(--white); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 14vw, 200px); text-align: left; }
.cta-band .media { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,11,.92) 30%, rgba(10,10,11,.4)); }
.cta-band h2 { font-size: var(--step-5); margin-bottom: 28px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(var(--champagne), var(--champagne)) center / 100% 1.5px no-repeat, linear-gradient(var(--champagne), var(--champagne)) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 28px; color: var(--mute); max-width: 64ch; }

/* ---------- FUEL: Reinvention Lab ---------- */
.lab { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--coal); }
.lab__tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.lab__tabs::-webkit-scrollbar { display: none; }
.lab__tab { flex: 1 0 auto; background: none; border: 0; color: var(--mute); padding: 20px 24px; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; cursor: pointer; position: relative; white-space: nowrap; }
.lab__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--champagne); transform: scaleX(0); transition: transform .4s var(--ease); }
.lab__tab[aria-selected="true"] { color: var(--white); }
.lab__tab[aria-selected="true"]::after { transform: scaleX(1); }
.lab__body { display: grid; gap: 0; }
@media (min-width: 980px) { .lab__body { grid-template-columns: 1fr 1.25fr; } }
.lab__visual { min-height: 320px; border-radius: 0; }
.lab__data { padding: clamp(24px, 4vw, 48px); display: grid; gap: 28px; min-width: 0; }
.lab__title { display: grid; gap: 8px; }
.lab__title h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: var(--step-3); line-height: .95; }
.lab__title p { font-family: var(--f-serif); font-style: italic; font-size: var(--step-1); color: var(--champagne); }
.lab__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lab__col { border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: grid; gap: 4px; }
.lab__col--new { border-color: var(--champagne-lo); background: rgba(207,182,138,.06); }
.lab__col small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.lab__col--new small { color: var(--champagne); }
.lab__kcal { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.lab__kcal small { font-size: .4em; color: var(--mute); margin-left: 4px; letter-spacing: .1em; }
.macros { display: grid; gap: 16px; }
.macro { display: grid; grid-template-columns: 118px 1fr auto; gap: 14px; align-items: center; font-size: .9rem; }
.macro__name { color: var(--mute); letter-spacing: .06em; }
.macro__bars { display: grid; gap: 4px; }
.bar { height: 6px; border-radius: 3px; background: rgba(246,243,238,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--dim); border-radius: inherit; transition: width .9s var(--ease); }
.bar--new i { background: linear-gradient(90deg, var(--champagne-lo), var(--champagne-hi)); }
.macro__val { font-variant-numeric: tabular-nums; text-align: right; min-width: 92px; color: var(--mute); font-size: .84rem; }
.macro__val b { color: var(--white); font-weight: 600; }
.lab__tweaks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lab__tweaks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--white); }
.lab__tweaks li::before { content: "→"; color: var(--champagne); }
.lab__foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--dim); font-size: .8rem; }
@media (max-width: 520px) { .macro { grid-template-columns: 70px 1fr; } .macro__val { grid-column: 2; text-align: left; } }

/* Food film grid */
.food-grid { display: grid; gap: 12px; grid-template-columns: repeat(6, 1fr); }
.food-grid .media { grid-column: span 6; aspect-ratio: 4 / 5; }
@media (min-width: 760px) {
  .food-grid .media:nth-child(1) { grid-column: span 4; aspect-ratio: 16 / 11; }
  .food-grid .media:nth-child(2) { grid-column: span 2; aspect-ratio: auto; }
  .food-grid .media:nth-child(3), .food-grid .media:nth-child(4), .food-grid .media:nth-child(5) { grid-column: span 2; aspect-ratio: 4 / 5; }
}
.nutri { position: absolute; z-index: 3; right: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.nutri span { background: rgba(10,10,11,.7); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .72rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* ---------- LIVE: day ring ---------- */
.day { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .day { grid-template-columns: 1fr 1fr; } }
.ring { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring__seg { fill: none; stroke-width: 18; stroke: rgba(246,243,238,.08); transition: stroke .4s var(--ease); cursor: pointer; }
.ring__seg.on { stroke: var(--champagne); }
.ring__tick { stroke: var(--line-strong); stroke-width: 1; }
.ring__label { fill: var(--mute); font: 600 11px var(--f-body); letter-spacing: .1em; }
.ring__center { position: absolute; inset: 22%; display: grid; place-content: center; text-align: center; gap: 6px; }
.ring__time { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.ring__what { font-family: var(--f-serif); font-style: italic; color: var(--champagne); font-size: var(--step-1); }
.moments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.moment { border-bottom: 1px solid var(--line); }
.moment button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 70px 1fr; gap: 4px 18px; padding: 18px 0; }
.moment time { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; transition: color .3s; }
.moment strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); transition: color .3s; }
.moment p { grid-column: 2; color: var(--mute); font-size: .92rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.moment.on time { color: var(--champagne); }
.moment.on strong { color: var(--white); }
.moment.on p { max-height: 8em; opacity: 1; }
.moment button:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }

/* ---------- Booking form ---------- */
.booking { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 1000px) { .booking { grid-template-columns: .8fr 1.2fr; } }
.booking > * { min-width: 0; }
@media (max-width: 999px) { .booking > aside { order: 2; } }
.form { border: 1px solid var(--line); border-radius: 8px; background: var(--coal); padding: clamp(22px, 4vw, 48px); display: grid; gap: 28px; }
.progress { display: flex; gap: 8px; }
.progress span { flex: 1; height: 2px; background: var(--line-strong); border-radius: 2px; overflow: hidden; position: relative; }
.progress span::after { content: ""; position: absolute; inset: 0; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.progress span.done::after { transform: scaleX(1); }
.form__step { display: grid; gap: 22px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form__step legend { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: var(--step-2); line-height: 1; padding: 0; margin-bottom: 6px; }
.form__hint { color: var(--mute); font-size: .92rem; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label { display: grid; gap: 4px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 16px 18px; cursor: pointer; transition: border-color .3s, background .3s; height: 100%; }
.choice label b { font-family: var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.choice label span { color: var(--mute); font-size: .85rem; line-height: 1.4; }
.choice input:checked + label { border-color: var(--champagne); background: rgba(207,182,138,.08); }
.choice input:focus-visible + label { outline: 2px solid var(--champagne); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .choice label { border-radius: 999px; padding: 10px 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--white); padding: 10px 0 12px; font: inherit; border-radius: 0; transition: border-color .3s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--champagne); }
.field select option { background: var(--coal); }
.fields { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--mute); font-size: .88rem; }
.check input { width: 18px; height: 18px; accent-color: var(--champagne); margin-top: 3px; }
.form__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form__error { color: #e7a58f; font-size: .88rem; min-height: 1.4em; }
.form__done { text-align: left; display: grid; gap: 16px; justify-items: start; }
.form__done h3 { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: var(--step-3); line-height: .95; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--mute); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--champagne); }
.placeholder-mark { color: var(--champagne); border-bottom: 1px dashed var(--champagne-lo); }

/* Legal */
.legal { display: grid; gap: 40px; max-width: 760px; }
.legal section { display: grid; gap: 12px; }
.legal h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: var(--step-1); letter-spacing: .04em; }
.legal p, .legal li { color: var(--mute); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal dl { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 10px 20px; margin: 0; }
.legal dt { color: var(--dim); font-size: .85rem; letter-spacing: .06em; }
.legal dd { margin: 0; color: var(--white); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }
.notice { border: 1px solid var(--champagne-lo); background: rgba(207,182,138,.06); border-radius: 6px; padding: 16px 20px; color: var(--champagne-hi); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 80px calc(36px + env(safe-area-inset-bottom, 0px)); background: var(--ink); }
.footer__claim { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2rem, 6.4vw, 5.6rem); line-height: .9; letter-spacing: -.03em; margin-bottom: 64px; }
.footer__claim span { display: block; }
.footer__claim span:last-child { color: var(--champagne); }
.footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__grid h3 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 16px; font-weight: 600; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__grid a { text-decoration: none; color: var(--mute); transition: color .3s; }
.footer__grid a:hover { color: var(--white); }
.footer__base { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 28px; color: var(--dim); font-size: .82rem; }
.footer__base a { color: var(--dim); text-decoration: none; }
.footer__base a:hover { color: var(--white); }

/* ---------- Reveal on scroll (content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
.js .media.reveal { clip-path: inset(12% 0 0 0); opacity: 1; transform: none; transition: clip-path 1.2s var(--ease); }
.js .media.reveal.in { clip-path: inset(0 0 0 0); }

/* ---------- Utilities ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.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; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-wide { aspect-ratio: 16 / 10; }
.ratio-tall { aspect-ratio: 3 / 4; }

@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 .reveal, .js .media.reveal { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; }
}

/* ---------- Real photos: always sharp, never upscaled ---------- */
.hero__film > img, .hero__film > video { filter: brightness(.42) saturate(.9); object-position: 50% 20%; }
.page-hero__bg > img, .page-hero__bg > video, .cta-band .media > img, .cta-band .media > video { filter: brightness(.38) saturate(.9); object-position: 50% 22%; }
.pillar .media > img { object-position: 50% 30%; }
.media--train > img, .media--train > video { object-position: 50% 22%; }
.media--fuel > img, .media--live > img { object-position: 50% 50% !important; }
.page-hero__bg.media--fuel > img, .page-hero__bg.media--live > img, .cta-band .media--fuel > img, .cta-band .media--live > img { filter: brightness(.78) saturate(1.05); }
@media (min-width: 900px) {
  /* Vertical footage sits as a sharp panel on the right instead of being stretched across the screen */
  .page-hero__bg.media--train.has-img, .cta-band .media--train.has-img { left: auto; right: 0; width: min(46%, 640px); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
  .page-hero__bg.media--train.has-img > img, .page-hero__bg.media--train.has-img > video, .cta-band .media--train.has-img > img, .cta-band .media--train.has-img > video { filter: brightness(.82) saturate(.95); object-position: 50% 22%; }
  .page-hero:has(.page-hero__bg.media--train.has-img)::after { background: linear-gradient(180deg, transparent 70%, var(--ink)); }
  .page-hero:has(.page-hero__bg.has-img) .page-hero__num { display: none; }
}
@media (min-width: 1100px) {
  .hero__film > video, .hero__film > img { display: none; }
}
.social-grid > a { display: block; position: relative; text-decoration: none; border-radius: var(--radius); }
.social-grid > a:nth-child(even) { transform: translateY(28px); }
.social-grid > a .media { transform: none; transition: transform .6s var(--ease); }
.social-grid > a:hover .media > img { transform: scale(1.04); }
.social-grid .media > img { transition: transform .8s var(--ease); }
.social-grid > a .play { z-index: 4; }

/* Hero reel card: story-style frames from Instagram */
.hero__reel {
  position: absolute; z-index: 1; right: max(var(--gutter-r), calc((100vw - var(--wrap)) / 2 + 16px)); top: calc(118px + env(safe-area-inset-top, 0px));
  width: clamp(230px, 21vw, 320px); aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px var(--line-strong); background: var(--coal);
  transform: rotate(2.5deg); transition: transform .6s var(--ease); animation: reelin 1.2s .6s var(--ease) both;
}
.hero__reel:hover { transform: rotate(0deg) scale(1.02); }
.hero__reel img, .hero__reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.hero__reel img.on, .hero__reel video.on { opacity: 1; }
.hero__reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 22%, transparent 65%, rgba(0,0,0,.8)); }
.hero__reel-bars { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.hero__reel-bars i { flex: 1; height: 2px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; position: relative; }
.hero__reel-bars i::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__reel-bars i.done::after { transform: scaleX(1); }
.hero__reel-bars i.on::after { animation: storybar var(--dur, 8.8s) linear forwards; }
@keyframes storybar { to { transform: scaleX(1); } }
.hero__reel-cap { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 2px; font-size: .74rem; color: rgba(246,243,238,.75); letter-spacing: .04em; }
.hero__reel-cap b { color: var(--white); font-weight: 600; font-size: .82rem; }
@keyframes reelin { from { opacity: 0; transform: translateY(24px) rotate(6deg); } to { opacity: 1; transform: rotate(2.5deg); } }

@media (min-width: 1100px) { .hero__title { font-size: min(var(--step-5), calc((min(100vw, 1320px) - 440px) / 9.5)); } .hero__copy { max-width: 560px; } }

/* Video cards: play on hover (desktop) or when visible (touch) */
.social-grid .media > video { transition: transform .8s var(--ease); }
.social-grid > a:hover .media > video { transform: scale(1.04); }
.play { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.social-grid > a:has(.is-playing) .play { opacity: 0; transform: scale(.8); }
.reel-label { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.8); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.social-grid > a:hover .reel-label, .social-grid > a:focus-visible .reel-label { opacity: 1; transform: none; }
.social-grid .media::after { opacity: .05; }
@media (hover: none) { .hover-hint { display: none; } .reel-label { opacity: 1; transform: none; } }

/* Pillars: on desktop each card parks in the middle of the screen and stays a while */
@media (min-width: 900px) {
  .pillars { gap: 38vh; padding-bottom: 12vh; }
  .pillar { top: max(92px, calc(50svh - 280px)); min-height: 560px; }
  .pillar:nth-child(2) { top: max(108px, calc(50svh - 264px)); }
  .pillar:nth-child(3) { top: max(124px, calc(50svh - 248px)); }
}
@media (max-width: 899px) { .pillar, .pillar:nth-child(2), .pillar:nth-child(3) { position: relative; top: 0; } }

/* Long German words in page titles must never be clipped on phones */
@media (max-width: 480px) { .page-hero .display, .cta-band .display { font-size: min(var(--step-5), 8.2vw); } }

/* ---------- Max is always fully visible: text never sits on top of him ---------- */
.page-hero__bg.media--train.has-img > img, .page-hero__bg.media--train.has-img > video,
.cta-band .media--train.has-img > img, .cta-band .media--train.has-img > video { filter: none; }
@media (min-width: 900px) {
  .page-hero:has(.page-hero__bg.media--train.has-img) .page-hero__grid > *,
  .cta-band:has(.media--train.has-img) .wrap > * { max-width: min(600px, calc(50vw - 64px)); }
  .page-hero:has(.page-hero__bg.media--train.has-img) h1,
  .cta-band:has(.media--train.has-img) h2 { font-size: min(var(--step-5), calc((50vw - 64px) / 10.5)); }
  .page-hero__bg.media--train.has-img, .cta-band .media--train.has-img { width: min(44%, 620px); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
  .cta-band:has(.media--train.has-img)::after { background: linear-gradient(90deg, rgba(10,10,11,.96) 40%, transparent 56%); }
}
@media (max-width: 899px) {
  .page-hero:has(.page-hero__bg.media--train.has-img) { padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
  .page-hero__bg.media--train.has-img, .cta-band .media--train.has-img {
    position: relative; inset: auto; z-index: 0; display: block; height: min(64svh, 560px);
    margin: 0 max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); border-radius: 18px; overflow: hidden; }
  .page-hero:has(.page-hero__bg.media--train.has-img)::after, .cta-band:has(.media--train.has-img)::after { display: none; }
  .cta-band:has(.media--train.has-img) { padding-top: 24px; }
}
/* Home hero below 1100px: the reel card plays under the copy instead of a dimmed photo behind the text */
@media (max-width: 1099px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__film > img, .hero__film > video { display: none; }
  .hero__inner { order: 1; }
  .hero__reel { order: 2; position: relative; top: auto; right: auto; align-self: center; margin-top: 40px;
    width: min(calc(100% - 32px), 380px); transform: none; animation: none; }
  .hero__reel:hover { transform: none; }
}

@media (max-width: 899px) { .page-hero__bg.media--live > img { object-position: 74% 50%; } }
