/* ============================================
   0Manual — dark cinematic
   ============================================ */

/* Register --reveal so it's animatable as a number.
   Without this, Chromium latches `transition: opacity` on an
   unregistered var() at its before-change value and never updates. */
@property --reveal {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

:root {
  --bg:        #000000;
  --surface:   #0a0a09;
  --paper:     #121110;
  --text:      #f5f4ef;
  --muted:     #8a8780;
  --subtle:    #5a5854;
  --faint:     #2a2926;
  --stroke:    rgba(255,255,255,0.08);
  --stroke-2:  rgba(255,255,255,0.14);
  --gold:      #c7b689;
  --gold-deep: #a89060;
  --signal:    #6aa988;
  --max: 1280px;
  --px: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

/* Canvases swap in once the engine has captured frames */
.scroll-canvas {
  display: none;
  image-rendering: auto;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }html { scroll-behavior: auto; background: #000; }
html, body { overscroll-behavior: none; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; letter-spacing: inherit; }
ul { list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--text); color: var(--bg); }

/* ─── Utilities ─── */
.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.eyebrow {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--muted);
}
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--signal);
  margin-right: 8px; vertical-align: middle;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(106,169,136,0.5);
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }

/* ─── Liquid glass ─── */
.liquid-glass {
  position: relative;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 8px 32px rgba(0,0,0,0.25);
  overflow: hidden;
}
.liquid-glass::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.40) 0%,
    rgba(255,255,255,0.12) 25%,
    rgba(255,255,255,0)    50%,
    rgba(255,255,255,0.10) 75%,
    rgba(255,255,255,0.32) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass-strong {
  position: relative;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(40px) saturate(140%);
  -webkit-backdrop-filter: blur(40px) saturate(140%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.16), 0 12px 40px rgba(0,0,0,0.35);
  overflow: hidden;
}
.liquid-glass-strong::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1.2px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.5) 0%,
    rgba(255,255,255,0.2) 25%,
    rgba(255,255,255,0)   50%,
    rgba(255,255,255,0.15) 75%,
    rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 9999px; padding: 14px 26px;
  font-size: 14px; font-weight: 500;
  transition: all 350ms var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--text); color: #0a0a09; }
.btn-solid:hover { transform: scale(1.03); box-shadow: 0 0 32px rgba(255,255,255,0.18); }
.btn-glass {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.08); transform: scale(1.02); }
.btn .arrow { transition: transform 300ms var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 8px 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 400;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.nav.is-hidden { opacity: 0; transform: translateX(-50%) translateY(-12px); pointer-events: none; }
.nav-logo {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 14px; color: var(--text);
  letter-spacing: -0.04em;
}
.nav-links { display: flex; align-items: center; gap: 22px; padding: 0 18px; }
.nav-link {
  color: rgba(245,244,239,0.65);
  transition: color 200ms;
  font-size: 13px;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 9999px;
  background: var(--text); color: #0a0a09;
  font-weight: 500; font-size: 13px;
  transition: all 250ms var(--ease);
}
.nav-cta:hover { transform: scale(1.04); box-shadow: 0 0 20px rgba(255,255,255,0.22); }
.nav-cta .arrow { font-size: 11px; }

/* ============================================
   HERO — static premium first screen (layered, alive)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 96px var(--px) 120px;
  background: #160f0a;
  /* fade + lift the whole hero as the user starts scrolling */
  opacity: var(--hero-fade, 1);
  transform: translateY(calc(var(--hero-lift, 0) * -1px));
  will-change: opacity, transform;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* warm, luminous base — cognac / amber, NOT near-black */
.hero-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 96% 82% at 50% 37%, rgba(178,126,70,0.40), transparent 62%),
    radial-gradient(circle at 50% 41%, rgba(206,166,104,0.20), transparent 44%),
    linear-gradient(162deg, #34230f 0%, #261a10 44%, #1a120b 74%, #120c07 100%);
}
/* warm light layers — fade out together as the user scrolls (--hero-warm) */
.hero-warmth {
  position: absolute; inset: 0;
  opacity: var(--hero-warm, 1);
}
/* soft black layer that fades IN on scroll, easing into the dark 1% section */
.hero-darken {
  position: absolute; inset: 0;
  background: #070504;
  opacity: var(--hero-dark, 0);
}
/* always-on bottom fade — melts the warm hero into pure black so there is
   NO hard horizontal seam where the hero meets the "qué hacemos" block */
.hero-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 52vh;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,0.35) 42%,
    rgba(0,0,0,0.78) 74%,
    #000 100%);
}
.hero-layer {
  position: absolute;
  pointer-events: none;
  /* parallax offset lives in the individual `translate` property (set by JS),
     so it composes cleanly with keyframe `transform` animations */
  translate: 0 0;
}
/* beige smoke haze — lifts overall luminosity, upper area */
.hero-haze {
  left: 28%; top: 6%;
  width: min(72vw, 640px); height: min(52vw, 460px);
  background: radial-gradient(ellipse, rgba(214,193,156,0.22), transparent 64%);
  filter: blur(72px);
  animation: hero-haze-pulse 24s ease-in-out infinite alternate;
}
@keyframes hero-haze-pulse {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}
/* ambient gold light behind the wordmark */
.hero-glow-gold {
  left: 50%; top: 44%;
  width: min(82vw, 760px); height: min(82vw, 760px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(224,182,116,0.26), rgba(196,142,80,0.10) 42%, transparent 68%);
  filter: blur(54px);
  animation: hero-gold-drift 20s ease-in-out infinite alternate;
}
@keyframes hero-gold-drift {
  0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.92; }
  100% { transform: translate(-47%, -53%) scale(1.07); opacity: 1; }
}
/* copper glow pushed to the lower-left */
.hero-glow-copper {
  left: 4%; top: 56%;
  width: min(68vw, 600px); height: min(68vw, 600px);
  background: radial-gradient(circle, rgba(158,92,46,0.42), rgba(140,80,40,0.10) 44%, transparent 66%);
  filter: blur(64px);
  animation: hero-copper-pulse 16s ease-in-out infinite alternate;
}
@keyframes hero-copper-pulse {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}
/* cool petrol-blue accent in the opposite (upper-right) corner, for contrast */
.hero-glow-blue {
  right: 2%; top: 12%;
  width: min(58vw, 520px); height: min(58vw, 520px);
  background: radial-gradient(circle, rgba(58,86,102,0.26), transparent 60%);
  filter: blur(66px);
  animation: hero-blue-pulse 22s ease-in-out infinite alternate;
}
@keyframes hero-blue-pulse {
  0%   { opacity: 0.5; }
  100% { opacity: 0.9; }
}
/* abstract vertical wood-vein strokes — irregular, faint warm texture */
.hero-veins {
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,238,210,0.030) 0px,
      rgba(255,238,210,0.030) 1px,
      transparent 1px,
      transparent 5px,
      rgba(0,0,0,0.07) 6px,
      transparent 7px,
      transparent 13px,
      rgba(255,238,210,0.018) 14px,
      transparent 15px,
      transparent 23px
    );
  mix-blend-mode: overlay;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse 86% 76% at 50% 46%, #000 30%, transparent 82%);
          mask-image: radial-gradient(ellipse 86% 76% at 50% 46%, #000 30%, transparent 82%);
  animation: hero-veins-shift 40s ease-in-out infinite alternate;
}
@keyframes hero-veins-shift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-12px); }
}
/* discreet film grain so the screen never reads as flat/empty */
.hero-grain {
  inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44NScgbnVtT2N0YXZlcz0nMicgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNuKScvPjwvc3ZnPg==");
  opacity: 0.055;
  mix-blend-mode: overlay;
  animation: hero-grain-shift 8s steps(6) infinite;
}
@keyframes hero-grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-6px, 4px); }
  40%  { transform: translate(4px, -6px); }
  60%  { transform: translate(-4px, -4px); }
  80%  { transform: translate(6px, 4px); }
  100% { transform: translate(0, 0); }
}

.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.34em;
  color: rgba(240,226,202,0.92);
  margin-bottom: 30px;
  opacity: 0;
  animation: hero-rise 900ms var(--ease) 120ms forwards;
}
.hero-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(72px, 16vw, 240px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--text);
  /* warm halo for richness + a soft dark spread so the cream type stays legible
     over the luminous centre (no hard shadow, no metal) */
  text-shadow: 0 0 54px rgba(224,182,116,0.30), 0 6px 50px rgba(28,16,6,0.55);
  opacity: 0;
  animation: hero-rise 1100ms var(--ease) 220ms forwards;
}
/* gentle luminosity difference between 0 and Manual (no saturated color) */
.hero-title-0 { color: #FCF6EA; }
.hero-title-m { color: #F1E8D7; }
.hero-sub {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  margin-top: 30px;
  opacity: 0;
  animation: hero-rise 1000ms var(--ease) 420ms forwards;
}
.hero-sub-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(234,222,200,0.86);
  white-space: nowrap;
}
.hero-sub-rule {
  display: block;
  width: clamp(24px, 6vw, 64px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(224,182,116,0.55));
}
.hero-sub-rule:last-child {
  background: linear-gradient(to left, transparent, rgba(224,182,116,0.55));
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0;
  animation: hero-rise 1000ms var(--ease) 640ms forwards;
}
.hero-scroll-label {
  font-size: 10px; letter-spacing: 0.42em;
  text-transform: uppercase; color: rgba(234,222,200,0.7);
  transition: color 250ms;
}
.hero-scroll:hover .hero-scroll-label { color: rgba(245,244,239,0.9); }
/* thin vertical line with a soft light travelling down it */
.hero-scroll-line {
  position: relative;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(245,244,239,0.10), rgba(245,244,239,0.28));
  overflow: hidden;
}
.hero-scroll-dot {
  position: absolute; left: -1px; top: -40%;
  width: 3px; height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(199,182,137,0.95), transparent);
  border-radius: 2px;
  animation: hero-scroll-travel 2.4s ease-in-out infinite;
}
@keyframes hero-scroll-travel {
  0%   { top: -45%; opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-title, .hero-sub, .hero-scroll {
    opacity: 1; animation: none;
  }
  .hero-glow-gold, .hero-glow-copper, .hero-glow-blue, .hero-haze,
  .hero-veins, .hero-grain, .hero-scroll-dot {
    animation: none;
  }
}

/* ============================================
   INTRO — bridge between hero and chart
   ============================================ */
.intro {
  padding: 200px var(--px) 160px;
  background: #000;
  position: relative;
}
.intro-inner { max-width: var(--max); margin: 0 auto; }
.intro-eyebrow { margin-bottom: 40px; }
.intro-h {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 64px;
}
.intro-h em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  color: var(--text);
}
.intro-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  max-width: 56ch;
}
.intro-rule {
  margin-top: 118px;
  height: 1px;
  /* muted gold divider — brighter at center, fading to the edges */
  background: linear-gradient(to right, transparent, rgba(199,182,137,0.45) 50%, transparent);
}

/* ============================================
   EDGE — the 1% that moves first (autoplay video)
   ============================================ */
.edge {
  background: transparent;
  padding: clamp(72px, 9vh, 130px) var(--px);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.edge-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr; /* video left (a touch bigger), text right */
  align-items: center;
  gap: clamp(28px, 3.4vw, 56px);
}
.edge-media {
  position: relative;
}
.edge-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* video is 1920×1080 — no crop */
  border-radius: 22px;
  overflow: hidden;
  background: #0a0a09;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.edge-video-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.edge-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.edge-text {
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.edge-eyebrow {
  display: inline-block;
  margin-bottom: clamp(16px, 2.4vh, 26px);
  color: var(--gold);
}
.edge-h {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: clamp(18px, 2.6vh, 36px);
  max-width: 16ch;
}
.edge-h em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  color: var(--gold);
}
.edge-body {
  display: flex; flex-direction: column;
  gap: clamp(13px, 1.8vh, 22px);
  margin-bottom: clamp(24px, 3vh, 44px);
}
.edge-body p {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}
.edge-em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  color: var(--text);
}
.edge-list {
  display: flex; flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.edge-list li {
  position: relative;
  padding-left: 26px;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(245,244,239,0.82);
}
.edge-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 12px; height: 1px;
  background: var(--gold);
}
.edge-kicker {
  color: var(--text) !important;
  font-weight: 400 !important;
}
.edge-cta { padding: 16px 30px; }

/* ============================================
   Ambient glow — ONE static layer behind the whole page.
   Fixed to the viewport so there are no per-section seams.
   ============================================ */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.amb {
  position: absolute;
  border-radius: 50%;
  display: block;
  will-change: transform;
}
.amb-gold {
  width: 72vw; height: 72vw; max-width: 920px; max-height: 920px;
  top: -18vh; left: -12vw;
  background: radial-gradient(circle, rgba(199,182,137,0.20), transparent 62%);
  filter: blur(40px);
  animation: amb-float-a 30s ease-in-out infinite alternate;
}
.amb-navy {
  width: 68vw; height: 68vw; max-width: 880px; max-height: 880px;
  bottom: -22vh; right: -14vw;
  background: radial-gradient(circle, rgba(31,55,86,0.34), transparent 64%);
  filter: blur(50px);
  animation: amb-float-b 38s ease-in-out infinite alternate;
}
.amb-gold-2 {
  width: 52vw; height: 52vw; max-width: 700px; max-height: 700px;
  top: 36vh; right: 4vw;
  background: radial-gradient(circle, rgba(199,182,137,0.12), transparent 66%);
  filter: blur(54px);
  animation: amb-float-c 26s ease-in-out infinite alternate;
}

/* Slow, cloud-like drift — large soft moves, no abrupt motion */
@keyframes amb-float-a {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(13vw, 10vh) scale(1.18); }
}
@keyframes amb-float-b {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-12vw, -9vh) scale(1.22); }
}
@keyframes amb-float-c {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10vw, 12vh) scale(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .amb-gold, .amb-navy, .amb-gold-2 { animation: none; }
}

/* Sections that should reveal the ambient layer go transparent;
   the page stays black via the body background. */
.intro, .edge { background: transparent; }
.ch2 { background: transparent; }
.intro-inner, .edge-inner { position: relative; z-index: 1; }
.ch2-left, .ch2-right { position: relative; z-index: 1; }

/* ============================================
   CHAPTER 2 — STATIC header + slideshow rows + floating chart
   ============================================ */
.ch2 {
  position: relative;
  height: 600vh;
  background: transparent;
}
.ch2-pin {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  padding: 0 var(--px);
  gap: clamp(20px, 2.4vw, 40px);
}
.ch2-left {
  position: relative;
  height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(16px, 5vw, 72px);
  padding-top: clamp(96px, 12vh, 160px);
  padding-bottom: clamp(48px, 8vh, 120px);
  gap: clamp(20px, 3vh, 32px);
}
/* Static header — stays in place the entire chapter */
.ch2-header {
  flex-shrink: 0;
  max-width: 30ch;
}
.ch2-eyebrow { margin-bottom: clamp(14px, 2.2vh, 22px); display: inline-block; }
.ch2-h {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: clamp(12px, 1.8vh, 18px);
}
.ch2-h em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
}
.ch2-lead {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
  max-width: 42ch;
}
/* Slot where rows rotate one at a time */
.ch2-slot {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 42ch;
  align-self: flex-start;
  text-align: left;
  min-height: 240px;
  border-top: 1px solid var(--stroke);
  padding-top: 28px;
}
.ch2-row {
  position: absolute;
  left: 0; right: 0; top: 28px;
  display: grid; grid-template-columns: 56px 1fr;
  gap: 22px;
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}
.ch2-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-size: 32px;
  color: var(--gold);
  line-height: 1.1;
}
.ch2-row-h {
  font-size: 18px; font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.ch2-row-body {
  font-size: 14px; color: var(--muted);
  line-height: 1.55; font-weight: 300;
  max-width: 42ch;
}

.ch2-right {
  position: relative;
  height: 100vh;
  display: flex; align-items: center; justify-content: flex-end;
}

/* Floating chart window — 16:9, no crop, hovering above bg */
.chart-window {
  position: relative;
  width: min(600px, 100%);
  /* The chart video is 1280x720. We give the window a 16:9 inner frame so the video
     can use object-fit: cover without cropping anything. The tab sits ABOVE. */
  transform:
    perspective(1600px)
    rotateY(calc((0.5 - var(--prog, 0)) * -5deg))
    translateY(calc((var(--prog, 0) - 0.5) * -18px));
  transition: transform 80ms linear;
  filter:
    drop-shadow(0 30px 60px rgba(0,0,0,0.55))
    drop-shadow(0 8px 16px rgba(0,0,0,0.45));
}
.chart-window-tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 14px;
  background: linear-gradient(180deg, rgba(28,28,26,0.95), rgba(18,18,16,0.95));
  border: 1px solid rgba(255,255,255,0.10);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,244,239,0.7);
  margin-left: 22px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.cw-tab-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px rgba(106,169,136,0.6);
  animation: tab-pulse 2s ease-in-out infinite;
}
@keyframes tab-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.chart-window-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a09;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px 16px 16px 16px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}
.chart-window-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.04) 0%,
    transparent 30%,
    transparent 70%,
    rgba(255,255,255,0.02) 100%);
  pointer-events: none;
  z-index: 1;
}
.chart-video, .chart-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; /* video is 16:9, frame is 16:9 — no cropping */
}

/* ============================================
   CHAPTER 3 — counter video bg + centered text stack
   ============================================ */
.ch3 {
  position: relative;
  height: 800vh;
  background: #000;
}
.ch3-pin {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
}
.ch3-video, .ch3-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.85);
}
.ch3-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,0.6) 0%,
      rgba(0,0,0,0.45) 30%,
      rgba(0,0,0,0.5)  70%,
      rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.ch3-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--px);
}
.ch3-stack {
  position: relative;
  width: 100%;
  max-width: 880px;
  text-align: center;
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
}
/* A soft dark scrim BEHIND the text — keeps copy readable
   regardless of what frame the counter video is on. */
.ch3-stack::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 130%; height: 140%;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0) 75%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.ch3-block {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}
.ch3-block[style*="opacity: 1"] { pointer-events: auto; }
.ch3-eyebrow {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.32em;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
  margin-bottom: 28px;
}
.ch3-h {
  font-size: clamp(36px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4);
}
.ch3-h em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  color: #f4e4b8;
  text-shadow: 0 2px 28px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}
.ch3-line {
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.45);
  max-width: 24ch;
  margin: 0 auto;
}
.ch3-line em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  color: #f4e4b8;
  text-shadow: 0 2px 28px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}
.ch3-block-final {
  display: flex; flex-direction: column;
  align-items: center; gap: 36px;
}
.ch3-final-h {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.45);
}
.ch3-final-h em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  color: #f4e4b8;
  text-shadow: 0 2px 28px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}
.ch3-cta {
  margin-top: 8px;
  pointer-events: auto;
}

/* ============================================
   CONTACT — form + calendar (dark)
   ============================================ */
.contact {
  background: transparent;
  padding: 200px var(--px) 140px;
  position: relative;
}
.contact-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.contact-eyebrow {
  text-align: center;
  margin-bottom: 36px;
}
.contact-h {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  text-align: center;
  margin-bottom: 28px;
}
.contact-h em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
}
.contact-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
  text-align: center;
  max-width: 54ch;
  margin: 0 auto 80px;
}

.contact-form {
  display: flex; flex-direction: column;
  gap: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.10);
}
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.cf-input, .cf-textarea {
  font-family: inherit;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 200ms, background 200ms;
  width: 100%;
}
.cf-input::placeholder, .cf-textarea::placeholder { color: var(--subtle); }
.cf-input:focus, .cf-textarea:focus {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.06);
}
.cf-input.is-invalid, .cf-textarea.is-invalid {
  border-color: rgba(220,90,90,0.5);
}
.cf-textarea { resize: vertical; min-height: 110px; }
.cf-error {
  font-size: 12px;
  color: #d68080;
  min-height: 14px;
  font-weight: 400;
}

/* ─ Calendar ─ */
.cf-cal-block {
  display: flex; flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  margin-top: 4px;
  border-top: 1px solid var(--stroke);
}
.cf-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.cf-cal-tz {
  font-size: 12px;
  color: var(--subtle);
  font-weight: 300;
}
.cf-cal-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.cf-cal, .cf-slots {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 18px;
}
.cf-cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.cf-cal-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all 200ms;
}
.cf-cal-btn:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.cf-cal-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.cf-cal-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cf-cal-month {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text);
}
.cf-cal-weekrow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--subtle);
  text-align: center;
  margin-bottom: 6px;
}
.cf-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cf-cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  color: var(--text);
  background: transparent;
  transition: all 200ms;
}
.cf-cal-day:hover:not(:disabled):not(.is-other) {
  background: rgba(255,255,255,0.08);
}
.cf-cal-day:disabled, .cf-cal-day.is-other {
  color: var(--faint); cursor: not-allowed;
}
.cf-cal-day.is-today { color: var(--gold); }
.cf-cal-day.is-active {
  background: var(--text); color: #0a0a09;
}
.cf-slots-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap; gap: 8px;
}
.cf-slots-day {
  font-size: 13px;
  color: var(--text);
}
.cf-slots-day em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.cf-cal-status {
  font-size: 11px;
  color: var(--subtle);
  letter-spacing: 0.08em;
}
.cf-cal-status.is-loading::after {
  content: "";
  display: inline-block;
  width: 4px; height: 4px; margin-left: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 1s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes pulse-dot { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.cf-slots-empty {
  font-size: 13px; color: var(--muted);
  font-weight: 300;
  display: block; padding: 8px 0;
}
.cf-slots-section { margin-bottom: 14px; }
.cf-slots-section:last-child { margin-bottom: 0; }
.cf-slots-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--subtle);
  display: block;
  margin-bottom: 8px;
}
.cf-slots-row {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cf-slot {
  padding: 7px 12px;
  border-radius: 9999px;
  font-size: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--stroke);
  color: var(--text);
  transition: all 200ms;
}
.cf-slot:hover:not(:disabled) {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
}
.cf-slot:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}
.cf-slot.is-active {
  background: var(--text);
  color: #0a0a09;
  border-color: var(--text);
}
.cf-slot-selected-tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(199,182,137,0.1);
  border: 1px solid rgba(199,182,137,0.25);
  color: var(--gold);
  font-size: 12px;
}
.cf-slot-selected-tag em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: rgba(245,244,239,0.7);
}

.cf-submit {
  margin-top: 10px;
  align-self: flex-start;
  padding: 16px 30px;
  font-size: 14px;
}
.cf-submit:disabled { opacity: 0.6; cursor: wait; }

.cf-status {
  display: none;
  margin-top: 36px;
  padding: 32px;
  border-radius: 24px;
  background: rgba(199,182,137,0.08);
  border: 1px solid rgba(199,182,137,0.25);
  text-align: center;
}
.cf-status.is-on { display: block; }
.cf-status .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(106,169,136,0.6);
}
.cf-status .msg {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.cf-status .sub {
  font-size: 14px;
  color: var(--muted);
}
.cf-status.error {
  background: rgba(220,90,90,0.08);
  border-color: rgba(220,90,90,0.3);
}
.cf-status.error .dot { background: #d68080; box-shadow: 0 0 16px rgba(214,128,128,0.5); }

/* ─── Footer ─── */
footer {
  background: #000;
  border-top: 1px solid var(--stroke);
  padding: 80px var(--px) 40px;
}
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-logo img { height: 40px; width: auto; filter: invert(1) brightness(1.2); }
.foot-tag {
  font-size: 13px; color: var(--muted);
  max-width: 28ch; line-height: 1.5;
  font-weight: 300;
}
.foot-col h6 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--subtle);
  font-weight: 500;
  margin-bottom: 18px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-size: 13px;
  color: rgba(245,244,239,0.65);
  transition: color 200ms;
}
.foot-col a:hover { color: var(--text); }
.foot-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(245,244,239,0.75);
}
.foot-status em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--muted);
}
.foot-status .signal-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px rgba(106,169,136,0.5);
}
.foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--subtle);
  letter-spacing: 0.1em;
  padding-top: 32px;
  border-top: 1px solid var(--stroke);
}

/* ============================================
   Short laptop viewports — keep the 1% + chart sections
   fully inside the screen (desktop layout only).
   ============================================ */
@media (min-width: 881px) and (max-height: 900px) {
  .edge-h { font-size: clamp(26px, 3vw, 42px); margin-bottom: 16px; }
  .edge-body { gap: 13px; margin-bottom: 24px; }
  .edge-body p, .edge-list li { font-size: 15px; line-height: 1.5; }
  .edge-eyebrow { margin-bottom: 14px; }
  .edge-cta { padding: 13px 26px; }
  .chart-window { width: min(540px, 100%); }
  .ch2-h { font-size: clamp(24px, 2.7vw, 38px); margin-bottom: 12px; }
  .ch2-lead { font-size: 13px; }
  .ch2-left { padding-top: clamp(88px, 11vh, 120px); padding-bottom: 6vh; gap: 18px; }
  .ch2-row-body { font-size: 13px; }
}
@media (min-width: 881px) and (max-height: 740px) {
  .edge-h { font-size: clamp(23px, 2.6vw, 34px); margin-bottom: 13px; }
  .edge-body { gap: 10px; margin-bottom: 20px; }
  .edge-body p, .edge-list li { font-size: 14px; line-height: 1.45; }
  .edge-list { gap: 7px; }
  .edge-eyebrow { margin-bottom: 12px; }
  .edge-cta { padding: 11px 22px; font-size: 13px; }
  .chart-window { width: min(460px, 100%); }
  .ch2-h { font-size: clamp(22px, 2.4vw, 32px); }
  .ch2-lead { font-size: 12px; }
  .ch2-left { padding-top: clamp(80px, 10vh, 100px); gap: 14px; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 880px) {
  .nav { font-size: 12px; padding: 6px 6px 6px 10px; }
  .nav-links { gap: 14px; padding: 0 10px; }
  .nav-link { font-size: 12px; }
  .nav-cta { padding: 7px 12px; font-size: 12px; }
  .hero { padding: 84px var(--px) 104px; }
  .hero-scroll { bottom: 24px; }
  .ch2-pin {
    grid-template-columns: 1fr;
    padding-top: 72px;
    padding-bottom: 24px;
    gap: 18px;
    align-content: center;
  }
  /* El editor dejó anchos/altos fijos en línea (width:744px, margin-left:220px,
     height:5240px…) que en móvil se salen de la pantalla. Los anulamos SOLO en
     móvil (el escritorio no se toca). */
  .ch2-left {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    gap: 16px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  .ch2-header { width: auto !important; height: auto !important; margin: 0 !important; max-width: none; }
  .ch2-h { width: auto !important; height: auto !important; margin-bottom: 0; font-size: clamp(24px, 6.4vw, 36px); }
  .ch2-lead { font-size: 13px; }
  .ch2-slot {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 28px 0 0 !important;
    min-height: 200px;
    align-self: stretch;
  }
  .ch2-row { padding: 14px 0; grid-template-columns: 40px 1fr; gap: 12px; }
  .ch2-row-body { font-size: 13px; }
  .ch2-num { font-size: 22px; }
  .ch2-right { height: auto; }
  .chart-window { width: min(82%, 380px); margin: 0 auto; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-cal-wrap { grid-template-columns: 1fr; }
  .ch3-kpis { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .edge {
    padding: 90px var(--px) 100px;
  }
  .edge-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .edge-media { order: -1; } /* video on top when stacked */
  .edge-h { margin-bottom: 28px; }
  .edge-body { margin-bottom: 36px; }
}

@media (max-width: 520px) {
  .nav-links { display: none; }
  .ch2-pin { padding-top: 64px; gap: 14px; }
  .ch2-slot { min-height: 196px; }
  .chart-window { width: min(90%, 340px); }
  .ch3-line { font-size: clamp(21px, 6vw, 30px); }
  .ch3-h { font-size: clamp(30px, 9vw, 52px); }
  .edge-h { font-size: clamp(27px, 8vw, 40px); }
  .ch3-kpis { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Móvil en HORIZONTAL (ancho pero muy bajo) — mismo arreglo de "cómo opera".
   Los portátiles/escritorio no entran aquí (son más anchos o más altos).
   ============================================ */
@media (max-width: 932px) and (max-height: 540px) {
  .ch2-pin {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 60px;
    padding-bottom: 16px;
    align-content: start;
    overflow-y: auto;
  }
  .ch2-left {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  .ch2-header { width: auto !important; height: auto !important; margin: 0 !important; max-width: none; }
  .ch2-h { width: auto !important; height: auto !important; margin-bottom: 0; font-size: clamp(20px, 4vw, 30px); }
  .ch2-slot {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 14px 0 0 !important;
    min-height: 150px;
    align-self: stretch;
  }
  .ch2-right { height: auto; }
  .chart-window { width: min(58%, 300px); margin: 0 auto; }
}
