:root {
  --bg: #0a0a0c;
  --bg-2: #121216;
  --card: #17171c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f1ea;
  --muted: #a19d95;
  --accent: #e4b44c;
  --accent-2: #ff5a36;
  --radius: 14px;
  --max: 1240px;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Film grain over everything for a cinematic feel */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav .btn { color: #111; }
.menu-btn {
  display: none;
  background: none; border: 0; color: var(--text);
  width: 44px; height: 44px; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 24px; height: 2px; background: currentColor;
  position: relative; margin: 0 auto; transition: transform 0.25s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #111;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); background: #f0c564; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.nav .btn { padding: 10px 20px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.6) 0%, rgba(10,10,12,0) 30%, rgba(10,10,12,0.2) 60%, var(--bg) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(228,180,76,0.18), transparent 60%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 12vh; width: 100%; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 12vw, 168px);
  line-height: 0.88;
  margin: 0 0 24px;
  letter-spacing: 0.01em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead {
  max-width: 540px;
  font-size: 18px;
  color: #d6d2ca;
  margin: 0 0 32px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.95;
  margin: 0;
}
.section-head p { color: var(--muted); max-width: 420px; margin: 0; }
.count {
  font-family: var(--display);
  color: var(--accent);
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-right: 12px;
  vertical-align: top;
}

.filters {
  position: sticky; top: 72px; z-index: 20;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.filters .wrap {
  display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px;
  overflow-x: auto; scrollbar-width: none;
}
.filters a {
  flex: none;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.2s;
}
.filters a:hover, .filters a.active { color: #111; background: var(--accent); border-color: var(--accent); }

.category { scroll-margin-top: 140px; }
.category + .category { border-top: 1px solid var(--line); }

/* ---------- Video cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  border: 0; padding: 0;
  color: inherit; font: inherit; text-align: left;
  width: 100%;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 24px 60px -20px rgba(228, 180, 76, 0.35);
  outline: none;
}
.card:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.card img, .card video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.card video { opacity: 0; transition: opacity 0.4s; }
.card.playing video { opacity: 1; }
.card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.85) 100%);
}
.card .meta {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}
.card .tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.card .len {
  flex: none;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #ddd;
}
.card .play {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid; place-items: center;
  transition: opacity 0.3s, transform 0.3s;
}
.card .play::before {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.card.playing .play { opacity: 0; transform: scale(0.8); }

/* ---------- Full-screen player ---------- */
.player {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.96);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px 16px 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.player.open { opacity: 1; visibility: visible; }
.player video {
  width: 100%;
  max-width: 1400px;
  max-height: calc(100vh - 140px);
  max-height: calc(100svh - 140px);
  border-radius: 8px;
  background: #000;
}
.player .title {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.04em;
  text-align: center;
}
.player .close {
  position: absolute; top: 16px; right: 16px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 26px; line-height: 1;
  cursor: pointer;
}
.player .close:hover { background: rgba(255, 255, 255, 0.16); }
body.locked { overflow: hidden; }

/* ---------- CTA band ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(228,180,76,0.16), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  margin: 0 0 16px;
}
.cta p { color: var(--muted); margin: 0 auto 32px; max-width: 520px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.brands span {
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

/* ---------- Forms ---------- */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 16px; /* keeps phones from zooming in */
  color-scheme: dark;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { min-height: 130px; resize: vertical; }
.form .note { font-size: 13px; color: var(--muted); margin: 0; }
.form-status {
  display: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 15px;
}
.form-status.ok { display: block; background: rgba(76, 175, 80, 0.12); border: 1px solid rgba(76, 175, 80, 0.4); }
.form-status.err { display: block; background: rgba(255, 90, 54, 0.12); border: 1px solid rgba(255, 90, 54, 0.4); }

/* ---------- Book page ---------- */
.page-hero {
  padding: 160px 0 48px;
  background: radial-gradient(ellipse at 15% 0%, rgba(228,180,76,0.14), transparent 60%);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.9;
  margin: 0 0 16px;
}
.page-hero p { color: var(--muted); max-width: 560px; font-size: 18px; margin: 0; }
.book-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.steps .n {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--display); font-size: 22px;
}
.steps h3 { margin: 0 0 4px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s, transform 0.8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Phones & tablets ---------- */
@media (max-width: 900px) {
  .contact-grid, .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 10, 12, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    transform: translateY(-120%);
    transition: transform 0.3s;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; padding: 14px; }
  .site-header.menu-open { background: rgba(10, 10, 12, 0.97); }
  .menu-open .menu-btn span { background: transparent; }
  .menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  section { padding: 64px 0; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .form .row { grid-template-columns: 1fr; }
  .panel { padding: 22px; }
  .hero p.lead { font-size: 16px; }
  .player { padding: 72px 0 16px; }
  .player video { border-radius: 0; }
}
