/* AVANTIX Home V2 — reference stylesheet
   Extiende el theme actual. NO reemplazar portal.css ni ws-portal.css.
*/

.avx-home-v2 {
  /* Mobile/tablet: 4rem floor. Desktop unifies every full section to ~6.5rem max. */
  --avx-section-pad: clamp(4rem, 8vw, 8rem);
  --avx-beat-pad: clamp(2.85rem, 6vw, 4.75rem);
  --avx-gap: clamp(1.5rem, 3vw, 3rem);
  overflow-x: clip;
  overflow-y: visible;
}
@media (min-width: 1024px) {
  .avx-home-v2 {
    --avx-section-pad: clamp(4.25rem, 6.5vw, 6.5rem);
    --avx-beat-pad: clamp(2.5rem, 4.5vw, 3.5rem);
  }
  .avx-section--hero:not(.avx-section--hero-photo) {
    padding-block: clamp(4.25rem, 8vw, 6.5rem);
  }
}

.avx-home-v2 *,
.avx-home-v2 *::before,
.avx-home-v2 *::after { box-sizing: border-box; }

.avx-container {
  width: var(--ac-column, min(calc(100% - 3rem), 1200px));
  margin-inline: auto;
}

.avx-section {
  position: relative;
  padding-block: var(--avx-section-pad);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* Ritmo de superficies: hero → card → fondo → card → … */
.avx-section--surface { background: hsl(var(--card)); }
.avx-section--deep { background: hsl(var(--background)); }

/* Hero ULTRA / tech: misma pieza que home, otra paleta. Sin órbitas ni escena. */
.avx-masthead[data-scene="flow"],
.avx-home-v2:has(.avx-masthead[data-scene="flow"]) .avx-section--final {
  --avx-hero-glow-a: hsl(268 52% 64% / 0.42);
  --avx-hero-glow-b: hsl(var(--foreground) / 0.08);
  --avx-hero-glow-c: hsl(250 42% 54% / 0.26);
  --avx-hero-glow-d: hsl(220 48% 62% / 0.18);
  --avx-hero-glow-e: hsl(300 40% 58% / 0.3);
}
.avx-masthead[data-scene="mesh"],
.avx-home-v2:has(.avx-masthead[data-scene="mesh"]) .avx-section--final {
  --avx-hero-glow-a: hsl(152 56% 44% / 0.42);
  --avx-hero-glow-b: hsl(var(--foreground) / 0.08);
  --avx-hero-glow-c: hsl(168 46% 38% / 0.26);
  --avx-hero-glow-d: hsl(186 48% 52% / 0.18);
  --avx-hero-glow-e: hsl(88 46% 48% / 0.28);
}
.avx-masthead[data-scene="tide"],
.avx-home-v2:has(.avx-masthead[data-scene="tide"]) .avx-section--final {
  --avx-hero-glow-a: hsl(214 72% 52% / 0.42);
  --avx-hero-glow-b: hsl(var(--foreground) / 0.08);
  --avx-hero-glow-c: hsl(204 58% 44% / 0.28);
  --avx-hero-glow-d: hsl(226 48% 58% / 0.2);
  --avx-hero-glow-e: hsl(192 54% 48% / 0.28);
}
html[data-ws-color-scheme="light"] .avx-masthead[data-scene="flow"],
html[data-ws-color-scheme="light"] .avx-home-v2:has(.avx-masthead[data-scene="flow"]) .avx-section--final {
  --avx-hero-glow-a: hsl(268 52% 64% / 0.2);
  --avx-hero-glow-c: hsl(250 42% 54% / 0.12);
  --avx-hero-glow-d: hsl(220 48% 62% / 0.09);
  --avx-hero-glow-e: hsl(300 40% 58% / 0.14);
}
html[data-ws-color-scheme="light"] .avx-masthead[data-scene="mesh"],
html[data-ws-color-scheme="light"] .avx-home-v2:has(.avx-masthead[data-scene="mesh"]) .avx-section--final {
  --avx-hero-glow-a: hsl(152 56% 44% / 0.2);
  --avx-hero-glow-c: hsl(168 46% 38% / 0.12);
  --avx-hero-glow-d: hsl(186 48% 52% / 0.09);
  --avx-hero-glow-e: hsl(88 46% 48% / 0.13);
}
html[data-ws-color-scheme="light"] .avx-masthead[data-scene="tide"],
html[data-ws-color-scheme="light"] .avx-home-v2:has(.avx-masthead[data-scene="tide"]) .avx-section--final {
  --avx-hero-glow-a: hsl(214 72% 52% / 0.2);
  --avx-hero-glow-c: hsl(204 58% 44% / 0.12);
  --avx-hero-glow-d: hsl(226 48% 58% / 0.09);
  --avx-hero-glow-e: hsl(192 54% 48% / 0.13);
}
.avx-masthead[data-scene="flow"] .avx-hero-bg__glow--a,
.avx-home-v2:has(.avx-masthead[data-scene="flow"]) .avx-section--final .avx-hero-bg__glow--a {
  top: -22%;
  width: min(78vw, 700px);
  height: min(78vw, 700px);
}
.avx-masthead[data-scene="mesh"] .avx-hero-bg__glow--a,
.avx-home-v2:has(.avx-masthead[data-scene="mesh"]) .avx-section--final .avx-hero-bg__glow--a {
  top: -34%;
  left: 22%;
  width: min(96vw, 980px);
  height: min(82vw, 820px);
}
.avx-masthead[data-scene="mesh"] .avx-hero-bg__glow--e,
.avx-home-v2:has(.avx-masthead[data-scene="mesh"]) .avx-section--final .avx-hero-bg__glow--e {
  top: -14%;
  width: min(52vw, 440px);
  height: min(52vw, 440px);
}
.avx-masthead[data-scene="tide"] .avx-hero-bg__glow--a,
.avx-home-v2:has(.avx-masthead[data-scene="tide"]) .avx-section--final .avx-hero-bg__glow--a {
  top: -28%;
  left: 18%;
  width: min(88vw, 860px);
  height: min(78vw, 760px);
}
.avx-masthead[data-scene="tide"] .avx-hero-bg__glow--e,
.avx-home-v2:has(.avx-masthead[data-scene="tide"]) .avx-section--final .avx-hero-bg__glow--e {
  top: -8%;
  right: -4%;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
}

/* Masthead wash: foto maximizada, muy liviana, grilla + glows encima. */
.avx-masthead--wash .avx-masthead-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.avx-masthead--wash .avx-masthead-wash img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 18%;
  opacity: 0.2;
  filter: grayscale(0.28) contrast(1.08) saturate(0.7);
}
.avx-masthead--wash .avx-hero-bg {
  z-index: 1;
}
.avx-masthead--wash .avx-hero-bg__planets,
.avx-masthead--wash .avx-hero-bg__flow {
  display: none;
}
html[data-ws-color-scheme="light"] .avx-masthead--wash .avx-masthead-wash img,
[data-ws-color-scheme="light"] .avx-masthead--wash .avx-masthead-wash img {
  opacity: 0.12;
  filter: grayscale(0.4) contrast(1.05) saturate(0.55);
}
.avx-masthead .avx-h1 {
  max-width: 32ch;
}
.avx-home-v2:has(.avx-method) .avx-masthead .avx-h1,
.avx-masthead[data-scene="tide"] .avx-h1 {
  max-width: 22em;
}
.avx-masthead-body {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
  max-width: 46rem;
}
.avx-masthead-body .avx-lead { margin: 0; }
.avx-masthead--wash .avx-masthead-body {
  max-width: 54rem;
  gap: 0;
}
.avx-masthead--wash .avx-masthead-body .avx-lead + .avx-lead {
  margin-top: 2.35rem;
  padding-top: 0.15rem;
}

.avx-rail-head { max-width: 46rem; margin-bottom: 2.25rem; }
.avx-rail-head .avx-highlight { margin-top: 1rem; }
.avx-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.35rem;
  position: relative;
}
.avx-rail-step {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.65rem;
  position: relative;
  padding: 0 0.2rem;
}
.avx-rail-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: calc(50% + 1.2rem);
  right: calc(-50% + 1.2rem);
  height: 1px;
  background: hsl(var(--avx-scene, var(--primary)) / 0.45);
}
.avx-rail-section[data-scene="flow"] {
  --avx-scene: 268 48% 64%;
}
.avx-rail-step .avx-h3 {
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  font-weight: 550;
  max-width: 9ch;
}

.avx-journey[data-scene="flow"] {
  --avx-scene: var(--primary);
}
.avx-journey-head {
  max-width: none;
  margin-bottom: 2.5rem;
  text-align: left;
}
.avx-journey-head .avx-h2 {
  max-width: none;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 1.18;
}
.avx-journey-principles {
  margin-top: 1.35rem;
  max-width: 40rem;
}
.avx-journey-principles .avx-discover-list {
  grid-column: auto;
}
.avx-pullquote {
  margin: 1.75rem 0 0;
  max-width: none;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}
.avx-pullquote p {
  margin: 0;
  max-width: none;
  color: hsl(var(--foreground));
  font-family: var(--font-serif, Newsreader, serif);
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  font-style: italic;
  font-weight: 300;
  font-optical-sizing: auto;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-align: left;
  quotes: "“" "”";
}
.avx-pullquote p::before {
  content: open-quote;
}
.avx-pullquote p::after {
  content: close-quote;
}
.avx-pullquote footer {
  margin-top: 0.85rem;
  font-style: normal;
  text-align: right;
}
.avx-pullquote cite {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.avx-pullquote cite::before {
  content: "— ";
  letter-spacing: 0;
}
.avx-journey-head .avx-lead {
  max-width: none;
  margin: 0;
  font-size: clamp(1.05rem, 1.22vw, 1.16rem);
  line-height: 1.6;
}
.avx-journey-rail { margin: 0 0 3rem; }
.avx-journey-rail a {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}
.avx-journey-rail a:hover .avx-step-num,
.avx-journey-rail a:focus-visible .avx-step-num {
  background: hsl(var(--primary) / 0.14);
}
.avx-journey-line {
  position: relative;
  max-width: none;
  display: grid;
  gap: 0.6rem;
}
.avx-tramo {
  --avx-dot: 2.75rem;
  position: relative;
  margin: 0;
  padding: 0;
  scroll-margin-top: 5.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, hsl(var(--card)), hsl(var(--card) / 0.82));
  transition: border-color 180ms ease;
}
html[data-ws-color-scheme="light"] .avx-tramo {
  background: linear-gradient(180deg, hsl(220 28% 96%), hsl(28 42% 96%));
}
.avx-tramo:hover,
.avx-tramo:has(.avx-tramo-acc[open]) {
  border-color: hsl(var(--primary) / 0.42);
}
.avx-tramo-num {
  width: var(--avx-dot);
  height: var(--avx-dot);
  font-size: 0.78rem;
}
.avx-tramo:has(.avx-tramo-acc[open]) .avx-tramo-num {
  background: hsl(var(--primary) / 0.12);
}
.avx-tramo-acc {
  min-width: 0;
  margin: 0;
}
.avx-tramo-sum {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: var(--avx-dot) minmax(0, 1fr) 1.15rem;
  column-gap: 1rem;
  align-items: center;
  padding: 0.85rem 1.1rem;
}
.avx-tramo-sum::-webkit-details-marker { display: none; }
.avx-tramo-head {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}
.avx-tramo-sum::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  justify-self: end;
  border-right: 1.5px solid hsl(var(--muted-foreground));
  border-bottom: 1.5px solid hsl(var(--muted-foreground));
  transform: rotate(45deg);
  transition: transform 180ms ease;
}
.avx-tramo-acc[open] .avx-tramo-sum::after {
  transform: rotate(225deg);
}
.avx-tramo-sum:hover .avx-h3,
.avx-tramo-sum:focus-visible .avx-h3 {
  color: hsl(var(--primary));
}
.avx-tramo-sum:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: -2px;
  border-radius: calc(var(--radius) + 2px);
}
.avx-tramo-main .avx-h3,
.avx-tramo-sum .avx-h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 550;
  max-width: none;
  letter-spacing: -0.02em;
}
.avx-tramo-teaser {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
  line-height: 1.4;
}
.avx-tramo-ask {
  margin: 0.15rem 0 0;
  color: hsl(var(--foreground) / 0.92);
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 450;
}
.avx-tramo-panel {
  padding: 0.15rem 1.15rem 1.05rem calc(1.1rem + var(--avx-dot) + 1rem);
  border-top: 1px solid hsl(var(--border) / 0.85);
}
.avx-tramo-hint {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.avx-tramo-q {
  margin: 0.85rem 0 0.85rem;
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  line-height: 1.4;
  color: hsl(var(--foreground) / 0.9);
  font-weight: 450;
}
.avx-tramo-copy {
  margin: 0 0 1.15rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 46rem;
}
.avx-tramo-quote {
  margin: 0 0 1.15rem;
  padding: 1.05rem 1.2rem 1.05rem 1.3rem;
  border-left: 2px solid hsl(var(--primary) / 0.75);
  font-size: clamp(1.06rem, 1.45vw, 1.26rem);
  line-height: 1.45;
  color: hsl(var(--foreground));
  font-weight: 450;
}
.avx-tramo--cycle .avx-tramo-quote {
  background: hsl(var(--primary) / 0.07);
  border-radius: 0 0.85rem 0.85rem 0;
}
.avx-tramo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 0 0 1.15rem;
}
.avx-tramo-col {
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.15rem;
}
.avx-tramo-col--out {
  background: hsl(var(--foreground) / 0.035);
  border: 1px solid hsl(var(--border));
}
.avx-tramo-col--in {
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--primary) / 0.28);
}
.avx-tramo-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.avx-tramo-col ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.45rem;
  color: hsl(var(--foreground) / 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
}
.avx-tramo-ol {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0;
}
.avx-tramo-ol li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.8);
  color: hsl(var(--foreground) / 0.88);
  line-height: 1.5;
}
.avx-tramo-ol li:last-child { border-bottom: 0; }
.avx-tramo-ol-n {
  font-size: 0.72rem;
  font-weight: 700;
  color: hsl(var(--primary));
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}
.avx-tramo-ticks {
  margin: 0.55rem 0 0;
}
.avx-tramo-ticks li {
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.7rem;
}
.avx-tramo-tick {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.14);
  color: hsl(var(--primary));
}
.avx-tramo-tick::before {
  content: "";
  width: 0.28rem;
  height: 0.5rem;
  margin-top: -0.12rem;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
}
.avx-tramo-matter .avx-discover-list {
  grid-column: auto;
  margin: 0 0 1.15rem;
}
.avx-tramo-grid .avx-discover-list--icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0;
}
.avx-tramo-grid .avx-discover-list--icons li {
  margin: 0;
  border: 1px solid hsl(var(--border));
  border-radius: 0.95rem;
  padding: 0.9rem 1rem;
}
.avx-tramo-out {
  margin: 0.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 1rem;
  line-height: 1.5;
}
.avx-tramo-out span:first-child {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  font-weight: 650;
}

.avx-section--hero,
.avx-section--final {
  --avx-hero-line: hsl(var(--foreground) / 0.2);
  --avx-hero-orbit: hsl(var(--foreground) / 0.12);
  --avx-hero-glow-a: hsl(var(--primary) / 0.28);
  --avx-hero-glow-b: hsl(var(--foreground) / 0.08);
  --avx-hero-glow-c: hsl(var(--primary) / 0.16);
  --avx-hero-glow-d: hsl(186 48% 52% / 0.18);
  --avx-hero-glow-e: hsl(18 86% 54% / 0.18);
  --avx-hero-grid: hsl(var(--foreground) / 0.07);
  --avx-hero-flow: 0.52;
  --avx-hero-accent: hsl(var(--primary) / 0.95);
  --avx-hero-teal: 186 48% 52%;
  --avx-hero-ember: 18 86% 54%;
  --avx-hero-cream: 38 42% 82%;
  --avx-hero-veil: linear-gradient(
    90deg,
    hsl(var(--hero-bg) / 0.9) 0%,
    hsl(var(--hero-bg) / 0.55) 22%,
    hsl(var(--hero-bg) / 0.14) 40%,
    transparent 54%
  );
}
html[data-ws-color-scheme="light"] .avx-section--hero,
html[data-ws-color-scheme="light"] .avx-section--final {
  --avx-hero-glow-a: hsl(var(--primary) / 0.14);
  --avx-hero-glow-c: hsl(var(--primary) / 0.08);
  --avx-hero-glow-d: hsl(186 48% 52% / 0.09);
  --avx-hero-glow-e: hsl(18 86% 54% / 0.09);
}

.avx-section--hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  /* Fondo sólido distinto al siguiente bloque (no fundir a --background) */
  background: hsl(var(--hero-bg));
}
.avx-section--hero:has(.avx-device-stage) {
  overflow: visible;
}

.avx-section--final {
  isolation: isolate;
  overflow: hidden;
  background: hsl(var(--hero-bg));
}
.avx-section--final .avx-hero-bg__glow {
  animation: none;
}
.avx-section--final .avx-hero-bg__veil {
  background: linear-gradient(
    180deg,
    hsl(var(--hero-bg) / 0.08) 0%,
    hsl(var(--hero-bg) / 0.22) 100%
  );
}
.avx-section--final > .avx-container {
  position: relative;
  z-index: 1;
}

.avx-section--hero.avx-section--hero-photo {
  --avx-hero-photo-veil:
    linear-gradient(
      90deg,
      hsl(var(--hero-bg) / 0.92) 0%,
      hsl(var(--hero-bg) / 0.72) 36%,
      hsl(var(--hero-bg) / 0.32) 64%,
      hsl(var(--hero-bg) / 0.12) 100%
    ),
    linear-gradient(
      180deg,
      hsl(var(--hero-bg) / 0.28) 0%,
      transparent 38%,
      hsl(var(--hero-bg) / 0.4) 100%
    );
  min-height: clamp(26rem, 64vh, 38rem);
  padding-block: clamp(5rem, 11vw, 8rem);
}
html[data-ws-color-scheme="light"] .avx-section--hero.avx-section--hero-photo,
[data-ws-color-scheme="light"] .avx-section--hero.avx-section--hero-photo {
  --avx-hero-photo-veil:
    linear-gradient(
      90deg,
      hsl(var(--hero-bg) / 0.94) 0%,
      hsl(var(--hero-bg) / 0.78) 38%,
      hsl(var(--hero-bg) / 0.4) 66%,
      hsl(var(--hero-bg) / 0.18) 100%
    ),
    linear-gradient(
      180deg,
      hsl(var(--hero-bg) / 0.22) 0%,
      transparent 40%,
      hsl(var(--hero-bg) / 0.38) 100%
    );
}
.avx-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.avx-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 55%;
  filter: saturate(0.62) contrast(0.96);
}
.avx-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--avx-hero-photo-veil);
}
.avx-section--hero-photo .avx-h1,
.avx-section--hero-photo .avx-lead {
  text-shadow: 0 1px 18px hsl(var(--hero-bg) / 0.45);
}
.avx-section--hero-photo .avx-hero-copy {
  max-width: 44rem;
}

.avx-section--final.avx-section--final-photo {
  --avx-final-photo-veil:
    linear-gradient(
      180deg,
      hsl(var(--section-final-bg) / 0.82) 0%,
      hsl(var(--section-final-bg) / 0.7) 42%,
      hsl(var(--section-final-bg) / 0.86) 100%
    );
  isolation: isolate;
  overflow: hidden;
}
html[data-ws-color-scheme="light"] .avx-section--final.avx-section--final-photo,
[data-ws-color-scheme="light"] .avx-section--final.avx-section--final-photo {
  --avx-final-photo-veil:
    linear-gradient(
      180deg,
      hsl(var(--section-final-bg) / 0.84) 0%,
      hsl(var(--section-final-bg) / 0.76) 46%,
      hsl(var(--section-final-bg) / 0.9) 100%
    );
}
.avx-final-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.avx-final-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 55%;
  filter: saturate(0.85) contrast(1.02);
}
.avx-final-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--avx-final-photo-veil);
}
.avx-section--final-photo .avx-final-inner {
  position: relative;
  z-index: 1;
}
.avx-section--final-photo .avx-h2,
.avx-section--final-photo .avx-body {
  text-shadow: 0 1px 16px hsl(var(--section-final-bg) / 0.4);
}

/* Divisor naranja sutil entre secciones (no en el borde superior del hero) */
.avx-home-v2 .avx-section:not(.avx-section--hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - 3rem, 1200px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsl(var(--primary) / 0.12) 18%,
    hsl(var(--primary) / 0.42) 50%,
    hsl(var(--primary) / 0.12) 82%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
}
.avx-home-v2 #mas-modulos::before,
.avx-home-v2 #pilares::before {
  content: none;
}
.avx-home-v2 #plataforma {
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.avx-home-v2 #mas-modulos {
  padding-top: 0.35rem;
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.avx-home-v2 #avantix {
  padding-bottom: 0.35rem;
}
.avx-home-v2 #pilares {
  padding-top: 0.35rem;
}
.avx-home-v2 #mas-modulos .avx-discover-lead {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  font-weight: 300;
  line-height: 1.65;
}

.avx-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--avx-gap);
}

.avx-hero-grid {
  position: relative;
  z-index: 2;
  align-items: center;
}
.avx-hero-grid--product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 1024px) {
  /* Ancho del copy amplio; el borde izquierdo calza con .avx-container (1200px). */
  .avx-container.avx-hero-grid--field {
    width: auto;
    max-width: none;
    margin-inline: 0;
    margin-left: max(1.5rem, calc((100% - 1200px) / 2));
    margin-right: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, min(64rem, 77%)) minmax(0, 1fr);
    gap: 2.5rem;
  }
  .avx-hero-grid--field .avx-hero-copy {
    max-width: none;
  }
  .avx-hero-grid--field .avx-h1--typed {
    max-width: none;
  }
}
.avx-hero-copy {
  max-width: 44rem;
  z-index: 2;
}
.avx-hero-device {
  min-width: 0;
}

/* Hero background — Precision + Flow (solo hero) */
.avx-hero-bg {
  --avx-work-gutter: max(1.5rem, calc((100% - 1200px) / 2));
  --avx-work-width: min(1200px, calc(100% - 2 * var(--avx-work-gutter)));
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Lienzo anclado al área 1200px: un poco más a la izquierda, fade en el borde derecho. */
.avx-hero-bg__stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--avx-work-gutter) - 4.5rem);
  width: calc(var(--avx-work-width) + 4.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(100% - 9.5rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(100% - 9.5rem),
    transparent 100%
  );
}

.avx-hero-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform;
}

.avx-hero-bg__glow--a {
  width: min(92vw, 920px);
  height: min(78vw, 760px);
  left: 28%;
  top: -30%;
  background: radial-gradient(circle, var(--avx-hero-glow-a), transparent 68%);
  animation: avx-hero-drift-a 14s ease-in-out infinite alternate;
}

.avx-hero-bg__glow--b {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  left: 64%;
  bottom: -18%;
  background: radial-gradient(circle, var(--avx-hero-glow-b), transparent 70%);
  animation: avx-hero-drift-b 16s ease-in-out infinite alternate;
}

.avx-hero-bg__glow--c {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  left: 36%;
  top: 12%;
  background: radial-gradient(circle, var(--avx-hero-glow-c), transparent 72%);
  animation: avx-hero-drift-c 12s ease-in-out infinite alternate;
}

.avx-hero-bg__glow--d {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  left: 72%;
  top: 38%;
  background: radial-gradient(circle, var(--avx-hero-glow-d), transparent 70%);
  animation: avx-hero-drift-d 18s ease-in-out infinite alternate;
}

.avx-hero-bg__glow--e {
  width: min(48vw, 400px);
  height: min(48vw, 400px);
  left: 74%;
  top: -12%;
  background: radial-gradient(circle, var(--avx-hero-glow-e), transparent 68%);
  animation: avx-hero-drift-e 11s ease-in-out infinite alternate;
}

html[data-ws-color-scheme="light"] .avx-hero-bg__glow--a {
  width: min(147vw, 1470px);
  height: min(125vw, 1216px);
}
html[data-ws-color-scheme="light"] .avx-hero-bg__glow--b,
html[data-ws-color-scheme="light"] .avx-hero-bg__glow--c {
  width: min(83vw, 672px);
  height: min(83vw, 672px);
}
html[data-ws-color-scheme="light"] .avx-hero-bg__glow--d {
  width: min(77vw, 608px);
  height: min(77vw, 608px);
}
html[data-ws-color-scheme="light"] .avx-hero-bg__glow--e {
  width: min(77vw, 640px);
  height: min(77vw, 640px);
}
html[data-ws-color-scheme="light"] .avx-masthead[data-scene="flow"] .avx-hero-bg__glow--a,
html[data-ws-color-scheme="light"] .avx-home-v2:has(.avx-masthead[data-scene="flow"]) .avx-section--final .avx-hero-bg__glow--a {
  width: min(125vw, 1120px);
  height: min(125vw, 1120px);
}
html[data-ws-color-scheme="light"] .avx-masthead[data-scene="mesh"] .avx-hero-bg__glow--a,
html[data-ws-color-scheme="light"] .avx-home-v2:has(.avx-masthead[data-scene="mesh"]) .avx-section--final .avx-hero-bg__glow--a {
  width: min(154vw, 1568px);
  height: min(131vw, 1312px);
}
html[data-ws-color-scheme="light"] .avx-masthead[data-scene="mesh"] .avx-hero-bg__glow--e,
html[data-ws-color-scheme="light"] .avx-home-v2:has(.avx-masthead[data-scene="mesh"]) .avx-section--final .avx-hero-bg__glow--e {
  width: min(83vw, 704px);
  height: min(83vw, 704px);
}

.avx-hero-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--avx-hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--avx-hero-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 86% 78% at 78% 48%, #000 28%, transparent 78%);
}

.avx-hero-bg__flow {
  position: absolute;
  left: 22%;
  right: 0;
  top: 50%;
  width: auto;
  max-width: none;
  height: min(82%, 580px);
  transform: translateY(-50%);
  color: var(--avx-hero-line);
  opacity: calc(var(--avx-hero-flow) * 0.62);
  animation: avx-hero-flow-shift 15s ease-in-out infinite alternate;
}

.avx-hero-bg__orbits {
  color: var(--avx-hero-orbit);
  opacity: 0.7;
}

.avx-hero-bg__orbit {
  transform-origin: 538px 250px;
  animation: avx-hero-orbit 18s linear infinite;
}

.avx-hero-bg__orbit--a { animation-duration: 18s; }
.avx-hero-bg__orbit--b {
  animation-duration: 13s;
  animation-direction: reverse;
  opacity: 0.75;
}
.avx-hero-bg__orbit--c {
  animation-duration: 9s;
  opacity: 0.9;
}
.avx-hero-bg__orbit--d {
  animation-duration: 26s;
  opacity: 0.45;
}
.avx-hero-bg__orbit--e {
  animation-duration: 7s;
  animation-direction: reverse;
  opacity: 1;
}

/* Líneas sólidas suaves (sin dash / sin “hormigas”) */
.avx-hero-bg__strokes path {
  stroke-dasharray: none;
  opacity: 0.68;
}

.avx-hero-bg__planets {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.avx-hero-bg__planet {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: hsl(var(--foreground) / 0.55);
  box-shadow: 0 0 0 4px hsl(var(--foreground) / 0.04);
  will-change: transform;
  animation: avx-planet-drift-1 11s ease-in-out infinite alternate;
}

.avx-hero-bg__planet[data-tone="amber"] {
  background: hsl(var(--primary) / 0.82);
  box-shadow:
    0 0 0 5px hsl(var(--primary) / 0.1),
    0 0 18px hsl(var(--primary) / 0.32);
}
.avx-hero-bg__planet[data-tone="teal"] {
  background: hsl(var(--avx-hero-teal) / 0.85);
  box-shadow:
    0 0 0 4px hsl(var(--avx-hero-teal) / 0.12),
    0 0 16px hsl(var(--avx-hero-teal) / 0.3);
}
.avx-hero-bg__planet[data-tone="ember"] {
  background: hsl(var(--avx-hero-ember) / 0.88);
  box-shadow:
    0 0 0 4px hsl(var(--avx-hero-ember) / 0.12),
    0 0 16px hsl(var(--avx-hero-ember) / 0.28);
}
.avx-hero-bg__planet[data-tone="cream"] {
  background: hsl(var(--avx-hero-cream) / 0.7);
  box-shadow: 0 0 0 3px hsl(var(--avx-hero-cream) / 0.08);
}

.avx-hero-bg__planet[data-m="1"] { animation-name: avx-planet-drift-1; }
.avx-hero-bg__planet[data-m="2"] { animation-name: avx-planet-drift-2; }
.avx-hero-bg__planet[data-m="3"] { animation-name: avx-planet-drift-3; }
.avx-hero-bg__planet[data-m="4"] { animation-name: avx-planet-drift-4; }

.avx-hero-bg__planet--core {
  width: 11px;
  height: 11px;
  left: 70%;
  top: 46%;
  background: var(--avx-hero-accent);
  box-shadow:
    0 0 0 8px hsl(var(--primary) / 0.12),
    0 0 36px hsl(var(--primary) / 0.42);
  animation: avx-planet-core 3.4s ease-in-out infinite;
}

/* Legibilidad del copy: el flujo vive a la derecha */
.avx-hero-bg__veil {
  position: absolute;
  inset: 0;
  background: var(--avx-hero-veil);
  z-index: 1;
}

@keyframes avx-hero-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-32px, 22px, 0) scale(1.08); }
}

@keyframes avx-hero-drift-b {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(28px, -20px, 0); }
}

@keyframes avx-hero-drift-c {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, -22px, 0) scale(1.1); }
}

@keyframes avx-hero-drift-d {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, 18px, 0) scale(1.12); }
}

@keyframes avx-hero-drift-e {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-22px, 14px, 0) scale(1.08); }
}

@keyframes avx-hero-flow-shift {
  from { transform: translateY(-50%) translateX(0) scale(1); opacity: calc(var(--avx-hero-flow) * 0.55); }
  to { transform: translateY(calc(-50% - 12px)) translateX(-8px) scale(1.02); opacity: calc(var(--avx-hero-flow) * 0.65); }
}

@keyframes avx-hero-orbit {
  from { transform: rotate(-12deg); }
  to { transform: rotate(348deg); }
}

@keyframes avx-planet-drift-1 {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-28px, 20px, 0); }
}
@keyframes avx-planet-drift-2 {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(24px, -24px, 0); }
}
@keyframes avx-planet-drift-3 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, -22px, 0) scale(1.22); }
}
@keyframes avx-planet-drift-4 {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(26px, 16px, 0); }
}
@keyframes avx-planet-core {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.2); opacity: 1; }
}

.avx-eyebrow {
  margin: 0 0 1rem;
  color: hsl(var(--primary));
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.avx-eyebrow + .avx-h1,
.avx-eyebrow + .avx-h2,
.avx-eyebrow + .avx-h3,
.avx-eyebrow + .avx-discover-heading {
  margin-top: 0;
}

.avx-h1,
.avx-h2,
.avx-h3 {
  margin: 0;
  color: hsl(var(--foreground));
  letter-spacing: -.04em;
}

.avx-h1 {
  max-width: 28ch;
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 500;
}

.avx-h1--typed {
  position: relative;
  max-width: 48ch;
}

.avx-typed-sizer {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.avx-typed-line {
  position: absolute;
  inset: 0 0 auto 0;
}

.avx-h1--typed-stack {
  max-width: none;
}

.avx-h1--typed-stack .avx-typed-sizer,
.avx-h1--typed-stack .avx-typed-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.avx-h1--typed-stack .avx-typed-prefix,
.avx-h1--typed-stack .avx-typed-slot,
.avx-h1--typed-stack .avx-typed {
  display: block;
  white-space: nowrap;
}

.avx-typed-prefix {
  font: inherit;
}

.avx-typed-brand,
.avx-brand,
.avx-ultra {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--primary));
}

.avx-em {
  font-weight: 600;
  letter-spacing: -0.015em;
  color: hsl(var(--foreground));
}

.avx-typed-punct {
  font: inherit;
  color: hsl(var(--foreground));
}

.avx-typed-caret {
  display: inline-block;
  width: 2px;
  height: 0.82em;
  margin-left: 0.12em;
  background: hsl(var(--primary));
  vertical-align: -0.06em;
  animation: avx-caret-blink 1.55s steps(1) infinite;
}

.avx-typed-caret.is-typing {
  animation: none;
  opacity: 1;
}

@keyframes avx-caret-blink {
  0%, 58% { opacity: 1; }
  59%, 100% { opacity: 0; }
}

.avx-h2 {
  max-width: 46ch;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1.12;
  font-weight: 500;
}

.avx-h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.25;
  font-weight: 550;
}

.avx-lead {
  max-width: 52rem;
  margin: 1.25rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.02rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  font-weight: 300;
}

html:not([data-ws-color-scheme="light"]) .avx-section--hero .avx-lead {
  color: hsl(210 14% 84%);
}

.avx-body {
  max-width: 68ch;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  font-weight: 300;
}

.avx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.avx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 0;
  padding: 0.8rem 1.05rem;
  border: none;
  border-radius: calc(var(--radius, 0.5rem) - 2px);
  font-family: inherit;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.avx-btn.avx-btn--locale,
.ac-nav-link.avx-btn--locale,
.ac-btn.avx-btn--locale {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.avx-btn--locale .avx-btn-sizer {
  display: grid;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  font: inherit;
  font-weight: inherit;
}
.avx-btn--locale .avx-btn-sizer > span {
  grid-area: 1 / 1;
  white-space: nowrap;
}
.avx-btn--locale .avx-btn-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  pointer-events: none;
}

.avx-btn--primary {
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
}
.avx-btn--primary .avx-brand {
  color: inherit;
}

.avx-btn--secondary {
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.92);
  border: 1px solid hsl(var(--border));
  padding: calc(0.8rem - 1px) calc(1.05rem - 1px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px hsl(220 30% 4% / 0.18);
}

@media (min-width: 1024px) {
  .avx-btn { padding: 0.72rem 1rem; }
  .avx-btn--secondary { padding: calc(0.72rem - 1px) calc(1rem - 1px); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .avx-btn { padding: 0.66rem 0.9rem; }
  .avx-btn--secondary { padding: calc(0.66rem - 1px) calc(0.9rem - 1px); }
}

.avx-btn:hover { transform: translateY(-2px); }
.avx-btn--secondary .avx-btn-brand,
.avx-btn--secondary .avx-brand {
  color: hsl(var(--primary));
  font-weight: 700;
}
.avx-btn--secondary:hover {
  border-color: hsl(var(--primary) / 0.55);
  background: hsl(var(--card));
}

html[data-ws-color-scheme="light"] .avx-btn--secondary,
[data-ws-color-scheme="light"] .avx-btn--secondary {
  background: hsl(0 0% 100% / 0.88);
  box-shadow: 0 6px 18px hsl(220 20% 40% / 0.1);
}
.avx-btn:focus-visible,
.avx-card-link:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 4px;
}

/* REVEAL */
[data-avx-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 680ms cubic-bezier(.22,.61,.36,1),
    transform 680ms cubic-bezier(.22,.61,.36,1);
}

[data-avx-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* DISCOVER — ritmo de hero (eyebrow → título → bajada → evidencia) */
.avx-discover-intro {
  width: 100%;
  padding-bottom: var(--avx-beat-pad);
  text-align: center;
}
.avx-discover-heading {
  margin: 0 auto;
  max-width: none;
  color: hsl(var(--foreground));
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.avx-discover-lead {
  margin: 1.25rem auto 0;
  max-width: none;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
}
.avx-discover-lead-stack {
  margin: 1.25rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: none;
}
.avx-discover-lead-stack .avx-discover-lead {
  margin: 0;
}

.avx-discover-intro--cite {
  text-align: center;
}
.avx-discover-intro--cite .avx-discover-heading {
  margin: 0 auto;
}
.avx-discover-intro--cite .avx-pullquote,
.avx-discover-intro--cite .avx-pullquote p {
  text-align: left;
}
.avx-discover-intro--cite .avx-pullquote {
  max-width: none;
  width: 100%;
}

.avx-discover-beat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2.25rem, 4.5vw, 4.5rem);
  row-gap: 0;
  align-items: start;
  padding-block: var(--avx-beat-pad);
  border-top: 1px solid hsl(var(--border));
  scroll-margin-top: 5.25rem;
}
.avx-discover-beat:target {
  border-top-color: hsl(var(--primary) / 0.55);
}
.avx-discover-beat:first-child {
  border-top: 0;
  padding-top: 0;
}
.avx-discover-intro + .avx-discover-beat {
  border-top: 1px solid hsl(var(--border));
  padding-top: var(--avx-beat-pad);
}
.avx-discover-close {
  margin-top: var(--avx-beat-pad);
  padding-top: var(--avx-beat-pad);
  border-top: 1px solid hsl(var(--border));
}
.avx-discover-close .avx-h2 {
  max-width: none;
}
.avx-discover-close .avx-discover-body {
  max-width: none;
}
.avx-discover-beat:has(+ .avx-discover-close) {
  padding-bottom: 0.35rem;
}

.avx-discover-intro--quiet {
  padding-bottom: 1.05rem;
  text-align: left;
}
.avx-discover-intro--quiet .avx-discover-heading {
  margin: 0;
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.35;
  color: hsl(var(--muted-foreground));
}
.avx-section--tight {
  --avx-section-pad: clamp(2.35rem, 4.5vw, 3.5rem);
}

.avx-discover-tag {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.7rem;
  margin: 0 0 1rem;
}
.avx-discover-index {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  color: hsl(var(--primary));
}
.avx-discover-tag-arrow {
  color: hsl(var(--primary) / 0.7);
  letter-spacing: 0;
}
.avx-discover-tag-hint {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: hsl(var(--primary) / 0.78);
}

.avx-discover-copy { grid-column: 1; }

.avx-discover .avx-h2 {
  max-width: none;
  font-size: clamp(1.5rem, 2.35vw, 2.15rem);
  line-height: 1.18;
}

.avx-discover-body {
  margin: 1.25rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.02rem, 1.15vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
}

.avx-discover-list {
  grid-column: 2;
  margin: 0;
  padding: 0 0 0 1.15rem;
}
.avx-discover-beat:has(.avx-discover-tag) .avx-discover-list,
.avx-discover-beat:has(.avx-discover-tag) .avx-doors--stack {
  grid-row: 2;
}
.avx-discover-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.7);
  color: hsl(var(--foreground));
  line-height: 1.55;
}
.avx-discover-list li:first-child { padding-top: 0; }
.avx-discover-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.avx-discover-list li::marker { color: hsl(var(--primary)); }

.avx-discover-list--icons {
  list-style: none;
  padding-left: 0;
}
.avx-discover-list--icons li {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.85rem;
  align-items: start;
}
.avx-discover-mark {
  display: inline-flex;
  color: hsl(var(--primary));
  margin-top: 0.18rem;
}
.avx-discover-mark svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

/* PROBLEM */
.avx-problem-title { grid-column: 1 / span 5; align-self: start; }
.avx-signals { grid-column: 6 / -1; border-top: 1px solid hsl(var(--border)); }

.avx-signal {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: .95rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  line-height: 1.5;
}

.avx-signal-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .2rem;
  color: hsl(var(--primary));
}

.avx-signal-mark svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.avx-problem-close {
  grid-column: 6 / -1;
  margin-top: 2rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.avx-problem-close strong { color: hsl(var(--foreground)); font-weight: 500; }
.avx-problem-close .avx-brand { color: hsl(var(--primary)); font-weight: 700; }
.avx-problem-close .avx-ultra { color: hsl(var(--primary)); font-weight: 700; }

.avx-problem-body {
  margin: 1.2rem 0 0;
  max-width: 36rem;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.55;
}

.avx-dialectic--thesis .avx-posture-item {
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

.avx-dialectic--antithesis .avx-posture-item {
  font-weight: 600;
}

.avx-dialectic--synthesis .avx-paths-intro {
  max-width: 46rem;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.5;
  color: hsl(var(--foreground) / 0.88);
}

/* APPROACH */
.avx-approach-copy { grid-column: 1 / span 5; }
.avx-timeline { grid-column: 7 / -1; position: relative; }

.avx-step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 0 0 2rem;
}

.avx-step::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2rem;
  bottom: 0;
  width: 1px;
  background: hsl(var(--border));
}

.avx-step:last-child::before { display: none; }

.avx-step-num {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid hsl(var(--primary) / .55);
  color: hsl(var(--primary));
  font-size: .75rem;
  font-weight: 700;
  background: hsl(var(--card));
  z-index: 1;
}

.avx-step p { margin: .5rem 0 0; color: hsl(var(--muted-foreground)); }

.avx-highlight {
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 2px solid hsl(var(--primary));
  color: hsl(var(--foreground));
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
}

/* PATHS */
.avx-paths-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.avx-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.avx-paths-grid--2 {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.avx-paths-grid--2 .avx-path-card {
  min-height: 0;
}
.avx-paths-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.avx-paths-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.avx-paths-grid--4 .avx-path-card,
.avx-paths-grid--5 .avx-path-card,
.avx-paths-grid--compact .avx-path-card {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  column-gap: 0.65rem;
  align-items: start;
  min-height: 0;
  padding: 1rem 0.85rem 1.1rem;
}
.avx-paths-grid--4 .avx-path-icon,
.avx-paths-grid--5 .avx-path-icon,
.avx-paths-grid--compact .avx-path-icon {
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
}
.avx-paths-grid--4 .avx-path-icon svg,
.avx-paths-grid--5 .avx-path-icon svg,
.avx-paths-grid--compact .avx-path-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}
.avx-paths-grid--4 .avx-h3,
.avx-paths-grid--5 .avx-h3,
.avx-paths-grid--compact .avx-h3 {
  align-self: center;
  font-size: 0.98rem;
}
.avx-paths-grid--4 .avx-path-card p,
.avx-paths-grid--4 .avx-card-link,
.avx-paths-grid--5 .avx-path-card p,
.avx-paths-grid--5 .avx-card-link,
.avx-paths-grid--compact .avx-path-card p,
.avx-paths-grid--compact .avx-card-link {
  grid-column: 1 / -1;
}
.avx-paths-grid--4 .avx-path-card p,
.avx-paths-grid--5 .avx-path-card p,
.avx-paths-grid--compact .avx-path-card p {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}
.avx-paths-intro {
  max-width: 52rem;
  margin-top: 0.85rem;
}

.avx-path-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(180deg, hsl(var(--card)), hsl(var(--card) / .72));
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}
a.avx-path-card {
  color: inherit;
  text-decoration: none;
}
.avx-path-card--disabled {
  opacity: 0.58;
  cursor: default;
}
.avx-path-card--disabled:hover {
  transform: none;
  border-color: hsl(var(--border));
  box-shadow: none;
}
html[data-ws-color-scheme="light"] .avx-path-card {
  background: linear-gradient(180deg, hsl(220 30% 96.5%), hsl(28 48% 96%));
  border-color: hsl(220 16% 82%);
  box-shadow: 0 10px 28px hsl(220 20% 40% / 0.06);
}

.avx-path-card:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--primary) / .5);
  box-shadow: 0 18px 50px hsl(220 30% 2% / .22);
}

.avx-path-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.08);
}

.avx-path-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.avx-path-card:hover .avx-path-icon {
  border-color: hsl(var(--primary) / 0.55);
  background: hsl(var(--primary) / 0.14);
}

.avx-path-card p {
  margin: 1rem 0 2rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

.avx-doors {
  margin-top: 2rem;
}
.avx-doors .avx-path-card {
  min-height: 0;
}

.avx-discover-beat .avx-doors--stack {
  grid-column: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
}
.avx-discover-beat--doors .avx-discover-tag,
.avx-discover-beat--doors .avx-discover-copy {
  grid-column: 1;
}
.avx-paths--doors {
  border-top: 0;
  padding-block: 0;
}
.avx-paths--doors .avx-door-mark {
  display: grid;
  place-items: start center;
  padding-top: 0.28rem;
  color: hsl(var(--primary));
}
.avx-paths--doors .avx-door-mark svg {
  width: 1.15rem;
  height: 1.15rem;
}
.avx-door {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  column-gap: 0.85rem;
  padding: 1.05rem 0 1.1rem;
  border-top: 1px solid hsl(var(--border) / 0.72);
  text-decoration: none;
  color: inherit;
}
.avx-door:first-child {
  padding-top: 0;
  border-top: 0;
}
.avx-door:last-child {
  padding-bottom: 0;
}
.avx-door-index {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 650;
  color: hsl(var(--primary));
  padding-top: 0.38rem;
}
.avx-door-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.28vw, 1.22rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.avx-door-copy p {
  margin: 0.4rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.55;
}
.avx-door-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.65rem;
  min-height: 1.2rem;
  color: hsl(var(--primary));
  font-size: 0.86rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}
.avx-door-cta span {
  display: inline-block;
  transition: transform 180ms ease;
}
.avx-door-cta--idle {
  visibility: hidden;
}
.avx-door--link:hover .avx-door-cta span {
  transform: translateX(3px);
}
.avx-door--link:focus-visible {
  outline: 2px solid hsl(var(--primary) / 0.55);
  outline-offset: 4px;
}

.avx-bridge {
  padding-block: var(--avx-section-pad);
}
.avx-bridge-copy {
  max-width: 42rem;
}
.avx-bridge .avx-h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.2;
}
.avx-bridge .avx-lead {
  margin-top: 1.15rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.avx-pack {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, hsl(var(--card)), hsl(var(--card) / .72));
}
html[data-ws-color-scheme="light"] .avx-pack {
  background: linear-gradient(180deg, hsl(220 30% 96.5%), hsl(28 48% 96%));
  border-color: hsl(220 16% 82%);
  box-shadow: 0 10px 28px hsl(220 20% 40% / 0.06);
}
.avx-pack-head {
  max-width: none;
  margin-bottom: clamp(1.35rem, 2.8vw, 2rem);
}
.avx-pack-head .avx-h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.avx-pack-lead {
  margin: 0.85rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  font-weight: 300;
  line-height: 1.65;
}
.avx-pack-head .avx-pack-lead:first-child {
  margin-top: 0;
}
.avx-pack-modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid hsl(var(--border));
}
.avx-pack-module {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  padding: 1.15rem 0.85rem;
  margin-inline: -0.85rem;
  border: 1px solid transparent;
  border-bottom-color: hsl(var(--border) / 0.65);
  border-radius: calc(var(--radius) + 2px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}
.avx-pack-module:last-child {
  border-bottom-color: transparent;
  padding-bottom: 1.15rem;
}
.avx-pack-module:hover {
  z-index: 1;
  transform: translateY(-3px);
  border-color: hsl(var(--primary) / .5);
  box-shadow: 0 18px 50px hsl(220 30% 2% / .22);
  background: linear-gradient(180deg, hsl(var(--card)), hsl(var(--card) / .88));
}
.avx-pack-module .avx-path-icon {
  width: 2.65rem;
  height: 2.65rem;
  margin: 0.1rem 0 0;
  transition: border-color 220ms ease, background 220ms ease;
}
.avx-pack-module:hover .avx-path-icon {
  border-color: hsl(var(--primary) / 0.55);
  background: hsl(var(--primary) / 0.14);
}
.avx-pack-module-title {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.avx-pack-module p {
  margin: 0.35rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .avx-pack-modules {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(1.5rem, 3vw, 2.75rem);
  }
  .avx-pack-module:nth-last-child(2) {
    border-bottom-color: transparent;
  }
}

.avx-card-link {
  margin-top: auto;
  color: hsl(var(--primary));
  font-weight: 600;
  text-decoration: none;
}

.avx-card-link span {
  display: inline-block;
  transition: transform 180ms ease;
}
.avx-card-link:hover span { transform: translateX(4px); }

/* POSTURE — copy + bullets más juntos (sin hueco a la derecha) */
.avx-posture-grid { align-items: start; gap: 2rem 2.5rem; }
.avx-posture-copy { grid-column: 1 / span 6; }
.avx-posture-list { grid-column: 7 / -1; border-top: 1px solid hsl(var(--border)); }

.avx-posture-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 1.05rem;
}

.avx-posture-item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: .8rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  vertical-align: middle;
}

.avx-posture--stack .avx-posture-copy {
  max-width: none;
}
.avx-posture--stack .avx-h2 {
  max-width: none;
}
.avx-posture--stack .avx-article-body p {
  max-width: none;
}

.avx-article {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  justify-items: start;
}
.avx-article:not(.avx-article--media) {
  max-width: none;
}
.avx-article-copy {
  max-width: 46rem;
  width: 100%;
  justify-self: start;
  text-align: left;
}
.avx-article--lede {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: 0;
  align-items: start;
}
.avx-article--lede .avx-article-lede,
.avx-article--lede .avx-article-copy {
  max-width: none;
  width: 100%;
}
.avx-article--lede .avx-h2 {
  font-size: clamp(1.55rem, 2.45vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.avx-article--lede .avx-article-lede .avx-lead {
  margin-top: 1.15rem;
  max-width: none;
}
.avx-article--lede .avx-article-lede-text .avx-h2 {
  margin: 0;
}
.avx-article--lede .avx-article-lede-text .avx-article-list--spec {
  margin-top: 1.15rem;
}
.avx-article--lede .avx-article-list--spec li[data-avx-reveal]:nth-child(1) { transition-delay: 0ms; }
.avx-article--lede .avx-article-list--spec li[data-avx-reveal]:nth-child(2) { transition-delay: 90ms; }
.avx-article--lede .avx-article-list--spec li[data-avx-reveal]:nth-child(3) { transition-delay: 180ms; }
.avx-article--lede .avx-article-list--spec li[data-avx-reveal]:nth-child(4) { transition-delay: 270ms; }
.avx-lead-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.avx-lead-list li {
  position: relative;
  padding-left: 1.15rem;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.02rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  font-weight: 300;
}
.avx-lead-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
}
.avx-lead-list--cards {
  gap: 0.5rem;
}
.avx-lead-list--cards li {
  display: block;
  margin: 0;
  padding: 0.78rem 0.9rem 0.82rem;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  background: hsl(var(--card));
  color: hsl(var(--foreground) / 0.9);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 400;
  transition:
    border-color 220ms ease,
    opacity 680ms cubic-bezier(.22,.61,.36,1),
    transform 680ms cubic-bezier(.22,.61,.36,1);
}
.avx-lead-list--cards li[data-avx-reveal] {
  transform: translateY(28px);
}
.avx-lead-list--cards li[data-avx-reveal].is-visible {
  transform: translateY(0);
}
.avx-lead-list--cards li[data-avx-reveal]:nth-child(1) { transition-delay: 0ms; }
.avx-lead-list--cards li[data-avx-reveal]:nth-child(2) { transition-delay: 90ms; }
.avx-lead-list--cards li[data-avx-reveal]:nth-child(3) { transition-delay: 180ms; }
.avx-lead-list--cards li[data-avx-reveal]:nth-child(4) { transition-delay: 270ms; }
.avx-lead-list--cards li::before {
  content: none;
}
.avx-lead-list--cards li:hover {
  border-color: hsl(var(--primary) / 0.5);
}
html:not([data-ws-color-scheme="light"]) .avx-article--lede .avx-lead-list li,
html:not([data-ws-color-scheme="light"]) .avx-lead-list--cards li {
  color: hsl(210 14% 88%);
}
.avx-article--lede .avx-article-body {
  margin-top: 0;
  gap: 1.15rem;
}
.avx-article--lede .avx-article-body p {
  max-width: none;
  font-size: 1.06rem;
  line-height: 1.7;
}
.avx-article--lede .avx-highlight {
  margin-top: 2rem;
  padding: 1.15rem 0 0;
  border-left: 0;
  border-top: 1px solid hsl(var(--foreground) / 0.22);
  font-family: inherit;
  font-style: normal;
  font-weight: 550;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
#emiliano .avx-article--lede {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: auto auto auto;
}
#emiliano .avx-eyebrow {
  grid-column: 1;
  grid-row: 1;
}
#emiliano .avx-article-lede {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}
#emiliano .avx-article-copy {
  grid-column: 1;
  grid-row: 3;
}
#emiliano .avx-article-body {
  margin-top: 1.25rem;
}
#emiliano .avx-article-media {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: start;
}
#emiliano .avx-article-media img {
  width: 100%;
  height: auto;
  border-radius: 1.15rem;
  object-fit: cover;
}
#que-es .avx-article--lede,
#proposito .avx-article--lede {
  grid-template-rows: auto auto;
}
#que-es .avx-article-lede,
#proposito .avx-article-lede {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: subgrid;
}
#que-es .avx-article-copy,
#proposito .avx-article-copy {
  grid-column: 2;
  grid-row: 2;
}
.avx-tension-band {
  margin-top: clamp(1.75rem, 3.6vw, 2.6rem);
}
.avx-tension-band .avx-lead {
  margin: 0;
  max-width: none;
}
.avx-tension-copy {
  display: grid;
  gap: 1.15rem;
  width: 100%;
  max-width: none;
}
.avx-tension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 2rem;
}
.avx-tension-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.4rem;
  min-width: 0;
  margin: 0;
  padding: 0.85rem 0.85rem 0.9rem;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  background: hsl(var(--background));
  transition:
    border-color 220ms ease,
    opacity 680ms cubic-bezier(.22,.61,.36,1),
    transform 680ms cubic-bezier(.22,.61,.36,1);
}
.avx-tension-card[data-avx-reveal] {
  transform: translateY(28px);
}
.avx-tension-card[data-avx-reveal].is-visible {
  transform: translateY(0);
}
.avx-tension-card[data-avx-reveal]:nth-child(1) { transition-delay: 0ms; }
.avx-tension-card[data-avx-reveal]:nth-child(2) { transition-delay: 80ms; }
.avx-tension-card[data-avx-reveal]:nth-child(3) { transition-delay: 160ms; }
.avx-tension-card[data-avx-reveal]:nth-child(4) { transition-delay: 240ms; }
.avx-tension-card[data-avx-reveal]:nth-child(5) { transition-delay: 320ms; }
.avx-tension-card[data-avx-reveal]:nth-child(6) { transition-delay: 400ms; }
.avx-tension-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}
.avx-tension-icon {
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.08);
}
.avx-tension-icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}
.avx-tension-word {
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: hsl(var(--foreground) / 0.92);
  overflow-wrap: break-word;
}
.avx-tension-word--home,
.avx-tension-word--away {
  text-align: center;
  justify-self: stretch;
}
.avx-tension-vs {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}
html:not([data-ws-color-scheme="light"]) .avx-tension-word {
  color: hsl(210 14% 88%);
}
.avx-energy-band {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.avx-energy-head {
  display: grid;
  gap: 1rem;
  max-width: 54rem;
}
.avx-energy-head .avx-h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.45vw, 2.2rem);
}
.avx-energy-head .avx-lead {
  margin: 0;
  max-width: none;
}
.avx-energy-band .avx-article-list--spec {
  margin-top: 1.25rem;
}
.avx-energy-band .avx-article-list--spec li[data-avx-reveal]:nth-child(1) { transition-delay: 0ms; }
.avx-energy-band .avx-article-list--spec li[data-avx-reveal]:nth-child(2) { transition-delay: 90ms; }
.avx-energy-band .avx-article-list--spec li[data-avx-reveal]:nth-child(3) { transition-delay: 180ms; }
.avx-energy-band .avx-article-list--spec li[data-avx-reveal]:nth-child(4) { transition-delay: 270ms; }
.avx-energy-band .avx-article-list--spec li[data-avx-reveal]:nth-child(5) { transition-delay: 360ms; }
.avx-energy-copy {
  display: block;
  min-width: 0;
}
.avx-energy-kicker {
  display: block;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
.avx-energy-note {
  display: block;
  margin-top: 0.35rem;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  line-height: 1.55;
}
.avx-energy-close {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
  max-width: 54rem;
}
.avx-energy-close .avx-lead {
  margin: 0;
  max-width: none;
}
.avx-paths--lede {
  grid-template-rows: auto auto;
}
.avx-paths--lede .avx-article-lede {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: subgrid;
}
.avx-paths--lede .avx-paths-lede-text {
  min-width: 0;
}
.avx-paths--lede .avx-discover-lead-stack {
  margin: 1.05rem 0 0;
  gap: 0.55rem;
}
.avx-paths--lede .avx-discover-lead {
  margin: 0;
  font-size: 1.05rem;
}
.avx-paths--lede .avx-paths-lede-cards {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
}
.avx-paths-grid--lede {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}
.avx-paths-grid--lede .avx-path-card {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  column-gap: 0.9rem;
  align-items: start;
  min-height: 0;
  padding: 0.9rem 1.05rem;
}
.avx-paths-grid--lede .avx-step-num {
  margin-top: 0.05rem;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  background: hsl(var(--background));
}
.avx-paths-grid--lede .avx-h3::before,
.avx-paths-grid--lede .avx-h3::after {
  content: none;
}
.avx-paths-lede-card-copy {
  min-width: 0;
}
.avx-paths-grid--lede .avx-h3 {
  font-size: 1.02rem;
}
.avx-paths-grid--lede .avx-path-card p {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.avx-article--media .avx-article-copy {
  max-width: none;
}
.avx-article .avx-h2 {
  max-width: none;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.avx-article--media {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}
.avx-article-body {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}
.avx-article-body p,
.avx-posture-copy .avx-article-body p {
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 42rem;
}
.avx-article-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.avx-article-list li {
  padding-left: 1.15rem;
  position: relative;
  color: hsl(var(--foreground) / 0.92);
  line-height: 1.5;
}
.avx-article-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-weight: 700;
}

.avx-article--spec {
  max-width: none;
  text-align: left;
  justify-items: stretch;
}
.avx-article--spec .avx-article-copy,
.avx-article--spec .avx-article-list,
.avx-article--spec .avx-highlight,
.avx-article--spec .avx-article-close {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  text-align: left;
}
.avx-article--spec .avx-discover-intro,
.avx-article--spec .avx-discover-heading {
  margin-inline: 0;
  text-align: left;
}
.avx-article--spec .avx-discover-intro--quiet {
  padding-bottom: 0.35rem;
}
.avx-article--spec .avx-h2 {
  margin-bottom: 1.15rem;
}
.avx-article-close {
  margin-top: 1.15rem;
  max-width: none;
  font-weight: 500;
  color: hsl(var(--foreground));
}
.avx-article-list--spec {
  margin-top: 0.35rem;
  gap: 0;
}
.avx-article-list--spec li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: start;
  padding: 0.8rem 0;
  padding-left: 0;
  border-bottom: 1px solid hsl(var(--border) / 0.55);
  color: hsl(var(--foreground) / 0.9);
  line-height: 1.55;
}
.avx-article-list--spec li:last-child {
  border-bottom: 0;
}
.avx-article-list--spec li::before {
  content: none;
}
.avx-spec-mark {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  border: 1px solid hsl(var(--primary) / 0.38);
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}
.avx-spec-mark svg {
  width: 0.72rem;
  height: 0.72rem;
  display: block;
}
.avx-spec-mark .avx-spec-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: currentColor;
}

/* Product shots (Real Estate / landings con captura) */
.avx-showcase-head {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.avx-showcase-head .avx-lead {
  margin-top: 0.85rem;
}
.avx-showcase-list {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  overflow: visible;
}
.avx-shot {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: start;
  overflow: visible;
}
.avx-shot-copy {
  padding-top: 0.25rem;
}
.avx-shot--flip .avx-shot-copy { order: 2; }
.avx-shot-copy .avx-h3 { margin-bottom: 0.65rem; }
.avx-shot-copy p { color: hsl(var(--muted-foreground)); line-height: 1.55; }

.avx-hero-device,
.avx-article-media,
.avx-shot .avx-device-stage {
  min-width: 0;
}

.avx-device-stage {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.25rem 0.35rem 1.15rem;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
}
button.avx-device-stage {
  cursor: zoom-in;
}
.avx-device-stage::before {
  content: "";
  position: absolute;
  inset: 22% 10% 12%;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, hsl(var(--primary) / 0.18), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
}
.avx-device-stage::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 2px;
  height: 14px;
  z-index: 0;
  background: radial-gradient(ellipse at center, hsl(220 40% 2% / 0.42), transparent 72%);
  pointer-events: none;
}
.avx-device {
  position: relative;
  z-index: 1;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid hsl(var(--foreground) / 0.12);
  background: hsl(220 18% 8%);
  box-shadow:
    0 1px 0 hsl(0 0% 100% / 0.08) inset,
    0 10px 24px hsl(220 40% 2% / 0.28),
    0 22px 48px hsl(220 40% 2% / 0.22);
}
.avx-device__stand {
  display: block;
  position: relative;
  z-index: 1;
  width: min(38%, 168px);
  height: 9px;
  margin: 7px auto 0;
  border-radius: 0 0 7px 7px;
  background: linear-gradient(180deg, hsl(220 10% 30%), hsl(220 14% 14%));
  box-shadow: 0 1px 0 hsl(0 0% 100% / 0.08) inset;
}
.avx-device__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  background: hsl(220 14% 12%);
  border-bottom: 1px solid hsl(0 0% 100% / 0.06);
}
.avx-device__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--foreground) / 0.22);
}
.avx-device__screen {
  background: hsl(220 16% 6%);
}
.avx-device__screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  vertical-align: top;
}
.avx-shot-ph {
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: hsl(var(--muted-foreground));
  background:
    linear-gradient(135deg, hsl(var(--muted) / 0.4), transparent 62%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      hsl(var(--foreground) / 0.03) 10px,
      hsl(var(--foreground) / 0.03) 11px
    );
}
.avx-shot-ph span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.avx-shot-ph strong {
  display: block;
  color: hsl(var(--foreground));
  font-weight: 550;
}

.avx-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
  margin-top: 2rem;
}
.avx-gallery-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
}
button.avx-gallery-card {
  cursor: zoom-in;
}
.avx-gallery-thumb {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid hsl(var(--foreground) / 0.1);
  background: transparent;
}
.avx-gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.avx-gallery-thumb .avx-shot-ph {
  aspect-ratio: 16 / 10;
}
.avx-gallery-card .avx-h3 {
  margin: 0;
  font-size: 1rem;
}
.avx-gallery-card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.5;
}

.avx-zoom {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.avx-zoom[hidden] { display: none; }
.avx-zoom__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: hsl(220 20% 4% / 0.88);
  cursor: zoom-out;
}
.avx-zoom__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: min(1120px, 94vw);
  max-height: 92vh;
}
.avx-zoom__dialog img {
  display: block;
  max-width: 94vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px hsl(0 0% 0% / 0.5);
  background: hsl(220 16% 6%);
}
.avx-zoom__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 550;
  text-align: center;
  color: hsl(var(--foreground));
}
.avx-zoom__caption {
  margin: 0;
  max-width: 42rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.45;
}
.avx-zoom__close,
.avx-zoom__prev,
.avx-zoom__next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid hsl(var(--foreground) / 0.16);
  border-radius: 999px;
  background: hsl(220 16% 10% / 0.9);
  color: hsl(var(--foreground));
  cursor: pointer;
}
.avx-zoom__close { top: 1.25rem; right: 1.25rem; z-index: 2; }
.avx-zoom__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); z-index: 2; }
.avx-zoom__next { right: 1.25rem; top: 50%; transform: translateY(-50%); z-index: 2; }
.avx-zoom__nav[hidden] { display: none; }
body.avx-zoom-open { overflow: hidden; }

.avx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.avx-chip {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground) / 0.85);
}

.avx-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.avx-compare-col {
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
  border: 1px solid hsl(var(--border));
}
.avx-compare-col--before {
  background: hsl(var(--muted) / 0.35);
}
.avx-compare-col--after {
  border-color: hsl(var(--primary) / 0.45);
  background: hsl(var(--primary) / 0.08);
}
.avx-compare-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
}
.avx-compare-col--after .avx-compare-kicker {
  color: hsl(var(--primary));
}
.avx-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.avx-compare-col li {
  padding-left: 1.1rem;
  position: relative;
}
.avx-compare-col--before li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: hsl(var(--muted-foreground));
}
.avx-compare-col--after li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
}

/* CTA + form */
.avx-final-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.avx-final-inner--form {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  text-align: center;
}
.avx-final-inner--form .avx-h2 {
  max-width: 22em;
  margin-inline: auto;
}
.avx-final-inner--form .avx-body {
  max-width: 40rem;
  margin: 1.1rem auto 0;
}
.avx-final-form {
  width: 100%;
  max-width: none;
  text-align: left;
}
.avx-final-form .avx-form .avx-btn {
  justify-self: center;
}

.avx-form {
  display: grid;
  gap: 0.7rem;
}
.avx-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 768px) {
  .avx-form-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.7rem;
  }
  .avx-form-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .avx-form-row--mix {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.7fr);
  }
}
.avx-form-field {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}
.avx-form-field label,
.avx-form-checks legend {
  font-size: 0.72rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.82);
}
.avx-form-field input,
.avx-form-field select,
.avx-form-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.92);
  color: hsl(var(--foreground));
  font: inherit;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .avx-form-field input,
  .avx-form-field select {
    min-height: 34px;
    padding: 0.32rem 0.55rem;
    font-size: 0.8125rem;
  }
}
.avx-form-field textarea { min-height: 4.25rem; resize: vertical; }
.avx-form-field input:focus-visible,
.avx-form-field select:focus-visible,
.avx-form-field textarea:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}
.avx-form-checks {
  border: 0;
  padding: 0;
  margin: 0.15rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  align-items: start;
  gap: 0.5rem;
  text-align: left;
  width: 100%;
}
.avx-form-checks legend {
  margin-bottom: 0.15rem;
  padding: 0;
  justify-self: start;
  text-align: left;
  float: none;
  width: auto;
}
.avx-form-check {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  justify-self: start;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
}
.avx-form-check input {
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  margin-top: 0.15rem;
  accent-color: hsl(var(--primary));
}
.avx-hp,
.ws-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.avx-form-consent { margin-top: 0.25rem; }
.avx-form-link {
  color: hsl(var(--primary));
  text-underline-offset: 0.18em;
}
.avx-form-micro,
.avx-form-note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.45;
}
.avx-form-error {
  margin: 0;
  font-size: 0.8rem;
  color: hsl(var(--destructive));
}
.avx-form-success {
  padding: 1.25rem 1.35rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card) / 0.9);
}
.avx-form-success p { margin: 0 0 0.6rem; }
.avx-form-success p:last-child { margin: 0; }
.avx-form .avx-btn { justify-self: start; }

.avx-final-inner .avx-h2 {
  max-width: 22em;
  margin-inline: auto;
}
.avx-final-inner .avx-body {
  max-width: 40rem;
  margin: 1.5rem auto 0;
}
.avx-final-inner .avx-actions {
  justify-content: center;
  margin-top: 2rem;
}
.avx-final-inner--ask {
  max-width: none;
}
.avx-final-inner--ask .avx-final-copy {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.avx-final-inner--ask .avx-h2 {
  max-width: none;
}
.avx-final-inner--ask .avx-body {
  max-width: none;
  width: 100%;
  margin: 1.25rem 0 0;
}
@media (min-width: 1024px) {
  .avx-final-inner--ask .avx-h2 {
    white-space: nowrap;
    font-size: clamp(1.5rem, 2.05vw, 2.15rem);
  }
}

/* Tier T: 768–1023 — stack narrative, paths 1–2 col */
@media (max-width: 1023px) {
  .avx-final-inner--ask .avx-h2 {
    white-space: normal;
    font-size: clamp(1.38rem, 3.4vw, 1.8rem);
  }
  .avx-final-inner--ask .avx-final-copy {
    width: 100%;
  }
  .avx-hero-grid--product,
  .avx-shot,
  .avx-compare,
  .avx-article--media,
  .avx-article--lede { grid-template-columns: 1fr; }
  #que-es .avx-article--lede,
  #proposito .avx-article--lede,
  #emiliano .avx-article--lede {
    grid-template-rows: auto;
  }
  #que-es .avx-article-lede,
  #que-es .avx-article-copy,
  #proposito .avx-article-lede,
  #proposito .avx-article-copy {
    grid-column: 1;
    grid-row: auto;
    display: flex;
    flex-direction: column;
  }
  #que-es .avx-article-lede .avx-h2,
  #proposito .avx-article-lede .avx-h2 {
    margin-bottom: 1.15rem;
  }
  #que-es .avx-article-lede-text,
  #proposito .avx-article-lede-text {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }
  #que-es .avx-article-lede-text .avx-h2,
  #proposito .avx-article-lede-text .avx-h2 {
    margin-bottom: 0;
  }
  #que-es .avx-article-lede-text .avx-lead-list,
  #proposito .avx-article-lede-text .avx-lead-list,
  #proposito .avx-article-lede-text .avx-article-list--spec {
    margin-top: 0;
  }
  #proposito .avx-article--lede {
    row-gap: 1.35rem;
  }
  #proposito .avx-article-copy {
    margin-top: 0.35rem;
  }
  .avx-tension-grid {
    gap: 0.55rem;
  }
  .avx-tension-card {
    padding: 0.78rem 0.65rem;
  }
  .avx-tension-word {
    font-size: 0.8rem;
  }
  /*
   * Founder ≤1023: eyebrow → nombre → foto → texto (stack limpio).
   */
  #emiliano .avx-article--lede {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 0.85rem;
    justify-items: stretch;
  }
  #emiliano .avx-eyebrow {
    grid-column: 1;
    grid-row: auto;
    order: 1;
    margin: 0;
    display: block;
  }
  #emiliano .avx-article-lede {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    display: block;
  }
  #emiliano .avx-article-media {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    display: block;
  }
  #emiliano .avx-article-copy {
    grid-column: 1;
    grid-row: auto;
    order: 4;
    margin-top: 0.35rem;
    width: 100%;
    display: block;
  }
  #emiliano .avx-article-lede .avx-h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.8rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
    max-width: none;
  }
  #emiliano .avx-article-body {
    margin-top: 0;
  }
  #emiliano .avx-article-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: min(52vh, 26rem);
    object-fit: cover;
    object-position: center top;
    border-radius: 1rem;
  }
  .avx-paths--lede {
    grid-template-rows: none;
  }
  .avx-paths--lede .avx-article-lede,
  .avx-paths--lede .avx-paths-lede-cards {
    grid-column: 1;
    grid-row: auto;
    display: block;
  }
  .avx-paths--lede .avx-paths-lede-cards {
    margin-top: 0.35rem;
  }
  .avx-discover-beat {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
    padding-block: clamp(2.75rem, 7vw, 4.25rem);
  }
  .avx-paths--doors {
    padding-block: 0;
  }
  .avx-discover-intro + .avx-discover-beat { padding-top: clamp(2.75rem, 7vw, 4.25rem); }
  .avx-discover-tag,
  .avx-discover-copy,
  .avx-discover-list { grid-column: 1; grid-row: auto; }
  .avx-discover-beat:has(.avx-discover-tag) .avx-discover-list,
  .avx-discover-beat:has(.avx-discover-tag) .avx-doors--stack { grid-row: auto; }
  .avx-discover-list { margin-top: 2rem; }
  .avx-discover-beat .avx-doors--stack {
    grid-column: 1;
    grid-row: auto;
    margin-top: 2.15rem;
  }
  .avx-discover-beat--doors .avx-discover-tag,
  .avx-discover-beat--doors .avx-discover-copy {
    grid-column: 1;
  }
  .avx-shot--flip .avx-shot-copy { order: 0; }
  .avx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avx-section--hero.avx-section--hero-photo {
    min-height: clamp(24rem, 52vh, 32rem);
  }
  .avx-device-stage--zoom,
  .avx-gallery-card--zoom { cursor: default; pointer-events: none; }
  .avx-paths-grid { grid-template-columns: 1fr; }
  .avx-paths-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avx-paths-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avx-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 0.5rem;
  }
  .avx-rail-step:not(:last-child)::after { display: none; }
  .avx-rail-step .avx-h3 { max-width: none; font-size: 0.82rem; }
  .avx-tramo {
    --avx-dot: 2.35rem;
  }
  .avx-tramo-sum {
    grid-template-columns: var(--avx-dot) minmax(0, 1fr) 1rem;
    column-gap: 0.75rem;
    padding: 0.75rem 0.9rem;
  }
  .avx-tramo-panel {
    padding: 0 0.9rem 0.95rem 0.9rem;
  }
  .avx-tramo-pair,
  .avx-tramo-grid .avx-discover-list--icons {
    grid-template-columns: 1fr;
  }
  .avx-path-card { min-height: 0; }
  .avx-path-icon { margin-bottom: 1.5rem; }
  .avx-problem-title,
  .avx-signals,
  .avx-problem-close,
  .avx-approach-copy,
  .avx-timeline,
  .avx-posture-copy,
  .avx-posture-list { grid-column: 1 / -1; }
  .avx-paths-head { display: block; margin-bottom: 1.75rem; }
  .avx-hero-bg__planet:nth-child(n+10):not(.avx-hero-bg__planet--core) { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .avx-paths-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avx-path-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .avx-paths-grid--4 .avx-path-card:last-child:nth-child(odd) { grid-column: auto; }
  .avx-paths-grid--5 .avx-path-card:last-child:nth-child(odd) { grid-column: auto; }
}

/* Narrow: el campo de color/puntos vive a la derecha en desktop. Traerlo al lienzo. */
@media (max-width: 1023px) {
  .avx-section--hero,
  .avx-section--final {
    --avx-hero-veil: linear-gradient(
      180deg,
      hsl(var(--hero-bg) / 0.38) 0%,
      hsl(var(--hero-bg) / 0.14) 46%,
      transparent 78%
    );
    --avx-hero-glow-a: hsl(var(--primary) / 0.46);
    --avx-hero-glow-c: hsl(var(--primary) / 0.28);
    --avx-hero-glow-d: hsl(186 48% 52% / 0.3);
    --avx-hero-glow-e: hsl(18 86% 54% / 0.3);
  }
  html[data-ws-color-scheme="light"] .avx-section--hero,
  html[data-ws-color-scheme="light"] .avx-section--final {
    --avx-hero-glow-a: hsl(var(--primary) / 0.32);
    --avx-hero-glow-c: hsl(var(--primary) / 0.18);
    --avx-hero-glow-d: hsl(186 48% 52% / 0.18);
    --avx-hero-glow-e: hsl(18 86% 54% / 0.18);
    --avx-hero-veil: linear-gradient(
      180deg,
      hsl(var(--hero-bg) / 0.5) 0%,
      hsl(var(--hero-bg) / 0.2) 50%,
      transparent 82%
    );
  }
  .avx-hero-bg__stage {
    left: 0;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .avx-hero-bg__glow--a {
    left: -28%;
    top: -16%;
    width: min(145vw, 38rem);
    height: min(92vw, 26rem);
  }
  .avx-hero-bg__glow--b {
    left: -12%;
    bottom: -18%;
    width: min(120vw, 30rem);
    height: min(70vw, 20rem);
  }
  .avx-hero-bg__glow--c {
    left: 8%;
    top: 10%;
  }
  .avx-hero-bg__glow--d {
    left: 22%;
    top: auto;
    bottom: -10%;
  }
  .avx-hero-bg__glow--e {
    left: 18%;
    top: -8%;
  }
  .avx-hero-bg__glow--a,
  .avx-hero-bg__glow--b { filter: blur(34px); }
  .avx-hero-bg__planets {
    left: -42%;
    width: 170%;
  }
  .avx-hero-bg__planet--core {
    left: 38%;
    top: 34%;
  }
}

/* Tier M: <768 */
@media (max-width: 767px) {
  .avx-container { width: var(--ac-column, min(calc(100% - 2rem), 1200px)); }
  .avx-tension-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .avx-tension-card {
    padding: 0.82rem 0.9rem;
    column-gap: 0.45rem;
  }
  .avx-tension-word {
    font-size: 0.9rem;
  }
  .avx-tension-icon {
    width: 2rem;
    height: 2rem;
  }
  .avx-energy-band {
    margin-top: 2.25rem;
  }
  .avx-home-v2 .avx-section:not(.avx-section--hero)::before {
    width: min(100% - 2rem, 1200px);
  }
  .avx-section--hero {
    padding-block: clamp(3.5rem, 12vw, 5rem);
  }
  .avx-hero-bg__stage {
    left: 0;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .avx-section--hero.avx-section--hero-photo {
    min-height: 0;
    padding-block: clamp(4.25rem, 16vw, 6rem);
    --avx-hero-photo-veil:
      linear-gradient(
        180deg,
        hsl(var(--hero-bg) / 0.55) 0%,
        hsl(var(--hero-bg) / 0.72) 42%,
        hsl(var(--hero-bg) / 0.9) 100%
      );
  }
  .avx-section--hero-photo .avx-hero-photo img {
    object-position: 70% 40%;
  }
  .avx-section--final.avx-section--final-photo {
    --avx-final-photo-veil:
      linear-gradient(
        180deg,
        hsl(var(--section-final-bg) / 0.88) 0%,
        hsl(var(--section-final-bg) / 0.9) 100%
      );
  }
  .avx-grid-12 { grid-template-columns: 1fr; }
  .avx-hero-copy,
  .avx-problem-title,
  .avx-signals,
  .avx-problem-close,
  .avx-approach-copy,
  .avx-timeline,
  .avx-posture-copy,
  .avx-posture-list { grid-column: 1; }
  .avx-h1 { max-width: none; }
  .avx-h1--typed-stack {
    font-size: clamp(1.2rem, 5vw, 1.85rem);
  }
  .avx-final-inner--ask .avx-h2 {
    white-space: normal;
    font-size: clamp(1.32rem, 5vw, 1.75rem);
  }
  .avx-final-inner--ask .avx-final-copy {
    width: 100%;
  }
  .avx-final-inner .avx-h2 br { display: none; }
  .avx-form-row { grid-template-columns: 1fr; }
  .avx-actions { flex-direction: column; align-items: stretch; }
  .avx-btn { width: 100%; }
  .avx-gallery { grid-template-columns: 1fr; }
  .avx-paths-grid--4 { grid-template-columns: 1fr; }
  .avx-paths-grid--5 { grid-template-columns: 1fr; }
  .avx-posture-list { margin-top: 1.75rem; }
  .avx-hero-bg__flow { display: none; }
  .avx-discover {
    --avx-section-pad: clamp(3.75rem, 12vw, 5.5rem);
  }
  .avx-discover-intro {
    text-align: left;
    padding-bottom: 2.75rem;
  }
  .avx-discover-intro--cite {
    text-align: center;
  }
  .avx-discover-intro--quiet {
    padding-bottom: 0.9rem;
  }
  .avx-discover-intro--quiet .avx-discover-heading {
    font-size: 1.12rem;
  }
  .avx-discover-heading {
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
    line-height: 1.15;
  }
  .avx-discover-lead {
    margin-top: 1.25rem;
    font-size: 1.08rem;
    line-height: 1.7;
  }
  .avx-discover-beat {
    padding-block: 3.25rem;
  }
  .avx-paths--doors {
    padding-block: 0;
  }
  .avx-discover-intro + .avx-discover-beat {
    padding-top: 3.25rem;
  }
  .avx-discover-tag {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 0.85rem;
    row-gap: 0.35rem;
    margin-bottom: 1rem;
  }
  .avx-discover-index {
    grid-row: 1 / span 2;
    padding-top: 0.12rem;
  }
  .avx-discover-tag-label { grid-column: 2; }
  .avx-discover-tag-arrow { display: none; }
  .avx-discover-tag-hint {
    grid-column: 2;
    display: block;
    font-size: 0.7rem;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: 0.04em;
  }
  .avx-discover .avx-h2 {
    font-size: 1.55rem;
    line-height: 1.22;
  }
  .avx-discover-body {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.72;
  }
  .avx-discover-list {
    margin-top: 2rem;
    padding: 0.15rem 0 0 0.95rem;
    border-left: 1px solid hsl(var(--primary) / 0.32);
  }
  .avx-discover-list li {
    padding: 1.05rem 0;
    line-height: 1.55;
  }
  .avx-discover-list li:first-child { padding-top: 0.15rem; }
  .avx-path-icon { margin-bottom: 1.15rem; }
  .avx-pack {
    padding: 1.35rem 1.15rem 1.25rem;
  }
}

/* Tier L short height (1366×768) */
@media (max-height: 800px) and (min-width: 1024px) {
  .avx-home-v2 {
    --avx-section-pad: clamp(2.25rem, 5vh, 3.75rem);
    --avx-gap: clamp(1.15rem, 2vw, 2rem);
  }
  .avx-discover-intro { padding-bottom: 2.75rem; }
  .avx-section--hero { padding-block: clamp(2.75rem, 6vh, 4.25rem); }
  .avx-h1 { font-size: clamp(1.85rem, 2.6vw, 2.75rem); }
  .avx-lead { margin-top: 0.85rem; }
  .avx-actions { margin-top: 1.35rem; }
  .avx-path-card { min-height: 0; }
  .avx-path-icon { margin-bottom: 1.5rem; }
  .avx-step { padding-bottom: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .avx-home-v2 *,
  .avx-home-v2 *::before,
  .avx-home-v2 *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  [data-avx-reveal] { opacity: 1; transform: none; }
  .avx-hero-bg__glow,
  .avx-hero-bg__flow,
  .avx-hero-bg__orbit,
  .avx-hero-bg__planet {
    animation: none !important;
  }
  .avx-typed-caret {
    display: none;
  }
}

/* ULTRA method page — editorial, scoped so Home/Platform stay put */
.avx-home-v2:has(.avx-method) .avx-article-copy,
.avx-home-v2:has(.avx-method) .avx-article-body p,
.avx-home-v2:has(.avx-method) .avx-bridge-copy,
.avx-home-v2:has(.avx-method) .avx-bridge--close .avx-bridge-copy,
.avx-home-v2:has(.avx-method) .avx-section:not(.avx-section--hero):not(.avx-section--final) .avx-h2,
.avx-home-v2:has(.avx-method) .avx-section:not(.avx-section--hero) .avx-lead {
  max-width: none;
}

.avx-method-head {
  max-width: none;
}
.avx-method-head .avx-h2 {
  max-width: none;
}
.avx-method-head .avx-lead {
  margin-top: 1.1rem;
}
.avx-method--copy .avx-method-head .avx-masthead-body {
  max-width: 54rem;
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.avx-method--copy .avx-method-head .avx-masthead-body .avx-lead {
  margin: 0;
  max-width: none;
}
.avx-method--copy .avx-lead-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.avx-method--copy .avx-lead-list li {
  position: relative;
  padding-left: 1.15rem;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.02rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  font-weight: 300;
}
.avx-method--copy .avx-lead-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
}
html:not([data-ws-color-scheme="light"]) .avx-method--copy .avx-lead,
html:not([data-ws-color-scheme="light"]) .avx-method--copy .avx-lead-list li {
  color: hsl(210 14% 84%);
}
.avx-method-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 650;
  color: hsl(var(--primary));
  padding-top: 0.38rem;
}
.avx-method-check {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}
.avx-method-check svg {
  width: 0.92rem;
  height: 0.92rem;
}
.avx-method-close {
  margin-top: 2.5rem;
  padding-top: 0;
  border-top: 0;
}
.avx-method-close .avx-h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.avx-method-close .avx-lead {
  margin-top: 1rem;
  max-width: 46rem;
}
.avx-home-v2:has(.avx-method) .avx-method-close .avx-lead {
  max-width: 46rem;
}
.avx-method-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.avx-method-list,
.avx-gates,
.avx-cycle,
.avx-pillars {
  list-style: none;
  padding: 0;
  margin: 2.35rem 0 0;
}
.avx-method-item {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  column-gap: 0.9rem;
  padding: 1.15rem 0 1.2rem;
  border-top: 1px solid hsl(var(--border) / 0.72);
}
.avx-method-item:first-child {
  padding-top: 0;
  border-top: 0;
}
.avx-method-item .avx-h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.28vw, 1.22rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.avx-method-item p {
  margin: 0.45rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: none;
}

.avx-method--principles .avx-method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.avx-method--principles .avx-method-item,
.avx-method--principles .avx-method-item:first-child,
.avx-method--principles .avx-method-item--featured {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  column-gap: 0.9rem;
  margin: 0;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
  grid-column: auto;
  transition: border-color 220ms ease;
}
.avx-method--principles .avx-method-num {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  margin-top: 0.05rem;
  padding-top: 0;
  border-radius: 50%;
  border: 1px solid hsl(var(--primary) / 0.55);
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 700;
  background: hsl(var(--background));
  transition: border-color 220ms ease, background 220ms ease;
}
.avx-method--principles .avx-method-item:hover,
.avx-principle-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}
.avx-principle-card:hover .avx-method-num {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.85);
  background: hsl(var(--primary) / 0.14);
}
.avx-method--principles .avx-method-item--featured .avx-h3 {
  font-size: clamp(1.05rem, 1.28vw, 1.22rem);
}
.avx-method--principles .avx-method-item--featured p {
  color: hsl(var(--muted-foreground));
}
.avx-method--principles .avx-method-item:last-child {
  grid-column: 1 / -1;
}

.avx-method--areas .avx-method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.avx-method--areas .avx-method-item,
.avx-method--areas .avx-method-item:first-child {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  column-gap: 0.9rem;
  margin: 0;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
}

.avx-arch {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.avx-arch-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.avx-arch-plus {
  display: grid;
  place-items: center;
  padding: 0.35rem 0;
  color: hsl(var(--primary));
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.avx-arch-card {
  padding: 1.2rem 1.3rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
}
.avx-arch-card .avx-h3 {
  margin: 0.15rem 0 0;
}
.avx-arch-card p:not(.avx-method-kicker) {
  margin: 0.45rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.55;
}

.avx-outcomes {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.avx-outcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.75);
}
.avx-outcome:first-child {
  padding-top: 0;
}
.avx-outcome:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.avx-outcome .avx-h3 {
  margin: 0.15rem 0 0;
}
.avx-outcome-res p:not(.avx-method-kicker) {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 450;
  line-height: 1.4;
  color: hsl(var(--foreground) / 0.9);
}

.avx-method--commit .avx-method-list,
.avx-method--gates .avx-gates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.5rem;
  row-gap: 0;
}
.avx-method--commit .avx-method-item {
  padding: 1.2rem 0 1.35rem;
  border-top: 0;
  border-bottom: 1px solid hsl(var(--border) / 0.72);
}
.avx-method--commit .avx-method-item:first-child {
  padding-top: 1.2rem;
}
.avx-method--gates .avx-gate:last-child {
  grid-column: 1 / -1;
  border-bottom: 0;
}
.avx-method--gates .avx-gate {
  border-top: 0;
  border-bottom: 1px solid hsl(var(--border));
  padding: 1.35rem 0 1.4rem;
}
.avx-method--gates .avx-gate:first-child {
  border-top: 0;
}
.avx-method--gates .avx-method-num {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  margin-top: 0.05rem;
  padding-top: 0;
  border-radius: 50%;
  border: 1px solid hsl(var(--primary) / 0.55);
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 700;
  background: hsl(var(--card));
}
.avx-method-item--featured {
  margin-top: 0.85rem;
  padding: 1.45rem 1.15rem 1.4rem 0;
  border-top: 1px solid hsl(var(--primary) / 0.42);
  border-bottom: 1px solid hsl(var(--primary) / 0.18);
  background: linear-gradient(90deg, hsl(var(--primary) / 0.07), transparent 72%);
}
.avx-method-item--featured .avx-h3 {
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
}
.avx-method-item--featured p {
  color: hsl(var(--foreground) / 0.82);
}

.avx-cycle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 2.5rem;
  border: 0;
}
@media (min-width: 1024px) {
  .avx-cycle {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
  }
}
.avx-cycle-card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
  height: 100%;
  padding: 1.2rem 1.3rem 1.3rem;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
  transition: border-color 220ms ease;
}
.avx-cycle-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}
.avx-cycle-card:hover .avx-step-num {
  border-color: hsl(var(--primary) / 0.85);
}
.avx-cycle-card .avx-step-num {
  margin-top: 0.1rem;
}
.avx-cycle-card-body .avx-h3 {
  margin: 0.15rem 0 0;
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.avx-cycle-row,
.avx-cycle-out {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  column-gap: 0.65rem;
  align-items: start;
  margin: 0.7rem 0 0;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
}
.avx-cycle-row {
  color: hsl(var(--muted-foreground));
}
.avx-cycle-out {
  color: hsl(var(--foreground) / 0.88);
}
.avx-cycle-out strong {
  font-weight: 550;
  letter-spacing: 0.02em;
}
.avx-cycle-ico {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.22rem;
  color: hsl(var(--primary));
}
.avx-cycle-loop {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.65rem 1rem;
  margin: 1.35rem 0 0;
  padding-top: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.98rem;
  line-height: 1.5;
}
.avx-cycle-loop p {
  margin: 0;
  max-width: none;
  flex: 1 1 16rem;
}
.avx-cycle-loop-flow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.avx-cycle-loop-arrow {
  color: hsl(var(--primary));
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.avx-cycle-loop-mark {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: hsl(var(--primary));
}
.avx-cycle-pair {
  margin-top: 2.35rem;
}
.avx-cycle-pair > .avx-h2 {
  margin: 0 auto;
  text-align: center;
  max-width: 22em;
  font-size: clamp(1.26rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.avx-home-v2:has(.avx-method) .avx-cycle-pair > .avx-h2 {
  max-width: 22em;
}
.avx-cycle-pair .avx-method-pair {
  margin-top: 1.5rem;
}

.avx-method-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin-top: 2.15rem;
  padding-top: 0.25rem;
}
.avx-method-pair-col + .avx-method-pair-col {
  border-left: 1px solid hsl(var(--border) / 0.8);
  padding-left: 3rem;
}
.avx-method-pair-mark {
  display: grid;
  place-items: center;
  margin: 0 0 1.05rem;
  color: hsl(var(--primary));
}
.avx-method-pair-mark svg {
  width: 1.65rem;
  height: 1.65rem;
}
.avx-method-pair-col:first-child .avx-method-pair-mark {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.12);
}
.avx-method-pair-col:last-child .avx-method-pair-mark {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 0.7rem;
  border: 1px dashed hsl(var(--primary) / 0.55);
  background: transparent;
}
.avx-method-pair-col:last-child .avx-method-pair-mark svg {
  width: 1.45rem;
  height: 1.45rem;
}
.avx-method-pair-col .avx-method-kicker {
  color: hsl(var(--primary));
  font-weight: 700;
  letter-spacing: 0.08em;
}
.avx-method-pair-col .avx-h3 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  font-weight: 550;
  letter-spacing: -0.02em;
}
.avx-method-pair-col p:not(.avx-method-kicker) {
  margin: 0.65rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
}

.avx-gates {
  margin-top: 2.6rem;
}
.avx-gate {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.45rem 0 1.5rem;
  border-top: 1px solid hsl(var(--border));
}
.avx-gate:first-child {
  border-top: 1px solid hsl(var(--primary) / 0.35);
}
.avx-gate .avx-h3 {
  margin: 0;
  font-size: clamp(1.12rem, 1.5vw, 1.38rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 40rem;
}
.avx-gate-if {
  margin: 0.55rem 0 0;
  color: hsl(var(--foreground) / 0.78);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.avx-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0;
}
.avx-pillar {
  padding: 0 1.75rem;
  border-left: 1px solid hsl(var(--border) / 0.72);
}
.avx-pillar:first-child {
  padding-left: 0;
  border-left: 0;
}
.avx-pillar-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 0 1rem;
  border: 1px solid hsl(var(--primary) / 0.55);
  border-radius: 50%;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.08);
}
.avx-pillar-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}
.avx-pillar .avx-h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.avx-pillar p {
  margin: 0.55rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.55;
}

.avx-method-quiet {
  margin: 1.35rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
  font-weight: 300;
}
.avx-method-quiet a {
  color: hsl(var(--foreground) / 0.88);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.avx-method-quiet a:hover {
  color: hsl(var(--primary));
}
.avx-method-note {
  margin: 1.6rem 0 0;
  max-width: 42rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

.avx-compare--promise {
  gap: 1.15rem;
  margin-top: 2.35rem;
  align-items: stretch;
}
.avx-compare--promise .avx-compare-col {
  padding: 1.45rem 1.4rem 1.2rem;
  border-radius: 18px;
}
.avx-compare--promise .avx-compare-col--before {
  border-color: hsl(var(--primary) / 0.55);
  background: hsl(var(--primary) / 0.1);
}
.avx-compare--promise .avx-compare-col--after {
  background: hsl(var(--foreground) / 0.035);
  border-color: hsl(var(--border));
}
.avx-compare--promise .avx-compare-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.35rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid hsl(var(--border) / 0.85);
}
.avx-compare--promise .avx-compare-head-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
}
.avx-compare--promise .avx-compare-head-mark svg {
  width: 1.2rem;
  height: 1.2rem;
}
.avx-compare--promise .avx-compare-col--before .avx-compare-head-mark {
  border-radius: 50%;
  background: hsl(var(--primary));
  color: #fff;
}
.avx-compare--promise .avx-compare-col--after .avx-compare-head-mark {
  border-radius: 0.55rem;
  border: 1.5px dashed hsl(var(--muted-foreground) / 0.55);
  background: transparent;
  color: hsl(var(--muted-foreground));
}
.avx-compare--promise .avx-compare-kicker {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: none;
  margin: 0;
  line-height: 1;
}
.avx-compare--promise .avx-compare-col--before .avx-compare-kicker {
  color: hsl(var(--primary));
}
.avx-compare--promise .avx-compare-col--after .avx-compare-kicker {
  color: hsl(var(--foreground) / 0.78);
}
.avx-compare--promise .avx-compare-lead {
  margin: 0.28rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.avx-compare--promise ul {
  gap: 0.15rem;
}
.avx-compare--promise li {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.58rem 0;
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 400;
}
.avx-compare--promise .avx-compare-col--before li::before,
.avx-compare--promise .avx-compare-col--after li::before {
  content: none;
}
.avx-compare--promise .avx-compare-ico {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0.05rem;
}
.avx-compare--promise .avx-compare-ico svg {
  width: 1.12rem;
  height: 1.12rem;
}
.avx-compare--promise .avx-compare-col--before li {
  color: hsl(var(--foreground) / 0.92);
}
.avx-compare--promise .avx-compare-col--before .avx-compare-ico {
  color: hsl(var(--primary));
}
.avx-compare--promise .avx-compare-col--after li {
  color: hsl(var(--muted-foreground));
}
.avx-compare--promise .avx-compare-col--after .avx-compare-ico {
  color: hsl(var(--muted-foreground));
}

.avx-bridge--close {
  padding-block: var(--avx-section-pad);
}
.avx-bridge--close .avx-bridge-copy {
  max-width: 54rem;
}
.avx-bridge--close .avx-h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.avx-bridge--close .avx-lead {
  font-size: 1.08rem;
  line-height: 1.7;
}

@media (max-width: 1023px) {
  .avx-cycle {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 0;
  }
  .avx-cycle-card {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    padding: 1.1rem 1.05rem 1.15rem;
  }
  .avx-method-pair,
  .avx-method--commit .avx-method-list,
  .avx-method--gates .avx-gates {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .avx-method--principles .avx-method-list,
  .avx-method--areas .avx-method-list {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .avx-outcome {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .avx-method-pair {
    gap: 1.75rem;
  }
  .avx-method-pair-col + .avx-method-pair-col {
    border-left: 0;
    padding-left: 0;
    padding-top: 1.75rem;
    border-top: 1px solid hsl(var(--border) / 0.8);
  }
  .avx-method--gates .avx-gate:last-child {
    grid-column: auto;
  }
  .avx-pillars {
    grid-template-columns: 1fr;
  }
  .avx-pillar {
    padding: 1.35rem 0;
    border-left: 0;
    border-top: 1px solid hsl(var(--border) / 0.72);
  }
  .avx-pillar:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 767px) {
  .avx-method-item--featured {
    padding-right: 0;
  }
  .avx-gate .avx-h3 {
    font-size: 1.08rem;
  }
}

/* —— Blog portal (list / saga / post) —— */
.avx-blog-shell {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.avx-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 17.5rem);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.avx-blog-main {
  min-width: 0;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
.avx-blog-hero .avx-h2 {
  margin-top: 0.35rem;
}
.avx-blog-block {
  display: grid;
  gap: 1.15rem;
}
.avx-blog-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.avx-blog-card {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem;
  border: 1px solid hsl(var(--border) / 0.75);
  border-radius: 1rem;
  background: hsl(var(--card));
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.avx-blog-card:hover {
  border-color: hsl(var(--foreground) / 0.28);
  transform: translateY(-1px);
}
.avx-blog-card-media {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  background: hsl(var(--muted) / 0.35);
}
.avx-blog-card-img {
  width: 100%;
  height: 100%;
  min-height: 5.5rem;
  object-fit: cover;
  display: block;
}
.avx-blog-card-body {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.avx-blog-card-title {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.avx-blog-card-meta {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
}
.avx-blog-sidebar {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 1.75rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 1rem;
  background: hsl(var(--card));
}
.avx-blog-nav-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.avx-blog-nav-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
  line-height: 1.3;
}
.avx-blog-nav-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.avx-blog-nav-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-weight: 450;
}
.avx-blog-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.avx-blog-toc-link {
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;
  padding: 0.95rem 1rem;
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 0.85rem;
  background: hsl(var(--card));
}
.avx-blog-toc-part {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.avx-blog-article {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}
.avx-blog-cover-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
}
.avx-blog-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}
.avx-blog-pager a {
  color: inherit;
}
.avx-blog-pager--footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--border) / 0.75);
}
.avx-blog-saga-bar {
  display: grid;
  gap: 0.5rem;
}
@media (max-width: 1023px) {
  .avx-blog-layout {
    grid-template-columns: 1fr;
  }
  .avx-blog-sidebar {
    position: static;
    order: -1;
  }
  .avx-blog-card {
    grid-template-columns: 1fr;
  }
}
