/* Inside screen (65" behind the speakers): loop, panel theme, slides,
   brand, and the lower-third name band on top. */

.layer {
  position: absolute;
  left: 0; top: 0;
  width: 1920px; height: 1080px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.7s ease, visibility 0s linear 0.7s;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.layer.on {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.7s ease;
  transition: opacity 0.7s ease;
}

/* ---------------------------------------------------------------- brand (as the COP31 banner) */

#l-brand { background: var(--navy); }
.b-sky { left: 820px; top: 150px; right: 0; bottom: 0; border-radius: 0 0 0 0; }
.b-sky { border-top-left-radius: 72px; }
.b-text { position: absolute; left: 120px; top: 260px; width: 640px; }
.b-text .wordmark-img { height: 210px; }
.b-tag { margin-top: 48px; font-size: 54px; font-weight: 600; line-height: 1.2; }
.b-meta { margin-top: 44px; font-size: 38px; color: var(--sky); font-weight: 400; }
.b-meta small { display: block; font-size: 28px; margin-top: 8px; }

/* ---------------------------------------------------------------- loop */

#l-loop { background: #000; }
#video, #image {
  position: absolute; left: 0; top: 0;
  width: 1920px; height: 1080px;
  object-fit: contain;
  background: #000;
  opacity: 0;
  -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}
#image { background: var(--navy); }
#video.on, #image.on { opacity: 1; }
#card { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; opacity: 0; -webkit-transition: opacity 0.6s ease; transition: opacity 0.6s ease; }
#card.on { opacity: 1; }

/* Cards: brand messages, explainers, up next. */
.card { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden; }
.card.navy { background: var(--navy); color: #fff; }
.card.ice { background: var(--ice); color: var(--navy); }
.card.sky-theme { background: var(--navy); color: #fff; }
.card .sky { left: 0; top: 0; right: 0; bottom: 0; }
.card.sky-theme .sky { bottom: 170px; border-bottom-right-radius: 72px; }
.card.sky-theme .card-in { top: 110px; bottom: 250px; }
.card.sky-theme .card-foot { bottom: 46px; }
.card-in { position: absolute; left: 140px; right: 140px; top: 150px; bottom: 150px; display: flex; flex-direction: column; justify-content: center; }
.card-in > * { flex-shrink: 0; }
.card .eyebrow { font-size: 34px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); margin-bottom: 34px; }
.card.ice .eyebrow { color: var(--teal); }
.card.sky-theme .eyebrow { color: #fff; opacity: 0.9; }
.card .headline { font-size: 112px; font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; margin: 0; white-space: pre-line; }
.card .headline.mid { font-size: 88px; }
.card .headline .hl { color: var(--orange); }
.card.sky-theme .headline { text-shadow: 0 2px 30px rgba(7, 22, 64, 0.35); }
.card .body { font-size: 40px; line-height: 1.3; margin-top: 30px; max-width: 1100px; color: rgba(255,255,255,0.86); }
.card.ice .body { color: #33456b; }
.card-foot { position: absolute; left: 140px; right: 140px; bottom: 64px; display: flex; align-items: flex-end; font-size: 26px; color: var(--muted); }
.card.ice .card-foot { color: #5a6b8c; }
.card-foot .wordmark-img { height: 70px; }
.card-foot span { margin-left: auto; }

.steps { display: flex; margin-top: 56px; }
.step { flex: 1; margin-right: 28px; padding: 40px 34px 44px; border-radius: 0 40px 0 0; color: var(--navy); }
.step:last-child { margin-right: 0; }
.step i { display: block; font-style: normal; font-size: 30px; font-weight: 700; opacity: 0.7; }
.step b { display: block; font-size: 54px; font-weight: 600; line-height: 1.08; margin-top: 150px; }

.methods { display: flex; flex-wrap: wrap; margin-top: 48px; }
.method { width: 33.33%; padding: 22px 30px 22px 0; display: flex; align-items: center; border-top: 2px solid rgba(7, 22, 64, 0.12); }
.method i { font-style: normal; flex: none; width: 66px; height: 66px; line-height: 66px; text-align: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 28px; font-weight: 600; margin-right: 24px; }
.method b { font-size: 40px; font-weight: 500; }

.qr-wrap { display: flex; align-items: center; }
.qr-wrap .qr-text { flex: 1; padding-right: 80px; }
.qr-box { flex: none; padding: 28px; background: #fff; border-radius: 0 48px 0 0; }
.qr-box svg { display: block; }

/* Up next card */
.upnext .card-in { justify-content: flex-start; top: 130px; }
.upnext .when { font-size: 44px; font-weight: 600; margin-bottom: 22px; color: #fff; }
.upnext .people { display: flex; margin-top: 60px; flex-wrap: wrap; }
.upnext .person { display: flex; align-items: center; width: 33.33%; margin-bottom: 30px; padding-right: 30px; }
.upnext .person .avatar { margin-right: 24px; }
.upnext .person b { display: block; font-size: 34px; font-weight: 600; }
.upnext .person span { display: block; font-size: 25px; color: var(--muted); margin-top: 4px; }

/* ---------------------------------------------------------------- session (panel theme) */

#l-session { background: var(--navy); }
.s-band { left: 0; top: 0; right: 0; height: 640px; border-bottom-right-radius: 72px; }
.s-band.sky { background: linear-gradient(180deg, #0a3478 0%, #0f4f9f 55%, #3d86cc 100%); }
.s-band.sky .clouds { opacity: 0.55; }
.s-top { position: absolute; left: 120px; right: 120px; top: 92px; display: flex; align-items: center; }
.s-top > * { margin-right: 18px; }
.s-top .chip, .s-top .live-badge { font-size: 26px; padding: 10px 24px 11px; }
.s-time { font-size: 36px; font-weight: 600; margin-left: 10px; }
.s-where { margin-left: auto; margin-right: 0; font-size: 28px; color: rgba(255,255,255,0.85); }
.s-title { position: absolute; left: 120px; right: 160px; top: 190px; font-size: 92px; line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; margin: 0; text-shadow: 0 2px 30px rgba(7, 22, 64, 0.3); }
.s-title.long { font-size: 74px; }
.s-org { position: absolute; left: 120px; right: 120px; top: 560px; font-size: 32px; color: rgba(255,255,255,0.9); }
.s-people { position: absolute; left: 120px; right: 120px; top: 690px; display: flex; }
.s-person { flex: 1; display: flex; align-items: center; padding-right: 26px; min-width: 0; }
.s-person .avatar { margin-right: 26px; border: 4px solid rgba(255, 255, 255, 0.9); }
.s-person em { display: block; font-style: normal; font-size: 21px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.s-person b { display: block; font-size: 36px; font-weight: 600; line-height: 1.12; }
.s-person span { display: block; font-size: 25px; line-height: 1.25; color: var(--muted); margin-top: 6px; }
.s-people.many .s-person b { font-size: 30px; }
.s-people.many .s-person span { font-size: 22px; }
/* Four or more people: portrait cards, photo above the name. */
.s-people.cols { top: 676px; }
.s-people.cols .s-person { flex-direction: column; align-items: flex-start; padding-right: 30px; }
.s-people.cols .s-person .avatar { margin: 0 0 20px; }
.s-foot { position: absolute; left: 120px; right: 120px; bottom: 56px; display: flex; align-items: flex-end; font-size: 26px; color: var(--muted); }
.s-foot .wordmark-img { height: 64px; }
.s-foot span { margin-left: auto; }

/* ---------------------------------------------------------------- deck */

#l-deck { background: #000; }
#slide { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; object-fit: contain; }

/* ---------------------------------------------------------------- lower third */

#lower {
  position: absolute;
  left: 72px;
  bottom: 64px;
  z-index: 20;
  display: flex;
  align-items: center;
  max-width: 1240px;
  padding: 26px 56px 26px 26px;
  background: #fff;
  color: var(--navy);
  border-radius: 0 56px 0 0;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  -webkit-transform: translateX(-60px);
  transform: translateX(-60px);
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#lower.on { opacity: 1; -webkit-transform: none; transform: none; }
#lower .avatar { margin-right: 30px; }
#lower em { display: block; font-style: normal; font-size: 22px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
#lower b { display: block; font-size: 50px; font-weight: 600; line-height: 1.08; }
#lower .lt-sub { display: block; font-size: 30px; color: #33456b; margin-top: 6px; }
#lower .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--sky); }

/* Supporters board */
.partners .card-in { justify-content: flex-start; top: 110px; }
.tiers { display: flex; flex-wrap: wrap; margin-top: 40px; }
.tier { margin: 0 64px 40px 0; }
.tier-label { font-size: 22px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.tier-logos { display: flex; align-items: center; flex-wrap: wrap; }
.tier-logos img { height: 84px; max-width: 360px; object-fit: contain; margin-right: 40px; }
.tier-logos .logo-text { font-size: 36px; font-weight: 600; margin-right: 40px; }
