/* ============================================================
   The MP Capital — Private Office
   Design tokens — White & Royal Blue
   ============================================================ */
:root {
  --royal-950: #050f36;
  --royal-900: #0d1f66;
  --royal-800: #17318f;
  --royal-700: #2748b3;
  --royal-500: #4169e1;
  --royal-400: #86a3f2;
  --frost-050: #f6f8ff;
  --frost-100: #eef2ff;
  --ink-900: #1b1d22;
  --ink-600: #565b66;
  --ink-400: #8b8f99;
  --white: #ffffff;

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

  --max-width: 1200px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 140px;

  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-600);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--royal-900);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
}
p { margin: 0 0 var(--space-2); }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
section { padding: var(--space-6) 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-500);
  margin-bottom: var(--space-2);
}
.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--royal-800);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--royal-800);
}
.btn:hover { background: var(--royal-800); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--royal-900); }
.btn-accent { border-color: var(--royal-500); background: var(--royal-500); color: var(--white); }
.btn-accent:hover { background: transparent; color: var(--royal-400); border-color: var(--royal-400); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--space-2) 0;
  transition: var(--transition);
  background: transparent;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(5, 15, 54, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
  padding: var(--space-1) 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand span { color: var(--royal-400); }
.logo-mark { width: 72px; height: 72px; border-radius: 14px; display: block; }
.footer-brand .logo-mark { width: 92px; height: 92px; margin-bottom: var(--space-2); }
.main-nav ul { display: flex; gap: var(--space-4); align-items: center; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--royal-400);
  transition: var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--white); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 24px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-toggle span { top: 11px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* Page (non-home) header needs a solid bg since there's no dark hero right under it */
body:not(.home) .site-header { background: var(--royal-950); }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(5,15,54,0.82) 0%, rgba(5,15,54,0.55) 40%, rgba(13,31,102,0.32) 68%, rgba(65,105,225,0.15) 100%),
    url("../images/main-slider-img.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 60px);
  pointer-events: none;
}
.hero-content { max-width: 760px; position: relative; z-index: 1; }
.hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.hero-attribution {
  font-size: 1rem;
  color: var(--royal-400);
  margin-bottom: var(--space-4);
}
.hero-tagline {
  font-size: 1.15rem;
  max-width: 560px;
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--space-4);
}
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(rgba(255,255,255,0.6), transparent);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 0; left: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--royal-400);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: 0; opacity: 1; }
  100% { top: 55px; opacity: 0; }
}

/* Page hero (interior pages) */
.page-hero {
  padding: 200px 0 var(--space-5);
  background: linear-gradient(160deg, var(--royal-950), var(--royal-800));
  color: var(--white);
  text-align: center;
}
.page-hero .eyebrow { color: var(--royal-400); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.2rem); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }

/* ============================================================
   Intro / statement section
   ============================================================ */
.statement {
  text-align: center;
  background: var(--white);
}
.statement h2 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 500;
  color: var(--royal-800);
  line-height: 1.55;
}

/* ============================================================
   Services grid
   ============================================================ */
.services {
  background:
    linear-gradient(160deg, rgba(5,15,54,0.92), rgba(13,31,102,0.88)),
    url("../images/home-services-bg.jpg") center / cover no-repeat;
  color: rgba(255,255,255,0.75);
}
.services .section-head h2 { color: var(--white); }
.services .section-head p { color: rgba(255,255,255,0.65); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  padding: var(--space-5) var(--space-3);
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
  position: relative;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: rgba(255,255,255,0.05); }
.service-card .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--royal-400);
  margin-bottom: var(--space-2);
  display: block;
}
.service-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}
.service-card p { font-size: 0.92rem; margin-bottom: var(--space-2); }
.service-card .link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--royal-400);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .link::after { content: "\2192"; transition: var(--transition); }
.service-card:hover .link::after { transform: translateX(4px); }

/* ============================================================
   Philosophy / mission split rows
   ============================================================ */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-5);
}
.split-row + .split-row { margin-top: var(--space-6); }
.split-media {
  height: 420px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}
.split-media.philosophy { background-image: url("../images/sailing-philosophy.svg"); }
.split-media.mission { background-image: url("../images/sailing-mission.svg"); }
.split-media.philosophy-photo { background-image: url("../images/philosophy.jpg"); background-position: 60% center; }
.split-media.mission-photo { background-image: url("../images/mission.jpg"); background-position: 62% center; }
.split-text .eyebrow { color: var(--royal-500); }
.split-text h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
@media (min-width: 769px) {
  .split-row.reverse .split-media { order: 2; }
  .split-row.reverse .split-text { order: 1; }
}

/* ============================================================
   Stats strip
   ============================================================ */
.stats { background: var(--frost-100); }
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.stat h3 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--royal-500);
  margin-bottom: 4px;
}
.stat p {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-600);
  margin: 0;
}

/* ============================================================
   Insights preview cards
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.insight-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--frost-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.insight-card:hover { box-shadow: 0 20px 40px rgba(13,31,102,0.1); transform: translateY(-4px); }
.insight-media {
  height: 190px;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(140deg, var(--royal-700), var(--royal-500));
}
.insight-body { padding: var(--space-3); }
.insight-date {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal-500);
}
.insight-body h3 { font-size: 1.15rem; margin: var(--space-1) 0; transition: var(--transition); }
.insight-card:hover .insight-body h3 { color: var(--royal-500); }
.insight-body p { font-size: 0.92rem; margin-bottom: var(--space-2); }
.read-more {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--royal-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.read-more::after { content: "\2192"; transition: var(--transition); }
.insight-card:hover .read-more::after { transform: translateX(4px); }

/* ============================================================
   Live news feed (Insights page) — reuses .insights-grid/.insight-card
   ============================================================ */
.news-loading,
.news-error {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-400);
}
.news-error a { color: var(--royal-500); font-weight: 600; }
.insight-media { position: relative; display: flex; align-items: center; justify-content: center; }
.insight-media-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.94);
  text-align: center;
  padding: 0 20px;
}
.news-attribution { text-align: center; font-size: 0.8rem; color: var(--ink-400); margin-top: var(--space-3); margin-bottom: 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: linear-gradient(160deg, var(--royal-900), var(--royal-700));
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 auto var(--space-3); }

/* ============================================================
   Values grid (about page)
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.value-card {
  background: var(--frost-050);
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius);
  border-top: 3px solid var(--royal-500);
}
.value-card h3 { font-size: 1.2rem; }
.value-card p { font-size: 0.94rem; margin-bottom: 0; }

/* Signature block */
.signature { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); }
.signature-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--royal-800);
  color: var(--royal-400);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.signature-name { font-weight: 600; color: var(--royal-900); }
.signature-role { font-size: 0.85rem; color: var(--ink-400); }

/* ============================================================
   Services detail sections
   ============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-3);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--frost-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail .num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--royal-500);
}
.service-detail h2 { margin-bottom: var(--space-2); }
.service-detail ul { margin-top: var(--space-2); }
.service-detail li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.service-detail li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--royal-500);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-5);
}
.contact-info h3 { font-size: 1.1rem; margin-top: var(--space-4); }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field { margin-bottom: var(--space-2); }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-600);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7deF7;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink-900);
  transition: var(--transition);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal-500);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.8rem; color: var(--ink-400); margin-top: var(--space-2); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--royal-950);
  color: rgba(255,255,255,0.6);
  padding: var(--space-5) 0 var(--space-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand { display: block; margin-bottom: var(--space-2); }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  margin-bottom: var(--space-2);
}
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--royal-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.footer-bottom .socials { display: flex; gap: var(--space-2); }
.footer-bottom .socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}
.footer-bottom .socials a:hover { border-color: var(--royal-400); color: var(--royal-400); }

/* ============================================================
   Utility animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-right: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); }
  .service-card:nth-child(2n) { border-right: none; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
@media (max-width: 768px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: min(320px, 80vw); height: 100vh;
    background: var(--royal-950); padding: 100px var(--space-3) var(--space-3); transition: var(--transition); }
  .main-nav.is-open { right: 0; box-shadow: -20px 0 40px rgba(0,0,0,0.3); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .nav-toggle { display: block; }
  .split-row { grid-template-columns: 1fr; }
  .split-row.reverse .split-media,
  .split-row.reverse .split-text { order: initial; }
  .split-media { height: 280px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
  .insights-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .service-detail { grid-template-columns: 1fr; }
}

/* ============================================================
   Our Commentary (Insights page) and single articles
   ============================================================ */
.news-section { background: var(--frost-100); }
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-4);
}
.pagination .page-numbers {
  min-width: 42px;
  padding: 10px 14px;
  border: 1px solid var(--frost-100);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--royal-800);
  background: var(--white);
  transition: var(--transition);
}
.pagination a.page-numbers:hover { border-color: var(--royal-500); color: var(--royal-500); }
.pagination .page-numbers.current { background: var(--royal-800); border-color: var(--royal-800); color: var(--white); }
.pagination .page-numbers.dots { border: none; background: none; }

.article-hero { background-size: cover; background-position: center; }
.article-hero h1 { max-width: 820px; margin-left: auto; margin-right: auto; }
.article-body { max-width: 760px; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2, .article-body h3 { margin-top: 1.6em; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li + li { margin-top: 0.4em; }
.article-back { margin-top: var(--space-5) !important; text-align: center; }

/* ============================================================
   Team (About page)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  max-width: 1000px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-photo {
  display: block;
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: center 25%;
  margin: 0 auto var(--space-3);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(13,31,102,0.12);
}
.team-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal-500);
  margin-bottom: var(--space-2) !important;
}
.team-card p { text-align: left; font-size: 0.95rem; }
.team-card p + p { margin-top: 0.8em; }
.team-card .team-role { text-align: center; }
.team-card .team-role + p { margin-top: 0; }
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* Contact form: hidden spam trap and status messages */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-status {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-bottom: var(--space-2);
}
.form-status.is-success { background: #e8f6ee; color: #1b5e3b; border: 1px solid #b9e2c9; }
.form-status.is-error { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c2c2; }
.form-status a { color: inherit; text-decoration: underline; }
.contact-form button[disabled] { opacity: 0.7; cursor: wait; }

/* Market ticker strip (Insights page) */
.market-strip { position: relative; }
.market-strip-inner {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--frost-100);
  box-shadow: 0 10px 30px rgba(13,31,102,0.06);
}
.market-strip .tradingview-widget-container { min-height: 72px; }
.market-strip-note {
  margin: 0;
  padding: 0 16px 8px;
  text-align: right;
  font-size: 0.7rem;
  color: var(--ink-400);
}
.market-strip-note a { color: inherit; text-decoration: underline; }
.market-strip-close { display: none; }

/* Pinned to the bottom of the screen once scrolled past */
.market-strip.is-docked .market-strip-inner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  border-top: 1px solid var(--frost-100);
  border-bottom: none;
  box-shadow: 0 -10px 30px rgba(13,31,102,0.12);
  animation: mp-strip-up 0.3s ease;
}
.market-strip.is-docked .market-strip-note { display: none; }
.market-strip.is-docked .market-strip-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -14px;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--frost-100);
  border-radius: 50%;
  background: var(--white);
  color: var(--royal-800);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13,31,102,0.15);
}
.market-strip.is-docked .market-strip-close:hover { color: var(--royal-500); }
body.has-docked-strip { padding-bottom: 76px; }
@keyframes mp-strip-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .market-strip.is-docked .market-strip-inner { animation: none; }
}

/* News cards with a publisher photo */
.insight-media.has-photo { align-items: flex-end; justify-content: flex-start; background-color: var(--royal-900); }
.insight-media.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,15,54,0.55), rgba(5,15,54,0) 55%);
}
.insight-source {
  position: relative;
  z-index: 1;
  margin: 0 0 12px 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--royal-900);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
