/* Loop Award refinements 1.4: surgical corrections; no global heading redesign. */
/* One identical approved navigation on every frontend template. */
.header{z-index:150}
.lc-site-body .header .head-inner{width:min(100% - 7vw,1580px);min-height:98px;display:flex;align-items:center;justify-content:space-between}
.lc-site-body .header .nav{display:flex;align-items:center;gap:clamp(1.1rem,2.6vw,3rem)}
.lc-site-body .header .nav a{display:inline-flex;align-items:center;gap:.5rem;font-size:clamp(.7rem,.85vw,.84rem);letter-spacing:.12em;white-space:nowrap;text-transform:uppercase;font-weight:900;line-height:1.3}
.lc-site-body .header .nav a:not(.nav-cta):hover{color:var(--yellow)}
.lc-site-body .header .nav .nav-cta{background:var(--yellow);color:var(--ink)!important;padding:1rem 1.15rem;min-height:48px}
.lc-site-body .header .nav .lc-arrow-svg{width:1.1rem;height:1.1rem;stroke:currentColor;fill:none}
.lc-site-body .header .logo{flex-shrink:0}
.lc-official-logo{width:auto!important;max-width:min(225px,32vw);max-height:75px;height:auto!important;display:block;object-fit:contain;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;mix-blend-mode:normal!important}
.lc-shared-logo .lc-official-logo{max-height:70px}
.footer .lc-official-logo,.lc-site-footer .lc-official-logo{max-height:90px}
/* Home and interior pages must preserve sufficient space beneath the absolute menu. */
.lc-site-body .lc-page-hero-inner{padding-top:clamp(145px,13vw,210px)}
.lc-site-body .lc-site-main{min-height:50vh}
.lc-site-body .lc-page-title{line-height:1.02;letter-spacing:-.075em;margin:clamp(42px,5.5vw,85px) 0;text-wrap:balance}
.lc-site-body .lc-section-heading h2{line-height:1.05;letter-spacing:-.07em;text-wrap:balance}
.lc-site-body .lc-section-heading{row-gap:clamp(24px,3vw,52px)}
/* Original home titles keep their scale, with breathing room between lines. */
.lc-theme-home .statement h2,.lc-theme-home .section-top h2,.lc-theme-home .projects h2,.lc-theme-home .resources h2,.lc-theme-home .technology h2{line-height:1.02;letter-spacing:-.075em}
.lc-theme-home .contact h2{line-height:.98;letter-spacing:-.075em}
.lc-theme-home .section-top,.lc-theme-home .projects-top{gap:clamp(34px,4vw,75px)}
.lc-theme-home .services .section-top,.lc-theme-home .resources .section-top,.lc-theme-home .technology .section-top{margin-bottom:clamp(50px,6vw,100px)}
/* Process counter 01 / 03 is text, not an overlapping floating glyph. */
.motion-counter{display:flex!important;align-items:flex-start!important;gap:clamp(12px,2vw,30px)!important;letter-spacing:normal!important;line-height:1!important;white-space:nowrap!important}
.motion-counter strong{font-size:clamp(5.5rem,12vw,12rem);line-height:.83;letter-spacing:-.09em;display:block}
.motion-total{font-size:clamp(1.15rem,2.3vw,2.1rem);font-weight:850;color:#b9afd0;letter-spacing:.02em;line-height:1.2;margin-top:.42em;display:inline-block}
/* Motion button: separate control from scroll hint; no overlapping labels. */
.motion-footer{left:4vw;right:auto;bottom:clamp(22px,4.2vh,50px);max-width:calc(100% - 370px)}
.motion-tag{right:4vw;left:auto;bottom:clamp(20px,3.2vh,42px);min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;gap:11px;font-size:.7rem;line-height:1.2;white-space:nowrap;max-width:270px}
.motion-tag:before{display:none}.motion-led{flex-shrink:0;width:9px;height:9px;border-radius:50%;background:#e7fb4e;box-shadow:0 0 9px #e7fb4e}
.motion-tag[aria-pressed="true"] .motion-led{background:#ff899d;box-shadow:none}
@media(max-width:1100px){.lc-site-body .header .nav{gap:16px}.lc-site-body .header .nav a{font-size:.66rem;letter-spacing:.07em}}
@media(max-width:900px){
 .lc-site-body .header .head-inner{min-height:81px}
 .lc-site-body .header .menu-toggle{display:inline-flex;align-items:center;gap:10px;color:#fff}
 .lc-site-body .header .nav{display:none;position:absolute;top:81px;left:0;right:0;background:#17111f;border-bottom:1px solid #706a73;padding:28px clamp(22px,5vw,52px) 40px;flex-direction:column;align-items:stretch;gap:22px;max-height:calc(100svh - 81px);overflow-y:auto;z-index:155}
 .lc-site-body .header .nav[data-open="true"]{display:flex}
 .lc-site-body .header .nav a{font-size:1rem;letter-spacing:.09em}
 .lc-site-body .header .nav .nav-cta{justify-content:space-between}
 .lc-site-body .lc-page-title{font-size:clamp(3.25rem,11vw,6rem)}
}
@media(max-width:700px){
 .lc-site-body .header .head-inner{width:calc(100% - 34px)}
 .lc-official-logo{max-width:160px;max-height:51px}
 .lc-site-body .lc-page-hero-inner{padding-top:125px}
 .lc-site-body .lc-page-title{line-height:1.08;letter-spacing:-.068em}
 .lc-theme-home .statement h2,.lc-theme-home .section-top h2,.lc-theme-home .projects h2,.lc-theme-home .resources h2,.lc-theme-home .technology h2{line-height:1.09;letter-spacing:-.075em}
 .lc-theme-home .contact h2{line-height:1.07}
 .motion-footer{display:none}
 .motion-tag{position:static;max-width:100%;align-self:flex-start;margin-top:20px;padding:13px 16px;font-size:.67rem}
 .motion-sticky{padding-bottom:55px}
 .motion-counter{display:none!important}
}
@media(max-width:390px){
 .lc-official-logo{max-width:138px;max-height:45px}
 .lc-site-body .header .menu-toggle{font-size:.7rem}
 .lc-site-body .lc-page-title{font-size:clamp(2.8rem,12vw,4.5rem)}
}
.lc-elementor-page{position:relative;min-height:30vh}
.lc-elementor-page .elementor{width:100%}
.lc-elementor-page .elementor-widget-heading h1,.lc-elementor-page .elementor-widget-heading h2{line-height:1.06;letter-spacing:-.07em}
/* Elementor frontend and the editor remain on theme-width containers; no duplicate template hero. */
.lc-elementor-page .elementor-widget-text-editor p{line-height:1.6}

/* Optional Elementor-native imported templates; original site unaffected until imported. */
.lc-elementor-page .lc-el-native-hero{background:#121118;color:#fff;min-height:64svh;justify-content:center;gap:20px}
.lc-elementor-page .lc-el-native-hero h1{font-size:clamp(3.6rem,10vw,10rem);line-height:1.03;letter-spacing:-.075em;font-weight:950;text-transform:uppercase}
.lc-elementor-page .lc-el-native-hero .elementor-widget-text-editor{max-width:700px;font-size:clamp(1.1rem,1.5vw,1.45rem)}
.lc-elementor-page .lc-el-native-hero .elementor-button{background:#f4ff48;color:#121118;font-weight:900;text-transform:uppercase;border-radius:0;padding:18px 24px}
.lc-elementor-page .lc-el-native-content{background:#f4f1e9;color:#121118;gap:20px}
.lc-elementor-page .lc-el-native-content h2{font-size:clamp(2.8rem,7vw,7.5rem);line-height:1.05;letter-spacing:-.075em;text-transform:uppercase}
.lc-elementor-page .lc-el-native-card{background:#f4f1e9;color:#121118;border-top:1px solid #141018;gap:12px}
.lc-elementor-page .lc-el-native-card h3{font-size:clamp(1.6rem,3.5vw,3.5rem);line-height:1.1;text-transform:uppercase;font-weight:900}

/* Fallback logo is revealed only after same-origin conversion, preventing a cream flash. */
.lc-logo-awaiting{opacity:0;transition:opacity .2s}.lc-official-logo:not(.lc-logo-awaiting){opacity:1}
@media(max-width:440px){
  .lc-footer-grid>div{min-width:0}
  .lc-footer-grid a{overflow-wrap:anywhere;word-break:break-word}
}


/* LOOP AWARD 1.4.1 — TYPOGRAPHIC RHYTHM / APPROVED ART DIRECTION
 * Deliberately scoped to the original front-page blocks. Do not flatten the display hierarchy. */
.lc-theme-home :is(.services,.projects,.technology,.resources) h2{
  letter-spacing:-.045em;
  line-height:1.16;
  font-kerning:normal;
  text-wrap:balance;
}
/* The long third line "EN EL SISTEMA" needs extra room, without reducing the other titles. */
.lc-theme-home .technology .section-top h2{
  letter-spacing:-.048em;
  line-height:1.14;
  font-size:clamp(3.55rem,7.25vw,8.5rem);
  max-width:1280px;
}
.lc-theme-home .resources .section-top h2{
  letter-spacing:-.045em;
  line-height:1.16;
  font-size:clamp(3.45rem,7.2vw,8.45rem);
  max-width:1320px;
}
/* The footer should read as a deliberate compact composition, not two isolated poles. */
.lc-theme-home .footer .wrap{
  width:min(calc(100% - 7vw),1160px);
}
.lc-theme-home .footer .footer-top{
  display:grid;
  grid-template-columns:minmax(170px,1fr) auto;
  align-items:center;
  column-gap:clamp(30px,4vw,75px);
  padding-bottom:clamp(38px,4.5vw,62px);
}
.lc-theme-home .footer .footer-links{
  justify-content:flex-end;
  gap:clamp(13px,1.7vw,25px);
  font-size:.82rem;
  line-height:1.5;
}
.lc-theme-home .footer .footer-bottom{
  gap:clamp(20px,3.5vw,60px);
  line-height:1.6;
}
@media(max-width:900px){
  .lc-theme-home :is(.services,.projects,.technology,.resources) h2{
    letter-spacing:-.04em;
    line-height:1.17;
  }
  .lc-theme-home .technology .section-top h2,
  .lc-theme-home .resources .section-top h2{
    font-size:clamp(3.2rem,9.2vw,6.5rem);
  }
}
@media(max-width:610px){
  .lc-theme-home :is(.services,.projects,.technology,.resources) h2{
    line-height:1.2;
    letter-spacing:-.045em;
  }
  .lc-theme-home .technology .section-top h2,
  .lc-theme-home .resources .section-top h2{
    font-size:clamp(3.25rem,12vw,5.4rem);
    letter-spacing:-.05em;
  }
  .lc-theme-home .footer .wrap{width:calc(100% - 40px)}
  .lc-theme-home .footer .footer-top{
    grid-template-columns:1fr;
    justify-items:start;
    row-gap:clamp(26px,6vw,40px);
    padding-bottom:35px;
  }
  .lc-theme-home .footer .footer-links{
    justify-content:flex-start;
    column-gap:21px;
    row-gap:12px;
  }
  .lc-theme-home .footer .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .lc-theme-home .footer .footer-bottom span:last-child{text-align:left}
}
@media(max-width:360px){
  .lc-theme-home .technology .section-top h2,
  .lc-theme-home .resources .section-top h2{font-size:clamp(3rem,11vw,4.1rem)}
}


/* LOOP AWARD 1.5 — restore the approved generous typography from section 01.5. */
.lc-theme-home .signature h2{line-height:1.145;letter-spacing:-.052em;text-wrap:balance}
.lc-theme-home :is(.services,.projects,.technology,.resources) .section-top h2,
.lc-theme-home .projects .projects-top h2{
  line-height:1.16;
  letter-spacing:-.047em;
  text-wrap:balance;
  overflow-wrap:normal;
}
.lc-theme-home .services .section-top,
.lc-theme-home .technology .section-top,
.lc-theme-home .resources .section-top{margin-bottom:clamp(55px,6vw,100px)}
/* Real portfolio experiment: Black Sheep. Editorial interpretation, not claimed before/after. */
.lc-black-sheep-compare .lc-case-before{background:#dfddd5}
.lc-black-sheep-compare .before-inner,
.lc-black-sheep-compare .after-inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:clamp(24px,3vw,50px);min-width:0}
.lc-black-sheep-compare .before-inner{right:50%;padding-right:clamp(18px,2vw,38px)}
.lc-black-sheep-compare .after-inner{left:50%;padding-left:clamp(18px,2vw,38px);align-items:flex-end;text-align:right}
.lc-black-sheep-compare .break-label{font-size:clamp(.58rem,.8vw,.74rem);letter-spacing:.1em;padding:12px 13px;margin:0;white-space:normal;line-height:1.25;position:relative;z-index:2}
.lc-black-sheep-compare .before-inner p,
.lc-black-sheep-compare .after-inner p{margin:0;max-width:320px;font-size:clamp(.85rem,1vw,1.03rem);line-height:1.48;font-weight:700;position:relative;z-index:2}
.lc-case-plain-art{width:100%;max-width:550px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;margin:auto 0;color:#77736e;font-size:clamp(3rem,7.4vw,8rem);font-weight:900;line-height:.9;letter-spacing:-.095em;text-shadow:2px 3px 0 #fff8}
.lc-case-plain-art small{margin-top:18px;font-size:clamp(.56rem,.8vw,.85rem);letter-spacing:.2em;line-height:1.3;font-weight:800;text-shadow:none}
.lc-case-after{background:#272124;color:#fff}
.lc-case-photo{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.48;filter:saturate(.8);pointer-events:none}
.lc-black-sheep-compare .after-orbit.one{border-color:#f4ff48;opacity:.65;width:52vw;top:-65%;right:-9%}
.lc-black-sheep-compare .after-orbit.two{border-color:#9f42ea;opacity:.38;width:42vw;right:-23%;top:27%;}
.lc-case-brand-art{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:12px;margin:auto 0;max-width:100%;min-width:0;position:relative;z-index:2}
.lc-case-brand-art .lc-case-subtitle{font-size:clamp(.5rem,.7vw,.78rem);font-weight:900;letter-spacing:.2em;text-transform:uppercase}
.lc-case-brand-art strong{display:block!important;margin:0!important;color:#fff!important;font-size:clamp(3.2rem,7.4vw,8rem)!important;font-weight:950!important;line-height:.9!important;letter-spacing:-.09em!important;text-transform:uppercase;text-shadow:4px 7px 0 #150c19}
.lc-case-brand-art strong i{display:inline-block;color:#f4ff48!important;font-style:normal;transform:rotate(-4deg);text-shadow:6px 9px 0 #a53fb2}
.lc-case-brand-art .lc-case-stripe{display:inline-block;background:#f4ff48;color:#17131e;padding:7px 12px;transform:rotate(-3deg);font-size:clamp(.55rem,.75vw,.8rem);font-weight:950;letter-spacing:.09em;line-height:1.2}
.lc-black-sheep-compare .break-grab svg{width:25px;height:25px}
.lc-case-footnote{display:flex;flex-direction:column;gap:8px;max-width:700px}
.lc-case-footnote strong{font-size:.68rem;letter-spacing:.15em}
.lc-case-footnote span{font-size:.78rem;line-height:1.5;opacity:.75}
/* Strongly space Gutenberg/legacy pages even when old page-loop-editor template is selected. */
.lc-legacy-content .lc-prose{font-size:clamp(1.03rem,1.2vw,1.2rem);line-height:1.72;padding-block:clamp(70px,8vw,135px);max-width:1080px;margin-inline:auto;overflow-wrap:anywhere}
.lc-legacy-content .lc-prose>*+*{margin-block-start:clamp(19px,2.4vw,40px)}
.lc-legacy-content .lc-prose :is(h2,h3,h4){font-weight:900;text-transform:none;letter-spacing:-.05em;line-height:1.12;margin-top:clamp(50px,6vw,85px);margin-bottom:clamp(15px,2vw,25px)}
.lc-legacy-content .lc-prose h2{font-size:clamp(2.4rem,5vw,5.5rem)}
.lc-legacy-content .lc-prose h3{font-size:clamp(1.7rem,3vw,3.2rem)}
.lc-legacy-content .lc-prose :is(img,picture,video,iframe){max-width:100%;height:auto}
.lc-legacy-content .lc-prose .wp-block-columns{gap:clamp(25px,4vw,70px)}
.lc-legacy-content .lc-prose .wp-block-button__link{display:inline-flex;padding:16px 22px;min-height:50px;align-items:center}
.lc-legacy-content .lc-prose :is(a:not(.wp-block-button__link)){text-underline-offset:4px}
.lc-legacy-content .lc-prose .wp-block-group{min-width:0}
@media(max-width:900px){
  .lc-theme-home .signature h2{line-height:1.16;letter-spacing:-.055em}
  .lc-theme-home :is(.services,.projects,.technology,.resources) .section-top h2{line-height:1.19;letter-spacing:-.047em}
  .lc-black-sheep-compare .before-inner,.lc-black-sheep-compare .after-inner{padding:clamp(16px,2.5vw,27px)}
  .lc-black-sheep-compare .before-inner{right:50%;padding-right:10px}
  .lc-black-sheep-compare .after-inner{left:50%;padding-left:10px}
  .lc-case-plain-art{font-size:clamp(2.3rem,7.8vw,5.5rem)}
  .lc-case-brand-art strong{font-size:clamp(2.3rem,7.6vw,5.6rem)!important}
}
@media(max-width:610px){
  .lc-theme-home .signature h2{line-height:1.2;letter-spacing:-.055em}
  .lc-theme-home :is(.services,.projects,.technology,.resources) .section-top h2{line-height:1.21;letter-spacing:-.05em}
  .lc-black-sheep-compare .break-label{font-size:.53rem;letter-spacing:.02em;padding:7px;max-width:100%}
  .lc-black-sheep-compare .before-inner p,.lc-black-sheep-compare .after-inner p{font-size:.68rem;line-height:1.3}
  .lc-case-plain-art{font-size:clamp(1.4rem,8vw,2.65rem)}
  .lc-case-plain-art small{font-size:.4rem;letter-spacing:.05em;margin-top:8px}
  .lc-case-brand-art strong{font-size:clamp(1.55rem,7.8vw,3.1rem)!important;letter-spacing:-.09em!important}
  .lc-case-brand-art .lc-case-subtitle{font-size:.4rem;letter-spacing:.06em}
  .lc-case-brand-art .lc-case-stripe{font-size:.44rem;letter-spacing:.025em;padding:5px}
  .lc-legacy-content .lc-prose{padding-block:65px}
}
