:root {
  --ink: #050505;
  --paper: #f3f5f8;
  --brand: #0077c8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: Outfit, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body.bamboo {
  overflow: hidden;
}

.bamboo-hud {
  position: fixed;
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(1.1rem, env(safe-area-inset-top)) max(1.4rem, env(safe-area-inset-right)) 0
    max(1.4rem, env(safe-area-inset-left));
}

.bamboo-hud a {
  color: rgba(243, 245, 248, 0.42);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
}

.bamboo-hud a:hover {
  color: var(--brand);
}

.bamboo-empty {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(42rem, calc(100% - 2rem));
  text-align: center;
}

.bamboo-kicker {
  margin: 0 0 1.1rem;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--brand);
}

.bamboo-3d {
  margin: 0;
  font-size: clamp(3.4rem, 16vw, 7.2rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 0.9;
  text-transform: uppercase;
  color: rgba(243, 245, 248, 0.94);
}

.bamboo-3d em {
  font-style: normal;
  color: var(--brand);
}

.bamboo-word {
  margin: 0.7rem 0 0;
  display: grid;
  gap: 0.28rem;
  justify-items: center;
}

.bamboo-word span {
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  line-height: 1;
  text-transform: uppercase;
  color: #f3f5f8;
}

.bamboo-word::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 1px;
  margin: 0.95rem auto 0;
  background: var(--brand);
}

.bamboo-lead {
  margin: 1.35rem auto 0;
  max-width: 22rem;
  color: rgba(243, 245, 248, 0.4);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
}

.bamboo-enter {
  display: inline-block;
  margin: 1.85rem 0 0;
  padding: 0.78rem 1.5rem;
  border: 1px solid rgba(0, 119, 200, 0.38);
  background: transparent;
  color: rgba(0, 119, 200, 0.86);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.bamboo-enter:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 36px rgba(0, 119, 200, 0.32);
}


.bamboo-stage {
  position: fixed;
  inset: 0;
  z-index: 3;
  border: 0;
  width: 100%;
  height: 100%;
  background: #050505;
}

.bamboo-stage[hidden],
body.is-play .bamboo-empty {
  display: none !important;
}

@media (max-width: 640px) {
  .bamboo-3d {
    font-size: clamp(3rem, 22vw, 5.2rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .bamboo-word span {
    font-size: 0.92rem;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
  }

  .bamboo-enter {
    letter-spacing: 0.18em;
    text-indent: 0.18em;
    padding: 0.68rem 0.9rem;
  }
}
