/* ===== Tokens ===== */
:root{
  --bg:            #0e0d0c;
  --bg-alt:        #151412;
  --surface:       #1c1a17;
  --surface-2:     #242019;
  --border:        #322c24;
  --text:          #f3efe9;
  --text-dim:      #b4ab9f;
  --text-faint:    #7d7468;
  --brand:         #d97a2b;
  --brand-light:   #f0975a;
  --brand-dark:    #a85815;
  --radius:        14px;
  --radius-sm:     8px;
  --shadow:        0 20px 50px -20px rgba(0,0,0,.6);
  --maxw:          1180px;
  --ff-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--ff-body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ font-family:var(--ff-head); font-weight:600; margin:0 0 .5em; letter-spacing:-0.01em; }
p{ margin:0 0 1em; color:var(--text-dim); }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 28px; border-radius:999px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; cursor:pointer; transition:transform .15s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--brand); color:#12100d; }
.btn-primary:hover{ background:var(--brand-light); }
.btn-ghost{ background:rgba(255,255,255,.06); color:var(--text); border-color:rgba(255,255,255,.16); backdrop-filter:blur(6px); }
.btn-ghost:hover{ background:rgba(255,255,255,.12); }
.btn-outline{ background:transparent; color:var(--text); border-color:var(--border); }
.btn-outline:hover{ border-color:var(--brand); color:var(--brand-light); }
.btn-sm{ padding:10px 20px; font-size:.85rem; }
.btn-lg{ padding:17px 38px; font-size:1.05rem; }

/* ===== Header ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(14,13,12,.75); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; gap:24px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-logo{ width:34px; height:34px; }
.brand-name{ font-family:var(--ff-head); font-weight:700; font-size:1.15rem; letter-spacing:-0.02em; }
.site-nav{ display:flex; gap:32px; font-weight:500; font-size:.95rem; color:var(--text-dim); }
.site-nav a:hover{ color:var(--text); }
.header-actions{ display:flex; align-items:center; gap:16px; }
.lang-toggle{
  display:flex; align-items:center; gap:6px; background:none; border:1px solid var(--border);
  color:var(--text-dim); border-radius:999px; padding:8px 12px; font-size:.8rem; font-weight:600;
  cursor:pointer; font-family:var(--ff-body); letter-spacing:.02em;
}
.lang-toggle:hover{ border-color:var(--brand); }
.lang-sep{ color:var(--text-faint); }
.lang-opt{ display:inline-flex; align-items:center; gap:4px; opacity:.5; transition:opacity .15s; }
.lang-flag{ font-size:1rem; line-height:1; }
[data-lang="en"] .lang-opt[data-lang-btn="en"],
[data-lang="es"] .lang-opt[data-lang-btn="es"]{ opacity:1; color:var(--brand-light); }

/* ===== Hero ===== */
.hero{
  position:relative; min-height:92vh; display:flex; align-items:center; justify-content:center;
  overflow:hidden; padding-top:76px;
}
.hero-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.hero-overlay{
  position:absolute; inset:0; z-index:1; transition:opacity .35s ease, visibility .35s ease;
  background:
    linear-gradient(180deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.35) 40%, rgba(10,9,8,.85) 100%),
    linear-gradient(90deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.15) 50%, rgba(10,9,8,.55) 100%);
}
.hero-content{ position:relative; z-index:2; text-align:center; max-width:760px; transition:opacity .35s ease, visibility .35s ease; }
.hero h1{ font-size:clamp(2.3rem, 5.5vw, 4rem); color:#fff; margin-bottom:.35em; }
.hero-sub{ font-size:clamp(1rem, 2vw, 1.25rem); color:rgba(255,255,255,.85); max-width:600px; margin:0 auto 2em; }
.hero-ctas{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

.hero-watch-row{ display:flex; align-items:center; justify-content:center; gap:10px; margin:0 auto 2em; }
.hero-play{
  display:flex; align-items:center; gap:14px; padding:10px 24px 10px 10px;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.28); border-radius:999px;
  cursor:pointer; backdrop-filter:blur(6px); transition:background .2s ease, transform .2s ease;
}
.hero-play:hover{ background:rgba(255,255,255,.16); transform:translateY(-2px); }
.hero-play-icon{
  width:44px; height:44px; border-radius:50%; background:var(--brand); flex:none;
  display:flex; align-items:center; justify-content:center;
}
.hero-play-icon svg{ width:18px; height:18px; fill:#12100d; margin-left:2px; }
.hero-play-label{ color:#fff; font-weight:600; font-size:.95rem; }

.hero.is-playing .hero-content > h1,
.hero.is-playing .hero-content > .hero-sub,
.hero.is-playing .hero-watch-row,
.hero.is-playing .hero-ctas,
.hero.is-playing .hero-overlay,
.hero.is-playing .scroll-cue{
  opacity:0; visibility:hidden; pointer-events:none;
}
.hero.is-playing .hero-video{ cursor:auto; }
.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%); z-index:2;
  width:22px; height:36px; border:2px solid rgba(255,255,255,.5); border-radius:999px;
}
.scroll-cue::after{
  content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%);
  width:4px; height:8px; border-radius:2px; background:#fff;
  animation:scrollcue 1.6s ease infinite;
}
@keyframes scrollcue{ 0%{ opacity:1; top:6px;} 70%{opacity:0; top:18px;} 100%{opacity:0; top:6px;} }

/* ===== Sections ===== */
.section{ padding:110px 0; }
.section-alt{ background:var(--bg-alt); }
.section-head{ text-align:center; max-width:640px; margin:0 auto 56px; }
.eyebrow{
  display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--brand-light); margin-bottom:14px;
}
.section-head h2{ font-size:clamp(1.7rem, 3.5vw, 2.5rem); color:var(--text); }
.section-head p{ font-size:1.05rem; }

/* ===== Portfolio ===== */
.portfolio-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; }
.video-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); transition:transform .25s ease, border-color .25s ease;
}
.video-card:hover{ transform:translateY(-6px); border-color:var(--brand-dark); }
.video-frame{ position:relative; aspect-ratio:4/7; background:#000; overflow:hidden; }
.video-poster, .video-el{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.video-poster{ z-index:1; transition:opacity .2s ease; }
.video-el{ z-index:0; }
.video-card.is-playing .video-poster{ opacity:0; pointer-events:none; }
.play-btn{
  position:absolute; z-index:2; inset:0; margin:auto; width:64px; height:64px; border-radius:50%;
  background:rgba(0,0,0,.45); border:1.5px solid rgba(255,255,255,.75); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s, transform .2s;
}
.play-btn:hover{ background:var(--brand); border-color:var(--brand); transform:scale(1.06); }
.play-btn svg{ width:24px; height:24px; fill:#fff; margin-left:3px; }
.video-card.is-playing .play-btn{ opacity:0; pointer-events:none; }
.video-meta{ padding:22px 22px 26px; }
.tag{
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--brand-light); background:rgba(217,122,43,.12); border:1px solid rgba(217,122,43,.3);
  padding:4px 10px; border-radius:999px; margin-bottom:12px;
}
.video-meta h3{ font-size:1.15rem; margin-bottom:.4em; }
.video-meta p{ font-size:.92rem; margin:0; }

/* ===== Talent strip ===== */
.talent-strip{ margin-top:64px; padding-top:56px; border-top:1px solid var(--border); text-align:center; }
.talent-strip-label{
  font-size:.85rem; font-weight:600; letter-spacing:.03em; color:var(--text-faint);
  text-transform:uppercase; margin-bottom:28px;
}
.talent-fan{
  display:flex; justify-content:center; align-items:flex-end; flex-wrap:wrap;
  padding:36px 0 44px;
}
.talent-item{
  margin:0 -22px; width:230px; flex:none; cursor:pointer;
  transform:rotate(var(--r)) translateY(0); z-index:var(--z);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), z-index 0s;
  opacity:0; animation:talentIn .6s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay:calc(var(--z) * .12s);
}
@keyframes talentIn{
  from{ opacity:0; transform:rotate(var(--r)) translateY(28px) scale(.94); }
  to{ opacity:1; transform:rotate(var(--r)) translateY(0) scale(1); }
}
.talent-item:hover, .talent-item:focus-visible{
  transform:rotate(0deg) translateY(-16px) scale(1.08);
  z-index:10;
}
.talent-fan:has(.talent-item:hover) .talent-item:not(:hover){
  filter:brightness(.65) saturate(.7);
  transform:rotate(var(--r)) translateY(6px) scale(.96);
}
.talent-photo{
  background:var(--surface); border:6px solid var(--surface); border-bottom-width:34px;
  border-radius:10px; overflow:hidden; box-shadow:0 18px 40px -12px rgba(0,0,0,.65);
  transition:box-shadow .35s ease;
}
.talent-item:hover .talent-photo{ box-shadow:0 26px 50px -12px rgba(0,0,0,.8), 0 0 0 1px var(--brand-dark); }
.talent-photo img{
  width:100%; height:230px; object-fit:cover; object-position:center 20%; display:block; border-radius:4px;
}
.talent-item figcaption{
  margin-top:-24px; font-size:.82rem; font-weight:600; color:var(--text-dim); text-align:center;
}

/* ===== Lightbox (theatre mode) ===== */
.lightbox{
  position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center;
  padding:48px; background:rgba(6,5,4,.94); backdrop-filter:blur(6px);
  opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s ease;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox-figure{ margin:0; max-width:92vw; display:flex; flex-direction:column; align-items:center; gap:18px; }
.lightbox-figure img{
  display:block; max-width:92vw; max-height:78vh; width:auto; height:auto;
  border-radius:14px; box-shadow:0 40px 90px -20px rgba(0,0,0,.85);
  transform:scale(.94); transition:transform .35s cubic-bezier(.2,.8,.2,1);
}
.lightbox.is-open .lightbox-figure img{ transform:scale(1); }
.lightbox-figure figcaption{
  color:#fff; font-family:var(--ff-head); font-weight:600; font-size:1.1rem; letter-spacing:-.01em;
}
.lightbox-close{
  position:absolute; top:24px; right:24px; width:46px; height:46px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.25); color:#fff;
  cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s ease, transform .2s ease;
}
.lightbox-close:hover{ background:rgba(255,255,255,.18); transform:rotate(90deg); }
.lightbox-close svg{ width:20px; height:20px; }
@media (max-width:600px){
  .lightbox{ padding:20px; }
  .lightbox-close{ top:14px; right:14px; }
}

/* ===== Process ===== */
.process-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:28px; }
.process-step{ padding:8px; }
.step-num{ font-family:var(--ff-head); font-size:1.6rem; font-weight:700; color:var(--brand); opacity:.55; display:block; margin-bottom:10px; }
.process-step h3{ font-size:1.05rem; margin-bottom:.4em; }
.process-step p{ font-size:.92rem; }

/* ===== Pricing ===== */
.pricing-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; align-items:stretch; }
.price-card{
  position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:36px 30px; display:flex; flex-direction:column; text-align:left;
}
.price-card-featured{ background:var(--surface-2); border-color:var(--brand-dark); box-shadow:var(--shadow); }
.price-badge{
  position:absolute; top:-13px; left:30px; background:var(--brand); color:#12100d; font-size:.72rem;
  font-weight:700; padding:5px 12px; border-radius:999px; letter-spacing:.03em;
}
.price-card h3{ font-size:1.2rem; }
.price{ font-family:var(--ff-head); font-size:2rem; font-weight:700; color:var(--brand-light); margin-bottom:.5em; }
.price-card p{ font-size:.92rem; flex-grow:1; }
.price-card .btn{ margin-top:14px; width:100%; }

/* ===== Contact ===== */
.contact-wrap{ text-align:center; max-width:560px; }
.contact-wrap h2{ font-size:clamp(1.7rem, 3.5vw, 2.5rem); }
.contact-note{ margin-top:22px; color:var(--text-faint); font-size:.85rem; }

.contact-form{ text-align:left; margin-top:12px; }
.form-row{ margin-bottom:18px; }
.form-row label{
  display:block; margin-bottom:7px; font-size:.85rem; font-weight:600; color:var(--text-dim);
}
.form-row input, .form-row textarea{
  width:100%; padding:13px 16px; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-sm); color:var(--text); font-family:var(--ff-body); font-size:.95rem;
  transition:border-color .2s ease; resize:vertical;
}
.form-row input:focus, .form-row textarea:focus{ outline:none; border-color:var(--brand); }
.form-honeypot{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }
.contact-form .btn{ width:100%; }
.contact-form .btn:disabled{ opacity:.6; cursor:default; transform:none; }
.form-status{
  margin:14px 0 0; font-size:.88rem; font-weight:600; min-height:1.4em; text-align:center;
}
.form-status.is-success{ color:#7bc47f; }
.form-status.is-error{ color:#e07a6b; }

/* ===== Footer ===== */
.site-footer{ border-top:1px solid var(--border); padding:36px 0; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.brand-footer .brand-logo{ width:26px; height:26px; }
.brand-footer .brand-name{ font-size:1rem; }
.footer-inner p{ margin:0; font-size:.85rem; color:var(--text-faint); }

/* ===== Responsive ===== */
@media (max-width: 900px){
  .portfolio-grid{ grid-template-columns:repeat(2, 1fr); }
  .process-grid{ grid-template-columns:repeat(2, 1fr); gap:36px 28px; }
  .pricing-grid{ grid-template-columns:1fr; max-width:420px; margin:0 auto; }
}
@media (max-width: 680px){
  .site-nav{ display:none; }
  .header-actions .btn-sm{ display:none; }
  .portfolio-grid{ grid-template-columns:1fr; max-width:380px; margin:0 auto; }
  .section{ padding:72px 0; }
  .hero{ min-height:100vh; }
  .talent-item{ width:150px; margin:0 -16px; }
  .talent-photo img{ height:150px; }
  .talent-item figcaption{ font-size:.75rem; }
}
@media (max-width: 420px){
  .talent-item{ width:118px; margin:0 -6px; }
  .talent-photo img{ height:120px; }
  .talent-photo{ border-width:4px; border-bottom-width:22px; }
  .talent-item figcaption{ font-size:.65rem; margin-top:-16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
}
