/* ============================================================
   The Alchemist — Custom CSS
   All non-Tailwind styles extracted from Testing 01
   ============================================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --brand-bg: #050505;
  --brand-surface: #111111;
  --brand-surface-hover: #1A1A1A;
  --brand-accent: #FF5500;
  --brand-text: #FFFFFF;
  --brand-muted: #888888;
  --brand-border: rgba(255,255,255,0.1);
}

/* === BASE RESET === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--brand-bg); color: var(--brand-text); font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border-radius: inherit; }
button { cursor: pointer; font: inherit; }
::selection { background: var(--brand-accent); color: var(--brand-bg); }

/* === FIXED OVERLAYS === */

/* Film grain */
.bg-noise {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 50; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Subtle grid */
.bg-grid {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background-size: 60px 60px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  pointer-events: none; z-index: 1;
}

#root { position: relative; z-index: 10; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #FF5500; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* === ANIMATIONS === */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes orb1 { 0%, 100% { transform: translate(0,0) scale(1); opacity: 0.3; } 50% { transform: translate(5vw,-5vh) scale(1.1); opacity: 0.6; } }
@keyframes orb2 { 0%, 100% { transform: translate(0,0) scale(1); opacity: 0.2; } 50% { transform: translate(-5vw,5vh) scale(0.9); opacity: 0.5; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.animate-fade-in { animation: fadeIn 1s cubic-bezier(0.16,1,0.3,1); }
.animate-slide-up { animation: slideUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }

/* Marquee — slow (40s) used by client logo strip */
.animate-marquee { animation: marquee 40s linear infinite; width: max-content; }
.animate-marquee:hover { animation-play-state: paused; }

/* Fast marquee variant (15s) used in React original as animate-marquee-fast */
.animate-marquee-fast { animation: marquee 15s linear infinite; width: max-content; }
.animate-marquee-fast:hover { animation-play-state: paused; }

.animate-orb-1 { animation: orb1 20s ease-in-out infinite; }
.animate-orb-2 { animation: orb2 25s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

/* === COMPONENTS === */

/* ── Visual Placeholder ── */
.visual-placeholder {
  width: 100%; background: #111; border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 2rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 2rem; text-align: center;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.visual-placeholder:hover { background: #151515; }
.visual-placeholder .placeholder-accent-overlay {
  position: absolute; inset: 0; background: rgba(255,85,0,0.05);
  opacity: 0; transition: opacity 0.5s;
}
.visual-placeholder:hover .placeholder-accent-overlay { opacity: 1; }
.visual-placeholder .icon {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  color: #888; transition: color 0.3s;
}
.visual-placeholder:hover .icon { color: #FF5500; }
.visual-placeholder p { color: #888; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; line-height: 1.6; position: relative; z-index: 1; }

/* Aspect ratio helpers */
.aspect-video    { aspect-ratio: 16/9; }
.aspect-square   { aspect-ratio: 1; }
.aspect-21-9     { aspect-ratio: 21/9; }
.aspect-3-4      { aspect-ratio: 3/4; }
.aspect-4-5      { aspect-ratio: 4/5; }
.aspect-9-16     { aspect-ratio: 9/16; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; font-size: 0.875rem; font-weight: 500;
  transition: all 0.3s; border-radius: 9999px; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: #FF5500; color: #050505; }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255,85,0,0.4); }
.btn-secondary { background: #111; color: white; border: 1px solid rgba(255,255,255,0.1); }
.btn-secondary:hover { background: #1A1A1A; border-color: rgba(255,85,0,0.5); }

/* ── Navigation ── */

/* Floating header pill — transparent by default, frosted when scrolled */
.header-pill {
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-radius: 9999px;
}
.header-pill.scrolled {
  background: rgba(17,17,17,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
}

/* Desktop nav pill background */
.nav-pill {
  background: rgba(5,5,5,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .site-header .desktop-nav-pill {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid !important;
    grid-template-columns: repeat(4, 6rem);
    gap: 0 !important;
    min-height: 3.5rem;
    align-items: center;
    justify-items: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    overflow: visible;
  }

  .site-header .desktop-nav-pill > a,
  .site-header .desktop-nav-pill button[data-nav-page],
  .site-header .desktop-nav-pill .nav-services-group > a {
    min-height: 2rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
  }

  .site-header .desktop-nav-pill button[data-nav-page] {
    padding: 0;
  }

  .site-header .desktop-nav-pill button[data-nav-page] svg {
    display: block;
    flex-shrink: 0;
  }

  .site-header .desktop-nav-pill > .group {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
  }
}

/* Desktop services dropdown */
.services-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  width: 13rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.85);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1000;
}
/* Invisible hover bridge covering the gap between "Services" and the panel so
   the menu stays open as the cursor travels down. It lives on the GROUP, not the
   panel: the panel's overflow:hidden (used to round the menu corners) would clip
   a bridge placed on it — which is exactly why the old ::before bridge failed.
   Mirrors the home page's pt-6 bridge, which sits on a non-clipped container. */
.nav-services-group::after {
  content: '';
  position: absolute;
  left: -1rem; right: -1rem;
  top: 100%;
  height: 0.9rem;
}
.nav-services-group:hover .services-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.services-dropdown a,
.services-dropdown button {
  display: block; width: 100%; text-align: left;
  padding: 0.75rem 1rem; font-size: 0.8125rem; font-weight: 500; color: #ffffff;
  background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; font-family: inherit; transition: background 0.2s;
}
.services-dropdown a:last-child,
.services-dropdown button:last-child { border-bottom: none; }
.services-dropdown a:hover,
.services-dropdown button:hover { background: #050505; }

/* Mobile menu fullscreen */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding-top: 8rem; padding-left: 1.5rem; padding-right: 1.5rem;
  overflow-y: auto; display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu button {
  display: block; width: 100%; text-align: left;
  padding: 1rem 0; font-size: 1.875rem; font-weight: 700; color: #fff;
  background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; font-family: inherit; transition: color 0.2s;
}
.mobile-menu button:hover,
.mobile-menu button.accent { color: #FF5500; }
.mobile-menu button.accent { border-bottom: none; }

/* ── Background Orbs ── */
.orb-1 {
  position: fixed; top: 10%; left: 20%;
  width: 50vw; height: 50vw; border-radius: 50%;
  background: rgba(255,85,0,0.1); filter: blur(150px);
  mix-blend-mode: screen; pointer-events: none; z-index: 0;
  animation: orb1 20s ease-in-out infinite;
}
.orb-2 {
  position: fixed; bottom: 10%; right: 10%;
  width: 40vw; height: 40vw; border-radius: 50%;
  background: rgba(255,85,0,0.05); filter: blur(120px);
  mix-blend-mode: screen; pointer-events: none; z-index: 0;
  animation: orb2 25s ease-in-out infinite;
}

/* ── Service Row ── */
.service-row {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: background 0.5s;
  border-radius: 1.5rem;
  margin: 0 -2rem;
}
.service-row:hover { background: #111; }
@media (min-width: 768px) {
  .service-row { flex-direction: row; align-items: center; justify-content: space-between; }
}
.service-row:hover .service-row-title { color: #FF5500; }
.service-row-title { color: #fff; font-size: 2rem; font-weight: 700; letter-spacing: -0.025em; transition: color 0.3s; }
@media (min-width: 768px) { .service-row-title { font-size: 2.5rem; } }

.service-row-icon { opacity: 0.4; transition: opacity 0.3s; }
.service-row:hover .service-row-icon { opacity: 1; }

.service-row-arrow {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: #111; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; color: white; flex-shrink: 0;
}
.service-row:hover .service-row-arrow { background: #FF5500; border-color: #FF5500; color: #050505; }

/* ── Ring Stat Card ── */
.ring-stat-card {
  display: flex; flex-direction: column; align-items: center; padding: 2rem;
  border-radius: 2rem; background: #111; border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s;
}
.ring-stat-card:hover { border-color: rgba(255,85,0,0.3); }
.ring-stat-card .ring-value-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff; font-family: 'JetBrains Mono', monospace;
}
.ring-stat-card .ring-canvas-wrapper { position: relative; }
.ring-stat-card .ring-label { font-size: 0.875rem; color: #888; text-align: center; margin-top: 0.75rem; font-weight: 500; line-height: 1.25; }

/* ── Process Step ── */
.process-step { display: flex; gap: 1.5rem; }
.process-step-num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: #050505; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-family: 'JetBrains Mono', monospace;
  color: #888; flex-shrink: 0; transition: border-color 0.3s;
}
.process-step:hover .process-step-num { border-color: #FF5500; }

/* ── Globe Section ── */
.globe-section {
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(5,5,5,0.5); padding: 5rem 0;
}

/* ── Service Detail — Feature Items ── */
.feature-item {
  cursor: pointer; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(17,17,17,0.4); padding: 1.5rem; display: flex;
  align-items: flex-start; gap: 1.25rem; transition: all 0.3s;
}
.feature-item.active { border-color: rgba(255,85,0,0.6); background: #111; box-shadow: 0 0 30px rgba(255,85,0,0.08); }
.feature-item:hover:not(.active) { border-color: rgba(255,85,0,0.3); background: rgba(17,17,17,0.7); }

.feature-item-num { font-family: 'JetBrains Mono', monospace; font-size: 1.875rem; font-weight: 700; line-height: 1; margin-top: 0.25rem; transition: color 0.3s; color: rgba(255,255,255,0.1); }
.feature-item.active .feature-item-num { color: #FF5500; }

.feature-item-desc { overflow: hidden; transition: all 0.3s; font-size: 0.875rem; line-height: 1.6; color: transparent; max-height: 0; }
.feature-item.active .feature-item-desc { color: #888; max-height: 10rem; }

.feature-item-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; margin-top: 0.5rem; flex-shrink: 0; margin-left: auto; transition: all 0.3s; background: rgba(255,255,255,0.1); }
.feature-item.active .feature-item-dot { background: #FF5500; box-shadow: 0 0 8px rgba(255,85,0,0.8); }

/* ── Tag Pill (service hero) ── */
.tag-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: #111; border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: #FF5500;
}

/* Badge variant with backdrop blur (used in service detail hero) */
.tag-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: rgba(17,17,17,0.8); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: #FF5500;
  box-shadow: 0 0 20px rgba(255,85,0,0.2);
}

/* ── Form Inputs ── */
.form-input {
  width: 100%; background: #111; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2rem; padding: 1rem 1.5rem; color: white;
  font-family: inherit; font-size: 1rem; outline: none; transition: border-color 0.3s;
  display: block;
}
.form-input:focus { border-color: #FF5500; }
.form-input::placeholder { color: #888; }

textarea.form-input { border-radius: 1.5rem; resize: none; }

/* ── Price Badge (service detail) ── */
.price-badge {
  border: 1px solid rgba(255,85,0,0.4); border-radius: 1.5rem; padding: 2rem;
  background: rgba(17,17,17,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-align: center; box-shadow: 0 0 40px rgba(255,85,0,0.1); min-width: 200px;
}
.price-badge-eyebrow { font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: #FF5500; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.price-badge-value { font-size: 2.25rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }

/* Orange accent line (bottom of service detail hero) */
.hero-accent-line {
  position: absolute; bottom: 0; left: 0; height: 2px;
  background: linear-gradient(to right, #FF5500, rgba(255,85,0,0.3), transparent);
  width: 66.666%;
}

/* ── Stats Scoreboard ── */
.stat-cell {
  padding: 2rem; text-align: center; position: relative; overflow: hidden;
  transition: background 0.2s;
}
.stat-cell:hover { background: rgba(17,17,17,0.6); }
.stat-cell-underline {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: #FF5500; transition: width 0.5s;
}
.stat-cell:hover .stat-cell-underline { width: 50%; }
@media (min-width: 768px) { .stat-cell { padding: 3rem; } }

/* ── Feature Detail Panel (sticky right) ── */
.feature-detail-panel {
  border-radius: 1.5rem; border: 1px solid rgba(255,85,0,0.2);
  background: #111; padding: 2.5rem; position: relative; overflow: hidden;
}
.feature-detail-panel .panel-glow {
  position: absolute; top: 0; right: 0; width: 12rem; height: 12rem;
  background: rgba(255,85,0,0.05); filter: blur(60px); border-radius: 50%;
  pointer-events: none;
}
.feature-detail-panel .panel-big-num {
  font-size: 7rem; font-weight: 700; line-height: 1;
  color: rgba(17,17,17,0.8); font-family: 'JetBrains Mono', monospace;
  -webkit-text-stroke: 1px rgba(255,85,0,0.15);
  user-select: none; position: absolute; top: -0.5rem; right: -0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ── CTA Band (bottom of service detail) ── */
.cta-band {
  border-radius: 1.5rem; border: 1px solid rgba(255,85,0,0.2);
  background: rgba(17,17,17,0.5); padding: 3rem;
  display: flex; flex-direction: column; gap: 2rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,85,0,0.03); pointer-events: none;
}
.cta-band .cta-glow {
  position: absolute; right: -2.5rem; bottom: -2.5rem;
  width: 16rem; height: 16rem; background: rgba(255,85,0,0.05);
  border-radius: 50%; filter: blur(60px); pointer-events: none;
}
@media (min-width: 768px) {
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 4rem; }
}

/* ── Stats Panel (home impact section) ── */
.impact-section {
  background: rgba(17,17,17,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 3rem;
  padding: 4rem 1.5rem; position: relative; overflow: hidden;
}
@media (min-width: 768px) { .impact-section { padding: 4rem; } }
.impact-section .impact-glow {
  position: absolute; top: 0; right: 0; width: 24rem; height: 24rem;
  background: rgba(255,85,0,0.05); filter: blur(120px); border-radius: 50%; pointer-events: none;
}

/* ── Philosophy Grid Cards ── */
.philosophy-card {
  background: #111; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2rem; transition: border-color 0.3s;
}
.philosophy-card:hover { border-color: rgba(255,85,0,0.3); }
.philosophy-card .card-num { font-size: 2.25rem; font-weight: 700; color: rgba(255,255,255,0.1); margin-bottom: 1.5rem; transition: color 0.3s; }
.philosophy-card:hover .card-num { color: #FF5500; }

/* ── Footer ── */
footer { background: var(--brand-bg); border-top: 1px solid rgba(255,255,255,0.1); }
.footer-social-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: #111; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all 0.2s;
}
.footer-social-icon:hover { background: #FF5500; border-color: #FF5500; color: #050505; }

/* ── Glow dot (used in hero badge, globe label) ── */
.glow-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: #FF5500; box-shadow: 0 0 10px rgba(255,85,0,0.8);
  flex-shrink: 0;
}

/* ── Section divider line + label ── */
.section-label {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem;
}
.section-label::before { content: ''; display: block; width: 3rem; height: 1px; background: #FF5500; flex-shrink: 0; }
.section-label span { font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.2em; color: #FF5500; }

/* ── Header inner scroll behaviour ── */
.header-inner { position: relative; transition: all 0.3s; }
.site-header.is-scrolled .header-inner { background: rgba(17,17,17,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.mobile-menu.is-open { display: block !important; }
body.menu-open { overflow: hidden; }

/* ── Nav active state ── */
.nav-active { color: #fff !important; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.revealed { opacity: 1; transform: none; }

/* ── Contact form label ── */
.form-label { font-size: 0.875rem; color: #888; font-weight: 500; margin-left: 1rem; display: block; margin-bottom: 0.5rem; }

/* ── Video Mockups (portfolio auto-play) ── */
/* Phone frame for vertical reels / TikToks (screen = 9:16, border = bezel) */
.phone-mock {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #000;
  border: 7px solid #161616;
  border-radius: 1.9rem;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-mock video, .phone-mock img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.phone-mock::before { /* notch */
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32%; height: 9px; background: #161616; border-radius: 0 0 9px 9px; z-index: 3;
}
.phone-mock .reel-badge {
  position: absolute; bottom: 8px; left: 8px; z-index: 3;
  font-family: 'JetBrains Mono', monospace; font-size: 0.5rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.45);
  padding: 2px 6px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* 16:9 frame for TVC / commercials */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.6);
}
.video-frame video, .video-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-frame .tvc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.45);
  padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.video-frame .tvc-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #FF5500; box-shadow: 0 0 8px rgba(255,85,0,0.9);
}

/* ── Reel Carousel (auto-sliding, edge-faded) ── */
.reel-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  /* fade left + right edges into the background */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%);
}
.reel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}
.reel-slide {
  flex: 0 0 auto;
  width: clamp(150px, 16vw, 200px);
}
@media (max-width: 640px) {
  /* Mobile: spotlight ONE reel centred, with the previous + next
     reels peeking and fading on either side (1 fade : 1 full : 1 fade). */
  .reel-carousel {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
  }
  .reel-slide { width: 54vw; }
  .reel-track {
    gap: 0.85rem;
    /* shift so the 2nd slide sits dead-centre of the carousel */
    margin-left: calc(50% - 54vw * 1.5 - 0.85rem);
  }
}

/* ── TVC showcase (featured player + thumbnails) ── */
.tvc-thumbs {
  display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap;
  max-width: 56rem; margin: 1.5rem auto 0;
}
.tvc-thumb {
  position: relative; width: 104px; aspect-ratio: 16 / 9;
  border-radius: 0.6rem; overflow: hidden; padding: 0; cursor: pointer;
  background: #000; border: 1px solid rgba(255,255,255,0.1);
  opacity: 0.5; transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.tvc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tvc-thumb span {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 0.5rem 0.35rem 0.3rem; text-align: left;
}
.tvc-thumb:hover { opacity: 0.85; }
.tvc-thumb.active { opacity: 1; border-color: #FF5500; }

/* TVC single-card crossfade + rotation dots */
#tvc-player-frame { transition: opacity 0.3s ease; }
#tvc-player-frame.is-swapping { opacity: 0.18; }
.tvc-dots { display: flex; gap: 0.55rem; justify-content: center; margin-top: 1.5rem; }
.tvc-dot {
  width: 8px; height: 8px; border-radius: 999px; padding: 0; cursor: pointer; border: none;
  background: rgba(255,255,255,0.22); transition: background 0.25s, width 0.25s;
}
.tvc-dot:hover { background: rgba(255,255,255,0.45); }
.tvc-dot.active { background: #FF5500; width: 24px; }

/* Brand logos inside the marquee strip */
.marquee-logo {
  height: 44px; width: auto; max-width: 112px;
  display: inline-block; vertical-align: middle;
  object-fit: contain; flex: 0 0 auto;
  /* Sized by height so they share a baseline, with a max-width cap so wide
     wordmarks (COCOON) don't dominate and square emblems (M5, lotus) read at
     a similar optical size. Logos keep their natural colour, ordered so no
     two coloured marks sit adjacent (2 white : 1 colour). */
}

/* ── Intro / welcome ─────────────────────────────────────────── */
.intro-overlay{
  position:fixed; inset:0; z-index:9999;
  background:#050505;
  display:flex; align-items:center; justify-content:center;
  opacity:1; transition:opacity .55s ease, filter .55s ease;
}
.intro-overlay.intro-hide{ opacity:0; filter:blur(28px); pointer-events:none; }
.intro-welcome{
  font-family:'Inter',sans-serif;
  font-size:clamp(46px, 11vw, 150px); font-weight:600; letter-spacing:-.06em;
  background:linear-gradient(90deg, #b34700, #ff5500, #ffe7d6, #ff5500, #b34700);
  background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  opacity:0; filter:blur(20px);
  animation: welcomeReveal .8s ease forwards, welcomeShimmer 2.4s ease-in-out infinite;
}
@keyframes welcomeReveal{
  0%{ opacity:0; filter:blur(22px); transform:scale(.96); }
  100%{ opacity:1; filter:blur(0); transform:scale(1); }
}
@keyframes welcomeShimmer{
  0%{ background-position:0% 50%; }
  100%{ background-position:100% 50%; }
}
@media (prefers-reduced-motion: reduce){
  .intro-welcome{ animation:none; opacity:1; filter:none; }
}
/* ── Floating LINE button ───────────────────────────────────── */
.float-btns { position: fixed; bottom: 28px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 999; }
.float-btn { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(0,0,0,0.35); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.float-btn:hover { transform: translateY(-3px) scale(1.07); box-shadow: 0 10px 28px rgba(0,0,0,0.45); }
.float-btn.line { background: #06c755; }
.float-btn svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 640px) { .float-btns { bottom: 18px; right: 16px; } .float-btn { width: 52px; height: 52px; } }