html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: #050505;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.bg-video {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: grayscale(100%) contrast(112%) brightness(82%);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.42) 72%,
      rgba(0, 0, 0, 0.68) 100%
    );
}

.panel {
  width: min(88vw, 760px);
  padding: 48px 24px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.08em;
}

.subtitle {
  margin: 18px 0 58px;
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  opacity: 0.68;
}

button {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

button:active {
  transform: scale(0.97);
}

button:focus-visible {
  outline: 1px solid #ffffff;
  outline-offset: 8px;
}

#icon {
  display: block;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.15s ease;
}

#icon.play {
  transform: translateX(2px);
}

#icon.stop {
  transform: translateX(0);
}

.fullscreen-button {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    transition: color .2s ease, opacity .2s ease;
}

.fullscreen-button:hover {
    color: white;
}

.fullscreen-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.is-hidden {
  display: none;
}

@media (max-width: 600px) {
  .panel {
    padding: 32px 18px;
  }

  .subtitle {
    margin-bottom: 46px;
  }

  #toggle {
    width: 74px;
    height: 74px;
  }

  .fullscreen-button {
    top: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}


.logo {
  display: block;
  width: min(420px, 68vw);
  max-height: 46vh;
  object-fit: contain;
  margin: 0 auto 46px;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 600px) {
  .logo {
    width: min(340px, 76vw);
    max-height: 42vh;
    margin-bottom: 38px;
  }
}


/* Background video is decorative: never show browser-native video controls. */
.bg-video {
  pointer-events: none;
}

.bg-video::-webkit-media-controls,
.bg-video::-webkit-media-controls-panel,
.bg-video::-webkit-media-controls-play-button,
.bg-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
}


.info-button {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 6;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.58);
  font-size: 22px;
  line-height: 1;
  padding: 0;
}

.info-button:hover {
  background: transparent;
  color: #fff;
  transform: none;
}

.info-button:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
}

.info-modal.is-open {
  display: block;
}

.info-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.info-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(520px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-sizing: border-box;
  padding: 34px 34px 30px;
  background: rgba(5,5,5,.92);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  text-align: left;
}

.info-panel h2 {
  margin: 0 44px 8px 0;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .12em;
}

.info-panel p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .01em;
  opacity: .9;
}

.info-panel .info-meta {
  margin-bottom: 24px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: lowercase;
  opacity: .58;
}

.info-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.6);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.info-close:hover {
  background: transparent;
  color: #fff;
  transform: none;
}

.info-link-row {
  margin-top: 28px !important;
  margin-bottom: 0 !important;
}

.info-link-row a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.45);
  padding-bottom: 2px;
  letter-spacing: .08em;
  font-size: 11px;
}

.info-link-row a:hover {
  border-bottom-color: #fff;
}

@media (max-width: 600px) {
  .info-button {
    right: 14px;
    bottom: 14px;
  }

  .info-panel {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-height: calc(100vh - 28px);
    padding: 30px 24px 24px;
  }
}


/* Desktop info panel fix */
.info-panel {
  right: 28px;
  bottom: 28px;
  left: auto;
  width: min(540px, calc(100vw - 56px));
  max-width: 540px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

.info-panel h2,
.info-panel p,
.info-panel .info-meta,
.info-link-row {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.info-close {
  all: unset;
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,.62);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.info-close:hover { color: #fff; }
.info-close:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }

.info-button {
  all: unset;
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 6;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,.58);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  line-height: 1;
}

.info-button:hover { color: #fff; }
.info-button:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

@media (max-width: 600px) {
  .info-panel {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-width: none;
  }
  .info-button { right: 14px; bottom: 14px; }
}
