/* v20 pages: today's paper (landing, with the live pitch as its photo), the section front, the new edition, the slip. */

/* ================= landing: today's paper ================= */
.land { position: fixed; inset: 0; overflow: hidden; background: transparent; animation: none; }
.land__sheet { position: relative; height: 100%; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column;
  padding: calc(var(--sat) + 10px) calc(16px + var(--sar)) calc(var(--sab) + 14px) calc(16px + var(--sal)); }
.land__sheet > *, .land__grid > * { position: relative; z-index: 1; }
.land__sheet > .land__grid { position: static; z-index: auto; }
.land .mast { animation: rise .5s var(--ease) both; }
.mast__ear { position: absolute; top: 8px; display: grid; gap: 1px; font: 600 11px/1.1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.mast__ear b { font: 700 13px/1 var(--cond); color: var(--red); letter-spacing: .14em; }
.mast__ear--l { left: 0; text-align: left; }
.mast__ear--r { right: -6px; top: 0; }
.land .mast__name { padding-top: 26px; }
.sound { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer; }
.sound svg .off { display: none; }
.sound[aria-pressed="true"] svg .on { display: none; }
.sound[aria-pressed="true"] svg .off { display: inline; }
.sound span { display: none; }

.land__grid { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.land__copy { display: grid; gap: 8px; animation: rise .55s .08s var(--ease) both; }
.land__head { font: 700 clamp(36px, 10.6vw, 84px)/.95 var(--head); letter-spacing: -.015em; }
.land__head em { color: var(--red); font-style: italic; }
.land__deck { font: italic 17px/1.35 var(--body); color: var(--ink-2); max-width: 34em; }

/* the press photo: a hole in the paper onto the live pitch (the hole's shadow IS the paper) */
.photo { position: relative; z-index: 0 !important; flex: 1; min-height: 150px; display: flex; flex-direction: column; gap: 6px; animation: rise .55s .16s var(--ease) both; }
.photo__hole { position: relative; flex: 1; min-height: 0; border: 1px solid var(--ink); box-shadow: 0 0 0 300vmax var(--paper);
  background: repeating-linear-gradient(-45deg, #2a2724 0 10px, #33302c 10px 20px); transition: background .5s; }
.land.is-live .photo__hole { background: transparent; }
.photo__dots { display: none; }
.photo__hole::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background: radial-gradient(rgba(22, 20, 18, .6) .9px, transparent 1.4px) 0 0 / 4px 4px; }
.photo figcaption { position: relative; font: italic 13px/1.3 var(--body); color: var(--ink-3); border-bottom: 1px solid var(--hair); padding-bottom: 6px; }
.photo figcaption::before { content: 'LIVE'; font: 700 11px/1 var(--cond); letter-spacing: .14em; color: var(--red); margin-right: 6px; font-style: normal; }

.land__act { display: grid; gap: 8px; animation: rise .55s .24s var(--ease) both; }
.land__fine { text-align: center; font: 600 12px/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.land__fail { font: italic 16px/1.4 var(--body); color: var(--red-2); text-align: center; }
.land__fail button { margin-top: 10px; min-height: 48px; padding: 0 22px; border: 2px solid var(--ink); background: var(--paper); font: 700 16px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.cta.is-ready { animation: nudge 1.6s ease-in-out .4s 2; }
.inside { display: none; }
.land.is-diving { transform: scale(var(--k, 3)); opacity: 0; transition: transform .72s cubic-bezier(.7, 0, .3, 1), opacity .5s ease .22s; }

/* the newspaper fold across the middle of today's paper */
.land__sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 26px; z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .05) 48%, rgba(255, 255, 255, .25) 52%, rgba(0, 0, 0, 0)); }

@media (min-width: 900px) {
  .land__sheet { padding-top: calc(var(--sat) + 18px); padding-bottom: 22px; }
  .land .mast__name { padding-top: 10px; }
  .mast__ear { top: 18px; }
  .mast__ear--r { top: 10px; right: 0; }
  .sound span { display: inline; font: 600 12px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
  .land__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); grid-template-rows: auto auto 1fr; column-gap: 34px; row-gap: 18px; padding-top: 20px; }
  .land__copy { grid-column: 1; grid-row: 1; gap: 14px; border-bottom: 1px solid var(--hair); padding-bottom: 18px; }
  .land__head { font-size: clamp(50px, 4.6vw, 74px); }
  .land__deck { font-size: 20px; }
  .photo { grid-column: 2; grid-row: 1 / 4; }
  .land__act { grid-column: 1; grid-row: 2; }
  .inside { display: block; grid-column: 1; grid-row: 3; align-self: start; animation: rise .55s .32s var(--ease) both; }
  .inside__title { font: 700 13px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; border-top: 3px solid var(--ink); padding-top: 8px; margin-bottom: 4px; }
  .inside ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .inside li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--hair); padding: 7px 0 5px; font-size: 15px; }
  .inside li span { font-style: italic; color: var(--ink-3); }
  .land__sheet::after { display: none; }
}
@media (max-height: 700px) and (max-width: 899px) { .land__deck { display: none; } .land__head { font-size: 34px; } }

/* ================= section front (level page) ================= */
.sec { max-width: 720px; display: flex; flex-direction: column; gap: 14px; min-height: 100vh; min-height: 100dvh; }
.sec__band { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--paper); padding: 8px 10px 6px;
  font: 600 13px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.sec__band b { font: 700 20px/1 var(--cond); letter-spacing: .12em; color: #fff; }
.sec__head { font: 700 clamp(44px, 13vw, 92px)/.92 var(--head); letter-spacing: -.02em; }
.sec__deck { font: italic 20px/1.3 var(--body); color: var(--ink-2); border-bottom: 1px solid var(--hair); padding-bottom: 12px; }
.how { display: grid; gap: 8px; }
.how li { display: flex; align-items: center; gap: 12px; font: 600 18px/1.2 var(--body); }
.how i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; }
.how li:last-child i { background: var(--ink); color: #ffd60a; }
.how svg { width: 22px; height: 22px; }
.how b { font: 700 14px/1 var(--cond); color: var(--red); margin-right: 4px; }
.sec__photos { flex: 1 1 0; min-height: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sec__photos figure { display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.sec__img { position: relative; flex: 1; min-height: 0; background: #2a2724 center / cover no-repeat; filter: grayscale(1) contrast(1.15); border: 1px solid var(--ink); }
.sec__img::after { content: ''; position: absolute; inset: 0; opacity: .4; background: radial-gradient(rgba(22, 20, 18, .7) .9px, transparent 1.4px) 0 0 / 4px 4px; }
.sec__photos figcaption { font: italic 12px/1.25 var(--body); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec__photos figcaption b { font: 700 12px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-style: normal; }
.sec__facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec__facts span { flex: 1 1 auto; padding: 8px 8px 6px; font: 600 13px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.sec__facts span + span { border-left: 1px solid var(--hair); }
.poll { margin-top: 0; border: 2px solid var(--ink); padding: 12px 12px 10px; background: var(--paper-2); display: grid; gap: 10px; }
.poll__q { font: 700 20px/1.2 var(--head); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.poll__q .flag { background: var(--red); }
.poll__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.poll__n { position: relative; min-height: 52px; border: 1.5px solid var(--ink); background: var(--paper); cursor: pointer; border-radius: 2px;
  font: 700 24px/1 var(--head); transition: background .15s, color .15s, transform .12s; animation: rise .4s var(--ease) both; animation-delay: calc(340ms + var(--i) * 25ms); }
.poll__n:active { transform: translateY(2px); }
.poll__n.is-circled { background: var(--ink); color: var(--paper); }
.poll__n.is-circled::after { content: ''; position: absolute; inset: -7px -5px; border: 3px solid var(--red); border-radius: 50%; transform: rotate(-8deg); animation: circle .35s var(--ease) both; }
@keyframes circle { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.poll__grid.is-done .poll__n:not(.is-circled) { opacity: .35; }
.poll__hint { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 12px/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.poll__hint b { color: var(--ink); font-size: 13px; text-align: center; flex: 1; }
@media (min-width: 900px) {
  .sec { padding-top: 26px; gap: 18px; }
  .poll__grid { grid-template-columns: repeat(10, 1fr); }
  .how { grid-template-columns: repeat(3, 1fr); }
}

/* ================= the pressroom (between + gate + front page sit on it) ================= */
.page.is-pressroom, .page.is-gate, .page.is-front { background: var(--room); color: var(--ink);
  background-image: radial-gradient(120% 70% at 50% 0%, #2c2924 0%, var(--room) 70%); }
.page.is-pressroom { display: grid; align-items: center; }
.press { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.press i { position: absolute; left: -10%; right: -10%; height: 2px; background: rgba(242, 236, 223, .06); animation: roll 1.1s linear infinite; }
.press i:nth-child(1) { top: 20%; } .press i:nth-child(2) { top: 50%; animation-delay: -.4s; } .press i:nth-child(3) { top: 80%; animation-delay: -.8s; }
@keyframes roll { from { transform: translateY(-120px); } to { transform: translateY(120px); } }

/* the paper spins off the press and lands (the classic film headline) */
.spin { animation: spin-in .78s cubic-bezier(.15, .65, .25, 1) both; transform-origin: 50% 40%; }
@keyframes spin-in {
  0% { opacity: 0; transform: rotate(-900deg) scale(.06); }
  15% { opacity: 1; }
  82% { transform: rotate(-4deg) scale(1.04); }
  100% { opacity: 1; transform: rotate(var(--tilt, -1.2deg)) scale(1); }
}

/* ================= the new edition (between) ================= */
.ed { max-width: 640px; margin: calc(var(--sat) + 12px) 10px 16px; background: var(--paper); padding: 14px 16px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .3); display: grid; gap: 12px; }
.ed__kick { font: 600 13px/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.ed__kick .flag { background: var(--red); }
.ed__head { font: 700 clamp(38px, 11vw, 70px)/.95 var(--head); letter-spacing: -.02em; text-transform: uppercase; }
.ed__head.is-miss { font-size: clamp(34px, 9.6vw, 62px); }
.ed__cols { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; border-top: 1px solid var(--rule); padding-top: 10px; }
.ed__label { font: 700 12px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ed__line { display: flex; gap: 8px; font: 16px/1.3 var(--body); padding: 6px 0; border-bottom: 1px solid var(--hair); }
.ed__line i { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font: 700 13px/1 var(--cond); font-style: normal; color: #fff; background: var(--green); margin-top: 1px; }
.ed__line.is-miss i { background: var(--red); }
.ed__rating { align-self: start; width: 104px; border: 3px double var(--ink); padding: 8px 6px 6px; text-align: center; display: grid; gap: 2px; transform: rotate(2deg);
  animation: thump .42s .95s var(--snap) both; }
.ed__rating small { font: 600 11px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ed__rating b { font: 700 50px/1 var(--head); }
.ed__rating b span { font-size: 18px; color: var(--ink-3); }
@keyframes thump { from { opacity: 0; transform: rotate(8deg) scale(1.9); } to { opacity: 1; transform: rotate(2deg) scale(1); } }
.ed__next { background: var(--paper-2); padding: 10px 12px; border-left: 4px solid var(--red); }
.ed__tease { font: 17px/1.3 var(--body); }
.ed__tease b { font-family: var(--head); }
.ed__dots { display: flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 11px/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ed__dots i { width: 22px; height: 28px; border: 1.5px solid var(--ink-3); background: var(--paper); }
.ed__dots i.is-on { background: repeating-linear-gradient(var(--ink) 0 2px, var(--paper) 2px 5px); border-color: var(--ink); }
.ed__dots span { margin-left: 4px; }
@media (min-width: 700px) { .ed { margin: 40px auto; padding: 22px 28px 26px; } }

/* ================= the gate: the printed page waits under a subscription slip ================= */
.page.is-gate { display: grid; place-items: center; padding: calc(var(--sat) + 12px) 10px calc(var(--sab) + 14px); }
.gate__paper { position: absolute; left: 14px; right: 14px; top: calc(var(--sat) + 18px); max-width: 640px; margin: 0 auto; background: var(--paper);
  padding: 14px 16px 40px; rotate: -2deg; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); overflow: hidden; height: 62vh; height: 62dvh; animation: rise .6s var(--ease) both; }
.gate__k { font: 600 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; margin-top: 12px; color: var(--ink-2); }
.gate__blur { font: 700 54px/.95 var(--head); margin-top: 10px; filter: blur(9px); user-select: none; }
.gate__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; filter: blur(3px); }
.gate__cols i { height: 10px; background: var(--paper-3); }
.gate__pic { height: 120px; margin-top: 16px; background: repeating-linear-gradient(-45deg, #8b847a 0 8px, #9a9389 8px 16px); filter: blur(4px); }
.gate__band { position: absolute; left: -12%; right: -12%; top: 46%; transform: rotate(-9deg); background: var(--red); color: #fff; text-align: center;
  font: 700 22px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; padding: 12px 0 9px; animation: band .5s .35s var(--snap) both; }
@keyframes band { from { opacity: 0; transform: rotate(-9deg) translateX(-30%); } to { opacity: 1; transform: rotate(-9deg); } }
.slip { position: relative; z-index: 2; align-self: end; width: 100%; max-width: 520px; background: var(--paper); padding: 16px 16px 14px;
  outline: 2px dashed var(--ink); outline-offset: -8px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .45); display: grid; gap: 10px; animation: slip-in .55s .15s var(--ease) both; }
.slip::before { content: '\2702'; position: absolute; top: -4px; left: 22px; font-size: 22px; line-height: 1; color: var(--ink); background: var(--paper); padding: 0 4px; }
@keyframes slip-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.slip__kick { font: 600 13px/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 4px 0; }
.slip__kick .flag { background: var(--red); }
.slip__head { font: 700 30px/1.02 var(--head); padding: 0 4px; }
.field { display: grid; gap: 4px; padding: 0 4px; }
.field > span { font: 700 13px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; }
.field input { width: 100%; min-height: 52px; border: 0; border-bottom: 2px solid var(--ink); background: var(--paper-2); padding: 12px 10px 8px;
  font: 20px/1.2 var(--body); color: var(--ink); border-radius: 0; outline: none; }
.field input:focus { background: #fff; border-bottom-color: var(--red); }
.field input.is-bad { border-bottom-color: var(--red); background: #f7e3e1; }
.field__err { min-height: 0; font: italic 14px/1.3 var(--body); color: var(--red-2); }
.field__err:empty { display: none; }
.slip .cta { margin-top: 4px; }
.slip__fine { text-align: center; font: italic 13px/1.3 var(--body); color: var(--ink-3); }
.slip.is-shake { animation: shake .4s ease; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@media (min-width: 900px) {
  .page.is-gate { grid-template-columns: 1fr 1fr; gap: 0; padding: 40px; }
  .gate__paper { position: relative; left: auto; right: auto; top: auto; width: 100%; height: 600px; justify-self: end; margin: 0 -40px 0 0; }
  .slip { align-self: center; justify-self: start; rotate: 1.5deg; }
  .slip__head { font-size: 38px; }
}
