/* EPK "paper" look on screen: the PDF letterhead, made responsive.
   Active when <html class="paper"> (set by ?look=paper or the switch on the page).
   Printing/PDF uses print.css and is not affected by this file. */

@media screen {
  html.paper {
    --paper: #f3ecd9; --ink: #1f2219; --ink-soft: rgba(31, 34, 25, .62); --rule: rgba(31, 34, 25, .3); --rust: #a8481a;
    background: var(--paper) url("/assets/img/paper.jpg") 0 0 / 900px repeat;
    color-scheme: light;
  }
  html.paper body { background: transparent; color: var(--ink); font-size: 1rem; line-height: 1.55; }
  html.paper body::before { display: none; }
  html.paper a { color: var(--ink); text-decoration-color: var(--rust); }
  html.paper a:hover { color: var(--rust); }
  html.paper :focus-visible { outline-color: var(--rust); }
  html.paper .stripes, html.paper .epk-hero h1 picture { display: none; }

  /* top bar */
  html.paper .topbar { background: rgba(243, 236, 217, .82); border-bottom: 1.5px solid var(--ink); }
  html.paper .topbar__brand, html.paper .nav a[aria-current] { color: var(--ink); }
  html.paper .nav a { color: var(--ink-soft); }
  html.paper .nav__epk { color: var(--rust) !important; }

  /* letterhead */
  html.paper .print-head {
    display: block !important; position: relative; container-type: inline-size;
    width: 100%; max-width: 1040px; margin: 28px auto 0; padding: 0 var(--gutter);
  }
  html.paper .print-head__inner { position: relative; aspect-ratio: 100 / 19; }
  html.paper .print-head img { position: absolute; right: 0; top: 0; width: 64cqw; }
  html.paper .print-head__inner::before, html.paper .print-head__inner::after {
    content: ""; position: absolute; left: 0; width: 38cqw; background: var(--ink); height: .45cqw; }
  html.paper .print-head__inner::before { top: 6.95cqw; box-shadow: 0 .72cqw 0 var(--ink); }
  html.paper .print-head__inner::after { top: 8.35cqw; }
  html.paper .print-head__stamp { position: absolute; left: 0; top: 3.9cqw; font: 600 clamp(.62rem, 1.15cqw, .85rem) var(--mono); letter-spacing: .08em; }
  html.paper .print-head__tag { position: absolute; left: 39cqw; top: 15.2cqw; font: clamp(.58rem, 1.05cqw, .8rem) var(--mono); letter-spacing: .2em; color: var(--ink-soft); text-transform: uppercase; white-space: nowrap; }
  @media (max-width: 640px) {
    html.paper .print-head__inner { aspect-ratio: auto; display: flex; flex-direction: column; gap: 10px; }
    html.paper .print-head__inner::before, html.paper .print-head__inner::after { display: none; }
    html.paper .print-head img, html.paper .print-head__stamp, html.paper .print-head__tag { position: static; width: 100%; white-space: normal; }
    html.paper .print-head__stamp { order: -1; font-size: .72rem; }
    html.paper .print-head__tag { font-size: .68rem; text-align: center; }
  }

  /* the sheet */
  html.paper main {
    max-width: 1040px; margin: 0 auto; padding: 20px var(--gutter) 56px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; align-items: start;
  }
  html.paper .wrap { max-width: none; padding: 0; }
  html.paper .section, html.paper .epk-hero { padding: 0; border: 0; background: none; }
  html.paper .epk-sec {
    border: 2px solid var(--ink); border-radius: 20px; padding: 20px 22px 18px;
    background: rgba(243, 236, 217, .55);
  }
  html.paper .epk-hero, html.paper .epk-bio, html.paper .epk-cred, html.paper .epk-quotes, html.paper .epk-video,
  html.paper .epk-shows, html.paper .epk-press, html.paper .cta { grid-column: 1 / -1; }
  html.paper .epk-listen { grid-column: 1; }
  html.paper .epk-lineup { grid-column: 2; }
  @media (max-width: 760px) {
    html.paper main { grid-template-columns: 1fr; }
    html.paper .epk-listen, html.paper .epk-lineup { grid-column: 1; }
  }

  /* type */
  html.paper h2 { font-size: 1.15rem; letter-spacing: .06em; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 4px double var(--ink); }
  html.paper h3 { color: var(--ink-soft); font-size: .78rem; }
  html.paper .label { color: var(--rust); font-size: .7rem; margin-bottom: 4px; }
  html.paper .small, html.paper .shows-empty { color: var(--ink-soft); }
  html.paper .lede { color: var(--ink); }

  /* buttons + top bar of the EPK */
  html.paper .btn { border-color: var(--ink); color: var(--ink); }
  html.paper .btn:hover { background: rgba(31, 34, 25, .08); color: var(--ink); }
  html.paper .btn--primary { background: #9e4316; border-color: #9e4316; color: var(--paper); }
  html.paper .btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  html.paper .epk-bar { border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 20px; }
  html.paper .epk-bar__stamp { display: none; }
  html.paper .epk-bar { justify-content: flex-end; }

  /* hero: one-liner + facts | photo */
  html.paper .epk-hero__grid { grid-template-columns: 1fr 1.05fr; gap: 22px; align-items: stretch; }
  @media (max-width: 860px) { html.paper .epk-hero__grid { grid-template-columns: 1fr; } }
  html.paper .epk-oneliner { font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.3; margin: 0 0 14px; font-weight: 500; }
  html.paper .facts { border-top: 1px solid var(--rule); }
  html.paper .facts div { border-bottom: 1px solid var(--rule); grid-template-columns: 130px 1fr; padding: 8px 0; }
  html.paper .facts dt { color: var(--rust); }
  html.paper .epk-photo { border: 3px solid #8f8c80; border-radius: 22px; box-shadow: none; }
  html.paper .epk-photo img { height: 100%; object-fit: cover; }

  /* sections */
  html.paper .bio { font-size: 1.02rem; column-gap: 32px; }
  html.paper .ticks li { border-bottom: 1px solid var(--rule); font-size: 1.1rem; padding: 7px 0 7px 26px; }
  html.paper .ticks li::before { background: var(--rust); }
  html.paper .yt { border: 1.5px solid var(--ink); border-radius: 12px; }
  html.paper .yt img { filter: none; }
  html.paper .yt__play { background: var(--rust); box-shadow: 0 0 0 8px rgba(185, 80, 27, .25); width: 58px; height: 58px; }
  html.paper .yt__play::after { left: 23px; top: 18px; border-width: 11px 0 11px 18px; border-left-color: var(--paper); }
  html.paper .video figcaption span { color: var(--ink-soft); }
  html.paper .epk-listen .split, html.paper .epk-lineup .split { grid-template-columns: 1fr; gap: 18px; }
  html.paper .linklist li, html.paper .members li { border-bottom: 1px solid var(--rule); }
  html.paper .members li:first-child { border-top: 1px solid var(--rule); }
  html.paper .linklist li > span, html.paper .members span { color: var(--ink-soft); }
  html.paper .shows { border-top: 1px solid var(--rule); }
  html.paper .show { border-bottom: 1px solid var(--rule); }
  html.paper .show__dow { color: var(--rust); }
  html.paper .show__info span { color: var(--ink-soft); }
  html.paper .show__with { color: var(--ink) !important; }
  html.paper .show__poster img { border: 1.5px solid var(--ink); }
  html.paper .assets img { border: 1.5px solid var(--ink); background: rgba(31, 34, 25, .06); }
  html.paper .assets--dark img { background: #12110d; }
  html.paper .assets--light img { background: #fbf7ec; }
  html.paper .assets small { color: var(--ink-soft); }
  html.paper .cta { text-align: center; padding: 28px 0 8px; }
  html.paper .cta .lede { margin: 0 auto 20px; }

  /* footer */
  html.paper .footer { border-top: 1.5px solid var(--ink); }
  html.paper .footer__text .mono, html.paper .socials a { color: var(--ink-soft); }
  html.paper .socials a:hover { color: var(--ink); }
}

/* look switch (both looks) */
.look-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; font: 600 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.look-switch a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.look-switch a[aria-current] { background: var(--cream); color: var(--ink); }
html.paper .look-switch { border-color: var(--ink); }
html.paper .look-switch a { color: var(--ink-soft); }
html.paper .look-switch a[aria-current] { background: var(--ink); color: var(--paper); }

/* phone tuning for the paper look (after the rules above so these win) */
@media screen and (max-width: 640px) {
  html.paper .label { font-size: .78rem; }
  html.paper .print-head__stamp { font-size: .78rem; }
  html.paper .print-head__tag { font-size: .75rem; }
  .epk-bar .look-switch a { padding: 13px 18px; font-size: .78rem; }
  .linklist a { display: inline-flex; align-items: center; min-height: 40px; }
}

@media screen {
  html.paper .quote { border: 1.5px solid var(--ink); border-left: 5px solid var(--rust); background: rgba(243,236,217,.6); }
  html.paper .quote figcaption, html.paper .ethos figcaption { color: var(--ink-soft); }
  html.paper .quote figcaption a { color: var(--ink); }
  html.paper .appear li { border-bottom: 1px solid var(--rule); }
  html.paper .appear span { color: var(--rust); }
  html.paper .ethos blockquote { color: var(--ink); }
}
@media screen {
  html.paper main { grid-auto-flow: row dense; }
  html.paper .epk-stages { grid-column: 1; }
  html.paper .epk-lineup { grid-column: 2; grid-row: span 2; }
  html.paper .appear { columns: 1; }
  html.paper .appear em { color: var(--ink-soft); }
  @media (max-width: 760px) { html.paper .epk-stages, html.paper .epk-lineup { grid-column: 1; grid-row: auto; } }
}
@media screen {
  html.paper .epk-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  html.paper .epk-col--a { grid-column: 1; }
  html.paper .epk-col--b { grid-column: 2; }
  html.paper .epk-lineup { grid-row: auto; }
  @media (max-width: 760px) { html.paper .epk-col { display: contents; } }
}
