/* ============================================================
   EnQuote — Cinematic hero variant
   Full-bleed looping video + liquid-glass UI (dark)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

.cine {
  position: relative;
  min-height: 100svh;
  background: #0b0d0c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* video layer */
.cine-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(17%);
  opacity: 0;            /* JS-driven fade */
  z-index: 0;
  pointer-events: none;
}
/* graceful fallback bg behind the video */
.cine-fallback {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 70% 110%, oklch(0.4 0.07 165 / 0.55), transparent 60%),
    radial-gradient(90% 70% at 20% 0%, oklch(0.3 0.05 165 / 0.4), transparent 55%),
    linear-gradient(180deg, #0c0f0e, #070908);
}
.cine-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,8,7,0.55) 0%, rgba(6,8,7,0.15) 30%, rgba(6,8,7,0.35) 70%, rgba(6,8,7,0.75) 100%);
}

.cine > .cine-nav,
.cine > .cine-body,
.cine > .cine-social { position: relative; z-index: 2; }

/* ---- liquid glass ---- */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---- nav ---- */
.cine-nav { padding: 1.5rem; }
.cine-nav-inner {
  max-width: 64rem; margin-inline: auto;
  border-radius: 999px; padding: 0.7rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cine-brand { display: flex; align-items: center; gap: 0.55rem; color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.cine-brand .mk { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.12); display: grid; place-items: center; font-weight: 800; }
.cine-links { display: flex; gap: 2rem; margin-right: auto; margin-left: 2.2rem; }
.cine-links a { color: rgba(255,255,255,0.78); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.cine-links a:hover { color: #fff; }
.cine-nav-cta { display: flex; align-items: center; gap: 1rem; }
.cine-nav-cta .plain { color: #fff; font-size: 0.9rem; font-weight: 500; background: none; border: none; }
.cine-glass-btn { border-radius: 999px; padding: 0.55rem 1.3rem; color: #fff; font-weight: 600; font-size: 0.9rem; }

/* ---- body ---- */
.cine-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.5rem; transform: translateY(-6%); gap: 1.4rem;
}
.cine-eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); display: inline-flex; align-items: center; gap: 0.6rem;
  border-radius: 999px; padding: 0.5rem 1rem;
}
.cine-h {
  font-family: 'Instrument Serif', serif;
  color: #fff; line-height: 0.98; letter-spacing: -0.015em;
  font-size: clamp(2.8rem, 1.6rem + 6vw, 6rem); font-weight: 400; max-width: 14ch;
}
.cine-h em { font-style: italic; color: oklch(0.86 0.07 80); }
.cine-sub { color: rgba(255,255,255,0.82); font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem); max-width: 44ch; line-height: 1.55; }

.cine-form {
  width: 100%; max-width: 36rem; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.4rem;
}
.cine-input-bar {
  border-radius: 999px; padding: 0.45rem 0.45rem 0.45rem 1.4rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.cine-input-bar input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font-size: 1rem; font-family: var(--font-display); min-width: 0;
}
.cine-input-bar input::placeholder { color: rgba(255,255,255,0.45); }
.cine-submit {
  background: #fff; color: #0b0d0c; border: none; border-radius: 999px;
  width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0;
  transition: transform 0.15s var(--ease);
}
.cine-submit:hover { transform: scale(1.06); }
.cine-altrow { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.cine-pill { border-radius: 999px; padding: 0.7rem 1.5rem; color: #fff; font-weight: 600; font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 0.5rem; transition: background 0.2s; }
.cine-pill:hover { background: rgba(255,255,255,0.06); }
.cine-trust { color: rgba(255,255,255,0.6); font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ---- social footer ---- */
.cine-social { display: flex; justify-content: center; gap: 1rem; padding-bottom: 3rem; }
.cine-social button { border-radius: 999px; padding: 0.9rem; color: rgba(255,255,255,0.8); transition: all 0.2s; background: none; border: none; }
.cine-social button:hover { color: #fff; background: rgba(255,255,255,0.06); }

@media (max-width: 720px) {
  .cine-links { display: none; }
  .cine-nav-cta .plain { display: none; }
}
