/* ============================================================
   Haze LUTs — mobile-first, dark neutral, cinematic
   ============================================================ */

:root {
  --bg: #0e0d0c;
  --bg-raised: #151413;
  --ink: #eae7e2;
  --ink-dim: #9b968e;
  --ink-faint: #5f5b55;
  --line: rgba(234, 231, 226, 0.09);
  --accent: #d8c6a8;          /* warm haze beige */
  --accent-ink: #141210;
  --radius: 14px;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.5;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

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

em { font-style: italic; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover { transform: translateY(-2px); background: #e6d7bd; }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
.btn--ghost:hover { border-color: var(--ink-faint); color: var(--ink); transform: translateY(-2px); }

.btn--small { padding: 0.55rem 1.2rem; font-size: 0.85rem; background: var(--accent); color: var(--accent-ink); }
.btn--small:hover { background: #e6d7bd; }

.btn--full { width: 100%; }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(14, 13, 12, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.9rem;
}
.nav__logo span { color: var(--ink-faint); font-weight: 400; }
.nav__links { display: none; gap: 2rem; }
.nav__links a {
  font-size: 0.85rem;
  color: var(--ink-dim);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--ink); }

/* ============ Sections / layout ============ */
main { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 5.5rem 0; border-top: 1px solid var(--line); }

.section__head { margin-bottom: 3rem; }

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 6.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section__sub {
  color: var(--ink-dim);
  max-width: 34rem;
  margin-top: 1.2rem;
  font-size: 1.02rem;
}

/* ============ Hero ============ */
.hero {
  padding: 8.5rem 0 4.5rem;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.hero__title em { color: var(--accent); }

.hero__sub {
  color: var(--ink-dim);
  max-width: 30rem;
  margin: 1.4rem auto 0;
  font-size: 1.05rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 2.2rem 0 4rem;
}

/* ============ Before / After compare ============ */
.compare {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  border: 1px solid var(--line);
}

.compare__media {
  position: absolute;
  inset: 0;
}
.compare__media--before {
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.frame-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
}
.frame-placeholder--before {
  background:
    linear-gradient(180deg, rgba(120, 125, 118, 0.35), rgba(90, 95, 92, 0.5)),
    linear-gradient(120deg, #6b6f68 0%, #7d817a 40%, #8d908a 70%, #5f635e 100%);
  filter: saturate(0.35) contrast(0.75) brightness(1.05);
}
.frame-placeholder--after {
  justify-content: flex-end;
  background:
    radial-gradient(ellipse 120% 80% at 70% 20%, rgba(232, 190, 130, 0.5), transparent 60%),
    linear-gradient(160deg, #2b2320 0%, #4a3527 35%, #8a5f3a 65%, #1d1815 100%);
}

.compare__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.frame-placeholder__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  background: rgba(10, 9, 8, 0.55);
  color: rgba(240, 236, 230, 0.9);
  backdrop-filter: blur(6px);
}
.compare .frame-placeholder__label {
  position: absolute;
  bottom: 1.1rem;
  z-index: 3;
}
.compare__label--before { left: 1.1rem; }
.compare__label--after { right: 1.1rem; }

.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  z-index: 5;
}
.compare__handle-line {
  position: absolute;
  inset: 0;
  background: rgba(240, 236, 230, 0.85);
}
.compare__handle-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(14, 13, 12, 0.8);
  border: 1px solid rgba(240, 236, 230, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.compare__hint {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============ Product grid ============ */
.product__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.lut-card__frame {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out);
}
.lut-card:hover .lut-card__frame { transform: scale(1.02); }

.lut-card__frame span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(240, 236, 230, 0.45);
  font-weight: 600;
}
.lut-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

/* live cards: zoom the photo inside the fixed frame, not the frame box */
.lut-card--live:hover .lut-card__frame { transform: none; }
.lut-card--live:hover .lut-card__frame img { transform: scale(1.05); }

/* video cards: clickable frame is a button, with a centered play affordance */
.lut-card__play {
  position: relative;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  width: 100%;
}
.lut-card__play:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lut-card--video:hover .lut-card__frame { transform: none; }
.lut-card--video:hover .lut-card__frame img { transform: scale(1.05); }

.lut-card__play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(14, 13, 12, 0.5);
  border: 1px solid rgba(240, 236, 230, 0.55);
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease-out), background 0.3s;
  z-index: 2;
}
.lut-card__play-btn::before {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--ink);
}
.lut-card--video:hover .lut-card__play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
  border-color: var(--accent);
}
.lut-card--video:hover .lut-card__play-btn::before { border-left-color: var(--accent-ink); }

.lut-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.8rem;
}
.lut-card figcaption strong { font-weight: 500; font-size: 0.95rem; }
.lut-card figcaption span { color: var(--ink-faint); font-size: 0.82rem; text-align: right; }

/* coming-soon tiles */
.lut-card--soon .lut-card__frame {
  background: var(--bg-raised);
  border: 1px dashed rgba(234, 231, 226, 0.16);
}
.lut-card--soon .lut-card__frame span {
  color: var(--ink-faint);
  letter-spacing: 0.3em;
}
.lut-card--soon:hover .lut-card__frame { transform: none; }
.lut-card--soon figcaption strong { color: var(--ink-dim); font-weight: 400; }
.lut-card--soon figcaption span { color: var(--ink-faint); }

/* ============ Compatibility ============ */
.compat {
  margin-top: 4.5rem;
  text-align: center;
}
.compat__label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.3rem;
}
.compat__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.compat__list li {
  font-size: 0.85rem;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  transition: border-color 0.3s, color 0.3s;
}
.compat__list li:hover { border-color: var(--ink-faint); color: var(--ink); }

/* ============ Pricing ============ */
.pricing { margin-top: 4.5rem; display: flex; justify-content: center; }

.pricing__card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 1.8rem;
  text-align: center;
}
.pricing__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.pricing__price {
  font-family: var(--font-serif);
  font-size: 4.2rem;
  line-height: 1;
  margin: 1.1rem 0 1.6rem;
}
.pricing__currency { font-size: 2rem; vertical-align: super; color: var(--ink-dim); }
.pricing__note {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pricing__features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.8rem;
  border-top: 1px solid var(--line);
}
.pricing__features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-dim);
}
.pricing__guarantee {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ============ About ============ */
.about__inner { max-width: 40rem; }
.about__body { margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.about__body p { color: var(--ink-dim); font-size: 1.02rem; }
.about__body p:first-child { color: var(--ink); }

/* ============ FAQ ============ */
.faq__list { max-width: 44rem; }

.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.25s;
}
.faq__item summary:hover { color: var(--accent); }
.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px; height: 14px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink-dim);
  transition: transform 0.35s var(--ease-out);
}
.faq__icon::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.faq__icon::after { top: 0; left: 6px; width: 1.5px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }

.faq__answer { overflow: hidden; }
.faq__answer p {
  color: var(--ink-dim);
  font-size: 0.95rem;
  padding-bottom: 1.5rem;
  max-width: 38rem;
}

/* ============ Final CTA ============ */
.final-cta {
  text-align: center;
  padding: 6.5rem 0;
}
.final-cta__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 7.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.final-cta__title em { color: var(--accent); }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 1.25rem 2.5rem;
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}
.footer__logo {
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.9rem;
}
.footer__logo span { color: var(--ink-faint); font-weight: 400; }
.footer__tag { color: var(--ink-faint); font-size: 0.85rem; margin-top: 0.6rem; }

.footer__heading {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.9rem;
}
.footer__col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col a {
  color: var(--ink-dim);
  font-size: 0.9rem;
  transition: color 0.25s;
  width: fit-content;
}
.footer__col a:hover { color: var(--ink); }

.footer__legal {
  max-width: 1120px;
  margin: 3rem auto 0;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* ============ Video player (lightbox) ============ */
.vplayer {
  position: fixed;
  inset: 0;
  z-index: 1000;               /* above the film-grain overlay (z-index 999) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
}
.vplayer[hidden] { display: none; }

.vplayer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 5, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: vfade 0.25s var(--ease-out);
}

.vplayer__panel {
  position: relative;
  width: 100%;
  max-width: 760px;            /* deliberately modest so the clip stays crisp */
  animation: vrise 0.35s var(--ease-out);
}
.vplayer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
.vplayer__title {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.vplayer__close {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 18, 16, 0.6);
  color: var(--ink-dim);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}
.vplayer__close:hover { color: var(--ink); border-color: var(--ink-faint); transform: rotate(90deg); }

.vplayer__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 74vh;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

@keyframes vfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vrise { from { opacity: 0; transform: translateY(14px) scale(0.99); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .vplayer__backdrop, .vplayer__panel { animation: none; }
  .vplayer__close { transition: none; }
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .lut-card__frame { transition: none; }
}

/* ============ Tablet & up ============ */
@media (min-width: 640px) {
  .compare { aspect-ratio: 16 / 9; }
  .product__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* ============ Desktop ============ */
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .section { padding: 8rem 0; }
  .hero { padding: 11rem 0 6rem; }
  .product__grid { grid-template-columns: repeat(3, 1fr); }
}
