:root {
  --bg: #0d0e12;
  --bg-elev: #14161c;
  --paper: #f6f3ee;
  --ink: #14161c;
  --ink-soft: #3a3d46;
  --muted: #6b6f7a;
  --line: #d9d3c8;
  --line-dark: #2a2d36;
  --accent: #b8232a;
  --accent-soft: #e9c2c4;
  --gold: #b9963a;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --read: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  padding: 0 24px;
  margin: 0 auto;
}

/* ─── Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,14,18,.96);
  backdrop-filter: blur(8px);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
  font-weight: 600;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .5px;
}
.brand-text {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand-text em {
  font-style: normal;
  color: var(--gold);
  margin-left: 4px;
}
.site-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
.site-nav a {
  color: #c9ccd4;
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.site-nav a:hover { color: #fff; }
.header-cta {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .2s;
}
.header-cta:hover { background: #91161c; }

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0d0e12 0%, #16181f 100%);
  color: var(--paper);
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(184,35,42,.18), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(185,150,58,.10), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: "MIAMI · CARACAS · BOGOTÁ";
  position: absolute;
  bottom: 22px;
  right: 30px;
  font-size: 11px;
  letter-spacing: .4em;
  color: rgba(246,243,238,.25);
}
.hero-inner { position: relative; max-width: 920px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: .98;
  margin: 0 0 22px;
  letter-spacing: -.01em;
}
.hero-title span {
  color: var(--accent-soft);
  font-style: italic;
  font-weight: 700;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.3;
  color: #e3e0d8;
  margin: 0 0 18px;
  max-width: 760px;
  font-style: italic;
  font-weight: 700;
}
.hero-kicker {
  font-size: 16px;
  color: #b8bbc4;
  max-width: 680px;
  margin: 0 0 44px;
}
.hero-kicker em { color: var(--gold); font-style: normal; }
.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(246,243,238,.15);
  max-width: 460px;
}
.byline-photo {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .03em;
}
.byline-name { margin: 0; font-weight: 600; font-size: 14.5px; }
.byline-role { margin: 2px 0 0; color: #aab0bb; font-size: 13px; }
.hero-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(246,243,238,.4);
  font-size: 18px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 6px); }
}

/* ─── Article ──────────────────────────────────────── */
.article {
  background: var(--paper);
  padding: 80px 0 60px;
}
.article-inner {
  max-width: var(--read);
  font-size: 18px;
  color: var(--ink);
}
.article-inner p { margin: 0 0 22px; }
.article-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  margin: 56px 0 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  letter-spacing: -.005em;
}
.article-inner h2 .hl {
  background: var(--ink);
  color: var(--paper);
  padding: 2px 10px;
  margin-left: 6px;
  display: inline-block;
}
.article-inner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
}

.lede {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.32;
  color: var(--ink);
  margin: 0 0 36px !important;
  padding-left: 22px;
  border-left: 4px solid var(--accent);
}

.pull {
  margin: 32px 0;
  padding: 26px 28px;
  background: #fff;
  border-left: 4px solid var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.35;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 18px 30px -22px rgba(0,0,0,.18);
}
.pull.final {
  background: var(--ink);
  color: var(--paper);
  border-left-color: var(--gold);
}

.emphasis {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  text-align: center;
  margin: 30px 0 !important;
}

.bullets {
  margin: 0 0 22px;
  padding-left: 24px;
}
.bullets li {
  margin: 6px 0;
  padding-left: 6px;
}
.bullets li::marker { color: var(--accent); }

.questions {
  counter-reset: q;
  list-style: none;
  padding: 0;
  margin: 22px 0 32px;
}
.questions li {
  counter-increment: q;
  padding: 18px 20px 18px 64px;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.5;
}
.questions li::before {
  content: counter(q, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--accent);
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.trio-card {
  background: #fff;
  border-top: 3px solid var(--accent);
  padding: 22px 20px;
}
.trio-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.trio-card p  { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* ─── References ───────────────────────────────────── */
.references {
  background: #ece6da;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.references-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  max-width: var(--read);
}
.references-list {
  max-width: var(--read);
  padding-left: 22px;
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.references-list li {
  margin-bottom: 12px;
  padding-left: 8px;
}
.references-list li::marker { color: var(--accent); font-weight: 700; }
.references-list strong { color: var(--ink); }

/* ─── CTA ──────────────────────────────────────────── */
.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0;
  text-align: center;
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
}
.cta h2 span {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
}
.cta p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #c5c8cf;
}
.cta-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #91161c; }
.btn.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(246,243,238,.4);
}
.btn.ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ─── Footer ───────────────────────────────────────── */
.site-footer {
  background: #08090c;
  color: #9ea2ad;
  padding: 44px 0 36px;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--paper);
  margin: 0 0 6px;
}
.footer-logo em { font-style: normal; color: var(--gold); margin-left: 4px; }
.footer-tag { margin: 0; font-style: italic; line-height: 1.5; }
.footer-tag span { color: #6b6f7a; font-size: 13px; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 4px; }

/* ─── Back to top ──────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 20px;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .2s;
  z-index: 60;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { background: var(--accent); }

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 880px) {
  .site-nav { display: none; }
  .hero { padding: 64px 0 80px; }
  .trio { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
  .article { padding: 56px 0 40px; }
  .article-inner { font-size: 17px; }
}
@media (max-width: 520px) {
  .header-cta { padding: 7px 12px; font-size: 12px; }
  .brand-text { display: none; }
  .hero-title { letter-spacing: -.02em; }
  .references { padding: 50px 0; }
  .cta { padding: 56px 0; }
}
