:root {
  --navy: #0f1c2e;
  --navy-deep: #081525;
  --navy-mid: #1a2e47;
  --navy-soft: #243b55;
  --gold: #b8975a;
  --gold-light: #d4b483;
  --cream: #f5f1eb;
  --stone: #e8e2d9;
  --white: #ffffff;
  --ink: #26313d;
  --muted: #6b7280;
  --line: rgba(15, 28, 46, 0.12);
  --max: 1180px;
  --reading: 760px;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 21, 37, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 180, 131, .18);
}
.site-nav__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-nav__logo img { width: 184px; height: auto; }
.site-nav__links { display: flex; gap: 28px; align-items: center; }
.site-nav__links a {
  color: rgba(255,255,255,.72);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.site-nav__links a:hover, .site-nav__links a[aria-current='page'] { color: var(--gold-light); }
.site-nav__cta {
  border: 1px solid var(--gold);
  color: var(--gold-light) !important;
  padding: 10px 16px;
  border-radius: 2px;
}
.site-nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.site-nav__toggle span { width: 24px; height: 1px; background: #fff; display: block; margin: 5px 0; }

.insights-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
  padding: 118px 0 100px;
}
.insights-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(184,151,90,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(184,151,90,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.insights-hero::after {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  right: -280px;
  top: -260px;
  background: radial-gradient(circle, rgba(184,151,90,.12), transparent 68%);
}
.insights-hero__content { position: relative; z-index: 1; max-width: 820px; }
.eyebrow {
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.insights-hero h1, .article-hero h1 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: .98;
  margin: 0;
}
.insights-hero h1 { font-size: clamp(4rem, 9vw, 7.7rem); }
.insights-hero__lead {
  margin-top: 30px;
  max-width: 680px;
  color: rgba(255,255,255,.7);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
}
.insights-hero__rule { width: 72px; height: 1px; background: var(--gold); margin-top: 38px; }

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 18px;
}
.section-heading p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.insight-card {
  display: grid;
  grid-template-columns: minmax(260px, 390px) 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(15,28,46,.1);
  box-shadow: 0 24px 70px rgba(15,28,46,.10);
}
.insight-card__cover { background: var(--navy); overflow: hidden; }
.insight-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insight-card:hover .insight-card__cover img { transform: scale(1.02); }
.insight-card__body { padding: clamp(34px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.insight-meta { color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 600; }
.insight-card h3 {
  font-family: var(--display);
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  font-weight: 300;
  line-height: 1.05;
  margin: 18px 0 20px;
}
.insight-card__summary { color: var(--muted); max-width: 650px; margin: 0 0 28px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 2px;
  border: 1px solid var(--navy);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: .2s ease;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-mid); }
.btn--secondary { color: var(--navy); background: transparent; }
.btn--secondary:hover { background: var(--cream); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.philosophy-card { background: var(--navy); padding: 38px 34px; }
.philosophy-card span { color: var(--gold-light); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.philosophy-card h3 { font-family: var(--display); font-size: 2rem; font-weight: 400; margin: 14px 0 12px; }
.philosophy-card p { color: rgba(255,255,255,.64); margin: 0; font-size: .92rem; }

.article-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
  padding: 84px 0 88px;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,21,37,.98) 0%, rgba(15,28,46,.92) 50%, rgba(15,28,46,.55) 100%), url('../images/madrid-dusk.webp') center/cover no-repeat;
}
.article-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr); gap: 64px; align-items: center; }
.article-hero__copy { position: relative; z-index: 1; }
.article-hero h1 { font-size: clamp(3.5rem, 7vw, 6.7rem); max-width: 850px; }
.article-hero__subtitle { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 690px; margin: 26px 0 24px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 12px 22px; color: rgba(255,255,255,.58); font-size: .82rem; }
.article-byline strong { color: #fff; font-weight: 500; }
.article-hero__actions { margin-top: 34px; }
.article-hero__cover { position: relative; z-index: 1; box-shadow: 0 28px 85px rgba(0,0,0,.38); transform: rotate(1deg); }
.article-hero__cover img { width: 100%; }

.reading-progress { position: fixed; top: 74px; left: 0; right: 0; height: 2px; z-index: 90; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--gold); }

.executive-summary { background: var(--cream); padding: 84px 0; }
.executive-summary__grid { display: grid; grid-template-columns: .7fr 1.5fr; gap: 70px; align-items: start; }
.executive-summary h2 { font-family: var(--display); font-size: 3.8rem; font-weight: 300; color: var(--navy); line-height: 1; margin: 0; }
.executive-summary__copy p { margin: 0 0 18px; color: #46515d; }
.summary-pillars { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.summary-pillar { border-top: 1px solid var(--gold); padding-top: 16px; }
.summary-pillar strong { color: var(--navy); display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.summary-pillar span { color: var(--muted); font-size: .82rem; }

.article-shell { display: grid; grid-template-columns: 230px minmax(0, var(--reading)); gap: 70px; justify-content: center; padding: 96px 0 112px; }
.article-toc { position: sticky; top: 112px; align-self: start; }
.article-toc__title { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.article-toc a { display: block; padding: 10px 0; color: var(--muted); font-size: .82rem; border-bottom: 1px solid rgba(15,28,46,.08); transition: color .2s; }
.article-toc a:hover, .article-toc a.active { color: var(--navy); }
.article-toc__download { margin-top: 24px; width: 100%; }
.article-body { min-width: 0; }
.article-section { scroll-margin-top: 112px; margin-bottom: 86px; }
.article-section__label { color: var(--gold); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.article-body h2 { font-family: var(--display); color: var(--navy); font-size: clamp(2.55rem, 5vw, 4.1rem); font-weight: 300; line-height: 1.04; margin: 0 0 28px; }
.article-body h3 { font-family: var(--display); color: var(--navy); font-size: 2rem; font-weight: 400; margin: 46px 0 16px; }
.article-body p { font-family: Georgia, 'Times New Roman', serif; font-size: 1.07rem; line-height: 1.84; color: #38434e; margin: 0 0 22px; }
.article-body p.lead-paragraph::first-letter { float: left; font-family: var(--display); font-size: 5.4rem; line-height: .72; padding-right: 10px; padding-top: 12px; color: var(--gold); }
.article-body strong { color: var(--navy); }
.article-body sup a { color: var(--gold); font-weight: 600; }
.article-divider { height: 1px; background: var(--line); margin: 54px 0; }
.article-quote {
  margin: 42px 0;
  padding: 34px 38px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}
.article-quote blockquote { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.2; color: var(--navy); margin: 0; }
.article-quote cite { display: block; margin-top: 18px; color: var(--gold); font-style: normal; font-size: .82rem; letter-spacing: .06em; }
.article-figure { margin: 48px 0; }
.article-figure img { width: 100%; border: 1px solid rgba(15,28,46,.08); }
.article-figure figcaption { color: var(--muted); font-size: .74rem; line-height: 1.55; margin-top: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 40px 0; }
.stat-card { border: 1px solid rgba(15,28,46,.12); padding: 24px 20px; background: #fff; }
.stat-card strong { font-family: var(--display); font-size: 2.3rem; font-weight: 400; color: var(--navy); display: block; line-height: 1; }
.stat-card span { color: var(--muted); font-size: .76rem; display: block; margin-top: 10px; }
.market-note { background: var(--navy); color: #fff; padding: 38px; margin: 44px 0; }
.market-note p { color: rgba(255,255,255,.78); margin: 0; font-family: var(--body); font-size: 1rem; }
.market-note strong { color: var(--gold-light); }

.investor-meaning { background: var(--navy); color: #fff; padding: 90px 0; }
.investor-meaning h2 { font-family: var(--display); font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 300; margin: 0 0 36px; }
.takeaway-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.takeaway { background: var(--navy); padding: 28px 30px; display: flex; gap: 18px; align-items: flex-start; }
.takeaway__num { color: var(--gold-light); font-family: var(--display); font-size: 1.4rem; }
.takeaway p { color: rgba(255,255,255,.74); margin: 0; font-size: .94rem; }

.sources { padding: 90px 0; background: var(--cream); }
.sources-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 74px; }
.sources h2, .author-card h2 { font-family: var(--display); font-size: 3rem; font-weight: 300; color: var(--navy); margin: 0 0 24px; }
.sources ol { padding-left: 20px; margin: 0; }
.sources li { color: #4d5864; margin-bottom: 13px; font-size: .85rem; }
.author-card { background: #fff; padding: 38px; border: 1px solid rgba(15,28,46,.1); }
.author-card h3 { font-family: var(--display); font-size: 2rem; color: var(--navy); margin: 0; }
.author-card__role { color: var(--gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.author-card p { color: var(--muted); font-size: .88rem; }
.disclaimer { color: var(--muted); font-size: .76rem; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 34px; }

.site-footer { background: var(--navy-deep); color: #fff; padding: 58px 0 30px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 46px; }
.site-footer__logo img { width: 190px; }
.site-footer p { color: rgba(255,255,255,.5); font-size: .82rem; max-width: 430px; }
.site-footer h3 { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 16px; }
.site-footer a { display: block; color: rgba(255,255,255,.62); font-size: .82rem; padding: 5px 0; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 36px; padding-top: 22px; color: rgba(255,255,255,.36); font-size: .72rem; display: flex; justify-content: space-between; gap: 20px; }

.copy-link { border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.82); background: transparent; cursor: pointer; }
.copy-link.copied { border-color: var(--gold); color: var(--gold-light); }

@media (max-width: 980px) {
  .site-nav__links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--navy-deep); padding: 22px 24px 28px; flex-direction: column; align-items: flex-start; border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav__links.open { display: flex; }
  .site-nav__toggle { display: block; }
  .article-hero__grid { grid-template-columns: 1fr; }
  .article-hero__cover { max-width: 420px; transform: none; }
  .executive-summary__grid { grid-template-columns: 1fr; gap: 30px; }
  .article-shell { grid-template-columns: 1fr; width: min(var(--reading), calc(100% - 48px)); }
  .article-toc { position: static; border: 1px solid var(--line); padding: 20px; }
  .philosophy-grid, .summary-pillars, .stat-grid { grid-template-columns: 1fr; }
  .sources-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--max)); }
  .site-nav__logo img { width: 152px; }
  .insights-hero { padding: 88px 0 74px; }
  .section { padding: 68px 0; }
  .insight-card { grid-template-columns: 1fr; }
  .insight-card__cover { max-height: 580px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 66px 0; }
  .article-hero__grid { gap: 40px; }
  .article-hero__cover { max-width: 330px; }
  .executive-summary { padding: 64px 0; }
  .executive-summary h2 { font-size: 3rem; }
  .article-shell { padding: 68px 0 78px; gap: 40px; width: min(100% - 32px, var(--reading)); }
  .article-body p { font-size: 1rem; }
  .article-quote { padding: 26px 24px; }
  .takeaway-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
}

@media print {
  .site-nav, .reading-progress, .article-toc, .article-hero__actions, .site-footer { display: none !important; }
  .article-hero { padding: 42px 0; }
  .article-hero::before { background: var(--navy) !important; }
  .article-hero__grid, .executive-summary__grid, .article-shell, .sources-grid { display: block !important; width: 100% !important; }
  .article-hero__cover { max-width: 280px; margin-top: 24px; box-shadow: none; transform: none; }
  .article-shell { padding: 36px 0; }
  .article-body p.lead-paragraph::first-letter { float: none; font-family: inherit; font-size: inherit; line-height: inherit; padding: 0; color: inherit; }
  .article-section { page-break-inside: auto; }
  .article-figure, .article-quote, .stat-grid, .market-note { break-inside: avoid; }
  a { color: inherit; }
}
