/* ==========================================================================
   K Party Rentals & Dance Studio — static site
   Plain CSS, no framework. Works on any static host.

   MOBILE-FIRST: base rules below target small phone screens. Two
   progressive-enhancement breakpoints scale the layout up:
     min-width: 561px  → small tablets and large phones
     min-width: 901px  → tablets/desktop (full nav, multi-column grids)
   ========================================================================== */

:root {
  --gold: #d4af37;
  --gold-light: #f0d878;
  --ink: #0f0a18;
  --plum: #241333;
  --plum-deep: #180c22;
  --cream: #fbf9f5;
  --cream-soft: #fbf7ee;
  --blush: #f4e7e6;
  --lavender: #c9b8e8;
  --text-on-dark: #f3ecdd;
  --text-dim-dark: rgba(243, 236, 221, 0.68);
  --text-on-light: #241333;
  --text-dim-light: rgba(36, 19, 51, 0.7);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
  /* Liquid Glass tokens */
  --glass-blur: blur(6px) saturate(140%);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --glass-edge-light: rgba(255, 255, 255, 0.55);
  /* Soft blend length between adjacent dark glass panes */
  --section-fade: clamp(4.5rem, 12vh, 7.5rem);
}

@media (min-width: 561px) {
  :root { --nav-h: 76px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--ink);
  overflow-x: hidden;
}
@media (min-width: 561px) {
  body { font-size: 17px; }
}

/* Full-viewport looping background video behind all glass panes. */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
}

/* Ambient color field behind every glass pane — this is what the frosted
   sections refract, so the whole page reads as layered liquid glass.
   Opacity dialed so videos/k_vid_background.* shows through. */
body::before {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.1;
  background:
    radial-gradient(42% 38% at 16% 12%, rgba(212, 175, 55, 0.38), transparent 70%),
    radial-gradient(48% 44% at 84% 18%, rgba(146, 88, 214, 0.46), transparent 72%),
    radial-gradient(52% 48% at 74% 82%, rgba(228, 106, 168, 0.34), transparent 72%),
    radial-gradient(44% 42% at 18% 84%, rgba(86, 158, 220, 0.32), transparent 70%),
    linear-gradient(180deg, #1a1030, #0f0a18 60%, #150c22);
  animation: ambientDrift 46s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  0%   { transform: translate3d(-2%, -1.5%, 0) scale(1); }
  100% { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}

/* Brand watermark: fixed in the viewport, in front of the ambient color
   field but behind the glass sections, so it glows softly through the
   frost as the page scrolls over it. */
body::after {
  content: "";
  position: fixed;
  z-index: -1; /* same layer as ::before, but painted after it — so on top */
  top: 50%;
  left: 50%;
  width: min(64vmin, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  /* background: url("../images/logo-mark.png") center / contain no-repeat; */
  opacity: 0.6;
  filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.3));
  pointer-events: none;
}

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

a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

