@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #112244;
  --navy-light: #1a3260;
  --gold: #b8972a;
  --gold-light: #d4af5a;
  --gold-pale: #f0e6c0;
  --cream: #faf7f0;
  --white: #ffffff;
  --grey-light: #f2efe8;
  --grey-mid: #c8c0b0;
  --grey-dark: #6b6458;
  --text: #1a1410;
  --text-mid: #3d3628;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'DM Sans',sans-serif; background:var(--cream); color:var(--text); font-size:15px; line-height:1.6; }

/* ── TOP STRIP ── */
.top-strip { background:var(--navy); color:var(--grey-mid); font-size:11px; letter-spacing:.08em; padding:7px 40px; display:flex; justify-content:space-between; align-items:center; }
.top-strip a { color:var(--gold-light); text-decoration:none; }
.top-strip span { opacity:.6; }

/* ── HEADER ── */
header { background:var(--white); border-bottom:3px solid var(--gold); position:sticky; top:0; z-index:100; box-shadow:0 2px 20px rgba(0,0,0,.08); }
.header-inner { max-width:1280px; margin:0 auto; padding:0 40px; display:flex; align-items:center; justify-content:space-between; height:72px; }
.logo { display:flex; align-items:center; gap:14px; text-decoration:none; }
.logo-emblem { width:44px; height:44px; background:var(--navy); display:flex; align-items:center; justify-content:center; }
.logo-emblem::after { content:'MA'; color:var(--gold); font-family:'Playfair Display',serif; font-size:16px; font-weight:700; letter-spacing:-1px; }
.logo-text { display:flex; flex-direction:column; }
.logo-name { font-family:'Playfair Display',serif; font-size:17px; font-weight:600; color:var(--navy); letter-spacing:.03em; line-height:1.1; }
.logo-sub { font-size:10px; color:var(--gold); letter-spacing:.18em; text-transform:uppercase; font-weight:500; }

nav { display:flex; gap:0; }
nav a { text-decoration:none; color:var(--navy); font-size:13px; font-weight:500; letter-spacing:.04em; padding:0 16px; height:72px; display:flex; align-items:center; border-bottom:3px solid transparent; margin-bottom:-3px; transition:all .2s; }
nav a:hover, nav a.active { color:var(--gold); border-bottom-color:var(--gold); }
.nav-cta { background:var(--navy) !important; color:var(--gold-light) !important; padding:0 20px !important; margin-left:8px; border-bottom:3px solid var(--gold) !important; }
.nav-cta:hover { background:var(--navy-light) !important; }

/* ── PAGE HERO ── */
.page-hero { background:var(--navy); padding:56px 40px 48px; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; right:-80px; top:-80px; width:400px; height:400px; border:1px solid rgba(184,151,42,.05); border-radius:50%; pointer-events:none; }
.page-hero-inner { max-width:1280px; margin:0 auto; }
.ph-eyebrow { font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:12px; }
.ph-title { font-family:'Playfair Display',serif; font-size:42px; font-weight:600; color:var(--white); line-height:1.15; margin-bottom:16px; }
.ph-title em { font-style:italic; color:var(--gold-light); }
.ph-desc { color:var(--grey-mid); font-size:16px; max-width:620px; line-height:1.7; }

/* ── TICKER ── */
.ticker-bar { background:var(--navy-mid); overflow:hidden; height:38px; display:flex; align-items:center; border-bottom:1px solid rgba(184,151,42,.2); }
.ticker-label { background:var(--gold); color:var(--navy); font-size:10px; letter-spacing:.14em; text-transform:uppercase; font-weight:700; padding:0 16px; height:100%; display:flex; align-items:center; white-space:nowrap; flex-shrink:0; }
.ticker-track { display:flex; animation:ticker 30s linear infinite; white-space:nowrap; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item { display:inline-flex; align-items:center; gap:6px; padding:0 28px; color:var(--grey-mid); font-size:12px; }
.ticker-val { color:var(--white); font-weight:500; }
.ticker-up { color:#4caf88; }
.ticker-dn { color:#e05c5c; }

/* ── SECTION COMMONS ── */
section { padding:64px 40px; }
.section-inner { max-width:1280px; margin:0 auto; }
.section-header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:40px; padding-bottom:20px; border-bottom:1px solid rgba(10,22,40,.12); }
.section-eyebrow { font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:8px; font-weight:600; }
.section-title { font-family:'Playfair Display',serif; font-size:28px; font-weight:600; color:var(--navy); line-height:1.2; }
.see-all { font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); text-decoration:none; font-weight:500; display:flex; align-items:center; gap:6px; padding-bottom:4px; border-bottom:1px solid var(--gold); transition:all .2s; white-space:nowrap; }
.see-all:hover { color:var(--navy); border-bottom-color:var(--navy); }

/* ── CARDS ── */
.res-card { background:var(--white); padding:28px; display:flex; flex-direction:column; gap:10px; cursor:pointer; transition:all .25s; position:relative; overflow:hidden; border:1px solid rgba(10,22,40,.07); }
.res-card::after { content:''; position:absolute; bottom:0; left:0; width:0; height:3px; background:var(--gold); transition:width .3s; }
.res-card:hover::after { width:100%; }
.res-card:hover { background:#fefcf7; }
.res-type { font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); font-weight:600; }
.res-title { font-family:'Playfair Display',serif; font-size:17px; font-weight:600; color:var(--navy); line-height:1.35; }
.res-excerpt { font-size:13px; color:var(--grey-dark); line-height:1.65; }
.res-meta { display:flex; align-items:center; gap:10px; margin-top:auto; }
.res-author { font-size:11px; color:var(--grey-dark); font-weight:500; }
.res-date { font-size:11px; color:var(--grey-mid); opacity:.6; }
.res-sep { width:3px; height:3px; background:var(--grey-mid); border-radius:50%; opacity:.4; }
.res-tag { display:inline-block; font-size:10px; letter-spacing:.1em; text-transform:uppercase; background:var(--grey-light); color:var(--grey-dark); padding:3px 8px; border-radius:2px; margin-right:4px; }

/* ── BUTTONS ── */
.btn-primary { background:var(--gold); color:var(--navy); font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:13px 28px; text-decoration:none; transition:all .2s; display:inline-block; }
.btn-primary:hover { background:var(--gold-light); }
.btn-outline { border:1px solid var(--gold); color:var(--gold); font-size:13px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; padding:13px 28px; text-decoration:none; transition:all .2s; display:inline-block; }
.btn-outline:hover { background:var(--gold); color:var(--navy); }
.btn-outline-white { border:1px solid rgba(184,151,42,.5); color:var(--gold-light); font-size:13px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; padding:13px 28px; text-decoration:none; transition:all .2s; display:inline-block; }
.btn-outline-white:hover { border-color:var(--gold); background:rgba(184,151,42,.08); }

/* ── MACRO CARDS ── */
.macro-card { background:rgba(255,255,255,.03); padding:28px 24px; transition:background .2s; cursor:pointer; }
.macro-card:hover { background:rgba(255,255,255,.07); }
.macro-country { font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--grey-mid); opacity:.6; margin-bottom:8px; }
.macro-indicator { font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); margin-bottom:12px; font-weight:500; }
.macro-value { font-family:'Playfair Display',serif; font-size:36px; font-weight:600; color:var(--white); line-height:1; margin-bottom:8px; }
.macro-unit { font-size:14px; color:var(--grey-mid); font-weight:300; }
.macro-change { font-size:12px; display:flex; align-items:center; gap:4px; }
.change-up { color:#4caf88; }
.change-dn { color:#e05c5c; }
.macro-sparkline { margin-top:16px; height:40px; }
.macro-sparkline svg { width:100%; height:100%; }

/* ── FORECAST TABLE ── */
.forecast-box { background:rgba(255,255,255,.04); border:1px solid rgba(184,151,42,.15); padding:24px; }
.forecast-title { font-family:'Playfair Display',serif; font-size:15px; color:var(--white); margin-bottom:16px; }
.forecast-row { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.05); font-size:12px; }
.forecast-row:last-child { border-bottom:none; }
.fc-label { color:var(--grey-mid); opacity:.7; }
.fc-val { color:var(--white); font-weight:500; }

/* ── SIDEBAR WIDGET ── */
.sidebar-widget { background:var(--white); border:1px solid rgba(10,22,40,.08); padding:24px; margin-bottom:16px; }
.sw-title { font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--navy); font-weight:600; margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid var(--gold); display:inline-block; }
.tag-cloud { display:flex; flex-wrap:wrap; gap:6px; }
.tag-pill { font-size:11px; padding:5px 12px; background:var(--grey-light); color:var(--text-mid); cursor:pointer; transition:all .2s; border:1px solid transparent; }
.tag-pill:hover { background:var(--navy); color:var(--gold-light); }
.region-item { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid rgba(10,22,40,.05); cursor:pointer; font-size:13px; color:var(--text-mid); transition:color .2s; }
.region-item:hover { color:var(--gold); }
.region-count { font-size:11px; color:var(--grey-mid); background:var(--grey-light); padding:2px 8px; border-radius:10px; }

/* ── NEWSLETTER STRIP ── */
.newsletter { background:var(--gold); padding:48px 40px; }
.newsletter-inner { max-width:1280px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:40px; }
.nl-eyebrow { font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--navy); opacity:.6; font-weight:600; margin-bottom:8px; }
.nl-title { font-family:'Playfair Display',serif; font-size:24px; color:var(--navy); font-weight:600; line-height:1.3; }
.nl-form { display:flex; gap:0; flex-shrink:0; }
.nl-input { width:280px; padding:13px 18px; border:none; background:rgba(10,22,40,.1); color:var(--navy); font-family:'DM Sans',sans-serif; font-size:13px; outline:none; }
.nl-input::placeholder { color:rgba(10,22,40,.4); }
.nl-btn { background:var(--navy); color:var(--gold-light); border:none; padding:13px 24px; font-size:12px; letter-spacing:.1em; text-transform:uppercase; font-weight:600; cursor:pointer; font-family:'DM Sans',sans-serif; transition:background .2s; }
.nl-btn:hover { background:var(--navy-light); }

/* ── FOOTER ── */
footer { background:#060e1c; padding:56px 40px 28px; }
.footer-inner { max-width:1280px; margin:0 auto; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.06); }
.footer-logo-name { font-family:'Playfair Display',serif; font-size:18px; color:var(--white); font-weight:600; margin-bottom:4px; }
.footer-logo-sub { font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
.footer-tagline { font-style:italic; font-family:'Cormorant Garamond',serif; font-size:14px; color:var(--grey-mid); opacity:.6; line-height:1.6; margin-bottom:18px; }
.footer-contact { font-size:12px; color:var(--grey-mid); opacity:.5; line-height:1.8; }
.footer-col-title { font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:16px; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:13px; color:var(--grey-mid); text-decoration:none; opacity:.6; transition:opacity .2s; }
.footer-links a:hover { opacity:1; color:var(--gold-light); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; }
.footer-copy { font-size:11px; color:var(--grey-mid); opacity:.35; }
.footer-legal { display:flex; gap:20px; }
.footer-legal a { font-size:11px; color:var(--grey-mid); opacity:.35; text-decoration:none; }
.footer-legal a:hover { opacity:.7; }

/* ── ANIMATIONS ── */
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  section{padding:48px 24px}
  .header-inner,.top-strip,.page-hero,.newsletter{padding-left:24px;padding-right:24px}
  nav{display:none}
  .ph-title{font-size:30px}
  .newsletter-inner{flex-direction:column}
  .nl-form{flex-direction:column;width:100%}
  .nl-input{width:100%}
  .footer-grid{grid-template-columns:1fr}
}
