/* acs.slickagent.ai: the screening room. A dark theatre lit by the projector; the story is the screen, the way it's
   made is told as the credits, and the Studio's own handwriting (Caveat, its "approved" hand) marks the way around. */

@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("/assets/fonts/caveat-latin-700-normal.woff2") format("woff2"); }

:root {
  --night: #140e12;
  --night-2: #1d1419;
  --curtain: #3a2630;
  --line: #3a2a32;
  --seat: #2a1a22;
  --beam: #f4ead6;
  --bulb: #ffc35c;
  --body: #d9cdd3;
  --dim: #a8969f;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 900px at 50% -120px, var(--curtain) 0%, var(--night) 60%) no-repeat, var(--night);
  color: var(--beam);
  font: 400 17px/1.55 var(--sans);
  overflow-x: clip;   /* the projector beam is wider than the screen; it must never make the page scroll sideways */
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bulb); }
:focus-visible { outline: 2px solid var(--bulb); outline-offset: 3px; border-radius: 2px; }
code { font: 500 0.92em ui-monospace, "SF Mono", Menlo, monospace; color: var(--beam); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.hand { font-family: var(--hand); font-weight: 700; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--bulb); color: var(--night); font-weight: 600; }
.skip:focus { top: 12px; }

/* The top: the wordmark and the way around, in the Studio's hand. */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 22px; }
.brand { font: 900 20px/1 var(--display); letter-spacing: 0.05em; text-decoration: none; }
.top ul { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; font-size: 25px; line-height: 1.2; color: var(--body); }
.top ul a { text-decoration: none; }
.top ul a:hover { text-decoration: underline; }
.gh { color: var(--bulb); }
.gh small { font-size: 0.72em; opacity: 0.85; }

/* The marquee. */
.marquee { text-align: center; padding-top: clamp(32px, 6vw, 56px); }
.bulbs { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.bulbs i { width: 7px; height: 7px; border-radius: 50%; background: var(--bulb); box-shadow: 0 0 10px var(--bulb); animation: glow 2.6s ease-in-out infinite alternate; }
.bulbs i:nth-child(odd) { animation-delay: -1.3s; }
.bulbs i:nth-child(3n) { animation-delay: -0.6s; }
@keyframes glow { from { opacity: 0.45; box-shadow: 0 0 4px var(--bulb); } to { opacity: 1; box-shadow: 0 0 12px var(--bulb); } }
h1 { margin: 0; font: 900 clamp(46px, 10.5vw, 84px)/0.9 var(--display); text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
.lede { max-width: 34em; margin: 20px auto 0; color: var(--body); font-size: clamp(16px, 2vw, 18px); text-wrap: pretty; }

/* The screen, under the projector's beam. */
.showing { padding-top: clamp(36px, 6vw, 56px); }
.screen { position: relative; isolation: isolate; width: min(100%, 920px); margin-inline: auto; }
.screen::before {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0; width: 100%; height: calc(100% + 90px); transform: translateX(-50%); pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 155deg, rgba(244, 234, 214, 0.08) 170deg, rgba(244, 234, 214, 0.13) 180deg, rgba(244, 234, 214, 0.08) 190deg, transparent 205deg);
}
.screen video { width: 100%; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 90px rgba(244, 234, 214, 0.16); }
.caption { max-width: 42em; margin: 14px auto 0; text-align: center; font-size: 14.5px; color: var(--dim); }
.caption a { color: var(--bulb); }

/* Section titles: small, spaced like a theatre programme. */
.section-title { margin: 0 0 6px; font: 900 15px/1.2 var(--display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); text-align: center; }

/* How it's made, as the credits. */
.credits { padding-top: clamp(56px, 9vw, 88px); text-align: center; }
.credits dl { margin: 0; }
.credits dl > div { margin-top: 20px; }
.credits dt { font-size: 13px; color: var(--dim); }
.credits dd { margin: 2px 0 0; font: 700 clamp(26px, 4vw, 32px)/1.1 var(--display); letter-spacing: 0.02em; }
.credits dd span { display: block; margin-top: 4px; font: 400 15.5px/1.45 var(--sans); letter-spacing: 0; color: var(--body); }

/* Behind the scenes: the Studio, framed like lobby posters. */
.lobby { padding-top: clamp(56px, 9vw, 88px); }
.posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.poster { margin: 0; padding: 8px 8px 14px; background: var(--night-2); border: 1px solid var(--line); }
.poster a { display: block; }
.poster img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.poster figcaption { margin: 10px 4px 0; font-size: 14.5px; line-height: 1.45; color: var(--body); }
.poster b { color: var(--beam); font-weight: 600; }

/* What you need. */
.needs { padding-top: clamp(48px, 8vw, 72px); }
.needs ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 860px; margin: 16px auto 0; padding: 18px 0; list-style: none; border-block: 1px solid var(--line); text-align: center; font-size: 14.5px; color: var(--body); }
.needs b { display: block; font: 700 22px/1.15 var(--display); color: var(--beam); letter-spacing: 0.01em; }

/* Get it: coming soon, or the install line. */
.get { padding-block: clamp(44px, 7vw, 64px) clamp(36px, 5vw, 48px); text-align: center; }
.get p { margin: 0 auto; max-width: 36em; color: var(--body); }
.get .soon { font-size: clamp(32px, 5vw, 40px); line-height: 1.1; color: var(--bulb); margin-bottom: 6px; }
.get .ask { margin-top: 10px; font-size: 15px; color: var(--dim); }
.get .ask a { color: var(--body); }
.install { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 640px; margin: 14px auto; padding: 12px 14px; background: var(--night-2); border: 1px solid var(--line); }
.install code { overflow-wrap: anywhere; text-align: left; }
.install button { font: 600 14px var(--sans); color: var(--night); background: var(--bulb); border: 0; padding: 7px 14px; cursor: pointer; }

/* The seats and the footer. */
.seats { height: 46px; background: repeating-radial-gradient(circle at 20px 46px, var(--seat) 0 18px, transparent 19px 40px); background-size: 40px 46px; }
.foot { background: #0d090b; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 22px 26px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; font-size: 24px; line-height: 1.2; color: var(--body); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.legal { margin: 0; font-size: 12.5px; color: var(--dim); }

/* The 404. */
.lost { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.back { margin-top: 18px; font-size: 28px; color: var(--bulb); }

@media (max-width: 860px) {
  .posters { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .needs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}
@media (max-width: 560px) {
  .top { justify-content: center; text-align: center; }
  .top ul { justify-content: center; gap: 2px 18px; font-size: 22px; }
  .foot-inner { justify-content: center; text-align: center; }
  .foot-links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bulbs i { animation: none; opacity: 1; }
}
