/* ==========================================================================
   Baykal — brand tokens
   ========================================================================== */

:root {
  --ink: #170907;
  --gold: #d9a441;
  --gold-soft: #eccb8a;
  --cream: #f6ecdf;
  --cream-dim: rgba(246, 236, 223, 0.72);

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 6vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overscroll-behavior: none;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Top bar
   ========================================================================== */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  background: linear-gradient(to bottom, rgba(10, 4, 3, 0.6), transparent);
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.topbar__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.topbar__mark-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.topbar__mark-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--cream);
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
}

.topbar__contact a {
  text-decoration: none;
  color: var(--cream-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.topbar__contact a:hover,
.topbar__contact a:focus-visible {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

@media (max-width: 640px) {
  .topbar__contact {
    display: none;
  }
}

/* ==========================================================================
   Hero — full-screen rotating video backdrop
   ========================================================================== */

.hero {
  position: relative;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
}

.video-stage {
  position: absolute;
  inset: 0;
  background: var(--ink);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.bg-video.is-active {
  opacity: 1;
}

.scene__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 4, 3, 0.5) 0%,
    rgba(10, 4, 3, 0.08) 26%,
    rgba(10, 4, 3, 0.22) 55%,
    rgba(10, 4, 3, 0.82) 100%
  );
}

.scene__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.hero__actions {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  width: min(340px, 84vw);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--solid {
  background: var(--gold);
  color: var(--ink);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--gold-soft);
}

.btn--outline {
  border-color: rgba(246, 236, 223, 0.45);
  color: var(--cream);
  background: rgba(20, 10, 8, 0.28);
  backdrop-filter: blur(8px);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(217, 164, 65, 0.14);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

/* ==========================================================================
   Booking toast
   ========================================================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  z-index: 60;
  background: var(--cream);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}
