/* ARKMUNDI - sito a scroll (versione 2). Mondo: marmo caldo, oro, viola cosmico. Linguaggio unico: la cornice. */
:root {
  --umber: #0b0806; --umber2: #17110c; --ivory: #f1e9d8;
  --gold: #d9b672; --gold-hi: #f1dba6; --gold-lo: #9a7131;
  --cream: #f7f3ec; --cream2: #efe8dc; --ink: #1b1a1f; --ink2: #4a4650; --bronze: #a8793c; --bronze2: #8c6230;
  --night: #070b16; --lav: #d9ccff; --line: rgba(27, 26, 31, .14);
  --cap: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --hh: 72px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.loading, html.opera-open { overflow: hidden; }
body { margin: 0; background: var(--umber); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 400; background: var(--gold); color: #1a1209; padding: 10px 16px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- caricamento ---------- */
#load { position: fixed; inset: 0; z-index: 300; background: var(--umber); display: grid; place-items: center; transition: opacity .8s ease, visibility 0s linear .8s; }
#load.done { opacity: 0; visibility: hidden; }
.load-in { text-align: center; }
.load-in b { display: block; font: 500 clamp(22px, 3vw, 34px)/1 var(--cap); letter-spacing: .5em; margin-right: -.5em; color: var(--gold-hi); }
.load-in i { display: block; width: 160px; height: 1px; margin: 26px auto 0; background: rgba(217, 182, 114, .25); overflow: hidden; }
.load-in u { display: block; height: 100%; width: 0; background: var(--gold); transition: width .25s ease; }

/* ---------- barra superiore ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 120; height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(16px, 2.6vw, 36px);
  color: var(--ivory); transition: color .35s, background-color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.bar::before { content: ""; position: absolute; inset: 0 0 -46px 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(8, 5, 3, .66), rgba(8, 5, 3, 0)); transition: opacity .35s; }
.bar.on-light { color: var(--ink); }
.bar.on-light::before { background: linear-gradient(to bottom, rgba(247, 243, 236, .72), rgba(247, 243, 236, 0)); }
.bar.solid { background: rgba(247, 243, 236, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.bar.solid::before { opacity: 0; }
.bar.dk { background: rgba(8, 6, 4, .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: rgba(217, 182, 114, .18); }
.bar.dk::before { opacity: 0; }
.bar:not(.solid):not(.on-light) nav a { text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.logo b { font: 500 21px/1 var(--cap); letter-spacing: .34em; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.bar.solid .logo b, .bar.on-light .logo b { text-shadow: none; }
.logo span { font: 400 14px/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.bar.solid .logo span, .bar.on-light .logo span { color: var(--bronze2); }
nav { display: flex; align-items: center; gap: 26px; }
nav a { white-space: nowrap; text-decoration: none; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; opacity: .86; transition: opacity .2s, color .2s; }
nav a:hover, nav a:focus-visible { opacity: 1; color: var(--gold); outline: none; }
.bar.solid nav a:hover, .bar.on-light nav a:hover { color: var(--bronze); }
.burger { display: none; background: none; border: 1px solid currentColor; width: 44px; height: 44px; color: inherit; cursor: pointer; position: relative; opacity: .9; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; top: 17px; transition: transform .3s; }
.burger i + i { top: 25px; }
.burger[aria-expanded="true"] i { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i + i { transform: rotate(-45deg); }
@media (max-width: 1320px) { .logo span { display: none; } nav { gap: 20px; } }
@media (max-width: 980px) {
  .burger { display: block; }
  nav { position: fixed; inset: var(--hh) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 28px 20px; background: rgba(11, 8, 6, .96); color: var(--ivory); border-bottom: 1px solid rgba(217, 182, 114, .3); display: none; }
  nav.open { display: flex; } nav a { padding: 13px 0; width: 100%; font-size: 13px; }
}

/* ---------- bottoni ---------- */
.btn { display: inline-block; text-decoration: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding: 15px 30px; border: 1px solid var(--bronze); transition: background .3s, color .3s, box-shadow .3s, transform .2s; position: relative; overflow: hidden; }
.btn.solid { background: var(--bronze); color: #fff; }
.btn.solid:hover, .btn.solid:focus-visible { background: var(--bronze2); box-shadow: 0 8px 26px rgba(140, 98, 48, .35); outline-offset: 4px; }
.btn.line { background: transparent; color: var(--bronze2); }
.btn.line:hover, .btn.line:focus-visible { background: rgba(168, 121, 60, .1); }
.btn:active { transform: translateY(1px) scale(.99); }
.plate .btn.solid, .dark .btn.solid, .opera .btn.solid, .wcard .btn, .endbox .btn.solid { background: linear-gradient(180deg, #e8c987, #b98a3e); color: #1a1209; border-color: #e8c987; box-shadow: 0 0 0 rgba(255, 200, 110, 0); }
.plate .btn.solid::after, .dark .btn.solid::after, .opera .btn.solid::after, .endbox .btn.solid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s ease; }
.plate .btn.solid:hover::after, .dark .btn.solid:hover::after, .opera .btn.solid:hover::after, .endbox .btn.solid:hover::after { transform: translateX(120%); }
.plate .btn.solid:hover, .dark .btn.solid:hover, .opera .btn.solid:hover, .wcard .btn:hover, .endbox .btn.solid:hover { box-shadow: 0 0 34px rgba(255, 200, 110, .45); background: linear-gradient(180deg, #f1d79b, #c79a4d); }

/* ---------- il tasto Entra, sull'arca ---------- */
.endbox { position: absolute; left: 0; right: 0; bottom: clamp(26px, 8vh, 84px); text-align: center; opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity, transform; z-index: 6; }
.endbox .btn.solid { font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .42em; padding: 20px 64px 20px 70px; border-radius: 99px; box-shadow: 0 0 40px rgba(255, 200, 110, .35), 0 10px 30px rgba(0, 0, 0, .5); animation: respira 3.2s ease-in-out infinite; }
@keyframes respira { 0%, 100% { box-shadow: 0 0 30px rgba(255, 200, 110, .28), 0 10px 30px rgba(0, 0, 0, .5); } 50% { box-shadow: 0 0 58px rgba(255, 210, 130, .55), 0 10px 30px rgba(0, 0, 0, .5); } }
nav a#skip { border: 1px solid rgba(217, 182, 114, .55); padding: 9px 16px; border-radius: 99px; color: var(--gold); opacity: 1; }
nav a#skip:hover, nav a#skip:focus-visible { background: rgba(217, 182, 114, .16); color: var(--gold-hi); }
.bar.solid nav a#skip, .bar.on-light nav a#skip { color: var(--bronze2); border-color: var(--bronze); }

/* ---------- il film ---------- */
.film { position: relative; height: 1607vh; background: var(--umber); }
.stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--umber); }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 75% at 50% 46%, transparent 52%, rgba(4, 2, 1, .5) 100%); }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* la cornice d'oro: doppia linea, angoli a losanga */
.cornice { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform, width, height, opacity;
  border: 3px solid transparent; border-image: linear-gradient(135deg, var(--gold-hi), var(--gold-lo) 42%, var(--gold) 68%, var(--gold-hi)) 1;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 60px rgba(217, 182, 114, .1); }
.cornice::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(241, 219, 166, .5); }
.cornice i { position: absolute; width: 11px; height: 11px; background: var(--gold-hi); rotate: 45deg; box-shadow: 0 0 12px rgba(255, 210, 130, .6); }
.cornice i:nth-child(1) { left: -7px; top: -7px; } .cornice i:nth-child(2) { right: -7px; top: -7px; }
.cornice i:nth-child(3) { left: -7px; bottom: -7px; } .cornice i:nth-child(4) { right: -7px; bottom: -7px; }

/* il cartellino del museo */
.plate { position: absolute; left: 0; right: 0; text-align: center; padding: 0 20px; will-change: transform, opacity; color: var(--ivory); }
.plate-eyebrow { margin: 0 0 12px; font: 400 11px/1.4 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); }
.plate-name { margin: 0; font: 500 clamp(30px, 4.4vw, 58px)/1 var(--cap); letter-spacing: .42em; margin-right: -.42em; color: var(--gold-hi); text-shadow: 0 2px 30px rgba(217, 182, 114, .25); }
.plate-line { margin: 14px 0 22px; font: italic 400 clamp(19px, 1.9vw, 25px)/1.3 var(--serif); color: var(--ivory); opacity: .92; }
.plate::before { content: ""; display: block; width: 64px; height: 1px; margin: 0 auto 14px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.beat { position: absolute; left: 50%; bottom: 17vh; width: min(900px, 90vw); margin: 0; translate: -50% 0; text-align: center; opacity: 0; pointer-events: none; will-change: opacity, transform;
  font: italic 500 clamp(28px, 4.4vw, 62px)/1.12 var(--serif); color: #fff; text-shadow: 0 2px 40px rgba(6, 3, 1, .9), 0 0 16px rgba(6, 3, 1, .6); }
.beat::before { content: ""; position: absolute; z-index: -1; inset: -90% -20%; background: radial-gradient(55% 55% at 50% 50%, rgba(6, 3, 1, .62), rgba(6, 3, 1, .3) 50%, transparent 78%); }

/* cornice sui quadri di Enzo + didascalia con bottone */
.works { position: absolute; inset: 0; pointer-events: none; }
.wframe { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; will-change: transform, width, height, opacity; }
.wframe::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(241, 219, 166, .42); box-shadow: 0 0 56px rgba(255, 205, 120, .16), inset 0 0 36px rgba(255, 205, 120, .07); }
.wframe i { position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold-hi); filter: drop-shadow(0 0 6px rgba(255, 200, 110, .65)); }
.wframe i:nth-child(1) { left: -2px; top: -2px; border-right: 0; border-bottom: 0; } .wframe i:nth-child(2) { right: -2px; top: -2px; border-left: 0; border-bottom: 0; }
.wframe i:nth-child(3) { left: -2px; bottom: -2px; border-right: 0; border-top: 0; } .wframe i:nth-child(4) { right: -2px; bottom: -2px; border-left: 0; border-top: 0; }
.wcard { position: absolute; bottom: clamp(26px, 7vh, 72px); width: min(350px, calc(100vw - 32px)); padding: 20px 24px 24px; color: var(--ivory); opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity, transform;
  background: rgba(11, 8, 6, .78); border: 1px solid rgba(217, 182, 114, .5); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.wcard::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(217, 182, 114, .22); pointer-events: none; }
.wcard.l { left: clamp(16px, 4vw, 56px); } .wcard.r { right: clamp(16px, 4vw, 56px); }
.wcard .k { margin: 0; font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.wcard h3 { margin: 10px 0 16px; font: italic 500 clamp(26px, 2.4vw, 34px)/1.05 var(--serif); color: #fff; }
.wcard .btn { padding: 12px 22px; font-size: 12px; letter-spacing: .2em; }
.wcard.on { visibility: visible; pointer-events: auto; }

/* menu nella galassia */
.menu { position: absolute; inset: 0; visibility: hidden; pointer-events: none; --u: 100vh; }
.menu.on { visibility: visible; pointer-events: auto; }
.mstage { position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 16 / 9); height: var(--u); margin: calc(var(--u) / -2) 0 0 calc(var(--u) * -8 / 9); --icon: .282; }
.slot { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: calc(var(--u) * var(--icon)); height: calc(var(--u) * var(--icon));
  margin: calc(var(--u) * var(--icon) / -2) 0 0 calc(var(--u) * var(--icon) / -2); padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; display: block;
  mix-blend-mode: screen; -webkit-tap-highlight-color: transparent; outline: none; opacity: 0;
  translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px); }
.slot img { position: absolute; display: block; user-select: none; -webkit-user-drag: none; }
.slot .ico { inset: 0; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .45s ease; }
.slot:hover .ico, .slot:focus-visible .ico { transform: scale(1.07); filter: brightness(1.22) saturate(1.08); }
.slot:active .ico { transform: scale(1.03); }
.slot .tit { left: 50%; top: 87%; width: 115.7%; translate: -50% 0; transition: filter .45s ease; }
.ark:hover .tit, .ark:focus-visible .tit { filter: brightness(1.25) drop-shadow(0 0 18px rgba(255, 170, 60, .55)); }
.slot .soon { left: 50%; top: 88.6%; width: 75.8%; translate: -50% 0; }
.locked.shake .ico { animation: shake .5s ease; }
@keyframes shake { 0%, 100% { translate: 0; } 20% { translate: -7px; } 40% { translate: 6px; } 60% { translate: -4px; } 80% { translate: 3px; } }
.toast { position: absolute; left: 50%; bottom: 5%; translate: -50% 12px; padding: .55em 1.3em; border-radius: 99px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lav);
  background: rgba(18, 10, 40, .72); border: 1px solid rgba(190, 170, 255, .35); box-shadow: 0 0 24px rgba(150, 110, 255, .35); opacity: 0; pointer-events: none; transition: opacity .35s ease, translate .35s ease; z-index: 5; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- sezioni sotto il film ---------- */
.sec { position: relative; padding: 110px 0; background: var(--cream); }
.sec.alt { background: var(--cream2); }
.sec.dark { background: var(--night) url("../img/sito/galassia.webp") center / cover no-repeat; color: #e9e4f7; padding: 130px 0 120px; }
.sec.dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #02030a 0, rgba(2, 3, 10, 0) 240px), linear-gradient(180deg, rgba(7, 11, 22, .9), rgba(7, 11, 22, .55) 40%, rgba(7, 11, 22, .92)); }
.sec.dark .wrap { position: relative; }
.sec.land { padding-top: 210px; }
.sec.land::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 240px; background: linear-gradient(180deg, var(--night), rgba(247, 243, 236, 0)), linear-gradient(180deg, transparent, var(--cream) 96%); pointer-events: none; }
.sec.land > .wrap { position: relative; }
.kicker { margin: 0 0 14px; font: 500 12px/1.4 var(--cap); letter-spacing: .34em; text-transform: uppercase; color: var(--bronze2); }
.dark .kicker { color: var(--gold); }
.title { margin: 0 0 26px; font: 500 clamp(36px, 4.4vw, 58px)/1.08 var(--serif); }
.cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.cols p { margin: 0 0 18px; color: var(--ink2); }
.dark .cols p { color: #cfc9e2; }
.m { font-weight: 500; }
.quote { font: italic 400 clamp(26px, 2.6vw, 34px)/1.3 var(--serif) !important; color: var(--ink) !important; border-left: 2px solid var(--bronze); padding-left: 26px; margin: 0 !important; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 30px; font: 400 24px/1.2 var(--serif); letter-spacing: .08em; }
.pillars i { font-style: normal; color: var(--bronze); }
.arche { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 48px 0 0; padding: 0; counter-reset: a; }
.arche li { list-style: none; counter-increment: a; padding: 18px 22px; position: relative; border: 1px solid rgba(217, 182, 114, .3); background: rgba(14, 12, 34, .5); font: 400 22px/1.25 var(--serif); }
.arche li::before { content: counter(a, decimal-leading-zero); display: block; font: 500 11px/1 var(--cap); letter-spacing: .3em; color: var(--gold); margin-bottom: 8px; }
.arche li::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(217, 182, 114, .12); pointer-events: none; }
.center { text-align: center; margin: 52px 0 0 !important; }
.team, .soon3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 46px; }
.soon3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { position: relative; background: #fff; border: 1px solid rgba(168, 121, 60, .4); padding: 30px 28px; }
.card::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(168, 121, 60, .16); pointer-events: none; }
.card h3 { margin: 0 0 4px; font: 500 26px/1.15 var(--serif); }
.card .role { margin: 0 0 12px; font: 500 11.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze2); }
.card p { margin: 0; color: var(--ink2); font-size: 16px; }
.tag { display: inline-block; margin-top: 16px; font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--bronze2); border: 1px solid var(--bronze); padding: 6px 12px; }
.note { font-size: 14px; color: var(--ink2); max-width: 760px; margin: 0; }
footer { background: var(--ink); color: #cfc8d8; padding: 54px 0 40px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: baseline; }
footer b { font: 500 22px/1.4 var(--cap); letter-spacing: .3em; color: #fff; }

/* ---------- scheda dell'opera ---------- */
.opera { position: fixed; inset: 0; z-index: 200; background: rgba(8, 6, 4, .95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .45s ease; color: var(--ivory); }
.opera[hidden] { display: none; }
.opera.on { opacity: 1; }
.op-in { min-height: 100%; width: min(1180px, 100% - 48px); margin: 0 auto; padding: 96px 0 56px; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.op-close { position: fixed; top: 20px; left: clamp(16px, 2.6vw, 36px); z-index: 2; background: rgba(11, 8, 6, .6); color: var(--ivory); border: 1px solid rgba(217, 182, 114, .5); border-radius: 99px; padding: 11px 22px; font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .25s, box-shadow .25s; }
.op-close:hover, .op-close:focus-visible { background: rgba(217, 182, 114, .16); box-shadow: 0 0 26px rgba(217, 182, 114, .3); }
.op-fig { margin: 0; padding: 18px; background: #15100b; border: 1px solid rgba(217, 182, 114, .55); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); position: relative; }
.op-fig::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(217, 182, 114, .25); pointer-events: none; }
.op-fig img { width: 100%; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.opera .kicker { color: var(--gold); }
.op-title { margin: 0 0 6px; font: 500 clamp(40px, 5vw, 70px)/1.02 var(--serif); }
.op-by { margin: 0 0 26px; font: italic 400 24px/1.2 var(--serif); color: var(--gold-hi); }
.op-desc { margin: 0 0 32px; color: #d8d0bf; max-width: 36ch; }
.op-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.op-note { margin: 0; font-size: 14px; color: var(--gold); min-height: 1.4em; }
@media (max-width: 900px) { .op-in { grid-template-columns: 1fr; padding-top: 84px; } .op-fig img { max-height: 52vh; } }

/* ---------- schermi verticali (telefono) ---------- */
@media (max-aspect-ratio: 4 / 5) {
  .menu { background: #02030a url("../img/bg_galassia.jpg") center / cover no-repeat; opacity: 0; }
  .mstage { position: absolute; inset: 0; width: auto; height: auto; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3vh 2vw; padding: 13vh 6vw 6vh; align-content: center; justify-items: center; }
  .slot { position: relative; left: auto; top: auto; margin: 0; width: 100%; height: auto; max-width: min(36vw, 22vh); aspect-ratio: 1; }
  .ark { grid-column: 1 / -1; max-width: min(52vw, 26vh); margin-bottom: 5vh; }
  .locked:last-of-type { grid-column: 1 / -1; }
  .toast { position: fixed; bottom: 4%; }
  .beat { bottom: 8vh; }
  .wcard { left: 16px !important; right: 16px !important; width: auto; bottom: 20px; padding: 16px 18px 18px; }
  .wcard h3 { margin-bottom: 12px; }
}
@media (max-width: 980px) {
  .cols { grid-template-columns: 1fr; gap: 34px; }
  .sec { padding: 78px 0; } .sec.land { padding-top: 160px; } .sec.dark { padding: 90px 0; }
  .film { height: 1450vh; }
}
@media (prefers-reduced-motion: reduce) {
  #load, .opera, .toast, .btn, .btn::after { transition: none !important; }
  .grain { display: none; }
  .endbox .btn.solid { animation: none; }
}

