/* dekha Events — coming soon
   Brand: navy #084878 · coral #F86038 · sky accent */

:root {
  --navy: #084878;
  --navy-deep: #04233a;
  --navy-mid: #0a5a8f;
  --coral: #f86038;
  --coral-hot: #ff6f45;
  --sky: #5eb3d4;
  --ink: #e8f0f7;
  --muted: rgba(232, 240, 247, 0.72);
  --line: rgba(232, 240, 247, 0.18);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--navy-deep);
  overflow-x: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ——— Atmosphere ——— */

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--navy-deep);
}

.stage__photo {
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero.jpg");
  background-size: cover;
  background-position: 50% 38%;
  background-repeat: no-repeat;
  filter: saturate(0.7) contrast(1.04);
  transform-origin: center center;
  animation: ken 28s var(--ease) infinite alternate;
  will-change: transform;
}

.stage__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, rgba(4, 35, 58, 0.15), rgba(4, 35, 58, 0.62) 70%),
    linear-gradient(180deg, rgba(4, 35, 58, 0.35) 0%, rgba(4, 35, 58, 0.55) 50%, rgba(4, 35, 58, 0.82) 100%),
    linear-gradient(90deg, rgba(4, 35, 58, 0.35) 0%, transparent 18%, transparent 82%, rgba(4, 35, 58, 0.35) 100%);
}

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

.stage__wave {
  position: absolute;
  left: 0;
  width: 140%;
  height: clamp(90px, 16vh, 180px);
  opacity: 0.45;
}

.stage__wave--top {
  top: -2%;
  left: -10%;
  animation: drift 18s ease-in-out infinite alternate;
}

.stage__wave--bottom {
  bottom: -4%;
  left: -15%;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.wave {
  fill: none;
  stroke-width: 18;
  stroke-linecap: round;
}

.wave--navy {
  stroke: var(--navy);
  opacity: 0.95;
}

.wave--sky {
  stroke: var(--sky);
  opacity: 0.55;
}

.wave--coral {
  stroke: var(--coral);
  opacity: 0.75;
}

/* Scale-only so edges never reveal the navy body underneath */
@keyframes ken {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.2);
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-6%);
  }
}

/* ——— Chrome ——— */

.top,
.hero,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 4vw, 3rem);
}

.brand img {
  width: clamp(140px, 22vw, 200px);
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.top__since {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— Hero ——— */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(0.75rem, 2.5vw, 2rem) clamp(1.25rem, 4vw, 3rem);
  max-width: min(56rem, 100%);
  gap: 0;
  overflow: hidden;
}

.brand-display {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 6.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  max-width: 100%;
}

.brand-display__dekha {
  color: #ffffff;
}

.brand-display__events {
  color: var(--coral);
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

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

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 30px rgba(248, 96, 56, 0.28);
}

.btn--primary:hover {
  background: var(--coral-hot);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(248, 96, 56, 0.38);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(232, 240, 247, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn--social {
  gap: 0.5rem;
}

.icon-ig {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ——— Footer ——— */

.foot {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.foot__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.foot__meta a:hover {
  color: var(--coral);
}

.foot__meta span {
  color: var(--muted);
  opacity: 0.6;
}

.foot__addr {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 36rem;
}

/* ——— Motion ——— */

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

html.is-ready .reveal {
  animation: rise 0.7s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage__photo,
  .stage__wave,
  .reveal {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stage__photo {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .top__since {
    letter-spacing: 0.1em;
  }

  .actions {
    width: 100%;
  }

  .btn {
    flex: 1 1 auto;
  }

  .btn--ghost {
    flex: 1 1 auto;
  }

  .btn--social {
    flex: 1 1 100%;
  }
}
