/* ============================================
   BRANDVINCENTE — Alex Guerrieri Studio
   CSS v2 — Light default / Dark toggle
   Palette: White · Black · Neon Green #a8ff00
   ============================================ */

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

/* ---- CUSTOM FONT ---- */
@font-face {
  font-family: 'KCompress';
  src: url('KCompressCAP.woff2') format('woff2');
  font-display: swap;
}

/* ---- DESIGN TOKENS ---- */
:root {
  /* Absolute */
  --c-black:  #0a0a0a;
  --c-white:  #f8f8f4;
  --c-green:  #a8ff00;
  --c-green-dim: rgba(168, 255, 0, 0.15);

  /* LIGHT MODE — default */
  --bg:          #f8f8f4;
  --bg-alt:      #ededea;
  --fg:          #0a0a0a;
  --surface:     #0a0a0a;      /* dark sections */
  --on-surface:  #f8f8f4;
  --mid:         #7a7a70;
  --subtle:      #d0cfc8;
  --line:        rgba(10, 10, 10, 0.08);
  --line-s:      rgba(248, 248, 244, 0.10);
  --accent:      #a8ff00;
  --accent-text: #5a8f00;      /* green text on light bg */
  --nav-bg:      rgba(248, 248, 244, 0.94);
  --card-bg:     #e8e8e4;
  --logo-filter: none;         /* logo is dark: fine on light bg */

  /* Method blister */
  --blister-shell-bg:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(10,10,10,0.2) calc(50% - 1px), rgba(10,10,10,0.2) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(rgba(10,10,10,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.06) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(10,10,10,0.2) 1px, transparent 1.35px),
    linear-gradient(135deg, rgba(246,246,240,0.96), rgba(211,214,203,0.88));
  --blister-shell-border: rgba(10,10,10,0.24);
  --blister-frame: rgba(10,10,10,0.16);
  --blister-panel: rgba(10,10,10,0.14);
  --blister-center-line: rgba(10,10,10,0.28);
  --blister-pill-bg:
    linear-gradient(180deg, rgba(238,255,214,0.64), rgba(168,255,0,0.14)),
    repeating-linear-gradient(90deg, rgba(10,10,10,0.055) 0 1px, transparent 1px 13px);
  --blister-pill-border: rgba(102,156,0,0.7);
  --blister-pill-text: #0a0a0a;
  --blister-pill-line: rgba(10,10,10,0.16);
  --blister-pill-outer: rgba(10,10,10,0.17);
  --blister-pill-glow: rgba(168,255,0,0.24);
  --blister-index: #6dab00;

  /* Aliases (used by footer, wa-bubble) */
  --font-heading: var(--font-display);
  --font-body:    var(--font-sans);
  --text:         var(--fg);
  --bg-inverse:   var(--c-black);

  /* Typography */
  --font-display: 'KCompress', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Motion */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --tt: 0.5s;
}

/* ---- METODO BLISTER ---- */
.metodo-blister {
  width: 100%;
  padding: 2rem 1.5rem 5rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blister-wrapper {
  width: 100%;
  max-width: 920px;
  margin: -8px auto 0;
}

.blister-container {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  position: relative;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.tech-blister {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.2vw, 0.9rem) clamp(0.7rem, 2vw, 1.3rem);
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border: 1px solid var(--blister-shell-border);
  border-radius: 10px;
  background: var(--blister-shell-bg);
  background-size: 100% 100%, 32px 32px, 32px 32px, 7px 7px, 100% 100%;
  box-shadow:
    inset 0 0 0 8px rgba(168,255,0,0.055),
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(10,10,10,0.12),
    0 24px 70px rgba(10,10,10,0.12);
}

.tech-blister::before,
.tech-blister::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid var(--blister-frame);
  border-radius: 4px;
  pointer-events: none;
}

.tech-blister::after {
  inset: auto 50% 16px auto;
  top: 16px;
  width: 1px;
  border: 0;
  border-left: 1px dashed var(--blister-center-line);
  border-radius: 0;
}

.tech-blister-panel {
  position: absolute;
  top: clamp(0.9rem, 2vw, 1.4rem);
  bottom: clamp(0.9rem, 2vw, 1.4rem);
  width: calc(50% - clamp(0.7rem, 2vw, 1.1rem));
  border-radius: 6px;
  border: 1px dashed var(--blister-panel);
  box-shadow: inset 0 0 0 1px rgba(168,255,0,0.13);
  pointer-events: none;
}

.tech-blister-panel:first-child {
  left: clamp(0.9rem, 2vw, 1.4rem);
}

.tech-blister-panel:nth-child(2) {
  right: clamp(0.9rem, 2vw, 1.4rem);
}

.tech-pill {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(0.84rem, 1.8vw, 1.35rem);
  border: 1.5px solid var(--blister-pill-border);
  border-radius: 999px;
  background: var(--blister-pill-bg);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.22),
    inset 0 0 0 8px rgba(168,255,0,0.055),
    0 0 0 1px rgba(10,10,10,0.08),
    0 12px 28px rgba(10,10,10,0.12);
  color: var(--blister-pill-text);
}

.tech-pill::before {
  content: '';
  position: absolute;
  inset: 50% 14px auto;
  height: 1px;
  border-radius: 999px;
  background: var(--blister-pill-line);
  pointer-events: none;
}

.tech-pill::after {
  content: '';
  position: absolute;
  inset: -7px -9px;
  border: 1px solid var(--blister-pill-outer);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px var(--blister-pill-glow),
    0 0 0 1px rgba(255,255,255,0.22);
  pointer-events: none;
}

.tech-pill-index {
  position: absolute;
  left: clamp(0.62rem, 1.1vw, 0.9rem);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: clamp(0.52rem, 0.9vw, 0.72rem);
  letter-spacing: 0.08em;
  color: var(--blister-index);
  opacity: 0.96;
}

.tech-pill span:last-child {
  min-width: 0;
  max-width: calc(100% - 2rem);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.85rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--blister-pill-text);
  text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .metodo-blister {
    padding-bottom: 7rem;
  }

  .blister-container {
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 0.92 / 1;
    padding: 0.8rem;
  }

  .tech-blister {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(0, 1fr));
    gap: 0.62rem 0.72rem;
    padding: 1.15rem;
    background: var(--blister-shell-bg);
    background-size: 100% 100%, 24px 24px, 24px 24px, 7px 7px, 100% 100%;
  }

  .tech-blister-panel {
    display: none;
  }

  .tech-pill {
    padding: 0 0.74rem;
  }

  .tech-pill span:last-child {
    max-width: calc(100% - 1.5rem);
    font-size: clamp(1.25rem, 6.5vw, 1.85rem);
  }

  .tech-pill-index {
    left: 0.54rem;
    font-size: 0.56rem;
  }
}

@media (max-width: 480px) {
  .blister-container {
    aspect-ratio: 0.86 / 1;
  }

  .tech-pill span:last-child {
    font-size: clamp(1.15rem, 5.8vw, 1.6rem);
  }
}

/* ---- DARK MODE ---- */
[data-theme="dark"] {
  --bg:          #0a0a0a;
  --bg-alt:      #111110;
  --fg:          #f8f8f4;
  --surface:     #f8f8f4;
  --on-surface:  #0a0a0a;
  --mid:         #9a9a8e;
  --subtle:      #3a3a34;
  --line:        rgba(248, 248, 244, 0.08);
  --line-s:      rgba(10, 10, 10, 0.12);
  --accent:      #a8ff00;
  --accent-text: #a8ff00;      /* green stays green on dark bg */
  --nav-bg:      rgba(10, 10, 10, 0.94);
  --card-bg:     #161612;
  --logo-filter: invert(1);    /* invert logo to white on dark bg */
  --blister-shell-bg:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(248,248,244,0.16) calc(50% - 1px), rgba(248,248,244,0.16) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(rgba(248,248,244,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,248,244,0.04) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(248,248,244,0.15) 1px, transparent 1.35px),
    linear-gradient(135deg, rgba(22,22,18,0.98), rgba(44,48,38,0.82));
  --blister-shell-border: rgba(248,248,244,0.22);
  --blister-frame: rgba(248,248,244,0.14);
  --blister-panel: rgba(248,248,244,0.12);
  --blister-center-line: rgba(248,248,244,0.24);
  --blister-pill-bg:
    linear-gradient(180deg, rgba(168,255,0,0.18), rgba(168,255,0,0.07)),
    repeating-linear-gradient(90deg, rgba(248,248,244,0.045) 0 1px, transparent 1px 13px);
  --blister-pill-border: rgba(168,255,0,0.82);
  --blister-pill-text: #f8f8f4;
  --blister-pill-line: rgba(248,248,244,0.17);
  --blister-pill-outer: rgba(248,248,244,0.18);
  --blister-pill-glow: rgba(168,255,0,0.38);
  --blister-index: #a8ff00;

  /* Aliases */
  --text:         var(--fg);
  --bg-inverse:   var(--c-white);
}

/* ---- THEME TRANSITIONS ---- */
body, .nav, .hero, .marquee-wrap, .work,
.manifesto, .services, .contact, .footer,
.service-item, .work-info, .form-input,
.nav-logo-img, .footer-logo-img,
.section-label, .section-title em,
.manifesto-label, .contact-label,
.service-name, .service-desc,
.contact-detail-value, .footer-copy,
.toggle-icon, .toggle-half,
.processo, .processo-card, .processo-name,
.testimonial, .testimonial-quote, .testimonial-name,
.faq, .faq-item, .faq-question {
  transition:
    background-color var(--tt) var(--ease-expo),
    color            var(--tt) var(--ease-expo),
    border-color     var(--tt) var(--ease-expo),
    filter           var(--tt) ease,
    opacity          var(--tt) ease;
}

/* ---- BASE ---- */
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ---- CURSOR ---- */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor [role="button"],
  html.has-custom-cursor input,
  html.has-custom-cursor select,
  html.has-custom-cursor textarea {
    cursor: none !important;
  }
}

.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 16px; height: 16px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Remove transition for w/h to use GSAP or let CSS handle it cleanly */
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  mix-blend-mode: exclusion;
}

.custom-cursor.is-active {
  width: 72px;
  height: 72px;
  background-color: var(--accent);
}

.cursor-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #000;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.custom-cursor.is-active .cursor-text {
  opacity: 1;
}

/* GSAP Utils */
.js .gsap-reveal { visibility: hidden; } /* hide before JS only if JS is enabled */

/* Editorial Elements */
.micro-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  vertical-align: super;
  margin-right: 0.5rem;
  font-style: normal;
  display: inline-block;
  opacity: 0.8;
}

.rotating-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
  width: 200px;
  height: 200px;
  animation: spin 20s linear infinite;
  color: var(--fg);
  z-index: 10;
  pointer-events: none;
}
.rotating-badge svg {
  width: 100%;
  height: 100%;
}
.rotating-badge .badge-text {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 2px;
  fill: currentColor;
  text-transform: uppercase;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}


/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background var(--tt) ease, padding 0.4s ease, border-color var(--tt) ease;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 48px;
  border-bottom: 1px solid var(--line);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: var(--logo-filter);
  transition: filter var(--tt) ease, opacity 0.3s ease;
}
.nav-logo-img:hover { opacity: 0.7; }

.nav.nav-on-dark:not(.scrolled) .nav-logo-img {
  filter: invert(1) brightness(1.2);
}

.nav.nav-on-dark:not(.scrolled) .nav-link {
  color: rgba(248,248,244,0.72);
}

.nav.nav-on-dark:not(.scrolled) .nav-link:hover,
.nav.nav-on-dark:not(.scrolled) .nav-cta {
  color: var(--c-white);
}

.nav.nav-on-dark:not(.scrolled) .nav-cta {
  border-color: rgba(248,248,244,0.76);
}

.nav.nav-on-dark:not(.scrolled) .theme-toggle {
  border-color: rgba(248,248,244,0.24);
}

.nav.nav-on-dark:not(.scrolled) .toggle-icon {
  border-color: var(--c-white);
}

.nav.nav-on-dark:not(.scrolled) .toggle-half,
.nav.nav-on-dark:not(.scrolled) .nav-hamburger span {
  background: var(--c-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.3s ease;
}
.nav-link:hover { color: var(--fg); }

.nav-cta {
  color: var(--fg);
  border: 1.5px solid var(--fg);
  padding: 9px 20px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--c-black);
  border-color: var(--accent);
}

/* ---- THEME TOGGLE ---- */
.theme-toggle {
  background: none; border: none; cursor: pointer;
  padding: 4px;
  display: flex; align-items: center; justify-content: center;
}
.toggle-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--fg);
  position: relative; overflow: hidden;
  transition: border-color var(--tt) ease, transform 0.6s var(--ease-expo);
}
.toggle-half {
  position: absolute; top: 0; left: 0;
  width: 50%; height: 100%;
  background: var(--fg);
  transition: background var(--tt) ease;
}
[data-theme="dark"] .toggle-icon { transform: rotate(180deg); }
.theme-toggle:hover .toggle-icon { transform: scale(1.15); }
[data-theme="dark"] .theme-toggle:hover .toggle-icon { transform: rotate(180deg) scale(1.15); }

/* Mobile nav right group */
.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 16px;
}
.nav-hamburger {
  background: none; border: none; cursor: pointer;
  padding: 4px;
  display: flex; flex-direction: column; gap: 6px;
}
.nav-hamburger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s var(--ease-expo), background var(--tt) ease;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg); z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 40px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.5s var(--ease-expo), visibility 0.5s var(--ease-expo), background var(--tt) ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; visibility: visible; }
.mobile-link {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--fg);
  letter-spacing: 0.04em;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.mobile-link:hover { color: var(--accent); opacity: 0.8; }

/* ---- BLUEPRINT GRID (EDITORIAL TECH) ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
}

.blueprint-box {
  border: 1px solid var(--line);
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.crosshair {
  position: absolute;
  width: 10px; height: 10px;
  z-index: 10;
}
.crosshair::before, .crosshair::after {
  content: ''; position: absolute; background: var(--fg);
}
.crosshair::before { width: 100%; height: 1px; top: 50%; left: 0; }
.crosshair::after { width: 1px; height: 100%; left: 50%; top: 0; }

.crosshair.tl { top: -5px; left: -5px; }
.crosshair.tr { top: -5px; right: -5px; }
.crosshair.bl { bottom: -5px; left: -5px; }
.crosshair.br { bottom: -5px; right: -5px; }

.border-bottom { border-bottom: 1px solid var(--line); }
.border-top { border-top: 1px solid var(--line); }
.border-left { border-left: 1px solid var(--line); }
.border-right { border-right: 1px solid var(--line); }

.tech-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}
.tech-mono {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--mid);
  text-transform: uppercase;
}
.tech-bold {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--fg);
}
.tech-mono-bold {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fg);
}
.tech-mono-small {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--mid);
  margin-top: 4px;
}
.tech-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}
.tech-subheading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mid);
  letter-spacing: 0.2em;
}

/* Updated Hero Inner */
.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 320px;
  align-items: stretch;
  gap: 0;
}

.hero-text {
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.hero-title {
  font-family: 'KCompress', var(--font-display);
  font-size: clamp(7rem, 20vw, 24rem);
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 32px;
}
.hero-title-line--accent { color: var(--accent-text); }

.hero-sub-title {
  padding: 24px 0;
  margin-bottom: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.hero-body {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 60px;
}

.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: auto;
  margin-left: -40px;
  margin-right: -40px;
  border-bottom: 0 !important;
}
.tech-feature-cell {
  padding: 20px 40px;
  display: flex;
  align-items: flex-start;
}
.tech-feature-text { display: flex; flex-direction: column; }

/* Right Sidebar Blueprint */
.hero-sidebar {
  display: flex;
  flex-direction: column;
}
.sidebar-cell {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.align-center { text-align: center; align-items: center; }

.tech-mono-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--fg);
  margin-bottom: 12px;
}
.tech-big-number {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.8;
  color: var(--fg);
  margin-bottom: 16px;
}
.tech-graphic {
  width: 120px; height: 120px;
  border: 1px solid var(--line);
  position: relative;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.target-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border: 1px solid var(--fg);
  border-radius: 50%;
}
.target-circle::after {
  content: ''; position: absolute;
  width: 4px; height: 4px;
  background: var(--fg);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.target-circle::before {
  content: ''; position: absolute;
  width: 120px; height: 1px;
  background: var(--line);
  top: 50%; left: -30px;
}

.barcode {
  font-family: monospace;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--fg);
  margin-bottom: 30px;
  opacity: 0.6;
}
.tech-list { list-style: none; padding: 0; margin: 0; }
.tech-list li {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--mid);
  margin-bottom: 10px;
}

.hero-actions {
  margin-left: -40px;
  margin-right: -40px;
}
.btn-tech {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--fg);
  color: var(--bg);
  padding: 24px 40px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: opacity 0.3s;
}
.btn-tech:hover { opacity: 0.8; }
.arrow { font-size: 1.2rem; }

/* ---- HERO VISUAL ---- */
.hero-visual {
  position: relative;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-expo) 0.6s forwards;
}

.vial-img-large {
  width: 100%;
  max-width: 960px;
  height: auto;
  mix-blend-mode: darken; /* Darken works better than multiply and avoids filter conflicts */
  object-fit: contain;
  transform: scale(1.5);
  transform-origin: center center;
}

.counter-wrapper {
  position: absolute;
  bottom: 20px;
  right: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  z-index: 20;
}



/* Removed vial-glow */

.hero-counter {
  text-align: center;
  position: relative;
  z-index: 20;
}
.counter-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--fg);
  transition: color var(--tt) ease;
}
.counter-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}

/* Hero scroll */
.hero-scroll {
  position: absolute;
  bottom: 40px; right: 48px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-expo) 1.2s forwards;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--mid));
  animation: scrollPulse 2s ease infinite;
}
.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  writing-mode: vertical-rl;
}

/* ---- MARQUEE ---- */
.marquee-wrap {
  overflow: hidden;
  background: var(--surface);
  padding: 16px 0;
  border-top: 1px solid var(--line-s);
  border-bottom: 1px solid var(--line-s);
  transition: background var(--tt) var(--ease-expo);
}
.marquee-track {
  display: flex; gap: 36px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--on-surface);
  flex-shrink: 0;
  transition: color var(--tt) var(--ease-expo);
}
.marquee-track .dot { color: var(--accent); font-style: normal; }

/* ---- SECTIONS COMMON ---- */
.section-header { padding: 100px 48px 50px; max-width: 1400px; margin: 0 auto; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.section-title em { font-style: italic; color: var(--accent-text); font-family: var(--font-serif); font-weight: 300; }
.section-note {
  max-width: 620px;
  margin-top: 22px;
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.75;
}
.metodo-blister .section-header {
  padding-bottom: 24px;
}

/* ---- WORK ---- */
.work { background: var(--bg); padding-bottom: 100px; }
.work-grid {
  max-width: 1400px; margin: 0 auto; padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}
.work-item { position: relative; overflow: hidden; cursor: pointer; background: var(--card-bg); }
.work-item--large { grid-column: 1/2; grid-row: 1/3; }

.work-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.work-item--large .work-img-wrap { aspect-ratio: 3/4; height: 100%; }

.work-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 0.8s var(--ease-expo), filter 0.5s ease;
}
.work-item:hover .work-img { transform: scale(1.05); filter: grayscale(60%) contrast(1.1); }

.work-hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(168,255,0,0.08);
  opacity: 0; transition: opacity 0.4s ease;
}
.work-item:hover .work-hover { opacity: 1; }
.work-hover-text {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--fg); border: 1.5px solid var(--accent);
  padding: 11px 22px; border-radius: 2px;
  background: var(--bg); opacity: 0.9;
}

.work-info {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.work-category {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text);
}
.work-name {
  font-family: var(--font-serif); font-size: 1rem;
  font-weight: 300; flex: 1; padding: 0 12px; color: var(--fg);
}
.work-year { font-family: var(--font-mono); font-size: 0.58rem; color: var(--mid); }

/* ---- MANIFESTO ---- */
.manifesto {
  background: var(--surface);
  padding: 100px 48px;
  position: relative; overflow: hidden;
  transition: background var(--tt) var(--ease-expo);
}
.manifesto::before {
  content: 'BV';
  position: absolute; bottom: -60px; right: -20px;
  font-family: var(--font-display);
  font-size: 28rem; line-height: 1;
  color: rgba(168,255,0,0.06);
  pointer-events: none; user-select: none;
}
.manifesto-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.manifesto-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-surface); opacity: 0.5; margin-bottom: 48px;
}
.manifesto-text { list-style: none; margin-bottom: 60px; }
.manifesto-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 7rem);
  line-height: 0.92; color: var(--on-surface);
  letter-spacing: 0.02em;
  /* GSAP handles the entrance animation via gsap.from() */
  transition: color var(--tt) var(--ease-expo);
}
/* .visible class no longer needed — GSAP handles animation */
.manifesto-line--indent { padding-left: 6vw; }
.manifesto-line--green { color: var(--accent) !important; }
.manifesto-line--bold { font-family: var(--font-display); }

.manifesto-detail {
  font-size: 1rem; color: var(--on-surface); opacity: 0.75;
  max-width: 480px; line-height: 1.8; margin-left: auto;
  border-left: 3px solid var(--accent); padding-left: 24px;
  transition:
    color var(--tt) var(--ease-expo),
    border-color var(--tt) ease;
}

/* ---- PROCESSO ---- */
.processo {
  background: var(--bg);
  padding-bottom: 120px;
}
.processo-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.processo-card {
  background: var(--card-bg);
  padding: 40px 32px;
  position: relative;
  border: 1px solid var(--line);
  transition:
    background var(--tt) var(--ease-expo),
    border-color var(--tt) ease,
    transform 0.4s var(--ease-expo);
}
.processo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.processo-num {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 24px;
  opacity: 0.2;
  transition: opacity 0.4s ease, color 0.4s ease;
}
.processo-card:hover .processo-num {
  opacity: 1;
  color: var(--fg);
}
.processo-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  transition: color var(--tt) ease;
}
.processo-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 20px;
}
.processo-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.processo-list li {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.processo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}
.processo-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: border-color var(--tt) ease;
}
.framework-map {
  max-width: 1400px;
  margin: 42px auto 0;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.framework-column {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(168, 255, 0, 0.12), transparent 42%),
    var(--bg);
}
.framework-phase {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.framework-column strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.framework-column p {
  color: var(--mid);
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .processo-grid { grid-template-columns: 1fr 1fr; padding: 0 32px; }
  .framework-map { grid-template-columns: 1fr 1fr; padding: 0 32px; }
}
@media (max-width: 768px) {
  .processo-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .framework-map { grid-template-columns: 1fr; padding: 0 24px; margin-top: 28px; }
  .processo { padding-bottom: 80px; }
}
@media (max-width: 480px) {
  .processo-grid { padding: 0 20px; }
  .framework-map { padding: 0 20px; }
  .processo-card { padding: 32px 24px; }
  .framework-column { min-height: auto; padding: 22px 20px; }
}

/* ---- TESTIMONIAL ---- */
.testimonial {
  background: var(--surface);
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  transition: background var(--tt) var(--ease-expo);
}
.testimonial-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 12rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: -20px;
  user-select: none;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--on-surface);
  opacity: 0.85;
  margin-bottom: 40px;
  transition: color var(--tt) ease;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.testimonial-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-surface);
  transition: color var(--tt) ease;
}
.testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--on-surface);
  opacity: 0.45;
  transition: color var(--tt) ease;
}

@media (max-width: 768px) {
  .testimonial { padding: 80px 24px; }
  .testimonial-quote-mark { font-size: 8rem; }
}
@media (max-width: 480px) {
  .testimonial { padding: 60px 20px; }
}

/* ---- FAQ ---- */
.faq {
  background: var(--bg);
  padding-bottom: 120px;
}
.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: border-color var(--tt) ease;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--fg);
  line-height: 1.5;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--accent-text);
}
.faq-icon {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-expo);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-expo), padding 0.5s var(--ease-expo);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 0 28px 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--mid);
  max-width: 700px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-left: 0;
}

@media (max-width: 768px) {
  .faq-list { padding: 0 24px; }
  .faq-question { font-size: 0.95rem; padding: 22px 0; }
  .faq { padding-bottom: 80px; }
}
@media (max-width: 480px) {
  .faq-list { padding: 0 20px; }
}

/* ---- SERVICES ---- */
.services { background: var(--bg); padding-bottom: 100px; }
.services-list {
  max-width: 1400px; margin: 0 auto; padding: 0 48px;
  border-top: 1px solid var(--line);
}
.service-item {
  display: flex; align-items: flex-start; gap: 48px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
  /* GSAP handles entrance animation */
  transition: border-color var(--tt) ease;
}
.service-item:hover .service-arrow { transform: translate(4px, -4px); color: var(--accent); }
.service-item:hover .service-name { color: var(--accent-text); }

.service-num {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; color: var(--mid); padding-top: 8px; min-width: 30px;
}
.service-content { flex: 1; }
.service-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1;
  color: var(--fg); margin-bottom: 12px;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}
.service-desc {
  font-size: 0.9rem; color: var(--mid); max-width: 500px; line-height: 1.7;
}
.service-arrow {
  font-size: 1.6rem; color: var(--subtle);
  transition: transform 0.4s var(--ease-expo), color 0.3s ease;
  padding-top: 6px;
}

/* ---- CONTACT ---- */
.contact {
  background: var(--surface); padding: 100px 48px;
  transition: background var(--tt) var(--ease-expo);
}
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-surface); opacity: 0.5; margin-bottom: 20px;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.92; letter-spacing: 0.02em;
  color: var(--on-surface); margin-bottom: 72px;
}
.contact-title em {
  display: block; font-family: var(--font-serif);
  font-style: italic; font-weight: 300; color: var(--accent);
  font-size: clamp(2.5rem, 6vw, 6rem);
}

.contact-body { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-surface); opacity: 0.5;
}
.form-input {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(248,248,244,0.3);
  color: var(--on-surface);
  font-family: var(--font-sans); font-size: 1rem;
  padding: 12px 0; outline: none; border-radius: 0;
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.3s ease, color var(--tt) ease;
}
.form-input:focus { border-bottom-color: var(--accent); }
.form-input::placeholder { color: var(--on-surface); opacity: 0.3; }
.form-textarea { resize: none; font-family: var(--font-sans); line-height: 1.7; }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8ff00' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent);
  color: var(--c-black);
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  padding: 18px 32px; border: none; border-radius: 2px; cursor: pointer; width: 100%;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-submit:hover {
  background: #c0ff20; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(168,255,0,0.3);
}
.btn-submit:disabled { opacity: 0.6; pointer-events: none; }

.contact-info { display: flex; flex-direction: column; gap: 36px; padding-top: 4px; }
.contact-detail { display: flex; flex-direction: column; gap: 6px; }
.contact-detail-label {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-surface); opacity: 0.4;
}
.contact-detail-value {
  font-family: var(--font-serif); font-size: 1.15rem;
  font-weight: 300; color: var(--on-surface);
}
a.contact-detail-value:hover { color: var(--accent); }

/* ---- FOOTER ---- */
.footer { 
  background: var(--bg); 
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.footer-top {
  padding: 80px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.footer-col p, .footer-link {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.4;
}
.footer-link:hover {
  color: var(--accent);
}
.footer-col-right {
  text-align: right;
  align-items: flex-end;
}
.footer-copy {
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  color: var(--mid) !important;
  letter-spacing: 0.05em;
}

.footer-macro {
  width: 100%;
  overflow: hidden;
  padding: 0 48px 48px 48px;
  display: flex;
  justify-content: center;
}
.footer-macro-text {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 18rem);
  line-height: 0.75;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

/* ---- WHATSAPP BUBBLE ---- */
.wa-bubble {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 500;
  padding: 12px 20px;
  background: var(--bg-inverse);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease-expo), background 0.3s ease, color 0.3s ease;
}
.wa-bubble:hover {
  transform: translateY(-6px);
  background: var(--accent);
  color: var(--bg-inverse);
  box-shadow: 0 8px 28px rgba(103, 177, 4, 0.4);
}

/* ---- KEYFRAMES ---- */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; } 50% { opacity: 1; }
}
@keyframes vialFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-18px) rotate(3deg); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(0.8); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleX(1.1); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-sidebar { flex-direction: row; border-left: none; border-top: 1px solid var(--line); }
  .sidebar-cell { border-bottom: none; border-right: 1px solid var(--line); padding: 20px; align-items: flex-start; text-align: left; }
  .sidebar-cell.align-center { align-items: center; text-align: center; }
  .sidebar-cell:last-child { border-right: none; }
}

@media (max-width: 1024px) {
  .nav, .nav.scrolled { padding: 20px 32px; }
  .hero { padding: 120px 32px 60px; }
  .section-header { padding: 80px 32px 40px; }
  .work-grid { grid-template-columns: 1fr; padding: 0 32px; }
  .work-item--large { grid-column: auto; grid-row: auto; }
  .work-item--large .work-img-wrap { aspect-ratio: 16/9; height: auto; }
  .services-list { padding: 0 32px; }
  .contact { padding: 100px 32px; }
  .contact-body { grid-template-columns: 1fr; gap: 56px; }
  .manifesto { padding: 100px 32px; }
  .footer { padding: 36px 32px; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-right-mobile { display: flex; }
  .hero { padding: 100px 16px 60px; }
  .hero-title { font-size: clamp(4.5rem, 16vw, 8rem); margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-left: -20px; margin-right: -20px; }
  .hero-actions .btn-tech { padding: 16px 20px; }
  .tech-features { grid-template-columns: 1fr; margin-left: -20px; margin-right: -20px; }
  .tech-feature-cell { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .hero-text { padding: 20px; }
  .hero-sidebar { flex-direction: column; }
  .sidebar-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .section-header { padding: 70px 24px 36px; }
  .work-grid { padding: 0 24px; }
  .services-list { padding: 0 24px; }
  .service-item { flex-wrap: wrap; gap: 14px; }
  .service-arrow { display: none; }
  .contact { padding: 70px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .manifesto { padding: 70px 24px; }
  .manifesto::before { font-size: 12rem; }
  .footer { padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .wa-bubble { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 20px 50px; }
  .section-header { padding: 56px 20px 28px; }
  .services-list { padding: 0 20px; }
  .contact, .manifesto { padding: 56px 20px; }
  .footer { padding: 24px 20px; }
}

/* ============================================
   HERO — clean light version
   (no video background styles needed here)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

/* ============================================
   FEATURED VIDEO
   ============================================ */
.featured-video {
  background: #ffffff;
  padding: 120px 0;
}

.fv-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.fv-header {
  flex: 0 0 35%;
}

.fv-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #737373; /* fixed dark grey */
  margin-bottom: 24px;
}

.fv-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.75;
  letter-spacing: 0.02em;
  color: #0a0a0a; /* fixed dark */
}
.fv-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: #4a4a4a; /* fixed medium dark */
  display: inline-block;
  margin-top: -0.2em;
}
.inline-vial {
  display: inline-block !important; /* To override default display: block when active */
  height: clamp(1.8em, 4vw, 2.8em); /* responsive height */
  width: auto;
  vertical-align: baseline;
  margin-left: 1.2em;
  margin-top: -1em;
  transform: translateY(0em);
}
.fv-title {
  margin-bottom: 2rem; /* create space below the title for the vial to hang into */
}
html[data-theme="light"] .inline-vial.theme-dark-img { display: none !important; }
html[data-theme="dark"] .inline-vial.theme-light-img { display: none !important; }

.fv-subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.5;
  color: #4a4a4a;
  margin-top: 1.5rem;
  max-width: 90%;
}
.fv-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1.5rem;
}
.fv-stat-item {
  display: flex;
  flex-direction: column;
}
.fv-stat-item strong {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}
.fv-stat-item span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4a4a4a;
  margin-top: 0.2rem;
}
.fv-note {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 0.85rem;
  color: #888;
  margin-top: 2rem;
  font-style: italic;
  max-width: 90%;
  line-height: 1.4;
}

.fv-player {
  flex: 1;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  display: block;
  border-radius: 24px;
}
.fv-player:focus-visible {
  outline: 4px solid var(--accent);
  outline-offset: -4px;
}

.fv-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-expo), filter 0.4s ease;
}
.fv-player:hover .fv-poster {
  transform: scale(1.02);
  filter: brightness(0.82);
}

.fv-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(0,0,0,0.20);
  transition: background 0.35s ease;
}
.fv-player:hover .fv-overlay {
  background: rgba(0,0,0,0.34);
}

.fv-play-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0a;
  transform: scale(0.88);
  transition: transform 0.45s var(--ease-expo), background 0.3s ease;
  box-shadow: 0 12px 48px rgba(168,255,0,0.5);
}
.fv-play-circle svg { width: 32px; height: 32px; margin-left: 5px; }
.fv-player:hover .fv-play-circle {
  transform: scale(1);
  background: #c0ff20;
}

.fv-play-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,248,244,0.92);
}

@media (max-width: 1024px) {
  .fv-header { padding: 0 32px 28px; }
  .featured-video { padding-top: 60px; }
}
@media (max-width: 768px) {
  .fv-header { padding: 0 24px 22px; }
  .featured-video { padding-top: 48px; }
  .fv-play-circle { width: 72px; height: 72px; }
  .fv-play-circle svg { width: 24px; height: 24px; }
}
@media (max-width: 480px) {
  .fv-header { padding: 0 20px 18px; }
  .featured-video { padding-top: 40px; }
  .fv-play-circle { width: 56px; height: 56px; }
  .fv-play-circle svg { width: 18px; height: 18px; }
}


/* Always dark text/colors inside video hero since bg is dark */
.hero--video .hero-pretitle,
.hero--video .hero-role,
.hero--video .hero-body,
.hero--video .btn-ghost--light,
.hero--video .hero-scroll span,
.hero--video .counter-label { color: rgba(248,248,244,0.65); }
.hero--video .hero-title-line,
.hero--video .hero-signature,
.hero--video .counter-num { color: #f8f8f4; }
.hero--video .hero-title-line--accent { color: var(--accent); }
.hero--video .hero-divider { background: rgba(248,248,244,0.3); }

/* YouTube iframe fill */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-yt-iframe {
  position: absolute;
  /* center & letterbox the iframe */
  top: 50%; left: 50%;
  width: 177.78vh;  /* 16:9 */
  height: 100%;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* Dark gradient overlay — ensures text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.20) 100%),
    linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  z-index: 1;
}

/* All hero content sits above overlay */
.hero--video .hero-inner,
.hero--video .hero-play-btn,
.hero--video .hero-scroll {
  position: relative;
  z-index: 2;
}

.hero--video .hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 140px 48px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

/* Play button (bottom-left) */
.hero-play-btn {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hero-play-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(248,248,244,0.12);
  border: 1.5px solid rgba(248,248,244,0.4);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #f8f8f4;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hero-play-icon svg { width: 16px; height: 16px; margin-left: 2px; }
.hero-play-btn:hover .hero-play-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
  transform: scale(1.08);
}
.hero-play-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,248,244,0.7);
  transition: color 0.3s ease;
}
.hero-play-btn:hover .hero-play-label { color: #f8f8f4; }

/* Scroll indicator for video hero */
.hero--video .hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
}

/* ============================================
   VIDEO GRID
   ============================================ */
.work { background: var(--bg); padding-bottom: 100px; }

.video-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

/* Featured card spans 2 columns */
.work-card--featured {
  grid-column: span 2;
}

.work-card {
  background: var(--card-bg);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: background var(--tt) var(--ease-expo);
  border: 1px solid var(--line);
}
.work-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wc-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.wc-thumb {
  position: absolute;
  inset: 2rem;
  width: calc(100% - 4rem); 
  height: calc(100% - 4rem);
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), filter 0.4s ease, opacity 0.4s ease;
}

/* Theme-aware Image Swap Logic */
.theme-dark-img {
  display: none;
}
html[data-theme="dark"] .theme-light-img {
  display: none;
}
html[data-theme="dark"] .theme-dark-img {
  display: block;
}

.work-card:hover .wc-thumb {
  transform: scale(1.08) rotate(1deg);
  filter: grayscale(0%) contrast(1.1);
}

/* Image overlay (optional) */
.wc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.work-card:hover .wc-overlay { opacity: 1; }

/* Duration badge */
.vc-duration {
  position: absolute;
  bottom: 10px; right: 12px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  background: rgba(0,0,0,0.7);
  color: #f8f8f4;
  padding: 3px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* Card info bar */
.vc-info {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  transition: background var(--tt) var(--ease-expo), border-color var(--tt) ease;
}
.vc-cat {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  white-space: nowrap;
  flex-shrink: 0;
}
.vc-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--fg);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--tt) ease;
}
.vc-year {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--mid);
  flex-shrink: 0;
}
.work-rationale {
  min-height: 86px;
  padding: 18px 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--mid);
  font-size: 0.84rem;
  line-height: 1.65;
  transition: background var(--tt) var(--ease-expo), color var(--tt) ease, border-color var(--tt) ease;
}
.work-card:hover .work-rationale {
  color: var(--fg);
}

/* ============================================
   VIDEO LIGHTBOX MODAL
   ============================================ */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-expo);
}
.video-lightbox.open {
  pointer-events: all;
  opacity: 1;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(248,248,244,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
}

.video-lightbox-inner {
  position: relative;
  z-index: 1;
  width: 95vw;
  max-width: 1600px;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.5s var(--ease-expo);
}
.video-lightbox.open .video-lightbox-inner {
  transform: translateY(0) scale(1);
}

.video-lightbox-close {
  position: absolute;
  top: -44px; right: 0;
  background: none; border: none; cursor: pointer;
  color: rgba(10,10,10,0.55);
  padding: 8px;
  outline: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.video-lightbox-close svg { width: 24px; height: 24px; }
.video-lightbox-close:hover { color: var(--accent-text); transform: scale(1.15); }
.video-lightbox-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.video-lightbox-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: none;
}
.video-lightbox-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-lightbox-meta {
  padding: 16px 4px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.video-lightbox-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.video-lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(10,10,10,0.8);
}

/* ============================================
   ABOUT / ART DIRECTOR SECTION
   ============================================ */
.about {
  background: var(--surface);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: background var(--tt) var(--ease-expo);
}

.about-gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) 48px 0;
  position: relative;
  z-index: 1;
}

.about-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.about-gallery-kicker,
.about-gallery-state {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-gallery-head strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--on-surface);
}

.about-gallery-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-surface);
}

.about-gallery-state i {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(248,248,244,0.24));
}

.about-gallery-viewport {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line-s);
  border-bottom: 1px solid var(--line-s);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.about-gallery-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 3px;
  padding: 3px 0;
  animation: galleryRail 34s linear infinite;
  will-change: transform;
}

.about-gallery:hover .about-gallery-track {
  animation-play-state: paused;
}

.about-gallery-card {
  position: relative;
  flex: 0 0 clamp(240px, 21vw, 340px);
  min-height: clamp(230px, 24vw, 380px);
  overflow: hidden;
  border: 1px solid var(--line-s);
  background: rgba(248,248,244,0.035);
}

.about-gallery-card--large {
  flex-basis: clamp(320px, 32vw, 520px);
}

.about-gallery-card:nth-child(3n) {
  flex-basis: clamp(220px, 18vw, 300px);
}

.about-gallery-card:nth-child(4n) {
  flex-basis: clamp(280px, 25vw, 420px);
}

.about-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.08);
  opacity: 0.82;
  transition: transform 0.8s var(--ease-expo), opacity 0.4s ease, filter 0.4s ease;
}

.about-gallery-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.12);
  opacity: 1;
}

.about-gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.74), transparent 46%),
    linear-gradient(135deg, rgba(168,255,0,0.14), transparent 38%);
  pointer-events: none;
}

.about-gallery-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.about-gallery-meta span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-gallery-meta strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--on-surface);
  text-align: right;
}

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

@media (prefers-reduced-motion: reduce) {
  .about-gallery-track {
    animation: none;
  }

  .about-gallery-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  align-items: center;
}

.about-text {
  padding: 100px 64px 100px 48px;
  position: relative;
  z-index: 1;
}

.about-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-surface);
  opacity: 0.45;
  margin-bottom: 24px;
}

.about-name {
  font-family: var(--font-display);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.about-name-first {
  display: block;
  font-size: clamp(4rem, 8vw, 8rem);
  color: var(--on-surface);
  transition: color var(--tt) ease;
}
.about-name-last {
  display: block;
}
.about-name-last em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 7vw, 7rem);
  color: var(--accent);
}

.about-role-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-surface);
  opacity: 0.5;
  margin-bottom: 32px;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.about-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--on-surface);
  opacity: 0.75;
  max-width: 440px;
  margin-bottom: 48px;
  transition: color var(--tt) ease;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-s);
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-surface);
  opacity: 0.5;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.about-cta:hover { color: var(--accent); }

/* Right side: photo */
.about-photo {
  position: relative;
  width: 100%;
  padding: 40px 48px 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blueprint-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  position: relative;
}

.placeholder-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.placeholder-text .tech-mono {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--on-surface);
  opacity: 0.5;
}

.placeholder-text .micro-data {
  color: var(--accent);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.05);
  transition: filter 0.5s ease;
}
.about:hover .about-img { filter: grayscale(0%) contrast(1); }

.video-mute-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease-expo);
  z-index: 10;
}
.video-mute-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}

/* Green accent bar - removed for rounded video */
.about-photo-accent {
  display: none;
}

/* Small portrait inset */
.about-portrait-sm {
  position: absolute;
  bottom: 40px;
  left: -40px;
  width: 120px;
  height: 150px;
  border: 3px solid var(--bg);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 2;
  transition: border-color var(--tt) ease;
}
.about-portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
}

/* ============ RESPONSIVE additions ============ */
@media (max-width: 1024px) {
  .fv-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .fv-header { flex: none; width: 100%; }
  .fv-player { flex: none; width: 100%; }
  
  .video-grid { grid-template-columns: 1fr 1fr; padding: 0 32px; }
  .video-card--featured { grid-column: span 2; }
  .about-gallery {
    padding: 56px 32px 0;
  }
  .about-gallery-card,
  .about-gallery-card--large {
    flex-basis: clamp(260px, 38vw, 390px);
    min-height: 260px;
  }
  .about-inner { grid-template-columns: 1fr; }
  .about-text { padding: 70px 32px; }
  .about-photo { min-height: auto; height: auto; padding: 0 32px 70px; }
  .about-photo-frame { position: relative; }
  .about-portrait-sm { display: none; }
  .hero--video .hero-inner { padding: 120px 32px 80px; grid-template-columns: 1fr; }
  .hero-play-btn { left: 32px; }
}

@media (max-width: 768px) {
  .nav-logo-img { height: 44px; }
  .featured-video { padding: 80px 0; }
  .fv-inner { gap: 32px; padding: 0 24px; }
  
  .video-grid { grid-template-columns: 1fr; padding: 0 24px; gap: 2px; }
  .video-card--featured { grid-column: span 1; }
  .about-gallery {
    padding: 44px 24px 0;
  }
  .about-gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .about-gallery-state i {
    width: 48px;
  }
  .about-gallery-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    mask-image: none;
    -webkit-mask-image: none;
    -webkit-overflow-scrolling: touch;
  }
  .about-gallery-track {
    animation: none;
  }
  .about-gallery-card,
  .about-gallery-card--large {
    flex: 0 0 74vw;
    min-height: 280px;
    scroll-snap-align: start;
  }
  .about-gallery-meta {
    left: 16px;
    right: 16px;
    bottom: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .about-gallery-meta strong {
    text-align: left;
  }
  .about-text { padding: 56px 24px; }
  .about-stats { gap: 24px; flex-wrap: wrap; }
  .hero--video .hero-inner { padding: 100px 24px 60px; }
  .hero-play-btn { left: 24px; bottom: 80px; }
  .video-lightbox { padding: 12px; }
  .video-lightbox-close { top: -40px; }
}

@media (max-width: 480px) {
  .hero--video .hero-inner { padding: 90px 20px 50px; }
  .video-grid { padding: 0 20px; }
  .about-gallery {
    padding: 36px 20px 0;
  }
  .about-gallery-card,
  .about-gallery-card--large {
    flex-basis: 82vw;
    min-height: 240px;
  }
  .about-text { padding: 48px 20px; }
  .services-list { padding: 0 20px; }
  .contact, .manifesto { padding: 56px 20px; }
  .footer { padding: 24px 20px; }
}

/* ============================================
   UX REVIEW — hierarchy, action, consistency
   ============================================ */
.hero {
  min-height: auto;
  padding: 96px 48px 56px;
}

.hero .blueprint-box {
  min-height: min(760px, calc(100vh - 152px));
}

.blueprint-box > .hero-inner {
  max-width: none;
  min-height: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr) 260px;
  align-items: stretch;
  gap: 0;
}

.hero-text {
  padding: clamp(24px, 2.8vw, 38px);
}

.hero-title {
  font-size: clamp(5.2rem, 10.7vw, 11.8rem);
  margin-bottom: clamp(14px, 2vw, 22px);
}

.hero-sub-title {
  padding: clamp(12px, 1.6vw, 18px) 0;
  margin-bottom: clamp(14px, 2vw, 26px);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-profile-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.hero-sub-title-text {
  display: flex;
  flex-direction: column;
}

.hero-body {
  max-width: 560px;
  margin-bottom: clamp(20px, 2.8vw, 34px);
  color: var(--fg);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.btn-tech {
  min-height: 62px;
  padding: 18px clamp(20px, 2.5vw, 32px);
}

.btn-tech--secondary {
  background: transparent;
  color: var(--fg);
  border-left: 1px solid var(--line);
}

.btn-tech--secondary:hover {
  background: var(--accent);
  color: var(--c-black);
  opacity: 1;
}

.hero-visual {
  align-self: stretch;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: visible;
}

.vial-img-large {
  width: min(82%, 360px);
  max-height: 620px;
  object-fit: contain;
  object-position: center;
}

.counter-wrapper {
  right: clamp(10px, 2vw, 22px);
  bottom: clamp(10px, 2vw, 22px);
}

.hero-sidebar .sidebar-cell {
  padding: clamp(20px, 2.2vw, 32px);
}

.tech-big-number {
  font-size: clamp(4.8rem, 7.4vw, 7rem);
}

.section-header {
  padding-top: clamp(76px, 8vw, 112px);
}

.featured-video,
.metodo-blister,
.processo,
.work,
.services,
.faq,
.about,
.contact,
.about-gallery,
#studio,
#contact {
  scroll-margin-top: 128px;
}

.contact-detail--primary {
  padding: 22px;
  border: 1px solid rgba(248,248,244,0.18);
  background: rgba(168,255,0,0.08);
}

.contact-quick-link {
  color: var(--accent);
}

.footer {
  padding: 0;
}

.footer-col p,
.footer-link {
  font-family: var(--font-sans);
  color: var(--fg);
}

.footer-macro-text {
  font-family: var(--font-display);
  color: var(--fg);
  opacity: 0.96;
}

.wa-bubble {
  background: var(--fg);
  color: var(--accent);
}

.wa-bubble:hover {
  background: var(--accent);
  color: var(--c-black);
}

@media (max-width: 1100px) {
  .hero .blueprint-box {
    min-height: 0;
  }

  .blueprint-box > .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  }

  .blueprint-box > .hero-inner .hero-sidebar {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 92px 20px 48px;
  }

  .blueprint-box > .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 22px 18px;
    border-right: 0;
  }

  .hero-title {
    font-size: clamp(4.6rem, 22vw, 7.6rem);
    margin-bottom: 18px;
  }

  .hero-sub-title {
    margin-bottom: 22px;
  }

  .hero-body {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    margin-left: -18px;
    margin-right: -18px;
  }

  .btn-tech {
    min-height: 58px;
    padding: 17px 18px;
    font-size: 0.68rem;
  }

  .btn-tech--secondary {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-visual {
    min-height: 280px;
    border-top: 1px solid var(--line);
  }

  .vial-img-large {
    width: min(76%, 290px);
    max-height: 360px;
  }

  .counter-wrapper {
    width: 104px;
    height: 104px;
  }

  .rotating-badge {
    width: 150px;
    height: 150px;
    margin-top: -75px;
    margin-left: -75px;
  }

  .hero-sidebar {
    display: none;
  }

  .footer-top {
    padding: 44px 20px 34px;
    flex-direction: column;
    gap: 28px;
  }

  .footer-col-right {
    text-align: left;
    align-items: flex-start;
  }

  .footer-macro {
    padding: 0 20px 32px;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 88px 16px 42px;
  }

  .tech-bar {
    padding: 10px 12px;
  }

  .tech-bar .text-right {
    display: none;
  }

  .tech-features {
    display: none;
  }

  .hero-visual {
    min-height: 240px;
  }

  .vial-img-large {
    width: min(72%, 240px);
    max-height: 300px;
  }

  .wa-bubble {
    bottom: 18px;
    right: 18px;
  }
}

/* ========================================= */
/* MODAL & FORM STYLES */
/* ========================================= */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-blueprint);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-expo);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: var(--c-black);
  border: 1px solid var(--border-blueprint);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-expo);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.modal-close:hover {
  opacity: 1;
}

.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--on-surface);
  margin-bottom: 0.3rem;
}
.form-input {
  width: 100%;
  padding: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--on-surface);
  background: transparent;
  border: 1px solid rgba(168, 255, 0, 0.3);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.form-input::placeholder {
  color: var(--on-surface);
  opacity: 0.42;
}
:root[data-theme="light"] .form-input::placeholder {
  color: rgba(10, 10, 10, 0.4);
}
.form-input:focus {
  border-color: var(--c-green);
  background: rgba(168, 255, 0, 0.05);
}
select.form-input option {
  background: var(--surface);
  color: var(--on-surface);
}

.form-status {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-align: center;
}
.form-status.success {
  color: var(--c-green);
}
.form-status.error {
  color: #ff4a4a;
}

/* ============ LIGHTBOX GALLERY ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}
.lightbox-content {
  position: relative;
  z-index: 2;
  width: 90%;
  height: 90%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.is-open .lightbox-content {
  transform: scale(1);
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100% - 40px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-img.is-loaded {
  opacity: 1;
}
.lightbox-caption {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-white);
  text-align: center;
  opacity: 0.7;
}
.lightbox-btn {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(4px);
}
.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev:hover, .lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}
.lightbox-close {
  top: 2rem;
  right: 2rem;
}

@media (max-width: 768px) {
  .lightbox-btn {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
  .lightbox-close { top: 1rem; right: 1rem; }
}

/* Cursor for gallery images */
.work-card img, .about-gallery-card img {
  cursor: zoom-in;
}
