/* =========================================================
   USB · Estrategia de Marketing y Captación 2026–2027
   Base: tipografía, shell, hero y resumen
   ========================================================= */

@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/Sora.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f5f2ec;
  --bg-alt: #ece7de;
  --surface: #ffffff;
  --surface-soft: #faf8f3;
  --ink: #111820;
  --ink-2: #2a333b;
  --muted: #626970;
  --muted-2: #5f666d;
  --line: #ded8cd;
  --line-strong: #c9c1b3;
  --navy: #0c2a44;
  --navy-2: #123b5c;
  --blue: #1d5c8f;
  --blue-soft: #dce8f2;
  --gold: #b8822a;
  --gold-text: #855c19;
  --gold-bright: #c99a3f;
  --gold-soft: #f2e6cd;
  --red: #a75d4c;
  --red-soft: #f3e2dc;
  --green: #3e7a63;
  --green-soft: #e0ebe4;
  --teal: #2f7e83;
  --rose: #a45b65;

  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 10px;
  --maxw: 1240px;
  --shadow-soft: 0 1px 2px rgba(17, 24, 32, 0.04), 0 24px 50px -42px rgba(17, 24, 32, 0.35);
  --shadow-lift: 0 2px 4px rgba(17, 24, 32, 0.04), 0 32px 70px -42px rgba(17, 24, 32, 0.45);
  --font-display: "Sora", "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: "Inter", "SF Pro Text", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
::selection { background: var(--gold-soft); color: var(--ink); }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e6c987);
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(245, 242, 236, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(201, 193, 179, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 100%;
  flex: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-copy span {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(201, 193, 179, 0.45);
}

.main-nav a {
  position: relative;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover { background: rgba(255, 255, 255, 0.9); }

.main-nav a.is-active {
  background: var(--navy);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn .icon { width: 16px; height: 16px; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px -16px rgba(12, 42, 68, 0.8);
}

.btn-primary:hover { background: var(--navy-2); }

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-ghost:hover { background: #fff; }

.btn-sm {
  min-height: 38px;
  padding: 0 15px;
  font-size: 12px;
  gap: 7px;
}

.btn-sm .icon { width: 14px; height: 14px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.menu-toggle .icon { width: 20px; height: 20px; }
.menu-close-icon { display: none; }
.menu-toggle.is-open .menu-open-icon { display: none; }
.menu-toggle.is-open .menu-close-icon { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 34px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12, 42, 68, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 42, 68, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 82%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}

.hero-orb-1 {
  top: -240px;
  right: -140px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(201, 154, 63, 0.18), transparent 66%);
}

.hero-orb-2 {
  bottom: -300px;
  left: -180px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(29, 92, 143, 0.11), transparent 68%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dot,
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(201, 154, 63, 0.16);
  flex: none;
}

.eyebrow-dot { animation: pulseDot 2.8s ease-in-out infinite; }

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 154, 63, 0.14); }
  50% { box-shadow: 0 0 0 8px rgba(201, 154, 63, 0.04); }
}

.hero h1 {
  margin: 26px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.6vw, 5.1rem);
  font-weight: 550;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.hero h1 .accent {
  color: var(--gold-text);
  font-weight: 500;
}

.hero-lead {
  max-width: 530px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  color: var(--muted);
}

.hero-lead strong { color: var(--ink); font-weight: 600; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 193, 179, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-tags .icon { width: 14px; height: 14px; color: var(--gold); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-panel {
  position: relative;
  padding: 26px 26px 22px;
  border-radius: 30px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201, 154, 63, 0.14), transparent 52%),
    linear-gradient(155deg, #ffffff 0%, #faf7f0 55%, #f3ede1 100%);
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.panel-cycle {
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 9.5px;
  color: var(--muted);
}

.goal-ring-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 262px);
  margin: 14px auto 8px;
  aspect-ratio: 1;
}

.goal-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.ring-track {
  fill: none;
  stroke: rgba(12, 42, 68, 0.11);
  stroke-width: 7;
}

.ring-track-inner {
  stroke-width: 1;
  stroke: rgba(12, 42, 68, 0.07);
}

.ring-value {
  fill: none;
  stroke: url(#ringGradient);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 578;
  stroke-dashoffset: 578;
  animation: ringDraw 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes ringDraw {
  to { stroke-dashoffset: var(--dash); }
}

.goal-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.goal-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--navy);
}

.goal-caption {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.goal-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 20px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  color: var(--muted);
}

.goal-note strong { color: var(--gold-text); font-weight: 600; }

.goal-target {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--navy);
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.panel-stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.panel-stat-label {
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.panel-stats strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* ---------- KPI strip ---------- */
.kpi-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 58px;
  border: 1px solid rgba(201, 193, 179, 0.58);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 21px 22px 19px;
  border-left: 1px solid rgba(201, 193, 179, 0.5);
}

.kpi-item:first-child { border-left: 0; }

.kpi-label {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.kpi-item strong {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1.2;
}

.kpi-sub {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.35;
}

/* ---------- Section scaffolding ---------- */
.section {
  position: relative;
  padding: 112px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(201, 193, 179, 0.4);
  border-bottom: 1px solid rgba(201, 193, 179, 0.4);
}

.section-summary {
  padding-top: 96px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0;
  color: var(--gold-text);
}

.section-head { margin-bottom: 58px; }

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 40px;
}

.section-title-row h2,
.summary-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.85rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.section-intro {
  max-width: 430px;
  padding-bottom: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.subhead {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(240px, 0.65fr);
  align-items: end;
  gap: 20px;
  margin: 78px 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.subhead-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-text);
  letter-spacing: 0.02em;
  align-self: start;
  padding-top: 5px;
}

.subhead h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
}

.subhead p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 380px;
  justify-self: end;
}

.subhead + .smart-grid,
.subhead + .career-grid,
.subhead + .persona-grid { margin-top: 0; }

.micro-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Summary ---------- */
.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.summary-copy,
.summary-aside {
  min-width: 0;
}

.summary-copy .lead {
  margin: 26px 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 600px;
}

.summary-copy > p:not(.kicker):not(.lead) {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 590px;
}

.summary-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.summary-facts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px 0 0;
}

.summary-facts strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 450;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
}

.summary-facts span {
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 120px;
}

.aside-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #fff 0%, #f7f2e9 100%);
  box-shadow: var(--shadow-soft);
}

.aside-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.aside-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.aside-head .icon { width: 16px; height: 16px; color: var(--gold); }

.equation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 22px;
}

.equation div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.equation strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 450;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--navy);
}

.equation span:not(.equation-op) {
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.equation-op {
  font-size: 16px;
  color: var(--gold-text);
  transform: translateY(-8px);
}

.aside-card p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.text-link .icon { width: 13px; height: 13px; transition: transform 0.2s ease; }
.text-link:hover .icon { transform: translate(2px, -2px); }

.pillars-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  margin-bottom: 22px;
}

.pillars-head h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line-strong);
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--navy);
  color: #f2dfb6;
  flex: none;
}

.pillar-icon .icon { width: 18px; height: 18px; }

.pillar-card h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.pillar-card p {
  margin-top: 5px;
  font-size: 10.8px;
  line-height: 1.55;
  color: var(--muted);
}

.pillar-card .icon-arrow {
  margin-left: auto;
  width: 13px;
  height: 13px;
  color: var(--muted-2);
  flex: none;
}

/* ---------- Charts shell ---------- */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.chart-card,
.range-card,
.table-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.chart-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.chart-head h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--navy);
}

.chart-chip {
  flex: none;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  background: var(--surface-soft);
}

.chart-canvas {
  position: relative;
  width: 100%;
  height: 280px;
}

.chart-canvas-tall { height: 340px; }
.chart-canvas-wide { height: 390px; }
.chart-canvas-square { height: 290px; }
.chart-canvas-donut { height: 300px; }

.chart-canvas canvas { width: 100% !important; height: 100% !important; }

.chart-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ring-value { stroke-dashoffset: var(--dash); }
}

/* ---------- Base responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 7px 10px; font-size: 12px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 2px;
    padding: 14px 24px 22px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: rgba(245, 242, 236, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 11px 14px; border-radius: 10px; font-size: 14px; }
  .main-nav a.is-active { background: var(--navy); }
  .menu-toggle { display: inline-flex; }
  .header-pdf span { display: none; }
  .header-pdf { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 10px; }

  .hero { padding-top: 132px; }
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-panel { width: min(100%, 470px); justify-self: start; }
  .kpi-strip { grid-template-columns: repeat(3, 1fr); }
  .kpi-item:nth-child(4) { border-left: 0; }
  .kpi-item:nth-child(n + 4) { border-top: 1px solid rgba(201, 193, 179, 0.5); }

  .summary-grid { grid-template-columns: 1fr; gap: 36px; }
  .summary-aside { max-width: 540px; }
  .section-title-row { grid-template-columns: 1fr; gap: 20px; }
  .section-intro { max-width: 620px; }
  .subhead { grid-template-columns: 44px 1fr; }
  .subhead p { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 36px, var(--maxw)); }
  .section { padding: 84px 0; }
  .hero { padding-top: 122px; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4rem); }
  .section-summary { padding-top: 72px; }
  .summary-facts { grid-template-columns: repeat(2, 1fr); }
  .summary-facts div { padding: 16px 12px 12px 0; border-bottom: 1px solid var(--line); }
  .pillars-head { align-items: start; flex-direction: column; gap: 8px; }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-canvas-tall { height: 380px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--maxw)); }
  .brand-copy strong { font-size: 11.5px; max-width: 170px; }
  .brand-copy span { font-size: 9.5px; }
  .brand-copy { padding-left: 10px; }
  .brand-logo { height: 32px; }
  .header-inner { height: 68px; gap: 10px; }
  .main-nav { inset-block-start: 68px; }
  .hero { padding-top: 108px; padding-bottom: 24px; }
  .hero h1 { margin-top: 20px; }
  .hero-lead { font-size: 14px; }
  .hero-cta .btn { flex: 1; min-width: 140px; }
  .hero-panel { padding: 22px 18px 18px; border-radius: 24px; }
  .goal-ring-wrap { width: 230px; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); margin-top: 38px; }
  .kpi-item { padding: 16px 16px 14px; }
  .kpi-item:nth-child(odd) { border-left: 0; }
  .kpi-item:nth-child(n + 3) { border-top: 1px solid rgba(201, 193, 179, 0.5); }
  .kpi-item:nth-child(4) { border-left: 1px solid rgba(201, 193, 179, 0.5); }
  .section { padding: 68px 0; }
  .section-title-row h2, .summary-copy h2 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .subhead { grid-template-columns: 1fr; gap: 8px; margin-top: 56px; }
  .subhead p { grid-column: 1; }
  .subhead-num { padding: 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .chart-card, .range-card, .table-card { padding: 20px 18px; border-radius: 20px; }
  .chart-head { flex-direction: column; gap: 8px; }
  .chart-canvas-tall { height: 360px; }
  .chart-canvas-wide { height: 340px; }
}

@media (max-width: 380px) {
  .brand-copy strong { max-width: 116px; font-size: 10.5px; }
  .brand-copy span { display: none; }
  .brand-logo { height: 28px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .equation { gap: 5px; }
  .equation strong { font-size: 1.55rem; }
  .equation span:not(.equation-op) { font-size: 8px; letter-spacing: 0.03em; }
  .summary-facts div { padding-right: 8px; }
}
