  :root {
    --noir: #0a0a0a;
    --noir-2: #130918;
    --noir-3: #1f0f28;
    --cream: #ffffff;
    --cream-soft: #f0c8ff;
    --cream-mute: #bba8c8;
    --crimson: #a100ff;
    --crimson-deep: #7c00c9;
    --gold: #d4af37;
    --gold-deep: #b98f20;
    --bronze: #cc66ff;
    --neon: #f0c8ff;
    --line: rgba(204, 102, 255, 0.16);
    --line-strong: rgba(240, 200, 255, 0.34);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  [id] { scroll-margin-top: 110px; }

  body {
    background: var(--noir);
    color: var(--cream);
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    overflow-x: hidden;
    cursor: none;
  }

  /* Grain texture */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.07;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
  }

  /* Spotlight that follows cursor */
  .spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.08) 0%, rgba(232, 197, 71, 0) 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s var(--ease);
    will-change: transform;
  }

  /* Custom cursor */
  .cursor-dot, .cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
  }
  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--cream);
    border-radius: 50%;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease);
  }
  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid var(--cream);
    border-radius: 50%;
    transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .cursor-ring.hover {
    width: 70px;
    height: 70px;
    border-color: var(--gold);
    background: rgba(232, 197, 71, 0.08);
  }
  .cursor-dot.hover {
    background: var(--gold);
    width: 10px;
    height: 10px;
  }
  @media (max-width: 968px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring, .spotlight { display: none; }
  }

  /* Loader */
  .loader {
    position: fixed;
    inset: 0;
    background: var(--noir);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
    gap: 2rem;
  }
  .loader.hidden { opacity: 0; visibility: hidden; }
  .loader img {
    height: 72px;
    animation: spin 4s linear infinite;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  .loader-mark {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--cream);
    letter-spacing: 0.05em;
    overflow: hidden;
  }
  .loader-mark span {
    display: inline-block;
    animation: rise 1.2s var(--ease) forwards;
    opacity: 0;
    transform: translateY(100%);
  }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }
  .loader-mark span:nth-child(1) { animation-delay: 0.1s; }
  .loader-mark span:nth-child(2) { animation-delay: 0.18s; }
  .loader-mark span:nth-child(3) { animation-delay: 0.26s; }
  .loader-mark span:nth-child(4) { animation-delay: 0.34s; }
  .loader-mark span:nth-child(5) { animation-delay: 0.42s; }
  .loader-mark span:nth-child(6) { animation-delay: 0.5s; }
  .loader-mark span:nth-child(7) { animation-delay: 0.58s; }
  .loader-mark span:nth-child(8) { animation-delay: 0.66s; }
  .loader-mark span:nth-child(9) { animation-delay: 0.74s; }
  .loader-mark span:nth-child(10) { animation-delay: 0.82s; }

  /* Typography */
  .display {
    font-family: 'Bodoni Moda', serif;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.01em;
  }
  .display-grot {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    font-stretch: 110%;
  }
  .serif-italic {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
  }
  .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream-mute);
  }
  .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* Sticker badge - rotated colorful element */
  .sticker {
    display: inline-block;
    background: var(--gold);
    color: var(--noir);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: rotate(-4deg);
    animation: wobble 4s ease-in-out infinite;
  }
  .sticker.crimson { background: var(--crimson); color: var(--cream); }
  .sticker.neon { background: var(--neon); color: var(--noir); }
  @keyframes wobble {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
  }

  /* Navigation */
  nav.top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(24px);
    background: rgba(12, 11, 9, 0.6);
    border-bottom: 1px solid var(--line);
    transition: padding 0.4s var(--ease);
  }
  nav.top.scrolled { padding: 0.8rem 3rem; }
  @media (max-width: 768px) { nav.top { padding: 1rem 1.5rem; } }

  .brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: none;
  }
  .brand img {
    height: 46px;
    width: auto;
    display: block;
    transition: transform 0.5s var(--ease-bounce);
  }
  .brand:hover img { transform: rotate(-12deg) scale(1.08); }
  .brand-text {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--cream);
    line-height: 1;
  }
  @media (max-width: 540px) {
    .brand img { height: 36px; }
    .brand-text { display: none; }
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    color: var(--cream-soft);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s var(--ease);
    cursor: none;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
  }
  .nav-links a:hover { color: var(--cream); }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a.active { color: var(--gold); }
  .nav-links a.active::after { width: 100%; }

  .nav-links li.mobile-bottom { display: none; }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
  }

  .nav-parent {
    color: #f0c8ff;
    padding: 0.65rem 1.2rem;
    border: 1px solid rgba(204, 102, 255, 0.62);
    border-radius: 100px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
    cursor: none;
  }
  .nav-parent:hover {
    color: #0a0a0a;
    border-color: transparent;
    background: linear-gradient(90deg, #f0c8ff 0%, #cc66ff 55%, #a100ff 100%);
    box-shadow: 0 0 24px rgba(204, 102, 255, 0.45);
    transform: translateY(-2px);
  }

  .nav-cta {
    background: var(--gold);
    color: var(--noir);
    padding: 0.7rem 1.6rem;
    border-radius: 100px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    cursor: none;
  }
  .nav-cta:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 197, 71, 0.3);
  }

  @media (max-width: 1450px) and (min-width: 1101px) {
    nav.top { padding-left: 1.6rem; padding-right: 1.6rem; }
    nav.top.scrolled { padding-left: 1.6rem; padding-right: 1.6rem; }
    .nav-links { gap: 1.35rem; }
    .brand-text { display: none; }
    .nav-parent { padding-left: 0.9rem; padding-right: 0.9rem; font-size: 0.68rem; }
    .nav-cta { padding-left: 1.15rem; padding-right: 1.15rem; }
  }

  .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    width: 40px;
    height: 40px;
    cursor: none;
    position: relative;
  }
  .menu-toggle span {
    position: absolute;
    left: 8px;
    width: 24px;
    height: 1px;
    background: var(--cream);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .menu-toggle span:nth-child(1) { top: 16px; }
  .menu-toggle span:nth-child(2) { top: 22px; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

  /* Mobile menu backdrop - jen extra layer, NEKRITICKÝ pro funkčnost menu */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 11, 9, 0.5);
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  @media (max-width: 1100px) {
    /* FULLSCREEN OVERLAY MENU - pevné tmavé pozadí, žádný transform */
    .nav-links {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100vh;
      height: 100dvh;                    /* dynamic viewport - iOS-friendly */
      margin: 0;
      padding: 92px 1.5rem 2rem;         /* nahoře prostor pro navbar */
      background: #0a0907;               /* PEVNÉ tmavé pozadí - vždy viditelné */
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
      gap: 0;

      /* Skryté: opacity + visibility místo transformu (iOS-safe) */
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);

      z-index: 100;                      /* pod hamburgerem (106), nad obsahem */
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      box-shadow: none;
      border-left: none;
    }
    .nav-links.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .nav-links li {
      width: 100%;
      list-style: none;
    }

    .nav-links a {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 1.35rem;
      font-weight: 600;
      padding: 1.2rem 1.5rem;
      border-bottom: 1px solid rgba(232, 197, 71, 0.15);
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #f5ecd6;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: color 0.3s var(--ease), background 0.3s var(--ease), padding 0.3s var(--ease);
      opacity: 1;
      position: relative;
    }
    .nav-links a::after {
      content: '→';
      color: var(--gold);
      opacity: 0;
      transform: translateX(-8px);
      transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
      font-size: 1.1rem;
      display: inline-block;
      background: none;
      width: auto;
      height: auto;
      position: static;
    }
    .nav-links a::before { display: none; }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--gold);
      background: rgba(232, 197, 71, 0.08);
      padding-left: 2.1rem;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      opacity: 1;
      transform: translateX(0);
    }
    .nav-links a.active {
      border-left: 3px solid var(--gold);
      padding-left: 1.9rem;
    }

    /* Mobile CTA + contact block at bottom */
    .nav-links li.mobile-bottom {
      margin-top: auto;
      padding: 2rem 0.5rem 1rem;
      border-bottom: none;
      display: flex;
      flex-direction: column;
    }
    .nav-links li.mobile-bottom a.mobile-cta {
      background: var(--gold);
      color: var(--noir);
      padding: 1.1rem 2rem;
      text-align: center;
      border-radius: 100px;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 800;
      text-transform: uppercase;
      font-size: 0.95rem;
      letter-spacing: 0.1em;
      border: none;
      text-decoration: none;
      display: block;
      transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
      justify-content: center;
    }
    .nav-links li.mobile-bottom a.mobile-parent-cta {
      color: #f0c8ff;
      padding: 1rem 2rem;
      margin-bottom: 0.75rem;
      text-align: center;
      border: 1px solid rgba(204, 102, 255, 0.7);
      border-radius: 100px;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 800;
      text-transform: uppercase;
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-decoration: none;
      display: block;
      justify-content: center;
      background: rgba(161, 0, 255, 0.1);
      box-shadow: inset 0 0 24px rgba(204, 102, 255, 0.08);
    }
    .nav-links li.mobile-bottom a.mobile-parent-cta::after { display: none; }
    .nav-links li.mobile-bottom a.mobile-parent-cta:hover,
    .nav-links li.mobile-bottom a.mobile-parent-cta.active {
      color: #0a0a0a;
      padding-left: 2rem;
      border-left: 1px solid transparent;
      border-color: transparent;
      background: linear-gradient(90deg, #f0c8ff 0%, #cc66ff 55%, #a100ff 100%);
    }
    .nav-links li.mobile-bottom a.mobile-cta::after { display: none; }
    .nav-links li.mobile-bottom a.mobile-cta:hover {
      background: var(--cream);
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(232, 197, 71, 0.4);
    }
    .nav-links li.mobile-bottom .mobile-contact {
      margin-top: 1.4rem;
      padding-top: 1.4rem;
      border-top: 1px solid rgba(232, 197, 71, 0.15);
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      text-align: center;
    }
    .nav-links li.mobile-bottom .mobile-contact a {
      color: var(--cream-soft);
      text-decoration: none;
      padding: 0.5rem 0;
      border: none;
      font-size: 0.9rem;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: none;
      justify-content: center;
      background: transparent;
    }
    .nav-links li.mobile-bottom .mobile-contact a::after { display: none; }
    .nav-links li.mobile-bottom .mobile-contact a:hover {
      color: var(--gold);
      padding-left: 0;
      background: transparent;
    }

    .menu-toggle { display: block; z-index: 106; position: relative; }
    .nav-actions { display: none; }

    /* Tělo stránky se nesmí scrollovat když je menu otevřené */
    body.menu-open {
      overflow: hidden;
      position: fixed;
      width: 100%;
      left: 0;
      right: 0;
    }
  }

  @media (max-width: 380px) {
    .nav-links { padding: 84px 1rem 1.5rem; }
    .nav-links a { font-size: 1.2rem; padding: 1rem 1.2rem; }
  }

  /* Pages - each PHP file is a real page */
  .page {
    min-height: 100vh;
    animation: fadeUp 0.8s var(--ease);
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ==================== HOME HERO ==================== */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    padding: 0 3rem 4rem;
    overflow: hidden;
    background: var(--noir);
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .hero-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    opacity: 0;
    filter: contrast(108%) brightness(1.05) saturate(1.1);
    transition: opacity 1.8s var(--ease);
    animation: kenBurns 28s ease-in-out infinite alternate;
  }
  .hero-bg video.loaded { opacity: 0.9; }
  .hero-bg .video-poster {
    position: absolute;
    inset: 0;
    background-image: url('events/mia-2286.jpg');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.5;
    filter: grayscale(20%) contrast(110%);
    transition: opacity 1.4s var(--ease);
  }
  .hero-bg .video-poster.hidden { opacity: 0; }
  @keyframes kenBurns {
    0% { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(1.15); }
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,11,9,0.2) 0%, rgba(12,11,9,0.4) 55%, var(--noir) 100%);
    pointer-events: none;
  }

  /* Floating side decorations */
  .hero-side-rail {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .hero-side-rail::before {
    content: '';
    position: absolute;
    top: -3rem;
    left: 50%;
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, transparent, var(--gold));
  }
  .hero-side-rail::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    left: 50%;
    width: 1px;
    height: 3rem;
    background: linear-gradient(to top, transparent, var(--gold));
  }
  .hero-side-rail a {
    color: var(--cream-soft);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: color 0.3s var(--ease);
    cursor: none;
  }
  .hero-side-rail a:hover { color: var(--gold); }
  @media (max-width: 968px) { .hero-side-rail { display: none; } }

  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  /* Floating sticker on hero */
  .hero-sticker {
    position: absolute;
    top: 30%;
    right: 12%;
    z-index: 3;
    background: var(--crimson);
    color: var(--cream);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: rotate-slow 12s linear infinite, float 4s ease-in-out infinite alternate;
    box-shadow: 0 20px 40px rgba(255, 58, 45, 0.3);
    cursor: none;
  }
  .hero-sticker span:nth-child(2) {
    font-size: 1.4rem;
    margin-top: 0.2rem;
  }
  @keyframes rotate-slow {
    to { transform: rotate(360deg); }
  }
  @keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
  }
  @media (max-width: 768px) {
    .hero-sticker { width: 100px; height: 100px; font-size: 0.7rem; top: 18%; right: 6%; }
    .hero-sticker span:nth-child(2) { font-size: 1.1rem; }
  }

  .hero-title {
    font-size: clamp(3.5rem, 14vw, 12rem);
    line-height: 0.88;
    color: var(--cream);
    position: relative;
  }
  .hero-title .line {
    display: block;
    overflow: hidden;
  }
  .hero-title .line span {
    display: inline-block;
    animation: heroRise 1.2s var(--ease) backwards;
    position: relative;
  }
  .hero-title .line:nth-child(1) span { animation-delay: 1.0s; }
  .hero-title .line:nth-child(2) span { animation-delay: 1.15s; }
  @keyframes heroRise {
    from { transform: translateY(100%) skewY(8deg); opacity: 0; }
    to { transform: translateY(0) skewY(0); opacity: 1; }
  }
  .hero-title em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
  }

  /* Glitch effect on hover for title */
  .glitch {
    position: relative;
    display: inline-block;
  }
  .glitch::before,
  .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }
  .glitch::before {
    color: var(--crimson);
    transform: translate(2px, 0);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  }
  .glitch::after {
    color: var(--gold);
    transform: translate(-2px, 0);
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  }
  .glitch:hover::before,
  .glitch:hover::after {
    opacity: 0.85;
    animation: glitch-shake 0.4s steps(3) infinite;
  }
  @keyframes glitch-shake {
    0% { transform: translate(2px, 0); }
    33% { transform: translate(-3px, 1px); }
    66% { transform: translate(2px, -1px); }
    100% { transform: translate(2px, 0); }
  }

  .hero-meta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: end;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
  }
  .hero-meta p {
    font-size: 1rem;
    color: var(--cream-soft);
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-meta .scroll-indicator {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-mute);
    white-space: nowrap;
    align-self: end;
    animation: bobble 2s ease-in-out infinite;
  }
  @keyframes bobble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
  }
  @media (max-width: 768px) {
    .hero { padding: 0 1.5rem 3rem; min-height: 620px; }
    .hero-meta { grid-template-columns: 1fr; gap: 1.2rem; }
    .hero-meta p { margin: 0; }
  }

  /* Marquee */
  .marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 0;
    background: var(--noir);
    position: relative;
  }
  .marquee-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--cream);
    align-items: center;
  }
  .marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
  }
  .marquee-track span::after {
    content: '✦';
    color: var(--gold);
    font-size: 1.4rem;
  }
  .marquee-track .accent { color: var(--gold); font-style: italic; font-family: 'Cormorant Garamond', serif; font-weight: 400; }
  .marquee-track .crimson-accent { color: var(--crimson); }
  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ==================== DANCE FAMILY BAND ==================== */
  .family-band {
    position: relative;
    padding: 8rem 3rem;
    overflow: hidden;
    background: var(--noir);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
  }
  /* Big subtle background texture text */
  .family-band::before {
    content: 'SDC · SDC · SDC · SDC · SDC · SDC';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(8rem, 18vw, 18rem);
    color: var(--gold);
    opacity: 0.04;
    white-space: nowrap;
    letter-spacing: 0.08em;
    pointer-events: none;
  }
  /* Radial spotlight */
  .family-band::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(232,197,71,0.10) 0%, transparent 60%);
    pointer-events: none;
  }
  .family-band-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  .family-band .top-label {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }
  .family-band .top-label::before,
  .family-band .top-label::after {
    content: '';
    width: 50px;
    height: 1px;
    background: var(--gold);
  }
  .family-band-logo-wrap {
    position: relative;
    width: 100%;
    max-width: 820px;
    display: inline-block;
    isolation: isolate;
    transition: transform 0.5s var(--ease);
    will-change: transform;
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  .family-band-logo-wrap.in-view {
    animation: logo-reveal 1.6s cubic-bezier(0.7, 0, 0.3, 1) forwards;
  }
  @keyframes logo-reveal {
    0% { clip-path: inset(0 100% 0 0); opacity: 0; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; }
  }

  .family-band-logo {
    width: 100%;
    max-width: 820px;
    height: auto;
    display: block;
    will-change: transform, filter;
    filter: drop-shadow(0 20px 50px rgba(232, 197, 71, 0.25));
    transition: filter 0.6s var(--ease);
    position: relative;
    z-index: 1;
  }
  .family-band-logo-wrap:hover .family-band-logo {
    filter: drop-shadow(0 30px 70px rgba(232, 197, 71, 0.55)) brightness(1.1);
  }

  /* Shimmer streak sweeping across the logo */
  .family-band-logo-wrap::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -40%;
    width: 50%;
    height: 120%;
    background: linear-gradient(
      110deg,
      transparent 30%,
      rgba(232, 197, 71, 0.55) 48%,
      rgba(255, 245, 200, 0.7) 50%,
      rgba(232, 197, 71, 0.55) 52%,
      transparent 70%
    );
    filter: blur(28px);
    animation: shimmer-sweep 5.5s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
  }
  @keyframes shimmer-sweep {
    0% { transform: translateX(0); opacity: 0; }
    8% { opacity: 1; }
    50% { transform: translateX(350%); opacity: 1; }
    65% { opacity: 0; }
    100% { transform: translateX(350%); opacity: 0; }
  }

  /* Pulsing glow ring behind the logo */
  .family-band-logo-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(232, 197, 71, 0.18) 0%, transparent 60%);
    filter: blur(40px);
    animation: glow-pulse 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
  }
  @keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  }
  .family-band-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    color: var(--cream-soft);
    line-height: 1.4;
    max-width: 640px;
  }
  .family-band-sub em {
    color: var(--gold);
    font-style: italic;
  }
  .family-band-stickers {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
  }
  /* Decorative floating dots */
  .family-band .float-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.6;
  }
  .family-band .float-dot:nth-child(1) { top: 25%; left: 12%; animation: float-dot 5s ease-in-out infinite; }
  .family-band .float-dot:nth-child(2) { top: 65%; right: 15%; animation: float-dot 6s ease-in-out 1s infinite; background: var(--crimson); }
  .family-band .float-dot:nth-child(3) { top: 38%; right: 8%; animation: float-dot 7s ease-in-out 2s infinite; }
  .family-band .float-dot:nth-child(4) { bottom: 25%; left: 10%; animation: float-dot 5.5s ease-in-out 0.5s infinite; background: var(--crimson); }
  @keyframes float-dot {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(20px, -20px) scale(1.4); opacity: 1; }
  }
  @media (max-width: 768px) {
    .family-band { padding: 5rem 1.5rem; }
  }

  /* Smaller inline version of dance family for about page */
  .family-mark-inline {
    display: inline-block;
    margin: 1.5rem 0;
    max-width: 320px;
    width: 100%;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
    transition: transform 0.4s var(--ease);
  }
  .family-mark-inline:hover {
    transform: scale(1.03) rotate(-1deg);
  }

  /* Section base */
  section.block {
    padding: 8rem 3rem;
    position: relative;
  }
  @media (max-width: 768px) { section.block { padding: 5rem 1.5rem; } }

  .section-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
  }
  .section-head .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: var(--gold);
  }
  .section-head h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.95;
    color: var(--cream);
  }
  .section-head h2 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
  }
  @media (max-width: 768px) {
    .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  }

  /* Philosophy */
  .philosophy {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    align-items: start;
  }
  .philosophy-left .quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    line-height: 1.3;
    color: var(--cream);
  }
  .philosophy-left .quote::before {
    content: '"';
    font-size: 5rem;
    color: var(--gold);
    line-height: 0.5;
    display: block;
    margin-bottom: 1rem;
  }
  .philosophy-right p {
    color: var(--cream-soft);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
  .philosophy-right p:first-letter {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    float: left;
    line-height: 0.85;
    padding: 0.2rem 0.6rem 0 0;
    color: var(--gold);
  }
  @media (max-width: 968px) {
    .philosophy { grid-template-columns: 1fr; gap: 3rem; }
  }

  /* News grid (TILT CARDS) */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .news-card {
    background: var(--noir-2);
    border: 1px solid var(--line);
    padding: 1.5rem;
    position: relative;
    cursor: none;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
    will-change: transform;
  }
  .news-card:hover {
    border-color: var(--gold);
  }
  .news-card .img-wrap {
    height: clamp(220px, 18vw, 300px);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--noir-2);
    position: relative;
  }
  .news-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
    filter: grayscale(20%);
  }
  .news-card:hover img { transform: scale(1.03); filter: grayscale(0%); }
  .news-card .img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232,197,71,0) 0%, rgba(232,197,71,0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
  }
  .news-card:hover .img-wrap::after { opacity: 1; }
  .news-card .news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
  }
  .news-card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.6rem;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 0.8rem;
  }
  .news-card p {
    color: var(--cream-mute);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
  }
  .news-card .arrow {
    align-self: flex-start;
    color: var(--gold);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: gap 0.3s var(--ease);
    text-decoration: none;
    cursor: none;
  }
  .news-card:hover .arrow { gap: 1.2rem; }
  @media (max-width: 968px) {
    .news-grid { grid-template-columns: 1fr; }
  }

  /* CTA Strip */
  .cta-strip {
    padding: 6rem 3rem;
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
      radial-gradient(ellipse at 50% 50%, rgba(232,197,71,0.08) 0%, transparent 60%),
      var(--noir);
    position: relative;
  }
  .cta-strip h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--cream);
  }
  .cta-strip h3 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
  }
  .cta-strip p {
    max-width: 540px;
    margin: 0 auto 2.5rem;
    color: var(--cream-soft);
    font-size: 1.05rem;
  }

  /* Magnetic button */
  .btn-magnetic {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
    border-radius: 100px;
    position: relative;
    cursor: none;
    will-change: transform;
  }
  .btn-magnetic:hover {
    background: var(--gold);
    color: var(--noir);
    box-shadow: 0 12px 40px rgba(232, 197, 71, 0.35);
  }
  .btn-magnetic.solid {
    background: var(--crimson);
    color: var(--cream);
    border-color: var(--crimson);
  }
  .btn-magnetic.solid:hover {
    background: var(--crimson-deep);
    border-color: var(--crimson-deep);
    color: var(--cream);
    box-shadow: 0 12px 40px rgba(255, 58, 45, 0.4);
  }

  /* ==================== PAGE HERO ==================== */
  .page-hero {
    --page-hero-image: url('photos/lime-beats/DSC04188.jpg');
    --page-hero-position: center;
    padding: 12rem 3rem 6rem;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
  }
  .page-hero h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(3rem, 12vw, 12rem);
    line-height: 0.9;
    color: var(--cream);
    position: relative;
    z-index: 2;
  }
  .page-hero h1 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
  }
  .page-hero .subtitle {
    max-width: 520px;
    margin-top: 2rem;
    color: var(--cream-soft);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
  }
  .page-hero .breadcrumb {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  /* Floating shape decoration */
  .page-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,197,71,0.12) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    z-index: 0;
    animation: float-slow 8s ease-in-out infinite alternate;
  }
  .page-hero::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: min(62vw, 980px);
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(12, 11, 9, 0) 0%, rgba(12, 11, 9, 0.12) 38%, rgba(12, 11, 9, 0.68) 100%),
      linear-gradient(180deg, rgba(12, 11, 9, 0.02) 0%, rgba(12, 11, 9, 0.56) 100%),
      var(--page-hero-image) var(--page-hero-position) / cover no-repeat;
    opacity: 0.72;
    filter: saturate(0.9) contrast(1.08);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  }
  body[data-page="lekce"] .page-hero {
    --page-hero-image: url('photos/lime-beats/DSC04188.jpg');
    --page-hero-position: center;
  }
  body[data-page="sdc"] .page-hero {
    --page-hero-image: url('photos/spicy-bubbliz/DSC05891.jpg');
    --page-hero-position: center;
  }
  body[data-page="workshopy"] .page-hero {
    --page-hero-image: url('events/summer-dance-camp-2026.jpg');
    --page-hero-position: center;
  }
  body[data-page="prihlaska-soustredeni"] .page-hero {
    --page-hero-image: url('events/afro-street-carnival.png');
    --page-hero-position: center;
  }
  body[data-page="galerie"] .page-hero {
    --page-hero-image: url('events/mia-2286.jpg');
    --page-hero-position: center top;
  }
  body[data-page="vystoupeni"] .page-hero {
    --page-hero-image: url('photos/love-in-motion/DSC06156.jpg');
    --page-hero-position: center;
  }
  body[data-page="gdpr"] .page-hero,
  body[data-page="cookies"] .page-hero,
  body[data-page="rodice"] .page-hero {
    --page-hero-image: url('photos/mamas/DSC06895.jpg');
    --page-hero-position: center;
  }
  @keyframes float-slow {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-40px, 30px) scale(1.1); }
  }
  @media (max-width: 768px) {
    .page-hero { padding: 9rem 1.5rem 4rem; }
    .page-hero::after {
      width: 100%;
      opacity: 0.34;
      -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
      mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
    }
  }

  /* ==================== CLASSES ==================== */
  .classes { padding: 0 3rem; }
  .class-row {
    display: grid;
    grid-template-columns: 80px 1fr 1.4fr auto;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: padding 0.4s var(--ease);
  }
  .class-row:hover { padding: 3rem 1.5rem; }
  .class-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(232,197,71,0.05) 0%, transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
  }
  .class-row:hover::before { opacity: 1; }
  .class-row .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.2em;
  }
  .class-row .name {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    color: var(--cream);
    transition: color 0.3s var(--ease), transform 0.4s var(--ease);
  }
  .class-row:hover .name {
    color: var(--gold);
    transform: translateX(10px);
  }
  .class-row .desc {
    color: var(--cream-mute);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .class-row .age {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--bronze);
    font-size: 1.1rem;
    text-align: right;
    white-space: nowrap;
  }
  @media (max-width: 968px) {
    .class-row {
      grid-template-columns: auto 1fr;
      grid-template-rows: auto auto auto;
      gap: 0.5rem 1rem;
    }
    .class-row .num { grid-row: 1; }
    .class-row .name { grid-row: 1; grid-column: 2; }
    .class-row .desc { grid-row: 2; grid-column: 1/3; }
    .class-row .age { grid-row: 3; grid-column: 1/3; text-align: left; }
  }
  @media (max-width: 768px) { .classes { padding: 0 1.5rem; } }

  /* ==================== GROUPS GRID ==================== */
  .groups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 3rem;
  }
  .group-card {
    background: var(--noir-2);
    border: 1px solid var(--line);
    padding: 2.5rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: background 0.5s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: none;
    transform-style: preserve-3d;
    will-change: transform;
  }
  .group-card:hover {
    background: var(--noir-3);
    border-color: var(--gold);
  }
  .group-card .emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
    transition: transform 0.5s var(--ease-bounce);
  }
  .group-card:hover .emoji { transform: scale(1.3) rotate(-12deg) translateZ(20px); }
  .group-card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
    color: var(--cream);
    line-height: 1;
  }
  .group-card .group-age {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }
  .group-card p {
    color: var(--cream-mute);
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .group-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--bronze);
  }
  .group-card.crimson {
    background: var(--crimson);
    border-color: var(--crimson);
  }
  .group-card.crimson h3 { color: var(--cream); }
  .group-card.crimson .group-age { color: var(--cream); }
  .group-card.crimson p { color: rgba(236,228,211,0.9); }
  .group-card.crimson .badge { color: var(--cream); }
  .group-card.crimson:hover {
    background: var(--crimson-deep);
    transform: scale(1.02);
  }
  @media (max-width: 1100px) { .groups-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .groups-grid { grid-template-columns: 1fr; padding: 0 1.5rem; } }

  /* ==================== GALLERY ==================== */
  .gallery-intro {
    padding: 0 3rem 4rem;
  }
  .gallery-intro p {
    max-width: 700px;
    color: var(--cream-soft);
    font-size: 1.1rem;
    line-height: 1.7;
  }
  .gallery-filters {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
  }
  .filter-btn {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--cream-soft);
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: none;
    transition: all 0.3s var(--ease);
  }
  .filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
  }
  .filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--noir);
  }

  /* Masonry-style gallery grid */
  .gallery-grid {
    padding: 0 3rem 6rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    grid-auto-rows: 140px;
    grid-auto-flow: dense;
  }
  .gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--noir-2);
    cursor: none;
    transition: transform 0.5s var(--ease);
    will-change: transform;
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
    filter: grayscale(20%) contrast(105%);
  }
  .gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(12,11,9,0.85) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
  }
  .gallery-item .info {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    right: 1.2rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    pointer-events: none;
  }
  .gallery-item .info h4 {
    font-family: 'Bodoni Moda', serif;
    color: var(--cream);
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 0.3rem;
  }
  .gallery-item .info .meta {
    font-family: 'JetBrains Mono', monospace;
    color: var(--gold);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .gallery-item .zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    background: var(--gold);
    color: var(--noir);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    opacity: 0;
    transform: scale(0) rotate(-90deg);
    transition: transform 0.4s var(--ease-bounce), opacity 0.3s var(--ease);
  }
  .gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(108%);
  }
  .gallery-item:hover::before { opacity: 1; }
  .gallery-item:hover .info {
    opacity: 1;
    transform: translateY(0);
  }
  .gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: scale(1) rotate(0);
  }

  /* Specific grid spans for masonry effect */
  .gallery-item.tall { grid-row: span 4; }
  .gallery-item.wide { grid-column: span 6; grid-row: span 2; }
  .gallery-item.large { grid-column: span 6; grid-row: span 4; }
  .gallery-item.medium { grid-column: span 4; grid-row: span 3; }
  .gallery-item.small { grid-column: span 3; grid-row: span 2; }
  .gallery-item.standard { grid-column: span 4; grid-row: span 2; }

  @media (max-width: 968px) {
    .gallery-grid {
      grid-template-columns: repeat(6, 1fr);
      grid-auto-rows: 120px;
      padding: 0 1.5rem 4rem;
    }
    .gallery-item.large, .gallery-item.wide { grid-column: span 6; grid-row: span 3; }
    .gallery-item.medium, .gallery-item.standard { grid-column: span 3; grid-row: span 2; }
    .gallery-item.small { grid-column: span 3; grid-row: span 2; }
    .gallery-item.tall { grid-column: span 3; grid-row: span 3; }
  }

  /* Lightbox */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(12, 11, 9, 0.96);
    backdrop-filter: blur(20px);
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }
  .lightbox.active { opacity: 1; visibility: visible; }
  .lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-bounce);
  }
  .lightbox.active img { transform: scale(1); }
  .lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--gold);
    color: var(--noir);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.3s var(--ease);
    font-family: 'JetBrains Mono', monospace;
    z-index: 9999;
  }
  .lightbox-close:hover { transform: rotate(90deg) scale(1.1); }
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(236,228,211,0.1);
    border: 1px solid var(--line-strong);
    color: var(--cream);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-size: 1.4rem;
    z-index: 9999;
  }
  .lightbox-nav:hover {
    background: var(--gold);
    color: var(--noir);
    border-color: var(--gold);
  }
  .lightbox-prev { left: 2rem; }
  .lightbox-next { right: 2rem; }

  /* ==================== EVENTS ==================== */
  .events {
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    max-width: 1480px;
    margin: 0 auto;
  }
  .event {
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    padding: 6rem 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
  }
  .event:nth-child(even) { direction: rtl; }
  .event:nth-child(even) > * { direction: ltr; }
  .event-img {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--noir-2);
    position: relative;
    width: min(100%, 520px);
    justify-self: center;
    border: 1px solid var(--line);
  }
  .event-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s var(--ease);
  }
  .event:hover .event-img img { transform: scale(1.02); }
  .event-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(12,11,9,0.4) 100%);
    pointer-events: none;
  }
  .event-content .date {
    font-family: 'JetBrains Mono', monospace;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  .event-content h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    color: var(--cream);
  }
  .event-content h3 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
  }
  .event-content .lead {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--cream-soft);
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  .event-content p {
    color: var(--cream-mute);
    line-height: 1.7;
    margin-bottom: 2rem;
  }
  .event-features {
    list-style: none;
    margin-bottom: 2rem;
  }
  .event-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--cream-soft);
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .event-features li::before {
    content: '✦';
    color: var(--gold);
    font-size: 0.8rem;
  }
  @media (max-width: 968px) {
    .event { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; }
    .event:nth-child(even) { direction: ltr; }
  }
  @media (max-width: 768px) { .events { padding: 0 1.5rem; } }

  /* ==================== ABOUT ==================== */
  .about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .about-hero-text {
    padding: 8rem 3rem;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .about-hero-text h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    margin-bottom: 2.5rem;
    color: var(--cream);
  }
  .about-hero-text h1 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
  }
  .about-hero-text .lead {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--cream-soft);
    margin-bottom: 2rem;
  }
  .about-hero-text p {
    color: var(--cream-mute);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
  }
  .about-hero-img {
    background-image: url('events/mia-2286.jpg');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    position: relative;
    overflow: hidden;
  }
  .about-hero-img img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    display: block;
  }
  .about-hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232,197,71,0.15) 0%, transparent 50%);
  }
  @media (max-width: 968px) {
    .about-hero-grid { grid-template-columns: 1fr; }
    .about-hero-text { padding: 6rem 1.5rem; border-right: none; border-bottom: 1px solid var(--line); }
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .team-card {
    min-height: 320px;
    padding: 3.5rem 3rem;
    border-right: 1px solid var(--line);
    background: rgba(21, 19, 15, 0.44);
    transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .team-card:last-child { border-right: none; }
  .team-card:hover {
    background: var(--noir-2);
    transform: translateY(-4px);
  }
  .team-card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--cream);
    margin: 1.4rem 0 1.2rem;
  }
  .team-card h3 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
  }
  .team-card p {
    color: #cfc5b5;
    font-family: 'Manrope', 'Bricolage Grotesque', Arial, sans-serif;
    font-weight: 520;
    line-height: 1.75;
    margin: 0 0 1.4rem;
  }
  .team-card a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 800;
  }
  @media (max-width: 968px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-card {
      min-height: auto;
      padding: 2.5rem 1.5rem;
      border-right: none;
      border-bottom: 1px solid var(--line);
    }
    .team-card:last-child { border-bottom: none; }
  }

  /* Stats with counter */
  .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
  }
  .stat {
    padding: 4rem 2rem;
    border-right: 1px solid var(--line);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .stat::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--gold);
    transition: width 1.5s var(--ease);
  }
  .stat.in::before { width: 100%; }
  .stat:last-child { border-right: none; }
  .stat .num {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }
  .stat .desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-mute);
  }
  @media (max-width: 768px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  }

  /* Values */
  .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .value {
    padding: 5rem 3rem;
    border-right: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: background 0.4s var(--ease);
  }
  .value:hover { background: var(--noir-2); }
  .value:last-child { border-right: none; }
  .value .num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 2rem;
    opacity: 0.3;
  }
  .value h4 {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--cream);
  }
  .value h4 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
  }
  .value p {
    color: var(--cream-mute);
    line-height: 1.7;
    font-size: 0.95rem;
  }
  @media (max-width: 968px) {
    .values-grid { grid-template-columns: 1fr; }
    .value { border-right: none; border-bottom: 1px solid var(--line); padding: 3rem 1.5rem; }
    .value:last-child { border-bottom: none; }
  }

  /* ==================== CONTACT ==================== */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
  }
  .contact-info {
    padding: 5rem 3rem;
    border-right: 1px solid var(--line);
  }
  .contact-info h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2.4rem;
    color: var(--cream);
  }
  .contact-info h1 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
  }
  .contact-block {
    margin-bottom: 2.2rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid var(--line);
  }
  .contact-block:last-child { border-bottom: none; }
  .contact-block .label { margin-bottom: 0.8rem; display: block; }
  .contact-block a, .contact-block .val {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.6rem;
    color: var(--cream);
    text-decoration: none;
    display: block;
    line-height: 1.3;
    transition: color 0.3s var(--ease);
    cursor: none;
  }
  .contact-block a:hover { color: var(--gold); }

  .contact-form {
    padding: 6rem 3rem;
    background: var(--noir-2);
  }
  .contact-form h2 {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--cream);
    font-weight: 300;
  }
  .form-group { margin-bottom: 2rem; }
  .form-group label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-mute);
    margin-bottom: 0.8rem;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-strong);
    padding: 0.6rem 0;
    color: var(--cream);
    font-family: 'Bodoni Moda', serif;
    font-size: 1.3rem;
    outline: none;
    transition: border-color 0.3s var(--ease);
    cursor: none;
  }
  .form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 300;
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-bottom-color: var(--gold);
  }
  .form-group select option { background: var(--noir-2); color: var(--cream); }
  @media (max-width: 968px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { border-right: none; border-bottom: 1px solid var(--line); padding: 2.8rem 1.5rem; }
    .contact-info h1 {
      font-size: clamp(3rem, 13vw, 5.2rem);
      margin-bottom: 2rem;
    }
    .contact-block {
      margin-bottom: 1.7rem;
      padding-bottom: 1.7rem;
    }
    .contact-block a,
    .contact-block .val {
      font-size: 1.35rem;
      line-height: 1.25;
    }
    .contact-form { padding: 3rem 1.5rem; }
  }

  /* Footer */
  footer {
    background: var(--noir);
    padding: 5rem 3rem 2rem;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
  }
  .footer-brand img {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
  }
  .footer-brand .display {
    font-size: 2.4rem;
    margin-bottom: 0;
    color: var(--cream);
  }
  .footer-brand p {
    color: var(--cream-mute);
    max-width: 320px;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-top: 1rem;
  }
  .footer-col h5 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 400;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 0.7rem; }
  .footer-col a {
    color: var(--cream-soft);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s var(--ease);
    cursor: none;
  }
  .footer-col a:hover { color: var(--gold); }
  .footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--cream-mute);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .footer-bottom .social { display: flex; gap: 1.5rem; }
  .footer-bottom .social a {
    color: var(--cream-soft);
    text-decoration: none;
    transition: color 0.3s var(--ease);
    cursor: none;
  }
  .footer-bottom .social a:hover { color: var(--gold); }
  @media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1/3; }
  }
  @media (max-width: 768px) {
    footer { padding: 4rem 1.5rem 2rem; }
    .footer-bottom {
      flex-direction: column;
      gap: 1.25rem;
      width: 100%;
      font-size: 0.7rem;
      line-height: 1.65;
      letter-spacing: 0.12em;
      text-align: center;
    }
    .footer-bottom .social {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.8rem 1rem;
      width: 100%;
    }
    .footer-bottom .social a,
    .footer-bottom .social button {
      min-width: 0;
      line-height: 1.5;
      overflow-wrap: anywhere;
      white-space: normal;
    }
    .footer-bottom .social a:nth-child(3),
    .footer-bottom .social button {
      grid-column: 1 / -1;
    }
  }

  /* Partners marquee */
  .partners {
    padding: 4rem 0;
    background: #fff;
    border-top: 1px solid rgba(232, 197, 71, 0.35);
    overflow: hidden;
  }
  .partners-title { text-align: center; margin-bottom: 2.5rem; }
  .partners-title .label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-deep);
  }
  .partners-title h4 {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--cream-soft);
    font-weight: 300;
  }
  .partners-track {
    display: flex;
    gap: 4rem;
    animation: scroll 50s linear infinite;
    align-items: center;
    white-space: nowrap;
    color: var(--cream-mute);
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
  }
  .partners-track span {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
  }
  .partners-track span::after {
    content: '·';
    color: var(--gold);
    font-size: 1.5rem;
  }

  .partners-logo-marquee {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid rgba(232, 197, 71, 0.42);
    border-bottom: 1px solid rgba(232, 197, 71, 0.42);
    padding: 1.15rem 0;
    position: relative;
  }

  .partners-logo-marquee::before,
  .partners-logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(10vw, 150px);
    z-index: 2;
    pointer-events: none;
  }
  .partners-logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
  }
  .partners-logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
  }

  .partners-logo-track {
    display: flex;
    width: max-content;
    animation: partners-logo-scroll 48s linear infinite;
    will-change: transform;
  }

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

  .partners-logo-set {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    padding-right: clamp(2rem, 4vw, 4rem);
    flex: 0 0 auto;
  }

  .partner-logo-card {
    flex: 0 0 180px;
    height: 86px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .partner-logo-card.wide { flex-basis: 250px; }
  .partner-logo-card.compact { flex-basis: 132px; }
  .partner-logo-card.business-card {
    flex-basis: 250px;
    height: 96px;
  }

  .partner-logo-card img {
    display: block;
    width: 100%;
    max-width: 180px;
    max-height: 74px;
    object-fit: contain;
  }

  .partner-logo-card.wide img { max-width: 245px; }
  .partner-logo-card.business-card img {
    max-width: 235px;
    max-height: 90px;
  }
  .partner-logo-card.compact img {
    max-width: 118px;
    max-height: 76px;
  }

  @keyframes partners-logo-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  @media (max-width: 768px) {
    .partners {
      padding: 3rem 0;
      background: #fff;
    }
    .partners-title {
      margin-bottom: 1.6rem;
      padding: 0 1rem;
    }
    .partners-logo-marquee {
      padding: 0.8rem 0;
    }
    .partners-logo-set {
      gap: 1.8rem;
      padding-right: 1.8rem;
    }
    .partner-logo-card {
      flex-basis: 140px;
      height: 70px;
    }
    .partner-logo-card.wide { flex-basis: 205px; }
    .partner-logo-card.compact { flex-basis: 104px; }
    .partner-logo-card.business-card {
      flex-basis: 185px;
      height: 76px;
    }
    .partner-logo-card img {
      max-width: 140px;
      max-height: 56px;
    }
    .partner-logo-card.wide img { max-width: 200px; }
    .partner-logo-card.business-card img {
      max-width: 178px;
      max-height: 70px;
    }
    .partner-logo-card.compact img {
      max-width: 92px;
      max-height: 58px;
    }
  }

  /* Reveal animations */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-img {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: opacity 1.2s var(--ease), clip-path 1.2s var(--ease);
  }
  .reveal-img.in {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

/* ========================================================== */
/*   VYSTOUPENÍ / VIDEO SHOWCASE                              */
/* ========================================================== */

/* Section heading variant */
.video-showcase-section {
  padding: 6rem 3rem 8rem;
  position: relative;
}
@media (max-width: 768px) {
  .video-showcase-section { padding: 4rem 1.2rem 5rem; }
}

/* Featured (large) video card - hero of the showcase */
.video-featured {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--noir-2);
  cursor: pointer;
  margin-bottom: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.video-featured .vf-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
  transform: scale(1.02);
}
.video-featured:hover .vf-poster {
  transform: scale(1.06);
  filter: brightness(0.7);
}
.video-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,11,9,0.1) 0%, rgba(12,11,9,0.5) 60%, rgba(12,11,9,0.95) 100%);
  z-index: 2;
  pointer-events: none;
}
.video-featured .vf-meta {
  position: absolute;
  left: 2.5rem;
  right: 2.5rem;
  bottom: 2.5rem;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  pointer-events: none;
}
.video-featured .vf-text { flex: 1; }
.video-featured .vf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 197, 71, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}
.video-featured .vf-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.video-featured h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.video-featured h3 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
}
.video-featured .vf-info {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.video-featured .vf-info span:not(:last-child)::after {
  content: '·';
  margin: 0 0.7rem;
  color: var(--gold);
}

/* Big play button overlay */
.video-featured .play-btn,
.video-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(232, 197, 71, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform 0.4s var(--ease-bounce), background 0.3s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 0 0 0 rgba(232, 197, 71, 0.4);
  cursor: pointer;
}
.video-card .play-btn { width: 64px; height: 64px; }
.video-featured:hover .play-btn,
.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--cream);
  box-shadow: 0 0 0 24px rgba(232, 197, 71, 0.15);
}
.play-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 24px solid var(--noir);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 6px;
}
.video-card .play-btn::before {
  border-left-width: 16px;
  border-top-width: 11px;
  border-bottom-width: 11px;
}
.play-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(232, 197, 71, 0.5);
  animation: play-pulse 2.4s ease-in-out infinite;
}
@keyframes play-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Secondary video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--noir-2);
  cursor: pointer;
  transition: transform 0.5s var(--ease);
}
.video-card:hover { transform: translateY(-6px); }
.video-card .vc-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}
.video-card:hover .vc-poster { transform: scale(1.08); }
.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12,11,9,0.92) 100%);
  z-index: 2;
  pointer-events: none;
}
.video-card .vc-meta {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  pointer-events: none;
}
.video-card .vc-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.video-card h4 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.video-card .vc-info {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-mute);
}
.video-card .vc-info span:not(:last-child)::after {
  content: '·';
  margin: 0 0.5rem;
  color: var(--gold);
  opacity: 0.7;
}

/* Featured + small layout on home */
.video-spotlight {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.video-spotlight .video-featured {
  margin-bottom: 0;
}
.video-spotlight .video-card {
  aspect-ratio: auto;
  height: 100%;
}
@media (max-width: 968px) {
  .video-spotlight {
    grid-template-columns: 1fr;
  }
  .video-spotlight .video-card {
    aspect-ratio: 16 / 9;
  }
}

/* ============ CUSTOM VIDEO PLAYER (lightbox) ============ */
.video-player {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 5, 0.96);
  backdrop-filter: blur(20px);
  z-index: 9996;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.video-player.active {
  opacity: 1;
  visibility: visible;
}
.video-player-content {
  position: relative;
  width: min(96vw, 1400px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.5s var(--ease-bounce);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.video-player.active .video-player-content {
  transform: scale(1);
}
.video-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* Custom controls bar */
.video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 2rem 1.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 80%);
  z-index: 5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.video-player-content:hover .video-controls,
.video-controls.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Progress bar */
.video-progress {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: height 0.2s var(--ease);
}
.video-progress:hover {
  height: 6px;
}
.video-progress-buffer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  transition: width 0.3s linear;
}
.video-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 100px;
  width: 0;
  transition: width 0.1s linear;
}
.video-progress-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s var(--ease);
  box-shadow: 0 0 12px rgba(232, 197, 71, 0.6);
}
.video-progress:hover .video-progress-thumb {
  transform: translate(-50%, -50%) scale(1);
}

.video-controls-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--cream);
}
.video-btn {
  background: transparent;
  border: none;
  color: var(--cream);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  font-size: 1rem;
  padding: 0;
}
.video-btn:hover {
  background: rgba(232, 197, 71, 0.18);
  color: var(--gold);
  transform: scale(1.08);
}
.video-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}
.video-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--cream-soft);
  white-space: nowrap;
}
.video-time .sep { color: var(--gold); margin: 0 0.4rem; }
.video-controls-spacer { flex: 1; }
.video-volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.video-volume {
  width: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: width 0.3s var(--ease);
  overflow: hidden;
}
.video-volume-wrap:hover .video-volume {
  width: 80px;
}
.video-volume-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--gold);
  border-radius: 100px;
}

/* Close button */
.video-player-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cream);
  z-index: 10;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.video-player-close:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  transform: rotate(90deg);
}

/* Title bar over player */
.video-player-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  z-index: 5;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.video-player-content:hover .video-player-title {
  opacity: 1;
  transform: translateY(0);
}
.video-player-title h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 0.2rem;
  line-height: 1;
}
.video-player-title h3 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
}
.video-player-title .vp-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-mute);
}

@media (max-width: 768px) {
  .video-player-content { width: 100vw; border-radius: 0; }
  .video-controls { padding: 1rem 1rem 0.8rem; }
  .video-player-close { top: 1rem; right: 1rem; width: 40px; height: 40px; }
  .video-player-title { padding: 1rem; }
  .video-player-title h3 { font-size: 1.2rem; }
  .video-volume-wrap { display: none; }
}

/* Fullscreen state */
.video-player-content:fullscreen,
.video-player-content:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}

/* Buffering spinner */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.video-loading.active { opacity: 1; }
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   MIA FESTIVAL — extra video & section helpers
   ============================================================ */

/* Section lead text - under section title */
.section-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--cream-mute);
  font-style: italic;
  font-weight: 300;
  max-width: 56ch;
  margin-top: 0.8rem;
  grid-column: 2;
}
@media (max-width: 900px) {
  .section-lead { grid-column: 1; }
}

/* 2-column video grid (for soustředění) */
.video-grid-2col {
  grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 800px) {
  .video-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

/* Larger cards in the grid for 4-up layout */
.video-card-grid {
  aspect-ratio: 4 / 3;
}
.video-card-grid h4 {
  font-size: 1.6rem;
}

/* Vertical video posters (Soustředění 2026) - center crop */
.video-card[data-video*="soustredko-2026"] .vc-poster {
  background-size: cover;
  background-position: center;
}

/* ============================================================
   MOBILE FIXES - lightbox, menu, video player
   ============================================================ */

/* Mobile: lightbox nav buttons - větší tap target a viditelnější */
@media (max-width: 768px) {
  .lightbox {
    padding: 1rem;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    z-index: 10001;
  }
  .lightbox-nav {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    background: rgba(232, 197, 71, 0.25);
    border: 1px solid var(--gold);
    color: var(--gold);
    z-index: 10001;
  }
  .lightbox-prev { left: 0.8rem; }
  .lightbox-next { right: 0.8rem; }
  .lightbox img {
    max-height: 75vh;
    max-width: 92vw;
  }

  /* Mobile: video player tap targets */
  .video-player-close {
    width: 48px;
    height: 48px;
  }

  /* Mobile: filter scroll horizontally */
  .gallery-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .gallery-filters .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* Disable custom cursor on touch devices - menu fix */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot,
  .cursor-ring,
  .spotlight {
    display: none !important;
  }
  /* Restore native cursor on all interactive elements */
  a, button, .menu-toggle, .lightbox-close, .lightbox-nav,
  .filter-btn, .gallery-item, [data-magnetic], .video-card, .video-featured,
  .play-btn, .video-btn, .video-progress, .video-volume {
    cursor: pointer !important;
  }
}

/* ============================================================
   PUBLIC READABILITY BOOST
   ============================================================ */
body {
  font-weight: 430;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.nav a {
  color: #eee4d2;
  font-weight: 650;
}

.page-hero .subtitle,
.section-lead,
.class-row .desc,
.group-card p,
.event-content p,
.about-hero-text p,
.studio-card p,
.footer-col p,
.contact-block p,
.video-card .vc-info,
.video-featured .vf-info {
  color: #cfc5b5;
  font-family: 'Manrope', 'Bricolage Grotesque', Arial, sans-serif;
  font-weight: 520;
  letter-spacing: 0;
}

.class-row .desc,
.event-content p,
.about-hero-text p {
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.75;
}

.class-row .name,
.event-content h3,
.group-card h3 {
  text-shadow: 0 0 1px rgba(255, 247, 232, 0.25);
}

.class-row .age,
.event-content .lead,
.about-hero-text .lead,
.section-lead {
  color: #e0d3bd;
  font-weight: 500;
}

.label,
.class-row .num,
.event-content .date,
.form-group label,
.contact-block .label {
  color: #f0ca42;
  font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select {
  color: #fff7e8;
  font-family: 'Manrope', 'Bricolage Grotesque', Arial, sans-serif;
  font-weight: 650;
  letter-spacing: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(236, 228, 211, 0.62);
  font-weight: 500;
}

.contact-form h2 {
  color: #fff7e8;
  font-weight: 650;
  text-shadow: 0 0 1px rgba(255, 247, 232, 0.3);
}

@media (max-width: 768px) {
  .class-row .desc,
  .event-content p,
  .about-hero-text p,
  .page-hero .subtitle {
    font-size: 1rem;
  }
}

/* ============================================================
   GDPR / Cookies
   ============================================================ */
.legal-hero {
  min-height: auto;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 5vw, 4.5rem);
}

.legal-side {
  position: sticky;
  top: 120px;
  align-self: start;
  border: 1px solid rgba(236, 228, 211, 0.12);
  border-left: 3px solid var(--gold);
  background: rgba(21, 19, 15, 0.78);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.legal-side h2 {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--cream);
  margin: 0.75rem 0 1rem;
}

.legal-side p,
.legal-side small {
  color: var(--cream-mute);
  line-height: 1.7;
}

.legal-side a {
  display: block;
  color: var(--cream);
  margin-top: 0.9rem;
  font-weight: 700;
}

.legal-side small {
  display: block;
  margin-top: 1.6rem;
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-content section {
  border: 1px solid rgba(236, 228, 211, 0.10);
  background: rgba(21, 19, 15, 0.54);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.legal-content h2 {
  font-family: 'Bricolage Grotesque', 'Manrope', Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: #fff7e8;
  margin-bottom: 0.8rem;
}

.legal-content p,
.legal-content li {
  color: #d2c8b8;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content a {
  color: var(--gold);
  font-weight: 800;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.cookie-table {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.cookie-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(236, 228, 211, 0.055);
  border: 1px solid rgba(236, 228, 211, 0.08);
}

.cookie-table strong {
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cookie-table span {
  color: #fff7e8;
}

.cookie-consent {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 10020;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.cookie-consent.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  background: rgba(12, 11, 9, 0.96);
  border: 1px solid rgba(232, 197, 71, 0.32);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.cookie-copy h2 {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  color: var(--cream);
  margin: 0.25rem 0 0.4rem;
}

.cookie-copy p {
  color: #d2c8b8;
  line-height: 1.65;
  max-width: 64ch;
}

.cookie-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

.cookie-links a,
.footer-bottom button {
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.cookie-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid rgba(236, 228, 211, 0.12);
  padding-top: 1rem;
}

.cookie-options label {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--cream);
}

.cookie-options input {
  margin-top: 0.25rem;
  accent-color: var(--gold);
}

.cookie-options strong {
  display: block;
  color: #fff7e8;
}

.cookie-options small {
  display: block;
  color: var(--cream-mute);
  line-height: 1.45;
  margin-top: 0.1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: 280px;
}

.cookie-btn {
  min-height: 44px;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

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

.cookie-btn.solid {
  background: var(--gold);
  color: #111;
  border: 1px solid var(--gold);
}

.cookie-btn.outline,
.cookie-btn.ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(236, 228, 211, 0.24);
}

.cookie-btn.ghost {
  color: var(--gold);
}

@media (max-width: 820px) {
  .legal-layout,
  .cookie-consent-inner {
    grid-template-columns: 1fr;
  }
  .legal-side {
    position: static;
  }
  .cookie-actions {
    justify-content: stretch;
    min-width: 0;
  }
  .cookie-btn {
    flex: 1 1 140px;
  }
  .cookie-table div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ============================================================
   Parent portal preview
   ============================================================ */
.parent-portal-page {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-left: clamp(1.5rem, 4vw, 4.5rem);
  padding-right: clamp(1.5rem, 4vw, 4.5rem);
}

.parent-portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.parent-portal-copy,
.parent-login-preview {
  min-width: 0;
}

.parent-portal-copy h1 {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  color: var(--cream);
  margin: 0.9rem 0 1.5rem;
}

.parent-portal-copy h1 em {
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.parent-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-top: 2rem;
}

.parent-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(232, 197, 71, 0.55);
}

.parent-login-preview,
.parent-preview-panel,
.parent-roadmap-grid > div {
  border: 1px solid rgba(236, 228, 211, 0.12);
  background: linear-gradient(145deg, rgba(21, 19, 15, 0.92), rgba(12, 11, 9, 0.76));
}

.parent-login-preview {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-left: 3px solid var(--gold);
}

.parent-login-preview h2 {
  font-family: 'Bricolage Grotesque', 'Manrope', Arial, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: #fff7e8;
  margin: 0.65rem 0 0.7rem;
}

.parent-login-preview h2 span {
  white-space: nowrap;
}

.parent-login-preview p,
.parent-login-preview small {
  color: #cfc5b5;
  line-height: 1.65;
}

.parent-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  margin: 1.4rem 0 0.9rem;
}

.parent-login-form input,
.parent-login-form button {
  min-height: 52px;
  border-radius: 999px;
  font-family: 'Manrope', Arial, sans-serif;
}

.parent-login-form input {
  width: 100%;
  border: 1px solid rgba(236, 228, 211, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: var(--cream);
  padding: 0 1.1rem;
}

.parent-login-form button {
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(232, 197, 71, 0.16);
  color: rgba(232, 197, 71, 0.72);
  padding: 0 1.2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  cursor: not-allowed;
}

.parent-safety-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(2rem, 5vw, 4rem) 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.parent-safety-strip > div {
  background: rgba(21, 19, 15, 0.76);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.parent-safety-strip strong {
  display: block;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.parent-safety-strip span {
  color: #d2c8b8;
  line-height: 1.7;
}

.parent-dashboard-preview {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.parent-dashboard-preview .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.parent-dashboard-preview h2 {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--cream);
  margin-top: 0.45rem;
}

.parent-child-switch {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.parent-child-switch button {
  border: 1px solid rgba(236, 228, 211, 0.15);
  background: rgba(12, 11, 9, 0.88);
  color: var(--cream-mute);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.parent-child-switch button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.parent-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
}

.parent-preview-panel {
  min-height: 280px;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.panel-kicker {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.parent-preview-panel h3,
.parent-roadmap h3 {
  color: #fff7e8;
  font-family: 'Bricolage Grotesque', 'Manrope', Arial, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  margin-bottom: 1rem;
}

.parent-preview-panel ul {
  padding-left: 1.05rem;
}

.parent-preview-panel li,
.parent-preview-panel dd,
.parent-roadmap p {
  color: #d2c8b8;
  line-height: 1.7;
}

.parent-preview-panel li + li {
  margin-top: 0.45rem;
}

.parent-preview-panel dl {
  display: grid;
  gap: 0.85rem;
}

.parent-preview-panel dl div {
  display: grid;
  gap: 0.18rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(236, 228, 211, 0.09);
}

.parent-preview-panel dt {
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.parent-roadmap {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.parent-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.parent-roadmap-grid > div {
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
}

.parent-roadmap strong {
  display: block;
  color: var(--gold);
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 1rem;
}

@media (max-width: 980px) {
  .parent-portal-hero,
  .parent-preview-grid,
  .parent-roadmap-grid {
    grid-template-columns: 1fr;
  }
  .parent-login-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-page="rodice"] {
    overflow-x: clip;
  }
  .parent-portal-page {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    overflow-x: clip;
  }
  .parent-portal-copy h1 {
    font-size: clamp(3rem, 14vw, 4rem);
  }
  .parent-login-preview {
    padding: 1.25rem;
  }
  .parent-login-preview h2 span {
    display: block;
  }
  .parent-safety-strip {
    grid-template-columns: 1fr;
  }
  .parent-dashboard-preview .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.parent-live-page .parent-login-preview form {
  margin-top: 1rem;
}

.parent-code-form {
  margin-top: 0.75rem;
}

#parentLoginMessage[data-type="error"],
#parentChangeMessage[data-type="error"] {
  color: #ff6b6b;
}

#parentLoginMessage[data-type="ok"] {
  color: #6dff9d;
}

.parent-live-dashboard .section-head {
  gap: 1rem;
}

.parent-logout {
  padding: 0.85rem 1.4rem;
  font-size: 0.72rem;
}

.parent-live-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.parent-live-stats div {
  border: 1px solid var(--line);
  background: rgba(19, 9, 24, 0.72);
  padding: 1.3rem;
}

.parent-live-stats span {
  display: block;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.parent-live-stats strong {
  display: block;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--cream);
}

.parent-section {
  margin-top: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.parent-section .section-head.compact {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.parent-section .section-head.compact h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.parent-list {
  display: grid;
  gap: 1rem;
}

.parent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(19, 9, 24, 0.7);
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
}

.parent-row h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: 0.55rem 0;
  color: var(--cream);
}

.parent-row p {
  color: var(--cream-mute);
  line-height: 1.65;
  margin: 0.25rem 0;
}

.parent-payment {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  text-align: right;
}

.parent-payment strong {
  color: var(--gold);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.45rem;
}

.parent-payment span {
  color: var(--cream-soft);
  font-size: 0.9rem;
}

.parent-payment button,
.parent-change-panel button,
.parent-login-form button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0c8ff, #cc66ff, #a100ff);
  color: #0a0a0a;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.2rem;
}

.parent-qr {
  background: #fff;
  padding: 0.45rem;
  border-radius: 6px;
  margin: 0.35rem 0;
}

.parent-change-panel form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.parent-change-panel input,
.parent-change-panel textarea,
.parent-login-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.66);
  color: var(--cream);
  padding: 0.9rem 1rem;
  font: inherit;
}

.parent-change-panel textarea,
.parent-change-panel button {
  grid-column: 1 / -1;
}

.parent-pdf-template {
  position: fixed;
  left: -99999px;
  top: 0;
  width: 794px;
  background: #fff;
  color: #111;
  z-index: -1;
}

.parent-pdf {
  width: 794px;
  min-height: 1123px;
  background: #fff;
  color: #111;
  padding: 54px;
  font-family: Arial, sans-serif;
}

.parent-pdf header,
.parent-pdf .total {
  display: flex;
  justify-content: space-between;
  border-bottom: 3px solid #111;
  padding-bottom: 18px;
  margin-bottom: 28px;
}

.parent-pdf h1 {
  font-size: 44px;
  margin: 0 0 18px;
}

.parent-pdf table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.parent-pdf th {
  background: #111;
  color: #fff;
  text-align: left;
  padding: 12px;
}

.parent-pdf td {
  border-bottom: 1px solid #ddd;
  padding: 12px;
}

@media (max-width: 860px) {
  .parent-live-stats,
  .parent-row,
  .parent-change-panel form {
    grid-template-columns: 1fr;
  }
  .parent-payment {
    align-items: flex-start;
    text-align: left;
  }
}

/* ============================================================
   Global SDC neon-lilac frontend skin
   ============================================================ */
body {
  background:
    radial-gradient(circle at 84% 8%, rgba(161, 0, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 7% 32%, rgba(204, 102, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #0a0a0a 0%, #090609 44%, #0a0a0a 100%);
}

body::before {
  opacity: 0.045;
  mix-blend-mode: screen;
}

.spotlight {
  background: radial-gradient(circle, rgba(204, 102, 255, 0.17) 0%, rgba(161, 0, 255, 0.06) 38%, transparent 70%);
}

.cursor-ring.hover {
  border-color: var(--neon);
  background: rgba(204, 102, 255, 0.14);
  box-shadow: 0 0 34px rgba(204, 102, 255, 0.35);
}

.cursor-dot.hover {
  background: var(--neon);
  box-shadow: 0 0 22px rgba(204, 102, 255, 0.85);
}

nav.top {
  background: rgba(10, 10, 10, 0.76);
  border-bottom-color: rgba(204, 102, 255, 0.22);
  box-shadow: 0 0 36px rgba(161, 0, 255, 0.11);
}

.brand img,
.loader img {
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.24));
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.nav-links a::after,
.hero-side-rail::before,
.hero-side-rail::after,
.stat .bar-fill,
.video-progress-fill,
.video-volume-fill {
  background: linear-gradient(90deg, var(--gold), var(--bronze), var(--crimson));
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon);
  text-shadow: 0 0 16px rgba(204, 102, 255, 0.9);
}

.nav-cta,
.nav-links li.mobile-bottom a.mobile-cta,
.btn-magnetic.solid,
.cookie-btn.solid,
.parent-child-switch button.active {
  background: linear-gradient(90deg, #f0c8ff 0%, #cc66ff 50%, #a100ff 100%);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 0 26px rgba(204, 102, 255, 0.42), 0 0 58px rgba(161, 0, 255, 0.22);
}

.nav-cta:hover,
.btn-magnetic:hover,
.btn-magnetic.solid:hover,
.cookie-btn.solid:hover {
  background: linear-gradient(90deg, #f0c8ff 0%, #cc66ff 48%, #a100ff 100%);
  color: #0a0a0a;
  box-shadow: 0 0 30px rgba(204, 102, 255, 0.58), 0 0 68px rgba(161, 0, 255, 0.3);
}

.btn-magnetic,
.event-cta,
.filter-btn,
.cookie-btn.ghost {
  border-color: rgba(240, 200, 255, 0.48);
  color: var(--neon);
}

.btn-magnetic:hover,
.filter-btn.active,
.filter-btn:hover {
  border-color: transparent;
}

.page-hero::before,
.family-band::before,
.cta-strip::before {
  background: radial-gradient(circle, rgba(204, 102, 255, 0.24) 0%, rgba(161, 0, 255, 0.08) 45%, transparent 70%);
}

.page-hero::after {
  opacity: 0.82;
  filter: saturate(1.15) contrast(1.1);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.16) 36%, rgba(10, 10, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.04) 0%, rgba(10, 10, 10, 0.66) 100%),
    var(--page-hero-image) var(--page-hero-position) / cover no-repeat;
}

.page-hero h1 em,
.display em,
.section-head h2 em,
.family-band-sub em,
.event-content .lead,
.about-hero-text .lead,
.section-lead {
  color: var(--neon);
  text-shadow: 0 0 18px rgba(204, 102, 255, 0.58);
}

.label,
.mono,
.class-row .num,
.event-content .date,
.form-group label,
.contact-block .label,
.video-card .vc-tag,
.footer-col h4,
.footer-bottom button,
.legal-content a,
.cookie-table strong,
.parent-preview-panel dt {
  color: var(--gold);
}

.news-card,
.event-card,
.group-card,
.contact-form,
.legal-card,
.parent-preview-panel,
.parent-login-form,
.parent-roadmap-grid > div,
.studio-card,
.value {
  background:
    linear-gradient(145deg, rgba(240, 200, 255, 0.055), rgba(161, 0, 255, 0.035)),
    rgba(19, 9, 24, 0.78);
  border-color: rgba(240, 200, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.news-card:hover,
.event-card:hover,
.group-card:hover,
.studio-card:hover,
.value:hover {
  border-color: rgba(240, 200, 255, 0.48);
  box-shadow: 0 24px 70px rgba(161, 0, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.class-row::before,
.news-card .img-wrap::after,
.event-card::before {
  background: linear-gradient(90deg, rgba(204, 102, 255, 0.16) 0%, transparent 68%);
}

.class-row:hover .name,
.group-card .group-age,
.news-card .arrow,
.team-card a,
.contact-block a:hover,
.footer-col a:hover,
.footer-bottom .social a:hover {
  color: var(--neon);
}

.sticker,
.lightbox-close,
.lightbox-nav:hover,
.play-btn,
.video-play,
.video-btn.active {
  background: linear-gradient(135deg, var(--neon), var(--bronze));
  color: #0a0a0a;
}

.sticker.crimson,
.group-card.crimson {
  background: linear-gradient(135deg, #a100ff, #cc66ff);
  border-color: rgba(240, 200, 255, 0.42);
}

.sticker.neon {
  background: var(--gold);
  color: #0a0a0a;
}

input,
textarea,
select {
  color: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--neon);
  box-shadow: 0 12px 36px rgba(204, 102, 255, 0.1);
}

footer {
  background:
    radial-gradient(circle at 88% 18%, rgba(161, 0, 255, 0.12), transparent 28rem),
    #0a0a0a;
}

.partners-marquee {
  border-color: rgba(204, 102, 255, 0.18);
}

/* ============================================================
   Neon palette preview
   ============================================================ */
body[data-page="neon-preview"] {
  --neon-light: #f0c8ff;
  --neon-mid: #cc66ff;
  --neon-hot: #a100ff;
  --neon-gold: #d4af37;
  --neon-white: #ffffff;
  --neon-black: #0a0a0a;
  background:
    radial-gradient(circle at 72% 18%, rgba(161, 0, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 18% 42%, rgba(204, 102, 255, 0.16), transparent 28rem),
    #0a0a0a;
}

body[data-page="neon-preview"] nav.top {
  background: rgba(10, 10, 10, 0.78);
  border-bottom-color: rgba(204, 102, 255, 0.28);
  box-shadow: 0 0 35px rgba(161, 0, 255, 0.12);
}

body[data-page="neon-preview"] .nav-links a.active,
body[data-page="neon-preview"] .nav-links a:hover {
  color: var(--neon-light);
  text-shadow: 0 0 14px rgba(204, 102, 255, 0.9);
}

body[data-page="neon-preview"] .nav-cta {
  background: linear-gradient(90deg, var(--neon-light), var(--neon-mid), var(--neon-hot));
  color: var(--neon-black);
  box-shadow: 0 0 28px rgba(204, 102, 255, 0.55);
}

.neon-preview {
  color: var(--neon-white);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.05), rgba(10, 10, 10, 0.96)),
    #0a0a0a;
  overflow: hidden;
}

.neon-preview-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(8rem, 12vw, 12rem) clamp(1.5rem, 5vw, 5rem) clamp(4rem, 8vw, 7rem);
  position: relative;
}

.neon-preview-hero::before {
  content: 'SDC';
  position: absolute;
  inset: 10% auto auto 4%;
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-size: clamp(8rem, 22vw, 24rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(240, 200, 255, 0.04);
  pointer-events: none;
}

.neon-kicker {
  color: var(--neon-gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.neon-preview-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.neon-preview-copy h1 {
  margin: 1.25rem 0 1.5rem;
  color: var(--neon-white);
  font-family: 'Bricolage Grotesque', 'Manrope', Arial, sans-serif;
  font-size: clamp(3.5rem, 8vw, 8.8rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.neon-preview-copy h1 span {
  color: var(--neon-light);
  text-shadow:
    0 0 12px rgba(240, 200, 255, 0.9),
    0 0 34px rgba(204, 102, 255, 0.68),
    0 0 70px rgba(161, 0, 255, 0.56);
}

.neon-preview-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 560;
  line-height: 1.8;
}

.neon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.neon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: 10px;
  color: var(--neon-white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.neon-btn-primary {
  background: linear-gradient(90deg, var(--neon-light), var(--neon-mid), var(--neon-hot));
  color: var(--neon-black);
  box-shadow: 0 0 22px rgba(204, 102, 255, 0.62), 0 0 54px rgba(161, 0, 255, 0.36);
}

.neon-btn-outline {
  border: 1px solid rgba(240, 200, 255, 0.88);
  box-shadow: inset 0 0 18px rgba(204, 102, 255, 0.18), 0 0 24px rgba(204, 102, 255, 0.25);
}

.neon-preview-mark {
  display: grid;
  place-items: center;
  min-height: 440px;
  position: relative;
}

.neon-preview-mark::before {
  content: '';
  position: absolute;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(161, 0, 255, 0.6), rgba(204, 102, 255, 0.18) 42%, transparent 70%);
  filter: blur(28px);
}

.neon-logo-glow {
  width: min(35vw, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(240, 200, 255, 0.6);
  border-radius: 28px;
  transform: rotate(45deg);
  background:
    linear-gradient(135deg, rgba(240, 200, 255, 0.08), rgba(161, 0, 255, 0.18)),
    rgba(10, 10, 10, 0.72);
  box-shadow:
    0 0 22px rgba(240, 200, 255, 0.9),
    0 0 52px rgba(204, 102, 255, 0.65),
    inset 0 0 42px rgba(161, 0, 255, 0.28);
}

.neon-logo-glow span,
.neon-logo-glow small {
  transform: rotate(-45deg);
}

.neon-logo-glow span {
  color: var(--neon-light);
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px rgba(240, 200, 255, 1), 0 0 44px rgba(161, 0, 255, 0.84);
}

.neon-logo-glow small {
  position: absolute;
  bottom: 27%;
  color: var(--neon-gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.neon-preview-section {
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid rgba(204, 102, 255, 0.24);
}

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

.neon-section-head h2 {
  color: var(--neon-white);
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.95;
  text-align: right;
}

.neon-section-head h2 em {
  color: var(--neon-mid);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  text-shadow: 0 0 18px rgba(204, 102, 255, 0.76);
}

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

.neon-swatches article,
.neon-demo-card {
  border: 1px solid rgba(240, 200, 255, 0.22);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.72);
  box-shadow: inset 0 0 28px rgba(204, 102, 255, 0.08);
}

.neon-swatches article {
  min-height: 190px;
  overflow: hidden;
}

.neon-swatches article span {
  display: block;
  height: 96px;
  background: var(--swatch);
  box-shadow: 0 0 42px color-mix(in srgb, var(--swatch), transparent 45%);
}

.neon-swatches article strong,
.neon-swatches article small {
  display: block;
  padding: 0 1.2rem;
}

.neon-swatches article strong {
  margin-top: 1rem;
  color: var(--neon-light);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.neon-swatches article small {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Manrope', Arial, sans-serif;
}

.neon-demo-card {
  min-height: 300px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.neon-demo-card.hot {
  border-color: rgba(161, 0, 255, 0.72);
  box-shadow: 0 0 34px rgba(161, 0, 255, 0.24), inset 0 0 38px rgba(161, 0, 255, 0.14);
}

.neon-demo-card.gold {
  border-color: rgba(212, 175, 55, 0.64);
  box-shadow: inset 0 0 32px rgba(212, 175, 55, 0.12);
}

.neon-demo-card h3 {
  margin: 1.4rem 0 1rem;
  color: var(--neon-white);
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.neon-demo-card p {
  color: rgba(255, 255, 255, 0.76);
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 540;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .neon-preview-hero,
  .neon-swatches,
  .neon-card-grid {
    grid-template-columns: 1fr;
  }
  .neon-preview-mark {
    min-height: 320px;
  }
  .neon-logo-glow {
    width: min(70vw, 360px);
  }
  .neon-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .neon-section-head h2 {
    text-align: left;
  }
}
