/* Capital Pioneer — website stylesheet
   Palette from the capio-brand working palette. Do not retype values elsewhere. */
:root {
  --navy: #252A45;
  --ink: #191D33;
  --red: #BB2535;
  --red-bright: #D22F42;
  --red-light: #F0687E;
  --body: #4A4F63;
  --muted: #8A8FA3;
  --light-muted: #A6ABBF;
  --tint: #F4F5F9;
  --line: #E3E5EE;
  --ice: #C9D2E8;
  --panel: #232840;
  --white: #FFFFFF;

  --wrap: 1280px;
  --gutter: 24px;
  --radius: 3px;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font: 16px/1.5 var(--font);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Eyebrows & headings ---------- */
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--red-light); }
.headline {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.18;
  margin: 6px 0 0;
  /* Headlines are capped at 9 words in the CMS; clamp guards the layout regardless */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.story:hover .headline, .story:focus-visible .headline { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.meta { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.meta .sec { color: var(--navy); font-weight: 700; }

/* ---------- Events bar (very top) ---------- */
.eventbar { background: var(--ink); color: var(--ice); font-size: 13px; }
.eventbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 38px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.eventbar .wrap::-webkit-scrollbar { display: none; }
.eventbar .label { color: var(--red-light); font-weight: 700; letter-spacing: .14em; font-size: 11px; text-transform: uppercase; }
.eventbar a { color: var(--white); font-weight: 700; }
.eventbar a:hover { color: var(--red-light); }
.eventbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); flex: none; }

/* ---------- Masthead ---------- */
.masthead { background: var(--navy); color: var(--ice); }
.masthead .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 22px;
}
.masthead .logo img { width: min(640px, 52vw); height: auto; }
.masthead .left { font-size: 13px; line-height: 1.5; }
.masthead .left strong { display: block; color: var(--white); font-size: 13px; }
.masthead .right { display: flex; justify-content: flex-end; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-bright); }
.btn-ghost { border-color: rgba(201,210,232,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); }

/* ---------- Primary navigation ---------- */
.nav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav a {
  position: relative; padding: 16px 18px;
  color: var(--navy); font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.nav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: transparent; }
.nav a:hover::after { background: var(--line); }
.nav a[aria-current="page"]::after { background: var(--red); }
.nav .mini-logo { display: none; margin-right: auto; }
.nav.stuck .mini-logo { display: block; }
.nav .mini-logo img { width: 170px; }

/* ---------- Top grid ---------- */
.frontpage { padding: 24px 0 10px; }
.topgrid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,1.25fr) minmax(0,1fr);
  gap: 0;
}
.topgrid > .col { padding: 0 24px; }
.topgrid > .col:first-child { padding-left: 0; }
.topgrid > .col:last-child { padding-right: 0; }
.topgrid > .col + .col { border-left: 1px solid var(--line); }

.thumb { position: relative; overflow: hidden; background: var(--tint); border-radius: var(--radius); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.story:hover .thumb img { transform: scale(1.03); }

.lead .thumb { aspect-ratio: 16 / 9; }
.lead .headline { font-size: 30px; margin-top: 10px; }
.lead .standfirst { font-size: 16.5px; margin: 10px 0 0; color: var(--body); }
.lead .eyebrow { margin-top: 14px; }

.video-box { background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.video-box video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); }
.video-box .cap { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; color: var(--ice); font-size: 12.5px; }
.video-box .cap .eyebrow { color: var(--red-light); font-size: 10.5px; }
.video-box .live { display: inline-flex; align-items: center; gap: 6px; }
.video-box .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); }
.sound-toggle { background: none; border: 1px solid rgba(201,210,232,.4); color: var(--white); border-radius: var(--radius); padding: 4px 10px; font: 700 11.5px var(--font); cursor: pointer; }
.sound-toggle:hover { border-color: var(--white); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.card .thumb { aspect-ratio: 3 / 2; }
.card .eyebrow { margin-top: 12px; font-size: 10.5px; }
.card .headline { font-size: 17px; }

.stack .story { display: grid; grid-template-columns: 1fr 104px; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stack .story:first-child { padding-top: 0; }
.stack .story:last-child { border-bottom: 0; }
.stack .thumb { aspect-ratio: 1 / 1; }
.stack .eyebrow { font-size: 10.5px; }
.stack .headline { font-size: 16px; margin-top: 4px; }
.stack .meta { margin-top: 6px; }

.col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.col-head::after { content: ""; flex: 1; height: 1px; background: var(--navy); }
.col-head h2 { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }

/* ---------- Events band ---------- */
.events-band { background: var(--ink); color: var(--ice); padding: 54px 0 60px; margin-top: 44px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 6px 0 0; font-size: 30px; line-height: 1.15; color: var(--navy); letter-spacing: -.01em; }
.events-band .section-head h2 { color: var(--white); }
.section-head .more { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.section-head .more:hover { color: var(--red); }
.events-band .section-head .more { color: var(--white); }
.events-band .section-head .more:hover { color: var(--red-light); }
.section-head p { margin: 8px 0 0; max-width: 620px; }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event { background: var(--panel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.event .thumb { aspect-ratio: 16 / 10; border-radius: 0; background: var(--ink); }
.event .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.event .where { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--ice); margin-top: 6px; }
.event .where span + span::before { content: "·"; margin-right: 10px; color: var(--muted); }
.event h3 { margin: 10px 0 0; color: var(--white); font-size: 22px; line-height: 1.2; }
.event p { margin: 10px 0 18px; font-size: 14.5px; color: var(--ice); }
.event .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Section rows ---------- */
.row-section { padding: 54px 0 10px; }
.row-section + .row-section { border-top: 1px solid var(--line); margin-top: 40px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid4 .card .headline { font-size: 18px; }
.grid4 .standfirst { font-size: 14px; margin: 8px 0 0; color: var(--body);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

/* ---------- Video row ---------- */
.video-section { background: var(--tint); padding: 54px 0 60px; margin-top: 54px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.play {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(25,29,51,.85); color: var(--white); border-radius: 30px; padding: 6px 12px 6px 6px;
  font-size: 12px; font-weight: 700;
}
.play i { width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.play i::before { content: ""; border-left: 9px solid var(--white); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* ---------- Magazine promo ---------- */
.magazine { padding: 60px 0; }
.mag-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; background: var(--tint); border-radius: var(--radius); padding: 44px 52px; }
.covers { position: relative; height: 340px; }
.covers img { position: absolute; width: 210px; border-radius: 2px; box-shadow: 0 18px 34px rgba(25,29,51,.28); }
.covers img:first-child { left: 8%; top: 22px; transform: rotate(-4deg); }
.covers img:last-child { left: 38%; top: 0; transform: rotate(3deg); }
.mag-inner h2 { margin: 8px 0 12px; color: var(--navy); font-size: 30px; line-height: 1.15; }
.mag-inner p { margin: 0 0 22px; }

/* ---------- Section page & article ---------- */
.page-head { background: var(--navy); color: var(--ice); padding: 46px 0 40px; }
.page-head h1 { margin: 8px 0 0; color: var(--white); font-size: 40px; line-height: 1.1; letter-spacing: -.01em; }
.page-head p { margin: 12px 0 0; max-width: 680px; font-size: 17px; }
.section-lead { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; padding: 40px 0 10px; align-items: start; }
.section-lead .lead .headline { font-size: 34px; }
.list-grid { padding: 30px 0 60px; }

.article { max-width: 760px; margin: 0 auto; padding: 46px var(--gutter) 70px; }
.article h1 { color: var(--navy); font-size: 40px; line-height: 1.12; letter-spacing: -.01em; margin: 10px 0 0; }
.article .standfirst { font-size: 20px; line-height: 1.45; margin: 16px 0 0; color: var(--body); }
.article .byline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 22px 0; font-size: 13.5px; color: var(--muted); }
.article .byline strong { color: var(--navy); }
.article figure { margin: 0 0 28px; }
.article figure img { width: 100%; border-radius: var(--radius); }
.article figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.article .copy p { font-size: 17.5px; line-height: 1.65; margin: 0 0 20px; }
.notice { background: var(--tint); border-left: 3px solid var(--red); padding: 14px 18px; font-size: 14px; border-radius: var(--radius); }

.event-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 50px 0; border-bottom: 1px solid var(--line); align-items: center; scroll-margin-top: 70px; }
.event-detail:nth-child(even) .thumb { order: 2; }
.event-detail .thumb { aspect-ratio: 16 / 10; }
.event-detail h2 { margin: 8px 0 0; color: var(--navy); font-size: 32px; line-height: 1.15; }
.event-detail .facts { display: flex; gap: 28px; margin: 18px 0 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-detail .facts div { font-size: 14px; }
.event-detail .facts b { display: block; color: var(--navy); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--ice); padding: 50px 0 26px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer .stacked { width: 170px; margin-bottom: 16px; }
.footer h4 { margin: 0 0 12px; color: var(--white); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a:hover { color: var(--white); }
.footer .legal { border-top: 1px solid rgba(201,210,232,.18); margin-top: 38px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--light-muted); font-size: 12.5px; }

/* ---------- Loading / empty ---------- */
.skeleton { background: linear-gradient(90deg, var(--tint), #ebedf3, var(--tint)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .topgrid { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); row-gap: 30px; }
  .topgrid > .col:nth-child(2) { padding-right: 0; }
  .topgrid > .col:last-child { grid-column: 1 / -1; padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .stack { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .stack .story:first-child, .stack .story { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --gutter: 16px; }
  .masthead .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 24px; padding-bottom: 22px; gap: 16px; }
  .masthead .logo { order: -1; }
  .masthead .logo img { width: min(560px, 100%); margin: 0 auto; }
  .masthead .right { justify-content: center; }
  .masthead .left { display: none; }
  .nav .wrap { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .nav .wrap::-webkit-scrollbar { display: none; }
  .nav a { padding: 14px 12px; font-size: 12.5px; white-space: nowrap; }
  .nav a::after { left: 12px; right: 12px; }
  .nav.stuck .mini-logo { display: none; }
  .topgrid { grid-template-columns: minmax(0,1fr); }
  .topgrid > .col { padding: 0 !important; border-left: 0 !important; }
  .topgrid > .col + .col { border-top: 1px solid var(--line); padding-top: 26px !important; }
  .lead .headline { font-size: 26px; }
  .stack { grid-template-columns: 1fr; }
  .event-grid, .grid3 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 25px; }
  .mag-inner { grid-template-columns: 1fr; padding: 30px 22px; gap: 20px; }
  .covers { height: 280px; }
  .covers img { width: 170px; }
  .section-lead, .event-detail { grid-template-columns: 1fr; gap: 20px; }
  .event-detail:nth-child(even) .thumb { order: 0; }
  .page-head h1, .article h1 { font-size: 30px; }
}
@media (max-width: 520px) {
  .grid4, .pair { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .thumb img { transition: none; }
  .skeleton { animation: none; }
}

/* YouTube embed in the homepage video box */
.video-box .yt { position: relative; aspect-ratio: 16 / 9; background: var(--ink) url("../../media/video-poster.jpg") center / cover; }
.video-box .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-box .cap > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left: 12px; }
.pair .headline { font-size: 16px; -webkit-line-clamp: 4; }
.video-box .cap .eyebrow { white-space: nowrap; }
.grid4 > *, .grid3 > *, .pair > *, .event-grid > * { min-width: 0; }
.video-box .cap > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 12px; }

/* Short laptop screens: keep the main headline above the fold */
@media (min-width: 821px) and (max-height: 820px) {
  .masthead .logo img { width: min(560px, 46vw); }
  .masthead .wrap { padding-top: 20px; padding-bottom: 18px; }
  .lead .thumb { aspect-ratio: 2 / 1; }
}

/* ---------- Logo colourway switching ---------- */
.logo .for-light, .mini-logo .for-dark { display: none; }
.inverted .logo .for-dark, .inverted .mini-logo .for-light { display: none; }
.inverted .logo .for-light, .inverted .mini-logo .for-dark { display: block; }
.mini-logo img { width: 170px; }

/* ---------- Section pages: inverted CAPIO palette ----------
   Homepage = white page under a navy masthead.
   Sections = navy page under a white masthead. */
body.inverted { background: var(--ink); color: var(--ice); }
.inverted .masthead { background: var(--white); color: var(--body); border-bottom: 1px solid var(--line); }
.inverted .masthead .left strong { color: var(--navy); }
.inverted .btn-ghost { border-color: var(--line); color: var(--navy); }
.inverted .btn-ghost:hover { border-color: var(--navy); }
.inverted .nav { background: var(--navy); border-bottom: 0; }
.inverted .nav a { color: var(--white); }
.inverted .nav a:hover::after { background: rgba(201,210,232,.35); }
.inverted .nav a[aria-current="page"]::after { background: var(--red-bright); }
.inverted .eyebrow { color: var(--red-light); }
.inverted .headline, .inverted .col-head h2, .inverted .col-head h1 { color: var(--white); }
.inverted .col-head::after { background: rgba(201,210,232,.35); }
.inverted .standfirst { color: var(--ice) !important; }
.inverted .meta { color: var(--light-muted); }
.inverted .thumb { background: var(--panel); }
.inverted .stack .story { border-bottom-color: rgba(201,210,232,.16); }
.inverted .footer { border-top: 1px solid rgba(201,210,232,.16); }
.inverted .video-box { background: var(--panel); }

.section-page { padding: 30px 0 60px; }
.section-title { margin-bottom: 22px; }
.section-title h1 { margin: 0; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; }

.row6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.row6 .card .thumb { aspect-ratio: 4 / 3; }
.row6 .card .headline { font-size: 15.5px; margin-top: 10px; -webkit-line-clamp: 4; }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 40px 0 46px;
  padding: 34px 0;
  border-top: 1px solid rgba(201,210,232,.16);
  border-bottom: 1px solid rgba(201,210,232,.16);
}
.feature-row .stack .story { grid-template-columns: 1fr 88px; }
#section-more .grid4 .card .headline { font-size: 17px; }

@media (max-width: 1100px) {
  .row6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .feature-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature-row .feature-video { grid-column: 1 / -1; order: -1; }
  .feature-row .stack { display: block; }
}
@media (max-width: 820px) {
  .row6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; row-gap: 24px; }
  .feature-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .inverted .masthead .wrap { padding-top: 20px; padding-bottom: 18px; }
}
.section-page .stack .eyebrow { display: none; }
.section-page .stack .headline { -webkit-line-clamp: 4; margin-top: 0; }

/* ---------- "by Rhotic" credit under the masthead ---------- */
.brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.by-rhotic { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; color: var(--ice); }
.by-rhotic img { width: auto; }
.by-rhotic .rhotic { height: 19px; }
.by-rhotic .kings { height: 38px; }
.by-rhotic .sep { width: 1px; height: 26px; background: rgba(201,210,232,.35); }
.by-rhotic .for-light { display: none; }
.inverted .by-rhotic { color: var(--body); }
.inverted .by-rhotic .for-dark { display: none; }
.inverted .by-rhotic .for-light { display: block; }
.inverted .by-rhotic .sep { background: var(--line); }
@media (min-width: 821px) and (max-height: 820px) {
  .brand { gap: 9px; }
  .by-rhotic .rhotic { height: 16px; }
  .by-rhotic .kings { height: 32px; }
}
@media (max-width: 820px) {
  .brand { order: -1; }
  .by-rhotic .rhotic { height: 16px; }
  .by-rhotic .kings { height: 32px; }
}
@media (min-width: 821px) and (max-height: 820px) {
  .masthead .logo img { width: min(500px, 42vw); }
  .masthead .wrap { padding-top: 16px; padding-bottom: 14px; }
  .lead .thumb { aspect-ratio: 2.25 / 1; }
  .frontpage { padding-top: 20px; }
}

/* ---------- Headlines: two decks (lines) maximum, everywhere ---------- */
.headline, .pair .headline, .row6 .card .headline, .section-page .stack .headline { -webkit-line-clamp: 2; }
.lead .headline { font-size: 27px; }
.section-lead .lead .headline { font-size: 27px; }
.pair .headline { font-size: 15px; }
.stack .headline { font-size: 15px; }
.row6 .card .headline { font-size: 14px; line-height: 1.22; }
.grid4 .card .headline, #section-more .grid4 .card .headline { font-size: 16px; }
.grid3 .card .headline { font-size: 17px; }

/* Wider measures so nine-word headlines fit in two decks */
.topgrid { grid-template-columns: minmax(0,1.3fr) minmax(0,1.2fr) minmax(0,1.1fr); }
.pair { display: block; margin-top: 18px; }
.pair .story { grid-template-columns: 1fr 120px; }
.stack .story { grid-template-columns: 1fr 84px; gap: 12px; }
.section-page .wrap { max-width: 1440px; }
.row6 { gap: 16px; }
.row6 .card .headline { font-size: 14.5px; }
.feature-row { grid-template-columns: minmax(0,1.2fr) minmax(0,1.6fr) minmax(0,1.2fr); }
.feature-row .stack .story { grid-template-columns: 1fr 76px; }
@media (max-width: 1100px) {
  .topgrid { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
}
@media (max-width: 820px) {
  .topgrid { grid-template-columns: minmax(0,1fr); }
  .lead .headline { font-size: 23px; }
}
@media (max-width: 600px) {
  /* six-across row becomes picture + headline rows on phones */
  .row6 { grid-template-columns: minmax(0,1fr); gap: 0; row-gap: 0; }
  .row6 .card { display: grid; grid-template-columns: 1fr 110px; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(201,210,232,.16); align-items: start; }
  .row6 .card .thumb { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 1 / 1; }
  .row6 .card .headline { grid-column: 1; grid-row: 1; margin-top: 0; font-size: 15.5px; }
  .row6 .card .meta { grid-column: 1; grid-row: 2; }
  .pair .story { grid-template-columns: 1fr 96px; }
}
@media (max-width: 1299px) {
  /* six across needs ~1300px to keep headlines to two decks at a readable size */
  .row6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .row6 .card .headline { font-size: 16px; }
}
@media (max-width: 1100px) {
  .feature-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .feature-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .row6 { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .row6 .card .headline { font-size: 15.5px; }
}
.pair .story { display: grid; grid-template-columns: minmax(0,1fr) 120px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pair .story:last-child { border-bottom: 0; padding-bottom: 0; }
.pair .story .thumb { aspect-ratio: 3 / 2; }
.pair .eyebrow { font-size: 10.5px; }
.pair .headline { margin-top: 4px; }
.pair .meta { margin-top: 6px; }
@media (max-width: 600px) { .pair .story { grid-template-columns: minmax(0,1fr) 96px; } }

/* =========================================================
   EVENTS — hub and single-event pages
   ========================================================= */
.eventbar em { font-style: normal; font-weight: 400; color: var(--ice); margin-left: 6px; }
.footer li { overflow-wrap: anywhere; }

.events-main .eyebrow { display: block; }
.lede { font-size: 19px; line-height: 1.5; color: var(--body); max-width: 760px; }
.small-note { font-size: 12.5px; color: var(--muted); margin: 18px 0 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* Date chip on event cards */
.event .thumb { position: relative; }
.datechip {
  position: absolute; left: 14px; top: 14px;
  background: var(--red); color: var(--white); border-radius: var(--radius);
  padding: 6px 10px 7px; text-align: center; line-height: 1;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.datechip b { display: block; font-size: 24px; letter-spacing: 0; margin-bottom: 3px; }
.event-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Hub */
.ev-intro { padding: 54px 0 34px; }
.ev-intro h1 { margin: 10px 0 0; color: var(--navy); font-size: 44px; line-height: 1.08; letter-spacing: -.015em; max-width: 820px; text-wrap: balance; }
.ev-intro .lede { margin: 18px 0 0; }
.ev-calendar { background: var(--ink); padding: 44px 0 50px; }
.ev-why { padding: 60px 0 20px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pillar { background: var(--tint); border-radius: var(--radius); padding: 22px 22px 24px; }
.pillar h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; line-height: 1.25; }
.pillar p { margin: 0; font-size: 14.5px; }
.pillar::before { content: ""; display: block; width: 26px; height: 3px; background: var(--red); margin-bottom: 14px; }
.ev-record { padding: 50px 0 64px; }
.timeline { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.timeline li { position: relative; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); }
.timeline li.now::before { background: var(--red); }
.timeline .when { display: block; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.timeline b { display: block; color: var(--navy); font-size: 16px; line-height: 1.2; margin-bottom: 4px; }
.timeline.horizontal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline.horizontal li span:last-child { color: var(--navy); font-weight: 700; font-size: 15px; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--white); }
.feedback { background: var(--ink); color: var(--ice); border-radius: var(--radius); padding: 30px 32px; }
.feedback ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.feedback li { padding-left: 20px; position: relative; font-size: 15px; }
.feedback li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; background: var(--red-bright); }
.feedback b { color: var(--white); }

/* Contact band */
.ev-contact { background: var(--navy); color: var(--ice); padding: 50px 0; }
.ev-contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: start; }
.ev-contact h2 { margin: 8px 0 10px; color: var(--white); font-size: 28px; line-height: 1.15; }
.ev-contact p { margin: 0; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { border-left: 1px solid rgba(201,210,232,.25); padding-left: 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.person h3 { margin: 0; color: var(--white); font-size: 19px; }
.person .eyebrow { margin-bottom: 6px; }
.person a { color: var(--white); font-size: 14.5px; overflow-wrap: anywhere; }
.person a:hover { color: var(--red-light); }

/* Single event: hero */
.ev-hero {
  position: relative; color: var(--white);
  background: linear-gradient(rgba(25,29,51,.62), rgba(25,29,51,.62)), linear-gradient(180deg, rgba(25,29,51,0) 45%, rgba(25,29,51,.85)), var(--hero) center / cover no-repeat, var(--ink);
  padding: 120px 0 54px;
}
.ev-hero .eyebrow { color: var(--red-light); }
.ev-hero h1 { margin: 10px 0 0; font-size: 56px; line-height: 1.02; letter-spacing: -.02em; max-width: 900px; text-wrap: balance; }
.ev-hero .lede { color: #D5DAEA; margin: 16px 0 0; font-size: 21px; }
.ev-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.ev-facts { background: var(--ink); padding: 26px 0 30px; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts-row div { border-left: 2px solid var(--red-bright); padding-left: 16px; }
.facts-row b { display: block; color: var(--white); font-size: 32px; line-height: 1.1; letter-spacing: -.01em; }
.facts-row span { display: block; color: var(--ice); font-size: 13.5px; margin-top: 4px; }

.ev-about { padding: 60px 0; }
.ev-about .lede { margin: 10px 0 18px; color: var(--navy); font-weight: 700; font-size: 20px; }
.ev-about p { font-size: 16.5px; line-height: 1.6; margin: 0 0 16px; }
.ev-meta { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.ev-meta div { display: contents; }
.ev-meta dt, .ev-meta dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.ev-meta dt { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-right: 28px; padding-top: 15px; }
.ev-meta dd { color: var(--navy); font-weight: 700; }
.ev-figure { margin: 0; }
.ev-figure img, .venue-grid img, .gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.ev-figure img { aspect-ratio: 4 / 3; }
figcaption { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.ev-contrast { padding: 0 0 60px; }
.contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cbox { background: var(--tint); border-radius: var(--radius); padding: 26px 28px; }
.cbox.on-dark { background: var(--ink); color: var(--ice); }
.cbox h3 { margin: 8px 0 14px; font-size: 22px; color: var(--navy); }
.cbox.on-dark h3 { color: var(--white); }
.cbox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cbox li { position: relative; padding-left: 18px; font-size: 15px; }
.cbox li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--red-bright); }

.ev-sessions { background: var(--tint); padding: 60px 0; }
.sessions { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; background: var(--white); border-radius: var(--radius); }
.sessions li { counter-increment: s; display: grid; grid-template-columns: 72px 1fr; column-gap: 8px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.sessions li:last-child { border-bottom: 0; }
.sessions li::before { content: counter(s, decimal-leading-zero); grid-row: 1 / span 3; color: var(--navy); font-size: 34px; font-weight: 700; line-height: 1; }
.sessions h3 { margin: 4px 0 6px; color: var(--navy); font-size: 20px; line-height: 1.25; }
.sessions p { margin: 0; font-size: 15px; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.extras .pillar { background: var(--white); }

.ev-venue { padding: 60px 0; }
.venue-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 16px; align-items: start; }
.venue-grid figure { margin: 0; }
.venue-grid img { aspect-ratio: 4 / 3; }
.venue-facts { margin: 0; display: grid; gap: 18px; }
.venue-facts dt { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.venue-facts dd { margin: 4px 0 0; color: var(--navy); font-size: 15px; }

.ev-awards { background: var(--ink); color: var(--ice); padding: 60px 0; }
.ev-awards h2 { color: var(--white); font-size: 32px; margin: 8px 0 12px; }
.awards { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.awards li { counter-increment: a; display: grid; grid-template-columns: 44px 1fr; padding: 15px 0; border-bottom: 1px solid rgba(201,210,232,.18); }
.awards li::before { content: counter(a, decimal-leading-zero); grid-row: 1 / span 2; color: var(--red-light); font-weight: 700; }
.awards b { color: var(--white); font-size: 17px; }
.awards span { font-size: 14px; color: var(--ice); margin-top: 3px; }

.ev-history { padding: 50px 0 10px; }
.ev-gallery { padding: 50px 0; }
.gallery { display: grid; gap: 14px; margin-top: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 3 / 2; }
.gallery.g3 { grid-template-columns: 2fr 1fr 1fr; }
.gallery.g3 img { aspect-ratio: auto; height: 260px; }
.ev-guests { padding: 10px 0 60px; }
.ev-partner { padding: 60px 0; border-top: 1px solid var(--line); }
.ev-partner .pillars { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ev-more { padding: 60px 0; background: var(--tint); }
.ev-more .section-head h2 { color: var(--navy); }

@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venue-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .venue-facts { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .two-col, .ev-contact .wrap, .contrast { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ev-intro h1 { font-size: 32px; }
  .ev-hero { padding: 70px 0 36px; }
  .ev-hero h1 { font-size: 38px; }
  .ev-hero .lede { font-size: 18px; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .facts-row b { font-size: 26px; }
  .timeline, .timeline.horizontal { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .event-grid.two { grid-template-columns: minmax(0, 1fr); }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .gallery.g3 { grid-template-columns: minmax(0, 1fr); }
  .gallery.g3 img { height: auto; aspect-ratio: 3 / 2; }
  .sessions li { grid-template-columns: 48px 1fr; padding: 20px; }
  .sessions li::before { font-size: 26px; }
}
@media (max-width: 520px) {
  .pillars, .people, .venue-grid, .venue-facts { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.ev-hero { background: var(--ink); overflow: hidden; isolation: isolate; }
.ev-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ev-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25,29,51,.55) 0%, rgba(25,29,51,.62) 45%, rgba(25,29,51,.9) 100%); }
.gallery img, .venue-grid img, .ev-figure img { height: auto; }
.ev-hero-bg { object-position: center 35%; }
.event-grid.two .event .thumb { aspect-ratio: 16 / 8; }
@media (max-width: 820px) {
  .ev-hero::before { background: linear-gradient(180deg, rgba(25,29,51,.72), rgba(25,29,51,.9)); }
  .ev-about .lede { font-size: 17px; }
}
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 28px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.footer .legal a { color: inherit; }
.footer .legal a:hover { color: var(--white); }

/* Story text formatting */
.article .copy h2 { color: var(--navy); font-size: 23px; line-height: 1.25; margin: 34px 0 12px; }
.article .copy ul, .article .copy ol { margin: 0 0 22px; padding-left: 22px; font-size: 17.5px; line-height: 1.6; }
.article .copy li { margin-bottom: 8px; }
.article .copy hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.article .copy blockquote { margin: 0 0 22px; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); font-size: 19px; color: var(--navy); }
.article .copy a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.more-btn { display: flex; margin: 30px auto 0; }

/* ---------- Story page: story on the left, upcoming events on the right ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article-layout .article { max-width: 780px; margin: 0; padding: 46px 0 60px; }
.article-events { position: sticky; top: 72px; padding: 46px 0 40px; display: grid; gap: 16px; }
.article-events .col-head { margin-bottom: 2px; }
.ev-mini { display: block; background: var(--ink); color: var(--ice); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.ev-mini:hover, .ev-mini:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(25,29,51,.22); }
.ev-mini .thumb { position: relative; display: block; aspect-ratio: 16 / 8; border-radius: 0; background: var(--panel); }
.ev-mini .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ev-mini .datechip { left: 10px; top: 10px; padding: 5px 8px 6px; font-size: 10px; }
.ev-mini .datechip b { font-size: 19px; }
.ev-mini-body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.ev-mini .where { font-size: 11.5px; color: var(--ice); }
.ev-mini b { color: var(--white); font-size: 16.5px; line-height: 1.25; }
.ev-mini .tag { font-size: 13px; line-height: 1.4; color: var(--ice); }
.ev-mini .go { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--red-light); }
.ev-mini:hover .go { color: var(--white); }
.all-ev { font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; }
.all-ev:hover { color: var(--red); }
@media (max-width: 1060px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article-layout .article { max-width: 760px; padding-bottom: 30px; }
  .article-events { position: static; padding: 0 0 40px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: 760px; }
  .article-events .col-head, .article-events .all-ev { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .ev-mini { transition: none; } .ev-mini:hover { transform: none; } }
.article-events { position: static; }
.ev-mini .thumb { aspect-ratio: 16 / 7; }
@media (min-width: 1061px) and (min-height: 1040px) { .article-events { position: sticky; top: 72px; } }
.partner-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.partner-cta p { margin: 0; font-size: 13.5px; color: var(--body); }
.partner-cta p a { color: var(--navy); font-weight: 700; }

/* ---------- Capital Pioneer TV: Watch ---------- */
.watch-feature { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.watch-feature video { width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); display: block; }
.watch-copy h3 { margin: 8px 0 10px; color: var(--navy); font-size: 26px; line-height: 1.2; }
.watch-copy p { margin: 0 0 12px; font-size: 16px; }
.watch-more { margin-top: 34px; }
@media (max-width: 820px) { .watch-feature { grid-template-columns: minmax(0, 1fr); gap: 14px; } .watch-copy h3 { font-size: 21px; } }
