/* THE MOUNTAIN WITHIN — the series section (11/19/2026). Loads after shared/site.css, css/pages.css and css/agent3.css; only adds names. */

/* three films on one page: each theater is its own screen */
.mw .theater + .chapters{padding-top:clamp(28px,4vw,56px)}
.mw .theater .eyebrow{display:inline-block;font-weight:700;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:.7rem}
.mw .theater .line{font-family:var(--display);font-size:clamp(1.15rem,1rem + .8vw,1.6rem);line-height:1.25;max-width:26ch;color:#fff;margin-top:.9rem}
.mw .theater .front{padding-bottom:calc(clamp(24px,4vh,56px) + 104px)}     /* clear of the site's bottom dock */
@media (max-width:699px){.mw .theater .front{padding-bottom:calc(clamp(24px,4vh,56px) + 92px)}}
.mw .partno{display:block;font-family:var(--text);font-weight:700;font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:.5rem}
.mw .chapters .rail .chapter img{aspect-ratio:16/9;object-fit:cover}

/* who it is for */
.mw .forwho{background:var(--stone);padding:clamp(48px,7vw,110px) var(--gutter)}
.mw .forwho .head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1rem 3rem;align-items:end;margin-bottom:clamp(24px,4vw,48px)}
.mw .forwho h2{font-size:clamp(2.2rem,5vw,4.4rem);max-width:13ch}
.mw .forwho .head p{font-size:clamp(1.02rem,1rem + .3vw,1.2rem);max-width:32rem}
.mw .cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.4vw,20px)}
.mw .card{position:relative;border-radius:18px;overflow:hidden;background:var(--night);color:#fff;min-height:clamp(320px,34vw,520px);display:flex;align-items:flex-end;text-decoration:none}
.mw .card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s ease}
.mw .card:hover img{transform:scale(1.04)}
.mw .card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,11,13,0) 35%,rgba(16,11,13,.86))}
.mw .card .t{position:relative;z-index:1;padding:18px 18px 20px}
.mw .card b{display:block;font-family:var(--display);font-weight:700;font-size:clamp(1.2rem,1rem + .6vw,1.5rem);line-height:1.15;margin-bottom:.45rem}
.mw .card p{font-size:.95rem;line-height:1.45;color:rgba(255,255,255,.88)}
@media (max-width:980px){.mw .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mw .forwho .head{grid-template-columns:1fr}}
@media (max-width:520px){.mw .cards{grid-template-columns:1fr}.mw .card{min-height:300px}}

/* the practice band: the ring over the morning window */
.mw .practice .bg::after{background:linear-gradient(90deg,rgba(16,11,13,.82),rgba(16,11,13,.45) 55%,rgba(16,11,13,.25))}
.mw .practice .steps{display:flex;flex-wrap:wrap;gap:.4rem .9rem;margin-top:1rem;font-weight:600;color:var(--gold);font-size:.95rem}

/* the help box */
.mw .help{background:#F4F1EA;padding:clamp(44px,6vw,90px) var(--gutter)}
.mw .help .box{max-width:46rem;margin:0 auto;border:1.5px solid rgba(38,39,35,.18);border-radius:22px;padding:clamp(22px,3.4vw,40px);background:#fff}
.mw .help h2{font-size:clamp(1.6rem,1.2rem + 1.6vw,2.4rem);margin-bottom:.6rem}
.mw .help p{font-size:1.04rem;line-height:1.55;margin-top:.55rem}
.mw .help ul{margin:.9rem 0 0;padding:0;list-style:none;display:grid;gap:.55rem}
.mw .help li{padding-left:1.4rem;position:relative;font-size:1.04rem;line-height:1.5}
.mw .help li::before{content:"";position:absolute;left:0;top:.62em;width:.55rem;height:.55rem;border-radius:50%;background:var(--creek)}
.mw .help a{color:var(--creek);font-weight:700}

/* close: share, then the members' door */
.mw .close .share{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.6)}
.mw .close .note{font-size:.95rem;color:rgba(255,255,255,.8);margin-top:.9rem}
.mw .copied{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);background:var(--ink);color:#fff;border-radius:999px;padding:.7em 1.2em;font-weight:600;opacity:0;transition:opacity .3s,transform .3s;z-index:50;pointer-events:none}
.mw .copied.on{opacity:1;transform:translateX(-50%)}

/* ---------- the guide ---------- */
.mwg .ghead{position:relative;min-height:min(78vh,720px);display:flex;align-items:flex-end;color:#fff;background:var(--night);overflow:hidden}
.mwg .ghead>.kb{position:absolute;inset:0}
.mwg .ghead>.kb img{width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.mwg .ghead::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,11,13,.2),rgba(16,11,13,.35) 45%,rgba(16,11,13,.9))}
.mwg .ghead .inner{position:relative;z-index:1;width:100%;padding:calc(var(--bar-h) + 40px) var(--gutter) clamp(36px,5vw,64px);max-width:64rem}
.mwg .ghead .kick{font-weight:700;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.mwg .ghead h1{font-size:clamp(2.4rem,6vw,5.4rem);max-width:15ch;margin:.5rem 0 .8rem}
.mwg .ghead .dek{font-size:clamp(1.05rem,1rem + .4vw,1.3rem);max-width:38rem;color:rgba(255,255,255,.9)}
.mwg .ghead .by{margin-top:1rem;font-size:.92rem;color:rgba(255,255,255,.78)}
.mwg article{background:#FBFAF7;padding:clamp(40px,6vw,90px) var(--gutter) clamp(30px,4vw,60px)}
.mwg article .col{max-width:40rem;margin:0 auto}
.mwg article p{font-size:clamp(1.06rem,1rem + .25vw,1.2rem);line-height:1.68;margin:0 0 1.15em;color:#24251f}
.mwg article h2{font-size:clamp(1.6rem,1.2rem + 1.4vw,2.4rem);margin:2.2em 0 .7em;line-height:1.12}
.mwg article .first::first-letter{float:left;font-family:var(--display);font-weight:800;font-size:4.2em;line-height:.82;margin:.06em .08em 0 0;color:var(--earth)}
.mwg article .keep{font-family:var(--display);font-weight:700;font-size:clamp(1.3rem,1.1rem + .8vw,1.8rem);line-height:1.3;color:var(--creek);border-left:4px solid var(--gold);padding-left:1rem;margin:1.6em 0}
.mwg article ul.list{margin:0 0 1.2em;padding-left:1.2rem}
.mwg article ul.list li{font-size:clamp(1.06rem,1rem + .25vw,1.2rem);line-height:1.6;margin-bottom:.6em}
.mwg article figure{margin:2em 0}
.mwg article figure img{width:100%;height:auto;border-radius:16px;display:block}
.mwg article figure figcaption{font-size:.88rem;color:var(--ink-2);margin-top:.5rem}
.mwg article .films{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:1.4em 0 1.8em}
.mwg article .films a{display:block;text-decoration:none;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.mwg article .films img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.mwg article .films span{display:block;padding:.6rem .75rem .75rem;font-size:.92rem;line-height:1.35}
.mwg article .films b{display:block;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--earth);margin-bottom:.2rem}
@media (max-width:640px){.mwg article .films{grid-template-columns:1fr}}
.mwg article .fine{font-size:.9rem;color:var(--ink-2)}
.mwg article .sign{font-family:var(--display);font-weight:700;font-size:1.25rem}

/* while a film plays, the site's bottom dock steps aside so the film's own controls are clear */
html.mw-playing .ap-thumb{opacity:0;pointer-events:none;transform:translateX(-50%) translateY(24px);transition:opacity .4s,transform .4s}

/* phones and small tablets (the player's own layout below 900px): the play button sits on the picture */
@media (max-width:900px){
  .mw .theater .front{position:static}
  .mw .theater .bigplay{z-index:3}
}
/* phones get the upright (9:16) copy of each film, so the screen stands up when one starts */
@media (max-width:699px){
  .mw .theater.started .screen{aspect-ratio:9/16;width:min(100%,calc((100svh - var(--bar-h)) * 9 / 16));justify-self:center}
  .mw .theater.started .controls{top:calc(var(--bar-h) + min(177.78vw, 100svh - var(--bar-h)) - 58px)}
  .mw .theater .controls{grid-template-columns:auto 1fr auto auto;gap:.6rem}
}

/* ===================== 11/19 night: premium covers and a page for each film ===================== */
/* the series opening */
.mw .mwhero{position:relative;min-height:min(100svh,980px);display:flex;align-items:flex-end;color:#fff;background:var(--night);overflow:hidden}
.mw .mwhero>.bg{position:absolute;inset:0}
.mw .mwhero>.bg>video,.mw .mwhero>.bg>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mw .mwhero>.bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,11,13,.45),rgba(16,11,13,.05) 30%,rgba(16,11,13,.25) 60%,rgba(16,11,13,.92))}
.mw .mwhero .inner{position:relative;z-index:1;width:100%;padding:calc(var(--bar-h) + 40px) var(--gutter) calc(clamp(32px,5vh,64px) + 96px)}
.mw .mwhero .kick{font-weight:700;font-size:.82rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.mw .mwhero h1{font-size:clamp(3rem,9vw,8.4rem);line-height:.92;letter-spacing:-.02em;margin:.6rem 0 1rem;max-width:12ch}
.mw .mwhero .line{font-family:var(--display);font-weight:600;font-size:clamp(1.2rem,1rem + 1vw,1.9rem);line-height:1.2;max-width:28ch;color:rgba(255,255,255,.94)}
.mw .mwhero .meta{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;margin-top:1.1rem;font-size:.92rem;color:rgba(255,255,255,.78)}
.mw .mwhero .meta b{color:#fff;font-weight:600}
.mw .mwhero .acts{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem}

/* the three covers */
.mw .films3{background:var(--night);color:#fff;padding:clamp(56px,8vw,120px) var(--gutter) clamp(56px,7vw,110px)}
.mw .films3 .head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1rem 3rem;align-items:end;margin-bottom:clamp(28px,4vw,52px)}
.mw .films3 .head .kick{font-weight:700;font-size:.82rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:.7rem}
.mw .films3 h2{font-size:clamp(2.3rem,5.4vw,4.8rem);line-height:.98;max-width:13ch}
.mw .films3 .head p{color:rgba(255,255,255,.82);font-size:clamp(1.02rem,1rem + .3vw,1.2rem);max-width:32rem}
.mw .covers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,24px)}
.mw .cover{position:relative;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:4/5;border-radius:20px;overflow:hidden;color:#fff;text-decoration:none;background:#000;box-shadow:0 30px 60px -30px rgba(0,0,0,.8);isolation:isolate}
.mw .cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.02);transition:transform 1.4s cubic-bezier(.2,.7,.2,1),filter .6s;z-index:-2}
.mw .cover::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(10,8,9,.55) 0%,rgba(10,8,9,0) 28%,rgba(10,8,9,0) 45%,rgba(10,8,9,.92) 100%)}
.mw .cover:hover img,.mw .cover:focus-visible img{transform:scale(1.07)}
.mw .cover .part{position:absolute;top:16px;left:18px;font-weight:700;font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);background:rgba(16,11,13,.6);backdrop-filter:blur(6px);border:1px solid rgba(209,166,60,.45);border-radius:999px;padding:.42em .9em}
.mw .cover .dur{position:absolute;top:16px;right:18px;font-size:.8rem;font-weight:600;background:rgba(16,11,13,.55);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:.35em .8em}
.mw .cover .t{padding:0 22px 24px}
.mw .cover b{display:block;font-family:var(--display);font-weight:800;font-size:clamp(1.7rem,1.2rem + 1.6vw,2.6rem);line-height:1;letter-spacing:-.02em}
.mw .cover .sub{display:block;margin-top:.55rem;font-size:1rem;line-height:1.4;color:rgba(255,255,255,.86);max-width:26ch}
.mw .cover .go{display:inline-flex;align-items:center;gap:.65rem;margin-top:1.1rem;font-weight:700;font-size:.95rem}
.mw .cover .go i{width:46px;height:46px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center;transition:transform .3s}
.mw .cover .go i svg{width:18px;height:18px;fill:currentColor;margin-left:3px}
.mw .cover:hover .go i{transform:scale(1.08)}
@media (max-width:980px){.mw .films3 .head{grid-template-columns:1fr}}
@media (max-width:760px){.mw .covers{grid-template-columns:1fr}.mw .cover{aspect-ratio:4/5}}

/* ---------- a page for each film ---------- */
.mwp{background:var(--night);color:#fff}
.mwp main{padding:calc(var(--bar-h) + clamp(18px,3vw,40px)) var(--gutter) 0}
.mwp .wtop{max-width:1280px;margin:0 auto clamp(16px,2.4vw,28px)}
.mwp .wtop .crumbs{display:flex;flex-wrap:wrap;gap:.4rem .9rem;font-size:.85rem;color:rgba(255,255,255,.7);margin-bottom:.8rem}
.mwp .wtop .crumbs a{color:rgba(255,255,255,.85);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.3)}
.mwp .wtop .kick{font-weight:700;font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.mwp .wtop h1{font-size:clamp(2.2rem,6vw,5.2rem);line-height:.95;letter-spacing:-.02em;margin:.45rem 0 .5rem}
.mwp .wtop .line{font-family:var(--display);font-weight:600;font-size:clamp(1.05rem,1rem + .6vw,1.45rem);color:rgba(255,255,255,.9)}
.mwp .stage{display:flex;justify-content:center;margin:0 auto}
.mwp .stage .frame{position:relative;scroll-margin-top:calc(var(--bar-h) + 10px)}
.mwp .stage.wide .frame{width:min(100%,1280px,calc((100svh - var(--bar-h) - 48px) * 16 / 9));aspect-ratio:16/9}
.mwp .stage.upright .frame{width:min(100%,calc((100svh - var(--bar-h) - 24px) * 9 / 16));aspect-ratio:9/16}
.mwp .stage video{display:block;width:100%;height:100%;background:#000;border-radius:16px;box-shadow:0 40px 80px -40px rgba(0,0,0,.9);object-fit:contain}
.mwp .stage .playbig{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:clamp(76px,9vw,104px);height:clamp(76px,9vw,104px);border-radius:50%;border:0;background:rgba(255,255,255,.96);color:var(--ink);display:grid;place-items:center;cursor:pointer;box-shadow:0 24px 60px -18px rgba(0,0,0,.7);transition:transform .25s}
.mwp .stage .playbig:hover{transform:translate(-50%,-50%) scale(1.06)}
.mwp .stage .playbig svg{width:38%;height:38%;fill:currentColor;margin-left:6%}
.mwp .stage .frame.started .playbig{display:none}
.mwp .ap-bar{background:rgba(16,11,13,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.mwp .wbody{max-width:1280px;margin:clamp(22px,3vw,40px) auto 0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);padding-bottom:clamp(48px,6vw,96px)}
.mwp .wbody .meta{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;font-size:.92rem;color:rgba(255,255,255,.75);margin-bottom:.9rem}
.mwp .wbody .meta b{color:#fff}
.mwp .wbody .desc{font-size:clamp(1.05rem,1rem + .3vw,1.22rem);line-height:1.6;color:rgba(255,255,255,.9);max-width:40rem}
.mwp .scenes{margin-top:1.6rem}
.mwp .scenes h2,.mwp .side h2{font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-family:var(--text);font-weight:700;margin-bottom:.8rem}
.mwp .scenes ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mwp .scenes button{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;width:100%;text-align:left;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:8px;color:#fff;cursor:pointer;transition:background .25s,border-color .25s}
.mwp .scenes button:hover,.mwp .scenes button.on{background:rgba(255,255,255,.09);border-color:rgba(209,166,60,.6)}
.mwp .scenes img{width:112px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:9px;display:block}
.mwp .scenes small{display:block;color:var(--gold);font-weight:700;font-size:.8rem;margin-bottom:.15rem}
.mwp .scenes span{font-size:.98rem;line-height:1.3}
.mwp .side{display:grid;gap:18px;align-content:start}
.mwp .next{position:relative;display:flex;align-items:flex-end;min-height:260px;border-radius:18px;overflow:hidden;color:#fff;text-decoration:none;isolation:isolate}
.mwp .next img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1.2s}
.mwp .next::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(10,8,9,.1),rgba(10,8,9,.9))}
.mwp .next:hover img{transform:scale(1.05)}
.mwp .next .t{padding:18px 20px}
.mwp .next small{display:block;font-weight:700;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:.35rem}
.mwp .next b{font-family:var(--display);font-weight:800;font-size:1.6rem;line-height:1.05}
.mwp .side .row2{display:flex;flex-wrap:wrap;gap:.7rem}
.mwp .side .note{font-size:.88rem;line-height:1.5;color:rgba(255,255,255,.7)}
.mwp .side .note a{color:#fff}
@media (max-width:900px){.mwp .wbody{grid-template-columns:1fr}}
@media (max-width:520px){.mwp .scenes button{grid-template-columns:96px minmax(0,1fr)}.mwp .scenes img{width:96px;height:auto}}
/* on a film's own page nothing sits on the player: no bottom dock, no scene label (the menu stays in the top bar) */
.mwp .ap-thumb,.mwp .ap-scene-chip{display:none!important}
