:root {
  --bg: #040406;
  --bg-surface: #0a0b10;
  --bg-card: rgba(14, 16, 23, 0.92);
  --bg-card-strong: rgba(18, 21, 30, 0.96);
  --bg-glass: rgba(10, 11, 16, 0.86);
  --border: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 255, 255, 0.22);
  --text: #f6f4ef;
  --text-muted: #a1a6b3;
  --text-dim: #737887;
  --accent: #f0b35e;
  --accent-warm: #ffd89b;
  --accent-deep: #c97c24;
  --accent-glow: rgba(240, 179, 94, 0.2);
  --emerald: #34d399;
  --cyan: #38bdf8;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-editorial: 'Syne', 'Space Grotesk', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --mx: 50vw;
  --my: 28vh;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  line-height: 1.58;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* =========================================================
   ARCHITECTURAL STUDIO CANVAS & DESKTOP CURSOR SPOTLIGHT
   ========================================================= */
.studio-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}

.studio-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 46% at 50% -12%, rgba(240, 179, 94, 0.17), transparent 72%),
    radial-gradient(ellipse 48% 36% at 88% 8%, rgba(56, 189, 248, 0.08), transparent 68%),
    radial-gradient(ellipse 52% 40% at 10% 86%, rgba(240, 179, 94, 0.07), transparent 70%);
}

.studio-grid,
.studio-spotlight {
  display: none;
}

/* Expensive fixed interactive cursor effects run ONLY on desktop mouse devices */
@media (hover: hover) and (pointer: fine) {
  .studio-grid {
    display: block;
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
      radial-gradient(rgba(255, 216, 155, 0.22) 1px, transparent 1px);
    background-size: 64px 64px, 64px 64px, 16px 16px;
    mask-image: radial-gradient(
      520px circle at var(--mx) var(--my),
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.35) 52%,
      rgba(0, 0, 0, 0.05) 100%
    );
    -webkit-mask-image: radial-gradient(
      520px circle at var(--mx) var(--my),
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.35) 52%,
      rgba(0, 0, 0, 0.05) 100%
    );
  }

  .studio-spotlight {
    display: block;
    position: absolute;
    inset: 0;
    background:
      radial-gradient(640px circle at var(--mx) var(--my), rgba(240, 179, 94, 0.12), transparent 56%),
      radial-gradient(280px circle at var(--mx) var(--my), rgba(255, 245, 224, 0.07), transparent 52%);
  }
}

.page-shell {
  position: relative;
  z-index: 1;
}

/* GPU-composited zero-reflow scroll bar */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), #fff4dc);
  z-index: 90;
  will-change: transform;
  pointer-events: none;
}

.container {
  width: min(1240px, calc(100% - 2.2rem));
  margin: 0 auto;
}

/* =========================================================
   FLOATING GLASS NAVBAR
   ========================================================= */
.navbar-wrap {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 1rem;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0.82rem 0.62rem 1.15rem;
  border-radius: 999px;
  background: rgba(11, 12, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.52);
}

@media (hover: hover) and (pointer: fine) {
  .navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-deep));
  color: #09090b;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(240, 179, 94, 0.3);
}

.brand-sub {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.44rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.76rem 1.35rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
  }

  .btn:hover::after {
    left: 145%;
  }

  .btn:hover {
    transform: translateY(-2px);
  }
}

.btn-primary {
  background: linear-gradient(135deg, #ffe3b3 0%, var(--accent) 55%, #d6892d 100%);
  color: #09090b;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 22px rgba(240, 179, 94, 0.26);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.btn-sm {
  padding: 0.5rem 0.98rem;
  font-size: 0.82rem;
}

/* =========================================================
   INTERACTIVE DESKTOP SPOTLIGHT & RIM LIGHT
   ========================================================= */
.spotlight-card {
  position: relative;
  --cx: 50%;
  --cy: 50%;
  --rx: 0deg;
  --ry: 0deg;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.38);
}

@media (hover: hover) and (pointer: fine) {
  .spotlight-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.2px;
    background: radial-gradient(
      280px circle at var(--cx) var(--cy),
      rgba(255, 216, 155, 0.78),
      rgba(240, 179, 94, 0.25) 42%,
      rgba(255, 255, 255, 0.08) 70%,
      transparent 90%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 4;
  }

  .spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--cx) var(--cy), rgba(255, 216, 155, 0.075), transparent 65%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 3;
  }

  .spotlight-card:hover::before,
  .spotlight-card:hover::after {
    opacity: 1;
  }
}

/* =========================================================
   HERO DIRECTOR STAGE
   ========================================================= */
.hero {
  padding: 4.5rem 0 3rem;
}

.hero-frame {
  position: relative;
  padding: 2.35rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(240, 179, 94, 0.08) 0%, rgba(14, 16, 23, 0.94) 42%, rgba(10, 12, 18, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 64px rgba(0, 0, 0, 0.56);
  overflow: hidden;
}

.hero-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 216, 155, 0.65), rgba(56, 189, 248, 0.35), transparent);
}

.hero-telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.65rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.38rem 0.92rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #a7f3d0;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulseRing 2.2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.rec-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fca5a5;
  font-weight: 700;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseRec 1.4s ease-in-out infinite;
}

@keyframes pulseRec {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 1.85rem;
  align-items: stretch;
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin: 0 0 1.05rem;
  font-family: var(--font-editorial);
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero h1 .serif-accent {
  background: linear-gradient(115deg, #fff8eb 8%, var(--accent-warm) 42%, var(--accent) 75%, #da8925 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0;
  max-width: 56ch;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.metric-chip {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.metric-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--accent-warm);
  letter-spacing: -0.02em;
}

.metric-chip span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

/* Hero Right Bento Spec Sheet */
.studio-spec-card {
  background: linear-gradient(165deg, rgba(22, 25, 34, 0.96), rgba(11, 13, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.spec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.spec-list {
  display: grid;
  gap: 0.8rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding-bottom: 0.56rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-row span {
  color: var(--text-muted);
  font-weight: 400;
}

.spec-row strong {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.spec-row strong.accent {
  color: var(--accent-warm);
}

.spec-footer {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.copy-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.98rem;
  border-radius: var(--radius-sm);
  background: rgba(240, 179, 94, 0.08);
  border: 1px solid rgba(240, 179, 94, 0.28);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.copy-pill span:last-child {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-warm);
}

.copy-pill:hover {
  border-color: rgba(255, 216, 155, 0.6);
  background: rgba(240, 179, 94, 0.14);
}

/* =========================================================
   INFINITE STUDIO MARQUEE
   ========================================================= */
.marquee-band {
  margin: 0.5rem 0 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.35rem;
  will-change: transform;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   SECTIONS & FILTER BAR
   ========================================================= */
.section {
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.eyebrow::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--accent);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 2.85vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-desc {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 58ch;
}

.filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.36rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.52rem 1.08rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn.active {
  background: linear-gradient(135deg, #ffe3b3, var(--accent));
  color: #09090b;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(240, 179, 94, 0.28);
}

/* =========================================================
   SHOWCASE GROUPS, REAL ESTATE TIERS & MINI TABS
   ========================================================= */
.group-block {
  margin-bottom: 4rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

.group-block:last-child {
  margin-bottom: 0;
}

.group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.group-header-left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem;
}

.group-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.group-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.tier-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.86rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.tier-tab:hover {
  color: var(--text);
}

.tier-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-warm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.tier-section {
  margin-bottom: 2.15rem;
}

.tier-section:last-child {
  margin-bottom: 0;
}

.tier-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.76rem 1.05rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent);
}

.tier-banner.budget {
  border-left-color: var(--emerald);
}

.tier-banner-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
}

.tier-chip {
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
}

.tier-chip.premium {
  background: rgba(240, 179, 94, 0.16);
  border: 1px solid rgba(240, 179, 94, 0.42);
  color: var(--accent-warm);
}

.tier-chip.budget {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #86efac;
}

.tier-rate {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Grids */
.grid-vertical {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.grid-wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}

.grid-five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.95rem;
}

/* Video Showcase Cards (Lightweight Mobile Paint + Desktop Tilt) */
.reel-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  contain: layout style paint;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .reel-card {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  }

  .reel-card:hover {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px);
    box-shadow:
      0 20px 44px rgba(0, 0, 0, 0.6),
      0 0 24px rgba(240, 179, 94, 0.12);
  }
}

.media-stage {
  position: relative;
  width: 100%;
  background: #0d0e14;
  overflow: hidden;
}

/* Glossy Mirror-Glass Sweep ("Tráng Gương") across every image */
.media-stage::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 0;
  width: 58%;
  height: 120%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 32%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 232, 190, 0.16) 62%,
    transparent 100%
  );
  transform: translate3d(-165%, 0, 0) skewX(-22deg);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
}

.reel-card:hover .media-stage::after,
.reel-card:active .media-stage::after,
.gallery-tile:hover .media-stage::after,
.gallery-tile:active .media-stage::after,
.gallery-tile:focus-visible .media-stage::after {
  transform: translate3d(265%, 0, 0) skewX(-22deg);
}

.media-stage.ratio-9-16 {
  aspect-ratio: 9 / 16;
}

.media-stage.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.media-stage.ratio-3-4 {
  aspect-ratio: 3 / 4;
}

.media-stage.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.media-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.media-stage.ratio-3-4 img {
  object-position: center 0%;
}

@media (hover: hover) and (pointer: fine) {
  .reel-card:hover .media-stage img,
  .gallery-tile:hover .media-stage img {
    transform: scale(1.045);
    filter: brightness(1.05) contrast(1.03);
  }
}

.inline-drive-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/* Cinema HUD Overlay */
.media-hud {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.78rem;
  background: linear-gradient(
    to bottom,
    rgba(4, 4, 7, 0.4) 0%,
    transparent 26%,
    transparent 58%,
    rgba(4, 4, 7, 0.84) 100%
  );
  z-index: 3;
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
}

/* Clean Pill Tag (No costly backdrop-filter blur pass on 50+ items) */
.edit-tag {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #f8f6f1;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.edit-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-warm);
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .edit-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.52s ease;
  }

  .reel-card:hover .edit-tag::after {
    left: 145%;
  }

  .reel-card:hover .edit-tag {
    border-color: rgba(255, 216, 155, 0.55);
    background: rgba(18, 16, 13, 0.94);
    transform: translateY(-1px);
  }
}

.edit-tag.tag-premium {
  border-color: rgba(240, 179, 94, 0.38);
  color: #ffe3b3;
}

.edit-tag.tag-budget::before {
  background: var(--emerald);
}

.edit-tag.tag-budget {
  border-color: rgba(52, 211, 153, 0.35);
  color: #d1fae5;
}

.edit-tag.tag-ai::before {
  background: var(--cyan);
}

.edit-tag.tag-ai {
  border-color: rgba(56, 189, 248, 0.38);
  color: #e0f2fe;
}

.expand-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 12, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 0.76rem;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .reel-card:hover .expand-dot,
  .gallery-tile:hover .expand-dot {
    transform: scale(1.1);
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    color: #09090b;
    box-shadow: 0 0 18px rgba(240, 179, 94, 0.55);
  }
}

.hud-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.hud-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* Pure Visual Gallery Tiles */
.gallery-tile {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: var(--bg-surface);
  overflow: hidden;
  cursor: pointer;
  contain: layout style paint;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-tile {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  }

  .gallery-tile:hover {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px);
    box-shadow:
      0 20px 42px rgba(0, 0, 0, 0.6),
      0 0 22px rgba(240, 179, 94, 0.1);
  }
}

.gallery-tile .media-hud {
  background: linear-gradient(to bottom, rgba(4, 4, 7, 0.14), transparent 40%, rgba(4, 4, 7, 0.34));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.gallery-tile:hover .media-hud,
.gallery-tile:focus-visible .media-hud {
  opacity: 1;
}

.gallery-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.75rem 0 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
}

.gallery-subhead span:last-child {
  font-weight: 500;
  color: var(--text-muted);
}

.gallery-subhead:first-of-type {
  margin-top: 0;
}

/* =========================================================
   TOP-TIER STOREFRONT PRICING
   ========================================================= */
.pricing-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.15rem;
}

.mode-switch {
  display: inline-flex;
  padding: 0.32rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mode-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mode-btn.active {
  background: linear-gradient(135deg, #ffe3b3, var(--accent));
  color: #09090b;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(240, 179, 94, 0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.store-card {
  background: linear-gradient(175deg, rgba(19, 22, 31, 0.96), rgba(11, 13, 19, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .store-card:hover {
    transform: translateY(-4px);
  }
}

.store-card.featured {
  background: linear-gradient(170deg, rgba(240, 179, 94, 0.16) 0%, rgba(20, 22, 31, 0.98) 44%, rgba(12, 13, 19, 0.99) 100%);
  border-color: rgba(240, 179, 94, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 216, 155, 0.24),
    0 20px 48px rgba(240, 179, 94, 0.1);
}

.store-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.store-kicker {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.store-badge {
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe3b3, var(--accent));
  color: #09090b;
  font-weight: 700;
}

.store-card h3 {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.store-price {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.store-unit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-warm);
}

.store-desc {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-muted);
}

.store-list {
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.085);
  display: grid;
  gap: 0.58rem;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.store-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.store-list li::before {
  content: '✦';
  font-size: 0.7rem;
  margin-top: 0.22rem;
  color: var(--accent);
}

.store-card .btn {
  margin-top: auto;
  width: 100%;
}

/* =========================================================
   STACK & WORKFLOW BENTO
   ========================================================= */
.bento-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.bento-panel {
  background: linear-gradient(175deg, rgba(18, 20, 29, 0.96), rgba(11, 13, 19, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
}

.bento-panel h3 {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stack-row {
  margin-bottom: 1.15rem;
}

.stack-row:last-child {
  margin-bottom: 0;
}

.stack-key {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.048);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.chip:hover {
  border-color: rgba(240, 179, 94, 0.45);
  background: rgba(240, 179, 94, 0.09);
}

.flow-steps {
  display: grid;
  gap: 1.05rem;
}

.flow-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.flow-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-warm);
  background: rgba(240, 179, 94, 0.12);
  border: 1px solid rgba(240, 179, 94, 0.35);
}

.flow-step strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* =========================================================
   CTA & FOOTER
   ========================================================= */
.cta-banner {
  background: linear-gradient(130deg, rgba(240, 179, 94, 0.16), rgba(16, 19, 28, 0.97) 56%);
  border: 1px solid rgba(240, 179, 94, 0.36);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-banner h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.45rem, 2.55vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0;
  color: var(--text-muted);
  max-width: 54ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

footer {
  padding: 2.25rem 0 3.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* =========================================================
   LIGHTBOX MODAL (9:16, 3:4 Portrait, 1:1 & 16:9)
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(3, 3, 5, 0.94);
}

@media (hover: hover) and (pointer: fine) {
  .modal {
    backdrop-filter: blur(12px);
  }
}

.modal.open {
  display: flex;
}

.modal-dialog {
  width: min(980px, 100%);
  background: #0c0d12;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
}

.modal-dialog.vertical {
  width: min(460px, 100%);
}

.modal-dialog.portrait {
  width: min(560px, 100%);
}

.modal-dialog.square {
  width: min(640px, 100%);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border);
}

.modal-head-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.modal-head-text span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.modal-stage {
  background: #040406;
  width: 100%;
  display: grid;
  place-items: center;
}

.modal-media-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  display: grid;
  place-items: center;
}

.modal-dialog.vertical .modal-media-box {
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  max-width: calc(78vh * 9 / 16);
}

.modal-dialog.portrait .modal-media-box {
  aspect-ratio: 3 / 4;
  max-height: 78vh;
  max-width: calc(78vh * 3 / 4);
}

.modal-dialog.square .modal-media-box {
  aspect-ratio: 1 / 1;
  max-height: 78vh;
  max-width: 78vh;
}

.modal-media-box iframe,
.modal-media-box img {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
}

/* =========================================================
   SCROLL REVEAL ANIMATION & TOAST
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.toast {
  position: fixed;
  bottom: 1.35rem;
  right: 1.35rem;
  z-index: 140;
  background: #14161e;
  color: var(--text);
  border: 1px solid rgba(240, 179, 94, 0.45);
  border-radius: 999px;
  padding: 0.68rem 1.2rem;
  font-size: 0.85rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.is-hidden {
  display: none !important;
}

/* Responsive + Lightweight Mobile Overrides */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-vertical {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pricing-grid,
  .bento-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-frame {
    padding: 1.35rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }
  .spotlight-card {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  }
  .nav-links {
    display: none;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .grid-vertical,
  .grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .grid-wide {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 2.4rem;
  }
  .cta-banner {
    padding: 1.45rem;
  }
  .reveal {
    transform: none;
    transition: opacity 0.3s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .media-stage::after {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
