/* The opening (OWNER 11-23), shared by the spotlight page and a direct visit to the main page:
   black brushed metal with a slow band of light moving across it, the FOLKIO cat of the brand reference
   (white to silver, square eyes; since 11-23 in liquid metal, no bulbs), the word FOLKIO in thin
   spaced capitals, and a bar with no words that fills with the real loading. Loaded before the page's
   scripts, so it paints with the first bytes. */
.fk-open { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background-color: #0b0c0e;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.85' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23b)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgb(255 255 255 / .014) 0 1px, rgb(0 0 0 / .05) 1px 2px, transparent 2px 3px),
    linear-gradient(180deg, #1d1f23 0%, #121316 46%, #0d0e10 54%, #17181b 100%);
  color: #e9e9ec; transition: visibility 0s .2s; }
/* The light moving across the metal: a wide soft band, no glow, no halo. */
.fk-open::before { content: ""; position: absolute; inset: -20% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .035) 46%, rgb(255 255 255 / .07) 50%, rgb(255 255 255 / .035) 54%, transparent 62%);
  transform: translateX(-35%); animation: fo-sweep 7.5s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
/* The edges of the plate a little darker than its middle. */
.fk-open::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 18vmax rgb(0 0 0 / .55); }
.fk-open.is-gone { visibility: hidden; }
.fo-mark { position: relative; z-index: 1; display: grid; justify-items: center; gap: clamp(12px, 1.3vw, 18px); }
.fo-cat { width: clamp(70px, 6.4vw, 100px); height: auto; overflow: visible; display: block; }
.fo-eye, .fo-ring { fill: #0b0c0e; }
.fo-ring { fill: none; stroke: #0b0c0e; stroke-width: 1.1; }
.fo-eye { transform-box: fill-box; transform-origin: 50% 50%; }
.fo-word { font: 300 clamp(11px, .9vw, 13px)/1 "Nunito Variable", Nunito, "Segoe UI", system-ui, sans-serif; letter-spacing: .62em; margin-right: -.62em; color: #e4e4e8; }
.fo-bar { position: absolute; z-index: 1; left: 50%; bottom: clamp(38px, 8vh, 84px); width: clamp(96px, 9vw, 150px); height: 2px; margin-left: calc(clamp(96px, 9vw, 150px) / -2); border-radius: 2px; background: rgb(255 255 255 / .1); overflow: hidden; transition: opacity .3s ease; }
.fo-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #7d8086, #f2f2f4); transition: transform .3s ease; }
/* Arriving, ready, opening. */
.fo-cat, .fo-word { opacity: 0; }
.fk-open.is-play .fo-cat { animation: fo-in .7s cubic-bezier(.2, .7, .3, 1) both; }
.fk-open.is-play .fo-word { animation: fo-in .7s cubic-bezier(.2, .7, .3, 1) .25s both; }
.fk-open.is-ready .fo-bar { opacity: 0; }
.fk-open.is-wink .fo-eye-r { transform: scaleY(.12); transition: transform .12s ease; }
.fk-open.is-open .fo-mark { opacity: 0; transform: scale(1.12); transition: opacity .3s ease .08s, transform .55s cubic-bezier(.5, 0, .75, 0); }
.fk-open.is-open .fo-bar { opacity: 0; }
@keyframes fo-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fo-sweep { to { transform: translateX(35%); } }
/* Still version: no moving light, everything simply there. */
.rm .fk-open::before { animation: none; }
.rm .fk-open.is-play .fo-cat, .rm .fk-open.is-play .fo-word { animation: none; opacity: 1; }

/* The Season 1 launch (OWNER 11-23: "like a press conference: lots of camera flashes, behind them the Folkio Season 1
   launch poster"): the backdrop behind the five, on the main page's first scene and behind the shattering glass, so
   the glass falls away onto the same wall the main page opens on. */
.press-wall { position: absolute; left: 4vw; right: 4vw; top: 9vh; bottom: calc(100% - var(--feet-y, 81.7vh)); border-radius: 6px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='260'%20height='124'%3E%3Cg%20fill='%23ffffff'%20fill-opacity='.075'%3E%3Cpath%20transform='translate%2822%2020%29%20scale%28.26%29'%20d='M10%2034L14%207Q15%201%2020%204L37%2020H63L80%204Q85%201%2086%207L90%2034V76Q90%2092%2074%2092H26Q10%2092%2010%2076Z'/%3E%3Ctext%20x='56'%20y='40'%20font-family='Nunito,%20Arial,%20sans-serif'%20font-size='15'%20font-weight='300'%20letter-spacing='4'%3EFOLKIO%3C/text%3E%3Cpath%20transform='translate%28152%2082%29%20scale%28.26%29'%20d='M10%2034L14%207Q15%201%2020%204L37%2020H63L80%204Q85%201%2086%207L90%2034V76Q90%2092%2074%2092H26Q10%2092%2010%2076Z'/%3E%3Ctext%20x='186'%20y='102'%20font-family='Nunito,%20Arial,%20sans-serif'%20font-size='11'%20font-weight='300'%20letter-spacing='3'%3ESEASON%201%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 260px 124px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); } /* 11-23: a thin line border and the FOLKIO watermark on pure black, no filled panel */
.press-title { position: absolute; left: 50%; top: 15vh; translate: -50% 0; display: grid; justify-items: center; gap: 1.6vh; white-space: nowrap; pointer-events: none; }
.pt-word { font: 200 clamp(84px, 14vw, 250px)/.9 "Nunito Variable", Nunito, system-ui, sans-serif; letter-spacing: .14em; margin-right: -.14em; text-transform: uppercase; color: #eceef4; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.pt-sub { font: 300 clamp(13px, 1.5vw, 24px)/1 "Nunito Variable", Nunito, system-ui, sans-serif; letter-spacing: .62em; margin-right: -.62em; text-transform: uppercase; color: rgb(236 238 244 / .78); }
@media (orientation: portrait) { .press-wall { left: 3vw; right: 3vw; top: 11vh; } .press-title { top: 16vh; } .pt-word { font-size: 17vw; } }
/* Camera flashes (src/intro/press.js): a small bright burst with a cross of light, and a faint wash over the stage
   from where it went off. */
.press-flash { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pf-pop { position: absolute; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fff 0 5%, rgb(255 255 255 / .9) 9%, rgb(214 230 255 / .36) 26%, transparent 64%); }
.pf-pop::before, .pf-pop::after { content: ''; position: absolute; left: 50%; top: 50%; width: 240%; height: 2px; translate: -50% -50%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .85) 50%, transparent); }
.pf-pop::after { rotate: 90deg; width: 150%; }
.pf-wash { position: absolute; inset: 0; opacity: 0; will-change: opacity; background: radial-gradient(ellipse 70% 60% at var(--fx, 50%) var(--fy, 90%), rgb(255 255 255 / .24), transparent 70%); }
.rm .press-flash { display: none; }

/* 11-23 (OWNER: "the cat head in the liquid metal effect, the ground pure black with a sense of light"): a pure black
   ground with one soft pool of light above the middle, and the cat larger, in liquid metal (metal.js). */
.fk-open { background-color: #000; background-image: radial-gradient(ellipse 40% 48% at 50% 40%, rgb(255 255 255 / .075), rgb(255 255 255 / .02) 45%, transparent 72%); }
.fo-catbox { position: relative; }
.fo-cat { width: clamp(120px, 12vw, 200px); }
.fo-metal { position: absolute; left: 3.94%; top: 3.94%; width: 92.1%; height: 92.1%; pointer-events: none; }
.fk-open.has-metal .fo-body { fill-opacity: 0; }
.fk-open.is-play .fo-metal { animation: fo-in .7s cubic-bezier(.2, .7, .3, 1) both; }

/* The entrance (src/intro/reveal.js, OWNER 11-23): the wall is a row of light boxes. The mark at the top is there from
   the first frame; each box comes on with a short flicker in its type's colour and throws its light on the floor;
   the large title comes up on the dark wall at the end. */
.press-top { position: absolute; left: 50%; top: 3.4vh; translate: -50% 0; display: flex; align-items: baseline; gap: 1.4em; white-space: nowrap; pointer-events: none;
  font: 300 clamp(13px, 1.25vw, 20px)/1 "Nunito Variable", Nunito, system-ui, sans-serif; letter-spacing: .62em; text-transform: uppercase; color: #eceef4; opacity: calc(1 - var(--title-o, 0)); }
.press-top span { opacity: .6; }
.press-title { opacity: var(--title-o, 0); } /* hidden until the page says so: nothing shows before the boxes */
.lightwall { position: absolute; left: 0; right: 0; top: calc(9vh + 8px); bottom: calc(100% - var(--feet-y, 81.7vh) + 1px); pointer-events: none; }
.lightwall i { position: absolute; top: 0; bottom: 0; opacity: 0; transition: opacity .55s ease;
  background: var(--img, none) var(--px, 50%) 100% / auto 54% no-repeat, radial-gradient(ellipse 90% 70% at 50% 40%, color-mix(in srgb, var(--c) 72%, #fff), var(--c) 80%); }
.lightwall i::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 24vh; background: linear-gradient(to bottom, color-mix(in srgb, var(--c) 42%, transparent), transparent 88%); }
.lightwall i.is-on { opacity: 1; transition: none; animation: lw-on .3s steps(1, end) 1; }
@keyframes lw-on { 0% { opacity: .55; } 22% { opacity: .12; } 44% { opacity: 1; } 62% { opacity: .5; } 78%, 100% { opacity: 1; } }
