:root{
  --bg:#3b3d3f;
  --bg-soft:#303234;
  --ink:#101317;
  --muted:#5f656d;
  --line:rgba(255,255,255,.13);
  --line-dark:rgba(0,0,0,.10);
  --paper:#ffffff;
  --paper-soft:#f4f3ef;
  --accent:#c9c9c4;
  --radius:28px;
  --shadow:0 30px 80px rgba(0,0,0,.18);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:var(--paper-soft);
  color:var(--ink);
}
img{max-width:100%;display:block}
button,a{font:inherit}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.logohero{width: 300px}

.site-header{
  position:fixed;
  z-index:50;
  top:22px;
  left:50%;
  transform:translateX(-50%);
  width:min(1180px,calc(100% - 32px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:10px 18px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  background:rgba(48,50,52,.78);
  backdrop-filter:blur(20px);
  color:#fff;
  box-shadow:0 18px 60px rgba(0,0,0,.22);
}
.brand{display:flex;align-items:center;min-width:160px}

.main-nav{display:flex;gap:24px;color:rgba(255,255,255,.72);font-weight:700}
.main-nav a:hover{color:white}
.lang-switch{display:flex;gap:5px;padding:4px;border:1px solid rgba(255,255,255,.13);border-radius:999px}
.lang-btn{
  border:0;
  border-radius:999px;
  background:transparent;
  color:rgba(255,255,255,.72);
  padding:10px 13px;
  cursor:pointer;
  font-size:12px;
  font-weight:800;
}
.lang-btn.active{background:#fff;color:#111}

.section-dark{
  background:
    radial-gradient(circle at 82% 30%,rgba(255,255,255,.10),transparent 30%),
    radial-gradient(circle at 8% 86%,rgba(0,0,0,.10),transparent 32%),
    linear-gradient(180deg,var(--bg),var(--bg-soft));
  color:#fff;
  position:relative;
  overflow:hidden;
}
.section-light{background:var(--paper-soft);color:var(--ink)}
.network-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:.55;
  z-index:0;
}
.orb{position:absolute;border-radius:999px;filter:blur(18px);pointer-events:none;z-index:0}
.orb-one{width:330px;height:330px;background:rgba(255,255,255,.09);right:-90px;top:19%}
.orb-two{width:260px;height:260px;background:rgba(0,0,0,.10);left:-100px;bottom:12%}
.hero-iso{display:none}

.hero{min-height:850px;display:grid;align-items:center;padding-top:110px}
.hero-grid{position:relative;z-index:1}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:13px;
  font-weight:900;
  color:rgba(255,255,255,.72);
  margin:0 0 22px;
}
.eyebrow.dark{color:#9aa0a6}
.hero h1{
  font-size:clamp(70px,9vw,126px);
  line-height:.88;
  letter-spacing:-.075em;
  margin:0 0 24px;
}
.hero h2{
  font-size:clamp(48px,6vw,86px);
  line-height:.95;
  letter-spacing:-.075em;
  margin:0 0 30px;
  color:rgba(255,255,255,.74);
}
.hero-text{
  font-size:24px;
  line-height:1.42;
  max-width:760px;
  margin:0 0 38px;
  color:rgba(255,255,255,.82);
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  padding:16px 24px;
  border-radius:16px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.16);
}
.btn.primary{background:#fff;color:#000}
.btn.ghost{color:#fff;background:rgba(255,255,255,.04)}

.work-section{padding:100px 0}
.section-heading h2{
  font-size:clamp(34px,4vw,52px);
  line-height:1.02;
  letter-spacing:-.06em;
  margin:0 0 40px;
  max-width:850px;
}
.work-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  transition:all .35s ease;
}
.work-card{
  position:relative;
  min-height:300px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:28px;
  overflow:hidden;
  padding:26px;
  text-align:left;
  color:#fff;
  background-image:
    linear-gradient(180deg,rgba(0,0,0,.30),rgba(0,0,0,.76)),
    var(--bg);
  background-size:cover;
  background-position:center;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:transform .28s ease, box-shadow .28s ease, opacity .28s ease;
}
.work-card:hover{transform:translateY(-4px);}
.work-card.active{outline:2px solid rgba(255,255,255,.65)}
.work-number{font-weight:900;color:rgba(255,255,255,.72);font-size:18px}
.work-content strong{display:block;font-size:28px;letter-spacing:-.04em;margin-bottom:14px}
.work-content small{display:block;font-size:17px;line-height:1.45;color:rgba(255,255,255,.86)}

.work-grid.has-active{grid-template-columns:repeat(7,1fr)}
.work-grid.has-active .work-card{min-height:150px;padding:18px}
.work-grid.has-active .work-card:not(.active){opacity:.75}
.work-grid.has-active .work-content small{display:none}
.work-grid.has-active .work-content strong{font-size:16px;margin:0}
.work-grid.has-active .work-number{font-size:13px}

.project-detail{
  margin-top:34px;
  background:#fff;
  border:1px solid rgba(0,0,0,.1);
  border-radius:36px;
  padding:44px;
  box-shadow:0 20px 70px rgba(0,0,0,.08);
}
.project-detail-header h3{
  font-size:clamp(34px,4vw,54px);
  margin:0 0 14px;
  letter-spacing:-.06em;
  color:#3b3d3f;
}
.project-detail-header p{
  font-size:21px;
  color:#4f5660;
  max-width:760px;
  line-height:1.45;
}
.project-panels{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:34px 0;
}
.project-panel{
  padding:26px;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
  background:#fafafa;
}
.project-panel span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.2em;
  color:#9aa0a6;
  font-size:12px;
  font-weight:900;
  margin-bottom:12px;
}
.project-panel p{margin:0;color:#4f5660;line-height:1.5}
.visual-system{
  display:grid;
  grid-template-columns:.9fr 1.4fr;
  gap:28px;
  align-items:start;
  margin-top:24px;
}
.visual-copy h4{
  font-size:32px;
  line-height:1.08;
  letter-spacing:-.05em;
  margin:0 0 16px;
}
.visual-copy p:not(.eyebrow){color:#5b626b;line-height:1.55}
.placeholder-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.placeholder-img{
  border: 9px solid white;
  padding:0;
  height:220px;
  border-radius:22px;
  overflow:hidden;
  background:#ddd;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}
.placeholder-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.placeholder-img:hover img{transform:scale(1.04)}

.trust-bar{
  background:#383a3c;
  border-top:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);
  color:#bfc3c7;
}
.trust-list{
  padding:32px 0;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:20px;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:900;
  font-size:13px;
}

.about,.experience,.education{padding:100px 0}
.about-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
}
.about h2,.experience h2,.education h2,.contact h2{
  font-size:clamp(42px,5vw,72px);
  line-height:.98;
  letter-spacing:-.07em;
  margin:0;
}
.about p:not(.eyebrow){
  font-size:22px;
  line-height:1.55;
  color:#555d67;
  margin:0;
}
.experience-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:42px;
}
.experience-list article{
  background:#fff;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
  padding:26px;
  min-height:300px;
  position:relative;
  overflow:hidden;
}
.experience-icon{
  width:46px;
  height:46px;
  border-radius:999px;
  background:#303234;
  display:grid;
  place-items:center;
  margin-bottom:28px;
}
.experience-icon img{width:28px;height:28px;object-fit:contain}
.experience-list span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#9aa0a6;
  font-size:12px;
  font-weight:900;
  margin-bottom:16px;
}
.experience-list h3{
  font-size:22px;
  line-height:1.1;
  letter-spacing:-.04em;
  margin:0 0 18px;
}
.experience-list p{color:#5b626b;line-height:1.5;margin:0}

.education-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:34px;
}
.education-list article{
  background:#fff;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
  padding:28px;
}
.education-list h3{font-size:20px;line-height:1.2;letter-spacing:-.03em}
.education-list p{color:#5b626b}

.contact{padding:110px 0}
.contact-content{position:relative;z-index:1}
.contact-iso{width:72px;opacity:.5;margin-bottom:28px}
.contact p{
  font-size:22px;
  line-height:1.5;
  max-width:720px;
  color:rgba(255,255,255,.75);
}
.contact-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:34px;color:#fff;font-weight:800}
.contact-network{opacity:.32}

.lightbox{
  position:fixed;
  inset:0;
  z-index:999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(45,46,48,.94);
  backdrop-filter:blur(14px);
  overflow:hidden;
}
.lightbox.open{display:flex}
.lightbox-stage{
  width:min(88vw,1400px);
  height:82vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  cursor:grab;
}
.lightbox-stage.dragging{cursor:grabbing}
.lightbox img{
  max-width:100%;
  max-height:100%;
  user-select:none;
  transform-origin:center center;
  transition:transform .12s linear;
}
.lightbox-close,.lightbox-nav,.lightbox-controls button{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  border-radius:999px;
  cursor:pointer;
}
.lightbox-close{
  position:absolute;
  top:22px;
  right:22px;
  width:46px;
  height:46px;
  font-size:30px;
}
.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  font-size:38px;
}
.lightbox-nav.prev{left:22px}
.lightbox-nav.next{right:22px}
.lightbox-controls{
  position:absolute;
  bottom:22px;
  display:flex;
  gap:8px;
}
.lightbox-controls button{
  min-width:52px;
  height:42px;
  padding:0 14px;
  font-weight:900;
}

@media (max-width:1100px){
  .experience-list{grid-template-columns:repeat(2,1fr)}
  .main-nav{gap:14px}
}
@media (max-width:900px){
  .main-nav{display:none}
  
  .hero{min-height:760px}
  .work-grid,.work-grid.has-active{grid-template-columns:1fr}
  .work-grid.has-active .work-card{min-height:220px}
  .work-grid.has-active .work-content small{display:block}
  .work-grid.has-active .work-content strong{font-size:28px;margin-bottom:14px}
  .project-panels,.visual-system,.about-grid,.education-list,.experience-list{grid-template-columns:1fr}
  .placeholder-gallery{grid-template-columns:1fr}
  .trust-list{grid-template-columns:repeat(2,1fr)}
  .hero-iso{display:none}
}


.project-extra{
  margin-top:34px;
}
.maestra-block{
  margin-top:34px;
  padding-top:34px;
  border-top:1px solid rgba(0,0,0,.1);
}
.maestra-block h4{
  font-size:32px;
  line-height:1.05;
  letter-spacing:-.05em;
  margin:0 0 22px;
}
.youtube-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.youtube-card{
  background:#111;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.14);
}
.youtube-frame{
  aspect-ratio:16/9;
  width:100%;
  border:0;
  display:block;
}
.youtube-title{
  min-height:78px;
  padding:16px;
  color:#fff;
  font-weight:800;
  font-size:14px;
  line-height:1.28;
}
.graphics-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.graphic-placeholder{
  height:220px;
  border:1px dashed rgba(0,0,0,.22);
  border-radius:22px;
  background:
    linear-gradient(135deg,rgba(0,0,0,.04),rgba(0,0,0,.01)),
    #f7f7f7;
  display:grid;
  place-items:center;
  color:#8b929a;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}
.rrss-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
}
.rrss-card{
    border: 9px solid white;
  padding:0;
  background:#111;
  border-radius:22px;
  overflow:hidden;
  cursor:pointer;
  aspect-ratio:9/16;
  position:relative;
  box-shadow:0 12px 34px rgba(0,0,0,.14);
}
.rrss-card video,
.rrss-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.rrss-card::after{
  content:"▶";
  position:absolute;
  inset:auto 14px 14px auto;
  width:40px;
  height:40px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.92);
  color:#111;
  font-size:13px;
  font-weight:900;
}
.rrss-card.placeholder{
  display:grid;
  place-items:center;
  color:#fff;
  background:
    linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.7)),
    url("../img/maestra-alessia/rrss-placeholder.jpg");
  background-size:cover;
  background-position:center;
}
.rrss-card.placeholder span{
  position:absolute;
  left:14px;
  bottom:14px;
  right:54px;
  font-size:12px;
  line-height:1.2;
  font-weight:900;
}
@media (max-width:1100px){
  .youtube-grid{grid-template-columns:repeat(2,1fr)}
  .graphics-grid{grid-template-columns:repeat(2,1fr)}
  .rrss-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:700px){
  .youtube-grid,.graphics-grid,.rrss-grid{grid-template-columns:1fr}
}


.youtube-card.video-only{
  background:transparent;
  box-shadow:none;
  border-radius:22px;
}

.youtube-card.video-only .youtube-frame{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.14);
}

.maestra-graphics-text{
  max-width:840px;
  color:#5b626b;
  font-size:18px;
  line-height:1.55;
  margin:0 0 24px;
}

.graphic-placeholder.has-image{
  border: 9px solid white;
  padding:0;
  overflow:hidden;
  cursor:pointer;
  display:block;
  background:#ddd;
}

.graphic-placeholder.has-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
}

.graphic-placeholder.has-image:hover img{
  transform:scale(1.04);
}

.rrss-card{
  display:block;
}

.rrss-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#111;
}

.rrss-fullscreen{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#111;
  font-weight:900;
  cursor:pointer;
  z-index:3;
}

.rrss-card::after{
  display:none;
}




.project-content-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
  margin:34px 0;
}

.project-content-row .project-column{
  min-height:180px;
}

.project-content-row .visual-copy{
  padding:26px;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
  background:#fafafa;
}

.project-content-row .visual-copy h4{
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.05em;
  margin:0 0 14px;
}

.project-content-row .visual-copy p:not(.eyebrow){
  color:#5b626b;
  line-height:1.5;
  margin:0;
}

.project-content-row + .placeholder-gallery{
  margin-top:18px;
}

.experience-list.old-style{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:42px;
}

.experience-list.old-style article{
  display:grid;
  grid-template-columns:170px 1fr 1.55fr;
  gap:28px;
  align-items:center;
  min-height:auto;
  padding:24px 26px;
}

.experience-list.old-style .experience-icon{
  display:none;
}

.experience-list.old-style span{
  margin:0;
}

.experience-list.old-style h3{
  margin:0;
  font-size:20px;
}

.experience-list.old-style p{
  margin:0;
}

.lightbox-video{
  height:min(86vh,920px);
  aspect-ratio:9/16;
  width:auto;
  max-width:86vw;
  border-radius:24px;
  background:#000;
  display:block;
}
@media (max-width:900px){
  .project-content-row{
    grid-template-columns:1fr;
  }
  .experience-list.old-style article{
    grid-template-columns:1fr;
    gap:12px;
  }
}



.section-white{
  background:#fff;
  color:var(--ink);
}


.experience.section-white{
  background:#fff;
}

.experience-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:42px;
}

.experience-list article{
  display:grid;
  grid-template-columns:170px 1fr 1.55fr;
  gap:28px;
  align-items:center;
  min-height:auto;
  padding:24px 26px;
  background:#fff;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
}

.experience-list .experience-icon{
  display:none;
}

.experience-list span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#9aa0a6;
  font-size:12px;
  font-weight:900;
  margin:0;
}

.experience-list h3{
  margin:0;
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.04em;
}

.experience-list p{
  color:#5b626b;
  line-height:1.5;
  margin:0;
}


.brand{
  display:flex;
  align-items:center;
  min-width:56px;
  height:52px;
  position:relative;
}
.brand-logo{
  display:block;
  width:auto;
  transition:opacity .28s ease, transform .28s ease, height .28s ease;
}
.brand-logo-iso{
  height:44px;
  opacity:1;
  transform:translateY(0);
}
.brand-logo-full{
  position:absolute;
  left:0;
  height:46px;
  opacity:0;
  transform:translateY(4px);
  pointer-events:none;
}
.site-header.is-scrolled .brand{
  min-width:210px;
}
.site-header.is-scrolled .brand-logo-iso{
  opacity:0;
  transform:translateY(-4px);
}
.site-header.is-scrolled .brand-logo-full{
  opacity:1;
  transform:translateY(0);
}


.project-content-row{
  display:grid;
  grid-template-columns:1.65fr .8fr .8fr;
  gap:18px;
  align-items:stretch;
  margin:34px 0;
}
.project-column{
  min-height:180px;
}
.project-content-row .visual-copy{
  padding:0 28px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
}
.project-content-row .visual-copy h4{
  font-size:clamp(28px,3.2vw,44px);
  line-height:1.04;
  letter-spacing:-.06em;
  margin:0 0 16px;
  color:#101317;
}
.project-content-row .visual-copy p:not(.eyebrow){
  color:#5b626b;
  line-height:1.5;
  margin:0;
  max-width:520px;
}
.project-content-row .project-panel{
  padding:24px;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
  background:#fafafa;
}
.project-content-row + .placeholder-gallery{
  margin-top:18px;
}

.placeholder-gallery{
  grid-template-columns:repeat(4,1fr);
}
.placeholder-img{
  height:220px;
}


.section-white{
  background:#fff;
  color:var(--ink);
}
.experience.section-white{
  background:#fff;
}
.experience-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:42px;
}
.experience-list article{
  display:grid;
  grid-template-columns:170px 1fr 1.55fr;
  gap:28px;
  align-items:center;
  min-height:auto;
  padding:24px 26px;
  background:#fff;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
}
.experience-list .experience-icon{
  display:none;
}
.experience-list span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#9aa0a6;
  font-size:12px;
  font-weight:900;
  margin:0;
}
.experience-list h3{
  margin:0;
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.04em;
}
.experience-list p{
  color:#5b626b;
  line-height:1.5;
  margin:0;
}

.lightbox-video{
  height:min(86vh,920px);
  aspect-ratio:9/16;
  width:auto;
  max-width:86vw;
  border-radius:24px;
  background:#000;
  display:block;
}

@media (max-width:900px){
  .project-content-row{
    grid-template-columns:1fr;
  }
  .placeholder-gallery{
    grid-template-columns:1fr;
  }
  .experience-list article{
    grid-template-columns:1fr;
    gap:12px;
  }
  .site-header.is-scrolled .brand{
    min-width:56px;
  }
  .site-header.is-scrolled .brand-logo-full{
    display:none;
  }
  .site-header.is-scrolled .brand-logo-iso{
    opacity:1;
  }
}


/* 16:9 project thumbnails */
.work-card{
  aspect-ratio:16/9;
  min-height:auto;
}
.work-grid.has-active .work-card{
  aspect-ratio:16/9;
  min-height:auto;
}

/* Brand strip moved below experience */
.brand-strip{
  background:var(--paper-soft);
  border:0;
  padding:0 0 100px;
}
.brand-logo-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
}
.brand-logo-card{
  min-height:92px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(0,0,0,.09);
  display:grid;
  place-items:center;
  text-align:center;
  color:#3b3d3f;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 18px 44px rgba(0,0,0,.06);
}
.brand-logo-card small{
  display:block;
  margin-top:3px;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7a8087;
}
@media (max-width:900px){
  .brand-logo-grid{
    grid-template-columns:repeat(2,1fr);
  }
}


/* Header logo animation: iso on hero, full logo after hero */
.brand{
  display:flex;
  align-items:center;
  min-width:56px;
  height:54px;
  position:relative;
  overflow:visible;
}

.brand-symbol-wrap{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:999px;
  position:relative;
  transform-origin:center;
  transition:transform .55s cubic-bezier(.2,.8,.2,1), opacity .35s ease, filter .35s ease;
}

.brand-logo{
  display:block;
  width:auto;
  max-width:none;
}

.brand-logo-iso{
  height:42px;
  width:auto;
  transform-origin:center;
  animation:isoPulseIn .7s cubic-bezier(.2,.8,.2,1) both;
}

.brand-logo-full{
  position:absolute;
  left:0;
  height:46px;
  width:auto;
  opacity:0;
  transform:translateX(-14px) scale(.92) rotate(-2deg);
  clip-path:inset(0 100% 0 0 round 14px);
  filter:blur(8px);
  pointer-events:none;
  transition:
    opacity .35s ease,
    transform .62s cubic-bezier(.16,1,.3,1),
    clip-path .62s cubic-bezier(.16,1,.3,1),
    filter .5s ease;
}

.site-header.is-scrolled .brand{
  min-width:220px;
}

.site-header.is-scrolled .brand-symbol-wrap{
  opacity:0;
  transform:scale(.55) rotate(135deg);
  filter:blur(6px);
}

.site-header.is-scrolled .brand-logo-full{
  opacity:1;
  transform:translateX(0) scale(1) rotate(0);
  clip-path:inset(0 0 0 0 round 0);
  filter:blur(0);
}

.site-header:not(.is-scrolled) .brand-logo-full{
  opacity:0;
  transform:translateX(-14px) scale(.92) rotate(-2deg);
  clip-path:inset(0 100% 0 0 round 14px);
  filter:blur(8px);
}

@keyframes isoPulseIn{
  0%{transform:scale(.7) rotate(-22deg);opacity:0;filter:blur(7px)}
  65%{transform:scale(1.08) rotate(4deg);opacity:1;filter:blur(0)}
  100%{transform:scale(1) rotate(0);opacity:1;filter:blur(0)}
}

/* Cleaner project header: only title + visual system block */
.project-detail-header p#projectSummary{
  display:none;
}

.project-detail-header h3{
  font-size:clamp(34px,4vw,54px);
  margin:0 0 26px;
  letter-spacing:-.06em;
  color:#3b3d3f;
}

/* Project content remains 3 columns, visual copy leads the content */
.project-content-row{
  display:grid;
  grid-template-columns:1.65fr .8fr .8fr;
  gap:18px;
  align-items:stretch;
  margin:18px 0 34px;
}

.project-content-row .visual-copy{
  padding:0 28px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
}

.project-content-row .visual-copy h4{
  font-size:clamp(28px,3.2vw,44px);
  line-height:1.04;
  letter-spacing:-.06em;
  margin:0 0 16px;
  color:#101317;
}

.project-content-row .visual-copy p:not(.eyebrow){
  color:#5b626b;
  line-height:1.5;
  margin:0;
  max-width:520px;
}

.project-content-row .project-panel{
  padding:24px;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
  background:#fafafa;
}

@media (max-width:900px){
  .site-header.is-scrolled .brand{
    min-width:56px;
  }
  .site-header.is-scrolled .brand-symbol-wrap{
    opacity:1;
    transform:none;
    filter:none;
  }
  .site-header.is-scrolled .brand-logo-full{
    display:none;
  }
  .project-content-row{
    grid-template-columns:1fr;
  }
}


/* ===== FINAL FIXES ===== */

/* Restore particles/canvas layers */
.section-dark{
  position:relative;
  overflow:hidden;
}
.network-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:.55;
  z-index:0;
  pointer-events:auto;
}
.hero .container,
.hero-grid,
.contact-content{
  position:relative;
  z-index:2;
}
.contact-network{
  opacity:.32;
}

/* Header logo switch: top iso, scrolled full logo */
.brand{
  display:flex;
  align-items:center;
  min-width:56px;
  height:54px;
  position:relative;
  overflow:visible;
}
.brand-symbol-wrap{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:999px;
  position:relative;
  transform-origin:center;
  transition:transform .55s cubic-bezier(.2,.8,.2,1), opacity .35s ease, filter .35s ease;
}
.brand-logo{
  display:block;
  width:auto;
  max-width:none;
}
.brand-logo-iso{
  height:42px;
  width:auto;
  transform-origin:center;
  animation:isoPulseIn .7s cubic-bezier(.2,.8,.2,1) both;
}
.brand-logo-full{
  position:absolute;
  left:0;
  height:46px;
  width:auto;
  opacity:0;
  transform:translateX(-14px) scale(.92) rotate(-2deg);
  clip-path:inset(0 100% 0 0 round 14px);
  filter:blur(8px);
  pointer-events:none;
  transition:
    opacity .35s ease,
    transform .62s cubic-bezier(.16,1,.3,1),
    clip-path .62s cubic-bezier(.16,1,.3,1),
    filter .5s ease;
}
.site-header.is-scrolled .brand{
  min-width:220px;
}
.site-header.is-scrolled .brand-symbol-wrap{
  opacity:0;
  transform:scale(.55) rotate(135deg);
  filter:blur(6px);
}
.site-header.is-scrolled .brand-logo-full{
  opacity:1;
  transform:translateX(0) scale(1) rotate(0);
  clip-path:inset(0 0 0 0 round 0);
  filter:blur(0);
}
@keyframes isoPulseIn{
  0%{transform:scale(.7) rotate(-22deg);opacity:0;filter:blur(7px)}
  65%{transform:scale(1.08) rotate(4deg);opacity:1;filter:blur(0)}
  100%{transform:scale(1) rotate(0);opacity:1;filter:blur(0)}
}

/* Cleaner project header */
.project-detail-header p#projectSummary{
  display:none;
}
.project-detail-header h3{
  font-size:clamp(34px,4vw,54px);
  margin:0 0 26px;
  letter-spacing:-.06em;
  color:#3b3d3f;
}

/* Project content: 3 columns, only removed summary */
.project-content-row{
  display:grid;
  grid-template-columns:1.65fr .8fr .8fr;
  gap:18px;
  align-items:stretch;
  margin:18px 0 34px;
}
.project-content-row .visual-copy{
  padding:0 28px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
}
.project-content-row .visual-copy h4{
  font-size:clamp(28px,3.2vw,44px);
  line-height:1.04;
  letter-spacing:-.06em;
  margin:0 0 16px;
  color:#101317;
}
.project-content-row .visual-copy p:not(.eyebrow){
  color:#5b626b;
  line-height:1.5;
  margin:0;
  max-width:520px;
}
.project-content-row .project-panel{
  padding:24px;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
  background:#fafafa;
}

/* Thumbnails 16:9 */
.work-card{
  aspect-ratio:16/9;
  min-height:auto;
}
.work-grid.has-active .work-card{
  aspect-ratio:16/9;
  min-height:auto;
}

/* Galleries: 8 images, 4 per row */
.placeholder-gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.placeholder-img{
  height:220px;
}

/* Brand strip: white full-width, no individual white boxes */
.brand-strip{
  background:#fff;
  border:0;
  padding:46px 0 80px;
}
.brand-logo-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:28px;
  align-items:center;
}
.brand-logo-grid img{
  width:100%;
  height:74px;
  object-fit:contain;
  display:block;
  filter:grayscale(1);
  opacity:.76;
  transition:opacity .25s ease, filter .25s ease, transform .25s ease;
}
.brand-logo-grid img:hover{
  filter:grayscale(0);
  opacity:1;
  transform:translateY(-2px);
}

/* Experience: concept labels, white background */
.section-white{
  background:#fff;
  color:var(--ink);
}
.experience.section-white{
  background:#fff;
}
.experience-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:42px;
}
.experience-list article{
  display:grid;
  grid-template-columns:170px 1fr 1.55fr;
  gap:28px;
  align-items:center;
  min-height:auto;
  padding:24px 26px;
  background:#fff;
  border:1px solid rgba(0,0,0,.1);
  border-radius:24px;
}
.experience-list .experience-icon{
  display:none;
}
.experience-list span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#9aa0a6;
  font-size:12px;
  font-weight:900;
  margin:0;
}
.experience-list h3{
  margin:0;
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.04em;
}
.experience-list p{
  color:#5b626b;
  line-height:1.5;
  margin:0;
}

/* RRSS lightbox video 9:16 */
.lightbox-video{
  height:min(86vh,920px);
  aspect-ratio:9/16;
  width:auto;
  max-width:86vw;
  border-radius:24px;
  background:#000;
  display:block;
}

/* Smaller section heading */
.section-heading h2{
  font-size:clamp(34px,4vw,52px);
  line-height:1.02;
  letter-spacing:-.06em;
  margin:0 0 40px;
  max-width:850px;
}

@media (max-width:900px){
  .project-content-row{
    grid-template-columns:1fr;
  }
  .placeholder-gallery{
    grid-template-columns:1fr;
  }
  .brand-logo-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .experience-list article{
    grid-template-columns:1fr;
    gap:12px;
  }
  .site-header.is-scrolled .brand{
    min-width:56px;
  }
  .site-header.is-scrolled .brand-symbol-wrap{
    opacity:1;
    transform:none;
    filter:none;
  }
  .site-header.is-scrolled .brand-logo-full{
    display:none;
  }
}

/* Hide every Visual System label */
[data-i18n="visualSystemLabel"]{
  display:none !important;
}

.placeholder-img{
  height:150px !important;
}

/* Brand logos carousel */
.brand-strip{
  background:#fff !important;
  border:0 !important;
  padding:54px 0 92px !important;
}
.brand-strip-heading{
  text-align:center;
  margin-bottom:34px;
}
.brand-strip-heading h2{
  font-size:clamp(34px,4vw,56px);
  line-height:1.04;
  letter-spacing:-.05em;
  margin:0;
  font-weight:400;
}
.brand-strip-heading h2 strong{
  font-weight:900;
}
.brand-slider{
  position:relative;
  display:grid;
  grid-template-columns:40px 1fr 40px;
  gap:18px;
  align-items:center;
}
.brand-slider-viewport{
  overflow:hidden;
  width:100%;
}
.brand-slider-track{
  display:flex;
  transition:transform .45s cubic-bezier(.16,1,.3,1);
  will-change:transform;
}
.brand-slide{
  flex:0 0 calc(100% / 6);
  display:grid;
  place-items:center;
  padding:8px 22px;
}
.brand-slide img{
  width:100%;
  height:78px;
  object-fit:contain;
  filter:none !important;
  opacity:1 !important;
  transform:none !important;
}
.brand-slider-btn{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#333;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.08);
  display:grid;
  place-items:center;
  font-size:22px;
  line-height:1;
}
@media (max-width:900px){
  .brand-slider{
    grid-template-columns:32px 1fr 32px;
  }
  .brand-slide{
    flex:0 0 calc(100% / 2);
    padding:8px 14px;
  }
}

.youtube-grid-two{
  grid-template-columns:repeat(2,1fr);
}
.project-youtube-block{
  border-top:1px solid rgba(0,0,0,.1);
}
@media (max-width:900px){
  .youtube-grid-two{
    grid-template-columns:1fr;
  }
}


/* ===== HERO LOGO WOW EFFECT ===== */
.hero{
  min-height:850px;
  display:grid;
  align-items:center;
  padding-top:110px;
}

.hero-grid{
  position:relative;
  z-index:2;
}

.hero-copy{
  min-height:520px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin-inline:auto;
}

.hero-logo-stage{
  position:relative;
  width:min(560px,78vw);
  display:grid;
  place-items:center;
  margin:0 auto 24px;
  perspective:1000px;
}

.logohero{
  width:min(520px,76vw);
  height:auto;
  position:relative;
  z-index:2;
  opacity:0;
  transform:translateY(24px) scale(.92) rotateX(7deg);
  filter:blur(10px);
  animation:
    heroLogoReveal 1.25s cubic-bezier(.16,1,.3,1) .18s forwards,
    heroLogoFloat 7s ease-in-out 1.6s infinite;
  will-change:transform, opacity, filter;
}

.hero-logo-aura{
  position:absolute;
  width:68%;
  aspect-ratio:1;
  border-radius:999px;
  background:
    radial-gradient(circle, rgba(11,174,174,.28), rgba(255,255,255,.08) 35%, transparent 68%);
  filter:blur(22px);
  opacity:0;
  transform:scale(.74);
  animation:heroAuraReveal 1.4s cubic-bezier(.16,1,.3,1) .05s forwards;
  z-index:1;
  pointer-events:none;
}

.hero-logo-stage::before,
.hero-logo-stage::after{
  content:"";
  position:absolute;
  inset:9% 6%;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  opacity:0;
  transform:scale(.82);
  animation:heroRingReveal 1.6s cubic-bezier(.16,1,.3,1) .28s forwards;
  pointer-events:none;
}

.hero-logo-stage::after{
  inset:18% 15%;
  border-color:rgba(11,174,174,.16);
  animation-delay:.42s;
}

.hero h2{
  font-size:clamp(36px,4.5vw,64px);
  line-height:.95;
  letter-spacing:-.07em;
  margin:0 0 32px;
  color:rgba(255,255,255,.74);
  opacity:0;
  transform:translateY(14px);
  animation:heroTextReveal .85s cubic-bezier(.16,1,.3,1) .75s forwards;
}

.hero-actions{
  justify-content:center;
  opacity:0;
  transform:translateY(12px);
  animation:heroTextReveal .85s cubic-bezier(.16,1,.3,1) .95s forwards;
}

@keyframes heroLogoReveal{
  0%{
    opacity:0;
    transform:translateY(28px) scale(.9) rotateX(8deg);
    filter:blur(12px);
    clip-path:inset(0 0 100% 0 round 22px);
  }
  58%{
    opacity:1;
    transform:translateY(-3px) scale(1.018) rotateX(0);
    filter:blur(0);
    clip-path:inset(0 0 0 0 round 0);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1) rotateX(0);
    filter:blur(0);
    clip-path:inset(0 0 0 0 round 0);
  }
}

@keyframes heroAuraReveal{
  0%{
    opacity:0;
    transform:scale(.62);
  }
  65%{
    opacity:1;
    transform:scale(1.08);
  }
  100%{
    opacity:.78;
    transform:scale(1);
  }
}

@keyframes heroRingReveal{
  0%{
    opacity:0;
    transform:scale(.78) rotate(-8deg);
    filter:blur(8px);
  }
  65%{
    opacity:.55;
    transform:scale(1.04) rotate(2deg);
    filter:blur(0);
  }
  100%{
    opacity:.18;
    transform:scale(1) rotate(0);
    filter:blur(0);
  }
}

@keyframes heroTextReveal{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes heroLogoFloat{
  0%,100%{
    transform:translateY(0) scale(1);
  }
  50%{
    transform:translateY(-8px) scale(1.006);
  }
}

@media (max-width:700px){
  .hero-copy{
    min-height:440px;
  }
  .hero-logo-stage{
    width:min(420px,82vw);
    margin-bottom:18px;
  }
  .logohero{
    width:min(390px,82vw);
  }
  .hero h2{
    font-size:clamp(34px,10vw,48px);
  }
}


/* ===== HERO LOGO V2: separated iso + wordmark, max 300px ===== */
.hero-copy{
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero-logo-stage{
  position:relative;
  width:min(300px,72vw);
  max-width:300px;
  margin:0 auto 20px;
  display:grid;
  place-items:center;
  isolation:isolate;
}

.hero-logo-stage::before{
  content:"";
  position:absolute;
  width:124px;
  height:124px;
  top:-24px;
  left:50%;
  transform:translateX(-50%) scale(.6);
  border-radius:999px;
  background:
    radial-gradient(circle, rgba(9,177,177,.30), rgba(255,255,255,.08) 38%, transparent 70%);
  filter:blur(18px);
  opacity:0;
  animation:heroAuraSoft 1.25s cubic-bezier(.16,1,.3,1) .18s forwards;
  z-index:-1;
}

.hero-iso-mark{
  width:72px;
  height:auto;
  margin:0 auto 10px;
  opacity:0;
  transform:scale(.72) rotate(-18deg);
  filter:blur(8px);
  animation:
    heroIsoReveal .95s cubic-bezier(.16,1,.3,1) .12s forwards,
    heroIsoBreathe 5.5s ease-in-out 1.4s infinite;
}

.hero-wordmark{
  width:300px;
  max-width:100%;
  height:auto;
  opacity:0;
  transform:translateY(14px);
  filter:blur(7px);
  clip-path:inset(0 50% 0 50%);
  animation:heroWordReveal 1.05s cubic-bezier(.16,1,.3,1) .48s forwards;
}

.logohero{
  width:300px !important;
  max-width:72vw !important;
}

.hero h2{
  font-size:clamp(30px,3.6vw,52px);
  line-height:.95;
  letter-spacing:-.065em;
  margin:0 0 30px;
  color:rgba(255,255,255,.74);
  opacity:0;
  transform:translateY(10px);
  animation:heroTextReveal .85s cubic-bezier(.16,1,.3,1) .95s forwards;
}

.hero-actions{
  justify-content:center;
  opacity:0;
  transform:translateY(10px);
  animation:heroTextReveal .85s cubic-bezier(.16,1,.3,1) 1.12s forwards;
}

@keyframes heroIsoReveal{
  0%{
    opacity:0;
    transform:scale(.72) rotate(-18deg);
    filter:blur(8px);
  }
  60%{
    opacity:1;
    transform:scale(1.08) rotate(3deg);
    filter:blur(0);
  }
  100%{
    opacity:1;
    transform:scale(1) rotate(0);
    filter:blur(0);
  }
}

@keyframes heroWordReveal{
  0%{
    opacity:0;
    transform:translateY(14px);
    clip-path:inset(0 50% 0 50%);
    filter:blur(7px);
  }
  62%{
    opacity:1;
    transform:translateY(-2px);
    clip-path:inset(0 0 0 0);
    filter:blur(0);
  }
  100%{
    opacity:1;
    transform:translateY(0);
    clip-path:inset(0 0 0 0);
    filter:blur(0);
  }
}

@keyframes heroAuraSoft{
  0%{
    opacity:0;
    transform:translateX(-50%) scale(.6);
  }
  65%{
    opacity:.85;
    transform:translateX(-50%) scale(1.08);
  }
  100%{
    opacity:.38;
    transform:translateX(-50%) scale(1);
  }
}

@keyframes heroIsoBreathe{
  0%,100%{
    transform:translateY(0) scale(1);
  }
  50%{
    transform:translateY(-4px) scale(1.025);
  }
}

@keyframes heroTextReveal{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (max-width:700px){
  .hero-logo-stage{
    width:min(280px,78vw);
  }

  .hero-iso-mark{
    width:64px;
  }

  .hero-wordmark{
    width:280px;
  }

  .hero h2{
    font-size:clamp(30px,9vw,44px);
  }
}


/* ===== HERO / HEADER FINAL ADJUSTMENTS ===== */

/* Hero ocupa exactamente la primera pantalla */
.hero{
  min-height:100vh !important;
  height:100vh;
  display:grid;
  align-items:center;
  padding-top:0 !important;
}

/* Contenido visualmente centrado, pero con espacio para bajar botones */
.hero-copy{
  min-height:auto !important;
  height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding-top:4vh;
}

/* Logo sigue siendo protagonista */
.hero-logo-stage{
  margin-bottom:18px !important;
}

/* Design + Strategy más pequeño y secundario */
.hero h2{
  font-size:clamp(24px,2.7vw,38px) !important;
  line-height:1 !important;
  letter-spacing:-.055em !important;
  margin:0 !important;
  color:rgba(255,255,255,.68) !important;
}

/* Botones bastante más abajo */
.hero-actions{
  margin-top:76px !important;
  justify-content:center;
}

/* Header oculto arriba del hero */
.site-header{
  opacity:0;
  transform:translate(-50%, -28px) scale(.985);
  filter:blur(8px);
  pointer-events:none;
  transition:
    opacity .55s cubic-bezier(.16,1,.3,1),
    transform .65s cubic-bezier(.16,1,.3,1),
    filter .6s ease;
}

/* Cuando el usuario hace scroll aparece el header */
.site-header.is-visible{
  opacity:1;
  transform:translate(-50%, 0) scale(1);
  filter:blur(0);
  pointer-events:auto;
}

/* El iso entra después del contenedor del header */
.site-header .brand-symbol-wrap{
  opacity:0;
  transform:scale(.62) rotate(-24deg);
  filter:blur(8px);
  transition:
    opacity .5s ease .24s,
    transform .7s cubic-bezier(.16,1,.3,1) .24s,
    filter .6s ease .24s;
}

.site-header.is-visible .brand-symbol-wrap{
  opacity:1;
  transform:scale(1) rotate(0);
  filter:blur(0);
}

/* Si después sale del hero, mantiene el cambio al logo completo */
.site-header.is-visible.is-scrolled .brand-symbol-wrap{
  opacity:0;
  transform:scale(.55) rotate(135deg);
  filter:blur(6px);
}

.site-header.is-visible.is-scrolled .brand-logo-full{
  opacity:1;
  transform:translateX(0) scale(1) rotate(0);
  clip-path:inset(0 0 0 0 round 0);
  filter:blur(0);
}

/* En hero, mientras el header aparece, solo iso */
.site-header.is-visible:not(.is-scrolled) .brand-logo-full{
  opacity:0;
  transform:translateX(-14px) scale(.92) rotate(-2deg);
  clip-path:inset(0 100% 0 0 round 14px);
  filter:blur(8px);
}

/* En pantallas pequeñas, mantener el hero full pero con mejor respiración */
@media (max-width:700px){
  .hero{
    min-height:100svh !important;
    height:100svh;
  }

  .hero-copy{
    height:100svh;
    padding-top:2vh;
  }

  .hero h2{
    font-size:clamp(24px,7vw,34px) !important;
  }

  .hero-actions{
    margin-top:52px !important;
  }
}

/* ===== RESTORE PARTICLES / NETWORK BACKGROUND ===== */
.hero.section-dark,
.contact.section-dark{
  position:relative;
  overflow:hidden;
}

.network-canvas{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  display:block !important;
  z-index:1 !important;
  opacity:.62 !important;
  pointer-events:none !important;
}

.hero-grid,
.hero .container,
.hero-copy,
.contact-content{
  position:relative !important;
  z-index:2 !important;
}

.orb{
  z-index:0 !important;
}

.contact-network{
  opacity:.36 !important;
}


/* ===== HERO POLISH: stable logo, softer slogan, deeper CTA, scroll parallax ===== */
.hero{
  min-height:100vh !important;
  height:100vh !important;
  display:grid;
  align-items:center;
  padding-top:0 !important;
  overflow:hidden;
}

.hero-grid{
  will-change:transform;
  transform:translate3d(0,var(--hero-parallax,0px),0);
  transition:transform .08s linear;
}

.hero-copy{
  height:100vh !important;
  min-height:auto !important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding-top:2vh;
}

.hero-logo-stage{
  position:relative;
  width:min(380px,78vw) !important;
  max-width:380px !important;
  margin:0 auto 20px !important;
  display:grid;
  place-items:center;
  isolation:isolate;
  transform:translate3d(0,0,0);
}

.hero-logo-stage::before{
  content:"";
  position:absolute;
  width:156px;
  height:156px;
  top:-34px;
  left:50%;
  transform:translate3d(-50%,0,0) scale(.78);
  border-radius:999px;
  background:radial-gradient(circle, rgba(9,177,177,.26), rgba(255,255,255,.07) 38%, transparent 70%);
  filter:blur(20px);
  opacity:0;
  animation:heroAuraStable 1.18s cubic-bezier(.16,1,.3,1) .12s forwards;
  z-index:-1;
  pointer-events:none;
}

.hero-iso-mark{
  width:92px !important;
  height:auto;
  margin:0 auto 12px;
  opacity:0;
  transform:translate3d(0,0,0) scale(.78) rotate(-10deg);
  filter:blur(7px);
  animation:heroIsoStable .95s cubic-bezier(.16,1,.3,1) .12s forwards;
  will-change:opacity, transform, filter;
}

.hero-wordmark{
  width:380px !important;
  max-width:100%;
  height:auto;
  opacity:0;
  transform:translate3d(0,0,0) scale(.985);
  filter:blur(7px);
  clip-path:inset(0 50% 0 50%);
  animation:heroWordStable 1.05s cubic-bezier(.16,1,.3,1) .45s forwards;
  will-change:opacity, transform, filter, clip-path;
}

.hero h2{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight:300 !important;
  font-size:clamp(20px,2.25vw,31px) !important;
  line-height:1.12 !important;
  letter-spacing:.02em !important;
  margin:4px 0 0 !important;
  color:rgba(255,255,255,.62) !important;
  opacity:0;
  transform:translate3d(0,8px,0);
  animation:heroSloganStable .75s cubic-bezier(.16,1,.3,1) .9s forwards;
}

.hero-actions{
  margin-top:120px !important;
  justify-content:center;
  opacity:0;
  transform:translate3d(0,10px,0);
  animation:heroSloganStable .75s cubic-bezier(.16,1,.3,1) 1.08s forwards;
}

@keyframes heroIsoStable{
  0%{
    opacity:0;
    transform:translate3d(0,0,0) scale(.78) rotate(-10deg);
    filter:blur(7px);
  }
  72%{
    opacity:1;
    transform:translate3d(0,0,0) scale(1.035) rotate(1deg);
    filter:blur(0);
  }
  100%{
    opacity:1;
    transform:translate3d(0,0,0) scale(1) rotate(0);
    filter:blur(0);
  }
}

@keyframes heroWordStable{
  0%{
    opacity:0;
    transform:translate3d(0,0,0) scale(.985);
    clip-path:inset(0 50% 0 50%);
    filter:blur(7px);
  }
  72%{
    opacity:1;
    transform:translate3d(0,0,0) scale(1.01);
    clip-path:inset(0 0 0 0);
    filter:blur(0);
  }
  100%{
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
    clip-path:inset(0 0 0 0);
    filter:blur(0);
  }
}

@keyframes heroAuraStable{
  0%{
    opacity:0;
    transform:translate3d(-50%,0,0) scale(.72);
  }
  70%{
    opacity:.75;
    transform:translate3d(-50%,0,0) scale(1.04);
  }
  100%{
    opacity:.34;
    transform:translate3d(-50%,0,0) scale(1);
  }
}

@keyframes heroSloganStable{
  to{
    opacity:1;
    transform:translate3d(0,0,0);
  }
}

@media (max-width:700px){
  .hero-logo-stage{
    width:min(330px,82vw) !important;
    max-width:330px !important;
  }

  .hero-iso-mark{
    width:78px !important;
  }

  .hero-wordmark{
    width:330px !important;
  }

  .hero h2{
    font-size:clamp(18px,5.8vw,27px) !important;
  }

  .hero-actions{
    margin-top:82px !important;
  }
}


/* ===== NOTICEABLE HERO PARALLAX UPDATE ===== */
.hero{
  background:
    radial-gradient(circle at 82% calc(30% + var(--hero-bg-shift, 0px)),rgba(255,255,255,.12),transparent 30%),
    radial-gradient(circle at 8% calc(86% - var(--hero-bg-shift, 0px)),rgba(0,0,0,.14),transparent 32%),
    linear-gradient(180deg,var(--bg),var(--bg-soft)) !important;
}

.hero-grid{
  transform:
    translate3d(0,var(--hero-content-y,0px),0)
    scale(var(--hero-content-scale,1)) !important;
  opacity:var(--hero-content-opacity,1);
  transition:none !important;
  will-change:transform, opacity;
}

#networkCanvas{
  transform:translate3d(0,var(--hero-particles-y,0px),0) !important;
  opacity:var(--hero-particles-opacity,.62) !important;
  transition:none !important;
  will-change:transform, opacity;
}

.hero-logo-stage{
  filter:blur(var(--hero-logo-blur,0px));
  transition:none !important;
}

.hero-logo-stage::before{
  transform:translate3d(-50%, calc(var(--hero-content-y,0px) * -0.18), 0) scale(1) !important;
}

/* Extra depth: CTA moves slightly differently from logo/title */
.hero-actions{
  transform:translate3d(0,calc(var(--hero-content-y,0px) * .18),0) !important;
}


/* ===== STRONG CINEMATIC HERO PARALLAX ===== */
.hero{
  min-height:100vh !important;
  height:100vh !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 82% calc(28% + var(--hero-bg-shift, 0px)),rgba(255,255,255,.16),transparent 34%),
    radial-gradient(circle at 12% calc(88% - var(--hero-bg-shift, 0px)),rgba(0,0,0,.18),transparent 38%),
    linear-gradient(180deg,var(--bg),var(--bg-soft)) !important;
  background-size:var(--hero-bg-zoom,100%) var(--hero-bg-zoom,100%), var(--hero-bg-zoom,100%) var(--hero-bg-zoom,100%), 100% 100% !important;
}

.hero-grid{
  transform:
    translate3d(0,var(--hero-content-y,0px),0)
    scale(var(--hero-content-scale,1)) !important;
  opacity:var(--hero-content-opacity,1) !important;
  transition:none !important;
  will-change:transform, opacity;
}

#networkCanvas{
  transform:
    translate3d(0,var(--hero-particles-y,0px),0)
    scale(var(--hero-particles-scale,1)) !important;
  opacity:var(--hero-particles-opacity,.68) !important;
  transition:none !important;
  will-change:transform, opacity;
}

.hero-logo-stage{
  transform:
    translate3d(0,var(--hero-logo-y,0px),0)
    scale(var(--hero-logo-scale,1))
    rotate(var(--hero-logo-rotate,0deg)) !important;
  filter:blur(var(--hero-logo-blur,0px));
  transition:none !important;
  will-change:transform, filter;
}

.hero h2{
  transform:translate3d(0,var(--hero-title-y,0px),0) !important;
  opacity:var(--hero-title-opacity,1) !important;
  transition:none !important;
  will-change:transform, opacity;
}

.hero-actions{
  transform:translate3d(0,var(--hero-cta-y,0px),0) !important;
  opacity:var(--hero-cta-opacity,1) !important;
  transition:none !important;
  will-change:transform, opacity;
}

/* Extra depth: particles become more visible in the first scroll moment */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:calc(var(--hero-progress,0) * .34);
  background:
    radial-gradient(circle at 50% 48%, transparent 0 18%, rgba(0,0,0,.28) 74%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.20) 100%);
  transition:none;
}

/* Keep content over overlay */
.hero-grid,
.hero .container,
.hero-copy{
  position:relative !important;
  z-index:3 !important;
}


/* ===== MEGA VISIBLE HERO PARALLAX ===== */
/* This overrides previous parallax blocks intentionally. */
.hero{
  min-height:100vh !important;
  height:100vh !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at calc(82% + var(--hero-bg-shift-x, 0px)) calc(28% + var(--hero-bg-shift-y, 0px)), rgba(255,255,255,.18), transparent 36%),
    radial-gradient(circle at calc(12% - var(--hero-bg-shift-x, 0px)) calc(88% - var(--hero-bg-shift-y, 0px)), rgba(0,0,0,.22), transparent 42%),
    linear-gradient(180deg,var(--bg),var(--bg-soft)) !important;
  background-size:
    var(--hero-bg-zoom,100%) var(--hero-bg-zoom,100%),
    var(--hero-bg-zoom,100%) var(--hero-bg-zoom,100%),
    100% 100% !important;
}

/* Stop moving the whole hero-grid; move each layer differently instead */
.hero-grid{
  transform:none !important;
  opacity:1 !important;
  transition:none !important;
  will-change:auto;
}

#networkCanvas{
  transform:
    translate3d(var(--hero-particles-x,0px),var(--hero-particles-y,0px),0)
    scale(var(--hero-particles-scale,1)) !important;
  opacity:var(--hero-particles-opacity,.78) !important;
  transition:none !important;
  will-change:transform, opacity;
}

/* Logo travels dramatically up-left while title drifts the opposite way */
.hero-logo-stage{
  transform:
    translate3d(var(--hero-logo-x,0px),var(--hero-logo-y,0px),0)
    scale(var(--hero-logo-scale,1))
    rotate(var(--hero-logo-rotate,0deg)) !important;
  opacity:var(--hero-logo-opacity,1) !important;
  filter:blur(var(--hero-logo-blur,0px));
  transition:none !important;
  will-change:transform, opacity, filter;
}

.hero h2{
  transform:
    translate3d(var(--hero-title-x,0px),var(--hero-title-y,0px),0)
    scale(var(--hero-title-scale,1)) !important;
  opacity:var(--hero-title-opacity,1) !important;
  transition:none !important;
  will-change:transform, opacity;
}

.hero-actions{
  transform:
    translate3d(0,var(--hero-cta-y,0px),0)
    scale(var(--hero-cta-scale,1)) !important;
  opacity:var(--hero-cta-opacity,1) !important;
  transition:none !important;
  will-change:transform, opacity;
}

/* Strong cinematic veil appears during scroll so the depth is very visible */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:var(--hero-veil,0);
  background:
    radial-gradient(circle at 50% 46%, transparent 0 14%, rgba(0,0,0,.18) 42%, rgba(0,0,0,.52) 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.42) 100%);
  transition:none !important;
}

/* Add a second moving light sweep for a clear parallax cue */
.hero::before{
  content:"";
  position:absolute;
  z-index:1;
  pointer-events:none;
  width:58vw;
  height:58vw;
  left:calc(50% + var(--hero-bg-shift-x, 0px));
  top:calc(50% - var(--hero-bg-shift-y, 0px));
  transform:translate(-50%,-50%) scale(calc(1 + var(--hero-progress,0) * .55));
  opacity:calc(.10 + var(--hero-progress,0) * .22);
  background:radial-gradient(circle, rgba(11,174,174,.20), transparent 62%);
  filter:blur(24px);
}

/* Ensure real content remains above the overlay */
.hero-grid,
.hero .container,
.hero-copy{
  position:relative !important;
  z-index:3 !important;
}

/* Keep the logo readable before scroll */
.hero-logo-stage{
  transform-origin:center center;
}

@media (max-width:700px){
  .hero-logo-stage{
    transform:
      translate3d(calc(var(--hero-logo-x,0px) * .45),calc(var(--hero-logo-y,0px) * .62),0)
      scale(var(--hero-logo-scale,1))
      rotate(var(--hero-logo-rotate,0deg)) !important;
  }

  .hero h2{
    transform:
      translate3d(calc(var(--hero-title-x,0px) * .45),calc(var(--hero-title-y,0px) * .65),0)
      scale(var(--hero-title-scale,1)) !important;
  }

  .hero-actions{
    transform:
      translate3d(0,calc(var(--hero-cta-y,0px) * .72),0)
      scale(var(--hero-cta-scale,1)) !important;
  }
}

/* Prevent native smooth scroll from fighting the custom CTA animation */
html{
  scroll-behavior:auto;
}

/* ===== Restore particles visibility and JS-controlled scrolling ===== */
html{
  scroll-behavior:auto !important;
}

.hero.section-dark,
.contact.section-dark{
  position:relative !important;
  overflow:hidden !important;
}

.network-canvas{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  display:block !important;
  z-index:1 !important;
  opacity:.65 !important;
  pointer-events:none !important;
}

.contact-network{
  opacity:.36 !important;
}

.hero-grid,
.hero .container,
.hero-copy,
.contact-content{
  position:relative !important;
  z-index:3 !important;
}

.orb{
  z-index:0 !important;
}


/* ===== SELECTED WORK FINAL INTERACTION ===== */
.work-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr) !important;
  gap:22px;
  transition:all .35s ease;
}

.work-card{
  position:relative;
  aspect-ratio:16/9 !important;
  min-height:auto !important;
  border:1px solid rgba(0,0,0,.12);
  border-radius:28px;
  overflow:hidden;
  padding:26px;
  text-align:left;
  color:#fff;
  background-image:
    linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.58)),
    var(--bg);
  background-size:cover;
  background-position:center;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  transition:transform .28s ease, box-shadow .28s ease, opacity .28s ease;
}

.work-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.82));
  opacity:0;
  transition:opacity .3s ease;
  z-index:1;
}

.work-card:hover{
  transform:translateY(-4px);
  opacity: 1 !important;

}

.work-card:hover::before{
  opacity:1;
}

.work-number{
  display:none !important;
}

.work-content{
  position:relative;
  z-index:2;
  transform:translateY(24px);
  transition:transform .3s ease;
}

.work-content strong{
  display:block;
  font-size:24px !important;
  letter-spacing:-.04em;
  margin-bottom:0 !important;
}

.work-content small{
  display:block !important;
  font-size:15px;
  line-height:1.4;
  color:rgba(255,255,255,.86);
  max-width:92%;
  opacity:0;
  max-height:0;
  overflow:hidden;
  transform:translateY(10px);
  transition:
    opacity .3s ease,
    transform .3s ease,
    max-height .3s ease,
    margin-top .3s ease;
}

.work-card:hover .work-content,
.work-card.active .work-content{
  transform:translateY(0);
}

.work-card:hover .work-content small,
.work-card.active .work-content small{
  opacity:1;
  max-height:90px;
  transform:translateY(0);
  margin-top:10px;
}

.work-card.active{
  outline:2px solid rgba(255,255,255,.65);
}

.work-card.active::before{
  opacity:.45;
}

.work-grid.has-active{
  grid-template-columns:repeat(4,1fr) !important;
}

.work-grid.has-active .work-card{
  aspect-ratio:16/9 !important;
  min-height:auto !important;
  padding:22px;
}

.work-grid.has-active .work-card:not(.active){
  opacity:.82;
}

.work-grid.has-active .work-content small{
  display:block !important;
}

.work-grid.has-active .work-content strong{
  font-size:22px !important;
  margin:0;
}

@media (max-width:1100px){
  .work-grid,
  .work-grid.has-active{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

@media (max-width:900px){
  .work-grid,
  .work-grid.has-active{
    grid-template-columns:1fr !important;
  }

  .work-content{
    transform:translateY(0);
  }

  .work-content small{
    opacity:1;
    max-height:90px;
    transform:translateY(0);
    margin-top:10px;
  }
}


/* ===== FIX: selected work description only on hover, never by active state ===== */
.work-card.active .work-content{
  transform:translateY(24px) !important;
}

.work-card.active .work-content small{
  opacity:0 !important;
  max-height:0 !important;
  transform:translateY(10px) !important;
  margin-top:0 !important;
}

.work-card.active:hover .work-content{
  transform:translateY(0) !important;
}

.work-card.active:hover .work-content small{
  opacity:1 !important;
  max-height:90px !important;
  transform:translateY(0) !important;
  margin-top:10px !important;
}


/* ===== FINAL RESTORE: PARTICLES + STRONG PARALLAX + SELECTED WORK ===== */
html{
  scroll-behavior:auto !important;
}

.hero.section-dark,
.contact.section-dark{
  position:relative !important;
  overflow:hidden !important;
}

.network-canvas{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  display:block !important;
  z-index:1 !important;
  opacity:.65 !important;
  pointer-events:none !important;
}

.contact-network{
  opacity:.36 !important;
}

.hero{
  min-height:100vh !important;
  height:100vh !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at calc(82% + var(--hero-bg-shift-x, 0px)) calc(28% + var(--hero-bg-shift-y, 0px)), rgba(255,255,255,.18), transparent 36%),
    radial-gradient(circle at calc(12% - var(--hero-bg-shift-x, 0px)) calc(88% - var(--hero-bg-shift-y, 0px)), rgba(0,0,0,.22), transparent 42%),
    linear-gradient(180deg,var(--bg),var(--bg-soft)) !important;
  background-size:
    var(--hero-bg-zoom,100%) var(--hero-bg-zoom,100%),
    var(--hero-bg-zoom,100%) var(--hero-bg-zoom,100%),
    100% 100% !important;
}

.hero-grid,
.hero .container,
.hero-copy,
.contact-content{
  position:relative !important;
  z-index:3 !important;
}

.hero-grid{
  transform:none !important;
  opacity:1 !important;
  transition:none !important;
}

.orb{
  z-index:0 !important;
}

#networkCanvas{
  transform:
    translate3d(var(--hero-particles-x,0px),var(--hero-particles-y,0px),0)
    scale(var(--hero-particles-scale,1)) !important;
  opacity:var(--hero-particles-opacity,.78) !important;
  transition:none !important;
  will-change:transform, opacity;
}

.hero-logo-stage{
  transform:
    translate3d(var(--hero-logo-x,0px),var(--hero-logo-y,0px),0)
    scale(var(--hero-logo-scale,1))
    rotate(var(--hero-logo-rotate,0deg)) !important;
  opacity:var(--hero-logo-opacity,1) !important;
  filter:blur(var(--hero-logo-blur,0px));
  transition:none !important;
  will-change:transform, opacity, filter;
}

.hero h2{
  transform:
    translate3d(var(--hero-title-x,0px),var(--hero-title-y,0px),0)
    scale(var(--hero-title-scale,1)) !important;
  opacity:var(--hero-title-opacity,1) !important;
  transition:none !important;
  will-change:transform, opacity;
}

.hero-actions{
  transform:
    translate3d(0,var(--hero-cta-y,0px),0)
    scale(var(--hero-cta-scale,1)) !important;
  opacity:var(--hero-cta-opacity,1) !important;
  transition:none !important;
  will-change:transform, opacity;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:var(--hero-veil,0);
  background:
    radial-gradient(circle at 50% 46%, transparent 0 14%, rgba(0,0,0,.18) 42%, rgba(0,0,0,.52) 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.42) 100%);
  transition:none !important;
}

.hero::before{
  content:"";
  position:absolute;
  z-index:1;
  pointer-events:none;
  width:58vw;
  height:58vw;
  left:calc(50% + var(--hero-bg-shift-x, 0px));
  top:calc(50% - var(--hero-bg-shift-y, 0px));
  transform:translate(-50%,-50%) scale(calc(1 + var(--hero-progress,0) * .55));
  opacity:calc(.10 + var(--hero-progress,0) * .22);
  background:radial-gradient(circle, rgba(11,174,174,.20), transparent 62%);
  filter:blur(24px);
}

/* Selected work: descriptions only on hover */
.work-card.active .work-content{
  transform:translateY(24px) !important;
}

.work-card.active .work-content small{
  opacity:0 !important;
  max-height:0 !important;
  transform:translateY(10px) !important;
  margin-top:0 !important;
}

.work-card.active:hover .work-content{
  transform:translateY(0) !important;
}

.work-card.active:hover .work-content small{
  opacity:1 !important;
  max-height:90px !important;
  transform:translateY(0) !important;
  margin-top:10px !important;
}


/* ===== FIX: keep Selected Work card text position after click ===== */
/* Al hacer click se agrega .has-active y .active. Estas reglas evitan que cambie
   la posición/tamaño del texto respecto al estado inicial. */
.work-grid.has-active{
  grid-template-columns:repeat(4,1fr) !important;
}

.work-grid.has-active .work-card,
.work-card.active{
  aspect-ratio:16/9 !important;
  min-height:auto !important;
  padding:26px !important;
  justify-content:flex-end !important;
}

.work-grid.has-active .work-content,
.work-card.active .work-content{
  transform:translateY(10px) !important;
}

.work-grid.has-active .work-content strong,
.work-card.active .work-content strong{
  font-size:21px !important;
  margin-bottom:0 !important;
}

.work-grid.has-active .work-content small,
.work-card.active .work-content small{
  opacity:0 !important;
  max-height:0 !important;
  transform:translateY(10px) !important;
  margin-top:0 !important;
  overflow:hidden !important;
}

/* Solo en hover se revela el texto complementario */
.work-grid.has-active .work-card:hover .work-content,
.work-card.active:hover .work-content{
  transform:translateY(0) !important;
}

.work-grid.has-active .work-card:hover .work-content small,
.work-card.active:hover .work-content small{
  opacity:1 !important;
  max-height:90px !important;
  transform:translateY(0) !important;
  margin-top:10px !important;
}

/* Evita que el estado activo cambie visualmente la lectura base */
.work-card.active{
  outline:none !important;
}

.work-card.active::before{
  opacity:0 !important;
}

.work-card.active:hover::before{
  opacity:1 !important;
}

@media (max-width:1100px){
  .work-grid.has-active{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

@media (max-width:900px){
  .work-grid.has-active{
    grid-template-columns:1fr !important;
  }

  .work-grid.has-active .work-content,
  .work-card.active .work-content{
    transform:translateY(0) !important;
  }

  .work-grid.has-active .work-content small,
  .work-card.active .work-content small{
    opacity:1 !important;
    max-height:90px !important;
    transform:translateY(0) !important;
    margin-top:10px !important;
  }
}


/* ===== SPACING / TYPOGRAPHY POLISH ===== */
:root{
  --accent-teal:#00a3a4;
}

/* Más aire general entre secciones */
section{
  scroll-margin-top:110px;
}

.section-light,
.section-white,
.work,
.about,
.experience,
.education{
  padding-top:130px !important;
  padding-bottom:130px !important;
}

.project-detail{
  margin-top:72px !important;
  padding:64px 64px 72px !important;
  border-radius:34px !important;
}

.project-detail-header{
  margin-bottom:42px !important;
}

.project-detail-header .eyebrow,
.section-heading .eyebrow,
.maestra-block .eyebrow,
.visual-copy .eyebrow,
.project-panel span{
  color:#8d969f !important;
  letter-spacing:.34em !important;
}

/* Títulos de sección más elegantes, max 40px y respirando */
.section-heading{
  margin-bottom:72px !important;
}

.section-heading h2{
  font-size:clamp(34px,4vw,40px) !important;
  line-height:1.18 !important;
  letter-spacing:-.055em !important;
  max-width:620px !important;
  margin:0 0 0 !important;
}

/* Detalle teal sutil bajo títulos grandes */
.section-heading h2::after,
.project-detail-header h3::after{
  content:"";
  display:block;
  width:54px;
  height:3px;
  border-radius:999px;
  background:var(--accent-teal);
  margin-top:28px;
}

/* Work grid con más aire */
.work-grid{
  gap:30px !important;
  margin-top:14px !important;
}

.work-card{
  border-radius:30px !important;
  padding:30px !important;
}

.work-content strong{
  line-height:1.05 !important;
}

.work-content small{
  line-height:1.55 !important;
}

/* Interior de proyectos: aire y jerarquía */
.project-content-row{
  gap:34px !important;
  margin:46px 0 56px !important;
  align-items:stretch !important;
}

.project-content-row .visual-copy{
  padding-right:44px !important;
}

.project-content-row .visual-copy h4{
  font-size:25px !important;
  line-height:1.3 !important;
  letter-spacing:-.035em !important;
  max-width:560px !important;
  margin-bottom:24px !important;
}

.project-content-row .visual-copy p:not(.eyebrow){
  font-size:16px !important;
  line-height:1.75 !important;
  max-width:560px !important;
}

.project-content-row .project-panel{
  padding:32px !important;
  border-radius:26px !important;
}

.project-content-row .project-panel p{
  line-height:1.75 !important;
}

/* Galerías menos apretadas */
.placeholder-gallery,
.graphics-grid{
  gap:24px !important;
  margin-top:36px !important;
}

.placeholder-img{
  height:150px !important;
  border-radius:22px !important;
}

.maestra-block{
  padding-top:56px !important;
  margin-top:56px !important;
}

.maestra-block h4{
  font-size:25px !important;
  line-height:1.3 !important;
  margin-bottom:22px !important;
}

.maestra-graphics-text{
  line-height:1.75 !important;
  max-width:760px !important;
  margin-bottom:32px !important;
}

.youtube-grid{
  gap:26px !important;
}

.rrss-grid{
  gap:22px !important;
}

/* Cards de experiencia y educación más livianas */
.experience-list{
  gap:20px !important;
}

.experience-list article{
  padding:30px 34px !important;
  border-radius:28px !important;
}

.education-grid{
  gap:24px !important;
}

.education-card{
  padding:32px !important;
  border-radius:28px !important;
}

/* Detalles color logo */
.btn.primary,
.lang-btn.active{
  box-shadow:0 10px 30px rgba(0,163,164,.16);
}

.project-detail{
  box-shadow:
    0 30px 90px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
}

.project-panel:hover,
.education-card:hover,
.experience-list article:hover{
  border-color:rgba(0,163,164,.28) !important;
}

/* Brand slider más aire */
.brand-strip{
  padding-top:84px !important;
  padding-bottom:110px !important;
}

.brand-strip-heading{
  margin-bottom:52px !important;
}

.brand-strip-heading h2{
  font-size:clamp(34px,4vw,40px) !important;
  line-height:1.18 !important;
}

/* Contact/footer respirar más */
.contact{
  padding-top:140px !important;
  padding-bottom:140px !important;
}

/* Responsive */
@media (max-width:1100px){
  .project-detail{
    padding:48px 36px 56px !important;
  }

  .project-content-row{
    gap:26px !important;
  }
}

@media (max-width:900px){
  .section-light,
  .section-white,
  .work,
  .about,
  .experience,
  .education{
    padding-top:90px !important;
    padding-bottom:90px !important;
  }

  .section-heading{
    margin-bottom:46px !important;
  }

  .section-heading h2{
    max-width:100% !important;
  }

  .project-detail{
    margin-top:52px !important;
    padding:38px 24px 44px !important;
  }

  .project-content-row{
    grid-template-columns:1fr !important;
    gap:26px !important;
    margin:34px 0 40px !important;
  }

  .project-content-row .visual-copy{
    padding-right:0 !important;
  }

  .placeholder-gallery,
  .graphics-grid{
    gap:18px !important;
  }
}

/* ===== Requested Selected Work spacing ===== */
.work-content{
  margin-bottom:5px !important;
}


/* ===== CONTENT + WORK CARD POLISH ===== */

/* Que el contenido de la card activa destaque, pero sin apagar demasiado las demás */
.work-grid.has-active .work-card:not(.active){
  opacity:.94 !important;
  filter:saturate(.9) brightness(.96) !important;
  border: none;
}

.work-card.active{
  opacity:1 !important;
  filter:saturate(1.05) brightness(1.03) !important;
  box-shadow:0 18px 44px rgba(0,0,0,.18) !important;
}

.work-card.active::before{
  opacity:.18 !important;
}

/* El texto mantiene su posición y no se corta en hover */
.work-content{
  margin-bottom:5px !important;
  transform:translateY(0) !important;
  max-width:100% !important;
}

.work-card:hover .work-content,
.work-card.active .work-content,
.work-card.active:hover .work-content{
  transform:translateY(-6px) !important;
}

.work-content strong{
  line-height:1.04 !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}

.work-content small{
  line-height:1.42 !important;
  max-width:96% !important;
  max-height:0 !important;
}

.work-card:hover .work-content small,
.work-card.active:hover .work-content small{
  max-height:76px !important;
  margin-top:8px !important;
}

/* En active sin hover sigue sin mostrar la bajada */
.work-card.active .work-content small{
  opacity:0 !important;
  max-height:0 !important;
  transform:translateY(8px) !important;
  margin-top:0 !important;
}

.work-card.active:hover .work-content small{
  opacity:1 !important;
  transform:translateY(0) !important;
  margin-top:8px !important;
}

/* Las cards de Selected Work siguen mostrando claramente qué son */
.work-card::before{
  background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.68)) !important;
}

.work-card:hover::before{
  opacity:.82 !important;
}

/* Mejor lectura de textos descriptivos del proyecto */
.project-content-row .visual-copy h4{
  font-size:25px !important;
  line-height:1.3 !important;
}

.project-content-row .visual-copy p:not(.eyebrow){
  line-height:1.75 !important;
}


/* ===== FINAL FIX: active work card keeps image visible and text position stable ===== */

/* Al activar una card, no debe transformarse en bloque oscuro ni perder la foto */
.work-card.active{
  background-color:transparent !important;
  background-image:
    linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.58)),
    var(--bg) !important;
  background-size:cover !important;
  background-position:center !important;
  opacity:1 !important;
  filter:none !important;
  outline:none !important;
  box-shadow:0 10px 28px rgba(0,0,0,.08) !important;
}

/* Las demás se mantienen visibles; no las apagamos demasiado */
.work-grid.has-active .work-card:not(.active){
  opacity:.98 !important;
  filter:none !important;
}

/* Active NO mueve el texto. Solo el hover lo mueve suavemente */
.work-card.active .work-content,
.work-grid.has-active .work-card.active .work-content{
  transform:translateY(0) !important;
  margin-bottom:5px !important;
}

/* Quitamos la regla anterior que subía también el active */
.work-card:hover .work-content,
.work-card.active:hover .work-content{
  transform:translateY(-6px) !important;
}

/* Sin hover, active no muestra descripción */
.work-card.active .work-content small{
  opacity:0 !important;
  max-height:0 !important;
  transform:translateY(8px) !important;
  margin-top:0 !important;
}

/* Solo en hover aparece la descripción */
.work-card.active:hover .work-content small,
.work-card:hover .work-content small{
  opacity:1 !important;
  max-height:76px !important;
  transform:translateY(0) !important;
  margin-top:8px !important;
}

/* Active no oscurece de más la imagen; hover sí favorece lectura */
.work-card.active::before{
  opacity:0 !important;
}

.work-card.active:hover::before,
.work-card:hover::before{
  opacity:.82 !important;
}


/* ===== FINAL FIX: active work card has #101317 + visible image ===== */

/* Fondo base #101317, pero manteniendo la imagen de fondo encima */
.work-card.active{
  background-color:#101317 !important;
  background-image:
    linear-gradient(180deg,rgba(16,19,23,.18),rgba(16,19,23,.62)),
    var(--bg) !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  opacity:1 !important;
  filter:none !important;
  outline:none !important;
  box-shadow:0 16px 42px rgba(16,19,23,.22) !important;
}

/* La capa oscura del active no debe tapar la foto mientras no haya hover */
.work-card.active::before{
  opacity:0 !important;
}

/* En hover sí oscurecemos más para lectura */
.work-card:hover::before,
.work-card.active:hover::before{
  opacity:.82 !important;
}

/* Active no mueve el texto: misma altura que el estado normal */
.work-card.active .work-content,
.work-grid.has-active .work-card.active .work-content{
  transform:translateY(0) !important;
  margin-bottom:5px !important;
}

/* Solo hover mueve el texto y muestra la descripción */
.work-card:hover .work-content,
.work-card.active:hover .work-content{
  transform:translateY(-6px) !important;
}

.work-card.active .work-content small{
  opacity:0 !important;
  max-height:0 !important;
  transform:translateY(8px) !important;
  margin-top:0 !important;
}

.work-card:hover .work-content small,
.work-card.active:hover .work-content small{
  opacity:1 !important;
  max-height:76px !important;
  transform:translateY(0) !important;
  margin-top:8px !important;
}

/* Las demás se ven normales, no demasiado apagadas */
.work-grid.has-active .work-card:not(.active){
  opacity:.98 !important;
  filter:none !important;
}


/* ===== FINAL ACTIVE WORK CARD BEHAVIOR ===== */

/* Active: fondo sólido #101317 */
button.work-card.active,
.work-card.active{
  background:#101317 !important;
  background-image:none !important;
  background-color:#101317 !important;
}

/* Active: el contenido sube y queda visible */
button.work-card.active .work-content,
.work-card.active .work-content,
.work-grid.has-active .work-card.active .work-content{
  transform:translateY(-6px) !important;
  margin-bottom:5px !important;
}

/* Active: mostrar la bajada/descripción, por ejemplo maestraCard, mckinnasCard, etc. */
button.work-card.active .work-content small,
.work-card.active .work-content small,
.work-grid.has-active .work-card.active .work-content small{
  opacity:1 !important;
  max-height:90px !important;
  transform:translateY(0) !important;
  margin-top:8px !important;
}

/* Active no necesita overlay porque ya es sólido */
button.work-card.active::before,
.work-card.active::before{
  opacity:0 !important;
}

/* Hover de las no activas mantiene lectura sobre imagen */
.work-card:not(.active):hover::before{
  opacity:.1 !important;
}
.work-grid.has-active:hover .work-card:not(.active)
{opacity: 1!important}

/* Las demás cards siguen visibles */
.work-grid.has-active .work-card:not(.active){
  opacity:.5 !important;
  filter:none !important;
}

/* ===== FINAL ACTIVE WORK CARD POSITION ===== */
button.work-card.active .work-content,
.work-card.active .work-content,
.work-grid.has-active .work-card.active .work-content{
  transform:translateY(5px) !important;
  margin-bottom:5px !important;
}

/* ===== PROJECT LINKS + RESTORED PROJECT VIDEOS ===== */
.project-links-block{
  border-top:1px solid rgba(0,0,0,.10);
  padding-top:42px;
  margin-top:42px;
}

.project-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.project-links a{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:46px;
  padding:12px 18px;
  border-radius:999px;
  background:#101317;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  letter-spacing:-.02em;
  box-shadow:0 12px 32px rgba(16,19,23,.14);
  transition:transform .24s ease, background .24s ease, box-shadow .24s ease;
}

.project-links a:hover{
  transform:translateY(-2px);
  background:#00a3a4;
  box-shadow:0 16px 38px rgba(0,163,164,.22);
}

.project-links a strong{
  font-size:14px;
  line-height:1;
}

.project-youtube-block{
  border-top:1px solid rgba(0,0,0,.10);
  padding-top:52px;
  margin-top:52px;
}

.youtube-grid-two{
  grid-template-columns:repeat(2,1fr) !important;
}

@media (max-width:900px){
  .project-links{
    flex-direction:column;
    align-items:stretch;
  }

  .project-links a{
    justify-content:space-between;
  }

  .youtube-grid-two{
    grid-template-columns:1fr !important;
  }
}

/* ===== ABOUT PROFILE SECTION ===== */
section#about{
  padding-top:0 !important;
}

.about-profile{
  background:#f5f4f0;
  position:relative;
  overflow:hidden;
}

.about-profile::before{
  content:"";
  position:absolute;
  width:42vw;
  height:42vw;
  right:-18vw;
  top:-18vw;
  border-radius:999px;
  background:radial-gradient(circle, rgba(0,163,164,.13), transparent 65%);
  pointer-events:none;
}

.about-profile-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:72px;
  align-items:center;
  min-height:720px;
  padding-top:96px;
  padding-bottom:116px;
  position:relative;
  z-index:2;
}

.about-profile-copy h2{
  font-size:clamp(38px,5vw,68px);
  line-height:1.02;
  letter-spacing:-.07em;
  max-width:760px;
  margin:0 0 32px;
}

.about-profile-copy p:not(.eyebrow){
  max-width:680px;
  font-size:20px;
  line-height:1.72;
  color:#4f565f;
  margin:0;
}

.about-profile-tags{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}

.about-profile-tags span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:9px 15px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  color:#101317;
  font-size:13px;
  font-weight:800;
  letter-spacing:-.01em;
}

.about-linkedin{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-top:42px;
  min-height:52px;
  padding:14px 22px;
  border-radius:999px;
  background:#101317;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 16px 42px rgba(16,19,23,.18);
  transition:transform .24s ease, background .24s ease, box-shadow .24s ease;
}

.about-linkedin:hover{
  transform:translateY(-2px);
  background:#00a3a4;
  box-shadow:0 18px 48px rgba(0,163,164,.24);
}

.about-profile-media{
  display:flex;
  justify-content:center;
}

.about-photo-wrap{
  position:relative;
  width:min(390px,82vw);
  aspect-ratio:1/1;
  border-radius:36px;
  overflow:hidden;
  background:#101317;
  box-shadow:0 30px 90px rgba(0,0,0,.16);
}

.about-photo-wrap::before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(255,255,255,.36);
  border-radius:26px;
  z-index:2;
  pointer-events:none;
}

.about-photo-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 48%, rgba(16,19,23,.28));
  z-index:1;
  pointer-events:none;
}

.about-photo-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(.96) contrast(1.02);
}

@media (max-width:900px){
  .about-profile-grid{
    grid-template-columns:1fr;
    gap:46px;
    min-height:auto;
    padding-top:82px;
    padding-bottom:90px;
  }

  .about-profile-copy h2{
    font-size:clamp(36px,11vw,54px);
  }

  .about-profile-copy p:not(.eyebrow){
    font-size:17px;
  }

  .about-profile-media{
   
  }

  .about-photo-wrap{
    width:min(330px,100%);
    border-radius:28px;
  }
}

/* ===== REMOVE ABOUT BACKGROUND ORB ===== */
.about-profile::before{
  background:none !important;
  display:none !important;
}

/* ===== REMOVE ABOUT PHOTO INNER BORDER ===== */
.about-photo-wrap::before{
  border:none !important;
  display:none !important;
}

/* ===== MOBILE HEADER: ISOTIPO ONLY ALWAYS ===== */
/* En mobile el header conserva solo el isotipo, incluso al hacer scroll. */
@media (max-width: 768px){
  .site-header .brand-logo-full{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    width:0 !important;
    max-width:0 !important;
    overflow:hidden !important;
  }

  .site-header .brand-symbol-wrap{
    display:flex !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    filter:none !important;
  }

  .site-header.is-visible.is-scrolled .brand-symbol-wrap,
  .site-header.is-visible:not(.is-scrolled) .brand-symbol-wrap,
  .site-header.is-scrolled .brand-symbol-wrap{
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
  }

  .site-header.is-visible.is-scrolled .brand-logo-full,
  .site-header.is-visible:not(.is-scrolled) .brand-logo-full,
  .site-header.is-scrolled .brand-logo-full{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    width:0 !important;
    max-width:0 !important;
    clip-path:inset(0 100% 0 0) !important;
  }
}


button.work-card {
    border: 7px solid white;
}
/* ===== LIGHTBOX CAPTIONS + FINAL PROJECT UPDATES ===== */
.lightbox-caption{
  position:absolute;
  left:50%;
  bottom:84px;
  transform:translateX(-50%);
  width:min(820px, calc(100vw - 72px));
  padding:14px 18px;
  border-radius:18px;
  background:rgba(16,19,23,.74);
  color:#fff;
  text-align:center;
  font-size:15px;
  line-height:1.45;
  font-weight:700;
  backdrop-filter:blur(14px);
  box-shadow:0 18px 50px rgba(0,0,0,.24);
  pointer-events:none;
}

.lightbox-caption:empty{
  display:none;
}

@media (max-width:700px){
  .lightbox-caption{
    bottom:76px;
    font-size:13px;
    width:calc(100vw - 44px);
  }
}

/* ===== FINAL CLEANUP V2 ===== */
#experience,
.experience{
  display:none !important;
}

.contact-links-single{
  display:flex !important;
  align-items:center;
  gap:14px;
}

.contact-linkedin{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:52px;
  padding:14px 22px;
  border-radius:999px;
  background:#fff;
  color:#101317 !important;
  font-weight:900;
  box-shadow:0 16px 42px rgba(0,0,0,.18);
}

.contact-linkedin:hover{
  transform:translateY(-2px);
}

.linkedin-icon{
  width:24px;
  height:24px;
  display:block;
}

.lightbox-caption{
  position:absolute;
  left:50%;
  bottom:84px;
  transform:translateX(-50%);
  width:min(820px, calc(100vw - 72px));
  padding:14px 18px;
  border-radius:18px;
  background:rgba(16,19,23,.74);
  color:#fff;
  text-align:center;
  font-size:15px;
  line-height:1.45;
  font-weight:700;
  backdrop-filter:blur(14px);
  box-shadow:0 18px 50px rgba(0,0,0,.24);
  pointer-events:none;
}

.lightbox-caption:empty{
  display:none;
}

@media (max-width:700px){
  .lightbox-caption{
    bottom:76px;
    font-size:13px;
    width:calc(100vw - 44px);
  }
}

/* ===== PROJECT COUNTRY TAG ===== */
.project-country{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 34px !important;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,163,164,.10);
  color:#007f80 !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.project-country::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:#00a3a4;
  flex:0 0 auto;
}

/* Compensa el margen del nuevo país bajo el título */
.project-detail-header h3{
  margin-bottom:12px !important;
}

/* ===== PROJECT COUNTRY POSITION / STYLE REFINEMENT ===== */
/* País bajo el nombre del proyecto, antes de la línea divisoria.
   No es pill ni botón: funciona como metadata similar al eyebrow, pero más silenciosa. */
.project-detail-header{
  padding-bottom:30px !important;
  margin-bottom:42px !important;
  border-bottom:1px solid rgba(0,0,0,.10) !important;
}

.project-detail-header h3{
  margin-bottom:12px !important;
}

/* anulamos la línea teal directa bajo el título para que no quede antes del país */
.project-detail-header h3::after{
  display:none !important;
  content:none !important;
}

.project-country{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#8f98a1 !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:.26em !important;
  text-transform:uppercase !important;
}

.project-country::before{
  content:"";
  display:inline-block;
  width:18px;
  height:2px;
  margin-right:10px;
  vertical-align:middle;
  border-radius:999px;
  background:#00a3a4;
}

.project-country::after{
  display:none !important;
  content:none !important;
}

/* ===== HERO SEQUENTIAL ENTRANCE ANIMATION ===== */
/* Logo primero, luego Design + Strategy, luego botones */
.hero-logo-stage{
  animation:heroLogoEntrance 1.15s cubic-bezier(.16,1,.3,1) both;
}

.hero h2{
  opacity:0;
  transform:translateY(18px);
  filter:blur(10px);
  animation:heroTitleEntrance .9s cubic-bezier(.16,1,.3,1) .72s both;
}

.hero-actions{
  opacity:0;
  transform:translateY(22px);
  filter:blur(10px);
  animation:heroActionsEntrance .9s cubic-bezier(.16,1,.3,1) 1.18s both;
}

@keyframes heroLogoEntrance{
  0%{
    opacity:0;
    transform:translateY(18px) scale(.94);
    filter:blur(12px);
  }
  62%{
    opacity:1;
    transform:translateY(-3px) scale(1.015);
    filter:blur(0);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
    filter:blur(0);
  }
}

@keyframes heroTitleEntrance{
  0%{
    opacity:0;
    transform:translateY(18px);
    filter:blur(10px);
    letter-spacing:-.09em;
  }
  100%{
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
  }
}

@keyframes heroActionsEntrance{
  0%{
    opacity:0;
    transform:translateY(22px);
    filter:blur(10px);
  }
  100%{
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
  }
}

/* Evita que la animación inicial bloquee el parallax existente */
.hero.is-parallax-active h2,
.hero.is-parallax-active .hero-actions{
  animation-play-state:running;
}

/* ===== HERO ENTRANCE: NO BLUR BEFORE APPEARING ===== */
/* Design + Strategy y botones no aparecen borrosos: simplemente entran después del logo. */
.hero h2{
  opacity:0 !important;
  filter:none !important;
  animation:heroTitleEntranceClean .78s cubic-bezier(.16,1,.3,1) .72s both !important;
}

.hero-actions{
  opacity:0 !important;
  filter:none !important;
  animation:heroActionsEntranceClean .78s cubic-bezier(.16,1,.3,1) 1.18s both !important;
}

@keyframes heroTitleEntranceClean{
  0%{
    opacity:0;
    transform:translateY(14px);
    filter:none;
  }
  1%{
    opacity:0;
    filter:none;
  }
  100%{
    opacity:1;
    transform:translateY(0);
    filter:none;
  }
}

@keyframes heroActionsEntranceClean{
  0%{
    opacity:0;
    transform:translateY(16px);
    filter:none;
  }
  1%{
    opacity:0;
    filter:none;
  }
  100%{
    opacity:1;
    transform:translateY(0);
    filter:none;
  }
}

/* En mobile el lightbox acepta gestos horizontales sin interferir con zoom/drag vertical */
@media (max-width:900px){
  .lightbox-stage{
    touch-action:pan-y pinch-zoom;
  }
}

/* ===== FIX HERO SEQUENCE VISIBILITY ===== */
/* Design + Strategy y los botones permanecen ocultos hasta que termina la animación del logo. */
.hero h2,
.hero-actions{
  visibility:hidden !important;
  opacity:0 !important;
  filter:none !important;
  animation:none !important;
}

.hero.hero-title-ready h2{
  visibility:visible !important;
  opacity:1 !important;
  filter:none !important;
  animation:none !important;
  transition:opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1) !important;
}

.hero.hero-actions-ready .hero-actions{
  visibility:visible !important;
  opacity:1 !important;
  filter:none !important;
  animation:none !important;
  transition:opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1) !important;
}

/* ===== FINAL HERO SEQUENCE + SCROLL BLUR ===== */
/* Ocultos al inicio; luego aparecen con estilo pro después del logo */
.hero h2,
.hero-actions{
  visibility:hidden !important;
  opacity:0 !important;
  filter:blur(12px) !important;
  pointer-events:none;
  animation:none !important;
}

.hero.hero-title-ready h2{
  visibility:visible !important;
  opacity:var(--hero-title-opacity,1) !important;
  filter:blur(var(--hero-title-blur,0px)) !important;
  transform:
    translate3d(var(--hero-title-x,0px),var(--hero-title-y,0px),0)
    scale(var(--hero-title-scale,1)) !important;
  pointer-events:auto;
  transition:
    opacity .72s cubic-bezier(.16,1,.3,1),
    transform .72s cubic-bezier(.16,1,.3,1),
    filter .72s cubic-bezier(.16,1,.3,1) !important;
}

.hero.hero-actions-ready .hero-actions{
  visibility:visible !important;
  opacity:var(--hero-cta-opacity,1) !important;
  filter:blur(var(--hero-cta-blur,0px)) !important;
  transform:
    translate3d(0,var(--hero-cta-y,0px),0)
    scale(var(--hero-cta-scale,1)) !important;
  pointer-events:auto;
  transition:
    opacity .72s cubic-bezier(.16,1,.3,1),
    transform .72s cubic-bezier(.16,1,.3,1),
    filter .72s cubic-bezier(.16,1,.3,1) !important;
}

/* About tags */
.about-profile-tags span{
  font-size:16px !important;
}

/* Portfolio language fallback */
[data-i18n="workEyebrow"]{
  text-transform:uppercase;
}

/* ===== FINAL ADJUSTMENTS: slower hero reveal ===== */
.hero.hero-title-ready h2{
  transition:
    opacity 1.15s cubic-bezier(.16,1,.3,1),
    transform 1.15s cubic-bezier(.16,1,.3,1),
    filter 1.15s cubic-bezier(.16,1,.3,1) !important;
}

.hero.hero-actions-ready .hero-actions{
  transition:
    opacity 1.15s cubic-bezier(.16,1,.3,1),
    transform 1.15s cubic-bezier(.16,1,.3,1),
    filter 1.15s cubic-bezier(.16,1,.3,1) !important;
}

/* ===== FINAL ADJUSTMENTS: work card hover text position ===== */
.work-card:hover .work-content,
.work-card.active:hover .work-content{
  transform:translateY(0) !important;
}

.work-card.active .work-content,
.work-grid.has-active .work-card.active .work-content{
  transform:translateY(5px) !important;
}

.work-card:hover .work-content small,
.work-card.active:hover .work-content small{
  max-height:110px !important;
  line-height:1.34 !important;
}

.work-card .work-content strong{
  line-height:1.02 !important;
}

.work-card[data-project="mckinnas"] .work-content strong,
.work-card[data-project="icafal"] .work-content strong{
  font-size:22px !important;
  line-height:1.02 !important;
}

.work-card[data-project="mckinnas"] .work-content small,
.work-card[data-project="icafal"] .work-content small{
  font-size:16px !important;
  line-height:1.34 !important;
}

/* About: remove extra vertical padding inside the grid */
.about-profile-grid{
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* ===== CLEAN PROJECT COUNTRY META ===== */
.project-country{
  display:block !important;
  margin:0 0 28px !important;
  padding:0 !important;
  background:transparent !important;
  color:#8f98a1 !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:.26em !important;
  text-transform:uppercase !important;
}

.project-country::before{
  content:none !important;
  display:none !important;
}

.project-detail-header{
  border-bottom:1px solid rgba(0,0,0,.10) !important;
  padding-bottom:30px !important;
}

.project-detail-header h3{
  margin-bottom:12px !important;
}

/* ===== WORK CARD HOVER READABILITY FIX ===== */
/* En hover, incluso en las cards no activas, fondo sólido para lectura perfecta */
button.work-card:hover,
.work-card:hover,
.work-grid.has-active .work-card:not(.active):hover{
  background:#101317 !important;
  background-image:none !important;
  background-color:#101317 !important;
  filter:none !important;
  opacity:1 !important;
}

/* Sin overlay extra cuando el fondo ya es sólido */
button.work-card:hover::before,
.work-card:hover::before,
.work-grid.has-active .work-card:not(.active):hover::before{
  opacity:0 !important;
}

/* Hover general: no sube demasiado el contenido */
.work-card:hover .work-content,
.work-card.active:hover .work-content{
  transform:translateY(8px) !important;
  margin-bottom:10px !important;
}

/* Mckinnas y Terra necesitan aún más aire para que no queden arriba */
.work-card[data-project="mckinnas"]:hover .work-content,
.work-card[data-project="icafal"]:hover .work-content,
.work-card[data-project="mckinnas"].active:hover .work-content,
.work-card[data-project="icafal"].active:hover .work-content{
  transform:translateY(18px) !important;
  margin-bottom:10px !important;
}

/* Mantiene visible la descripción en hover */
.work-card:hover .work-content small,
.work-card.active:hover .work-content small{
  opacity:1 !important;
  max-height:120px !important;
  transform:translateY(0) !important;
  margin-top:8px !important;
  line-height:1.34 !important;
}

/* ===== HERO SEQUENCE: FASTER REVEAL ===== */
.hero.hero-title-ready h2{
  transition:
    opacity .82s cubic-bezier(.16,1,.3,1),
    transform .82s cubic-bezier(.16,1,.3,1),
    filter .82s cubic-bezier(.16,1,.3,1) !important;
}

.hero.hero-actions-ready .hero-actions{
  transition:
    opacity .82s cubic-bezier(.16,1,.3,1),
    transform .82s cubic-bezier(.16,1,.3,1),
    filter .82s cubic-bezier(.16,1,.3,1) !important;
}
