/* The Wave — Coming Soon
   Logo from WebsiteV2.xd; background video 1920.mp4 / Comp 1_3.mp4. */

:root {
  --white: #ffffff;
  --font-display: "leon", "Leon", "Leon-Regular", Georgia, "Times New Roman", serif;
  --track-wide: 0.3em;
  --track: 0.08em;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #3a2a1c;
  color: var(--white);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Background ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  /* first frame of the video, shown until it starts playing */
  background: #3a2a1c url("assets/poster-desktop.jpg") center / cover no-repeat;
}

.bg__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* light shade so the white logo stays readable on the bright sand */
.bg__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(30, 20, 10, 0.25) 0%, rgba(30, 20, 10, 0) 30%),
    linear-gradient(to top, rgba(30, 20, 10, 0.45) 0%, rgba(30, 20, 10, 0) 22%),
    radial-gradient(ellipse 45% 40% at 50% 42%, rgba(40, 25, 12, 0.22), rgba(40, 25, 12, 0) 100%);
}

/* ---------- Logo ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(32px, 6vh, 80px) 16px clamp(48px, 9vh, 110px);
}

.hero__logo {
  width: clamp(230px, 26vw, 400px);
  height: auto;
  filter: drop-shadow(0 1px 10px rgba(40, 20, 5, 0.25));
}

.hero__title {
  margin: clamp(28px, 4.5vh, 48px) 0 0;
  padding-left: var(--track-wide); /* optically re-center tracked text */
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 20px);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(40, 20, 5, 0.35);
}

/* ---------- Footer ---------- */
.foot {
  text-align: center;
  padding: 24px clamp(16px, 3vw, 56px) max(24px, env(safe-area-inset-bottom));
  font-size: 14px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(40, 20, 5, 0.4);
}

.foot__copy { margin: 0; font-size: 12px; opacity: 0.85; }

/* ---------- Entrance ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hero__logo.reveal  { animation-delay: .2s; }
.hero__title.reveal { animation-delay: .7s; }
.foot.reveal        { animation-delay: 1s; transform: none; }

@keyframes rise { to { opacity: 1; transform: none; } }

@media (orientation: portrait) {
  .bg { background-image: url("assets/poster-mobile.jpg"); }
}

@media (prefers-reduced-motion: reduce) {
  .bg__media { display: none; }
  .reveal { animation: none; opacity: 1; transform: none; }
}
