/*
Theme Name: Aerial Vision
Theme URI: https://aerialvision.in
Author: Cybersify
Author URI: https://cybersify.com
Description: Premium cinematic theme for drone-footage marketplaces and aerial videography studios. Packages, Locations and Projects post types, license-based pricing, autoplay video previews, WhatsApp purchase flow, secure contact form and a fully editable homepage — no page builder needed.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aerial-vision
Tags: one-column, custom-logo, custom-menu, featured-images, theme-options, translation-ready, portfolio, entertainment
*/

/* =========================================================
   AERIAL VISION — Premium Drone Videography
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --bg: #0b0d10;
  --bg-2: #0f1216;
  --surface: #151920;
  --surface-2: #1b2029;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f3f1ec;
  --text-muted: #a3a7ae;
  --text-dim: #6f747c;

  --accent: #e0a94f;          /* warm golden-hour amber */
  --accent-hover: #edbb65;
  --accent-soft: rgba(224, 169, 79, 0.12);

  --light-bg: #f4f1ea;
  --light-text: #14171c;
  --light-muted: #5c6168;

  --font-display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.75);

  --container: 1240px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
svg { width: 100%; height: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

body.no-scroll { overflow: hidden; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--dark { color: #a8742a; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn--lg { padding: 16px 30px; font-size: 15px; }

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

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.1); }

.btn--outline { border: 1px solid var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn__play {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: grid; place-items: center;
  padding: 6px 5px 6px 7px;
}

.arrow { transition: transform 0.35s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  height: 68px;
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 110; }
.logo__mark { width: 30px; height: 30px; color: var(--accent); }
.logo__text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.logo__text strong { font-weight: 800; margin-left: 4px; }

.nav__list { display: flex; gap: 36px; }
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(243, 241, 236, 0.75);
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta-mobile { display: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger.open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 120px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: #1a1e24 url("https://images.unsplash.com/photo-1508444845599-5c89863b1c44?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.88) 0%, rgba(8, 10, 13, 0.55) 55%, rgba(8, 10, 13, 0.25) 100%),
    linear-gradient(0deg, rgba(11, 13, 16, 1) 0%, rgba(11, 13, 16, 0) 30%);
}

.hero__content { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(40px, 7.2vw, 96px);
  font-weight: 800;
  text-transform: uppercase;
  max-width: 14ch;
  margin-bottom: 26px;
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.hero__text {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(243, 241, 236, 0.78);
  max-width: 520px;
  margin-bottom: 38px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 640px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(243, 241, 236, 0.85);
}
.trust__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(224, 169, 79, 0.4);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 700;
  padding: 7px;
}

.hero__meta {
  position: absolute;
  right: 32px; bottom: 44px;
  z-index: 2;
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(243, 241, 236, 0.55);
  font-variant-numeric: tabular-nums;
}
.hero__rec { display: inline-flex; align-items: center; gap: 8px; }
.hero__rec i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e5484d;
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.section { padding: 120px 0; position: relative; }
.section--dark { background: var(--bg); }
.section--darker { background: var(--bg-2); }
.section--light { background: var(--light-bg); color: var(--light-text); }

.section__head { max-width: 680px; margin-bottom: 64px; }
.section__head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.section__head--split .section__sub { max-width: 420px; }

.section__title {
  font-size: clamp(32px, 4.6vw, 58px);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__sub { font-size: 17px; color: var(--text-muted); }
.section--light .section__sub { color: var(--light-muted); }

/* =========================================================
   LOCATIONS
   ========================================================= */
.locations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 20px;
}
.loc--lg { grid-column: span 2; grid-row: span 2; }
.loc--custom { grid-column: span 2; }

.loc {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--surface);
}
.loc__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
  z-index: -2;
}
.loc__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 13, 0.9) 0%, rgba(8, 10, 13, 0.25) 55%, rgba(8, 10, 13, 0.15) 100%);
  transition: background 0.6s var(--ease);
  z-index: -1;
}
.loc__body { padding: 30px; }
.loc__tag {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  transform: translateY(8px);
  opacity: 0.85;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.loc__name {
  font-size: clamp(24px, 2.6vw, 34px);
  text-transform: uppercase;
}
.loc--lg .loc__name { font-size: clamp(34px, 4.4vw, 60px); }

.loc__arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #14100a;
  display: grid; place-items: center;
  font-size: 20px;
  opacity: 0;
  transform: scale(0.6) rotate(-45deg);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.loc:hover .loc__img { transform: scale(1.08); }
.loc:hover .loc__overlay {
  background: linear-gradient(0deg, rgba(8, 10, 13, 0.92) 0%, rgba(8, 10, 13, 0.45) 60%, rgba(8, 10, 13, 0.3) 100%);
}
.loc:hover .loc__arrow { opacity: 1; transform: scale(1) rotate(0); }
.loc:hover .loc__tag { transform: translateY(0); opacity: 1; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.why__media { position: relative; }
.why__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.why__stat {
  position: absolute;
  right: -24px; bottom: 40px;
  background: var(--accent);
  color: #14100a;
  padding: 22px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}
.why__stat span { font-size: 13px; font-weight: 600; }

.why__lead { color: var(--text-muted); font-size: 17px; margin-bottom: 36px; max-width: 480px; }

.why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-bottom: 44px;
}
.why__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 15px;
}
.why__check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
}
.why__check::after {
  content: "";
  position: absolute;
  left: 7px; top: 6px;
  width: 8px; height: 5px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

/* =========================================================
   SHOWCASE
   ========================================================= */
.showcase {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}
.reel--main { grid-row: span 2; }

.reel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background: var(--surface);
}
.reel__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
  z-index: -2;
}
.reel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 13, 0.88) 0%, rgba(8, 10, 13, 0.1) 60%);
  z-index: -1;
}
/* letterbox bars for cinematic feel */
.reel::before, .reel::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 0;
  background: #000;
  z-index: 1;
  transition: height 0.6s var(--ease);
}
.reel::before { top: 0; }
.reel::after { bottom: 0; }
.reel:hover::before, .reel:hover::after { height: 8%; }
.reel:hover .reel__img { transform: scale(1.06); }

.reel__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
  padding: 24px 22px 24px 27px;
  z-index: 2;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), color 0.5s var(--ease);
}
.reel__play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.reel:hover .reel__play { background: var(--accent); color: #14100a; transform: scale(1.08); border-color: var(--accent); }
.reel--main .reel__play { width: 96px; height: 96px; margin: -48px 0 0 -48px; padding: 30px 28px 30px 34px; }

.reel__info { position: absolute; left: 28px; bottom: 26px; right: 28px; z-index: 2; }
.reel__type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
}
.reel__info h3 { font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; margin-bottom: 6px; }
.reel--main .reel__info h3 { font-size: clamp(26px, 3.2vw, 42px); }
.reel__meta { font-size: 13px; color: rgba(243, 241, 236, 0.7); }

/* Video modal (placeholder, built by JS) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 6, 8, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__box {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--surface) center/cover no-repeat;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.5s var(--ease);
}
.modal.open .modal__box { transform: scale(1); }
.modal__box::before { content: ""; position: absolute; inset: 0; background: rgba(8, 10, 13, 0.7); }
.modal__msg { position: relative; padding: 20px; }
.modal__msg h3 { font-size: clamp(20px, 3vw, 30px); text-transform: uppercase; margin-bottom: 8px; }
.modal__msg p { color: var(--text-muted); font-size: 15px; }
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 22px;
  line-height: 1;
  color: var(--text);
}
.modal__close:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background: #1a1e24 url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat fixed;
}
.cta__overlay { position: absolute; inset: 0; background: rgba(8, 10, 13, 0.78); }
.cta__inner { position: relative; z-index: 2; max-width: 860px; }
.cta__inner .eyebrow { justify-content: center; }
.cta__title {
  font-size: clamp(34px, 5.6vw, 74px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.cta__text {
  font-size: 18px;
  color: rgba(243, 241, 236, 0.78);
  max-width: 560px;
  margin: 0 auto 40px;
}
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta__phone {
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.cta__phone:hover { color: var(--text); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #07080a;
  padding: 90px 0 0;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer__brand p { color: var(--text-muted); font-size: 15px; margin: 20px 0 28px; max-width: 280px; }

.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  padding: 11px;
  color: var(--text-muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.social a:hover { color: #14100a; background: var(--accent); border-color: var(--accent); }

.footer__col h4,
.footer__col .footer__h {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text);
}
.footer__col li { margin-bottom: 12px; font-size: 15px; color: var(--text-muted); }
.footer__col a { transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }

.footer__contact li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.footer__contact span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer__contact a { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}
.to-top:hover { color: var(--accent); }

/* =========================================================
   SCROLL REVEAL
   (opacity + a separate translate so hover lifts still work)
   ========================================================= */
.reveal {
  opacity: 0;
  translate: 0 30px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease),
              transform 0.5s var(--ease), border-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease), background 0.5s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; translate: 0 0; }

/* Hover lifts (use transform, independent from reveal translate) */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .why__grid { gap: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .header__cta { display: none; }
  .burger { display: block; z-index: 110; }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 13, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 32px 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(32px, 9vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
  }
  .nav__link::after { display: none; }
  .nav.open .nav__link { opacity: 1; transform: none; }
  .nav.open li:nth-child(2) .nav__link { transition-delay: 0.05s; }
  .nav.open li:nth-child(3) .nav__link { transition-delay: 0.1s; }
  .nav.open li:nth-child(4) .nav__link { transition-delay: 0.15s; }
  .nav.open li:nth-child(5) .nav__link { transition-delay: 0.2s; }
  .nav__cta-mobile { display: inline-flex; margin-top: 40px; align-self: flex-start; padding: 16px 30px; }

  .section { padding: 90px 0; }
  .section__head--split { flex-direction: column; align-items: flex-start; gap: 0; }

  .locations { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .loc { min-height: 260px; }
  .loc--lg { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .loc--custom { grid-column: span 2; }

  .why__grid { grid-template-columns: 1fr; }
  .why__media img { aspect-ratio: 16 / 11; }
  .why__stat { right: 20px; bottom: 20px; }

  .showcase { grid-template-columns: 1fr; grid-template-rows: auto; }
  .reel { min-height: 280px; }
  .reel--main { grid-row: auto; min-height: 420px; }

  .hero__meta { display: none; }
  .cta__bg { background-attachment: scroll; }

  /* Touch devices: show location arrow by default */
  .loc__arrow { opacity: 1; transform: none; width: 42px; height: 42px; font-size: 17px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 44px; }

  .hero { padding-bottom: 100px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 14px 22px; }
  .hero__scroll { display: none; }


  .locations { grid-template-columns: 1fr; }
  .loc, .loc--lg, .loc--custom { grid-column: auto; min-height: 240px; }
  .loc--lg { min-height: 320px; }
  .loc__body { padding: 24px; }

  .why__list { grid-template-columns: 1fr; }
  .why__stat { padding: 16px 20px; }
  .why__stat strong { font-size: 30px; }

  .reel, .reel--main { min-height: 260px; }
  .reel--main .reel__play { width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 24px 22px 24px 27px; }
  .reel__info { left: 20px; right: 20px; bottom: 20px; }


  .cta { padding: 100px 0; }
  .cta__actions .btn { width: 100%; }

  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   =========================================================
   FOOTAGE MARKETPLACE COMPONENTS
   =========================================================
   ========================================================= */

/* ---------- Hero extras ---------- */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 560px;
}
.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}
.hero__stats span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Destination grid (4 cards) ---------- */
.locations > .loc:nth-child(4) { grid-column: span 2; }
.loc__count {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(243, 241, 236, 0.7);
}

/* ---------- Footage grid ---------- */
.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
}
.fgrid--featured .fc--lg { grid-column: span 2; }
.fgrid--featured .fc--lg .fc__media { aspect-ratio: auto; height: 100%; min-height: 0; }
.fgrid--featured .fc--lg { display: flex; flex-direction: column; }
.fgrid--featured .fc--lg .fc__media { flex: 1; min-height: 260px; }
.fgrid--featured .fc--lg .fc__name { font-size: 26px; }

/* ---------- Footage card ---------- */
.fc { display: block; }
.fc[hidden] { display: none !important; }
.fc__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}
.fc__img, .fc__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.4s;
}
.fc__video { opacity: 0; z-index: 0; }
.fc.is-playing .fc__video { opacity: 1; }
.fc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 13, 0.55) 0%, rgba(8, 10, 13, 0) 45%);
  z-index: 1;
  transition: background 0.5s var(--ease);
}
.fc:hover .fc__img { transform: scale(1.06); }
.fc:hover .fc__media::after { background: linear-gradient(0deg, rgba(8, 10, 13, 0.6) 0%, rgba(8, 10, 13, 0.15) 100%); }

.fc__badge, .fc__res, .fc__clips {
  position: absolute;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 11px;
}
.fc__badge {
  top: 14px; left: 14px;
  background: rgba(8, 10, 13, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.fc__badge--accent { background: var(--accent); color: #14100a; border-color: var(--accent); }
.fc__res {
  top: 14px; right: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
}
.fc__clips {
  bottom: 14px; right: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
  background: rgba(8, 10, 13, 0.6);
}
.fc__play {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 2;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 19px 17px 19px 21px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s;
}
.fc:hover .fc__play { opacity: 1; transform: scale(1); }
.fc.is-playing .fc__play { opacity: 0; }

.fc__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 4px 0;
}
.fc__name {
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  transition: color 0.3s;
}
.fc:hover .fc__name { color: var(--accent); }
.fc__sub { font-size: 13.5px; color: var(--text-muted); }
.fc__price { text-align: right; flex-shrink: 0; }
.fc__price span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.fc__price strong { font-family: var(--font-display); font-size: 18px; }

/* ---------- Bundles ---------- */
.bundles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bundle {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  background: var(--surface);
}
.bundle--featured { grid-column: 1 / -1; min-height: 380px; border-color: rgba(224, 169, 79, 0.45); }
.bundle__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.bundle__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8, 10, 13, 0.95) 0%, rgba(8, 10, 13, 0.55) 50%, rgba(8, 10, 13, 0.2) 100%);
}
.bundle--featured .bundle__overlay {
  background: linear-gradient(90deg, rgba(8, 10, 13, 0.94) 0%, rgba(8, 10, 13, 0.6) 55%, rgba(8, 10, 13, 0.15) 100%);
}
.bundle:hover .bundle__img { transform: scale(1.05); }
.bundle__body { padding: 30px; width: 100%; }
.bundle--featured .bundle__body { max-width: 620px; padding: 44px; }
.bundle__flag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: #14100a; background: var(--accent);
  padding: 6px 13px; border-radius: 100px; margin-bottom: 16px;
}
.bundle h3 { font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; margin-bottom: 10px; }
.bundle--featured h3 { font-size: clamp(30px, 4vw, 52px); }
.bundle p { color: rgba(243, 241, 236, 0.75); font-size: 14.5px; margin-bottom: 18px; }
.bundle__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.bundle__meta span {
  font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.bundle__meta span:last-child { color: var(--accent); border-color: rgba(224, 169, 79, 0.5); }
.bundle__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px;
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.bundle__price s { color: var(--text-dim); font-size: 15px; }
.bundle__price strong { font-family: var(--font-display); font-size: 28px; }
.bundle__go { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--accent); transition: transform 0.35s var(--ease); }
.bundle:hover .bundle__go { transform: translateX(4px); }

/* ---------- Licensing (light section) ---------- */
.licenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.lic {
  background: #fff;
  border: 1px solid rgba(20, 23, 28, 0.07);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.lic--featured { background: var(--light-text); color: var(--text); border-color: var(--light-text); }
.lic__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.lic__head h3 { font-size: 26px; text-transform: uppercase; }
.lic__mult {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(20, 23, 28, 0.06);
}
.lic--featured .lic__mult { background: var(--accent); color: #14100a; }
.lic__short { color: var(--light-muted); font-size: 15px; margin-bottom: 24px; }
.lic--featured .lic__short { color: var(--text-muted); }
.lic__list { border-top: 1px solid rgba(20, 23, 28, 0.08); padding-top: 18px; }
.lic--featured .lic__list { border-color: var(--line); }
.lic__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  margin-bottom: 10px;
}
.lic__list li::before {
  content: "";
  position: absolute; left: 1px; top: 7px;
  width: 11px; height: 6px;
  border-left: 1.6px solid #a8742a; border-bottom: 1.6px solid #a8742a;
  transform: rotate(-45deg);
}
.lic--featured .lic__list li::before { border-color: var(--accent); }
.lic__list--no { margin-top: 8px; }
.lic__list--no li { color: var(--light-muted); }
.lic--featured .lic__list--no li { color: var(--text-dim); }
.lic__list--no li::before {
  width: 10px; height: 1.6px; top: 11px;
  border: 0; background: currentColor; transform: none; opacity: 0.6;
}

.buysteps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid rgba(20, 23, 28, 0.12);
}
.buysteps li {
  padding: 22px 20px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.buysteps span {
  display: block;
  font-size: 13px;
  color: #a8742a;
  margin-bottom: 6px;
}

/* ---------- Use-case marquee ---------- */
.usecases {
  background: var(--accent);
  color: #14100a;
  overflow: hidden;
  padding: 26px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.marquee__track span::after { content: "✦"; font-size: 0.5em; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page heads & filters ---------- */
.pagehead {
  padding: calc(var(--header-h) + 72px) 0 40px;
  background:
    radial-gradient(70% 90% at 80% 0%, rgba(224, 169, 79, 0.08), transparent 60%),
    var(--bg);
}
.pagehead__title {
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 18px 0 12px;
}
.pagehead__sub { color: var(--text-muted); font-size: 17px; max-width: 560px; margin-bottom: 36px; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--text-muted);
}
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.chip span {
  font-size: 11px;
  min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
}
.chip:hover { color: var(--text); border-color: var(--text-muted); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip[aria-pressed="true"] span { background: rgba(0, 0, 0, 0.1); }

.section--tight { padding-top: 40px; }
.cta--slim { padding: 110px 0; }

/* ---------- Package hero ---------- */
.ph {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 64px;
  overflow: hidden;
}
.ph__bg {
  position: absolute; inset: 0;
  background: #1a1e24 center/cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 16s ease-out forwards;
}
.ph__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(11, 13, 16, 1) 0%, rgba(11, 13, 16, 0.4) 45%, rgba(11, 13, 16, 0.35) 100%),
    linear-gradient(90deg, rgba(8, 10, 13, 0.6) 0%, rgba(8, 10, 13, 0) 70%);
}
.ph__inner { position: relative; z-index: 2; }
.ph .crumbs { margin-bottom: 28px; }
.ph__title {
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.ph__sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 10px 0 32px;
}
.ph__play {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 600;
  color: var(--text);
}
.ph__playbtn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #14100a;
  padding: 20px 18px 20px 23px;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.ph__playbtn::after {
  content: ""; position: absolute; inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(224, 169, 79, 0.5);
  animation: pulse 2.4s infinite;
}
.ph__play:hover .ph__playbtn { transform: scale(1.08); }
.ph__meta {
  position: absolute; right: 32px; bottom: 40px; z-index: 2;
  display: flex; gap: 24px;
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(243, 241, 236, 0.55);
}

/* ---------- Package detail layout ---------- */
.pd { padding: 40px 0 110px; }
.pd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: start;
}
.pd__lead {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: rgba(243, 241, 236, 0.9);
  max-width: 640px;
  margin-bottom: 56px;
}
.pd__block { margin-bottom: 64px; }
.pd__h {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
  font-weight: 600;
}
.pd__h-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pd__note { font-size: 13px; color: var(--text-dim); margin-bottom: 22px; }

.incl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}
.incl li {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px; font-weight: 500;
}
.incl li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

.incl-bundle li + li { margin-top: 10px; }
.incl-bundle a {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.incl-bundle a:hover { border-color: var(--line-strong); transform: translateX(4px); }
.incl-bundle__img {
  width: 92px; height: 60px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--surface-2) center/cover;
}
.incl-bundle__txt { flex: 1; min-width: 0; }
.incl-bundle__txt strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 16px; }
.incl-bundle__txt em { font-style: normal; font-size: 13px; color: var(--text-muted); }
.incl-bundle__val { font-size: 14px; color: var(--text-dim); text-decoration: line-through; }

/* Preview gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gthumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
}
.gthumb--lg,
.gthumb:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.gthumb .reel__play { width: 58px; height: 58px; margin: -29px 0 0 -29px; padding: 18px 16px 18px 21px; }
.gthumb--lg .reel__play { width: 80px; height: 80px; margin: -40px 0 0 -40px; padding: 25px 23px 25px 28px; }
.gthumb__info {
  position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
}
.gthumb__info h3 { font-size: 15px; text-transform: uppercase; }
.gthumb--lg .gthumb__info h3 { font-size: 20px; }
.gthumb__info span {
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 3px 9px; border-radius: 6px;
  background: rgba(8, 10, 13, 0.65);
  white-space: nowrap;
}
/* subtle watermark on previews */
.gthumb .reel__overlay::after {
  content: "AERIAL VISION · PREVIEW";
  position: absolute; top: 14px; left: 18px;
  font-size: 10px; letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.uses { display: flex; flex-wrap: wrap; gap: 10px; }
.uses li {
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500;
}

.lic-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lic-mini__item { background: var(--bg); padding: 22px; }
.lic-mini__item h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 8px; }
.lic-mini__item p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Purchase panel ---------- */
.buy {
  position: sticky;
  top: calc(68px + 24px);
  margin-top: -140px;
  z-index: 3;
}
.buy__card {
  background: rgba(21, 25, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.specs div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs dt {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 2px;
}
.specs dd { text-align: right; font-weight: 600; }

.lic-pick { border: 0; margin: 24px 0 20px; }
.lic-pick legend {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.lic-opt { display: block; cursor: pointer; }
.lic-opt + .lic-opt { margin-top: 8px; }
.lic-opt input { position: absolute; opacity: 0; pointer-events: none; }
.lic-opt__box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  transition: border-color 0.25s, background 0.25s;
}
.lic-opt__name { font-weight: 700; font-size: 14.5px; }
.lic-opt__desc { grid-column: 1; font-size: 12.5px; color: var(--text-muted); }
.lic-opt__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--font-display); font-weight: 700; }
.lic-opt:hover .lic-opt__box { border-color: var(--text-muted); }
.lic-opt input:checked + .lic-opt__box { border-color: var(--accent); background: var(--accent-soft); }
.lic-opt input:focus-visible + .lic-opt__box { outline: 2px solid var(--accent); outline-offset: 2px; }

.buy__price { margin-bottom: 18px; }
.buy__price span {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
}
.buy__price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 42px; line-height: 1.15;
}
.buy__price em { font-style: normal; font-size: 13px; color: var(--accent); }
.buy__btn { width: 100%; }
.buy__btn + .buy__btn { margin-top: 10px; }
.buy__trust { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.buy__trust li {
  position: relative; padding-left: 22px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 7px;
}
.buy__trust li::before {
  content: ""; position: absolute; left: 1px; top: 6px;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Upsell ---------- */
.upsell { padding-bottom: 100px; }
.upsell__box {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 169, 79, 0.35);
  background: radial-gradient(90% 140% at 0% 0%, rgba(224, 169, 79, 0.12), transparent 60%), var(--surface);
}
.upsell__box h2 { font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; max-width: 520px; }
.upsell__links { display: flex; flex-wrap: wrap; gap: 10px; }

.notfound { padding: calc(var(--header-h) + 120px) 20px 140px; text-align: center; }
.notfound .eyebrow { justify-content: center; }
.notfound .section__sub { margin-bottom: 32px; }

/* ---------- Modal media ---------- */
.modal__box iframe, .modal__box video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; background: #000;
}
.modal__box.has-video::before { display: none; }
.modal__msg code { font-size: 13px; color: var(--accent); }

/* ---------- Marketplace responsive ---------- */
@media (max-width: 1100px) {
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .fgrid--featured .fc--lg { grid-column: 1 / -1; }
  .bundles { grid-template-columns: repeat(2, 1fr); }
  .bundles .bundle:nth-child(3) { grid-column: 1 / -1; min-height: 340px; }
  .pd__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
}

@media (max-width: 960px) {
  .locations > .loc:nth-child(4) { grid-column: span 2; }
  .licenses { grid-template-columns: 1fr; }
  .buysteps { grid-template-columns: repeat(2, 1fr); }
  .buysteps li { padding-bottom: 18px; }

  .pd__grid { grid-template-columns: minmax(0, 1fr); }
  .buy { position: static; margin-top: 0; order: -1; }
  .pd { padding-top: 24px; }
  .pd__lead { margin-bottom: 44px; }
  .ph { min-height: 68vh; min-height: 68svh; }
  .ph__meta { display: none; }
  .lic-mini { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__stats { gap: 28px; }
  .fgrid, .bundles { grid-template-columns: 1fr; }
  .fgrid--featured .fc--lg .fc__media { min-height: 220px; }
  .bundles .bundle:nth-child(3) { min-height: 400px; }
  .bundle, .bundle--featured { min-height: 400px; }
  .bundle--featured .bundle__body, .bundle__body { padding: 24px; }
  .bundle--featured .bundle__overlay { background: linear-gradient(0deg, rgba(8, 10, 13, 0.95) 0%, rgba(8, 10, 13, 0.55) 60%, rgba(8, 10, 13, 0.25) 100%); }
  .locations > .loc:nth-child(4) { grid-column: auto; }
  .lic { padding: 28px 22px; }
  .buysteps { grid-template-columns: 1fr 1fr; }
  .buysteps li { font-size: 15px; }
  .marquee__track span { padding: 0 18px; gap: 36px; }

  .pagehead { padding-top: calc(var(--header-h) + 48px); }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  .incl { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gthumb, .gthumb--lg, .gthumb:last-child:nth-child(even) { aspect-ratio: 16 / 10; min-height: 0; }
  .buy__card { padding: 22px; }
  .buy__price strong { font-size: 36px; }
  .upsell__box { padding: 28px 22px; }
  .incl-bundle__val { display: none; }
}
.ph__meta { display: none; }

/* =========================================================
   AUTOPLAY VIDEO PREVIEWS
   ========================================================= */
.av-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 1.1s var(--ease);
  pointer-events: none;
}
.av-video.is-on { opacity: 1; }

/* Footage cards: keep badges above the video */
.fc__media .av-video { z-index: 0; }
.fc:hover .fc__media .av-video { transform: scale(1.04); }
.fc.is-playing .fc__play { opacity: 0; transform: scale(0.8); }

/* Small "playing" dot on cards */
.fc.is-playing .fc__clips::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #e5484d;
  vertical-align: 1px;
  animation: blink 1.4s infinite;
}

/* Gallery thumbnails */
.gthumb__vid { position: absolute; inset: 0; z-index: -2; }
.gthumb.is-playing .reel__play { opacity: 0; transform: scale(0.85); }
.gthumb.is-playing:hover .reel__play { opacity: 1; transform: scale(1.08); }
.gthumb .reel__play { transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease), color 0.5s var(--ease); }

/* =========================================================
   =========================================================
   WORDPRESS INTEGRATION
   Everything above is the original HTML design, unchanged.
   Below: WordPress-specific pieces that use the same tokens.
   =========================================================
   ========================================================= */

/* ---------- Accessibility ---------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--accent);
  color: #14100a;
  border-radius: 100px;
  font-weight: 700;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Admin bar offset for the fixed header ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .header { top: 0; }
  .admin-bar .header.scrolled { top: 0; }
}

/* ---------- Logo image ---------- */
.logo--image img, .logo__img { max-height: 40px; width: auto; }
.header.scrolled .logo--image img { max-height: 34px; }
.footer .logo--image img { max-height: 44px; }

/* ---------- Menus ---------- */
.nav__list .menu-item { list-style: none; }
.footer__col ul.menu { list-style: none; }

/* ---------- Showcase with 1 or 2 projects ---------- */
.showcase--1 { grid-template-columns: 1fr; grid-template-rows: 480px; }
.showcase--1 .reel--main { grid-row: auto; }
.showcase--2 { grid-template-rows: 420px; }
.showcase--2 .reel--main { grid-row: auto; }
.reel__link { color: inherit; }
.reel__link:hover { color: var(--accent); }
.reel .gthumb__vid { position: absolute; inset: 0; z-index: -2; }
.reel.is-playing .reel__play { opacity: 0; transform: scale(0.85); }
.reel.is-playing:hover .reel__play { opacity: 1; transform: scale(1.08); }

/* Projects grid (archive + related) */
.pgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.pgrid .reel { aspect-ratio: 16 / 10; min-height: 0; }

/* ---------- Page hero variants ---------- */
.pagehead__eyebrow { margin: 22px 0 -6px; }
.ph--page { min-height: 70vh; min-height: 70svh; }
.ph__lead {
  font-size: clamp(17px, 1.8vw, 20px);
  color: rgba(243, 241, 236, 0.8);
  max-width: 620px;
  margin-top: 18px;
}
.ph .ph__title em, .pagehead__title em, .section__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}
.section--light .section__title em { -webkit-text-stroke-color: var(--light-text); }
.ph .ph__title em, .pagehead__title em { -webkit-text-stroke-color: var(--text); }

/* ---------- Location / project intro ---------- */
.pd--wide { padding-bottom: 70px; }
.loc-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.loc-intro__cta { display: flex; flex-direction: column; gap: 10px; }
.loc-intro__cta .btn { width: 100%; }
.specs--card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
}
.specs--card div:last-child { border-bottom: 0; }
.specs--card a:hover { color: var(--accent); }

/* ---------- Add-ons ---------- */
.addons li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}
.addons li + li { margin-top: 8px; }
.addons strong { font-family: var(--font-display); color: var(--accent); white-space: nowrap; }

/* ---------- Contact strip ---------- */
.cstrip { padding: 0 0 100px; background: var(--bg); }
.cstrip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 36px 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.cstrip__head h2 { font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; }
.cstrip__head .eyebrow { margin-bottom: 10px; }
.cstrip__list { display: flex; flex-wrap: wrap; gap: 12px; }
.cstrip__list a, .cinfo li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cstrip__list a {
  padding: 12px 20px 12px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  transition: border-color 0.3s, background 0.3s;
}
.cstrip__list a:hover { border-color: var(--accent); background: var(--accent-soft); }
.cstrip__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  padding: 10px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.cstrip__list em, .cinfo em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cstrip__list strong { font-size: 14.5px; }

/* ---------- Contact page ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 64px;
  align-items: start;
}
.cinfo li {
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.cinfo li:first-child { padding-top: 0; }
.cinfo a:hover { color: var(--accent); }
.contact__map {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }
.contact__info .entry-content { margin-top: 28px; }
.contact__form .buy__card { position: static; }
.contact__form-title { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.contact__form-text { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform__field { margin-bottom: 16px; }
.cform__field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.cform input, .cform select, .cform textarea,
.search-form__input,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition: border-color 0.25s, background 0.25s;
}
.cform select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.cform select option { background: var(--surface); color: var(--text); }
.cform input:focus, .cform select:focus, .cform textarea:focus, .search-form__input:focus,
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--accent-soft);
}
.cform textarea { resize: vertical; min-height: 130px; }
.cform__submit { width: 100%; margin-top: 4px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  margin-bottom: 20px;
}
.form-notice--ok { background: rgba(70, 167, 88, 0.14); border: 1px solid rgba(70, 167, 88, 0.45); color: #b8e6c1; }
.form-notice--err { background: rgba(229, 72, 77, 0.12); border: 1px solid rgba(229, 72, 77, 0.45); color: #ffc9ca; }

/* ---------- About page ---------- */
.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 80px;
  align-items: center;
}
.about-story__grid:has(> :only-child) { grid-template-columns: minmax(0, 760px); }
.about-story__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.stats-row li { padding: 28px 20px 0 0; }
.stats-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  color: var(--accent);
}
.stats-row span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.why__media > img, .why__media .attachment-large {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* ---------- Editor content ---------- */
.entry-content { max-width: 760px; color: rgba(243, 241, 236, 0.86); font-size: 17px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  color: var(--text);
  text-transform: uppercase;
  margin-top: 1.8em;
}
.entry-content h2 { font-size: clamp(24px, 3vw, 34px); }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content blockquote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 22px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
}
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; height: auto; border-radius: var(--radius); }
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--text-dim); margin-top: 8px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.entry-content .wp-block-button__link { background: var(--accent); color: #14100a; border-radius: 100px; padding: 13px 24px; font-weight: 600; text-decoration: none; }
.entry-content .alignwide { max-width: 1000px; }
.entry-content .alignfull { max-width: none; }
.alignleft { float: left; margin: 0.4em 1.6em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.section--light .entry-content { color: var(--light-muted); }
.about-story .entry-content { font-size: 17.5px; }

.entry-hero { margin-bottom: 48px; }
.entry-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); }
.entry-meta { font-size: 14px; color: var(--text-dim); margin-top: 32px; }
.entry-meta a { color: var(--text-muted); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 56px 0 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 760px; }
.post-nav a { font-family: var(--font-display); font-weight: 600; }
.post-nav a:hover { color: var(--accent); }
.page-links { margin-top: 24px; display: flex; gap: 8px; }

.empty-note { color: var(--text-muted); font-size: 17px; margin-bottom: 24px; }

/* Pagination */
.pager { margin-top: 56px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pager .page-numbers {
  min-width: 44px; height: 44px;
  padding: 0 14px;
  display: inline-grid; place-items: center;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 14px;
}
.pager .page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }
.pager a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* Search form */
.search-form { display: flex; gap: 10px; max-width: 520px; margin-top: 8px; }

/* Comments */
.comments { max-width: 760px; margin-top: 64px; }
.comment-list { list-style: none; margin-bottom: 40px; }
.comment-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; margin-left: 28px; }
.comment-meta { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.comment-meta a { color: var(--text-muted); }
.comment-reply-link { font-size: 13px; color: var(--accent); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.comment-respond h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 18px; }

/* Widgets */
.entry-widgets { max-width: 760px; margin-top: 56px; }
.widget { margin-bottom: 32px; }
.widget__title { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.widget ul { list-style: none; }
.widget li { padding: 6px 0; }
.widget a:hover { color: var(--accent); }

/* ---------- Responsive (WordPress additions) ---------- */
@media (max-width: 1100px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; }
  .loc-intro { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .about-story__grid { gap: 48px; }
}
@media (max-width: 960px) {
  .loc-intro, .contact__grid, .about-story__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__form { order: -1; }
  .showcase--1, .showcase--2 { grid-template-rows: auto; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cstrip__inner { padding: 28px; }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .cform__row { grid-template-columns: 1fr; gap: 0; }
  .cstrip__list { flex-direction: column; width: 100%; }
  .cstrip__inner { padding: 24px 20px; }
  .cstrip { padding-bottom: 72px; }
  .stats-row li { padding-right: 10px; }
  .search-form { flex-direction: column; }
  .entry-content { font-size: 16px; }
  .alignleft, .alignright { float: none; margin: 1em 0; }
}

/* Gallery thumbnails keep their aspect ratio at every width (no min-height stretch). */
.gallery .gthumb { min-height: 0; }
