/* ============================================================
   Smart Fussion — theme stylesheet
   Extracted verbatim from the approved static build.
   Base + home sections + lightbox from index.html;
   portfolio page-hero/filter/gallery/cta appended from portfolio.html.
============================================================ */

/* ============================================================
   ZEMESTRO STD — real brand font from Monotype
   Premium font licensed to Smart Fussion
============================================================ */
@font-face {
  font-family: 'Zemestro Std';
  src: url('../fonts/zemestro-std.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zemestro Std';
  src: url('../fonts/zemestro-std-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zemestro Std';
  src: url('../fonts/zemestro-std-bk-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


/* ============================================================
   DESIGN TOKENS
   Black throughout, white text, green accent only where useful
   (per Mario #16)
============================================================ */
:root {
  --bg:            #000000;
  --bg-soft:       #0a0a0a;
  --bg-elev:       #111111;
  --line:          rgba(255,255,255,0.08);
  --line-strong:   rgba(255,255,255,0.18);
  --text:          #ffffff;
  --text-dim:      rgba(255,255,255,0.65);
  --text-muted:    rgba(255,255,255,0.45);
  --accent:        #b9ff3a;     /* signature green */
  --accent-soft:   rgba(185, 255, 58, 0.12);

  --ff-display: 'Zemestro Std', 'Encode Sans', 'Helvetica Neue', sans-serif;
  --ff-body:    'Manrope', system-ui, sans-serif;

  --max-w: 1440px;
  --pad-x: clamp(20px, 4vw, 72px);

  --radius: 2px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================================
   HEADER (Mario #4, #11, #14)
   - Gradient from black to transparent (top)
   - HOME, PORTFOLIO, CONTACT on LEFT
   - Logo CENTERED
   - Social + EN/ES on RIGHT
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad-x);
  background: linear-gradient(to bottom,
              rgba(0,0,0,0.95) 0%,
              rgba(0,0,0,0.75) 60%,
              rgba(0,0,0,0.00) 100%);
  transition: background 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
}

/* Left nav */
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-self: start;
}
.nav-link {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .4s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--accent); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Centered logo */
.logo {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
}
.logo-mark {
  font-family: var(--ff-display);
  font-size: 30px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.logo-sub {
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--text);
  margin-top: 2px;
  padding-left: 0.5em;
}

/* Right cluster */
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-self: end;
}
.social-row {
  display: flex;
  gap: 16px;
}
.social-row a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  color: var(--text-dim);
  transition: all .3s var(--ease);
}
.social-row a:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Language toggle (Mario #13) */
.lang-toggle {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  overflow: hidden;
}
.lang-toggle button {
  padding: 6px 12px;
  color: var(--text-dim);
  transition: all .25s var(--ease);
}
.lang-toggle button.active {
  background: var(--accent);
  color: var(--bg);
}

.burger { display: none; }

/* ============================================================
   HERO (Mario #11, #14)
   - Black bg with small gradient — NO heavy concert image
   - Minimalistic, professional
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 160px var(--pad-x) 100px;
  overflow: hidden;
  background:
    /* dark gradient overlay - lighter than before so photo shows through more */
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.78) 100%),
    /* subtle green tint */
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(185,255,58,0.10), transparent 60%),
    /* the actual concert photo from Alfonso */
    var(--sf-hero-img, url('../img/hero-bg.jpg')) center/cover no-repeat,
    #000;
}

/* subtle grid texture for atmosphere */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 600;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
  opacity: .5;
}

.hero h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero h1 .green { color: var(--accent); }
.hero h1 .outline {
  -webkit-text-stroke: 1px var(--text);
  color: transparent;
  font-style: italic;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: var(--accent);
  color: var(--bg);
  transition: all .35s var(--ease);
}
.btn:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%     { opacity: .3; transform: scaleY(0.4); }
}

/* ============================================================
   STRENGTHS — Bold attention-grabber (Mario #5)
   Big bold text before services
============================================================ */
.strengths {
  padding: 140px var(--pad-x) 100px;
  border-top: 1px solid var(--line);
  position: relative;
}
.strengths-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.strengths-label::before {
  content: '●';
  color: var(--accent);
  font-size: 8px;
}

.strengths h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 1.0;
  letter-spacing: 0.005em;
  max-width: 1100px;
}
.strengths h2 .accent { color: var(--accent); }
.strengths h2 .thin {
  font-style: italic;
  opacity: .55;
}

.strengths-meta {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.meta-item .num {
  font-family: var(--ff-display);
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
}
.meta-item .lbl {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
   SERVICES (merged with about per Mario #6)
============================================================ */
.services {
  padding: 120px var(--pad-x);
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.section-head .left { max-width: 720px; }
.section-kicker {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.section-title .green { color: var(--accent); }

.section-head .right {
  max-width: 380px;
  color: var(--text-dim);
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg);
  padding: 44px 32px;
  transition: background .4s var(--ease);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--ff-display);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}
.service-card:hover {
  background: var(--bg-elev);
}
.service-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 18px;
  color: var(--accent);
  transition: all .4s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: rotate(8deg);
}
.service-card h3 {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 40px;
}
.service-card p {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.55;
}

/* ============================================================
   CLIENT LOGOS CAROUSEL (Mario #9)
============================================================ */
.clients {
  padding: 80px var(--pad-x);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 70px;
  animation: marquee 35s linear infinite;
  flex-shrink: 0;
  padding-right: 70px;
  align-items: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-logo {
  font-family: var(--ff-display);
  font-size: 28px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color .3s var(--ease);
  flex-shrink: 0;
}
.client-logo:hover { color: var(--accent); }
.client-logo .dot { color: var(--accent); }

/* ============================================================
   PORTFOLIO GALLERY (Mario #10, #12, #16)
   - 4 per row, festival name only (no years), structured library
============================================================ */
.portfolio {
  padding: 120px var(--pad-x);
  border-top: 1px solid var(--line);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.project {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-elev);
  cursor: pointer;
}
.project-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(70%) brightness(0.6);
  transition: all .7s var(--ease);
}
.project:hover .project-img {
  filter: grayscale(0%) brightness(0.95);
  transform: scale(1.05);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2;
}
.project-name {
  font-family: var(--ff-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--text);
  transform: translateY(8px);
  transition: transform .4s var(--ease);
}
.project-category {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: all .4s var(--ease);
}
.project:hover .project-category { opacity: 1; transform: translateY(0); }
.project:hover .project-name { transform: translateY(0); }

.project::after {
  content: '→';
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all .4s var(--ease);
  z-index: 3;
}
.project:hover::after { opacity: 1; transform: translate(0,0); }

.portfolio-cta {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   LATEST WORK CAROUSEL (Mario #17) — max 8 photos
============================================================ */
.latest {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.latest .section-head {
  padding: 0 var(--pad-x);
}
.latest-track {
  display: flex;
  gap: 20px;
  padding: 0 var(--pad-x);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 24px;
}
.latest-track::-webkit-scrollbar { display: none; }

.latest-card {
  flex: 0 0 clamp(260px, 28vw, 380px);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-elev);
  cursor: pointer;
}
.latest-card .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(60%) brightness(0.75);
  transition: all .6s var(--ease);
}
.latest-card:hover .bg {
  filter: grayscale(0%) brightness(0.95);
  transform: scale(1.08);
}
.latest-card .info {
  position: absolute;
  left: 20px; bottom: 20px;
  right: 20px;
  z-index: 2;
}
.latest-card .info .tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.latest-card .info .name {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 0.06em;
}
.latest-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 50%);
  z-index: 1;
}

.carousel-nav {
  margin-top: 30px;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.carousel-nav button {
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: all .3s var(--ease);
  font-size: 14px;
}
.carousel-nav button:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ============================================================
   CONTACT SECTION (Mario #8) — simple but big, with form
============================================================ */
.contact {
  padding: 140px var(--pad-x);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at top, rgba(185,255,58,0.08), transparent 60%),
    #000;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}
.contact h2 {
  font-family: var(--ff-display);
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.contact h2 .green { color: var(--accent); font-style: italic; }
.contact-intro {
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 480px;
}
.contact-details {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}
.contact-row i {
  color: var(--accent);
  font-size: 14px;
  width: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .3s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 100px; }

.contact-form .btn { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   FOOTER (Mario #7) — company info, form/contact, resources
============================================================ */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 80px var(--pad-x) 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand .logo-mark { font-size: 34px; }
.footer-brand .logo-sub { font-size: 13px; }
.footer-brand p {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 340px;
  line-height: 1.65;
}
.footer-brand .social-row { margin-top: 24px; }

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-partners {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths-meta { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .nav-left, .nav-right { display: none; }
  .header-grid { grid-template-columns: auto 1fr auto; }
  .burger {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--text);
    justify-self: end;
  }
  .logo { justify-self: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .services-grid,
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .strengths-meta { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   LOGO IMAGE
============================================================ */
.logo {
  justify-self: center;
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease);
}
.logo:hover .logo-img { opacity: 0.85; }
.logo-img--footer {
  height: 38px;
}

/* ============================================================
   ENCODE SANS DISPLAY OVERRIDES
   Encode Sans needs heavier weights & tighter spacing than Bebas Neue.
   Apply globally to anything using --ff-display.
============================================================ */
.hero h1,
.section-title,
.strengths h2,
.contact h2,
.cta-band h2,
.page-title,
.project-title,
.next-title,
.featured-caption .name,
.service-card h3,
.client-logo,
.logo-mark,
.logo-sub,
.year-tab,
.tile-name,
.project-name,
.latest-card .info .name,
.thumb-more-label,
.image-counter,
.meta-cell .val,
.gallery-nav .counter-text,
.project-kicker {
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* keep small uppercase elements with slight positive tracking */
.tile-name,
.project-name,
.latest-card .info .name,
.featured-caption .name {
  letter-spacing: 0.02em;
  font-weight: 700;
}

/* italic headlines: Encode Sans handles oblique well */
.hero h1 .outline,
.next-title em,
.contact h2 .green,
.cta-band h2 .green,
.page-title .italic,
.project-title .italic {
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.015em;
}

/* ============================================================
   V3 ADDITIONS — Mario's May 13 feedback
   - Bigger hero sub (per Mario "landing page text should be big")
   - 3-column services (no Stage)
   - Subtle gradients & opacity across sections for vibrancy (Mario #4)
============================================================ */
.hero-sub--big {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.services-grid--three {
  grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 900px) {
  .services-grid--three { grid-template-columns: 1fr !important; }
}

/* Subtle gradients across page sections — give elements more pop */
.strengths {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(185, 255, 58, 0.04) 0%, transparent 50%),
    var(--bg);
  position: relative;
}
.strengths::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(185, 255, 58, 0.02) 100%);
  pointer-events: none;
}

.services {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(185, 255, 58, 0.03) 0%, transparent 60%),
    var(--bg);
}

.portfolio {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(185, 255, 58, 0.025) 0%, transparent 50%),
    var(--bg);
}

.contact {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(185, 255, 58, 0.05) 0%, transparent 55%),
    var(--bg);
}

.service-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease, ease);
}
.service-card:hover {
  background: linear-gradient(135deg, rgba(185,255,58,0.06) 0%, rgba(185,255,58,0.015) 100%);
  border-color: rgba(185, 255, 58, 0.25);
  transform: translateY(-4px);
}

/* Portfolio tiles — add gradient overlay for vibrancy */
.tile {
  position: relative;
  transition: all 0.4s var(--ease, ease);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 1;
}
.tile:hover {
  transform: translateY(-4px);
}
.tile > * { position: relative; z-index: 2; }

/* ============================================================
   V3.1 ADDITIONS — Mario Round 2
   - Service card background images (Audio/Video/Lighting)
   - Project gallery lightbox
============================================================ */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.20;
  z-index: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
}
.service-card:hover .service-bg {
  opacity: 0.32;
  transform: scale(1.05);
}
.service-card > *:not(.service-bg) {
  position: relative;
  z-index: 1;
}

/* Project tile cursor — now clickable for gallery */
.project {
  cursor: pointer;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lightbox-caption {
  color: #fff;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-align: center;
}
.lightbox-counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.lightbox-close {
  top: 20px;
  right: 20px;
}
.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; width: 40px; height: 40px; }
  .lightbox-next { right: 8px; width: 40px; height: 40px; }
}

/* ===== PORTFOLIO PAGE (from portfolio.html) ===== */
.page-hero {
  padding: 180px var(--pad-x) 80px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(185,255,58,0.10), transparent 60%),
    #000;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.page-kicker {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-kicker::before,
.page-kicker::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
  opacity: .5;
}
.page-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.page-title .italic { font-style: italic; color: var(--accent); }
.page-sub {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FILTER BAR — category-based, no years per Mario #10
============================================================ */
.filter-bar {
  padding: 30px var(--pad-x) 60px;
  border-bottom: 1px solid var(--line);
}
.filter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.filter-chip {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  transition: all .3s var(--ease);
}
.filter-chip:hover { color: var(--text); border-color: var(--text-dim); }
.filter-chip.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.filter-count {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.filter-count .num { color: var(--accent); font-family: var(--ff-display); font-size: 22px; margin-right: 6px; }

/* ============================================================
   GALLERY — 4 per row per Mario #10
============================================================ */
.gallery {
  padding: 60px var(--pad-x) 120px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-elev);
  cursor: pointer;
  display: block;
}
.tile-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(70%) brightness(0.55);
  transition: all .7s var(--ease);
}
.tile:hover .tile-img {
  filter: grayscale(0%) brightness(0.95);
  transform: scale(1.05);
}
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2;
}
.tile-category {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all .4s var(--ease);
}
.tile-name {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--text);
  transform: translateY(8px);
  transition: transform .4s var(--ease);
}
.tile:hover .tile-category { opacity: 1; transform: translateY(0); }
.tile:hover .tile-name { transform: translateY(0); }
.tile-count {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--text-dim);
}
.tile-count i { color: var(--accent); margin-right: 4px; font-size: 9px; }
.tile::after {
  content: '→';
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all .4s var(--ease);
  z-index: 3;
}
.tile:hover::after { opacity: 1; transform: translate(0,0); }

/* Load more */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  padding: 100px var(--pad-x);
  border-top: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(185,255,58,0.08), transparent 70%),
    #000;
}
.cta-band h2 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 860px;
  margin: 0 auto 28px;
}
.cta-band h2 .green { color: var(--accent); font-style: italic; }

.page-hero {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(185, 255, 58, 0.06) 0%, transparent 60%),
    var(--bg);
}

.gallery {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(185, 255, 58, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(185, 255, 58, 0.025) 0%, transparent 50%),
    var(--bg);
}

.cta-band {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(185, 255, 58, 0.06) 0%, transparent 60%),
    var(--bg);
}

/* Tile vibrancy boost — gradient overlay + subtle scale on hover */
.tile {
  transition: all 0.4s var(--ease, cubic-bezier(0.4, 0, 0.2, 1));
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}
.tile:hover::after {
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.7) 100%);
}
.tile:hover {
  transform: translateY(-4px);
}
.tile-overlay,
.tile-count {
  z-index: 2;
}

/* Tile cursor — now clickable for gallery popup */
.tile {
  cursor: pointer;
}

/* gallery responsive */
@media (max-width:1024px){ .gallery-grid{ grid-template-columns:repeat(3,1fr);} }
@media (max-width:720px){ .gallery-grid{ grid-template-columns:repeat(2,1fr);} }

/* ============================================================
   WordPress build additions
============================================================ */
/* filter hide guard — beats .tile { display:block } */
.gallery .tile[hidden] { display: none !important; }

/* Contact Form 7 / Fluent Forms skin to match the underline field design.
   Add the class "btn" to your CF7 submit button for the pill style. */
.contact-form .wpcf7-form p,
.contact-form .fluentform .ff-el-input--content { margin-bottom: 24px; }
.contact-form .wpcf7-form label { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.contact-form .wpcf7-form input:not([type="submit"]),
.contact-form .wpcf7-form textarea,
.contact-form .fluentform input:not([type="submit"]),
.contact-form .fluentform textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 12px; color: var(--text); font-family: var(--ff-body); font-size: 15px;
  width: 100%; margin-top: 8px;
}
.contact-form .wpcf7-form input:not([type="submit"]):focus,
.contact-form .wpcf7-form textarea:focus,
.contact-form .fluentform input:not([type="submit"]):focus,
.contact-form .fluentform textarea:focus { outline: none; border-bottom-color: var(--accent); }
.contact-form .wpcf7-form textarea,
.contact-form .fluentform textarea { resize: vertical; min-height: 100px; }

/* ============================================================
   MOBILE MENU (burger) — full-screen overlay, poster style
============================================================ */
.sf-mobile-menu {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(185,255,58,0.07), transparent 60%),
    rgba(0, 0, 0, 0.97);
  z-index: 99; /* under the fixed header (100) so the burger stays tappable */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.sf-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s var(--ease);
}
.sf-mobile-menu .m-link {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(30px, 9vw, 44px);
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 8px 16px;
  transition: color .25s var(--ease);
}
.sf-mobile-menu .m-link:hover,
.sf-mobile-menu .m-link:active { color: var(--accent); }
.sf-mobile-menu .social-row { margin-top: 28px; }
.sf-mobile-menu .lang-toggle { margin-top: 18px; }
body.sf-menu-open { overflow: hidden; }
@media (min-width: 721px) {
  .sf-mobile-menu { display: none; }
}

/* ============================================================
   Elementor override guards — the global header/footer render
   inside .elementor wrappers, whose `.elementor img{height:auto}`
   beats .logo-img. Restore exact brand logo sizing.
============================================================ */
.elementor .logo-img,
.site-header .logo-img { height: 32px; width: auto; }
.elementor .logo-img--footer,
.site-footer .logo-img--footer { height: 38px; }
/* Elementor adds bottom margin to widgets — kill it for header/footer widgets */
.elementor-widget-sf-header .elementor-widget-container,
.elementor-widget-sf-footer .elementor-widget-container { margin: 0; }
.elementor-widget-sf-header.elementor-widget:not(:last-child),
.elementor-widget-sf-footer.elementor-widget:not(:last-child) { margin-bottom: 0; }

/* WP's global styles force button font-size:1rem/line-height:1.5 — the static
   build's toggle buttons rendered at the UA default (13.3333px/normal/400).
   Pin those exact values so the header height matches the approved site. */
.lang-toggle button,
.site-header .burger {
  font-size: 13.3333px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
}

/* Hello Elementor also styles .site-header/.site-footer (same class names)
   and constrains them to its content width (1140px). Force full width —
   our own max-width lives on the inner .footer-grid/.header-grid (1440px). */
footer.site-footer,
.elementor footer.site-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
header.site-header,
.elementor header.site-header {
  max-width: none !important;
}

/* Hello Elementor makes .site-header a flex container, which shrink-wraps
   our .header-grid to fit-content. Restore block + full-width grid. */
header.site-header,
.elementor header.site-header {
  display: block !important;
}
.site-header .header-grid { width: 100%; }

/* Footer brand logo — left aligned (client preference). */
.site-footer .footer-brand .logo {
  width: 100% !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  justify-self: start !important;
  margin: 0 !important;
}

/* Hello Elementor shrinks header/footer padding to 10px on mobile — pin the
   design values (header matches static; footer gets a bit more per client). */
header.site-header {
  padding: 22px var(--pad-x) !important;
}
@media (max-width: 720px) {
  footer.site-footer {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}

/* Mobile burger icon — brand green (client request). */
.site-header .burger {
  color: var(--accent) !important;
  background: transparent !important;
}

/* ============================================================
   FOOTER CERTIFICATIONS (client: two certification logos)
============================================================ */
.footer-certs {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-certs-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.footer-certs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.footer-cert { display: inline-flex; }
.footer-cert-img {
  height: 54px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.footer-cert:hover .footer-cert-img,
.footer-certs-row .footer-cert-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
@media (max-width: 720px) {
  .footer-certs-row { gap: 24px; }
  .footer-cert-img { height: 44px; }
}
