@font-face{font-family:'Cormorant';src:url('../fonts/CormorantGaramond-VariableFont_wght.ttf');font-weight:300 700}
@font-face{font-family:'Cormorant';src:url('../fonts/CormorantGaramond-Italic-VariableFont_wght.ttf');font-weight:300 700;font-style:italic}
@font-face{font-family:'Pinyon';src:url('../fonts/PinyonScript-Regular.ttf')}
@font-face{font-family:'CormorantSC';src:url('../fonts/CormorantSC-SemiBold.ttf')}
@font-face{font-family:'Playfair';src:url('../fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf');font-style:italic}
@font-face{font-family:'Manrope';src:url('../fonts/Manrope-VariableFont_wght.ttf');font-weight:200 800}

:root{
  --bg:#07080a; --bg2:#0c0e12; --ink:#f3f1ec; --muted:#a3a6ad; --line:rgba(255,255,255,.10);
  --cyan:#3fe0ff; --cyan-soft:rgba(63,224,255,.35); --gold:#d8c39a;
  --serif:'Cormorant',Georgia,serif; --sans:'Manrope',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg)}
body{background:var(--bg);color:var(--ink);font-family:var(--sans);font-weight:400;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
em{font-style:italic;font-weight:400}

.eyebrow{font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);font-weight:600;display:flex;align-items:center;gap:10px}
.dot{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 12px 3px var(--cyan-soft)}
.h2{font-family:var(--serif);font-weight:400;font-size:clamp(38px,5vw,76px);line-height:1.02;letter-spacing:-.01em}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:15px 26px;font-size:14px;font-weight:600;letter-spacing:.02em;white-space:nowrap;transition:.2s}
.btn .arr{font-size:15px}
.btn--primary{background:var(--ink);color:#0a0b0d}
.btn--line{border:1px solid rgba(255,255,255,.28);color:var(--ink);background:rgba(255,255,255,.03);backdrop-filter:blur(6px)}
.btn--ghost{border:1px solid rgba(255,255,255,.22);padding:11px 20px;font-size:13px}
.btn--wa{border:1px solid var(--cyan-soft);color:var(--cyan);box-shadow:0 0 30px rgba(63,224,255,.12) inset}
.play{font-size:10px}

/* NAV */
.nav{position:absolute;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:26px 56px}
.nav__logo img{height:52px;width:auto}
.nav__links{display:flex;gap:38px;font-size:14px;color:rgba(243,241,236,.82);font-weight:500}
.nav__right{display:flex;align-items:center;gap:16px}
.burger{display:none;background:none;border:0;width:34px;height:34px;flex-direction:column;justify-content:center;gap:7px}
.burger i{display:block;height:1.5px;background:var(--ink)}

/* HERO */
.hero{position:relative;height:900px;overflow:hidden;isolation:isolate}
.hero__media{position:absolute;inset:0;z-index:-3}
.hero__media{background:radial-gradient(60% 80% at 80% 40%,#2a1410 0%,#120b0b 45%,#07080a 100%)}
.hero__media{background:radial-gradient(55% 75% at 82% 38%,#3a1c14 0%,#170d0c 45%,#07080a 100%)}
.hero__media img{position:absolute;top:0;left:600px;height:100%;width:auto;max-width:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 12%,#000 34%),linear-gradient(270deg,#000 88%,rgba(0,0,0,.6) 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 12%,#000 34%),linear-gradient(270deg,#000 88%,rgba(0,0,0,.6) 100%);
  mask-composite:intersect;
  filter:saturate(1) contrast(1.06) brightness(1)}
.hero__media::after{content:'';position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(7,8,10,.6) 0%,rgba(7,8,10,0) 20%,rgba(7,8,10,0) 74%,rgba(7,8,10,.95) 100%)}
.hero__glow{position:absolute;z-index:-2;pointer-events:none;width:900px;height:900px;right:-300px;top:-250px;border-radius:50%;
  background:radial-gradient(circle,rgba(63,224,255,.22) 0%,rgba(63,224,255,.06) 40%,transparent 70%);filter:blur(10px)}
.hero__content{position:absolute;left:56px;top:172px;max-width:820px}
.hero__title{font-family:var(--serif);font-weight:400;font-size:112px;line-height:.9;letter-spacing:-.02em;margin:26px 0 28px}
.hero__title em{color:#e9e2d2}
.hero__sub{max-width:520px;font-size:18px;line-height:1.6;color:rgba(243,241,236,.78)}
.hero__cta{display:flex;gap:14px;margin-top:36px}
.hero__meta{position:absolute;left:56px;right:56px;bottom:40px;display:flex;justify-content:space-between;align-items:flex-end;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:rgba(243,241,236,.6)}
.hero__scroll{display:flex;align-items:center;gap:12px}
.hero__scroll span{display:block;width:1px;height:44px;background:linear-gradient(var(--cyan),transparent)}
.hero__caption .k{color:var(--gold);margin-right:10px}

/* CLIENTS */
.clients{padding:54px 56px 60px;border-bottom:1px solid var(--line)}
.clients__label{text-align:center;font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:var(--muted);margin-bottom:38px}
.clients__row{display:flex;flex-direction:column;align-items:center;gap:44px;max-width:1280px;margin:0 auto}
.cl-line{display:flex;align-items:center;justify-content:center;gap:96px}
.wm{color:rgba(243,241,236,.78);white-space:nowrap;line-height:1}
.wm--script{font-family:'Pinyon',cursive;font-size:50px}
.wm--wide{font-family:'Cormorant',serif;font-weight:500;font-size:24px;letter-spacing:.22em}
.wm--chanel{letter-spacing:.42em}
.wm--serif-caps{font-family:'CormorantSC',serif;font-size:30px;letter-spacing:.12em}
.wm--serif{font-family:'Cormorant',serif;font-size:36px;font-weight:600}
.wm--sans-low{font-family:'Manrope',sans-serif;font-size:34px;font-weight:700;letter-spacing:-.04em}
.wm--italic-bold{font-family:'Playfair',serif;font-style:italic;font-weight:800;font-size:32px}
.wm--sans{font-family:'Manrope',sans-serif;font-size:25px;font-weight:700;letter-spacing:-.03em}
.wm--caps{letter-spacing:.14em;font-weight:600}
.eyebrow .sep{opacity:.6}
.stat__n--txt{white-space:nowrap}

/* MANIFESTO */
.manifesto{display:grid;grid-template-columns:1.15fr .85fr;gap:80px;padding:140px 56px;align-items:center}
.manifesto__left .eyebrow{margin-bottom:26px}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line)}
.stat{background:var(--bg);padding:38px 32px}
.stat__n{font-family:var(--serif);font-size:72px;line-height:1;font-weight:400}
.stat__n sup{font-size:22px;font-family:var(--sans)}
.stat__l{margin-top:14px;color:var(--muted);font-size:14px;line-height:1.5}

/* SERVICES */
.services{padding:40px 56px 140px}
.sec-head{margin-bottom:60px}
.sec-head .eyebrow{margin-bottom:22px}
.sec-head--row{display:flex;justify-content:space-between;align-items:flex-end}
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.svc{background:var(--bg2);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}
.svc__img{height:260px;overflow:hidden;position:relative}
.svc__img::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(12,14,18,.9))}
.svc__img img{width:100%;height:100%;object-fit:cover;filter:saturate(.8)}
.svc__body{padding:26px 26px 30px;position:relative}
.svc__num{font-family:var(--serif);font-size:18px;color:var(--gold);letter-spacing:.1em}
.svc h3{font-family:var(--serif);font-weight:500;font-size:34px;line-height:1.05;margin:10px 0 14px}
.svc p{color:var(--muted);font-size:15px;line-height:1.6}
.svc ul{list-style:none;margin:20px 0 24px;display:flex;flex-wrap:wrap;gap:8px}
.svc li{font-size:12px;border:1px solid var(--line);border-radius:999px;padding:6px 12px;color:rgba(243,241,236,.8)}
.svc__link{font-size:13px;font-weight:600;color:var(--cyan)}

/* CASES */
.cases{padding:40px 56px 140px;background:linear-gradient(180deg,var(--bg),#0a0c10)}
.case-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:300px;gap:18px}
.case{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--line)}
.case--big{grid-column:span 2;grid-row:span 2}
.case img{width:100%;height:100%;object-fit:cover;filter:saturate(.85)}
.case::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,8,10,.15) 30%,rgba(7,8,10,.92) 100%)}
.case__tag{position:absolute;top:18px;left:18px;z-index:2;font-size:11px;letter-spacing:.18em;text-transform:uppercase;padding:8px 12px;border-radius:999px;background:rgba(7,8,10,.55);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px)}
.case__info{position:absolute;left:24px;right:24px;bottom:22px;z-index:2}
.case__info h3{font-family:var(--serif);font-weight:500;font-size:34px;line-height:1}
.case--big .case__info h3{font-size:60px}
.case__info p{color:rgba(243,241,236,.75);margin-top:8px;font-size:15px}
.case__kpi{margin-top:18px;display:inline-block;font-size:15px;padding:10px 16px;border-radius:999px;border:1px solid var(--cyan-soft);color:var(--ink);background:rgba(63,224,255,.08)}
.case__kpi b{color:var(--cyan);font-weight:700}

/* PRESENCE */
.presence{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:40px 56px 140px;align-items:center}
.presence .eyebrow{margin-bottom:22px}
.lead{margin-top:26px;color:var(--muted);font-size:18px;line-height:1.65;max-width:520px}
.presence__cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.pcard{border:1px solid var(--line);border-radius:18px;padding:36px 30px;background:var(--bg2);position:relative;overflow:hidden}
.pcard__k{font-family:var(--serif);font-size:96px;line-height:1;color:rgba(255,255,255,.06);position:absolute;right:18px;top:10px}
.pcard h4{font-family:var(--serif);font-weight:500;font-size:34px;margin-top:60px}
.pcard p{color:var(--muted);margin-top:10px;font-size:15px}

/* CTA */
.cta{position:relative;margin:0 56px;border-radius:28px;border:1px solid rgba(63,224,255,.35);padding:120px 60px;text-align:center;overflow:hidden;
  background:radial-gradient(120% 140% at 50% 120%,rgba(63,224,255,.18) 0%,rgba(12,14,18,1) 60%);
  box-shadow:0 0 80px rgba(63,224,255,.12), inset 0 0 60px rgba(63,224,255,.06)}
.cta .eyebrow{justify-content:center}
.cta__title{font-family:var(--serif);font-weight:400;font-size:110px;line-height:.95;margin:24px 0 44px}
.cta__btns{display:flex;justify-content:center;gap:14px}

/* FOOTER */
.footer{padding:100px 56px 40px}
.footer__top{display:flex;justify-content:space-between;gap:60px;padding-bottom:60px;border-bottom:1px solid var(--line)}
.footer__logo{height:70px;width:auto}
.footer__cols{display:flex;gap:90px}
.footer__cols h5{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin-bottom:18px}
.footer__cols a{display:block;color:rgba(243,241,236,.75);font-size:15px;margin-bottom:10px}
.footer__bottom{display:flex;justify-content:space-between;padding-top:28px;color:var(--muted);font-size:13px}

/* ===================== MOBILE ===================== */
@media (max-width: 760px){
  .nav{padding:18px 20px}
  .nav__logo img{height:40px}
  .nav__links{display:none}
  .nav__cta{display:none}
  .burger{display:flex}

  .hero{height:844px}
  .hero__media img{top:-20px;left:-110px;right:auto;height:440px;transform:none;
    -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 62%,transparent 100%),linear-gradient(90deg,transparent 0%,#000 22%);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(180deg,#000 0%,#000 62%,transparent 100%),linear-gradient(90deg,transparent 0%,#000 22%);
    mask-composite:intersect;
    filter:saturate(1) contrast(1.06) brightness(1.05)}
  .hero__media::after{background:
    linear-gradient(180deg,rgba(7,8,10,.62) 0%,rgba(7,8,10,.3) 8%,rgba(7,8,10,0) 17%,rgba(7,8,10,0) 30%,rgba(7,8,10,.55) 36%,rgba(7,8,10,.85) 44%,#07080a 52%,#07080a 100%)}
  .hero__glow{width:600px;height:600px;right:-250px;top:-150px}
  .hero__content{left:20px;right:20px;top:auto;bottom:118px;max-width:none}
  .hero__title{font-size:64px;line-height:.92;margin:18px 0 18px}
  .hero__sub{font-size:15px;max-width:340px}
  .hero__cta{margin-top:26px;gap:10px}
  .hero__cta .btn{padding:14px 20px;font-size:13px}
  .hero__meta{left:20px;right:20px;bottom:26px;font-size:10px}
  .hero__scroll{display:none}
  .hero__caption{margin-left:auto}

  .clients{padding:36px 20px 40px}
  .clients__label{margin-bottom:26px}
  .wm--script{font-size:38px}.wm--wide{font-size:15px}.wm--serif-caps{font-size:22px}.wm--serif{font-size:26px}
  .wm--sans-low{font-size:26px}.wm--italic-bold{font-size:24px}.wm--sans{font-size:18px}
  .clients__row{gap:26px}
  .cl-line{display:grid;grid-template-columns:1fr 1fr;gap:26px 14px;justify-items:center;width:100%}
  .cl-line--a > :first-child{grid-column:1 / -1}
  .hero__content .eyebrow{flex-wrap:nowrap;white-space:nowrap;font-size:9.5px;letter-spacing:.2em;gap:8px}

  .manifesto{grid-template-columns:minmax(0,1fr);gap:40px;padding:80px 20px}
  .manifesto > *{min-width:0}
  .stats{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .stat{padding:24px 20px}
  .stat__n{font-size:52px}

  .services{padding:20px 20px 80px}
  .sec-head{margin-bottom:34px}
  .svc-grid{grid-template-columns:1fr;gap:16px}
  .svc__img{height:220px}
  .svc h3{font-size:32px}

  .cases{padding:20px 20px 80px}
  .sec-head--row{flex-direction:column;align-items:flex-start;gap:24px}
  .case-grid{grid-template-columns:1fr 1fr;grid-auto-rows:230px;gap:12px}
  .case--big{grid-column:span 2;grid-row:span 2}
  .case__info{left:16px;right:16px;bottom:16px}
  .case__info h3{font-size:24px}
  .case--big .case__info h3{font-size:40px}
  .case__tag{top:12px;left:12px;font-size:9px;padding:6px 9px}

  .presence{grid-template-columns:1fr;gap:34px;padding:10px 20px 80px}
  .presence__cards{grid-template-columns:1fr 1fr;gap:12px}
  .pcard{padding:24px 18px}
  .pcard h4{font-size:26px;margin-top:40px}
  .pcard__k{font-size:70px}

  .cta{margin:0 20px;padding:70px 22px;border-radius:22px}
  .cta__title{font-size:56px}
  .cta__btns{flex-direction:column;align-items:center}

  .footer{padding:70px 20px 30px}
  .footer__top{flex-direction:column;gap:36px}
  .footer__cols{flex-wrap:wrap;gap:30px 40px}
  .footer__bottom{flex-direction:column;gap:8px}
}

html{overflow-x:clip}

.m-only{display:none}
@media (max-width:760px){
  .m-only{display:inline}
  .hero__caption{text-align:right;line-height:1.7}
  .stat__n--txt{font-size:38px}
}

.hero__caption{margin-left:auto;text-align:right}

.svc__img--nars img{object-position:50% 30%}

@media (max-width:760px){.brk{display:none}}


/* ===================== VERTICALES / REELS ===================== */
.verticals{padding:130px 56px 60px;border-top:1px solid var(--line)}
.vhead{margin-bottom:70px}
.vert{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:72px;align-items:center;padding:56px 0;border-top:1px solid var(--line)}
.vert:first-of-type{border-top:0;padding-top:0}
.vert--rev{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr)}
.vert--rev .vert__media{order:2}
.vert--rev .vert__txt{order:1}
.vert__media{position:relative;display:block;aspect-ratio:16/9;border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.12);
  box-shadow:0 40px 120px rgba(0,0,0,.6),0 0 0 1px rgba(216,195,154,.06)}
.vert__media img{width:100%;height:100%;object-fit:cover;filter:saturate(.9) contrast(1.04)}
.vert__media::after{content:'';position:absolute;inset:0;background:
  radial-gradient(70% 70% at 50% 50%,rgba(7,8,10,0) 40%,rgba(7,8,10,.55) 100%),
  linear-gradient(180deg,rgba(7,8,10,.15) 0%,rgba(7,8,10,0) 40%,rgba(7,8,10,.6) 100%)}
.vert__play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:104px;height:104px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:rgba(243,241,236,.12);border:1px solid rgba(243,241,236,.55);
  backdrop-filter:blur(10px);box-shadow:0 0 0 14px rgba(243,241,236,.05),0 20px 50px rgba(0,0,0,.45)}
.vert__play svg{width:38px;height:38px;fill:#f3f1ec;margin-left:5px}
.vert__reel-tag{position:absolute;left:22px;bottom:20px;z-index:2;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:rgba(243,241,236,.85)}
.vert__kicker{display:flex;align-items:center;gap:16px;font-size:12px;letter-spacing:.26em;text-transform:uppercase;color:var(--gold);font-weight:600}
.vert__num{font-family:var(--serif);font-size:22px;letter-spacing:.08em;color:var(--gold)}
.vert__num::after{content:'';display:inline-block;width:36px;height:1px;background:rgba(216,195,154,.6);vertical-align:middle;margin-left:16px}
.vert__title{font-family:var(--serif);font-weight:400;font-size:88px;line-height:.95;letter-spacing:-.02em;margin:22px 0 16px}
.vert__title em{color:#e9e2d2}
.vert__sub{font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:rgba(243,241,236,.72)}
.vert__desc{margin-top:26px;color:var(--muted);font-size:17px;line-height:1.65;max-width:440px}
.vert__cta{display:flex;align-items:center;gap:26px;margin-top:38px}
.vert__link{font-size:14px;font-weight:600;color:rgba(243,241,236,.85);border-bottom:1px solid rgba(216,195,154,.5);padding-bottom:3px}

/* floating WhatsApp */
.wa-fab{display:none}

.cap-long{}

@media (max-width:760px){
  .verticals{padding:80px 20px 30px}
  .vhead{margin-bottom:40px}
  .vert,.vert--rev{grid-template-columns:minmax(0,1fr);gap:30px;padding:44px 0}
  .vert--rev .vert__media{order:0}
  .vert--rev .vert__txt{order:0}
  .vert__media{border-radius:16px}
  .vert__play{width:68px;height:68px;box-shadow:0 0 0 9px rgba(243,241,236,.05),0 14px 36px rgba(0,0,0,.45)}
  .vert__play svg{width:26px;height:26px;margin-left:3px}
  .vert__reel-tag{left:14px;bottom:12px;font-size:9px}
  .vert__title{font-size:60px;margin:16px 0 12px}
  .vert__desc{font-size:15px;margin-top:18px}
  .vert__cta{flex-wrap:wrap;gap:18px;margin-top:26px}
  .vert__cta .btn{padding:14px 22px;font-size:13px}

  .wa-fab{display:flex;position:fixed;right:16px;bottom:18px;z-index:60;width:52px;height:52px;border-radius:50%;
    align-items:center;justify-content:center;background:rgba(14,18,20,.72);border:1px solid rgba(63,224,255,.45);
    backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(0,0,0,.5),0 0 24px rgba(63,224,255,.12)}
  .wa-fab svg{width:26px;height:26px;fill:#3fe0ff}

  .hero__caption .cap-long{display:none}
}
@media (max-width:760px){
  .hero__caption{margin-left:0;margin-right:auto;text-align:left}
}
.vert__play{left:auto;top:auto;right:28px;bottom:28px;transform:none;width:84px;height:84px;background:rgba(7,8,10,.42)}
.vert__play svg{width:30px;height:30px;margin-left:4px}
@media (max-width:760px){
  .vert__play{right:14px;bottom:14px;width:58px;height:58px}
  .vert__play svg{width:22px;height:22px;margin-left:3px}
}
.vert__media--films img{transform:scale(1.1);transform-origin:100% 50%}

/* ===================== V3 ===================== */
/* header: logo · EN|ES · Book a call · hamburger (desktop + mobile) */
.burger{display:flex}
.nav__right{gap:22px}
.lang{display:flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.2em;font-weight:600;color:rgba(243,241,236,.55)}
.lang__on{color:var(--gold)}
.lang__sep{opacity:.5}
.lang a{color:rgba(243,241,236,.6)}
.burger{border:1px solid rgba(255,255,255,.22);border-radius:50%;width:46px;height:46px;align-items:center;padding:0 12px;background:rgba(7,8,10,.25);backdrop-filter:blur(6px)}

/* hero: top video band fading into headline */
.hero{height:960px}
.hero__band{position:absolute;top:0;left:0;right:0;height:640px;z-index:-3;overflow:hidden;background:#07080a}
.hero__band video,.hero__band .hero__poster{position:absolute;top:0;left:50%;transform:translateX(-50%);height:100%;width:auto;max-width:none;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 58%,rgba(0,0,0,.55) 80%,transparent 100%),linear-gradient(90deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg,#000 0%,#000 58%,rgba(0,0,0,.55) 80%,transparent 100%),linear-gradient(90deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
  mask-composite:intersect;
  filter:saturate(.92) contrast(1.04) brightness(.92)}
.hero__band video{display:none}
.hero__band::after{content:'';position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(7,8,10,.62) 0%,rgba(7,8,10,.12) 16%,rgba(7,8,10,0) 40%,rgba(7,8,10,.55) 78%,#07080a 100%)}
.hero__content{left:56px;top:auto;bottom:64px;max-width:760px}
.hero__title{font-size:108px}
.hero__meta{bottom:72px;justify-content:flex-end}
.hero__caption{display:flex;align-items:center;gap:0}
.live{display:inline-flex;align-items:center;gap:8px;margin-left:18px;color:rgba(243,241,236,.8)}
.live i{width:7px;height:7px;border-radius:50%;background:#ff4d4d;box-shadow:0 0 10px 2px rgba(255,77,77,.45)}

/* menu overlay */
.menu{display:none;position:absolute;inset:0 0 auto 0;height:900px;z-index:50;overflow:hidden}
.menu-open .menu{display:block}
.menu__bg{position:absolute;inset:0;background:radial-gradient(70% 80% at 80% 10%,rgba(63,224,255,.08),transparent 60%),radial-gradient(60% 60% at 10% 100%,rgba(216,195,154,.07),transparent 60%),rgba(7,8,10,.97)}
.menu__inner{position:relative;height:100%;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:80px;padding:170px 56px 70px;align-items:start}
.menu__list{display:flex;flex-direction:column}
.menu__list a{display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:baseline;gap:20px;padding:26px 0;border-bottom:1px solid var(--line)}
.menu__list a:first-child{border-top:1px solid var(--line)}
.menu__n{font-family:var(--serif);font-size:22px;color:var(--gold);letter-spacing:.08em}
.menu__t{font-family:var(--serif);font-size:76px;line-height:1;letter-spacing:-.01em}
.menu__d{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);text-align:right}
.menu__side{display:flex;flex-direction:column;gap:44px;padding-top:26px;border-left:1px solid var(--line);padding-left:56px;align-self:stretch}
.menu__group h5{font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:var(--gold);margin-bottom:16px}
.menu__group a{display:block;font-size:17px;color:rgba(243,241,236,.82);margin-bottom:12px}
.menu__cta{align-self:flex-start;margin-top:auto}
.menu-open .burger{position:relative}
.menu-open .burger i:first-child{transform:translateY(4.25px) rotate(45deg)}
.menu-open .burger i:last-child{transform:translateY(-4.25px) rotate(-45deg)}
.menu-open .nav{z-index:60}

/* vertical reels: playing state */
.vert__status{position:absolute;right:20px;bottom:18px;z-index:3;display:flex;align-items:center;gap:10px}
.live--chip{margin-left:0;font-size:11px;letter-spacing:.2em;text-transform:uppercase;padding:9px 14px;border-radius:999px;background:rgba(7,8,10,.55);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px)}
.unmute{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(7,8,10,.55);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px)}
.unmute svg{width:18px;height:18px;fill:#f3f1ec}
.vert__media .vert__reel-tag{left:22px;bottom:26px}

/* talent lab */
.talent{padding:20px 56px 120px}
.talent__card{position:relative;border-radius:26px;overflow:hidden;border:1px solid rgba(255,255,255,.12);padding:72px 72px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:70px;align-items:center;background:#05070c}
.talent__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.95}
.talent__card::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,12,.55) 0%,rgba(5,7,12,.25) 50%,rgba(5,7,12,.55) 100%)}
.talent__head,.talent__cols{position:relative;z-index:2}
.talent__title{font-family:var(--serif);font-weight:400;font-size:104px;line-height:.95;letter-spacing:-.02em;margin:20px 0 22px}
.talent__desc{color:rgba(243,241,236,.8);font-size:17px;line-height:1.65;max-width:480px;margin-bottom:34px}
.talent__cols{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.talent__col{border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:30px 30px;background:rgba(7,8,10,.45);backdrop-filter:blur(8px)}
.talent__col h4{font-family:var(--serif);font-weight:500;font-size:36px;margin-bottom:18px;color:#f3f1ec}
.talent__col ul{list-style:none}
.talent__col li{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:rgba(243,241,236,.78);padding:11px 0;border-top:1px solid rgba(255,255,255,.08)}

@media (max-width:760px){
  .nav__cta{display:inline-flex;padding:9px 15px;font-size:12px}
  .nav__right{gap:12px}
  .burger{width:40px;height:40px;padding:0 11px}
  .lang{font-size:11px;gap:7px}

  .hero{height:844px}
  .hero__band{height:470px}
  .hero__band video,.hero__band .hero__poster{height:auto;width:118%;top:0;
    -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 55%,rgba(0,0,0,.5) 80%,transparent 100%);
    mask-image:linear-gradient(180deg,#000 0%,#000 55%,rgba(0,0,0,.5) 80%,transparent 100%)}
  .hero__band::after{background:linear-gradient(180deg,rgba(7,8,10,.55) 0%,rgba(7,8,10,.1) 12%,rgba(7,8,10,0) 35%,rgba(7,8,10,.6) 70%,#07080a 100%)}
  .hero__content{left:20px;right:20px;top:auto;bottom:92px}
  .hero__meta{left:20px;right:20px;bottom:26px;font-size:10px;justify-content:flex-start}
  .live{margin-left:12px}

  .menu{height:844px}
  .menu__inner{grid-template-columns:minmax(0,1fr);gap:34px;padding:110px 20px 36px;align-content:start}
  .menu__list a{grid-template-columns:40px minmax(0,1fr);gap:8px 10px;padding:20px 0}
  .menu__d{grid-column:2;text-align:left;font-size:10px;letter-spacing:.18em}
  .menu__t{font-size:44px}
  .menu__side{border-left:0;padding-left:0;padding-top:0;flex-direction:row;flex-wrap:wrap;gap:28px 40px}
  .menu__cta{margin-top:0}

  .vert__status{right:12px;bottom:12px;gap:8px}
  .live--chip{font-size:9px;padding:7px 10px}
  .unmute{width:30px;height:30px}
  .unmute svg{width:15px;height:15px}
  .vert__media .vert__reel-tag{left:14px;bottom:18px}

  .talent{padding:10px 20px 70px}
  .talent__card{grid-template-columns:minmax(0,1fr);gap:34px;padding:44px 24px;border-radius:20px}
  .talent__title{font-size:68px}
  .talent__desc{font-size:15px}
  .talent__cols{gap:12px}
  .talent__col{padding:20px 18px}
  .talent__col h4{font-size:28px}
  .talent__col li{font-size:11px;letter-spacing:.14em;padding:9px 0}
}

/* ===== V3 mobile fixes ===== */
@media (max-width:760px){
  .hero{height:844px}
  .hero__band{height:440px}
  .hero__band video,.hero__band .hero__poster{top:-10px;left:50%;height:auto;width:112%}
  .hero__content{left:20px;right:20px;top:auto;bottom:84px;max-width:none}
  .hero__title{font-size:62px;line-height:.92;margin:14px 0 16px}
  .hero__sub{font-size:15px;max-width:340px}
  .hero__cta{margin-top:22px}
  .hero__meta{bottom:24px}
}
.hero__status{display:flex;align-items:center;gap:10px}
@media (max-width:760px){
  .nav__logo img{height:34px}
  .hero__band{height:520px}
  .hero__band video,.hero__band .hero__poster{top:-6px;width:128%}
  .hero__content{bottom:92px}
  .hero__meta{bottom:22px;align-items:center;padding-right:72px}
  .hero__caption{white-space:nowrap}
}
@media (max-width:760px){
  .nav{padding:16px 16px}
  .nav__logo img{height:28px}
  .nav__right{gap:9px}
  .nav__cta{padding:8px 12px;font-size:11.5px}
  .burger{width:36px;height:36px;padding:0 9px}
  .lang{font-size:10.5px;gap:6px;letter-spacing:.16em}

  .hero__status{position:absolute;top:70px;right:16px}
  .hero__meta{bottom:26px;padding-right:0}
}
.burger i{width:100%}
.burger{justify-content:center}

/* ===== V3b: hero play chip + header ===== */
.hero__play{position:absolute;right:56px;bottom:68px;z-index:4}
.hero__meta{right:auto;bottom:76px}
.hero__band::before{content:'';position:absolute;left:0;right:0;bottom:0;height:34%;z-index:2;background:linear-gradient(180deg,rgba(7,8,10,0),#07080a)}
@media (max-width:760px){
  .hero__play{top:86px;right:16px;bottom:auto}
  .hero__play .live--chip{font-size:9px;padding:7px 10px;letter-spacing:.16em}
  .hero__play{gap:8px}
  .hero__play .unmute{width:30px;height:30px}
  .hero__status{position:static}
  .hero__meta{left:20px;right:20px;bottom:26px;padding-right:70px}
  .nav__logo img{height:26px}
  .nav__right{gap:11px}
}
.hero__meta{left:auto;right:290px;bottom:77px;z-index:4}
@media (max-width:760px){
  .hero__meta{left:20px;right:20px;bottom:26px;padding-right:70px}
  .hero__play{top:auto;bottom:410px;right:16px}
}
@media (max-width:760px){
  .hero__play{top:262px;bottom:auto;right:16px}
}

/* ===== V3c: menu fit ===== */
.menu__list a{grid-template-columns:70px minmax(0,1fr);gap:6px 20px;padding:24px 0}
.menu__d{grid-column:2;text-align:left}
.menu__t{white-space:nowrap}
.menu__inner{padding-top:140px;padding-bottom:50px}
.menu-open .wa-fab{display:none}
@media (max-width:760px){
  .menu__inner{padding:100px 20px 30px;gap:26px}
  .menu__list a{padding:15px 0}
  .menu__t{font-size:40px}
  .menu__side{gap:22px 40px}
}
@media (max-width:760px){
  .menu__inner{padding:92px 20px 24px;gap:18px}
  .menu__list a{padding:12px 0}
  .menu__t{font-size:38px}
  .menu__group a{margin-bottom:9px}
}

/* ===================== STAGING BUILD (es-MX) — añadidos ===================== */
/* YouTube embebido: cubre el contenedor (recorta barras) */
.yt-cover{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.yt-cover iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100vw;height:56.25vw;min-width:177.78vh;min-height:100%;border:0;pointer-events:none}
.hero__band .yt-cover{z-index:1}
.vert__media{position:relative;overflow:hidden}
.vert__media .yt-cover{z-index:1}
.vert__reel-tag,.vert__status{z-index:3}

/* Secciones conservadas del sitio actual */
.kept{padding:120px 56px}
.kept .sec-head{margin-bottom:48px}
.kept__grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.kept__media{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#000;aspect-ratio:16/9}
.kept__media video,.kept__media img{width:100%;height:100%;object-fit:cover}
.kept__media figcaption{position:absolute;left:18px;bottom:14px;z-index:3;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:rgba(243,241,236,.75)}
.yt-box .yt-cover{z-index:2}

.genially{position:relative;width:100%;aspect-ratio:16/9;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--bg2)}
.genially iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

.kept--duns{display:grid;grid-template-columns:320px 1fr;gap:70px;align-items:center;border-top:1px solid var(--line)}
.duns__img img{width:100%;max-width:300px;margin:0 auto}
.duns__title{font-family:var(--serif);font-weight:400;font-size:clamp(34px,4vw,60px);line-height:1.05;margin:18px 0 22px}
.duns__title span{color:var(--gold)}
.duns__txt p{color:var(--muted);font-size:16px;line-height:1.65;max-width:760px;margin-bottom:14px}
.duns__txt a strong{color:var(--ink)}

/* Loop del logo en el pie */
.footer__logo-loop{width:300px;max-width:60vw}
.footer__logo-loop video{width:100%;height:auto;mix-blend-mode:screen;opacity:.92}

@media (max-width:760px){
  .kept{padding:70px 20px}
  .kept__grid{grid-template-columns:1fr}
  .kept--duns{grid-template-columns:1fr;gap:30px;text-align:center}
  .duns__txt p{margin-left:auto;margin-right:auto}
  .genially{aspect-ratio:3/4}
}


/* ===== v0.2.0 — overlay, hero chip, footer logo, FAB clearance ===== */

/* 1) Full-screen menu: cover the viewport, escape overflow clipping, sit above the page (and below/around the WP admin bar) */
.menu{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  height:100dvh;
  z-index:100000;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.menu-open .menu{display:block}
html.menu-open, body.menu-open{overflow:hidden}
.menu-open .nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100001;
}
body.admin-bar .menu{
  top:var(--wp-admin--admin-bar--height, 32px);
  height:calc(100% - var(--wp-admin--admin-bar--height, 32px));
  height:calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}
body.admin-bar.menu-open .nav{
  top:var(--wp-admin--admin-bar--height, 32px);
}
.menu-open .wa-fab{display:none !important}

/* 2) Hero: caption on the left, mute/playing chip on the right — no overlap */
.hero__meta{
  position:absolute;
  left:56px;
  right:auto;
  bottom:40px;
  margin:0;
  padding:0 !important;
  max-width:calc(100% - 420px);
  justify-content:flex-start;
  z-index:4;
}
.hero__caption{
  margin:0;
  text-align:left;
  white-space:nowrap;
}
.hero__play{
  position:absolute;
  right:56px;
  left:auto;
  top:auto;
  bottom:32px;
  z-index:4;
}
.hero__status{position:static}

@media (max-width:760px){
  /* Chip sits on the video band; caption stays bottom-left under the CTAs */
  .hero__play{
    top:220px;
    right:16px;
    bottom:auto;
  }
  .hero__meta{
    left:20px;
    right:20px;
    bottom:22px;
    max-width:none;
    font-size:10px;
  }
  .hero__caption{
    white-space:normal;
    text-align:left;
  }
}

/* 3) Footer: full white wordmark, same file as the header, sized to show the whole logo */
.footer__logo{display:block; width:auto; flex:0 0 auto}
.footer__logo img{display:block; height:70px; width:auto; max-width:280px; object-fit:contain; object-position:left center}
.footer__logo-loop{display:none}

@media (max-width:760px){
  .footer__logo img{height:52px; max-width:220px}
}

/* 4) Keep the legal link clear of the floating WhatsApp button (mobile) */
@media (max-width:760px){
  .footer{padding-bottom:calc(100px + env(safe-area-inset-bottom, 0px))}
  .footer__bottom{
    padding-right:calc(72px + env(safe-area-inset-right, 0px));
    padding-bottom:8px;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
}


/* v0.2.0b — hero fills the viewport so the caption and chip stay in the first screen */
.hero{
  height:100vh;
  height:100dvh;
  min-height:700px;
}

@media (min-width:761px){
  .hero__content{bottom:96px}
  .hero__meta{bottom:28px}
  .hero__play{bottom:22px}
}

/* ===== v0.2.1 — menu overlay fully opaque (no page text bleeding through) ===== */
.menu{
  background-color:#07080a;
  opacity:1;
}
.menu__bg{
  opacity:1;
  background:
    radial-gradient(70% 80% at 80% 10%, rgba(63,224,255,.06), transparent 60%),
    radial-gradient(60% 60% at 10% 100%, rgba(216,195,154,.05), transparent 60%),
    #07080a;
}

/* ===== v0.2.2 — one H1 per page: fallback page title + archive ===== */
.page-title,
.archive-title,
h1.wp-block-query-title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(42px,5.6vw,84px);
  line-height:1.02;
  letter-spacing:-.01em;
  text-align:center;
  color:var(--ink);
  padding:140px 56px 36px;
  max-width:18em;
  margin:0 auto;
}
.page-title--sr{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.apa-archive{
  padding-bottom:80px;
}
.archive-item{
  padding:28px 0;
  border-bottom:1px solid var(--line);
}
.archive-item__date,
.archive-item .wp-block-post-date{
  display:block;
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:10px;
}
.archive-item__title,
.archive-item .wp-block-post-title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(28px,3vw,44px);
  line-height:1.15;
  margin:0 0 10px;
}
.archive-item__title a,
.archive-item .wp-block-post-title a{
  color:var(--ink);
}
.archive-item__title a:hover,
.archive-item .wp-block-post-title a:hover{
  color:var(--gold);
}
.archive-item__excerpt,
.archive-item .wp-block-post-excerpt{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:42em;
}
.archive-pages{
  margin-top:40px;
  gap:16px;
  color:var(--ink);
}
.archive-empty{
  color:var(--muted);
  text-align:center;
  padding:40px 20px;
}
@media (max-width:760px){
  .page-title,
  .archive-title,
  h1.wp-block-query-title{
    padding:110px 20px 28px;
    font-size:clamp(34px,9vw,52px);
  }
}

/* ===== v0.2.3 — legacy content readability, WPForms, image constraints ===== */

/* Do not pad the front-page pattern (full-bleed hero). Interior pages need side padding
   so text and the contact form are not flush with the viewport. */
body:not(.home) .entry-content{
  padding: 0 56px 96px;
}
@media (max-width:760px){
  body:not(.home) .entry-content{padding:0 20px 110px}
}

body:not(.home) .entry-content,
body:not(.home) .entry-content p,
body:not(.home) .entry-content li,
body:not(.home) .entry-content td,
body:not(.home) .entry-content th,
body:not(.home) .entry-content figcaption,
body:not(.home) .entry-content .wp-block-heading,
body:not(.home) .entry-content h1,
body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3,
body:not(.home) .entry-content h4,
body:not(.home) .entry-content h5,
body:not(.home) .entry-content h6{
  color:var(--ink);
}

body:not(.home) .entry-content > p,
body:not(.home) .entry-content > .wp-block-heading,
body:not(.home) .entry-content > h2,
body:not(.home) .entry-content > h3{
  max-width:46rem;
  margin-left:auto;
  margin-right:auto;
}

/* Legacy “mark” / contrast palette: black text on #f9f9f9 highlight (Films intro). */
.entry-content mark,
.entry-content .has-inline-color.has-contrast-color,
.entry-content .has-contrast-color,
.entry-content .has-text-color.has-contrast-color{
  color:var(--ink) !important;
  background-color:transparent !important;
}

/* Light backgrounds leftover from the previous (white) theme */
.entry-content .has-white-background-color,
.entry-content .has-base-background-color,
.entry-content [style*="background-color:#fff"],
.entry-content [style*="background-color: #fff"],
.entry-content [style*="background-color:#ffffff"],
.entry-content [style*="background-color: #ffffff"],
.entry-content [style*="background-color:#f9f9f9"],
.entry-content [style*="background-color: #f9f9f9"]{
  background-color:transparent !important;
  color:var(--ink) !important;
}

body:not(.home) .entry-content a:not(.btn):not(.wp-block-button__link){
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:3px;
}

/* v0.2.4 — do NOT invert every Captura-de-pantalla image:
   some are already white-on-black (contact logo) and some are solid black
   spacer bars (Films / Trading Desk). Invert was turning those into white bars.
   Only invert known black-on-white typographic screenshots. */
body:not(.home) .entry-content img.wp-image-45,
body:not(.home) .entry-content img[src*="a-las-21.25.28"],
body:not(.home) .entry-content img.wp-image-60,
body:not(.home) .entry-content img[src*="a-las-23.54.11"]{
  filter:invert(1);
  background:transparent;
}

/* Solid black decorative bars (759×158 and 1024×66 screenshots with no artwork or links). */
body:not(.home) .entry-content figure:has(img.wp-image-54),
body:not(.home) .entry-content figure:has(img[src*="a-las-23.04.27"]),
body:not(.home) .entry-content figure:has(img[src*="a-las-21.07.25"]){
  display:none;
}

/* Contact logo (wp-image-184) is already white lettering on black — do not invert. */
body:not(.home) .entry-content img.wp-image-184,
body:not(.home) .entry-content img[src*="a-las-11.42.32"]{
  filter:none;
  background:transparent;
  max-height:200px;
  width:auto;
  margin:32px auto 0;
}

body:not(.home) .entry-content img{
  max-width:100%;
  height:auto;
}
body:not(.home) .entry-content .wp-block-image img{
  max-height:70vh;
  width:auto;
  max-width:100%;
  object-fit:contain;
  display:block;
  margin-left:auto;
  margin-right:auto;
}

body:not(.home) .entry-content .wp-block-embed,
body:not(.home) .entry-content iframe{
  max-width:100%;
}
body:not(.home) .entry-content .wp-block-embed iframe{
  width:100%;
}

body:not(.home) .entry-content .wp-block-buttons{
  justify-content:center;
}
body:not(.home) .entry-content .wp-block-button__link{
  background:transparent !important;
  background-color:transparent !important;
  color:var(--ink) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  border-radius:999px;
  padding:12px 22px;
  box-shadow:none !important;
}
body:not(.home) .entry-content .wp-block-button__link:hover{
  border-color:var(--gold) !important;
  color:var(--gold) !important;
}

/* WPForms — dark theme */
.wpforms-container,
.wpforms-container-full,
div.wpforms-container-full{
  color:var(--ink);
  max-width:720px;
  margin:0 auto 48px;
}
div.wpforms-container-full .wpforms-head-container,
div.wpforms-container-full .wpforms-title,
div.wpforms-container-full .wpforms-description,
div.wpforms-container-full .wpforms-field-label,
div.wpforms-container-full .wpforms-field-sublabel,
div.wpforms-container-full .wpforms-field-description,
div.wpforms-container .wpforms-field-label{
  color:var(--ink) !important;
}
div.wpforms-container-full .wpforms-field-description{
  color:var(--muted) !important;
}
div.wpforms-container-full .wpforms-required-label{
  color:#ff8a8a !important;
}
div.wpforms-container-full input[type="text"],
div.wpforms-container-full input[type="email"],
div.wpforms-container-full input[type="tel"],
div.wpforms-container-full input[type="url"],
div.wpforms-container-full input[type="number"],
div.wpforms-container-full select,
div.wpforms-container-full textarea{
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  color:var(--ink) !important;
  border-radius:12px !important;
  padding:12px 14px !important;
  box-shadow:none !important;
}
div.wpforms-container-full input::placeholder,
div.wpforms-container-full textarea::placeholder{
  color:rgba(243,241,236,.45) !important;
}
div.wpforms-container-full .wpforms-submit,
div.wpforms-container-full button[type="submit"],
div.wpforms-container-full .wpforms-submit-container button{
  background:var(--ink) !important;
  color:#0a0b0d !important;
  border:0 !important;
  border-radius:999px !important;
  padding:14px 28px !important;
  font-weight:600 !important;
  letter-spacing:.02em !important;
}

/* Archive list: left-align excerpts with titles; clear the WhatsApp FAB on mobile */
.apa-archive .archive-item,
.apa-archive .wp-block-post-excerpt,
.archive-item__excerpt{
  text-align:left;
}
.apa-archive .wp-block-query{
  max-width:800px;
  margin-left:auto;
  margin-right:auto;
  padding:0 56px 80px;
}
@media (max-width:760px){
  .apa-archive .wp-block-query{padding:0 20px 110px}
  .apa-archive{padding-bottom:calc(80px + env(safe-area-inset-bottom, 0px))}
}

/* v0.2.4 — SEO Films reel sits on a dark bed (opening frames are very light) */
.vert__media--films{
  background:#07080a;
}

/* ===== v0.2.5 — Genially dark bed, DUNS tile, YouTube iframe no pointer events ===== */
.kept--briefing,
.genially,
.genially iframe{
  background:#07080a;
}
.genially{
  aspect-ratio:16/9;
  border-radius:18px;
  overflow:hidden;
}
.genially iframe{
  background:#07080a;
}

/* Official D&B mark keeps its white tile; round the corners and add padding. */
.duns__img{
  display:block;
  box-sizing:border-box;
  max-width:240px;
  padding:16px;
  background:#fff;
  border-radius:18px;
}
.duns__img img{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  border-radius:8px;
  background:#fff;
}
@media (max-width:760px){
  .duns__img{margin-left:auto;margin-right:auto}
  .genially{aspect-ratio:16/9}
}

/* ===== v0.2.6 — DUNS nowrap, hero CTAs wrap, admin-bar offset, no media controls ===== */

/* 1) DUNS number must not break after "95-" (hyphen is a wrap point).
   Pattern already wraps the number in .duns__title span — works on snapshots. */
.duns__title span,
.duns__title .duns__num,
.duns h2 span,
.duns__title strong{
  white-space:nowrap;
}

/* 2) Hero CTAs: wrap, and stack full-width on narrow phones so "Ver nuestros reels" is not clipped. */
.hero__cta{
  flex-wrap:wrap;
}
@media (max-width:480px){
  .hero__cta{
    flex-direction:column;
    align-items:stretch;
    width:100%;
    max-width:100%;
    gap:10px;
  }
  .hero__cta .btn{
    width:100%;
    justify-content:center;
    box-sizing:border-box;
  }
}

/* 3) Logged-in header sits below the WP admin bar (32px desktop, 46px under 782px).
   Below 600px core sets #wpadminbar to position:absolute, which overlaps top:0 headers. */
body.admin-bar .nav{
  top:var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width:600px){
  #wpadminbar{position:fixed !important}
}

/* 4) No native / YouTube hover controls on the hero (or other decorative media).
   The mute chip stays clickable (it lives outside .hero__band / .yt-cover). */
.hero__band,
.hero__band video,
.hero__band iframe,
.hero__band .yt-cover,
.yt-cover,
.yt-cover iframe,
.vert__media video,
.vert__media iframe,
.kept__media video{
  pointer-events:none !important;
}
.hero__play,
.hero__status,
.unmute,
.vert__status,
.vert__reel-tag,
.wa-fab{
  pointer-events:auto;
}
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel{
  display:none !important;
  -webkit-appearance:none;
}

/* ===== v0.2.7 — Havas-style full-viewport hero, one-shot text fade ===== */

/* Full viewport, no leftover 640px / 700px band. */
.hero{
  width:100%;
  height:100vh;
  height:100svh;
  height:100dvh;
  min-height:0;
  overflow:hidden;
  position:relative;
}
body.admin-bar .hero{
  height:calc(100vh - var(--wp-admin--admin-bar--height, 32px));
  height:calc(100svh - var(--wp-admin--admin-bar--height, 32px));
  height:calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}

/* Video bed fills the hero on every breakpoint (overrides earlier 440–640px caps). */
.hero__band{
  position:absolute !important;
  inset:0 !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  height:100% !important;
  z-index:0;
  overflow:hidden;
  background:#07080a;
}
.hero__band video,
.hero__band .hero__poster{
  position:absolute !important;
  inset:0 !important;
  top:0 !important;
  left:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover;
  transform:none !important;
  -webkit-mask-image:none !important;
  mask-image:none !important;
  filter:none;
}
.hero__band .yt-cover,
.hero__band .yt-hero{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  z-index:1;
}

/* object-fit:cover for a 16:9 YouTube iframe — scale up to fill, no letterbox. */
.hero__band .yt-cover iframe,
.hero .yt-hero iframe{
  position:absolute;
  top:50%;
  left:50%;
  border:0;
  width:100vw;
  height:calc(100vw * 9 / 16);
  min-height:100%;
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  min-width:calc(100vh * 16 / 9);
  min-width:calc(100svh * 16 / 9);
  min-width:calc(100dvh * 16 / 9);
  transform:translate(-50%,-50%);
  pointer-events:none !important;
}

/* Copy + the dark left/bottom gradients fade together; H1 stays in the DOM. */
.hero__content,
.hero__meta,
.hero__caption,
.hero__band::before,
.hero__band::after,
.hero__media::after,
.hero__glow{
  transition:opacity 1s ease;
}
.hero.is-clean .hero__content,
.hero.is-clean .hero__meta,
.hero.is-clean .hero__caption,
.hero.is-clean .hero__band::before,
.hero.is-clean .hero__band::after,
.hero.is-clean .hero__media::after,
.hero.is-clean .hero__glow{
  opacity:0;
  pointer-events:none;
}

/* Mute chip stays, unobtrusive, after the copy has gone. */
.hero__play{
  position:absolute;
  right:24px;
  bottom:28px;
  top:auto !important;
  z-index:4;
  pointer-events:auto;
}
@media (max-width:760px){
  .hero,
  .hero__band{height:100vh !important;height:100svh !important;height:100dvh !important}
  body.admin-bar .hero{
    height:calc(100vh - var(--wp-admin--admin-bar--height, 46px)) !important;
    height:calc(100svh - var(--wp-admin--admin-bar--height, 46px)) !important;
    height:calc(100dvh - var(--wp-admin--admin-bar--height, 46px)) !important;
  }
  .hero__play{right:16px;bottom:24px;top:auto !important}
}

/* Subtle scroll cue (stays after the fade). */
.hero__cue{
  position:absolute;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  z-index:4;
  width:1px;
  height:36px;
  background:linear-gradient(rgba(243,241,236,.55),transparent);
  pointer-events:none;
  opacity:.5;
}
@media (max-width:760px){
  .hero__cue{bottom:22px;height:28px}
}

@media (prefers-reduced-motion:reduce){
  .hero__content,
  .hero__meta,
  .hero__caption,
  .hero__band::before,
  .hero__band::after,
  .hero__media::after,
  .hero__glow{
    transition:none;
    opacity:1 !important;
    pointer-events:auto !important;
  }
  .hero__cue{display:none}
}

/* Click-anywhere sound toggle: transparent hit layer above the iframe,
   below copy / mute chip / nav. After the fade, copy lets clicks through. */
.hero__hit{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  pointer-events:auto;
  appearance:none;
  -webkit-appearance:none;
}
.hero__hit:focus{outline:none}
.hero__hit:focus-visible{outline:1px solid rgba(243,241,236,.45);outline-offset:-8px}
.hero__content,
.hero__meta{
  z-index:5;
}
.hero__content .btn,
.hero__cta,
.hero__cta a{
  pointer-events:auto;
  position:relative;
  z-index:6;
}
.hero__play,
.hero__status,
.unmute{
  pointer-events:auto !important;
  cursor:pointer;
}

/* ===== v0.2.8 — fade clock starts at first paint (CSS), not YT/footer JS ===== */
/* 4s visible + 1s fade, independent of iframe load. JS still adds .is-clean. */
@keyframes apa-hero-fade {
  0%, 80% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero:not(.hero--static) .hero__content,
  .hero:not(.hero--static) .hero__meta,
  .hero:not(.hero--static) .hero__caption,
  .hero:not(.hero--static) .hero__band::before,
  .hero:not(.hero--static) .hero__band::after,
  .hero:not(.hero--static) .hero__media::after,
  .hero:not(.hero--static) .hero__glow {
    animation: apa-hero-fade 5s ease forwards;
  }
}

/* Films page: cinematic SEO Films reel (same as home vertical) at the top. */
.hero--films .hero__title{
  font-size:clamp(52px, 8vw, 108px);
  margin:18px 0 0;
}
.hero--films .hero__content{
  max-width:900px;
}
body.is-films .apa-main > .hero--films{
  margin:0;
}
/* Fallback if a duplicate d-BJbqI8icQ oEmbed remains after the filter. */
body.is-films figure.wp-block-embed:has(iframe[src*="d-BJbqI8icQ"]){
  display:none;
}

/* ===== v0.2.9 — robust CSS-only hero fade (JS is fallback only) =====
   What broke in 0.2.8: the fade animation was wrapped in
   @media (prefers-reduced-motion: no-preference) and
   .hero:not(.hero--static), so it never ran if that query didn't match
   or if JS added .hero--static. .is-clean used opacity:0 without
   !important, so it lost to the reduced-motion opacity:1 !important
   (and any later opacity:1). The fade must not depend on JS.
*/
@keyframes apaHeroFade {
  from { opacity: 1; }
  to   { opacity: 0; pointer-events: none; }
}
html body .hero .hero__content,
html body .hero .hero__meta,
html body .hero .hero__caption,
html body .hero .hero__band::before,
html body .hero .hero__band::after,
html body .hero .hero__media::after,
html body .hero .hero__glow {
  animation: apaHeroFade 1s ease 4s forwards !important;
}
html body .hero.is-clean .hero__content,
html body .hero.is-clean .hero__meta,
html body .hero.is-clean .hero__caption,
html body .hero.is-clean .hero__band::before,
html body .hero.is-clean .hero__band::after,
html body .hero.is-clean .hero__media::after,
html body .hero.is-clean .hero__glow {
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html body .hero .hero__content,
  html body .hero .hero__meta,
  html body .hero .hero__caption,
  html body .hero .hero__band::before,
  html body .hero .hero__band::after,
  html body .hero .hero__media::after,
  html body .hero .hero__glow,
  html body .hero.is-clean .hero__content,
  html body .hero.is-clean .hero__meta,
  html body .hero.is-clean .hero__caption,
  html body .hero.is-clean .hero__band::before,
  html body .hero.is-clean .hero__band::after,
  html body .hero.is-clean .hero__media::after,
  html body .hero.is-clean .hero__glow,
  html body .hero.hero--static .hero__content,
  html body .hero.hero--static .hero__meta,
  html body .hero.hero--static .hero__caption,
  html body .hero.hero--static .hero__band::before,
  html body .hero.hero--static .hero__band::after,
  html body .hero.hero--static .hero__media::after,
  html body .hero.hero--static .hero__glow {
    animation: none !important;
    animation-name: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* ===== v0.3.0 — testimonials, menu motion, films presentation, Talent Lab tiles ===== */

/* 1) Client videos: click target over the media; caption links stay clickable. */
.kept--clients .kept__media{cursor:pointer}
.kept--clients .kept__hit{
  position:absolute;inset:0;z-index:2;width:100%;height:100%;
  margin:0;padding:0;border:0;background:transparent;cursor:pointer;
  pointer-events:auto;appearance:none;-webkit-appearance:none;
}
.kept--clients .kept__hit:focus{outline:none}
.kept--clients .kept__hit:focus-visible{outline:1px solid rgba(243,241,236,.45);outline-offset:-8px}
.kept--clients figcaption{z-index:4;pointer-events:auto}
.kept--clients .kept__sound{
  position:absolute;right:14px;bottom:14px;z-index:4;
  pointer-events:none;
}
.kept--clients .kept__sound .unmute{
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(7,8,10,.55);border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(8px);
}
.kept--clients .kept__sound svg{width:16px;height:16px;fill:#f3f1ec}

/* 2) Full-screen menu: staggered fade/slide on open. */
@keyframes apaMenuIn {
  from { opacity:0; transform:translate3d(0,18px,0); }
  to   { opacity:1; transform:none; }
}
.menu-open .menu__list a,
.menu-open .menu__side .menu__group,
.menu-open .menu__cta{
  animation: apaMenuIn .55s ease both;
}
.menu-open .menu__list a:nth-child(1){animation-delay:60ms}
.menu-open .menu__list a:nth-child(2){animation-delay:130ms}
.menu-open .menu__list a:nth-child(3){animation-delay:200ms}
.menu-open .menu__list a:nth-child(4){animation-delay:270ms}
.menu-open .menu__list a:nth-child(5){animation-delay:340ms}
.menu-open .menu__list a:nth-child(6){animation-delay:410ms}
.menu-open .menu__side .menu__group:nth-child(1){animation-delay:280ms}
.menu-open .menu__side .menu__group:nth-child(2){animation-delay:350ms}
.menu-open .menu__cta{animation-delay:420ms}

.menu__item--featured .menu__t{
  white-space:normal;
}
.menu__item--featured .menu__d{
  color:var(--gold);
}

@media (prefers-reduced-motion:reduce){
  .menu-open .menu__list a,
  .menu-open .menu__side .menu__group,
  .menu-open .menu__cta{
    animation:none;
  }
}

/* 3) SEO Films executive presentation — 16:9, no letterbox frame. */
.films-presentation,
.genially.films-presentation{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#07080a;
  margin: 8px 0 32px;
}
.films-presentation iframe,
.genially.films-presentation iframe{
  position:absolute;inset:0;width:100%;height:100%;border:0;
  background:#07080a;
}

/* 5) Talent Lab — Ford/Elite-style Women / Men covers. */
.talent-intro{
  max-width:42rem;
  margin: 8px auto 36px;
  padding: 0 24px;
  text-align:center;
}
.talent-intro p{
  font-family:var(--serif);
  font-size:clamp(22px, 2.4vw, 32px);
  line-height:1.35;
  color:var(--ink);
  margin:0;
}
body.is-talent-lab .wp-block-cover{
  padding-bottom: 48px;
}
body.is-talent-lab .wp-block-columns{
  display:grid !important;
  grid-template-columns:1fr 1fr;
  gap:20px;
  max-width:1200px;
  margin: 0 auto;
  width:100%;
}
body.is-talent-lab .wp-block-column{
  width:100% !important;
  flex-basis:auto !important;
}
body.is-talent-lab .wp-block-details{
  position:relative;
  margin:0;
  border:1px solid var(--line);
  overflow:hidden;
  background:#111;
  min-height:0;
}
body.is-talent-lab .wp-block-details > summary{
  list-style:none;
  cursor:pointer;
  position:relative;
  isolation:isolate;
  min-height:min(72vh, 720px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:36px 28px;
  color:#f3f1ec;
  z-index:1;
}
body.is-talent-lab .wp-block-details > summary::-webkit-details-marker,
body.is-talent-lab .wp-block-details > summary::marker{display:none;content:''}
body.is-talent-lab .wp-block-details > summary::before{
  content:'';
  position:absolute;inset:0;z-index:-1;
  background-image:var(--talent-cover);
  background-size:cover;
  background-position:center 20%;
  background-repeat:no-repeat;
  object-fit:cover; /* with background-size:cover on the photo layer */
  transform:scale(1.0);
  transition:transform 0.8s ease;
}
body.is-talent-lab .wp-block-details[data-board="women"] > summary,
body.is-talent-lab .wp-block-columns .wp-block-column:first-child .wp-block-details > summary{
  --talent-cover:url('../img/talent-cover-women.webp');
}
body.is-talent-lab .wp-block-details[data-board="men"] > summary,
body.is-talent-lab .wp-block-columns .wp-block-column:last-child .wp-block-details > summary{
  --talent-cover:url('../img/talent-cover-men.webp');
}
body.is-talent-lab .wp-block-details > summary::after{
  content:'';
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg, rgba(7,8,10,.12) 20%, rgba(7,8,10,.72) 100%);
}
body.is-talent-lab .wp-block-details > summary:hover::before{
  transform:scale(1.06);
}
body.is-talent-lab .talent-tile__label{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(52px, 7vw, 96px);
  line-height:.9;
  letter-spacing:-.02em;
  display:block;
}
body.is-talent-lab .talent-tile__cta{
  display:inline-block;
  margin-top:14px;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(243,241,236,.82);
  border-bottom:1px solid rgba(216,195,154,.7);
  padding-bottom:4px;
  width:max-content;
}
body.is-talent-lab .wp-block-details[open] > summary{
  min-height:220px;
}
body.is-talent-lab .wp-block-details .wp-block-buttons{
  position:relative;z-index:1;
  padding: 8px 20px 28px;
}
body.is-talent-lab .wp-block-details .wp-block-button__link{
  width:100%;
  justify-content:center;
}
@media (max-width:760px){
  body.is-talent-lab .wp-block-columns{
    grid-template-columns:1fr;
  }
  body.is-talent-lab .wp-block-details > summary{
    min-height:min(64vh, 560px);
  }
}
@media (prefers-reduced-motion:reduce){
  body.is-talent-lab .wp-block-details > summary::before{
    transition:none;
  }
  body.is-talent-lab .wp-block-details > summary:hover::before{
    transform:none;
  }
}


/* Films page — positioning intro under the reel hero */
.films-intro{
  max-width:42rem;
  margin:0 auto;
  padding:72px 24px 24px;
  text-align:center;
}
.films-intro .eyebrow{
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:11px;
  opacity:.7;
  margin:0 0 16px;
}
.films-intro__p{
  font-size:clamp(16px,2.1vw,20px);
  line-height:1.55;
  margin:0;
  color:var(--ink);
}

/* Films playlist CTA: same size/weight as the heading it replaces. */
body.is-films .entry-content h2.films-playlist-cta,
.films-playlist-cta{
  text-align:center;
  max-width:46rem;
  margin-left:auto;
  margin-right:auto;
  margin-top:0;
  margin-bottom:1.2em;
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
  letter-spacing:inherit;
  opacity:1;
  color:var(--ink);
}

/* ES replacement for the Signature Creations image (baked-in English caption). */
.signature-creations{
  max-width:850px;
  margin:32px auto;
  background:#000;
  color:#fff;
  text-align:center;
}
.signature-creations__inner{
  padding:clamp(48px,8vw,80px) clamp(24px,5vw,56px) clamp(56px,9vw,88px);
}
.signature-creations__title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(34px,6.4vw,64px);
  line-height:.95;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#fff;
  margin:0 0 28px;
}
.signature-creations__caption{
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  font-size:clamp(16px,2.2vw,22px);
  line-height:1.45;
  color:#fff;
  max-width:22em;
  margin:0 auto;
}
body.is-films .entry-content a.wp-block-button__link[href*="youtube.com/playlist"]{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}
body.is-films .films-yt-icon{
  flex:0 0 auto;
  width:14px;
  height:14px;
  display:block;
}
body.is-films .films-yt-label{
  font-weight:600;
  letter-spacing:.04em;
}
body.is-films .films-yt-micro{
  font-size:11px;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:.7;
  white-space:nowrap;
}


/* ===== v0.3.4 — Creativity hero, archive featured images, single featured ===== */

/* Self-hosted experience hero: show the <video> (older rule hides .hero__band video). */
.hero--experience .hero__band video,
.hero--experience .hero__video{
  display:block !important;
  z-index:1;
  object-fit:cover;
}
.hero--experience .hero__poster{
  z-index:0;
}
.hero--experience .hero__title{
  font-size:clamp(44px, 7vw, 96px);
  margin:0 0 16px;
}
.hero--experience .hero__sub{
  max-width:36em;
  font-size:clamp(16px, 2vw, 20px);
  color:rgba(243,241,236,.86);
}
body.is-experience .apa-main > .hero--experience{
  margin:0;
}
body.is-experience figure.wp-block-embed:has(iframe[src*="guDvSj9QPoA"]),
body.is-experience figure.wp-block-embed:has(iframe[src*="guDvSj9QPoA"]){
  display:none;
}
body.is-experience .experience-briefing,
.experience-briefing{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#07080a;
  margin:24px 0 48px;
}
.experience-briefing iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* Blog / archive / search / tag / category: image card if featured, else text. */
.apa-archive .wp-block-query{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  padding:0 56px 80px;
}
@media (max-width:760px){
  .apa-archive .wp-block-query{padding:0 20px 110px}
}
.apa-archive .wp-block-post-template,
.apa-archive .archive-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:40px 28px;
  list-style:none;
  padding:0;
  margin:0;
}
@media (min-width:700px){
  .apa-archive .wp-block-post-template,
  .apa-archive .archive-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (min-width:1080px){
  .apa-archive .wp-block-post-template,
  .apa-archive .archive-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}
.apa-archive .wp-block-post-template > .wp-block-post,
.apa-archive .archive-grid > li{
  margin:0;
}
.apa-archive .archive-item{
  padding:0;
  border-bottom:0;
  height:100%;
  display:flex;
  flex-direction:column;
  gap:0;
}
.apa-archive .archive-item__media,
.apa-archive .archive-item .wp-block-post-featured-image{
  margin:0 0 16px;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#111217;
}
.apa-archive .archive-item .wp-block-post-featured-image a,
.apa-archive .archive-item .wp-block-post-featured-image img{
  display:block;
  width:100%;
  height:100%;
}
.apa-archive .archive-item .wp-block-post-featured-image img{
  object-fit:cover;
}
.apa-archive .archive-item__title,
.apa-archive .archive-item .wp-block-post-title{
  font-size:clamp(22px, 2.2vw, 30px);
  line-height:1.2;
  margin:0 0 8px;
}
.apa-archive .archive-item__excerpt,
.apa-archive .archive-item .wp-block-post-excerpt{
  max-width:none;
  font-size:15px;
}

/* Single post: featured image under the title, at the top. */
.apa-single .single-head{
  padding:120px 56px 0;
  max-width:1100px;
  margin:0 auto 8px;
}
@media (max-width:760px){
  .apa-single .single-head{padding:110px 20px 0}
}
.apa-single .single-title,
.apa-single h1.page-title{
  text-align:left;
  padding:0 0 24px;
  margin:0;
  font-size:clamp(36px, 5vw, 64px);
}
.apa-single .single-featured,
.apa-single .wp-block-post-featured-image{
  margin:0 0 40px;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#111217;
}
.apa-single .wp-block-post-featured-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}


/* ===== v0.3.5 — full testimonials in-place, BTL reel lightbox ===== */

.kept__full-label{
  position:absolute;
  left:14px;
  bottom:14px;
  z-index:5;
  pointer-events:auto;
  appearance:none;
  -webkit-appearance:none;
  margin:0;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(7,8,10,.62);
  backdrop-filter:blur(8px);
  color:#f3f1ec;
  font:600 12px/1.2 var(--sans, inherit);
  letter-spacing:.04em;
  padding:8px 12px;
  cursor:pointer;
}
.kept__full-label:hover,
.kept__full-label:focus-visible{
  background:rgba(7,8,10,.82);
  border-color:rgba(216,195,154,.55);
  outline:none;
}
.kept__media--yt-full.is-yt-full .kept__video,
.kept__media--yt-full.is-yt-full video,
.kept__media--yt-full.is-yt-full .kept__full-label,
.kept__media--yt-full.is-yt-full .kept__sound,
.kept__media--yt-full.is-yt-full .kept__hit{
  display:none !important;
}
.kept__media--yt-full.is-yt-full iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  border-radius:inherit;
  pointer-events:auto !important;
  background:#000;
}

.hero--experience .hero__play{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:calc(100vw - 32px);
  z-index:6;
}
.hero__full-reel{
  appearance:none;
  -webkit-appearance:none;
  margin:0;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(7,8,10,.55);
  backdrop-filter:blur(8px);
  color:#f3f1ec;
  font:600 13px/1.2 var(--sans, inherit);
  letter-spacing:.04em;
  padding:10px 16px;
  cursor:pointer;
  pointer-events:auto !important;
  white-space:nowrap;
}
.hero__full-reel:hover,
.hero__full-reel:focus-visible{
  background:rgba(7,8,10,.82);
  border-color:rgba(216,195,154,.6);
  outline:none;
}
@media (max-width:760px){
  .hero--experience .hero__play{
    right:16px;
    left:16px;
    bottom:20px;
    justify-content:space-between;
  }
  .hero__full-reel{font-size:12px;padding:8px 12px}
  .kept__full-label{left:10px;bottom:10px;font-size:11px;padding:7px 10px}
}

/* Lightbox for the full BTL reel */
body.apa-lightbox-open{overflow:hidden}
.apa-yt-lightbox{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 16px;
}
.apa-yt-lightbox[hidden]{display:none !important}
.apa-yt-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,8,10,.88);
  cursor:pointer;
}
.apa-yt-lightbox__dialog{
  position:relative;
  z-index:1;
  width:min(1100px, 100%);
}
.apa-yt-lightbox__frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#000;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.55);
}
.apa-yt-lightbox__frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  pointer-events:auto !important;
}
.apa-yt-lightbox__close{
  position:absolute;
  top:-44px;
  right:0;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:rgba(243,241,236,.12);
  color:#f3f1ec;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  pointer-events:auto;
}
.apa-yt-lightbox__close:hover,
.apa-yt-lightbox__close:focus-visible{
  background:rgba(243,241,236,.22);
  outline:none;
}

/* ===== v0.3.7 — home breathing room (kept) ===== */

body.home .hero{
  margin-bottom: clamp(120px, 18vh, 240px);
}
body.home .how-we-work{
  margin: 0 0 clamp(96px, 14vh, 200px);
}
body.home .cases{
  padding-top: clamp(88px, 10vw, 180px);
  padding-bottom: clamp(140px, 14vw, 240px);
}
body.home .clients{
  padding-top: clamp(80px, 8vw, 140px);
  padding-bottom: clamp(88px, 9vw, 160px);
}
body.home .kept{
  padding-top: clamp(140px, 14vw, 220px);
  padding-bottom: clamp(140px, 14vw, 220px);
}
body.home .manifesto{
  padding-top: clamp(140px, 14vw, 240px);
  padding-bottom: clamp(140px, 14vw, 240px);
}
@media (max-width: 760px){
  body.home .hero{ margin-bottom: clamp(96px, 16vh, 160px); }
  body.home .how-we-work{ margin-bottom: clamp(80px, 12vh, 140px); }
  body.home .cases{
    padding-top: clamp(64px, 12vw, 110px);
    padding-bottom: clamp(100px, 18vw, 160px);
  }
  body.home .clients{
    padding-top: clamp(56px, 12vw, 96px);
    padding-bottom: clamp(64px, 12vw, 110px);
  }
  body.home .kept{
    padding-top: clamp(100px, 18vw, 160px);
    padding-bottom: clamp(100px, 18vw, 160px);
  }
  body.home .manifesto{
    padding-top: clamp(100px, 18vw, 160px);
    padding-bottom: clamp(100px, 18vw, 160px);
  }
}

/* ===== v0.3.8 — «Cómo trabajamos» scroll story presenting the verticals ===== */
.how-we-work{
  position: relative;
  background: #07080a;
  color: #f3f1ec;
}
.how__story{
  position: relative;
  height: 900vh;           /* ≈ 8 viewport-heights of scroll */
}
.how__stage{
  position: relative;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #07080a;
}
.how__canvas,
.how__poster{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.how__poster{
  object-fit: contain;
  object-position: center;
}
.how-we-work.is-ready .how__poster{ opacity: 0; }
.how__shade{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(7,8,10,.55), rgba(7,8,10,0) 38%),
    linear-gradient(to bottom, rgba(7,8,10,.45), rgba(7,8,10,0) 18%);
}
.how__eyebrow{
  position: absolute;
  top: clamp(22px, 5vh, 48px);
  left: clamp(20px, 6vw, 96px);
  z-index: 6;
  margin: 0;
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #d8c39a;
  pointer-events: none;
}

/* Panels (vertical blocks) */
.how__panels{
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.how__panel{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 clamp(14px, 5vw, 72px) clamp(64px, 9vh, 96px);
  pointer-events: none;
  visibility: hidden;
}
.how__card{
  pointer-events: auto;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  padding: clamp(18px, 2.2vw, 34px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(160deg, rgba(10,11,14,.82), rgba(7,8,10,.70));
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  transform: translate3d(0,110%,0);
  opacity: 0;
  transform-origin: 50% 60%;
  will-change: transform, opacity;
}
.how__media{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,.08);
}
.how__media video,
.how__media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.how__media--talent img{ opacity: .95; }
.how__kicker{ margin: 0; }
.how__vtitle{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 92px);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 14px 0 12px;
}
.how__vtitle em{ color: #e9e2d2; }
.how__sub{
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(243,241,236,.72);
  margin: 0 0 12px;
  line-height: 1.6;
}
.how__vdesc{
  color: rgba(243,241,236,.82);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 560px;
}
.how__vcta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.how__reel{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(243,241,236,.85);
  border-bottom: 1px solid rgba(216,195,154,.45);
  padding-bottom: 2px;
}
.how__reel:hover{ color: #d8c39a; }
.how__talent-cols{ margin-top: 22px; }
/* Talent card: the starry sky is the stage background, so no media box */
.how__panel--talent .how__media--talent{ display: none; }
.how__panel--talent .how__card{
  grid-template-columns: minmax(0, 1fr);
  width: min(880px, 100%);
  background: linear-gradient(160deg, rgba(10,11,14,.55), rgba(7,8,10,.40));
}
.how__block--talent{ grid-template-columns: minmax(0, 1fr) !important; }

/* Trading exit: ad-like tiles */
.how__tiles{
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.how__tile{
  position: absolute;
  opacity: 0;
  background-color: #0b0d12;
  background-repeat: no-repeat;
  border: 1px solid rgba(160,220,255,.28);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  will-change: transform, opacity;
}

/* Progress rail + bar */
.how__rail{
  position: absolute;
  right: clamp(14px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 7;
  pointer-events: none;
}
.how__rail span{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  transition: background .3s, transform .3s;
}
.how__rail span.on{
  background: #f3f1ec;
  transform: scale(1.35);
}
.how__bar{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.08);
  z-index: 7;
  pointer-events: none;
}
.how__bar i{
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #d8c39a, #fff);
}
.how__skip{
  position: absolute;
  right: clamp(14px, 3vw, 40px);
  bottom: clamp(18px, 4vh, 36px);
  z-index: 8;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(243,241,236,.72);
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(7,8,10,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.how__skip:hover{ color: #d8c39a; border-color: rgba(216,195,154,.6); }

/* Mobile / portrait: stack video over text inside the card */
@media (max-width: 820px), (max-aspect-ratio: 1/1){
  .how__story{ height: 900vh; }
  .how__panel{
    padding: 0 14px calc(76px + env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }
  .how__card{
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px 12px 18px;
    border-radius: 20px;
  }
  .how__media{ border-radius: 12px; }
  .how__vtitle{ font-size: clamp(36px, 10.5vw, 52px); margin: 8px 0 8px; }
  .how__sub{ font-size: 10.5px; letter-spacing: .16em; margin-bottom: 8px; }
  .how__vdesc{
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .how__panel .how__vdesc{
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .how__vcta .btn{ padding: 12px 18px; font-size: 13px; }
  .how__reel{ font-size: 12px; }
  .how__rail{
    right: auto;
    left: 50%;
    top: auto;
    bottom: 26px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 12px;
  }
  .how__skip{
    right: auto;
    left: 14px;
    bottom: 16px;
    font-size: 10px;
    padding: 7px 10px;
  }
  .how__eyebrow{ top: 18px; left: 20px; font-size: 10px; }
  .how__talent-cols{ margin-top: 14px; gap: 10px; }
  .how__talent-cols .talent__col{ padding: 12px 12px; }
  .how__talent-cols .talent__col h4{ font-size: 20px; margin-bottom: 8px; }
  .how__talent-cols .talent__col li{ font-size: 10px; padding: 6px 0; }
}

/* Static fallback (prefers-reduced-motion) */
.how__static{ display: none; }
@media (prefers-reduced-motion: reduce){
  .how__motion{ display: none; }
  .how__static{
    display: grid;
    gap: clamp(40px, 6vw, 96px);
    padding: clamp(72px, 10vw, 140px) clamp(16px, 6vw, 96px);
  }
  .how__eyebrow--static{
    position: static;
    margin: 0;
  }
  .how__block{
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(20px, 3.5vw, 56px);
    align-items: center;
    padding: clamp(16px, 2.2vw, 34px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(10,11,14,.6);
  }
  .how__block--trading,
  .how__block--talent{ }
}
@media (prefers-reduced-motion: reduce) and (max-width: 820px){
  .how__block{
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px 12px 18px;
  }
}

/* ===== v0.3.9 — self-hosted Martha hero (no burned-in name plate, no YouTube captions) ===== */
.hero__band video.hero__video--home{
  display: block !important;
  z-index: 1;
  object-fit: cover;
  object-position: center;
}
.hero__band video.hero__video--home ~ .hero__poster,
.hero__band .hero__poster{ z-index: 0; }

/* ===== v0.3.9 — «Cómo trabajamos» story v2 (?story=v1 keeps the 0.3.8 story) ===== */
.how-we-work--v2 .how__story{ height: 900vh; }
.how-we-work--v2 .how__event,
.how-we-work--v2 .how__vf,
.how-we-work--v2 .how__ad,
.how-we-work--v2 .how__tcover{
  position: absolute;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.how-we-work--v2 .how__event{
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #07080a;
  transform-origin: 0 0;
  will-change: transform, opacity, clip-path;
}
.how-we-work--v2 .how__event-video{
  position: absolute;
  inset: -2% -8%;
  width: 116%;
  height: 104%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
/* Viewfinder / REC overlay */
.how-we-work--v2 .how__vf{
  left: 0; top: 0;
  z-index: 3;
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .14em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  will-change: transform, opacity;
}
.how-we-work--v2 .how__vf .c{
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,.92);
}
.how-we-work--v2 .how__vf .tl{ left: 12px; top: 12px; border-right: 0; border-bottom: 0; }
.how-we-work--v2 .how__vf .tr{ right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.how-we-work--v2 .how__vf .bl{ left: 12px; bottom: 12px; border-right: 0; border-top: 0; }
.how-we-work--v2 .how__vf .br{ right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.how-we-work--v2 .how__vf-rec{
  position: absolute; left: 50px; top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
}
.how-we-work--v2 .how__vf-rec b{
  width: 10px; height: 10px; border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 10px rgba(255,59,48,.8);
  animation: howRec 1s steps(2, start) infinite;
}
@keyframes howRec{ to{ visibility: hidden; } }
.how-we-work--v2 .how__vf-tc{ position: absolute; right: 50px; top: 22px; }
.how-we-work--v2 .how__vf-info{ position: absolute; left: 50px; bottom: 22px; opacity: .85; }
.how-we-work--v2 .how__vf-bat{
  position: absolute; right: 50px; bottom: 20px;
  width: 26px; height: 12px; border: 1.5px solid #fff; border-radius: 2px;
}
.how-we-work--v2 .how__vf-bat i{ position: absolute; left: 2px; top: 2px; bottom: 2px; width: 70%; background: #fff; }
.how-we-work--v2 .how__vf-focus{
  position: absolute; left: 50%; top: 50%;
  width: 70px; height: 52px; margin: -26px 0 0 -35px;
  border: 1.5px solid rgba(255,214,10,.9);
}
/* Paid-media ad unit (feed ad) */
.how-we-work--v2 .how__ad{
  z-index: 4;
  left: 50%;
  top: 50%;
  width: min(340px, 74vw);
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  border-radius: 22px;
  background: transparent;
  color: #111;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  overflow: hidden;
  font: 13px/1.35 var(--sans, system-ui, -apple-system, Segoe UI, Roboto, sans-serif);
}
.how-we-work--v2 .how__ad-head,
.how-we-work--v2 .how__ad-chips{ background: #fff; }
.how-we-work--v2 .how__ad-head{ display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.how-we-work--v2 .how__ad-av{
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #07080a; color: #d8c39a; font: 600 15px/1 var(--serif, Georgia, serif);
}
.how-we-work--v2 .how__ad-who{ display: flex; flex-direction: column; flex: 1; }
.how-we-work--v2 .how__ad-who b{ font-weight: 600; font-size: 13.5px; }
.how-we-work--v2 .how__ad-who small{ font-size: 11.5px; color: #6b6b6b; }
.how-we-work--v2 .how__ad-dots{ color: #888; letter-spacing: .1em; }
.how-we-work--v2 .how__ad-slot{ aspect-ratio: 4 / 5; background: transparent; }
.how-we-work--v2 .how__ad-cta{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; background: #f2f2f2; font-size: 12.5px;
}
.how-we-work--v2 .how__ad-cta b{ white-space: nowrap; font-weight: 600; color: #0a66ff; }
.how-we-work--v2 .how__ad-chips{ display: flex; gap: 8px; padding: 10px 14px 14px; }
.how-we-work--v2 .how__ad-chips span{
  flex: 1; text-align: center;
  padding: 7px 4px; border-radius: 999px;
  background: #0b0d12; color: #9ff0c0;
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em;
  transform: translateY(8px); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s;
}
.how-we-work--v2 .how__ad.is-live .how__ad-chips span{ transform: none; opacity: 1; }
.how-we-work--v2 .how__ad.is-live .how__ad-chips span:nth-child(2){ transition-delay: .12s; }
.how-we-work--v2 .how__ad.is-live .how__ad-chips span:nth-child(3){ transition-delay: .24s; }
/* Talent Lab cover (women | men) */
.how-we-work--v2 .how__tcover{ inset: 0; z-index: 1; overflow: hidden; background: #07080a; }
.how-we-work--v2 .how__tcover img{
  position: absolute; left: 0; top: 0;
  height: 100%; width: auto; max-width: none;
  will-change: transform;
}
.how-we-work--v2 .how__tcover::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,8,10,.85), rgba(7,8,10,.1) 55%, rgba(7,8,10,.35));
}
.how-we-work--v2 .how__panel--talent .how__card{
  background: linear-gradient(160deg, rgba(10,11,14,.62), rgba(7,8,10,.48));
}
.how-we-work--v2 .how__shade{ z-index: 5; }
.how-we-work--v2 .how__panels{ z-index: 6; }
@media (max-width: 820px), (max-aspect-ratio: 1/1){
  .how-we-work--v2 .how__story{ height: 900vh; }
  .how-we-work--v2 .how__vf{ font-size: 9.5px; }
  .how-we-work--v2 .how__vf .c{ width: 20px; height: 20px; }
  .how-we-work--v2 .how__vf-rec,
  .how-we-work--v2 .how__vf-info{ left: 38px; }
  .how-we-work--v2 .how__vf-tc,
  .how-we-work--v2 .how__vf-bat{ right: 38px; }
  .how-we-work--v2 .how__ad{ width: min(300px, 76vw); top: 46%; }
}
@media (prefers-reduced-motion: reduce){
  .how-we-work--v2 .how__media--cover{ aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 821px){
  .how-we-work--v2 .how__block--talent{ grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important; }
}

/* ===== v0.3.10 — Martha hero: full frame (no crop / no zoom) so the name plate and any
   caption area at the bottom are never cut off. The frame is fitted inside the hero; the
   blurred poster fills the rest. Mobile: full width, near the top; desktop: fitted to height. ===== */
.hero .hero__band video.hero__video--home{
  object-fit: contain !important;
  object-position: 50% 50% !important;
  background: transparent;
  z-index: 1;
}
.hero .hero__band .hero__poster.hero__poster--bed{
  filter: blur(26px) saturate(1.05) brightness(.62) !important;
  transform: scale(1.22) !important;
  z-index: 0;
}
@media (max-width: 820px), (max-aspect-ratio: 1/1){
  .hero .hero__band video.hero__video--home{ object-position: 50% 24% !important; }
  /* the unblurred wall colours stretched over the whole hero act as the bed around the frame */
  .hero .hero__band .hero__poster.hero__poster--bed{
    object-fit: fill !important;
    filter: blur(34px) saturate(1.08) brightness(.55) !important;
    transform: scale(1.12) !important;
  }
}

/* ===== v0.3.11 — home hero: Martha video on pure black, NO text or gradients over the
   video; copy + rotating vertical messages live in the empty space below (mobile) or
   beside it (desktop). Keyed on the self-hosted home video, so other heroes are untouched. ===== */
.hero:has(video.hero__video--home){ background:#000 !important; }
.hero:has(video.hero__video--home) .hero__band{ background:#000 !important; }
.hero:has(video.hero__video--home) .hero__band .hero__poster--bed,
.hero:has(video.hero__video--home) .hero__band::before,
.hero:has(video.hero__video--home) .hero__band::after,
.hero:has(video.hero__video--home) .hero__glow,
.hero:has(video.hero__video--home) .hero__cue{ display:none !important; }
html body .hero:has(video.hero__video--home) .hero__content,
html body .hero:has(video.hero__video--home).is-clean .hero__content,
html body .hero:has(video.hero__video--home) .hero__meta,
html body .hero:has(video.hero__video--home).is-clean .hero__meta,
html body .hero:has(video.hero__video--home) .hero__caption,
html body .hero:has(video.hero__video--home).is-clean .hero__caption{
  animation:none !important; opacity:1 !important; pointer-events:auto !important;
}
.hero:has(video.hero__video--home) .hero__content .eyebrow{ margin:0; }
.hero:has(video.hero__video--home) .hero__rot{ position:relative; }
.hero:has(video.hero__video--home) .hero__slide{
  position:absolute; left:0; top:0; right:0;
  opacity:0; transform:translate3d(0,14px,0);
  transition:opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1);
  pointer-events:none;
}
.hero:has(video.hero__video--home) .hero__slide.is-on{ opacity:1; transform:none; pointer-events:auto; }
.hero:has(video.hero__video--home) .hero__slide.is-out{ opacity:0; transform:translate3d(0,-10px,0); }
.hero:has(video.hero__video--home) .hero__rot-kicker{ margin:0; }
.hero:has(video.hero__video--home) .hero__rot-msg{ margin:14px 0 0; }
.hero:has(video.hero__video--home) .hero__rot-msg em{ font-style:italic; }
@media (prefers-reduced-motion: reduce){
  .hero:has(video.hero__video--home) .hero__slide{ transition:none; }
}

/* Mobile / portrait: 16:9 band under the nav, copy below it, hero grows if needed. */
@media (max-width: 820px), (max-aspect-ratio: 1/1){
  html body .hero:has(video.hero__video--home){
    height:auto !important; min-height:100vh; min-height:100svh;
    padding:calc(76px + 56.25vw + 22px) 20px 118px;
    box-sizing:border-box;
  }
  html body .hero:has(video.hero__video--home) .hero__band,
  html body .hero:has(video.hero__video--home) .hero__hit{
    inset:auto !important; top:76px !important; left:0 !important; right:0 !important; bottom:auto !important;
    width:100% !important; height:56.25vw !important; transform:none !important;
  }
  .hero:has(video.hero__video--home) .hero__band video.hero__video--home{ object-position:50% 50% !important; }
  html body .hero:has(video.hero__video--home) .hero__content{
    position:relative !important; inset:auto !important; left:auto !important; right:auto !important;
    top:auto !important; bottom:auto !important; transform:none !important; max-width:none !important;
  }
  .hero:has(video.hero__video--home) .hero__title, .hero:has(video.hero__video--home) .hero__rot-msg{ font-size:clamp(36px, 10.6vw, 46px) !important; line-height:.98 !important; margin:12px 0 0 !important; }
  .hero:has(video.hero__video--home) .hero__sub{ margin-top:16px !important; font-size:14.5px !important; }
  .hero:has(video.hero__video--home) .hero__title.is-flow br{ display:none; }
  .hero:has(video.hero__video--home) .hero__title em{ display:inline; }
  .hero:has(video.hero__video--home) .hero__cta{ margin-top:18px !important; }
  html body .hero:has(video.hero__video--home) .hero__meta{ position:absolute !important; left:20px !important; right:auto !important; bottom:72px !important; padding-right:0 !important; }
  html body .hero:has(video.hero__video--home) .hero__play{ position:absolute !important; left:20px !important; right:auto !important; bottom:24px !important; top:auto !important; }
}
@media (max-width: 380px){
  html body .hero:has(video.hero__video--home){ padding-top:calc(74px + 56.25vw + 16px); }
  html body .hero:has(video.hero__video--home) .hero__band, html body .hero:has(video.hero__video--home) .hero__hit{ top:74px !important; }
  .hero:has(video.hero__video--home) .hero__cta{ flex-direction:column; align-items:flex-start !important; }
  .hero:has(video.hero__video--home) .hero__cta .btn{ width:auto !important; min-width:0 !important; }
  .hero:has(video.hero__video--home) .hero__title, .hero:has(video.hero__video--home) .hero__rot-msg{ font-size:34px !important; }
}

/* Desktop / landscape: video on the right (16:9, not covered), copy in the left column. */
@media (min-width: 821px) and (min-aspect-ratio: 1/1){
  html body .hero:has(video.hero__video--home) .hero__band,
  html body .hero:has(video.hero__video--home) .hero__hit{
    inset:auto !important; top:50% !important; bottom:auto !important; left:auto !important;
    right:3vw !important; width:58vw !important; height:calc(58vw * 9 / 16) !important;
    max-height:calc(100% - 180px) !important; transform:translateY(-46%) !important;
  }
  html body .hero:has(video.hero__video--home) .hero__content{
    left:56px !important; right:auto !important; top:50% !important; bottom:auto !important;
    transform:translateY(-46%) !important; max-width:calc(39vw - 90px) !important; width:calc(39vw - 90px);
  }
  .hero:has(video.hero__video--home) .hero__title, .hero:has(video.hero__video--home) .hero__rot-msg{ font-size:clamp(40px, 4.3vw, 76px) !important; line-height:.96 !important; margin:16px 0 0 !important; }
  .hero:has(video.hero__video--home) .hero__sub{ font-size:15px !important; margin-top:20px !important; max-width:30em; }
  .hero:has(video.hero__video--home) .hero__cta{ margin-top:24px !important; flex-wrap:wrap; }
  html body .hero:has(video.hero__video--home) .hero__meta{ left:56px !important; right:auto !important; bottom:28px !important; }
  html body .hero:has(video.hero__video--home) .hero__play{ right:3vw !important; left:auto !important; bottom:28px !important; top:auto !important; }
}

/* ===== v0.3.11 / 0.3.12 — home logos strip + casos teaser ===== */
.xlogos{ background:#000; padding:clamp(46px,7vw,90px) 0 clamp(40px,6vw,80px); overflow:hidden; }
.xlogos__label{ text-align:center; margin:0 0 clamp(24px,3.5vw,40px); }
.xlogos__track{
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  opacity:0; transform:translate3d(0,24px,0);
  transition:opacity 1s ease, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.xlogos.is-in .xlogos__track{ opacity:1; transform:none; }
.xlogos__row{ display:flex; width:max-content; animation:xlogosSlide 38s linear infinite; will-change:transform; }
.xlogos.is-paused .xlogos__row{ animation-play-state:paused; }
.xlogos__set{ display:flex; align-items:center; gap:clamp(48px,6vw,96px); padding-right:clamp(48px,6vw,96px); }
@keyframes xlogosSlide{ to{ transform:translate3d(-50%,0,0); } }
@media (max-width:760px){ .xlogos__row{ animation-duration:30s; } }

.xcasos{ background:#000; padding:clamp(56px,8vw,110px) clamp(20px,5vw,72px); }
.xcasos__head{ margin-bottom:clamp(26px,4vw,48px); }
.xcasos__head .h2{ margin:10px 0 0; }
.xcasos__grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,2vw,28px); }
.xcasos__card{
  display:flex; flex-direction:column; gap:8px; color:#f3f1ec; text-decoration:none;
  opacity:0; transform:translate3d(0,48px,0);
  transition:opacity .9s ease calc(var(--i) * .14s), transform 1.1s cubic-bezier(.2,.7,.2,1) calc(var(--i) * .14s);
}
.xcasos__img{
  display:block; position:relative; aspect-ratio:4 / 3; overflow:hidden; border-radius:16px;
  clip-path:inset(18% 0 18% 0 round 16px);
  transition:clip-path 1.3s cubic-bezier(.2,.7,.2,1) calc(var(--i) * .14s + .1s);
}
.xcasos__img img{
  position:absolute; inset:-8% 0; width:100%; height:116%; object-fit:cover; display:block;
  transform:translate3d(0,var(--py,0px),0) scale(1.12);
  transition:transform 1.6s cubic-bezier(.2,.7,.2,1);
}
.xcasos.is-in .xcasos__card{ opacity:1; transform:none; }
.xcasos.is-in .xcasos__img{ clip-path:inset(0 0 0 0 round 16px); }
.xcasos.is-in .xcasos__img img{ transform:translate3d(0,var(--py,0px),0) scale(1); }
.xcasos__card:hover .xcasos__img img{ transform:translate3d(0,var(--py,0px),0) scale(1.04); }
.xcasos__tag{ margin-top:8px; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:#d8c39a; }
.xcasos__title{ font-family:var(--serif); font-size:clamp(26px,2.4vw,36px); line-height:1.05; }
.xcasos__desc{ font-size:14px; color:rgba(243,241,236,.72); }
.xcasos__all{ margin-top:clamp(26px,3.5vw,44px); }
@media (max-width:760px){
  .xcasos__grid{ grid-template-columns:minmax(0,1fr); gap:30px; }
  .xcasos__img{ aspect-ratio:16 / 10; }
}
@media (prefers-reduced-motion: reduce){
  .xlogos__row{ animation:none; width:auto; flex-wrap:wrap; justify-content:center; }
  .xlogos__set{ flex-wrap:wrap; justify-content:center; padding:0 20px; gap:28px 40px; }
  .xlogos__set[aria-hidden]{ display:none; }
  .xlogos__track, .xcasos__card, .xcasos__img, .xcasos__img img{ transition:none !important; opacity:1 !important; transform:none !important; clip-path:none !important; -webkit-mask-image:none; mask-image:none; }
}

/* v0.3.12 — permanent placement: logos after the hero, teaser as #casos */
body.home .hero:has(+ .xlogos){ margin-bottom: 0; }
body.home .xlogos{ padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 72px); }
body.home .xcasos{
  padding-top: clamp(88px, 10vw, 180px);
  padding-bottom: clamp(140px, 14vw, 240px);
}
@media (max-width:760px){
  body.home .xcasos{
    padding-top: clamp(64px, 12vw, 110px);
    padding-bottom: clamp(100px, 18vw, 160px);
  }
}
.xcasos__foot{
  margin-top: clamp(28px, 3.5vw, 48px);
  padding-top: clamp(22px, 3vw, 36px);
  border-top: 1px solid rgba(243,241,236,.12);
}
.xcasos__all{ margin-top: 0; }

/* ===== v0.3.13 — desktop home hero: in-flow columns, clears the header, grows on short viewports.
   Mobile / portrait rules from 0.3.11 are intentionally left untouched. ===== */
@media (min-width: 821px) and (min-aspect-ratio: 1/1){
  html body .hero:has(video.hero__video--home),
  html body .hero:has(video.hero__video--home),
  html body.admin-bar .hero:has(video.hero__video--home),
  html body.admin-bar .hero:has(video.hero__video--home){
    --apa-nav-h: 128px; /* 26+52+26 nav + 24px gap; JS refines from the real header */
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-columns: minmax(240px, calc(38vw - 70px)) minmax(0, 1fr);
    column-gap: clamp(20px, 2.4vw, 40px);
    align-items: start; /* start, not center: a taller video must not push the copy under the fold */
    padding: max(var(--apa-nav-h), min(16vh, 160px)) 3vw 36px clamp(32px, 4vw, 56px) !important;
    box-sizing: border-box !important;
  }
  body.admin-bar .hero:has(video.hero__video--home),
  body.admin-bar .hero:has(video.hero__video--home){
    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px)) !important;
    min-height: calc(100svh - var(--wp-admin--admin-bar--height, 32px)) !important;
    min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px)) !important;
  }
  .hero:has(video.hero__video--home) .hero__col--copy,
  .hero:has(video.hero__video--home) .hero__col--copy{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(14px, 2vh, 22px);
    min-width: 0;
    grid-column: 1;
  }
  .hero:has(video.hero__video--home) .hero__col--media,
  .hero:has(video.hero__video--home) .hero__col--media{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 0;
    grid-column: 2;
  }
  html body .hero:has(video.hero__video--home) .hero__content,
  html body .hero:has(video.hero__video--home) .hero__content{
    position: relative !important;
    inset: auto !important;
    left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    transform: none !important;
    max-width: none !important;
    width: auto !important;
  }
  html body .hero:has(video.hero__video--home) .hero__meta,
  html body .hero:has(video.hero__video--home).is-clean .hero__meta,
  html body .hero:has(video.hero__video--home) .hero__meta,
  html body .hero:has(video.hero__video--home).is-clean .hero__meta{
    position: relative !important;
    inset: auto !important;
    left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    transform: none !important;
    padding: 0 !important;
    margin: 10px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }
  html body .hero:has(video.hero__video--home) .hero__caption,
  html body .hero:has(video.hero__video--home) .hero__caption{
    display: block !important;
    margin: 14px 0 0 !important;
    text-align: left !important;
    white-space: normal !important;
    letter-spacing: .14em;
    line-height: 1.45;
    max-width: 100%;
  }
  html body .hero:has(video.hero__video--home) .hero__caption .k{
    display: inline;
    margin-right: 10px;
  }
  html body .hero:has(video.hero__video--home) .hero__meta{
    margin-top: 10px !important;
  }
  html body .hero:has(video.hero__video--home) .hero__band,
  html body .hero:has(video.hero__video--home) .hero__hit,
  html body .hero:has(video.hero__video--home) .hero__band,
  html body .hero:has(video.hero__video--home) .hero__hit{
    position: relative !important;
    inset: auto !important;
    top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    transform: none !important;
    aspect-ratio: 16 / 9;
  }
  html body .hero:has(video.hero__video--home) .hero__play,
  html body .hero:has(video.hero__video--home) .hero__play{
    position: relative !important;
    inset: auto !important;
    top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    transform: none !important;
    margin: 0;
  }
  .hero:has(video.hero__video--home) .hero__title,
  .hero:has(video.hero__video--home) .hero__rot-msg,
  .hero:has(video.hero__video--home) .hero__title,
  .hero:has(video.hero__video--home) .hero__rot-msg{
    font-size: clamp(32px, min(4.2vw, 7.2vh), 76px) !important;
    line-height: .98 !important;
    margin: 12px 0 0 !important;
  }
  .hero:has(video.hero__video--home) .hero__sub,
  .hero:has(video.hero__video--home) .hero__sub{
    font-size: clamp(13.5px, 1.5vw, 16px) !important;
    margin-top: clamp(12px, 2.2vh, 20px) !important;
    max-width: 30em;
  }
  .hero:has(video.hero__video--home) .hero__cta,
  .hero:has(video.hero__video--home) .hero__cta{
    margin-top: clamp(14px, 2.4vh, 24px) !important;
    flex-wrap: wrap;
  }
}

/* Wrappers vanish on mobile so the approved 0.3.11/0.3.12 phone layout is unchanged. */
@media (max-width: 820px), (max-aspect-ratio: 1/1){
  .hero:has(video.hero__video--home) .hero__col,
  .hero:has(video.hero__video--home) .hero__col--copy,
  .hero:has(video.hero__video--home) .hero__col--media{
    display: contents;
  }
}

/* v0.3.13 — desktop hero: explicit columns if wrappers are missing */
@media (min-width: 821px) and (min-aspect-ratio: 1/1){
  html body .hero:has(video.hero__video--home):not(:has(> .hero__col)) .hero__content{ grid-column:1; grid-row:1; }
  html body .hero:has(video.hero__video--home):not(:has(> .hero__col)) .hero__meta{ grid-column:1; grid-row:2; }
  html body .hero:has(video.hero__video--home):not(:has(> .hero__col)) .hero__band,
  html body .hero:has(video.hero__video--home):not(:has(> .hero__col)) .hero__hit{ grid-column:2; grid-row:1 / span 2; }
  html body .hero:has(video.hero__video--home):not(:has(> .hero__col)) .hero__play{ grid-column:2; grid-row:3; }
}

/* v0.3.13 — fullscreen menu: wrap long ES titles, fit 7 items on short desktops */
@media (min-width: 761px){
  .menu__t{
    white-space: normal !important;
    overflow-wrap: break-word;
    line-height: .95;
    font-size: clamp(32px, 5.4vh, 72px);
    max-width: 100%;
  }
  .menu__list a{ padding: clamp(8px, 1.7vh, 24px) 0; }
  .menu__inner{ padding-top: clamp(96px, 14vh, 140px); padding-bottom: clamp(28px, 5vh, 50px); }
}
.menu-open .menu__list a:nth-child(7){ animation-delay: 480ms; }

/* v0.3.13 — story brand close (logo on pure black) */
.how-we-work--v2 .how__brand{
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.how-we-work--v2 .how__brand-video{
  width: min(880px, 86vw);
  height: auto;
  max-height: 70vh;
  background: #000;
  object-fit: contain;
  display: block;
}
.how__brand-still{ display: none; }
@media (prefers-reduced-motion: reduce){
  .how__brand-still{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: clamp(48px, 8vw, 120px) 20px;
  }
  .how__brand-still img{
    width: min(720px, 80vw);
    height: auto;
    display: block;
  }
}

/* v0.3.13 — Alibaba partnership block after testimonials */
.xali{
  background: #000;
  padding: clamp(88px, 10vw, 180px) clamp(20px, 5vw, 72px) clamp(100px, 12vw, 200px);
  text-align: center;
}
.xali__eyebrow{ margin: 0 0 18px; }
.xali__mark{
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .08em;
  font-size: clamp(22px, 2.4vw, 34px);
  color: #f3f1ec;
  margin: 0 0 clamp(22px, 3vw, 36px);
}
.xali .h2{
  margin: 0 auto;
  max-width: 18em;
}
.xali__lead{
  margin: 18px auto 0;
  max-width: 36em;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  color: rgba(243,241,236,.72);
}
.xali__cta{ margin-top: clamp(26px, 3.5vw, 44px); }
@media (max-width: 760px){
  .xali{ padding-top: clamp(64px, 12vw, 110px); padding-bottom: clamp(80px, 16vw, 140px); }
}

/* v0.3.13: leftover hero hit/cue must not create a grid row on desktop */
@media (min-width: 821px) and (min-aspect-ratio: 1/1){
  html body .hero:has(video.hero__video--home) > .hero__hit,
  html body .hero:has(video.hero__video--home) > .hero__cue{
    position:absolute !important; width:0 !important; height:0 !important; overflow:hidden !important;
    inset:auto !important; pointer-events:none !important;
  }
}

/* v0.3.13 — menu overlay scrolls on short laptops so item 07 stays reachable */
@media (min-width: 761px){
  html.menu-open .menu,
  body.menu-open .menu,
  .menu-open .menu{
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: 100% !important;
    height: 100svh !important;
    height: 100dvh !important;
    max-height: 100svh !important;
    max-height: 100dvh !important;
    -webkit-overflow-scrolling: touch;
  }
  .menu__t{ font-size: clamp(26px, 4.8vh, 72px); }
  .menu__list a{ padding: clamp(5px, 1.2vh, 22px) 0; }
  .menu__inner{ padding-top: clamp(88px, 12vh, 140px); padding-bottom: clamp(20px, 4vh, 48px); }
}

/* v0.3.13 — rotating client quotes beside the testimonials video */
.kept--clients .kept__grid{ align-items: stretch; }
.tquotes{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 28px);
  padding: clamp(22px, 3vw, 40px) clamp(22px, 3.2vw, 44px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #000;
  min-height: 0;
}
.tquotes::before{
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: .7;
}
.tquotes__intro{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.35;
  color: rgba(243,241,236,.62);
  max-width: 28em;
}
.tquotes__rotator{ position: relative; }
.tquotes__item{
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .8s ease, visibility .8s ease;
}
.tquotes__item.is-on{
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.tquotes__item:not(.is-on){
  position: absolute;
  left: 0; right: 0; top: 0;
}
.tquotes__q{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.15vw, 34px);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
}
.tquotes__who{
  margin-top: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-style: normal;
}
.tquotes__who cite{
  font-family: 'CormorantSC', var(--serif);
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.tquotes__who span{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(243,241,236,.5);
}
@media (max-width: 760px){
  .tquotes{ padding: 28px 22px 32px; min-height: 0; }
  .tquotes::before{ display: none; }
  .tquotes__q{ font-size: clamp(22px, 6.2vw, 30px); }
}
@media (prefers-reduced-motion: reduce){
  .tquotes__item{ transition: none; }
}
