/* ==========================================================================
   Mentors page · v5 presentation build
   First screen shows the people: eight faces grouped Film × Tech × Business.
   Then the details: masterclass cards (one per row), the 1:1 list, the screening guests, the cohort.
   Scoped to body.p-mentors; shared tokens and components come from fot.css.
   ========================================================================== */

/* keep the right-edge route in its own lane, never over text */
@media (min-width: 1181px) { body.p-mentors main .wrap { padding-right: max(var(--gut), 150px); } }

/* ---------- head ---------- */
body.p-mentors .mt-head { padding-top: calc(var(--edge) + 136px); }
body.p-mentors .mt-head .h1 { font-size: clamp(46px, 6.4vw, 108px); max-width: 16ch; text-wrap: balance; }
body.p-mentors .mt-head__t { gap: 24px; }
body.p-mentors .mt-head .lead { max-width: 40ch; }
body.p-mentors .mt-head__side { gap: 12px; }
body.p-mentors .mt-note { font-size: 16px; line-height: 1.5; color: var(--fg-2); max-width: 34ch; }
body.p-mentors .mt-credit { font: 400 14px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--fg-2); max-width: 36ch; }

/* ---------- the strip: Film × Tech × Business ---------- */
body.p-mentors .mt-strip { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); }
body.p-mentors .mt-g { position: relative; min-width: 0; }
body.p-mentors .mt-g__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding-top: 12px; border-top: 2px solid var(--fg); }
body.p-mentors .mt-g__w { font: 700 clamp(22px, 2vw, 32px)/1 var(--sans); letter-spacing: -.02em; text-transform: uppercase; }
body.p-mentors .mt-g__n { font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
/* the × between the fields */
body.p-mentors .mt-g + .mt-g::before { content: "×"; position: absolute; left: calc(var(--gap) / -2); top: -2px; transform: translate(-50%, -50%); inline-size: 34px; block-size: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 700 20px/1 var(--sans); z-index: 1; }
body.p-mentors .mt-g__l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
body.p-mentors .mt-g--film .mt-g__l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.p-mentors .mt-tile { display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 100%; }
body.p-mentors .mt-tile__t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.p-mentors .mt-tile__t > b { font: 700 17px/1.2 var(--sans); letter-spacing: -.01em; transition: color .3s; }
body.p-mentors .mt-tile__c { font-size: 15px; line-height: 1.4; color: var(--fg-2); }
body.p-mentors .mt-tile:hover .mt-tile__t > b, body.p-mentors .mt-tile:focus-visible .mt-tile__t > b { color: var(--accent-t); }
body.p-mentors .mt-days { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
body.p-mentors .mt-days .bullet, body.p-mentors .mt-key .bullet, body.p-mentors .mt-go .bullet { inline-size: 30px; block-size: 30px; font-size: 13px; }
body.p-mentors .mt-days .bullet--o, body.p-mentors .mt-key .bullet--o { font: 500 11px/1 var(--mono); }
/* the day bullets sit at the foot of each tile, so they line up across the three fields */
body.p-mentors .mt-tile__t { flex: 1; }
body.p-mentors .mt-days { margin-top: auto; padding-top: 4px; }
@media (min-width: 1081px) {
  /* every tile as tall as the tallest group, and every photo as wide as a Tech/Business column
     (the Film columns are a few px wider: their photos keep the same width instead of growing) */
  body.p-mentors .mt-strip { container-type: inline-size; }
  body.p-mentors .mt-g { display: flex; flex-direction: column; }
  body.p-mentors .mt-g__l { flex: 1; }
  body.p-mentors .mt-tile .mt-ph { inline-size: min(100%, calc((100cqw - 2 * var(--gap)) / 8 - var(--gap) * 2 / 3)); }
}
body.p-mentors .mt-key { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 22px; font-size: 15px; color: var(--fg-2); }
body.p-mentors .mt-key > span { display: inline-flex; align-items: center; gap: 10px; }

/* portraits and the designed "Photo to come" tiles */
body.p-mentors .mt-ph { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
body.p-mentors .mt-ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transform: scale(1.02); transition: filter .6s var(--ease), transform 1.1s var(--ease); }
body.p-mentors .mt-tile:hover .mt-ph img, body.p-mentors .mt-tile:focus-visible .mt-ph img, body.p-mentors .mt-row:hover .mt-ph img { filter: none; transform: scale(1.06); }
body.p-mentors .mt-ph--none, body.p-mentors .mt-ph--card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--soft); background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(127, 127, 127, .09) 11px 12px); }
body.p-mentors .mt-ph--none b, body.p-mentors .mt-ph--card b { font: 700 clamp(40px, 4vw, 72px)/1 var(--sans); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--fg-2); }
body.p-mentors .mt-ph--none span, body.p-mentors .mt-ph--card span { font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); text-align: center; }
body.p-mentors .mt-ph--card { position: absolute; inset: 0; }
body.p-mentors .mt-ph--card b { font-size: clamp(64px, 7vw, 120px); }

/* jump nav */
body.p-mentors .mt-jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--fg); }
body.p-mentors .mt-jump a { display: flex; align-items: flex-start; gap: 14px; padding-top: 16px; min-width: 0; min-height: 44px; }
body.p-mentors .mt-jump__n { font: 700 clamp(36px, 3.4vw, 56px)/.85 var(--sans); letter-spacing: -.04em; color: var(--accent-t); }
body.p-mentors .mt-jump a > span:last-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.p-mentors .mt-jump b { font: 700 18px/1.15 var(--sans); }
body.p-mentors .mt-jump a > span:last-child span { font: 500 12px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); transition: color .3s; }
body.p-mentors .mt-jump a:hover b, body.p-mentors .mt-jump a:hover span span { color: var(--accent-t); }

/* section heads */
body.p-mentors .mt-sh { display: flex; flex-direction: column; gap: 16px; }
body.p-mentors .sec .h2 { text-wrap: balance; }
body.p-mentors .mt-meta { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2); }
body.p-mentors .mt-meta .pi { inline-size: 22px; block-size: 22px; color: var(--accent-t); flex: none; }
/* the masterclasses: where, when, who + a way to register (mornings are open to registered guests) */
body.p-mentors .mt-rh { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }

/* ---------- 01 · masterclass cards, one per row ---------- */
body.p-mentors .mt-cards { display: flex; flex-direction: column; gap: var(--gap); margin-top: 8px; }
body.p-mentors .mt-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); border: 1px solid var(--fg-3); scroll-margin-top: 110px; transition: border-color .3s; }
body.p-mentors .mt-card:hover, body.p-mentors .mt-card:focus-within, body.p-mentors .mt-card:target { border-color: var(--fg); }
body.p-mentors .mt-card__m { position: relative; min-height: 360px; overflow: hidden; background: var(--soft); }
body.p-mentors .mt-card__m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(.85) contrast(1.05); transition: filter .6s var(--ease), transform 1.1s var(--ease); }
body.p-mentors .mt-card:hover .mt-card__m img { filter: none; transform: scale(1.03); }
body.p-mentors .mt-card__tag { position: absolute; left: 12px; top: 12px; padding: 6px 8px; background: rgba(10, 10, 10, .82); color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
body.p-mentors .mt-card__cc { position: absolute; left: 12px; bottom: 12px; padding: 4px 7px; background: rgba(10, 10, 10, .78); color: #fff; font-size: 13px; line-height: 1.3; }
body.p-mentors .mt-card__t { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.4vw, 36px); min-width: 0; }
body.p-mentors .mt-card__n { margin: 0; font: 700 clamp(28px, 2.6vw, 42px)/1.02 var(--sans); letter-spacing: -.025em; }
body.p-mentors .mt-card__c { font-size: 18px; line-height: 1.6; max-width: 34em; }
body.p-mentors .mt-card__s { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.4vw, 36px) clamp(22px, 2.4vw, 32px); border-left: 1px solid var(--hair); min-width: 0; }
body.p-mentors .mt-focus { display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.5; color: var(--fg-2); }
body.p-mentors .mt-focus span, body.p-mentors .mt-row__tag { font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-t); }
body.p-mentors .mt-go { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
body.p-mentors .mt-go a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.35; color: var(--fg-2); }
body.p-mentors .mt-go a b { display: block; margin-top: 2px; font-size: 16px; color: var(--fg); transition: color .3s; }
body.p-mentors .mt-go a:hover b { color: var(--accent-t); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 02 / 03 · lists with portraits ---------- */
body.p-mentors .mt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.p-mentors .mt-chips li { padding: 7px 12px; border: 1px solid var(--fg-3); font-size: 15px; line-height: 1.2; }
body.p-mentors .mt-list { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 72px); border-top: 2px solid var(--fg); }
body.p-mentors .mt-list > li { scroll-margin-top: 110px; }
body.p-mentors .mt-row { display: grid; grid-template-columns: 88px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2fr); gap: 8px 28px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--hair); }
body.p-mentors .mt-ph--sm { inline-size: 88px; }
body.p-mentors .mt-ph--sm.mt-ph--none b { font-size: 28px; -webkit-text-stroke-width: 1.2px; }
body.p-mentors .mt-ph--sm.mt-ph--none span { font-size: 12px; padding: 0 4px; }
body.p-mentors .mt-row__a { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.p-mentors .mt-row__n { font: 700 clamp(22px, 2vw, 30px)/1.08 var(--sans); letter-spacing: -.02em; transition: color .3s, transform .5s var(--ease); }
body.p-mentors .mt-row__c { font-size: 17px; line-height: 1.45; color: var(--fg); }
body.p-mentors .mt-row__x { font-size: 16px; line-height: 1.45; color: var(--fg-2); }
body.p-mentors .mt-row__b { font-size: 17px; line-height: 1.6; color: var(--fg-2); max-width: 34em; }
body.p-mentors .mt-row__m { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.35; min-width: 0; }
body.p-mentors .mt-row__m a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fg-3); min-height: 24px; }
body.p-mentors .mt-row__m a:hover { color: var(--accent-t); text-decoration-color: currentColor; }
body.p-mentors .mt-row__tag { display: inline-flex; align-items: center; gap: 8px; }
body.p-mentors .mt-row__tag .pi { inline-size: 20px; block-size: 20px; }
body.p-mentors .mt-row:hover .mt-row__n { color: var(--accent-t); transform: translateX(6px); }
body.p-mentors .mt-list--sg .mt-row { grid-template-columns: 88px minmax(0, 6fr) minmax(0, 3fr) 28px; align-items: center; }
body.p-mentors .mt-row__go { font: 500 18px/1 var(--mono); justify-self: end; transition: transform .4s var(--ease); }
body.p-mentors a.mt-row:hover .mt-row__go { transform: translateX(4px); color: var(--accent-t); }

/* ---------- 04 · cohort ---------- */
body.p-mentors .mt-cohort { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--fg); }
body.p-mentors .mt-cohort li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; min-width: 0; }
body.p-mentors .mt-cohort__t { font: 500 12px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); }
body.p-mentors .mt-cohort b { font: 700 clamp(20px, 1.8vw, 28px)/1.1 var(--sans); letter-spacing: -.015em; }

/* ---------- closing card ---------- */
body.p-mentors .mt-cta { min-height: 0; }
body.p-mentors .mt-cta .h2 { max-width: 14ch; }
body.p-mentors .mt-cd { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; font-size: 16px; line-height: 1.35; color: var(--fg-2); }
body.p-mentors .mt-cd b { font: 500 clamp(20px, 1.8vw, 26px)/1.1 var(--mono); letter-spacing: -.02em; color: var(--fg); white-space: nowrap; }

/* ---------- breakpoints ---------- */
@media (max-width: 1280px) {
  body.p-mentors .mt-card { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  body.p-mentors .mt-card__m { grid-row: 1 / 3; }
  body.p-mentors .mt-card__s { grid-column: 2; border-left: 0; border-top: 1px solid var(--hair); }
  body.p-mentors .mt-go { flex-direction: row; flex-wrap: wrap; gap: 0 28px; }
  body.p-mentors .mt-go li { flex: 1 1 240px; }
}
@media (max-width: 1080px) {
  body.p-mentors .mt-strip { grid-template-columns: 1fr; gap: 36px; }
  body.p-mentors .mt-g + .mt-g::before { left: 50%; top: -18px; }
  body.p-mentors .mt-g__l, body.p-mentors .mt-g--film .mt-g__l { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  body.p-mentors .mt-tile { flex-direction: row; align-items: flex-start; gap: 14px; }
  body.p-mentors .mt-tile .mt-ph { flex: none; inline-size: 76px; }
  body.p-mentors .mt-tile .mt-ph--none b { font-size: 26px; -webkit-text-stroke-width: 1.2px; }
  body.p-mentors .mt-tile .mt-ph--none span { font-size: 12px; padding: 0 3px; }
  body.p-mentors .mt-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  body.p-mentors .mt-row { grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr); }
  body.p-mentors .mt-row__b { grid-column: 2 / -1; grid-row: 2; }
  body.p-mentors .mt-row__m { grid-column: 3; grid-row: 1; }
  body.p-mentors .mt-list--sg .mt-row { grid-template-columns: 88px minmax(0, 1fr) minmax(0, auto) 24px; }
}
@media (max-width: 860px) {
  body.p-mentors .mt-g__l, body.p-mentors .mt-g--film .mt-g__l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body.p-mentors .mt-head { padding-top: calc(var(--edge) + 104px); }
  body.p-mentors .mt-head .h1 { font-size: clamp(40px, 12vw, 64px); }
  body.p-mentors .mt-head .lead { font-size: 19px; }
  body.p-mentors .sec .h2 { font-size: clamp(32px, 10vw, 48px); }
  body.p-mentors .mt-g__l, body.p-mentors .mt-g--film .mt-g__l { grid-template-columns: 1fr; gap: 0; }
  body.p-mentors .mt-g__l li + li { border-top: 1px solid var(--hair); }
  body.p-mentors .mt-tile { padding: 12px 0; }
  body.p-mentors .mt-tile .mt-ph { inline-size: 64px; }
  body.p-mentors .mt-jump { grid-template-columns: 1fr; }
  body.p-mentors .mt-card { grid-template-columns: 1fr; }
  body.p-mentors .mt-card__m { grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
  body.p-mentors .mt-card__s { grid-column: 1; }
  body.p-mentors .mt-card__c { font-size: 17px; }
  body.p-mentors .mt-card__m:has(.mt-ph--card) { aspect-ratio: 2 / 1; }
  body.p-mentors .mt-meta { font: 400 16px/1.4 var(--sans); letter-spacing: 0; text-transform: none; align-items: flex-start; }
  body.p-mentors .mt-row, body.p-mentors .mt-list--sg .mt-row { grid-template-columns: 72px minmax(0, 1fr); gap: 10px 16px; }
  body.p-mentors .mt-ph--sm { inline-size: 72px; }
  body.p-mentors .mt-ph--sm.mt-ph--none b { font-size: 24px; }
  body.p-mentors .mt-row__b, body.p-mentors .mt-row__m { grid-column: 1 / -1; grid-row: auto; }
  body.p-mentors .mt-row__m { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
  body.p-mentors .mt-list--sg .mt-row__m { grid-column: 2; }
  body.p-mentors .mt-row__go { display: none; }
  body.p-mentors .mt-cohort { grid-template-columns: 1fr; }
  body.p-mentors .mt-cd { align-items: flex-start; text-align: left; }
  body.p-mentors .mt-cta .way__f { flex-direction: column; align-items: stretch; }
  body.p-mentors .mt-cta .btn { width: 100%; }
}

/* mono floor: the 1:1 bullets at 12 px */
body.p-mentors .mt-days .bullet--o, body.p-mentors .mt-key .bullet--o { font-size: 12px; }

/* ---------- screening guests, four evenings (17–20 Nov): a day bullet per evening, each a link to that day ---------- */
body.p-mentors .mt-list--sg .mt-row { grid-template-columns: 88px minmax(0, 6fr) minmax(0, 4fr); }
body.p-mentors .mt-row__a .mt-row__c + .mt-row__c { margin-top: -4px; }
body.p-mentors .mt-row__days { display: flex; flex-direction: column; gap: 2px; }
body.p-mentors .mt-row__m a.mt-day { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; text-decoration: none; }
body.p-mentors .mt-day .bullet { inline-size: 30px; block-size: 30px; font-size: 13px; transition: transform .4s var(--ease); }
body.p-mentors .mt-day span:last-child { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fg-3); }
body.p-mentors .mt-day:hover span:last-child, body.p-mentors .mt-day:focus-visible span:last-child { color: var(--accent-t); text-decoration-color: currentColor; }
body.p-mentors .mt-day:hover .bullet { transform: scale(1.08); }
@media (max-width: 1080px) {
  body.p-mentors .mt-list--sg .mt-row { grid-template-columns: 88px minmax(0, 1fr) minmax(0, auto); }
}
@media (max-width: 720px) {
  body.p-mentors .mt-list--sg .mt-row { grid-template-columns: 72px minmax(0, 1fr); }
  body.p-mentors .mt-list--sg .mt-row__m { flex-direction: column; align-items: flex-start; gap: 4px; }
  body.p-mentors .mt-row__days { gap: 0; }
}
