/* =============================================
   DOMO PRODUÇÕES — Main Stylesheet
   ============================================= */

/* --- Custom font --- */
@font-face {
  font-family: 'UniversalDoomsday';
  src: url('../assets/fonts/UniversalDoomsday.woff2') format('woff2'),
       url('../assets/fonts/UniversalDoomsday.woff')  format('woff'),
       url('../assets/fonts/UniversalDoomsday.ttf')   format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --black:    #0a0a0a;
  --near-black: #111111;
  --dark:     #181818;
  --mid:      #2a2a2a;
  --muted:    #555555;
  --border:   #272727;
  --white:    #ffffff;
  --off-white: #f0ede8;
  --gold:     #abdbcf;
  --gold-light: #c8ebe4;
  --green:    #4a7c59;

  --font-sans:   'Montserrat', sans-serif;
  --font-serif:  'Bebas Neue', sans-serif;
  --font-brand:  'UniversalDoomsday', 'Bebas Neue', sans-serif;

  --max-w: 1280px;
  --section-pad: 120px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }


/* --- Typography --- */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0.03em;
}
.section-title em { font-style: normal; color: var(--gold); }
.section-title.light { color: var(--white); }

.body-lg {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--off-white);
  max-width: 600px;
}
.body-md {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin-top: 1rem;
}
.body-lg.light, .body-md.light { color: rgba(255,255,255,0.8); }

.label-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  margin-bottom: 1.5rem;
}
.label-tag.label-light,
.label-tag.label-green { color: var(--gold); border-color: var(--gold); }

/* PT: hide content that has no Portuguese copy */
html[lang="pt"] .hero-eyebrow,
html[lang="pt"] #ancine,
html[lang="pt"] .nav-links li a[href="#ancine"],
html[lang="pt"] .footer-tagline { display: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Navbar --- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  /* crop window — clips the PNG's top/bottom whitespace */
  overflow: hidden;
  height: 68px;
}
.nav-logo-text {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  color: var(--white);
  display: none;
  text-transform: uppercase;
}
#nav-logo-img {
  /* taller than the crop window → top & bottom get clipped */
  height: 136px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(171,219,207,0.45));
  flex-shrink: 0;
}

/* --- Language switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 0.5rem;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.2s;
  padding: 2px 4px;
}
.lang-btn.active { color: var(--gold); }
.lang-btn:hover:not(.active) { color: var(--white); }
.lang-sep { color: rgba(255,255,255,0.15); font-size: 0.55rem; user-select: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links li a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.25s;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--white); }
.nav-links li a.nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 8px 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.nav-links li a.nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }


/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.hero-reel-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 40%, #0f0f0f 100%);
}
.hero-vimeo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-vimeo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* cover the hero at any viewport ratio */
  width: 100vw;
  height: 56.25vw; /* 16:9 at viewport width */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 at viewport height */
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(0,0,0,0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}


/* =============================================
   ABOUT
   ============================================= */
#about {
  padding: 80px 0;
  background: var(--near-black);
  border-top: 1px solid var(--border);
  text-align: center;
}

.about-grid {
  display: block;
  max-width: 860px;
  margin: 0 auto;
}
.about-label { display: block; margin-bottom: 1.5rem; }

.about-body .section-title {
  font-size: clamp(3rem, 5vw, 5.5rem);
  margin-bottom: 1.25rem;
}

#about .body-lg,
#about .body-md {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-style: normal;
  color: var(--gold);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 1rem 2rem;
  margin: 1.5rem auto;
  line-height: 1.6;
  max-width: 720px;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  justify-content: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
}


/* =============================================
   SHOWREEL / WORK
   ============================================= */
#work {
  padding: 44px 0 36px;
  background: var(--black);
}
.section-header {
  text-align: center;
  margin-bottom: 1.25rem;
}
.section-header .label-tag { margin-bottom: 0.6rem; }
.section-header .section-title { margin-bottom: 0.75rem; }
#work .section-title {
  font-size: clamp(3rem, 5vw, 5rem);
}
.section-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.showreel-wrapper {
  position: relative;
  max-width: 760px;
  margin: 0 auto 1rem;
}
.showreel-embed {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--dark);
  overflow: hidden;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #111);
  cursor: pointer;
}
.vimeo-play-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.25s;
}
.vimeo-play-btn:hover { opacity: 0.8; }
.vimeo-play-btn svg { width: 80px; height: 80px; }
.vimeo-play-btn span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.showreel-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.work-cta { text-align: center; }


/* =============================================
   LOCATIONS
   ============================================= */
#locations {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.locations-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1a0f 0%, #0a1208 50%, #0d1a15 100%);
}
.locations-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.locations-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 100%);
}
.locations-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.locations-inner .section-title {
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  margin-bottom: 1rem;
}
.locations-inner .body-lg {
  margin: 0 auto;
  text-align: center;
}

.locations-list {
  margin: 1.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
  width: fit-content;
}
.locations-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.loc-icon {
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}
.locations-note {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 0.65rem 1.75rem;
  margin-top: 1.75rem;
}


/* =============================================
   GALLERY
   ============================================= */
#gallery {
  padding: 80px 0;
  background: var(--black);
  /* Clips cells that expand near the section edges */
  overflow: hidden;
}
#gallery .label-tag { display: block; text-align: center; margin-bottom: 2.5rem; }

.gallery-grid {
  --row-h: 280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: var(--row-h) var(--row-h);
  gap: 4px;
  /* Must be visible so scaled cells can render outside grid bounds */
  overflow: visible;
}

.gallery-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  background: var(--dark);
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.55s ease;
}

/* Smart expand origins — top row grows downward, bottom row grows upward */
.gallery-cell:nth-child(1) { transform-origin: top left; }
.gallery-cell:nth-child(2) { transform-origin: top center; }
.gallery-cell:nth-child(3) { transform-origin: top right; }
.gallery-cell:nth-child(4) { transform-origin: bottom left; }
.gallery-cell:nth-child(5) { transform-origin: bottom center; }
.gallery-cell:nth-child(6) { transform-origin: bottom right; }

.gallery-cell:hover {
  /* overflow:visible lets the 16:9 iframe show at its full width.
     #gallery overflow:hidden keeps it contained within the section. */
  overflow: visible;
  transform: scale(1.85);
  z-index: 20;
  box-shadow: 0 30px 90px rgba(0,0,0,0.85);
}

/* Media layer */
.gallery-media {
  position: absolute;
  inset: 0;
  overflow: visible;
  background: var(--dark);
}

.gallery-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease;
}

/* iframe is ALWAYS 16:9 (height = row-h, width = row-h × 16/9).
   Default: cell overflow:hidden clips the sides → clean cover crop.
   Hover:   cell overflow:visible → full 16:9 frame revealed.
   Vimeo fills a true 16:9 container → no letterbox bars ever. */
.gallery-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  height: var(--row-h, 280px);
  width: calc(var(--row-h, 280px) * 16 / 9);   /* 498.67px at 280px */
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* Click area — transparent, no overlay */
.gallery-click-area {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Play hint — hidden; click still works via cell-level handler */
.gallery-play-hint { display: none; }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-box {
  position: relative;
  z-index: 1;
  width: min(90vw, 1160px);
  transform: scale(0.8) translateY(24px);
  transition: transform 0.45s cubic-bezier(0.34, 1.15, 0.64, 1);
}
.lightbox.open .lightbox-box {
  transform: scale(1) translateY(0);
}
.lightbox-close {
  position: absolute;
  top: -52px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  opacity: 0.6;
  transition: opacity 0.25s, transform 0.35s ease;
  line-height: 0;
}
.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }
.lightbox-close svg { width: 30px; height: 30px; display: block; }
.lightbox-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
}
.lightbox-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* =============================================
   CASTING
   ============================================= */
#casting {
  padding: var(--section-pad) 0;
  background: var(--near-black);
  border-top: 1px solid var(--border);
}
.casting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.casting-img-placeholder {
  height: 100%;
  min-height: 480px;
  background: linear-gradient(135deg, #1a1520 0%, #0f0f18 100%);
  position: relative;
  overflow: hidden;
}
.casting-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.casting-body { text-align: left; }
.casting-body .label-tag { display: table; margin: 0 auto 1rem; }
.casting-body .section-title { margin: 1rem 0 1.5rem; }
.casting-body .body-lg,
.casting-body .body-md { color: var(--off-white); }
.casting-body .btn { margin-top: 2rem; }


/* =============================================
   STUDIOS
   ============================================= */
#studios {
  position: relative;
  padding: 70px 0 60px;
  background: var(--black);
  overflow: hidden;
}
#studios > .container {
  position: relative;
  z-index: 1;
}
.studios-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.studios-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.studios-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.5) 100%);
}
#studios .section-title {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 2.5rem;
}
.service-card {
  background: rgba(20,20,20,0.85);
  padding: 1.75rem 1.75rem;
  transition: background 0.25s;
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.service-card:hover { background: rgba(30,30,30,0.9); }
.service-icon {
  display: block;
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.service-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.studios-note {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 0.65rem 1.75rem;
}


/* =============================================
   ANCINE
   ============================================= */
#ancine {
  padding: var(--section-pad) 0;
  background: var(--near-black);
  border-top: 1px solid var(--border);
}
.ancine-inner > .label-tag { display: table; margin: 0 auto 1rem; }
.ancine-inner .section-title { margin: 1rem 0 2.5rem; max-width: 600px; }
.ancine-highlight {
  background: linear-gradient(135deg, rgba(200,169,110,0.08), rgba(200,169,110,0.03));
  border: 1px solid rgba(200,169,110,0.2);
  border-left: 3px solid var(--gold);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.ancine-big {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--gold-light);
}
.ancine-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.ancine-list-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.ancine-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ancine-list li {
  font-size: 0.9rem;
  color: #aaa;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}
.ancine-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 300;
}


/* =============================================
   GREEN PRODUCTION
   ============================================= */
#green {
  position: relative;
  padding: 70px 0 60px;
  background: var(--black);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
#green > .container {
  position: relative;
  z-index: 1;
}
.green-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.green-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.green-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.55) 100%);
}
.green-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.green-inner .section-title {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  margin: 1rem 0 1rem;
}
.green-inner .body-lg {
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.green-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.green-card {
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: background 0.25s;
}
.green-card:hover { background: #161e17; }
.green-icon {
  font-size: 1.2rem;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.green-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.green-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.green-card a {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--black);
  background: var(--gold);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.green-card a:hover { background: #8fc9bb; color: var(--black); }


/* =============================================
   CONTACT
   ============================================= */
#contact {
  padding: var(--section-pad) 0;
  background: var(--near-black);
  border-top: 1px solid var(--border);
}
.contact-header { text-align: center; margin-bottom: 5rem; }
.contact-header .section-title { margin: 1rem 0 1.5rem; }
.contact-header .body-lg { margin: 0 auto; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 900px;
  margin: 0 auto;
}
.team-card {
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: background 0.25s;
}
.team-card:hover { background: #1e1e1e; }
.team-card.featured {
  background: linear-gradient(135deg, #1a1510, #141008);
  border-color: rgba(200,169,110,0.2);
}
.team-card.featured:hover { background: linear-gradient(135deg, #201a12, #181208); }

.team-role {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.team-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}
.team-email, .team-phone {
  display: block;
  font-size: 0.82rem;
  color: #999;
  line-height: 1.7;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200,169,110,0.3);
}
.team-email:hover, .team-phone:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}
.team-grid > .team-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
  width: 100%;
}


/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-logo {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 1.6rem;
  letter-spacing: 0.28em;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.footer-logo-wrap {
  margin-bottom: 8px;
}
.footer-logo-img {
  width: 160px;
  height: 140px;
  object-fit: fill;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(171,219,207,0.45));
}
.footer-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.footer-social {
  display: flex;
  gap: 1.5rem;
}
.social-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s;
}
.social-link:hover { color: var(--white); }
.footer-legal p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}


/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 120px 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .green-cards { grid-template-columns: 1fr 1fr; }
  .ancine-columns { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }

  .container { padding: 0 24px; }

  #navbar { padding: 0 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    backdrop-filter: blur(12px);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1rem; letter-spacing: 0.1em; }
  .nav-links li a.nav-cta { padding: 12px 28px; }

  .hero-content { padding: 0 24px; padding-top: var(--nav-h); }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-label { display: none; }
  .about-stats { gap: 2rem; flex-wrap: wrap; }

  .casting-grid { grid-template-columns: 1fr; gap: 40px; }
  .casting-img-placeholder { aspect-ratio: 4/3; }

  .services-grid { grid-template-columns: 1fr; }
  .green-cards { grid-template-columns: 1fr; }

  .ancine-columns { grid-template-columns: 1fr; gap: 2.5rem; }

  .team-grid { grid-template-columns: 1fr; }
  .team-grid > .team-card:last-child:nth-child(odd) {
    grid-column: 1;
    max-width: 100%;
  }

  .gallery-grid {
    --row-h: 180px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: var(--row-h) var(--row-h) var(--row-h);
  }
  /* Re-map origins for 2-col mobile layout */
  .gallery-cell:nth-child(1) { transform-origin: top left; }
  .gallery-cell:nth-child(2) { transform-origin: top right; }
  .gallery-cell:nth-child(3) { transform-origin: center left; }
  .gallery-cell:nth-child(4) { transform-origin: center right; }
  .gallery-cell:nth-child(5) { transform-origin: bottom left; }
  .gallery-cell:nth-child(6) { transform-origin: bottom right; }
  .gallery-cell:hover { transform: scale(1.45); }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .locations-inner .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  :root { --section-pad: 60px; }
  .hero-title { font-size: 2.8rem; }
  .about-stats { gap: 1.5rem; }
  .stat-num { font-size: 2.2rem; }
}
