@font-face {
  font-family: "Sk Modernist";
  src: url("fonts/Sk-Modernist-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sk Modernist";
  src: url("fonts/Sk-Modernist-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sk Modernist Mono";
  src: url("fonts/Sk-Modernist-Mono.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ov Cotin";
  src: url("fonts/ov cotin-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ov Cotin";
  src: url("fonts/ov cotin-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ov Cotin";
  src: url("fonts/ov cotin-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  font-family: "Sk Modernist", -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.frame {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #000;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition:
    width 2s cubic-bezier(0.65, 0, 0.35, 1),
    height 2s cubic-bezier(0.65, 0, 0.35, 1),
    border-radius 2s cubic-bezier(0.65, 0, 0.35, 1);
}

.frame.shrink {
  width: 560px;
  height: 315px;
  border-radius: 18px;
}

.flicker {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.chrome {
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 28px 36px;
  z-index: 50;
  opacity: 0;
  transition: opacity 1s ease-in-out 1.6s;
  pointer-events: none;
}

.chrome a,
.chrome span,
.chrome img {
  pointer-events: auto;
}

.chrome.visible {
  opacity: 1;
}

.chrome-top {
  top: 0;
  justify-content: flex-start;
}

.chrome-bottom {
  bottom: 0;
  justify-content: flex-end;
}

.logo {
  display: block;
  height: 20px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.wordmark {
  font-family: "Ov Cotin", serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #fff;
}

.meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.meta-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  font-family: "Sk Modernist", sans-serif;
  font-size: 19px;
  color: #fff;
  line-height: 1;
}

.link {
  font-family: "Sk Modernist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.link:hover {
  opacity: 0.75;
}

.tagline {
  font-family: "Sk Modernist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 640px) {
  .frame.shrink {
    width: 320px;
    height: 180px;
    border-radius: 10px;
  }
  .chrome {
    padding: 18px 20px;
  }
  .logo {
    height: 16px;
  }
  .wordmark {
    font-size: 18px;
  }
  .link {
    font-size: 11px;
  }
  .tagline {
    font-size: 11px;
  }
  .meta {
    gap: 4px;
  }
}
