/* The server files beta page in "Relic Wings", the design of mu-reimagined.com (tucka3-prog/mu-s6-website at fb2aeee:
   wwwroot/css tokens.css, base.css, r3.css, pages/home.css). Only the rules this page shows, with r3's values
   applied: the hall background, the hero (the wings under the beam, the forged MU), the price in the hero-facts frame
   (steel-blade corners), the white gem for the beta state, the footer. */

@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/Iurb6YFw84WUY4NJiBak.woff2) format("woff2"); }
@font-face { font-family: "Syncopate"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/pe0pMIuPIYBCpEV5eFdKvtKqBP5v.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/rnCr-xNNww_2s0amA9M5kng.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --c-bg: #070708;
  --c-text: #dcdbd6;
  --c-text-3: #a9a8a1;
  --c-steel-hi: #c4c3be;
  --c-iron: #2e2e32;
  --c-gem-live: #eef0f2;
  --sh-gem-live: 0 0 10px rgba(238, 240, 242, 0.85);
  --g-seam: linear-gradient(90deg, transparent, rgba(140, 139, 136, 0.6) 18%, rgba(238, 240, 242, 0.95) 50%, rgba(140, 139, 136, 0.6) 82%, transparent);
  --font-display: "Gloock", "Bodoni Moda", Didot, Georgia, serif;
  --font-label: "Syncopate", "Michroma", "Arial Black", Arial, sans-serif;
  --font-body: "Spectral", Georgia, "Times New Roman", serif;
  --fs-xs: 0.8125rem;
  --fs-md: 1.0625rem;
  --fs-3xl: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);
  --fs-hero: clamp(5rem, 3.2rem + 6.4vw, 8.4rem);
  --lh-title: 1.12;
  --lh-body: 1.6;
  --ls-display: 0.02em;
  --sp-3: 12px;
  --sp-5: 24px;
  --sp-6: 32px;
  --dur-seam: 7s;
  --dur-breathe: 8s;
  --container: 1200px;
  --orn-corner-tl: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><defs><linearGradient id='s' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f1f1ee'/><stop offset='.5' stop-color='%238c8b88'/><stop offset='.53' stop-color='%23353538'/><stop offset='1' stop-color='%2377777a'/></linearGradient></defs><g fill='url(%23s)' stroke='%23c9a24a' stroke-width='.6'><path d='M10 5 Q31 1.4 71 5 Q31 8.6 10 5 Z'/><path d='M5 10 Q1.4 31 5 71 Q8.6 31 5 10 Z'/></g><path d='M5 .5 L9.5 5 L5 9.5 L.5 5 Z' fill='%23eef0f2' stroke='%23c9a24a' stroke-width='.6'/></svg>");
  --orn-corner-tr: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><defs><linearGradient id='s' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f1f1ee'/><stop offset='.5' stop-color='%238c8b88'/><stop offset='.53' stop-color='%23353538'/><stop offset='1' stop-color='%2377777a'/></linearGradient></defs><g transform='translate(72 0) scale(-1 1)'><g fill='url(%23s)' stroke='%23c9a24a' stroke-width='.6'><path d='M10 5 Q31 1.4 71 5 Q31 8.6 10 5 Z'/><path d='M5 10 Q1.4 31 5 71 Q8.6 31 5 10 Z'/></g><path d='M5 .5 L9.5 5 L5 9.5 L.5 5 Z' fill='%23eef0f2' stroke='%23c9a24a' stroke-width='.6'/></g></svg>");
  --orn-corner-bl: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><defs><linearGradient id='s' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f1f1ee'/><stop offset='.5' stop-color='%238c8b88'/><stop offset='.53' stop-color='%23353538'/><stop offset='1' stop-color='%2377777a'/></linearGradient></defs><g transform='translate(0 72) scale(1 -1)'><g fill='url(%23s)' stroke='%23c9a24a' stroke-width='.6'><path d='M10 5 Q31 1.4 71 5 Q31 8.6 10 5 Z'/><path d='M5 10 Q1.4 31 5 71 Q8.6 31 5 10 Z'/></g><path d='M5 .5 L9.5 5 L5 9.5 L.5 5 Z' fill='%23eef0f2' stroke='%23c9a24a' stroke-width='.6'/></g></svg>");
  --orn-corner-br: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><defs><linearGradient id='s' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f1f1ee'/><stop offset='.5' stop-color='%238c8b88'/><stop offset='.53' stop-color='%23353538'/><stop offset='1' stop-color='%2377777a'/></linearGradient></defs><g transform='translate(72 72) scale(-1 -1)'><g fill='url(%23s)' stroke='%23c9a24a' stroke-width='.6'><path d='M10 5 Q31 1.4 71 5 Q31 8.6 10 5 Z'/><path d='M5 10 Q1.4 31 5 71 Q8.6 31 5 10 Z'/></g><path d='M5 .5 L9.5 5 L5 9.5 L.5 5 Z' fill='%23eef0f2' stroke='%23c9a24a' stroke-width='.6'/></g></svg>");
  --orn-blade-l: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='14' viewBox='0 0 64 14'><defs><linearGradient id='s' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f4f4f1'/><stop offset='.48' stop-color='%239a9995'/><stop offset='.52' stop-color='%23353538'/><stop offset='1' stop-color='%236f6f72'/></linearGradient></defs><path d='M62 7 Q36 3.4 1 7 Q36 10.6 62 7 Z' fill='url(%23s)' stroke='%23c9a24a' stroke-width='.5'/></svg>");
  --orn-blade-r: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='14' viewBox='0 0 64 14'><defs><linearGradient id='s' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f4f4f1'/><stop offset='.48' stop-color='%239a9995'/><stop offset='.52' stop-color='%23353538'/><stop offset='1' stop-color='%236f6f72'/></linearGradient></defs><path d='M2 7 Q28 3.4 63 7 Q28 10.6 2 7 Z' fill='url(%23s)' stroke='%23c9a24a' stroke-width='.5'/></svg>");
}
@media (min-width: 1600px) { :root { --container: 1440px; } }

*, *::before, *::after { box-sizing: border-box; }
/* the carved hall behind the whole page, fixed, so it stays put while the page scrolls */
html { -webkit-text-size-adjust: 100%; background: url(../img/bg-hall.webp) center top / cover fixed var(--c-bg); }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; color: var(--c-text); font-family: var(--font-body); font-size: var(--fs-md); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
main { flex: 1; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, p { margin: 0; }
::selection { background: rgba(238, 240, 242, 0.25); color: #fff; }
/* the SVG lighting filters: out of the flow, still rendered (a display: none SVG's filters do not apply) */
.kit-filters { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 640px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 960px) { .wrap { padding-left: 32px; padding-right: 32px; } }

/* ---------- The hero: the wings on the pedestal, the beam over the picture's own beam, the glint along the gold
   feather edges (masked by the picture's own gold), the plaque over the picture's lower part ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-areas: "stage" "plaque"; }
.hero__art, .hero__glow, .hero__glint { grid-area: stage; }
.hero__art { position: relative; z-index: -3; width: 100%; height: min(160vw, 78vh); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, #000 72%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, #000 72%, transparent); mask-composite: intersect; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__glow { z-index: -1; justify-self: center; align-self: start; width: 21%; height: 72%; pointer-events: none; mix-blend-mode: screen; opacity: 0.55;
  background: linear-gradient(to bottom, rgba(234, 235, 236, 0.5), rgba(234, 235, 236, 0.16) 70%, rgba(234, 235, 236, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
  animation: breathe var(--dur-breathe) ease-in-out infinite; }
.hero__glint { z-index: -1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(110deg, transparent 0 40%, rgba(255, 244, 214, 0) 43%, rgba(255, 240, 200, 0.95) 50%, rgba(255, 244, 214, 0) 57%, transparent 60% 100%) 100% 0 / 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 50% 40%; mask-position: 50% 40%; -webkit-mask-size: cover; mask-size: cover;
  -webkit-mask-image: url(../img/gold-tall.webp); mask-image: url(../img/gold-tall.webp);
  animation: glint 7s ease-in-out 2.8s infinite; }
.hero > .wrap { grid-area: plaque; position: relative; z-index: 2; margin-top: calc(-0.24 * min(160vw, 78vh)); }
.hero__content { position: relative; display: grid; justify-items: center; text-align: center; gap: var(--sp-5); padding-block: 0 72px; }
.hero__content::before { content: ""; position: absolute; inset: -60px -10% auto; height: 320px; z-index: -1; pointer-events: none; background: radial-gradient(30% 60% at 50% 0%, rgba(234, 235, 236, 0.08), transparent 72%); }

/* the one heading holds the name and the page's title; each part sets its own type */
.hero__title { display: grid; justify-items: center; gap: var(--sp-5); margin: 0; font: inherit; }
/* the name: "MU" forged in dark steel (filter steel-hero-v3), the rest engraved between two steel blades */
.lockup { display: grid; justify-items: center; gap: 0.9rem; }
.lockup__mu { font-family: var(--font-display); font-size: var(--fs-hero); line-height: 0.82; letter-spacing: 0.04em; filter: url(#steel-hero-v3); color: var(--c-steel-hi); padding-inline: 0.06em; }
.lockup__line { display: flex; align-items: center; gap: 1em; font-family: var(--font-label); font-size: clamp(0.78rem, 0.62rem + 0.5vw, 1.05rem); font-weight: 700; letter-spacing: 0.5em; text-transform: uppercase; color: var(--c-steel-hi); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.95); }
.lockup__line::before, .lockup__line::after { content: ""; width: 4.4em; height: 1em; background: var(--orn-blade-l) center / contain no-repeat; }
.lockup__line::after { background-image: var(--orn-blade-r); margin-left: -0.5em; }

/* the page's title in lit steel (the site's section titles, one size up) */
.files-title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-3xl); line-height: var(--lh-title); letter-spacing: var(--ls-display); filter: url(#steel-title); color: var(--c-steel-hi); padding-inline: 0.06em; }

/* a state is a gem: the beta wears the white one, pulsing */
.ui-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; padding: 0 10px 0 9px; background: rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px var(--c-iron); color: #fff; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px); }
.ui-badge::before { content: ""; width: 5px; height: 5px; flex: none; transform: rotate(45deg); background: var(--c-gem-live); box-shadow: var(--sh-gem-live); animation: dot-pulse 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }

/* the price: the home hero's facts frame (steel-blade corners, fading hairlines), its values forged */
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 640px; padding: 26px 14px 22px; }
.hero-facts::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--orn-corner-tl) left top / 56px 56px no-repeat, var(--orn-corner-tr) right top / 56px 56px no-repeat, var(--orn-corner-bl) left bottom / 56px 56px no-repeat, var(--orn-corner-br) right bottom / 56px 56px no-repeat,
    linear-gradient(90deg, rgba(196, 195, 190, 0.4), rgba(196, 195, 190, 0) 22%, rgba(196, 195, 190, 0) 78%, rgba(196, 195, 190, 0.4)) left 0 top 3.5px / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(196, 195, 190, 0.4), rgba(196, 195, 190, 0) 22%, rgba(196, 195, 190, 0) 78%, rgba(196, 195, 190, 0.4)) left 0 bottom 3.5px / 100% 1px no-repeat; }
.hero-fact { position: relative; display: grid; gap: 10px; justify-items: center; padding: 2px 8px; min-width: 0; }
.hero-fact + .hero-fact::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(238, 240, 242, 0.4), transparent); }
.hero-fact__value { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.2rem); line-height: 1; white-space: nowrap; filter: url(#steel-title); color: var(--c-steel-hi); padding-inline: 0.06em; }
/* the fixed hall's lit floor can pass behind a label: a dark halo keeps it readable there */
.hero-fact__label { font-family: var(--font-label); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-text-3); text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.85); }

@media (min-width: 761px) {
  .hero__art { height: auto; aspect-ratio: 1536 / 676; max-width: 1760px; margin-inline: auto; }
  .hero__art img { object-position: 50% 18%; }
  .hero__glow { width: 12%; height: 98.5%; }
  .hero__glint { -webkit-mask-position: 50% 18%; mask-position: 50% 18%; -webkit-mask-image: url(../img/gold-wide.webp); mask-image: url(../img/gold-wide.webp); }
  .hero > .wrap { margin-top: -4vw; }
}

/* ---------- The footer: the beam line on top, the name and the trademark line ---------- */
.site-footer { position: relative; padding-block: var(--sp-6) calc(var(--sp-6) + env(safe-area-inset-bottom, 0px)); background: rgba(7, 7, 8, 0.86); color: var(--c-text-3); font-size: var(--fs-xs); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--g-seam); background-size: 200% 100%; animation: seam-flow var(--dur-seam) linear infinite; opacity: 0.5; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); }

@keyframes seam-flow { from { background-position: 200% 0; } to { background-position: 0% 0; } }
@keyframes breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.95; } }
@keyframes glint { 0%, 52% { background-position: 100% 0; } 82%, 100% { background-position: 0 0; } }
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
