/* meet.eraborn.co: Era's conference design system (the aurora stage of the booth frame and the
   mirror privacy page), around one video. Fonts are served from this site (Open Font License). */
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/assets/fonts/libre-caslon-text-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --era-ink: #0B0910;
  --font-display: "Libre Caslon Text", ui-serif, Georgia, serif;
  --font-text: "Urbanist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --aurora-stage:
    radial-gradient(58% 78% at 22% 34%, rgba(107,47,168,.95) 0%, rgba(107,47,168,0) 62%),
    radial-gradient(46% 62% at 62% 22%, rgba(109,26,85,.85) 0%, rgba(109,26,85,0) 66%),
    radial-gradient(70% 90% at 88% 76%, rgba(30,11,34,.95) 0%, rgba(30,11,34,0) 70%),
    radial-gradient(60% 70% at 8% 96%, rgba(42,42,106,.85) 0%, rgba(42,42,106,0) 68%),
    #0B0910;
  /* Era's gradient colours, for the glow behind the video. */
  --glow: linear-gradient(120deg, #E0457B 0%, #FF7A45 38%, #9A5FD6 70%, #4B1B8F 100%);
  --display: #FFFFFF;
  --muted: rgba(255,255,255,.70);
  --frame-edge: rgba(255,255,255,.16);
  --frame-fill: rgba(255,255,255,.06);
  --focus: #B98CFF;
  --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px;
  --r-frame: 24px; --r-video: 16px;
  --max: 1040px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--era-ink); }
body { margin: 0; min-height: 100vh; min-height: 100svh; color: var(--display); font-family: var(--font-text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* The aurora stays put while the page scrolls (a fixed layer, since a fixed background judders on iOS). */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--aurora-stage); }

a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }

.page { position: relative; max-width: var(--max); margin-inline: auto; padding: var(--sp-8) var(--sp-4) var(--sp-16); }

.top { display: flex; align-items: center; min-height: 40px; }
.wordmark { display: block; height: 26px; width: auto; filter: invert(1); }

.title { margin: var(--sp-12) 0 var(--sp-8); text-align: center; font-weight: 400; font-size: clamp(34px, 7vw, 56px); line-height: 1.08; letter-spacing: -.01em; }
.title em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.title a { color: inherit; text-decoration: none; }

/* The frame: a glass edge around the video, with Era's gradient colours glowing behind it. */
.frame { position: relative; padding: 8px; border-radius: var(--r-frame); background: var(--frame-fill); border: 1px solid var(--frame-edge); box-shadow: 0 30px 80px -24px rgba(11,9,16,.9); }
.frame::before { content: ""; position: absolute; inset: 6% 4%; z-index: -1; border-radius: 50%; background: var(--glow); filter: blur(60px); opacity: .45; }
.frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-video); background: #000; }

@media (min-width: 720px) {
  .page { padding: var(--sp-10) var(--sp-8) var(--sp-16); }
  .frame { padding: 12px; }
}
