@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #08090b;
  --bg-alt: #0b0c0f;
  --card: #101215;
  --card-2: #16181c;
  --border: #24262b;
  --border-strong: rgba(255,255,255,.18);
  --text: #f5f6f7;
  --muted: #9aa0a8;
  --accent: #c8ff43;
  --accent-dim: rgba(200,255,67,.14);
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

::selection {
  background: var(--accent);
  color: #08090b;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  z-index: 100;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.12), transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.10), transparent 2px);
  background-size: 5px 5px;
}

.cursor-light {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-dim), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
}

/* ---------- NAV ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 24px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8,9,11,.6);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.logo {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 8px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  transition: .25s;
}

nav a:hover {
  color: #08090b;
  background: var(--accent);
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  padding: 15px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  transition: .3s;
}

.btn.primary {
  background: var(--accent);
  color: #08090b;
  border-color: var(--accent);
}

.btn.primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn:not(.primary):hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 7% 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(rgba(8,9,11,.7), rgba(8,9,11,.92)),
    radial-gradient(circle at center, #1b1d20 0%, #08090b 62%);
  text-align: center;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero > * {
  animation: rise-in .9s cubic-bezier(.22,1,.36,1) both;
}

.hero .eyebrow-badge { animation-delay: .05s; }
.hero h1 { animation-delay: .15s; }
.hero .subtitle { animation-delay: .28s; }
.hero .hero-actions { animation-delay: .4s; }

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 32px;
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}

.eyebrow-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -.5px;
  text-transform: uppercase;
  max-width: 950px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero h1 .accent-italic {
  color: var(--accent);
  font-style: italic;
}

.subtitle {
  margin-top: 28px;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
  justify-content: center;
}

.side-social {
  position: absolute;
  left: 7%;
  bottom: 60px;
  display: grid;
  gap: 14px;
}

.side-social a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: .25s;
}

.side-social a:hover {
  color: var(--accent);
}

.scroll {
  position: absolute;
  right: 7%;
  bottom: 60px;
  writing-mode: vertical-rl;
  color: var(--muted);
  letter-spacing: 4px;
  font-size: 10px;
  font-weight: 600;
}

.mobile-scroll-hint {
  display: none;
}

/* ---------- MARQUEE ---------- */

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 34s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--border-strong);
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}

.marquee-track span em {
  font-style: normal;
  color: var(--accent);
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 130px 7%;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 50px;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title p,
.number {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 74px);
  letter-spacing: -1px;
  line-height: .98;
  text-transform: uppercase;
}

.section-title p + h2,
.section-title.center h2 {
  max-width: 720px;
}

.section-title.center h2 {
  margin: 0 auto;
}

/* ---------- WORK / PORTFOLIO ---------- */

/* ---------- LIGHTBOX ---------- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,9,11,.94);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 30px;
  background: none;
  border: 1px solid var(--border-strong);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: .25s;
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-content {
  width: 100%;
  max-width: 980px;
  max-height: 86vh;
}

.lb-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}

.lb-video iframe,
.lb-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lb-video .lb-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.lb-instagram {
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  border-radius: 14px;
}

.lb-instagram::-webkit-scrollbar {
  width: 6px;
}

.lb-instagram::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 6px;
}

.lb-caption {
  margin-top: 18px;
  text-align: center;
}

.lb-caption .tag {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 10px;
  font-weight: 600;
}

.lb-caption h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  color: white;
  margin-top: 6px;
}

/* photo carousel */
.lb-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.lb-carousel-track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}

.lb-carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(8,9,11,.6);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .25s;
}

.lb-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.lb-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: .25s;
}

.lb-dots span.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

/* website preview */
.lb-website img {
  width: 100%;
  border-radius: 14px;
  display: block;
  border: 1px solid var(--border);
}

.lb-website-actions {
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 20px;
  }

  .lb-nav {
    width: 38px;
    height: 38px;
  }
}

.contact-info p,
.tool-card p {
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- ABOUT ---------- */

.about {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(70px, 8vw, 150px);
  align-items: center;
  min-height: 84vh;
  padding-top: clamp(55px, 7vh, 90px);
  padding-bottom: clamp(105px, 12vh, 150px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 35%, rgba(197,255,48,.14), transparent 28%),
    radial-gradient(circle at 88% 68%, rgba(197,255,48,.08), transparent 32%),
    var(--bg-alt);
}

.about::before {
  content: "ABOUT";
  position: absolute;
  right: -3vw;
  top: 8%;
  font-family: var(--font-display);
  font-size: clamp(110px, 20vw, 300px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.055);
  opacity: .55;
  pointer-events: none;
}

.about-left,
.about-right {
  position: relative;
  z-index: 2;
}

.about-left {
  padding-top: 20px;
  transform: translateY(-52px);
}

.about-left h2 {
  max-width: 650px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 5.6vw, 88px);
  line-height: 1.03;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.about-left h2 .accent-word {
  color: var(--accent);
}

.about-role-line {
  margin-top: 30px;
  color: rgba(245,245,245,.58);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.about-right {
  padding-top: 0;
  max-width: 780px;
}

.about-statement {
  max-width: 620px;
  margin-bottom: clamp(34px, 4vh, 52px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.about-statement.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-statement p {
  font-family: var(--font-body);
  color: rgba(245,245,245,.78);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.015em;
}

.about-statement::after {
  content: "";
  display: block;
  width: 88px;
  height: 1px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.about-services {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.14);
}

.about-service-line {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(130px, .55fr) 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: clamp(20px, 2.7vh, 30px) 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease;
}

.about-service-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-service-line:nth-child(2) { transition-delay: .06s; }
.about-service-line:nth-child(3) { transition-delay: .12s; }
.about-service-line:nth-child(4) { transition-delay: .18s; }

.about-service-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(197,255,48,.15), transparent);
  transition: width .32s ease;
}

.about-services:hover .about-service-line.visible {
  opacity: .5;
}

.about-services .about-service-line:hover {
  opacity: 1 !important;
  transform: translateX(6px);
}

.about-service-line:hover::after {
  width: 100%;
}

.about-service-line span {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
}

.about-service-line strong {
  font-family: var(--font-body);
  font-size: clamp(23px, 2.3vw, 36px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.035em;
  color: #f1f1eb;
}

.about-service-line em {
  justify-self: start;
  text-align: left;
  color: rgba(255,255,255,.54);
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .about {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }
  .about-left {
    transform: none;
  }
  .about-left h2 {
    max-width: 760px;
  }
  .about-right {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .about {
    padding-top: 86px;
    padding-bottom: 86px;
  }
  .about-left h2 {
    font-size: clamp(46px, 13vw, 70px);
  }
  .about-service-line {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 24px 0;
    transform: none !important;
  }
  .about-service-line em {
    grid-column: 2;
    margin-top: -2px;
  }
  .about-services:hover .about-service-line.visible {
    opacity: 1;
  }
}

/* ---------- PROCESS ---------- */

.process {
  background: var(--bg);
}

.process .section-title h2 {
  white-space: nowrap;
  font-size: clamp(48px, 4.8vw, 78px);
}

.process .section-title .accent {
  color: var(--accent);
  font-style: italic;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 45px;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, border-color .3s, background .3s;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step:nth-child(2) { transition-delay: .06s; }
.process-step:nth-child(3) { transition-delay: .12s; }
.process-step:nth-child(4) { transition-delay: .18s; }

.process-step:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}

.process-step .step-num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- TOOLS ---------- */

.tools {
  background: var(--bg-alt);
}

.section-title.center .section-subtitle {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .2px;
  text-transform: none;
}

.tool-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  min-height: 230px;
  transition: .3s;
  opacity: 0;
  transform: translateY(20px);
}

.tool-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.tool-card:nth-child(2) { transition-delay: .05s; }
.tool-card:nth-child(3) { transition-delay: .1s; }
.tool-card:nth-child(4) { transition-delay: .15s; }
.tool-card:nth-child(5) { transition-delay: .2s; }

.tool-card:hover {
  background: var(--card-2);
  border-color: var(--accent);
  transform: translateY(-6px);
}

.tool-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  margin: 0 auto 22px;
}

.tool-card:first-child img {
  width: 62px;
  height: 62px;
}

.tool-card h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

/* ---------- CONTACT ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.contact-list {
  margin-top: 36px;
  display: grid;
  gap: 22px;
}

.contact-channel {
  display: grid;
  gap: 6px;
}

.contact-channel span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.contact-channel a {
  width: fit-content;
  color: white;
  text-decoration: none;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.03em;
  transition: .25s;
}

.contact-channel a:hover {
  color: var(--accent);
  transform: translateX(6px);
}

@media (max-width: 520px) {
  .contact-channel a {
    font-size: 21px;
    letter-spacing: -.02em;
  }
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px;
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: white;
  font-family: var(--font-body);
  padding: 16px;
  outline: none;
  transition: .25s;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #08090b;
  padding: 17px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: .25s;
}

.contact-form button:hover {
  background: white;
}

.contact-form button:disabled {
  opacity: .6;
  cursor: default;
}

.form-note {
  min-height: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
}

.form-note.success {
  color: var(--accent);
}

.form-note.error {
  color: #ff8a8a;
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 28px 7% 30px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(6,7,8,.92);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding-bottom: 0;
}

.footer-logo {
  justify-self: start;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: .5px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-copy {
  margin: 0;
  color: rgba(245,246,247,.55);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  letter-spacing: .02em;
}

.footer-social {
  justify-self: end;
  color: rgba(245,246,247,.66);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: .25s ease;
}

.footer-social:hover {
  color: var(--accent);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-logo,
  .footer-social {
    justify-self: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 90px 6%;
  }

  .hero {
    padding-left: 6%;
    padding-right: 6%;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .side-social,
  .scroll {
    display: none;
  }
}

/* ---------- WORKS 2024 - TODAY — EDITORIAL PORTFOLIO ---------- */
.work-2024 - TODAY {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(200,255,67,.12), transparent 28%),
    linear-gradient(180deg, var(--bg), #050608 72%);
}

.work-2024 - TODAY::before {
  content: "2024 - TODAY";
  position: absolute;
  top: 54px;
  right: -18px;
  font-family: var(--font-display);
  font-size: clamp(110px, 18vw, 280px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.055);
  pointer-events: none;
}

.work-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 38px;
  align-items: end;
  margin-bottom: 52px;
}

.work-kicker {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.work-heading h2 span {
  color: var(--accent);
  font-style: italic;
}

.work-intro {
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  justify-self: end;
}

.work-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}

.work-item {
  position: relative;
  min-height: 176px;
  border-bottom: 1px solid var(--border-strong);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
  overflow: visible;
}

.work-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-link {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 188px;
  display: grid;
  grid-template-columns: 84px 1.18fr .75fr 92px;
  align-items: center;
  gap: 26px;
  border: 0;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
  padding: 22px 0;
}

.work-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: rgba(255,255,255,.24);
}

.work-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 82px);
  line-height: .92;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  transition: color .3s, transform .3s;
}

.work-meta {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  justify-self: start;
}

.work-play {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: .3s;
}

.work-preview {
  position: absolute;
  z-index: 3;
  right: 112px;
  top: 50%;
  width: clamp(128px, 12vw, 178px);
  height: calc(100% + 36px);
  max-height: 246px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: #000;
  transform: translateY(-50%) rotate(1.5deg) scale(.9);
  opacity: 0;
  box-shadow: 0 26px 70px rgba(0,0,0,.56);
  pointer-events: none;
  transition: opacity .35s, transform .45s cubic-bezier(.22,1,.36,1);
}

.work-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.16) brightness(.9);
}

.work-item:hover .work-preview {
  opacity: .9;
  transform: translateY(-50%) rotate(-1deg) scale(1.08);
}


.work-item.featured .work-preview {
  opacity: .68;
  transform: translateY(-50%) rotate(1deg) scale(.98);
}

.work-item.featured:hover .work-preview {
  opacity: .92;
  transform: translateY(-50%) rotate(-1deg) scale(1.08);
}

.work-item:hover .work-title {
  color: var(--accent);
  transform: translateX(10px);
}

.work-item:hover .work-play {
  background: var(--accent);
  color: #08090b;
  border-color: var(--accent);
  transform: scale(1.04);
}

.lightbox-content {
  display: grid;
  place-items: center;
}

.lb-video.vertical {
  width: min(420px, 82vw);
  height: min(78vh, 760px);
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 35px 90px rgba(0,0,0,.58);
}

.lb-video.vertical video {
  object-fit: contain;
  background: #000;
}


.work-showcase:has(.work-item:hover) .work-item.visible:not(:hover) {
  opacity: .34;
}

.work-showcase:has(.work-item:hover) .work-item.visible:not(:hover) .work-preview {
  opacity: 0;
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.08) brightness(.92);
}

.website-work .work-play {
  width: 76px;
  height: 76px;
}

.lb-website {
  width: min(980px, 92vw);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  overflow: hidden;
  background: #050608;
  box-shadow: 0 35px 90px rgba(0,0,0,.58);
}

.lb-website img {
  width: 100%;
  display: block;
  max-height: 62vh;
  object-fit: cover;
  object-position: top center;
}

.lb-website-actions {
  display: flex;
  justify-content: center;
  padding: 22px;
}

@media (max-width: 900px) {
  .work-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .work-intro {
    justify-self: start;
  }

  .work-link {
    grid-template-columns: 58px 1fr 62px;
    gap: 16px;
    min-height: 152px;
  }

  .work-meta {
    grid-column: 2 / 4;
  }

  .work-preview {
    right: 70px;
    width: 104px;
    height: 150px;
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .work-link {
    grid-template-columns: 1fr 58px;
    gap: 12px;
    padding: 26px 0;
  }

  .work-number {
    grid-column: 1 / -1;
    font-size: 22px;
  }

  .work-title {
    font-size: clamp(32px, 12vw, 52px);
  }

  .work-meta {
    grid-column: 1 / 2;
    font-size: 11px;
  }

  .work-play {
    grid-row: 2 / 4;
    grid-column: 2;
    width: 54px;
    height: 54px;
    font-size: 9px;
  }

  .work-preview {
    display: none;
  }
}

button.work-link,
button.work-link:hover {
  border: 0;
  background: transparent;
  color: white;
  padding: 22px 0;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.website-preview {
  width: clamp(145px, 12vw, 188px);
  height: clamp(145px, 12vw, 188px);
  max-height: none;
  aspect-ratio: 1 / 1;
  right: 112px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  transform: translateY(-50%) rotate(1deg) scale(.9);
}

.website-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: .92;
  transform: scale(1.02);
}

.website-work:hover .website-preview,
.website-work.featured:hover .website-preview {
  opacity: .95;
  transform: translateY(-50%) rotate(-1deg) scale(1.08);
}

.website-work .website-preview img {
  filter: drop-shadow(0 18px 38px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(255,255,255,.13));
}

@media (max-width: 760px) {
  .website-preview {
    width: 118px;
    height: 118px;
    right: 86px;
  }
}


/* ---------- MUSIC TOGGLE ---------- */

.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  height: 28px;
  min-width: 72px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(0, 0, 0, .38);
  color: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: .78;
  box-shadow: none;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, background .25s ease;
}

.music-toggle:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .42);
  background: rgba(0, 0, 0, .52);
}

.music-toggle.is-on {
  opacity: 1;
  color: var(--accent);
  border-color: rgba(191, 255, 48, .75);
  background: rgba(5, 8, 4, .58);
  box-shadow: 0 0 18px rgba(191, 255, 48, .16);
}

.music-icon {
  font-size: 10px;
  line-height: 1;
  transform: translateY(-.5px);
}

.music-text {
  display: inline-block;
}

.music-state {
  display: none;
}

.lightbox.open ~ .music-toggle,
body:has(.lightbox.open) .music-toggle {
  opacity: .42;
}

@media (max-width: 720px) {
  .music-toggle {
    right: 12px;
    bottom: 12px;
    height: 27px;
    min-width: 70px;
    padding: 0 10px;
    font-size: 8.5px;
  }
}


/* ---------- MOBILE POLISH ONLY ---------- */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .grain {
    opacity: .10;
  }

  .cursor-light {
    display: none;
  }

  .navbar {
    padding: 16px 5.2%;
    align-items: flex-start;
    gap: 14px;
    background: rgba(8,9,11,.84);
  }

  .logo {
    font-size: 22px;
    line-height: 1;
    padding-top: 4px;
    flex-shrink: 0;
  }

  nav {
    display: flex;
    width: 100%;
    gap: 6px;
    overflow-x: auto;
    padding: 0 2px 6px;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    margin-left: 0;
    padding: 8px 10px;
    font-size: 9px;
    letter-spacing: .9px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
  }

  .section {
    padding: 84px 5.5%;
  }

  .hero {
    min-height: 100svh;
    padding: 118px 5.5% 46px;
    justify-content: center;
    background:
      linear-gradient(rgba(8,9,11,.72), rgba(8,9,11,.94)),
      radial-gradient(circle at 50% 42%, rgba(200,255,67,.12), transparent 28%),
      radial-gradient(circle at center, #1b1d20 0%, #08090b 65%);
  }

  .eyebrow-badge {
    margin-bottom: 24px;
    padding: 9px 14px;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 1.7px;
    max-width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 64px);
    line-height: .96;
    letter-spacing: -.03em;
    max-width: 360px;
  }

  .subtitle {
    margin-top: 22px;
    max-width: 330px;
    font-size: 14.5px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    margin-top: 30px;
    gap: 10px;
  }

  .btn {
    min-height: 46px;
    padding: 14px 18px;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 1.1px;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
  }

  .mobile-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    color: rgba(245,246,247,.62);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
  }

  .mobile-scroll-hint i {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(200,255,67,.42);
    position: relative;
    flex: 0 0 auto;
  }

  .mobile-scroll-hint i::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 9px;
    width: 7px;
    height: 7px;
    border-right: 1.8px solid var(--accent);
    border-bottom: 1.8px solid var(--accent);
    transform: translateX(-50%) rotate(45deg);
    animation: hint-down 1.35s ease-in-out infinite;
  }

  @keyframes hint-down {
    0%, 100% { transform: translate(-50%, 0) rotate(45deg); opacity: .45; }
    50% { transform: translate(-50%, 6px) rotate(45deg); opacity: 1; }
  }

  .marquee {
    padding: 15px 0;
  }

  .marquee-track span {
    font-size: 18px;
    gap: 30px;
    padding-right: 30px;
  }

  .work-2024 - TODAY::before,
  .about::before {
    opacity: .36;
  }

  .work-heading {
    gap: 18px;
    margin-bottom: 34px;
  }

  .work-kicker,
  .section-title p,
  .number {
    font-size: 10px;
    letter-spacing: 2.4px;
    margin-bottom: 12px;
  }

  .work-intro {
    font-size: 14px;
    line-height: 1.7;
    max-width: 340px;
  }

  h2,
  .section-title.center h2,
  .process .section-title h2 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: .96;
    letter-spacing: -.035em;
    white-space: normal;
  }

  .work-link,
  button.work-link,
  button.work-link:hover {
    min-height: 138px;
    padding: 22px 0;
  }

  .work-title {
    font-size: clamp(34px, 11.5vw, 50px);
    line-height: .94;
    letter-spacing: -.04em;
  }

  .work-meta {
    line-height: 1.45;
    letter-spacing: 1px;
  }

  .work-play {
    width: 52px;
    height: 52px;
    letter-spacing: 1.1px;
  }

  .about {
    gap: 34px;
    padding-top: 86px;
    padding-bottom: 84px;
    min-height: auto;
    background:
      radial-gradient(circle at 20% 18%, rgba(197,255,48,.12), transparent 30%),
      radial-gradient(circle at 85% 80%, rgba(197,255,48,.075), transparent 34%),
      var(--bg-alt);
  }

  .about-left h2 {
    max-width: 360px;
    font-size: clamp(48px, 14vw, 64px);
    line-height: .98;
  }

  .about-role-line {
    margin-top: 22px;
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: .15em;
  }

  .about-statement {
    margin-bottom: 28px;
  }

  .about-statement p {
    font-size: 17px;
    line-height: 1.5;
    max-width: 340px;
  }

  .about-statement::after {
    width: 72px;
    margin-top: 22px;
  }

  .about-service-line {
    grid-template-columns: 38px 1fr;
    gap: 12px 14px;
    padding: 21px 0;
  }

  .about-service-line strong {
    font-size: 28px;
    line-height: 1;
  }

  .about-service-line em {
    grid-column: 2;
    font-size: 10px;
    letter-spacing: .12em;
    line-height: 1.45;
  }

  .process-grid {
    gap: 14px;
    margin-top: 32px;
  }

  .process-step {
    border-radius: 14px;
    padding: 24px 20px;
    min-height: auto;
  }

  .process-step .step-num {
    font-size: 38px;
    margin-bottom: 14px;
  }

  .process-step h3 {
    font-size: 15px;
  }

  .process-step p {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .section-title.center .section-subtitle {
    max-width: 330px;
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.65;
  }

  .tool-grid {
    margin-top: 30px;
    gap: 12px;
  }

  .tool-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    text-align: left;
    min-height: auto;
    padding: 18px;
    gap: 0 15px;
    border-radius: 14px;
  }

  .tool-card img,
  .tool-card:first-child img {
    width: 50px;
    height: 50px;
    margin: 0;
    grid-row: 1 / 3;
  }

  .tool-card h3 {
    margin-bottom: 4px;
    font-size: 15px;
  }

  .tool-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .contact {
    gap: 34px;
    align-items: start;
  }

  .contact-info h2 {
    max-width: 360px;
  }

  .contact-info > p:not(.number) {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.7;
  }

  .contact-list {
    margin-top: 28px;
    gap: 20px;
  }

  .contact-channel {
    gap: 8px;
  }

  .contact-channel span {
    font-size: 10px;
    letter-spacing: .22em;
  }

  .contact-channel a {
    font-size: clamp(21px, 6vw, 28px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .contact-form {
    padding: 22px;
    border-radius: 16px;
    gap: 12px;
  }

  input,
  textarea {
    padding: 15px 14px;
    border-radius: 9px;
    font-size: 16px;
  }

  textarea {
    min-height: 136px;
  }

  .contact-form button {
    padding: 16px 14px;
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .site-footer {
    padding: 30px 6% 74px;
    font-size: 12px;
    background: rgba(6,7,8,.96);
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-bottom: 0;
  }

  .footer-logo,
  .footer-social {
    justify-self: auto;
  }

  .footer-copy {
    max-width: 250px;
    line-height: 1.55;
    font-size: 12px;
  }


  .music-toggle {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 380px) {
  .hero h1,
  .about-left h2,
  h2,
  .section-title.center h2,
  .process .section-title h2 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    flex: none;
  }

  .work-title {
    font-size: 32px;
  }

  .tool-card {
    grid-template-columns: 48px 1fr;
    padding: 16px;
  }

  .tool-card img,
  .tool-card:first-child img {
    width: 44px;
    height: 44px;
  }
}


/* ---------- PROFESSIONAL POLISH + BONATO STYLE CURSOR ---------- */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: none !important;
  }

  .custom-cursor-ring,
  .custom-cursor-dot {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    border-radius: 999px;
    z-index: 9999;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    will-change: transform, width, height, opacity, background-color;
  }

  .custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent);
    opacity: .62;
    mix-blend-mode: difference;
    transition: width .2s ease, height .2s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease;
  }

  .custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    z-index: 10000;
  }

  html.cursor-hover .custom-cursor-ring {
    width: 56px;
    height: 56px;
    opacity: .92;
    background: rgba(200,255,67,.16);
  }
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor-ring,
  .custom-cursor-dot {
    display: none !important;
  }
}

/* desktop refinement: stesso sito, più pulito e premium */
@media (min-width: 761px) {
  .navbar {
    padding: 21px 7%;
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 72px;
  }

  .hero h1 {
    max-width: 1040px;
    letter-spacing: -.045em;
  }

  .subtitle {
    max-width: 650px;
    line-height: 1.72;
  }

  .section {
    padding-top: clamp(96px, 9vw, 140px);
    padding-bottom: clamp(96px, 9vw, 140px);
  }

  .work-heading,
  .section-title {
    margin-bottom: 44px;
  }

  .contact {
    gap: clamp(62px, 7vw, 110px);
  }

  .contact-info > p:not(.number) {
    max-width: 520px;
    line-height: 1.75;
  }

  .contact-form {
    padding: clamp(34px, 3vw, 46px);
    background: rgba(255,255,255,.035);
    box-shadow: 0 24px 80px rgba(0,0,0,.24);
  }

  input,
  textarea {
    background: rgba(0,0,0,.22);
  }

  .site-footer {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* mobile refinement: niente lettere che scendono, spazi più ordinati */
@media (max-width: 760px) {
  .navbar {
    padding: 14px 5.2% 12px;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 44px;
  }

  .hero h1 {
    max-width: 370px;
  }

  .hero-actions {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .work-link,
  button.work-link,
  button.work-link:hover {
    min-height: 126px;
  }

  .about,
  .contact {
    gap: 30px;
  }

  .contact-list {
    width: 100%;
    gap: 18px;
  }

  .contact-channel a {
    max-width: 100%;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(16px, 4.85vw, 24px);
    letter-spacing: -.035em;
    line-height: 1.18;
  }

  .contact-channel a[href^="mailto:"] {
    font-size: clamp(15.5px, 4.55vw, 21px);
  }

  .contact-form {
    background: rgba(255,255,255,.035);
  }

  .site-footer {
    padding-top: 24px;
    padding-bottom: 72px;
    border-top-color: rgba(255,255,255,.065);
  }
}

@media (max-width: 390px) {
  .contact-channel a[href^="mailto:"] {
    font-size: clamp(14px, 4.18vw, 16px);
  }
}

/* ---------- HOME PREMIUM UPDATE - NO CARDS ---------- */
.hero {
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 23%, rgba(200,255,67,.20), transparent 16%),
    radial-gradient(circle at 26% 64%, rgba(200,255,67,.075), transparent 24%),
    linear-gradient(rgba(8,9,11,.50), rgba(8,9,11,.94)),
    radial-gradient(circle at center, #1a1d20 0%, #08090b 66%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.hero::after {
  background:
    linear-gradient(115deg, transparent 0 41%, rgba(200,255,67,.11) 48%, transparent 55% 100%),
    radial-gradient(circle at 50% 50%, transparent 0 40%, rgba(8,9,11,.72) 76%);
  opacity: .50;
  animation: hero-sheen 8s ease-in-out infinite;
}

@keyframes hero-sheen {
  0%, 72%, 100% { transform: translateX(-12%) scale(1.08); opacity: .08; }
  82% { transform: translateX(12%) scale(1.08); opacity: .38; }
}

.hero h1 {
  position: relative;
  text-shadow: 0 18px 50px rgba(0,0,0,.42);
}

.hero h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: min(520px, 70vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(200,255,67,.58), transparent);
  opacity: .38;
}

.hero-capabilities {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  color: rgba(245,246,247,.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero-capabilities i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(200,255,67,.9);
}

.hero-metrics {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-33%);
  display: grid;
  gap: 26px;
  text-align: left;
}

.hero-metrics div {
  padding-left: 18px;
  border-left: 1px solid rgba(200,255,67,.32);
}

.hero-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: .9;
  letter-spacing: .5px;
  color: rgba(245,246,247,.92);
  text-transform: uppercase;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  max-width: 145px;
  color: rgba(154,160,168,.82);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.navbar {
  background: rgba(8,9,11,.72);
  backdrop-filter: blur(24px) saturate(135%);
  border-bottom: 1px solid rgba(255,255,255,.075);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.scroll {
  display: flex;
  align-items: center;
  gap: 14px;
}

.scroll::before {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  animation: scroll-line 1.6s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: translateY(-8px); opacity: .35; }
  50% { transform: translateY(8px); opacity: 1; }
}

.hero .hero-capabilities { animation-delay: .50s; }
.hero .hero-metrics { animation-delay: .62s; }

@media (hover: hover) and (pointer: fine) {
  html.cursor-hover .custom-cursor-ring::after {
    content: "OPEN";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
  }
}

@media (max-width: 1180px) {
  .hero-metrics {
    left: 5%;
    transform: translateY(-26%);
  }
  .hero-metrics strong { font-size: 24px; }
  .hero-metrics span { max-width: 118px; }
}

@media (max-width: 900px) {
  .hero-metrics {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 34px;
    width: 100%;
    text-align: center;
  }
  .hero-metrics div {
    padding-left: 0;
    padding-top: 13px;
    border-left: 0;
    border-top: 1px solid rgba(200,255,67,.28);
  }
  .hero-metrics span { max-width: 120px; }
}

@media (max-width: 760px) {
  .hero {
    justify-content: center;
    padding-top: 102px;
    padding-bottom: 58px;
    background:
      radial-gradient(circle at 50% 21%, rgba(200,255,67,.18), transparent 19%),
      linear-gradient(rgba(8,9,11,.62), rgba(8,9,11,.95)),
      radial-gradient(circle at center, #181b1e 0%, #08090b 70%);
  }
  .hero::before {
    background-size: 58px 58px;
    opacity: .22;
  }
  .eyebrow-badge {
    margin-bottom: 25px;
    max-width: calc(100vw - 34px);
    font-size: 10px;
    letter-spacing: 2px;
    padding: 9px 14px;
    white-space: nowrap;
  }
  .hero h1 {
    max-width: 430px;
    font-size: clamp(43px, 13.2vw, 64px);
    line-height: .96;
  }
  .subtitle {
    margin-top: 26px;
    max-width: 360px;
    font-size: 15px;
    line-height: 1.72;
  }
  .hero-actions {
    margin-top: 30px;
  }
  .hero-capabilities {
    flex-wrap: wrap;
    max-width: 330px;
    gap: 10px 12px;
    margin-top: 22px;
    font-size: 10px;
    letter-spacing: 2px;
  }
  .hero-metrics {
    gap: 12px;
    margin-top: 30px;
  }
  .hero-metrics strong {
    font-size: 22px;
  }
  .hero-metrics span {
    max-width: 92px;
    font-size: 8.5px;
    letter-spacing: 1.2px;
  }
  .side-social {
    display: none;
  }
  .scroll {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-metrics {
    transform: scale(.94);
    transform-origin: center top;
  }
  .hero-capabilities i:nth-of-type(3) {
    display: none;
  }
}

/* ---------- FINAL READABILITY + HOME/CURSOR REFINEMENT ---------- */
/* più respiro nei testi in maiuscolo, senza cambiare identità del sito */
.logo,
nav a,
.btn,
.eyebrow-badge,
.hero-capabilities,
.hero-metrics strong,
.hero-metrics span,
.side-social a,
.scroll,
.marquee-track span,
.section-title p,
.number,
h1,
h2,
.work-title,
.work-meta,
.about-kicker,
.process-step h3,
.process-step .step-number,
.tool-info h3,
.contact-channel span,
.footer-label,
.footer-social a,
.music-toggle {
  letter-spacing: .075em;
}

.hero h1,
h2,
.work-title {
  letter-spacing: .018em;
}

.hero h1 .accent-italic {
  letter-spacing: .012em;
}

/* background home più controllato e professionale */
.hero {
  background:
    radial-gradient(ellipse at 50% 26%, rgba(200,255,67,.135), transparent 19%),
    radial-gradient(ellipse at 23% 61%, rgba(200,255,67,.055), transparent 25%),
    radial-gradient(ellipse at 78% 56%, rgba(200,255,67,.035), transparent 23%),
    linear-gradient(rgba(8,9,11,.58), rgba(8,9,11,.955)),
    radial-gradient(circle at center, #171a1d 0%, #08090b 68%);
}

.hero::before {
  opacity: .22;
  background-size: 92px 92px;
}

.hero::after {
  opacity: .22;
  background:
    linear-gradient(115deg, transparent 0 43%, rgba(200,255,67,.07) 49%, transparent 56% 100%),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(8,9,11,.78) 78%);
}

.hero h1::after {
  opacity: .30;
}

.hero-metrics div {
  border-left-color: rgba(200,255,67,.24);
}

.hero-capabilities i {
  width: 4px;
  height: 4px;
  box-shadow: 0 0 10px rgba(200,255,67,.65);
}

/* cursore: niente alone verde e niente scritta OPEN sui link */
.cursor-light {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor-ring {
    border-color: rgba(245,246,247,.72);
    opacity: .55;
    mix-blend-mode: normal;
  }

  .custom-cursor-dot {
    background: var(--accent);
  }

  html.cursor-hover .custom-cursor-ring {
    width: 46px;
    height: 46px;
    opacity: .82;
    background: transparent;
    border-color: rgba(200,255,67,.85);
  }

  html.cursor-hover .custom-cursor-ring::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 760px) {
  .hero {
    background:
      radial-gradient(ellipse at 50% 22%, rgba(200,255,67,.12), transparent 21%),
      radial-gradient(ellipse at 18% 62%, rgba(200,255,67,.05), transparent 26%),
      linear-gradient(rgba(8,9,11,.66), rgba(8,9,11,.96)),
      radial-gradient(circle at center, #16191c 0%, #08090b 72%);
  }

  .hero h1,
  h2,
  .work-title {
    letter-spacing: .012em;
  }
}

/* ---------- ABOUT READABILITY + SOFT FLUO GREEN REFINEMENT ---------- */
.about-left h2 {
  max-width: 760px;
  font-size: clamp(46px, 5.1vw, 78px);
  line-height: 1.09;
  letter-spacing: .032em;
  word-spacing: .035em;
  text-wrap: balance;
}

.about-left h2 .accent-word,
.hero h1 .accent-italic,
.accent,
.step-num,
.logo span,
.marquee-track em {
  text-shadow:
    0 0 9px rgba(200,255,67,.26),
    0 0 22px rgba(200,255,67,.16);
}

.about-left h2 .accent-word {
  color: #c8ff43;
  filter: drop-shadow(0 0 8px rgba(200,255,67,.20));
}

@media (max-width: 760px) {
  .about-left h2 {
    font-size: clamp(39px, 12vw, 56px);
    line-height: 1.12;
    letter-spacing: .02em;
    word-spacing: .02em;
    max-width: 100%;
  }

  .about-left h2 .accent-word,
  .hero h1 .accent-italic,
  .accent {
    text-shadow:
      0 0 7px rgba(200,255,67,.22),
      0 0 16px rgba(200,255,67,.12);
  }
}

/* ---------- BUGFIX MOBILE HOME + VIDEO/MUSIC STABILITY ---------- */
.work-item,
.work-link {
  -webkit-tap-highlight-color: transparent;
}

.work-link {
  pointer-events: auto;
}

.lightbox.open {
  display: flex;
}

.lightbox-content video {
  max-width: 100%;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    padding-top: 108px;
    padding-bottom: 42px;
    justify-content: center;
  }

  .hero-capabilities {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 7px;
    max-width: calc(100vw - 34px);
    font-size: 8.7px;
    letter-spacing: .13em;
    margin-top: 20px;
  }

  .hero-capabilities i,
  .hero-capabilities i:nth-of-type(3) {
    display: block !important;
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    width: min(100%, 330px);
    margin: 26px auto 0;
    transform: none !important;
  }

  .hero-metrics div {
    min-width: 0;
    height: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(200,255,67,.30);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-metrics strong {
    font-size: clamp(18px, 6vw, 23px);
    line-height: .92;
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .hero-metrics span {
    width: 100%;
    max-width: 94px;
    min-height: 25px;
    margin-top: 8px;
    font-size: 7.7px;
    line-height: 1.35;
    letter-spacing: .12em;
    text-align: center;
  }

  .mobile-scroll-hint {
    margin-top: 24px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(38px, 12.4vw, 48px);
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .btn {
    padding-left: 13px;
    padding-right: 13px;
    font-size: 9px;
  }

  .hero-capabilities {
    gap: 6px;
    font-size: 8px;
    letter-spacing: .105em;
  }

  .hero-metrics {
    gap: 10px;
    width: min(100%, 312px);
  }

  .hero-metrics strong {
    font-size: 18px;
  }

  .hero-metrics span {
    font-size: 7px;
    letter-spacing: .105em;
  }
}

/* --- Work list: final "and more" line --- */
.work-more {
  min-height: 132px;
  border-bottom: 1px solid var(--border-strong);
  pointer-events: none;
}

.work-more-inner {
  min-height: 132px;
  display: grid;
  grid-template-columns: 84px 1.18fr .75fr 92px;
  align-items: center;
  gap: 26px;
  padding: 18px 0 28px;
}

.work-more .work-title {
  font-size: clamp(28px, 4.2vw, 58px);
  color: rgba(255,255,255,.48);
  letter-spacing: .03em;
  text-shadow: 0 0 26px rgba(187,255,51,.08);
}

.work-more .work-meta {
  color: rgba(255,255,255,.42);
}

.work-more .work-number {
  color: rgba(187,255,51,.36);
}

@media (max-width: 900px) {
  .work-more-inner {
    grid-template-columns: 58px 1fr;
    gap: 16px;
    min-height: 118px;
  }
  .work-more .work-meta {
    grid-column: 2 / -1;
  }
}

@media (max-width: 520px) {
  .work-more {
    min-height: 108px;
  }
  .work-more-inner {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 108px;
    padding: 22px 0 24px;
  }
  .work-more .work-number {
    font-size: 20px;
  }
  .work-more .work-title {
    font-size: clamp(30px, 11vw, 46px);
    line-height: .95;
    letter-spacing: .04em;
  }
  .work-more .work-meta {
    grid-column: 1 / -1;
    font-size: 10px;
    line-height: 1.45;
  }
}

/* ---------- TIKTOK SOCIAL PROOF ---------- */
.tiktok-proof {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(200,255,67,.14), transparent 30%),
    linear-gradient(180deg, #050608 0%, var(--bg-alt) 100%);
}

.tiktok-bg-word {
  position: absolute;
  top: 36px;
  right: -18px;
  font-family: var(--font-display);
  font-size: clamp(110px, 19vw, 300px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.055);
  pointer-events: none;
}

.tiktok-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 44px;
}

.tiktok-head h2 {
  max-width: 760px;
}

.tiktok-head h2 span {
  color: var(--accent);
  font-style: italic;
}

.tiktok-intro {
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  justify-self: end;
}

/* -- stat: nessuna card, solo un blocco tipografico con una riga a chiudere -- */
.tiktok-stat {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(34px, 4vh, 48px);
  margin-bottom: clamp(10px, 2vh, 18px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}

.tiktok-stat.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-label,
.stat-unit {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.tiktok-stat strong {
  display: block;
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(92px, 15vw, 210px);
  line-height: .78;
  color: var(--accent);
  letter-spacing: -.04em;
}

.tiktok-stat p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(245,246,247,.72);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
  font-weight: 600;
}

/* -- lista pulita, stesso linguaggio delle righe di "Chi sono" -- */
.tiktok-list {
  position: relative;
  z-index: 1;
  width: 100%;
}

.tiktok-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr minmax(160px, .5fr) 1fr;
  align-items: center;
  column-gap: clamp(24px, 4vw, 64px);
  padding: clamp(22px, 2.8vh, 32px) 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease;
}

.tiktok-row > strong {
  grid-column: 3;
}

.tiktok-row > em,
.tiktok-row > .tiktok-profile-links {
  grid-column: 4;
}

.tiktok-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.tiktok-row:nth-child(2) { transition-delay: .06s; }
.tiktok-row:nth-child(3) { transition-delay: .12s; }

.tiktok-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(197,255,48,.15), transparent);
  transition: width .32s ease;
}

.tiktok-list:hover .tiktok-row.visible {
  opacity: .5;
}

.tiktok-list .tiktok-row:hover {
  opacity: 1 !important;
  transform: translateX(6px);
}

.tiktok-row:hover::after {
  width: 100%;
}

.tiktok-row > span:first-child {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
}

.tiktok-row strong {
  font-family: var(--font-body);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #f1f1eb;
}

.tiktok-row em {
  justify-self: start;
  text-align: left;
  color: rgba(255,255,255,.54);
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: .01em;
}

.tiktok-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.tiktok-profile-links a {
  color: rgba(245,246,247,.82);
  text-decoration: none;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .2s ease;
}

.tiktok-profile-links a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .tiktok-head {
    grid-template-columns: 1fr;
  }
  .tiktok-intro {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .tiktok-row {
    grid-template-columns: 34px 1fr;
    row-gap: 8px;
  }
  .tiktok-row > strong,
  .tiktok-row > em,
  .tiktok-row > .tiktok-profile-links {
    grid-column: 2;
  }
  .tiktok-list:hover .tiktok-row.visible {
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .tiktok-proof {
    padding-top: 94px;
    padding-bottom: 94px;
  }
  .tiktok-head {
    gap: 18px;
    margin-bottom: 30px;
  }
  .tiktok-head h2 {
    font-size: clamp(42px, 13vw, 62px);
  }
  .tiktok-stat strong {
    font-size: clamp(82px, 27vw, 124px);
  }
  .tiktok-stat p {
    font-size: 15px;
  }
  .tiktok-row {
    padding: 20px 0;
  }
}


/* ================= LUMO AI ================= */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.lumo-launcher{position:fixed;right:24px;bottom:24px;z-index:180;display:flex;align-items:center;gap:11px;min-width:154px;padding:10px 12px 10px 10px;border:1px solid rgba(145,255,50,.28);border-radius:999px;background:rgba(8,10,8,.82);color:#f7f7f3;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 14px 45px rgba(0,0,0,.45),0 0 30px rgba(145,255,50,.09);font:inherit;cursor:pointer;transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease,opacity .25s ease}
.lumo-launcher:hover{transform:translateY(-3px);border-color:rgba(145,255,50,.62);box-shadow:0 18px 55px rgba(0,0,0,.52),0 0 34px rgba(145,255,50,.16)}
.lumo-launcher-orb,.lumo-avatar{position:relative;display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#eaffd4 0 5%,#9cff42 25%,#42a915 68%,#142b0c 100%);box-shadow:0 0 18px rgba(145,255,50,.34)}
.lumo-launcher-orb:before,.lumo-avatar:before{content:"";position:absolute;inset:-4px;border:1px solid rgba(145,255,50,.24);border-radius:inherit;animation:lumoPulse 2.7s ease-out infinite}
.lumo-launcher-orb i,.lumo-avatar i{width:7px;height:7px;border-radius:50%;background:#f6ffe9;box-shadow:0 0 8px #fff}
.lumo-launcher-copy{display:grid;text-align:left;line-height:1.05}.lumo-launcher-copy strong{font-size:11px;letter-spacing:.2em}.lumo-launcher-copy small{margin-top:4px;color:#90978e;font-size:9px;letter-spacing:.08em}.lumo-launcher-arrow{margin-left:auto;color:#9cff42;font-size:13px}
.lumo-panel{position:fixed;right:24px;bottom:86px;z-index:190;width:min(390px,calc(100vw - 32px));height:min(620px,calc(100dvh - 120px));display:grid;grid-template-rows:auto 1fr auto auto;overflow:hidden;border:1px solid rgba(145,255,50,.23);border-radius:24px;background:linear-gradient(165deg,rgba(16,19,15,.97),rgba(5,7,5,.98));box-shadow:0 28px 90px rgba(0,0,0,.72),0 0 55px rgba(145,255,50,.08);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);opacity:0;visibility:hidden;transform:translateY(16px) scale(.97);transform-origin:bottom right;transition:opacity .28s ease,transform .32s cubic-bezier(.2,.8,.2,1),visibility .28s}
.lumo-panel.is-open{opacity:1;visibility:visible;transform:none}.lumo-header{display:flex;align-items:center;justify-content:space-between;padding:17px 17px 15px;border-bottom:1px solid rgba(255,255,255,.075)}
.lumo-identity{display:flex;align-items:center;gap:11px}.lumo-avatar{width:38px;height:38px;flex-basis:38px}.lumo-identity>div{display:grid}.lumo-identity strong{font-size:12px;letter-spacing:.22em}.lumo-identity span{margin-top:5px;color:#8d948b;font-size:9px;letter-spacing:.08em}.lumo-identity span b{display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:#9cff42;box-shadow:0 0 7px #9cff42}.lumo-close{width:34px;height:34px;border:1px solid rgba(255,255,255,.09);border-radius:50%;background:transparent;color:#aaa;font-size:21px;line-height:1;cursor:pointer;transition:.2s}.lumo-close:hover{color:#fff;border-color:rgba(145,255,50,.35);transform:rotate(5deg)}
.lumo-messages{overflow-y:auto;padding:18px 16px 10px;scrollbar-width:thin;scrollbar-color:#33402e transparent}.lumo-message{max-width:86%;margin:0 0 13px}.lumo-message p{margin:0;padding:13px 14px;border-radius:4px 16px 16px 16px;background:rgba(255,255,255,.065);color:#d8ddd5;font-size:13px;line-height:1.55}.lumo-message-name{display:block;margin:0 0 6px 3px;color:#9cff42;font-size:8px;font-weight:700;letter-spacing:.2em}.lumo-message.is-user{margin-left:auto}.lumo-message.is-user p{border-radius:16px 4px 16px 16px;background:#9cff42;color:#10140d}.lumo-message.is-user .lumo-message-name{text-align:right;color:#858b82}.lumo-message.is-error p{border:1px solid rgba(255,112,112,.22);background:rgba(255,112,112,.08)}
.lumo-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:7px 0 12px}.lumo-suggestions button{padding:8px 10px;border:1px solid rgba(145,255,50,.18);border-radius:999px;background:rgba(145,255,50,.045);color:#b8beb5;font:inherit;font-size:10px;line-height:1.25;cursor:pointer;transition:.2s}.lumo-suggestions button:hover{border-color:rgba(145,255,50,.5);color:#eaffdc;background:rgba(145,255,50,.09)}
.lumo-typing p{display:flex;gap:5px;width:max-content}.lumo-typing i{width:5px;height:5px;border-radius:50%;background:#8fcf63;animation:lumoTyping 1s ease-in-out infinite}.lumo-typing i:nth-child(2){animation-delay:.14s}.lumo-typing i:nth-child(3){animation-delay:.28s}
.lumo-form{display:flex;align-items:flex-end;gap:8px;margin:0 12px;padding:8px 8px 8px 13px;border:1px solid rgba(255,255,255,.1);border-radius:17px;background:rgba(255,255,255,.045);transition:.2s}.lumo-form:focus-within{border-color:rgba(145,255,50,.42);box-shadow:0 0 0 3px rgba(145,255,50,.05)}.lumo-form textarea{width:100%;max-height:110px;resize:none;border:0;outline:0;background:transparent;color:#f2f4ef;font:inherit;font-size:12px;line-height:1.45}.lumo-form textarea::placeholder{color:#777e75}.lumo-form button{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:9px 10px;border:0;border-radius:11px;background:#9cff42;color:#11160e;font:inherit;font-size:10px;font-weight:800;letter-spacing:.08em;cursor:pointer}.lumo-form button:disabled{opacity:.45;cursor:not-allowed}.lumo-form button i{font-style:normal;font-size:15px;line-height:1}.lumo-disclaimer{margin:8px 14px 11px;color:#62685f;text-align:center;font-size:8px;letter-spacing:.03em}
body.lumo-open .music-toggle{opacity:.35;pointer-events:none}
@keyframes lumoPulse{0%{opacity:.7;transform:scale(.8)}70%,100%{opacity:0;transform:scale(1.45)}}@keyframes lumoTyping{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(max-width:700px){.lumo-launcher{right:14px;bottom:14px;min-width:0;padding:8px}.lumo-launcher-copy,.lumo-launcher-arrow{display:none}.lumo-launcher-orb{width:40px;height:40px;flex-basis:40px}.lumo-panel{right:8px;bottom:70px;width:calc(100vw - 16px);height:min(650px,calc(100dvh - 82px));border-radius:22px}.lumo-form button span{display:none}.lumo-message{max-width:91%}}
@media(prefers-reduced-motion:reduce){.lumo-launcher-orb:before,.lumo-avatar:before,.lumo-typing i{animation:none}.lumo-panel,.lumo-launcher{transition:none}}

/* ================= LUMO / MUSIC FINAL ALIGNMENT ================= */
/* I due controlli condividono lo stesso asse destro e restano separati. */
.lumo-launcher {
  right: 18px;
  bottom: 58px;
}

.lumo-panel {
  right: 18px;
  bottom: 116px;
  max-height: calc(100dvh - 136px);
}

@media (max-width: 700px) {
  .lumo-launcher {
    right: 12px;
    bottom: 50px;
  }

  .lumo-panel {
    right: 8px;
    bottom: 106px;
    height: min(650px, calc(100dvh - 118px));
  }
}

/* ================= LUMO FINAL DOCK — NON COPRE IL PORTFOLIO ================= */
/* LUMO vive in basso a sinistra; MUSIC resta in basso a destra. */
.lumo-launcher {
  left: 18px;
  right: auto;
  bottom: 18px;
  min-width: 132px;
  padding: 9px 11px 9px 9px;
  z-index: 180;
}

.lumo-panel {
  left: 18px;
  right: auto;
  bottom: 76px;
  transform-origin: bottom left;
  max-height: calc(100dvh - 96px);
}

/* Su schermi medi il launcher resta evidente ma più compatto. */
@media (max-width: 1100px) {
  .lumo-launcher {
    min-width: 112px;
  }

  .lumo-launcher-copy small {
    display: none;
  }
}

@media (max-width: 700px) {
  .lumo-launcher {
    left: 12px;
    right: auto;
    bottom: 12px;
    min-width: 0;
    padding: 7px;
  }

  .lumo-panel {
    left: 8px;
    right: auto;
    bottom: 68px;
    width: calc(100vw - 16px);
    height: min(650px, calc(100dvh - 80px));
    transform-origin: bottom left;
  }
}


/* ================= LUMO REFINEMENT — RIGHT DOCK / COMPACT ON SCROLL ================= */
/* LUMO stays above MUSIC on the same right-hand axis. */
.lumo-launcher {
  left: auto !important;
  right: 18px !important;
  bottom: 58px !important;
  min-width: 132px;
  padding: 9px 11px 9px 9px;
  z-index: 998;
  transform-origin: right center;
}

.lumo-panel {
  left: auto !important;
  right: 18px !important;
  bottom: 104px !important;
  transform-origin: bottom right !important;
  max-height: calc(100dvh - 124px);
}

/* After leaving the hero, LUMO becomes a compact native control. */
body.lumo-compact:not(.lumo-open) .lumo-launcher {
  min-width: 88px;
  padding: 7px 9px 7px 7px;
  gap: 8px;
  background: rgba(7, 9, 7, .88);
  box-shadow: 0 10px 32px rgba(0,0,0,.44), 0 0 22px rgba(145,255,50,.07);
}
body.lumo-compact:not(.lumo-open) .lumo-launcher-orb {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
body.lumo-compact:not(.lumo-open) .lumo-launcher-copy small,
body.lumo-compact:not(.lumo-open) .lumo-launcher-arrow {
  display: none;
}
body.lumo-compact:not(.lumo-open) .lumo-launcher-copy strong {
  font-size: 9px;
  letter-spacing: .16em;
}

/* Do not visually fight with portfolio controls. */
body.lumo-compact:not(.lumo-open) .lumo-launcher:hover {
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 700px) {
  .lumo-launcher {
    left: auto !important;
    right: 12px !important;
    bottom: 49px !important;
    min-width: 82px;
    padding: 7px 8px 7px 7px;
  }
  .lumo-launcher-orb {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .lumo-launcher-copy small,
  .lumo-launcher-arrow {
    display: none;
  }
  .lumo-launcher-copy strong {
    font-size: 9px;
    letter-spacing: .15em;
  }
  body.lumo-compact:not(.lumo-open) .lumo-launcher {
    min-width: 44px;
    width: 44px;
    height: 44px;
    padding: 7px;
  }
  body.lumo-compact:not(.lumo-open) .lumo-launcher-copy {
    display: none;
  }
  body.lumo-compact:not(.lumo-open) .lumo-launcher-orb {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .lumo-panel {
    left: auto !important;
    right: 8px !important;
    bottom: 99px !important;
    width: calc(100vw - 16px);
    height: min(650px, calc(100dvh - 112px));
    transform-origin: bottom right !important;
  }
}

/* ================= LUMO SMOOTH DISSOLVE / WIDTH TRANSITION ================= */
.lumo-launcher {
  width: 132px;
  min-width: 132px;
  overflow: hidden;
  transition:
    width .48s cubic-bezier(.22,.8,.22,1),
    min-width .48s cubic-bezier(.22,.8,.22,1),
    padding .48s cubic-bezier(.22,.8,.22,1),
    gap .42s ease,
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    opacity .28s ease;
}
.lumo-launcher-copy {
  min-width: 62px;
  max-width: 80px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity .24s ease, transform .42s cubic-bezier(.22,.8,.22,1), max-width .48s ease, min-width .48s ease;
}
.lumo-launcher-copy small,
.lumo-launcher-arrow {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, transform .35s ease, visibility 0s linear 0s;
}

body.lumo-compact:not(.lumo-open) .lumo-launcher {
  width: 88px;
  min-width: 88px;
}
body.lumo-compact:not(.lumo-open) .lumo-launcher-copy {
  min-width: 38px;
  max-width: 42px;
  opacity: 1;
  transform: translateX(-1px);
}
body.lumo-compact:not(.lumo-open) .lumo-launcher-copy small,
body.lumo-compact:not(.lumo-open) .lumo-launcher-arrow {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateX(5px);
  width: 0;
  margin: 0;
  overflow: hidden;
  transition: opacity .16s ease, transform .3s ease, visibility 0s linear .18s, width .4s ease;
}

@media (max-width: 700px) {
  .lumo-launcher {
    width: 82px;
    min-width: 82px;
  }
  .lumo-launcher-copy {
    display: grid;
    min-width: 35px;
    max-width: 40px;
    opacity: 1;
    transition: opacity .22s ease, transform .4s cubic-bezier(.22,.8,.22,1), max-width .45s ease, min-width .45s ease;
  }
  body.lumo-compact:not(.lumo-open) .lumo-launcher {
    width: 44px;
    min-width: 44px;
  }
  body.lumo-compact:not(.lumo-open) .lumo-launcher-copy {
    display: grid;
    min-width: 0;
    max-width: 0;
    opacity: 0;
    transform: translateX(8px);
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lumo-launcher,
  .lumo-launcher-copy,
  .lumo-launcher-copy small,
  .lumo-launcher-arrow {
    transition: none !important;
  }
}

/* ================= HERO SCROLL CLEARANCE FOR LUMO ================= */
/* Keep LUMO and MUSIC on the right dock; move only the hero scroll cue inward. */
@media (min-width: 901px) {
  .hero .scroll {
    right: clamp(170px, 12vw, 230px);
    transition: right .35s ease;
  }
}

/* ================= LUMO MOBILE PRODUCTION PASS ================= */
.lumo-panel,
.lumo-messages {
  overscroll-behavior: contain;
}

@media (max-width: 700px) {
  :root {
    --lumo-safe-bottom: env(safe-area-inset-bottom, 0px);
    --lumo-keyboard-offset: 0px;
  }

  .lumo-launcher {
    right: max(12px, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(50px + var(--lumo-safe-bottom)) !important;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .lumo-panel {
    right: max(8px, env(safe-area-inset-right, 0px)) !important;
    left: max(8px, env(safe-area-inset-left, 0px)) !important;
    bottom: calc(98px + var(--lumo-safe-bottom) + var(--lumo-keyboard-offset)) !important;
    width: auto !important;
    height: min(650px, calc(var(--lumo-vh, 100dvh) - 112px - var(--lumo-safe-bottom))) !important;
    max-height: calc(var(--lumo-vh, 100dvh) - 112px - var(--lumo-safe-bottom)) !important;
    border-radius: 20px;
  }

  .lumo-header {
    padding: 14px 14px 12px;
  }

  .lumo-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    touch-action: manipulation;
  }

  .lumo-messages {
    padding: 14px 12px 8px;
    -webkit-overflow-scrolling: touch;
  }

  .lumo-message {
    max-width: 92%;
  }

  .lumo-message p {
    padding: 12px 13px;
    font-size: 13px;
    line-height: 1.5;
  }

  .lumo-suggestions {
    gap: 8px;
  }

  .lumo-suggestions button {
    min-height: 38px;
    padding: 9px 11px;
    touch-action: manipulation;
  }

  .lumo-form {
    margin: 0 10px;
    padding: 7px 7px 7px 12px;
    border-radius: 16px;
  }

  .lumo-form textarea {
    font-size: 16px; /* evita lo zoom automatico su iPhone */
    line-height: 1.4;
  }

  .lumo-form button {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 9px;
    touch-action: manipulation;
  }

  .lumo-disclaimer {
    margin-bottom: calc(9px + var(--lumo-safe-bottom));
  }

  body.lumo-open {
    overscroll-behavior: none;
  }
}

@media (max-width: 430px) {
  body:not(.lumo-compact):not(.lumo-open) .lumo-launcher {
    width: 78px;
    min-width: 78px;
  }

  .lumo-panel {
    border-radius: 18px;
  }

  .lumo-identity span {
    font-size: 8px;
  }
}

@media (max-width: 700px) and (orientation: landscape) {
  .lumo-panel {
    top: max(8px, env(safe-area-inset-top, 0px));
    bottom: calc(8px + var(--lumo-keyboard-offset)) !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* ================= LUMO PREMIUM FINAL PASS ================= */
/* Softer native launcher */
.lumo-launcher{
  box-shadow:0 12px 34px rgba(0,0,0,.40),0 0 18px rgba(145,255,50,.055) !important;
  border-color:rgba(145,255,50,.22) !important;
}
.lumo-launcher:hover{
  box-shadow:0 16px 42px rgba(0,0,0,.48),0 0 22px rgba(145,255,50,.10) !important;
}
.lumo-launcher-orb,.lumo-avatar{
  box-shadow:0 0 12px rgba(145,255,50,.22) !important;
}
.lumo-launcher-orb:before,.lumo-avatar:before{
  opacity:.55;
}

/* One-time, non-invasive invitation */
.lumo-nudge{
  position:fixed;
  right:24px;
  bottom:142px;
  z-index:179;
  padding:9px 13px;
  border:1px solid rgba(145,255,50,.18);
  border-radius:999px;
  background:rgba(8,10,8,.88);
  color:#dce2d8;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  box-shadow:0 10px 30px rgba(0,0,0,.38);
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:0;
  visibility:hidden;
  transform:translateY(7px);
  transition:opacity .35s ease,transform .35s ease,visibility .35s;
  pointer-events:none;
}
.lumo-nudge.is-visible{opacity:1;visibility:visible;transform:none}
body.lumo-open .lumo-nudge{opacity:0;visibility:hidden;transform:translateY(7px)}

@media (max-width:700px){
  /* Compact, clear launcher above MUSIC */
  .lumo-launcher{
    right:max(10px,env(safe-area-inset-right,0px)) !important;
    bottom:calc(49px + env(safe-area-inset-bottom,0px)) !important;
    width:84px !important;
    min-width:84px !important;
    height:42px;
    min-height:42px;
    padding:5px 8px 5px 5px !important;
    gap:7px !important;
  }
  .lumo-launcher-orb{
    width:31px !important;
    height:31px !important;
    flex-basis:31px !important;
  }
  .lumo-launcher-copy{
    display:grid !important;
    width:38px !important;
    min-width:38px !important;
    opacity:1 !important;
    overflow:hidden;
  }
  .lumo-launcher-copy strong{
    font-size:8.5px !important;
    letter-spacing:.09em !important;
    white-space:nowrap !important;
  }
  .lumo-launcher-copy small,.lumo-launcher-arrow{display:none !important}
  body.lumo-compact:not(.lumo-open) .lumo-launcher{
    width:42px !important;
    min-width:42px !important;
    padding:5px !important;
  }
  body.lumo-compact:not(.lumo-open) .lumo-launcher-copy{
    width:0 !important;
    min-width:0 !important;
    opacity:0 !important;
  }

  /* Native bottom sheet instead of a floating popup */
  .lumo-panel{
    left:max(6px,env(safe-area-inset-left,0px)) !important;
    right:max(6px,env(safe-area-inset-right,0px)) !important;
    bottom:calc(var(--lumo-keyboard-offset,0px) + env(safe-area-inset-bottom,0px)) !important;
    width:auto !important;
    height:min(86dvh,calc(var(--lumo-vh,100dvh) - 10px)) !important;
    max-height:calc(var(--lumo-vh,100dvh) - 10px) !important;
    border-radius:24px 24px 14px 14px !important;
    transform:translateY(calc(100% + 24px)) !important;
    transform-origin:bottom center !important;
    opacity:0 !important;
    visibility:hidden !important;
    transition:transform .48s cubic-bezier(.22,.82,.2,1),opacity .28s ease,visibility .48s !important;
  }
  .lumo-panel.is-open{
    transform:translateY(0) !important;
    opacity:1 !important;
    visibility:visible !important;
  }
  .lumo-panel:before{
    content:"";
    position:absolute;
    top:7px;
    left:50%;
    width:38px;
    height:3px;
    border-radius:99px;
    background:rgba(255,255,255,.18);
    transform:translateX(-50%);
    z-index:2;
  }
  .lumo-header{padding-top:18px !important}
  .lumo-nudge{
    right:max(10px,env(safe-area-inset-right,0px));
    bottom:calc(101px + env(safe-area-inset-bottom,0px));
    font-size:8px;
    padding:8px 11px;
  }
  body.lumo-open .music-toggle,
  body.lumo-open .lumo-launcher{
    opacity:0 !important;
    pointer-events:none !important;
  }
}

@media (max-width:430px){
  .lumo-panel{
    left:4px !important;
    right:4px !important;
    border-radius:22px 22px 10px 10px !important;
  }
}

/* Desktop only: vertically center the LUMO label in compact-on-scroll state. */
@media (min-width: 701px) {
  body.lumo-compact:not(.lumo-open) .lumo-launcher-copy {
    display: flex !important;
    align-items: center !important;
    align-self: stretch !important;
  }

  body.lumo-compact:not(.lumo-open) .lumo-launcher-copy strong {
    display: block !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  body.lumo-compact:not(.lumo-open) .lumo-launcher-copy small,
  body.lumo-compact:not(.lumo-open) .lumo-launcher-arrow {
    display: none !important;
  }
}
