/* ===============================
   NB International (Regular)
   Folder structure:
   ./NB International Regular/NB International Regular.otf
================================ */
@font-face {
  font-family: "NB International";
  src: url("./NB International Regular/NB International Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===============================
   Base
================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  position: relative;
  background: #0f111a; /* JS overrides */
  color: #f5f5f5;      /* JS overrides */
  font-family: "NB International", system-ui, -apple-system, BlinkMacSystemFont,
               "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: weight;
}

/* Smooth color transitions for text UI */
#top-left,
#logo,
#title,
#bottom-left,
#bottom-right {
  transition: color 600ms ease;
}

/* ===============================
   Background canvas
================================ */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* ===============================
   Top-left
================================ */
#top-left {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

#top-left .row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  white-space: nowrap;
}

#top-left .row + .row { margin-top: 6px; }

#top-left .place { font-weight: 500; opacity: 0.92; }
#top-left .sep   { opacity: 0.55; }
#top-left .time  { font-weight: 300; font-variant-numeric: tabular-nums; opacity: 0.92; }

/* ===============================
   Center wordmark
================================ */
#center-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#logo {
  width: clamp(120px, 22vw, 220px);
  transition: color 600ms ease;
}

#logo svg {
  width: 100%;
  height: auto;
  display: block;
}

#title {
  font-size: clamp(2.8rem, 6vw, 4.25rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===============================
   Bottom-left contact
================================ */
#bottom-left {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

#bottom-left a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  opacity: 0.9;
}
#bottom-left a:hover { opacity: 0.75; }

/* ===============================
   Bottom-right definition
================================ */
#bottom-right {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: right;
  max-width: 280px;
  opacity: 0.9;
}

/* ===============================
   Mobile
================================ */
@media (max-width: 600px) {
  #top-left { top: 16px; left: 16px; font-size: 0.8rem; }
  #title { letter-spacing: 0.20em; font-size: clamp(2.2rem, 9vw, 3.2rem); }
  #bottom-left { left: 16px; bottom: 16px; font-size: 0.8rem; }
  #bottom-right { right: 16px; bottom: 16px; font-size: 0.8rem; max-width: 220px; }
}
