/* The normal hero has no extra space or visible controls until discovery. */
.secret-logo[hidden] { display: none; }
.hero-content [hidden] { display: none !important; }
.secret-logo {
  width: min(520px, 100%);
  margin: 0 auto 24px;
  background: var(--void);
  animation: secret-arrival .45s ease-out both;
}
.secret-logo-video {
  display: block;
  width: 100%;
  aspect-ratio: 1080 / 480;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0;
}
.secret-logo[data-playback="playing"] .secret-logo-video {
  opacity: 1;
  animation: secret-video-opening .4s ease-out both;
}
.secret-logo[data-playback="still"] .secret-logo-video {
  opacity: 1;
}
@keyframes secret-video-opening {
  from { opacity: 0; }
  to { opacity: 1; }
}
.secret-logo-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
  pointer-events: auto;
}
.secret-logo-controls button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ink-dim);
  padding: 10px 8px;
  min-height: 40px;
  font: 11px/1.4 'Inter', sans-serif;
  cursor: pointer;
}
.secret-logo-controls button:hover { color: var(--laser); }
.secret-logo-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#laserCanvas:focus-visible { outline: none; }
#laserCanvas:focus-visible + .hero-content .hero-hint { color: var(--laser); text-decoration: underline; }
#laserCanvas { -webkit-touch-callout: none; }
#laserCanvas { touch-action: pan-y pinch-zoom; }
#laserCanvas[data-touch-drawing="true"] { touch-action: none; }
.touch-drawing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 4px;
}
.touch-drawing-controls[hidden] { display: none !important; }
.touch-drawing-controls button {
  pointer-events: auto;
  touch-action: manipulation;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--laser);
  font: 700 12px/1.4 'Inter', sans-serif;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
.touch-drawing-controls button:hover { text-decoration: underline; }
.touch-drawing-controls button:focus-visible { outline: 2px solid var(--laser); outline-offset: 2px; }

/* Keep the mobile menu and booking link reachable above the drawing canvas. */
header nav { position: relative; gap: 16px; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-book { display: inline-flex; align-items: center; min-height: 44px; background: transparent; }
@media (hover: hover) { .nav-book:hover { background: var(--laser); color: var(--void); } }
.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--fur);
  font: 700 18px/1 'Inter', sans-serif;
  letter-spacing: 3px;
  cursor: pointer;
  touch-action: manipulation;
}
.nav-menu-toggle:hover, .nav-menu-toggle[aria-expanded="true"] { color: var(--laser); border-color: var(--laser); }
header button:focus-visible, header a:focus-visible { outline: 2px solid var(--laser); outline-offset: 4px; }
@media (max-width: 1099px) {
  header .navlinks { display: none; }
  .nav-menu-toggle { display: flex; }
  header .navlinks[data-open="true"] {
    display: flex;
    position: absolute;
    top: calc(100% + 1px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: rgba(10,7,18,.98);
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    max-height: calc(100svh - 90px);
    overflow-y: auto;
  }
  header .navlinks a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; opacity: 1; }
  header .navlinks a:hover { background: rgba(61,255,122,.06); }
}
@media (max-width: 380px) {
  header nav { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .brand-logo { height: 29px; }
  .nav-actions { gap: 6px; }
}
.hero-content { user-select: none; -webkit-user-select: none; }
@keyframes secret-arrival {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 600px) {
  .secret-logo { width: min(400px, 100%); margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .secret-logo { animation: none; }
}
