/* The OUTLAW advent page: the album cover's paper and its two accents, crimson lettering and muted petrol
   portraits, with the doors as tickets. It looks like the cover in a dark-mode browser too (Jyro, 10 Nov). */
:root {
  --paper: #eee6d4; --ticket: #faf6ec; --locked: #e4dac3; --ink: #1d292c; --soft: #55666a; --petrol: #4c6866;
  --cover-petrol: #647f7d; /* the cover's muted petrol, OUTLAW-CURRENT.txt */
  --crimson: #8b2933; --rule: #d5c8ad; --band: #20302f; --band-ink: #eee6d4; --band-soft: #b9c7c3;
  --shadow: rgba(32, 48, 47, .16);
  --display: "Alegreya SC", Georgia, "Times New Roman", serif;
  --title: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --data: "Cascadia Mono", Consolas, ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); }
a { color: var(--crimson); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.ol-wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.ol-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ol-skip { position: absolute; left: -9999px; top: 10px; z-index: 20; padding: 8px 14px; border-radius: 6px; background: var(--crimson); color: var(--ticket); font-weight: 600; text-decoration: none; }
.ol-skip:focus { left: 12px; }

.ol-masthead { background: var(--band); color: var(--band-ink); }
.ol-masthead-inner { display: flex; align-items: center; gap: 10px; min-height: 46px; font: 600 13px/1.2 var(--body); letter-spacing: .04em; }
.ol-masthead a { color: var(--band-ink); text-decoration: none; }
.ol-masthead a:hover { text-decoration: underline; }
.ol-sep { color: var(--band-soft); }
.ol-here { color: var(--band-soft); }
.ol-masthead-action { margin-left: auto; }

.ol-hero picture { display: block; background: #eee6d4; }
.ol-banner { display: block; width: 100%; height: auto; max-height: min(560px, 62vh); object-fit: cover; }
.ol-intro { padding-top: 26px; padding-bottom: 6px; }
.ol-eyebrow { margin: 0; font: 600 12px/1.4 var(--data); letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); }
.ol-intro h1 { margin: 6px 0 10px; font: 700 clamp(2rem, 5.2vw, 3.3rem)/1.05 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.ol-lede { margin: 0; max-width: 62ch; font-size: 1.06rem; }
.ol-status { margin: 14px 0 0; min-height: 1.5em; font: 500 14px/1.5 var(--data); color: var(--petrol); }
.ol-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.ol-button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 1px solid var(--crimson); border-radius: 999px; color: var(--crimson); font: 600 14px/1.2 var(--body); text-decoration: none; transition: background .15s, color .15s; }
.ol-button:hover { background: var(--crimson); color: var(--ticket); }
.ol-button-store { background: var(--crimson); color: var(--ticket); }
.ol-button-store:hover { background: transparent; color: var(--crimson); }
.ol-button[hidden] { display: none; }

.ol-calendar { padding-top: 22px; padding-bottom: 44px; }
.ol-doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ol-door { min-width: 0; }
.ol-door-face { font: inherit; color: inherit; text-align: left; width: 100%; height: 100%; min-height: 136px; margin: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px 13px 12px; border-radius: 8px; border: 1px dashed var(--rule); background: var(--locked); }
.ol-door.is-open .ol-door-face { border: 1px solid var(--rule); background: var(--ticket); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.ol-door.is-open .ol-door-face:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--shadow); }
.ol-door.is-today .ol-door-face { border: 1px solid var(--crimson); box-shadow: inset 0 0 0 1px var(--crimson); }
/* Each door's date is as big as its number: the dates are no longer one a day. */
.ol-door-number { font: 700 2rem/1 var(--display); color: var(--cover-petrol); }
.ol-door-portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; object-position: center bottom; margin: -2px 0 6px; border-radius: 6px; }
.ol-door-date { font: 700 1.2rem/1.15 var(--display); color: var(--crimson); }
.ol-door-wd, .ol-door-dm { white-space: nowrap; }
.ol-door-title { margin-top: 6px; font: italic 700 1.02rem/1.22 var(--title); overflow-wrap: anywhere; }
.ol-door-note { font: 700 10.5px/1.3 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--crimson); }
.ol-door-play { margin-top: auto; padding-top: 8px; font: 600 12.5px/1.2 var(--body); color: var(--petrol); }
.ol-door-lock { margin-top: auto; align-self: flex-end; font: 500 13px/1 var(--data); color: var(--soft); }
.ol-door.is-today .ol-door-lock { color: var(--crimson); }

.ol-journey { margin-top: 14px; }
.ol-journey-face { font: inherit; color: inherit; text-align: left; width: 100%; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 16px 18px; border: 1px dashed var(--petrol); border-radius: 8px; background: transparent; }
.ol-journey-face strong { font: italic 700 1.25rem/1.2 var(--title); }
.ol-journey-note { color: var(--soft); }
.ol-journey-face.is-open { border: 1px solid var(--crimson); background: var(--ticket); cursor: pointer; transition: box-shadow .15s; }
.ol-journey-face.is-open:hover { box-shadow: 0 8px 20px var(--shadow); }
.ol-noscript { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 8px; background: var(--ticket); }

.ol-footer { border-top: 1px solid var(--rule); }
.ol-footer-inner { padding-top: 18px; padding-bottom: 40px; font-size: 14px; color: var(--soft); }
.ol-footer p { margin: 0 0 4px; }

.ol-player { width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 10px; background: var(--band); color: var(--band-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.ol-player::backdrop { background: rgba(10, 14, 15, .74); }
.ol-player-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px 12px; }
.ol-player-day { margin: 0; font: 400 12px/1.4 var(--data); color: var(--band-soft); }
.ol-player-head h2 { margin: 2px 0 0; font: italic 700 1.35rem/1.2 var(--title); }
.ol-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(238, 230, 212, .28); background: transparent; color: var(--band-ink); font: 400 26px/1 var(--body); cursor: pointer; }
.ol-close:hover { background: rgba(238, 230, 212, .12); }
.ol-frame { aspect-ratio: 16 / 9; background: #000; }
.ol-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ol-wait { display: grid; place-items: center; height: 100%; margin: 0; font: italic 700 1.15rem/1.3 var(--title); color: var(--band-soft); }
.ol-player-foot { margin: 0; padding: 10px 16px 14px; font-size: 14px; }
.ol-player-foot a { color: var(--band-ink); }

/* Only on this computer: the date buttons that preview the doors. */
.ol-preview { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)); background: #1d292c; color: #eee6d4; font: 500 12px/1.4 var(--data); }
.ol-preview a { color: #f2c4c9; }
.ol-preview a[aria-current] { color: #fff; font-weight: 700; }
body:has(.ol-preview) { padding-bottom: 64px; }

@media (max-width: 900px) { .ol-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ol-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ol-door-face { min-height: 118px; padding: 10px; }
  .ol-door-number { font-size: 1.6rem; }
  .ol-door-date { font-size: 1.1rem; }
  .ol-door .ol-door-wd { display: block; font-size: .8rem; }
  .ol-door-title { font-size: .92rem; }
  .ol-intro h1 { margin-top: 4px; }
}
@media (max-width: 370px) { .ol-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
