/* SuperMafun elevation 2026-12-02 (EV2) — loaded only on elevated pages.
   Spec: top-aesthetics-layout-study-2026-12-02/SPEC.md (binding numbers).
   Scope: cover-first city/world pages, venue & capital card scale,
   section rhythm (D1), farewell surfaces (SPEC I3 / §141 4款②). */

/* ---- cover-first heroes (SPEC A/B5: image leads, prose follows) ---- */
.ev2 .page-hero{padding-top:0}
.ev2-cover{margin:0;position:relative}
.ev2-cover img{display:block;width:100%;height:62vh;min-height:340px;object-fit:cover}
.ev2-cover figcaption{position:absolute;right:14px;bottom:10px;margin:0;
  background:rgba(24,10,28,.55);border-radius:8px;padding:4px 10px}
.ev2-cover figcaption .credit{color:#F3E9D2;font-size:12px;letter-spacing:.02em}
.ev2 .page-hero .wrap{padding-top:54px}
.ev2 .cover-hero{margin:0}
.ev2 .cover-hero img{display:block;width:100%;height:64vh;min-height:360px;object-fit:cover}
.ev2 .cover-hero figcaption{margin-top:10px}

/* ---- section rhythm (SPEC D1 build targets) ---- */
.ev2 .section{padding-top:104px;padding-bottom:104px}
.ev2 .welcome-in{padding-top:104px}

/* ---- venue cards: showcase scale, at most 2 across (SPEC G3) ---- */
@media (min-width:1000px){
  .ev2 .venue-grid{grid-template-columns:repeat(2,1fr);gap:24px}
}
.ev2 .venue-card img{width:100%;height:250px;object-fit:cover;display:block}

/* ---- world capitals: capital cards at editorial scale (SPEC E class D) ---- */
@media (min-width:1000px){
  .ev2 .city-grid{grid-template-columns:repeat(2,1fr);gap:28px}
}
.ev2 .city-card .photo-fig{margin:0}
.ev2 .city-card .photo-fig img{width:100%;height:320px;object-fit:cover;display:block}

/* ---- farewell surface (SPEC I3: image + line + door, a quiet last screen) ---- */
.ev2-farewell{position:relative;margin-top:80px}
.ev2-farewell>img{display:block;width:100%;height:62vh;min-height:380px;object-fit:cover}
.ev2-farewell::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(24,10,28,0) 52%,rgba(24,10,28,.58) 100%)}
.ev2-farewell-in{position:absolute;z-index:2;left:0;right:0;bottom:10%;text-align:center;padding:0 20px}
.ev2-farewell-line{font-family:var(--font-body);font-size:var(--type-h3);line-height:1.3;
  color:#FFF7E8;text-shadow:0 2px 26px rgba(10,2,16,.65);margin:0 auto 20px;max-width:820px}

@media (max-width:860px){
  .ev2-cover img{height:52vh;min-height:260px}
  .ev2 .cover-hero img{height:54vh;min-height:280px}
  .ev2 .section{padding-top:64px;padding-bottom:64px}
  .ev2 .welcome-in{padding-top:64px}
  .ev2 .venue-card img{height:210px}
  .ev2 .city-card .photo-fig img{height:230px}
  .ev2-farewell>img{height:52vh;min-height:300px}
  .ev2-farewell-line{font-size:24px}
}

/* ---- world capitals: contain the 100vw breakout (overflow fix) ---- */
.ev2 .photo-fig.cover-band{width:100%;margin-left:0;margin-right:0}

/* Toronto cover: keep the CN Tower in the phone crop */
.ev2-cover.tower img{object-position:24% 50%}
