/* Media and mastermind experience. Shares tokens from site.css. */
picture { display: block; }
picture img { width: 100%; height: 100%; object-fit: cover; }
figure > picture { height: 100%; }

/* Films */
.film { position: relative; background: #0d0d0d; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0d0d0d; }
.film.film-started video { object-fit: contain; }
.film-play { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 18px; padding: clamp(16px, 3vw, 34px); border: 0; color: var(--white); text-align: left; background: linear-gradient(180deg, rgba(10,10,10,0) 35%, rgba(10,10,10,.82) 100%); transition: background .35s ease; }
.film-play:hover, .film-play:focus-visible { background: linear-gradient(180deg, rgba(10,10,10,.1) 20%, rgba(10,10,10,.9) 100%); }
.film-play:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.film-play-icon { position: relative; flex: none; width: clamp(54px, 6vw, 82px); height: clamp(54px, 6vw, 82px); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(239,61,50,.55); animation: film-pulse 2.6s ease-out infinite; transition: transform .3s ease; }
.film-play-icon::after { content: ''; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--white); }
.film-play:hover .film-play-icon { transform: scale(1.07); }
.film-play-text { display: grid; gap: 4px; font-weight: 700; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.25; max-width: 34ch; }
.film-duration { font-weight: 500; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }
@keyframes film-pulse { 0% { box-shadow: 0 0 0 0 rgba(239,61,50,.5); } 70% { box-shadow: 0 0 0 22px rgba(239,61,50,0); } 100% { box-shadow: 0 0 0 0 rgba(239,61,50,0); } }

/* Brain hologram inside the mindset field */
.mind-video { position: absolute; inset: 6% 4%; width: 92%; height: 88%; object-fit: cover; border-radius: 50%; opacity: .0; filter: saturate(1.1) contrast(1.05); mix-blend-mode: screen; transition: opacity 1.2s ease; -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); pointer-events: none; }
.mind-video-playing .mind-video, .mind-field .mind-video[poster] { opacity: .55; }
.is-shifted .mind-video { opacity: .8; }

/* Mastermind hero */
.mm-hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.mm-hero > picture { position: absolute; inset: 0; z-index: -2; }
.mm-hero-image { transform: scale(1.06); animation: mm-drift 24s ease-in-out infinite alternate; }
.mm-hero-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 20% 100%, rgba(15,15,15,.96) 20%, rgba(15,15,15,.55) 60%, rgba(15,15,15,.35) 100%), linear-gradient(180deg, rgba(15,15,15,.55), rgba(15,15,15,0) 30%); }
.mm-hero-inner { padding-top: 170px; padding-bottom: clamp(48px, 8vw, 100px); width: 100%; }
.mm-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 12vw, 190px); line-height: .86; letter-spacing: -.01em; margin-top: 18px; }
.mm-hero h1 span { color: var(--red); }
.mm-hero-lead { max-width: 36ch; margin-top: 28px; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.45; color: rgba(255,253,249,.88); }
.mm-hero .actions { margin-top: 34px; }
.mm-light-link { color: var(--white); }
.mm-hero-facts { list-style: none; margin: clamp(46px, 7vw, 86px) 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.22); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mm-hero-facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; letter-spacing: .01em; }
.mm-hero-facts span { display: block; margin-top: 8px; color: rgba(255,253,249,.72); font-size: 17px; max-width: 26ch; }
@keyframes mm-drift { from { transform: scale(1.06) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }

/* Origin */
.mm-origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.mm-origin .copy p + p { margin-top: 18px; }
.mm-pull-quote { margin: clamp(56px, 8vw, 110px) 0 0; padding-left: clamp(20px, 3vw, 40px); border-left: 4px solid var(--red); }
.mm-pull-quote blockquote { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.6vw, 70px); line-height: 1.02; text-transform: uppercase; max-width: 22ch; }
.mm-pull-quote figcaption { margin-top: 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 16px; color: var(--muted); }

/* Film section */
.mm-film-head, .mm-voices-head, .mm-rooms-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(34px, 5vw, 60px); }
.mm-film-head .copy, .mm-voices-head .copy { color: rgba(255,253,249,.78); }
.film-feature { border-radius: 8px; }

/* Method */
.mm-method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: clamp(40px, 6vw, 70px); background: var(--line); border: 1px solid var(--line); }
.mm-method-grid article { background: var(--paper); padding: clamp(24px, 3vw, 40px); min-height: 300px; display: flex; flex-direction: column; transition: background .3s ease, color .3s ease; }
.mm-method-grid article:hover { background: var(--ink); color: var(--white); }
.mm-method-grid h3 { margin-top: auto; padding-top: 50px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; }
.mm-method-grid p { margin-top: 14px; font-size: 18px; }
.mm-method-grid .number { color: var(--red); }

/* Gallery */
.mm-gallery { display: grid; grid-template-columns: 1.38fr 1fr; grid-template-rows: auto auto; gap: 10px; padding: 0 10px 10px; background: var(--paper); }
.mm-gallery figure { position: relative; margin: 0; overflow: hidden; min-height: 300px; background: var(--ink); }
.mm-gallery-large { grid-row: span 2; min-height: 640px; }
.mm-gallery-wide { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
.mm-gallery picture, .mm-gallery img { position: absolute; inset: 0; }
.mm-gallery img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.mm-gallery figure:hover img { transform: scale(1.04); }
.mm-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 20px; color: var(--white); font-weight: 700; background: linear-gradient(180deg, transparent, rgba(10,10,10,.78)); }

/* Outcomes */
.mm-outcomes-head { margin-bottom: clamp(36px, 5vw, 64px); }
.mm-outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.mm-outcomes-grid > div { border-top: 2px solid var(--red); padding-top: 26px; }
.mm-outcomes-grid span { font-family: var(--display); font-size: 18px; color: var(--red); }
.mm-outcomes-grid h3 { margin-top: 18px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 46px); line-height: 1; text-transform: uppercase; }
.mm-outcomes-grid p { margin-top: 14px; color: rgba(255,253,249,.74); }

/* Rooms */
.mm-rooms-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mm-rooms-list li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: baseline; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); transition: padding-left .35s ease; }
.mm-rooms-list li:hover { padding-left: 14px; }
.mm-rooms-list span { font-family: var(--display); font-size: 22px; color: var(--red); }
.mm-rooms-list h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 58px); line-height: 1; text-transform: uppercase; }
.mm-rooms-list p { margin-top: 8px; color: var(--muted); font-size: 18px; }

/* Member voices */
.mm-voices-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 36px); }
.voice-card { display: flex; flex-direction: column; gap: 20px; }
.voice-card-lead { grid-row: span 2; }
.voice-card blockquote { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.voice-card-lead blockquote { font-size: clamp(30px, 3.4vw, 52px); }
.voice-name { display: grid; gap: 2px; font-size: 17px; }
.voice-name span { color: rgba(255,253,249,.66); }

/* Statement */
.mm-statement { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: var(--white); }
.mm-statement > picture { position: absolute; inset: 0; z-index: -2; }
.mm-statement-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,15,15,.94) 0%, rgba(15,15,15,.75) 55%, rgba(15,15,15,.45) 100%); }
.mm-statement h2 { margin-top: 18px; font-family: var(--display); font-weight: 400; font-size: clamp(42px, 6.6vw, 104px); line-height: .95; max-width: 15ch; }
.mm-statement h2 span { color: var(--red); }
.mm-statement-name { margin-top: 26px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 16px; opacity: .8; }
.mm-statement-inner { padding-top: 90px; padding-bottom: 90px; }

/* Home teaser */
.mm-teaser { padding: clamp(80px, 11vw, 160px) 0; overflow: hidden; }
.mm-teaser-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.mm-teaser-media { position: relative; padding-bottom: 12%; }
.mm-teaser-media figure { margin: 0; overflow: hidden; border-radius: 4px; }
.mm-teaser-main { aspect-ratio: 4 / 5; }
.mm-teaser-inset { position: absolute; right: -6%; bottom: 0; width: 46%; aspect-ratio: 4 / 5; border: 8px solid var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.mm-teaser .lead { margin-top: 26px; color: rgba(255,253,249,.86); max-width: 34ch; }
.mm-teaser-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.mm-teaser-points li { position: relative; padding-left: 30px; font-weight: 600; }
.mm-teaser-points li::before { content: ''; position: absolute; left: 0; top: .55em; width: 16px; height: 2px; background: var(--red); }
.mm-teaser-quote { margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--dark-line); }
.mm-teaser-quote blockquote { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.08; }
.mm-teaser-quote figcaption { margin-top: 12px; font-size: 17px; color: rgba(255,253,249,.62); }
.mm-teaser .actions { margin-top: 34px; }

/* About photo story */
.about-photo-story { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.photo-story-hero { margin: 0; height: min(86svh, 820px); position: relative; }
.photo-story-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,0) 40%, var(--ink) 100%); }
.photo-story-inner { position: relative; margin-top: -240px; padding-bottom: clamp(70px, 10vw, 140px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
.photo-story-copy .copy { margin-top: 24px; color: rgba(255,253,249,.8); max-width: 42ch; }
.photo-story-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: end; }
.photo-story-pair figure { margin: 0; overflow: hidden; border-radius: 4px; }
.photo-story-pair figure:first-child { aspect-ratio: 3 / 2; }
.photo-story-pair figure:last-child { aspect-ratio: 2 / 3; }

/* Work page band */
.work-mastermind { padding: clamp(70px, 10vw, 140px) 0; }
.work-mastermind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.work-mastermind figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.work-mastermind .copy { margin-top: 24px; color: rgba(255,253,249,.8); }
.work-mastermind .actions { margin-top: 30px; }

/* Motion preferences */
.motion-paused .mm-hero-image, .motion-paused .film-play-icon { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .mm-hero-image, .film-play-icon { animation: none; }
  .mm-gallery img, .mm-rooms-list li, .mm-method-grid article { transition: none; }
  .mind-video { display: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .mm-method-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-voices-grid { grid-template-columns: 1fr 1fr; }
  .voice-card-lead { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 900px) {
  .mm-teaser-grid, .work-mastermind-grid, .photo-story-inner { grid-template-columns: 1fr; }
  .mm-teaser-media { max-width: 560px; }
  .photo-story-inner { margin-top: -160px; }
}
@media (max-width: 760px) {
  .mm-origin-grid, .mm-film-head, .mm-voices-head, .mm-rooms-head, .mm-outcomes-grid, .mm-voices-grid, .mm-method-grid { grid-template-columns: 1fr; }
  .mm-film-head, .mm-voices-head, .mm-rooms-head { gap: 18px; }
  .mm-hero { min-height: 92svh; }
  .mm-hero-inner { padding-top: 130px; }
  .mm-hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .mm-hero-facts li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: baseline; }
  .mm-hero-facts span { margin-top: 0; }
  .mm-method-grid article { min-height: 0; }
  .mm-method-grid h3 { padding-top: 26px; }
  .mm-gallery { grid-template-columns: 1fr; }
  .mm-gallery figure, .mm-gallery-large { grid-row: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .mm-gallery-wide { aspect-ratio: 4 / 3; }
  .mm-rooms-list li { grid-template-columns: 46px 1fr; }
  .mm-statement { min-height: 520px; }
  .photo-story-hero { height: 68svh; }
  .photo-story-inner { margin-top: -120px; }
  .photo-story-pair { grid-template-columns: 1fr 1fr; }
  .photo-story-pair figure:first-child, .photo-story-pair figure:last-child { aspect-ratio: 3 / 4; }
  .mm-teaser-inset { right: 0; width: 44%; border-width: 6px; }
  .film-play { gap: 12px; }
  .film-play-text { font-size: 17px; }
}

@media (max-width: 420px) {
  .mm-hero h1 { font-size: 15vw; }
}

/* Distinct editorial photos replacing repeated header cutouts */
.about-immersive-hero .about-hero-photo { right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; object-position: 42% 30%; filter: saturate(.85) contrast(1.02); }
.story-portrait-frame .story-photo { position: absolute; inset: 0; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: saturate(.9); }
.about-personal-note picture { max-width: 370px; }
.about-personal-note img { aspect-ratio: 2 / 3; object-fit: cover; }
@media (max-width: 1080px) { .about-immersive-hero .about-hero-photo { width: 64%; right: 0; } }
@media (max-width: 760px) {
  .about-immersive-hero .about-hero-photo { width: 100%; right: 0; top: 0; height: 100%; opacity: .42; object-position: 55% 20%; }
  .about-personal-note picture { max-width: 420px; }
  .story-portrait-frame .story-photo { width: 100%; left: 0; }
}

/* Header: five links need the compact menu earlier */
.nav-link { white-space: nowrap; }
@media (max-width: 960px) {
  .desktop-nav, .header-action { display: none; }
  .menu-toggle { display: inline-flex; }
}
.about-immersive-hero .about-hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
@media (max-width: 760px) { .about-immersive-hero .about-hero-photo { -webkit-mask-image: none; mask-image: none; } }

/* Family photo: keep everyone in frame */
.photo-story-hero img { object-position: 50% 38%; }
@media (max-width: 760px) {
  .photo-story-hero { height: auto; }
  .photo-story-hero img { height: auto; aspect-ratio: 3 / 2; }
}
.photo-story-hero { height: min(86svh, 820px, 66.67vw); }
