/* Contra Huella hero experiments. Original remains the default without a design query. */
html.home-editorial,
html.home-showcase {
  --hero-test-dark: #11110f;
  --hero-test-paper: #f4f1e9;
  --hero-test-orange: #f2653b;
  --hero-test-soft: rgba(244,241,233,.78);
}
html.home-editorial:has(#view-home.active) .site-header,
html.home-showcase:has(#view-home.active) .site-header {
  background: #141412;
  border-color: rgba(244,241,233,.16);
  color: #f4f1e9;
}
html.home-editorial:has(#view-home.active) .site-header a,
html.home-showcase:has(#view-home.active) .site-header a { color: #f4f1e9; }
html.home-editorial:has(#view-home.active) .site-header .brand-mark,
html.home-showcase:has(#view-home.active) .site-header .brand-mark {
  filter: brightness(0) invert(1);
}
html.home-editorial:has(#view-home.active) .site-header .language-switch,
html.home-showcase:has(#view-home.active) .site-header .language-switch,
html.home-editorial:has(#view-home.active) .site-header .language-switch button,
html.home-showcase:has(#view-home.active) .site-header .language-switch button,
html.home-editorial:has(#view-home.active) .site-header .nav-socials a,
html.home-showcase:has(#view-home.active) .site-header .nav-socials a {
  color: rgba(244,241,233,.72);
}
html.home-editorial:has(#view-home.active) .site-header .language-switch button[aria-pressed="true"],
html.home-showcase:has(#view-home.active) .site-header .language-switch button[aria-pressed="true"] {
  color: #fff;
}
html.home-editorial:has(#view-home.active) .site-header .header-divider,
html.home-showcase:has(#view-home.active) .site-header .header-divider { color: rgba(244,241,233,.32); }
html.home-editorial:has(#view-home.active) .site-header .theme-toggle,
html.home-showcase:has(#view-home.active) .site-header .theme-toggle {
  border-color: rgba(244,241,233,.55);
  box-shadow: 0 0 0 2px rgba(244,241,233,.08);
}
html.home-editorial:has(#view-home.active) .site-header .menu-toggle,
html.home-showcase:has(#view-home.active) .site-header .menu-toggle {
  border-color: rgba(244,241,233,.38);
  background: #141412;
  color: #f4f1e9;
}
html.home-editorial:has(#view-home.active) .site-header .nav-talk,
html.home-showcase:has(#view-home.active) .site-header .nav-talk {
  padding: 9px 14px;
  border-radius: 999px;
  background: #f4f1e9;
  color: #161614;
}
html.home-editorial #view-home .hero-home,
html.home-showcase #view-home .hero-home {
  position: relative;
  z-index: 0;
  display: block;
  min-height: min(820px, calc(100svh - 83px));
  padding: clamp(58px, 8vh, 96px) 0 clamp(62px, 8vh, 96px);
  overflow: visible;
  isolation: isolate;
  color: var(--hero-test-paper);
  text-align: left;
}
html.home-editorial #view-home .hero-home::before,
html.home-showcase #view-home .hero-home::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset-block: -1px;
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
  filter: none;
  pointer-events: none;
}
html.home-editorial #view-home .hero-home::after,
html.home-showcase #view-home .hero-home::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: -1px;
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}
html.home-editorial #view-home .hero-home::before {
  background-image:
    linear-gradient(90deg, rgba(30,15,12,.08) 0%, rgba(18,13,12,.12) 44%, rgba(10,10,9,.7) 100%),
    linear-gradient(0deg, rgba(8,8,7,.72) 0%, transparent 42%, rgba(183,48,30,.08) 100%),
    linear-gradient(115deg, rgba(214,63,38,.4) 0%, rgba(166,44,29,.18) 42%, transparent 73%),
    url("assets/alejandro-castellanos.webp");
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  background-position: center, center, center, 56% 42%;
  background-repeat: no-repeat;
}
html.home-editorial #view-home .hero-home::after {
  background:
    linear-gradient(0deg, rgba(10,10,9,.32), transparent 28%),
    radial-gradient(ellipse at 54% 42%, transparent 34%, rgba(10,9,9,.24) 100%);
}
html.home-showcase #view-home .hero-home {
  min-height: 0;
  padding-bottom: clamp(34px, 5vh, 58px);
}
html.home-showcase #view-home .hero-home::before {
  background:
    radial-gradient(ellipse at 22% 44%, rgba(177,38,27,.2), transparent 40%),
    radial-gradient(ellipse at 78% 41%, rgba(234,90,43,.19), transparent 38%),
    linear-gradient(145deg, #181715, #0d0d0c 68%);
}
html.home-showcase #view-home .hero-home::after {
  opacity: .055;
  background-image: radial-gradient(circle, rgba(255,255,255,.28) .7px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 76%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 76%, transparent 100%);
}
html.home-editorial #view-home .hero-home .hero-main,
html.home-showcase #view-home .hero-home .hero-main {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  margin: 0 auto;
}
html.home-editorial #view-home .hero-signal,
html.home-showcase #view-home .hero-signal {
  color: var(--hero-test-orange);
}
html.home-editorial #view-home .hero-signal {
  position: absolute;
  top: -24px;
  right: 3%;
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  text-shadow: 0 0 22px rgba(255,95,53,.5);
}
html.home-editorial #view-home .hero-home .hero-title {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  grid-template-areas: "greeting lead" "name lead" "service service";
  align-items: center;
  gap: 8px clamp(30px, 7vw, 100px);
  max-width: 1180px;
  margin: 0;
  color: var(--hero-test-paper);
  font-size: 16px;
  line-height: 1;
  letter-spacing: normal;
  text-align: left;
}
html.home-editorial #view-home .hero-title-greeting {
  grid-area: greeting;
  align-self: end;
  margin: 0 0 5px;
  color: var(--hero-test-paper);
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 650;
}
html.home-editorial #view-home .hero-title-name {
  grid-area: name;
  width: 8.6ch;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(76px, 9.3vw, 138px);
  line-height: .86;
  letter-spacing: -.085em;
  font-weight: 750;
  text-shadow: 0 3px 34px rgba(0,0,0,.25);
}
html.home-editorial #view-home .hero-title-lead {
  grid-area: lead;
  align-self: center;
  max-width: 13em;
  margin: .3em 0;
  color: #fff;
  font-size: clamp(22px, 2.7vw, 36px);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -.06em;
}
html.home-editorial #view-home .hero-title-service {
  grid-area: service;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 1.35em;
  margin: clamp(18px, 3vh, 34px) 0 0;
  color: var(--hero-test-orange);
  font-size: clamp(25px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.05;
}
html.home-editorial #view-home .hero-title-service .service-rotator {
  width: min(100%, 750px);
  min-height: 1.25em;
  border-top: 1px solid rgba(244,241,233,.36);
  border-bottom: 1px solid rgba(244,241,233,.36);
}
html.home-editorial #view-home .hero-title-service .service-current {
  max-width: 100%;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
html.home-editorial #view-home .hero-title-service.is-emphasis .service-current {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--hero-test-orange);
}
html.home-editorial #view-home .hero-home .hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 26px clamp(28px, 6vw, 78px);
  max-width: 1050px;
  margin: clamp(32px, 5vh, 54px) 0 0;
}
html.home-editorial #view-home .hero-home .hero-lower > p {
  max-width: 610px;
  margin: 0;
  color: var(--hero-test-soft);
  font-size: 15px;
  line-height: 1.65;
}
html.home-editorial #view-home .hero-home .hero-actions {
  justify-content: flex-start;
  margin-top: 0;
}
html.home-editorial #view-home .hero-home .button-dark,
html.home-showcase #view-home .hero-home .button-dark {
  border-color: var(--hero-test-paper);
  background: var(--hero-test-paper);
  color: #171715;
}
html.home-editorial #view-home .hero-home .button-dark span,
html.home-showcase #view-home .hero-home .button-dark span { color: #171715; }
html.home-editorial #view-home .hero-home .button-dark:hover,
html.home-showcase #view-home .hero-home .button-dark:hover {
  border-color: var(--hero-test-orange);
  background: var(--hero-test-orange);
}
html.home-editorial #view-home .hero-home .text-link,
html.home-showcase #view-home .hero-home .text-link {
  border-color: rgba(244,241,233,.46);
  color: var(--hero-test-paper);
}
html.home-editorial #view-home .hero-home .text-link span,
html.home-showcase #view-home .hero-home .text-link span { color: var(--hero-test-orange); }
html.home-editorial #view-home .hero-footstep.is-visible,
html.home-showcase #view-home .hero-footstep.is-visible {
  color: #ffd7c8;
  opacity: .19;
}

/* Second direction: centered studio intro with the featured work rising into the hero. */
html.home-showcase #view-home .hero-home {
  padding-top: clamp(40px, 6vh, 66px);
  padding-bottom: 0;
  overflow: visible;
  text-align: center;
}
html.home-showcase #view-home .hero-home::before,
html.home-showcase #view-home .hero-home::after {
  bottom: -1px;
  border-radius: 0 0 44px 44px;
}
html.home-showcase #view-home .hero-home .hero-main {
  width: min(100%, 960px);
  text-align: center;
}
html.home-showcase #view-home .hero-signal {
  margin: 0 auto 18px;
  color: var(--hero-test-orange);
  font-size: 27px;
  text-shadow: 0 0 18px rgba(242,101,59,.65);
}
html.home-showcase #view-home .hero-home .hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  color: var(--hero-test-paper);
  font-size: clamp(43px, 7.2vw, 96px);
  line-height: .95;
  letter-spacing: -.075em;
  text-align: center;
}
html.home-showcase #view-home .hero-title-greeting {
  margin: 0 0 .14em;
  color: var(--hero-test-paper);
  font-size: .42em;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.045em;
}
html.home-showcase #view-home .hero-title-name {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: 1.12em;
  line-height: .94;
  letter-spacing: -.085em;
  font-weight: 750;
}
html.home-showcase #view-home .hero-title-lead {
  max-width: 25em;
  margin: .5em 0 0;
  color: rgba(244,241,233,.8);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -.025em;
}
html.home-showcase #view-home .hero-title-service {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 1.3em;
  margin: .65em 0 0;
  color: var(--hero-test-orange);
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.2;
}
html.home-showcase #view-home .hero-title-service .service-rotator {
  justify-content: center;
  width: min(100%, 520px);
  min-height: 1.2em;
  border: 0;
}
html.home-showcase #view-home .hero-title-service .service-current { color: inherit; font: inherit; }
html.home-showcase #view-home .hero-title-service.is-emphasis .service-current {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--hero-test-orange);
}
html.home-showcase #view-home .hero-home .hero-lower {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  margin: 26px auto 0;
}
html.home-showcase #view-home .hero-home .hero-lower > p {
  max-width: 620px;
  margin: 0;
  color: rgba(244,241,233,.72);
  font-size: 13px;
  line-height: 1.55;
}
html.home-showcase #view-home .hero-home .hero-actions {
  justify-content: center;
  margin-top: 6px;
}
html.home-showcase #view-home #home-featured-section {
  position: relative;
  z-index: 1;
  display: block;
  padding: clamp(25px, 4vh, 44px) 0 0;
  border: 0;
  background: transparent;
  color: var(--hero-test-paper);
}
html.home-showcase #view-home #home-featured-section[hidden] { display: none !important; }
html.home-showcase #view-home #home-featured-section .page-wrap {
  width: min(100%, 1320px);
  max-width: none;
  padding-inline: 0;
}
html.home-showcase #view-home #home-featured-section .section-head {
  justify-content: center;
  margin-bottom: 24px;
}
html.home-showcase #view-home #home-featured-section .section-head h2 {
  margin: 0;
  color: rgba(244,241,233,.68);
  font-size: 10px;
  line-height: 1;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
html.home-showcase #view-home #home-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(12px, 2vw, 28px);
}
html.home-showcase #view-home #home-featured > .project-card,
html.home-showcase #view-home #home-featured > .showcase-temp-card {
  min-width: 0;
}
html.home-showcase #view-home #home-featured > .project-card:nth-child(1) { transform: translateY(22px) rotate(-2deg); }
html.home-showcase #view-home #home-featured > .project-card:nth-child(2) { z-index: 2; transform: translateY(0) rotate(.5deg); }
html.home-showcase #view-home #home-featured > .project-card:nth-child(3) { transform: translateY(29px) rotate(2deg); }
html.home-showcase #view-home #home-featured .artboard,
html.home-showcase #view-home #home-featured .showcase-temp-art {
  width: 100%;
  aspect-ratio: .88 / 1;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 19px 24px 16px 21px;
  box-shadow: 0 18px 42px rgba(0,0,0,.32);
}
html.home-showcase #view-home #home-featured .artboard { background: #222 !important; }
html.home-showcase #view-home #home-featured .artboard.has-image .art-copy {
  left: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 8px 10px 7px 9px;
}
html.home-showcase #view-home #home-featured .art-tag { display: none; }
html.home-showcase #view-home #home-featured .project-meta {
  display: flex;
  margin-top: 11px;
  color: rgba(244,241,233,.8);
}
html.home-showcase #view-home #home-featured .project-title {
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}
html.home-showcase #view-home #home-featured .project-description {
  color: rgba(244,241,233,.52);
}
html.home-showcase #view-home #home-featured .project-number { color: var(--hero-test-orange); }
html.home-showcase #view-home #home-featured > .showcase-temp-card {
  display: block;
  min-width: 0;
  padding: 0;
}
html.home-showcase #view-home #home-featured .showcase-temp-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  padding: 20px;
  color: #fff;
  isolation: isolate;
}
html.home-showcase #view-home #home-featured .showcase-temp-art::before,
html.home-showcase #view-home #home-featured .showcase-temp-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
html.home-showcase #view-home #home-featured .showcase-temp-art::before {
  inset: -20% -10% 20% 18%;
  border-radius: 47% 53% 44% 56%;
  background: var(--temp-orb);
  filter: blur(1px);
  transform: rotate(-16deg);
}
html.home-showcase #view-home #home-featured .showcase-temp-art::after {
  top: 12%;
  right: 12%;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(255,255,255,.08), 0 0 0 28px rgba(255,255,255,.05);
}
html.home-showcase #view-home #home-featured .showcase-temp-art strong {
  position: relative;
  max-width: 8em;
  color: inherit;
  font: 800 clamp(20px, 2.5vw, 36px)/.95 var(--sans);
  letter-spacing: -.075em;
}
html.home-showcase #view-home #home-featured .showcase-temp-kicker {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font: 8px var(--mono);
  letter-spacing: .08em;
}
html.home-showcase #view-home #home-featured .showcase-temp-index {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 1;
  font: 10px var(--mono);
}
html.home-showcase #view-home #home-featured .showcase-temp-card--1 .showcase-temp-art {
  background: linear-gradient(145deg, #f26943, #70231f 68%, #211816);
  --temp-orb: radial-gradient(circle at 48% 44%, #ffc05a 0 12%, #fb6842 13% 39%, rgba(41,17,15,.2) 68%);
}
html.home-showcase #view-home #home-featured .showcase-temp-card--2 .showcase-temp-art {
  background: linear-gradient(145deg, #5cc9bd, #117a78 56%, #163a3a);
  --temp-orb: radial-gradient(circle at 50% 45%, #b4eff0 0 10%, #50c8ba 11% 40%, rgba(12,40,40,.14) 68%);
}
html.home-showcase #view-home #home-featured .showcase-temp-card--3 .showcase-temp-art {
  background: linear-gradient(145deg, #d5d6ff, #6659d9 56%, #222049);
  --temp-orb: radial-gradient(circle at 48% 45%, #ffdb72 0 11%, #fb7552 12% 34%, #6e63db 35% 60%, rgba(20,20,40,.1) 72%);
}
html.home-showcase #view-home #home-featured .showcase-temp-card--1 .showcase-temp-art strong::after,
html.home-showcase #view-home #home-featured .showcase-temp-card--2 .showcase-temp-art strong::after,
html.home-showcase #view-home #home-featured .showcase-temp-card--3 .showcase-temp-art strong::after {
  content: "IMAGEN TEMPORAL";
  display: block;
  margin-top: 10px;
  font: 8px var(--mono);
  letter-spacing: .09em;
  opacity: .72;
}
html.home-showcase #view-home #home-featured .showcase-temp-card--2 .showcase-temp-art { transform: translateY(-10px); }
html.home-showcase #view-home #home-featured .showcase-temp-card--3 .showcase-temp-art { transform: translateY(8px); }
html.home-editorial #view-home .hero-home .hero-actions .button-dark,
html.home-showcase #view-home .hero-home .hero-actions .button-dark {
  animation: none;
  box-shadow: 0 3px 0 rgba(0,0,0,.28);
}
@media (max-width: 900px) {
  html.home-editorial #view-home .hero-home { min-height: 0; }
  html.home-editorial #view-home .hero-home .hero-title {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .82fr);
    gap: 8px 26px;
  }
  html.home-editorial #view-home .hero-title-name { font-size: clamp(69px, 10vw, 96px); }
  html.home-editorial #view-home .hero-home .hero-lower { grid-template-columns: 1fr; gap: 18px; }
  html.home-editorial #view-home .hero-home .hero-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  html.home-editorial:has(#view-home.active) .site-header,
  html.home-showcase:has(#view-home.active) .site-header { background: #141412; }
  html.home-editorial #view-home .hero-home {
    min-height: calc(100svh - 68px);
    padding: 54px 0 64px;
  }
  html.home-editorial #view-home .hero-home::before {
    background-position: center, center, center, 59% center;
  }
  html.home-editorial #view-home .hero-home .hero-title {
    grid-template-columns: 1fr;
    grid-template-areas: "greeting" "name" "lead" "service";
    gap: 12px;
  }
  html.home-editorial #view-home .hero-title-greeting { font-size: 17px; }
  html.home-editorial #view-home .hero-title-name {
    width: 8ch;
    font-size: clamp(67px, 17vw, 88px);
    letter-spacing: -.09em;
  }
  html.home-editorial #view-home .hero-title-lead {
    max-width: 16em;
    font-size: clamp(23px, 7vw, 31px);
  }
  html.home-editorial #view-home .hero-title-service {
    margin-top: 13px;
    font-size: clamp(24px, 7vw, 36px);
  }
  html.home-editorial #view-home .hero-home .hero-lower {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 26px;
  }
  html.home-editorial #view-home .hero-home .hero-lower > p { font-size: 14px; }
  html.home-editorial #view-home .hero-home .hero-actions { gap: 16px; }
  html.home-showcase #view-home .hero-home {
    min-height: 0;
    padding: 44px 0 0;
  }
  html.home-showcase #view-home .hero-home::before,
  html.home-showcase #view-home .hero-home::after { border-radius: 0 0 24px 24px; }
  html.home-showcase #view-home .hero-signal { margin-bottom: 17px; }
  html.home-showcase #view-home .hero-home .hero-title { font-size: clamp(40px, 11vw, 64px); }
  html.home-showcase #view-home .hero-title-name { font-size: 1.04em; }
  html.home-showcase #view-home .hero-title-service { font-size: 23px; }
  html.home-showcase #view-home .hero-home .hero-lower { margin-top: 18px; }
  html.home-showcase #view-home .hero-home .hero-lower > p { font-size: 12px; }
  html.home-showcase #view-home #home-featured-section {
    padding: 32px 0 36px;
  }
  html.home-showcase #view-home #home-featured-section .page-wrap { padding-inline: 0; }
  html.home-showcase #view-home #home-featured-section .section-head { margin-bottom: 14px; }
  html.home-showcase #view-home #home-featured {
    display: flex;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 5px 16px;
    margin-inline: -5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  html.home-showcase #view-home #home-featured::-webkit-scrollbar { display: none; }
  html.home-showcase #view-home #home-featured > .project-card,
  html.home-showcase #view-home #home-featured > .showcase-temp-card {
    flex: 0 0 min(72vw, 282px);
    scroll-snap-align: center;
  }
  html.home-showcase #view-home #home-featured > .project-card:nth-child(n),
  html.home-showcase #view-home #home-featured > .showcase-temp-card:nth-child(n) { transform: none; }
  html.home-showcase #view-home #home-featured .artboard,
  html.home-showcase #view-home #home-featured .showcase-temp-art {
    aspect-ratio: .92 / 1;
    border-radius: 16px 20px 14px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.home-editorial #view-home .hero-home::before,
  html.home-showcase #view-home .hero-home::before { animation: none !important; }
}



