/* Radial sector wheel + right panel (invest-promotion style) */
:root {
  --accent: #035398;
  --accent-soft: #f3a6c3;
  --teal: #0d8a7a;
  --orange: #e86c2d;
  --text: #2b2b2b;
  --muted: #5a5a5a;
  --line: #e2e2e2;
  --bg: #fafafa;
  --white: #fff;
  --eyebrow: #e86c2d;
  /* Scaled-up sector wheel (hub + petal size + label) */
  --wheel-max: 60rem;
  --wheel-wrap: min(100%, 64rem);
  --petal-w: clamp(6.25rem, 13.5vw, 8.6rem);
  /* Total spoke length: must exceed hub reserve + top pad + a few text lines */
  --petal-h: clamp(13.5rem, 33vw, 18rem);
  /* Inner (hub-side) padding: keeps label band outside the centre disc */
  --hub-petal-inner-pad: clamp(5.5rem, 15vw, 8.25rem);
  /* Header / footer (Invest UP screenshot) */
  --header-text: #ffffff;
  --header-img: url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=2000&q=70");
  --ticker-bg: #000;
  --ticker-cta: #e91e7a;
  --ticker-cta-ink: #fff;
  --subnav-amber: #e8910d;
  --subnav-amber-2: #f4b32a;
  --subnav-ink: #1c1008;
  --footer-title: #153d66;
  --footer-muted: #4a5f73;
  --teal-tile: #0d7f8a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* —— Page header: full hero (video + overlay nav + split content + CTA) + ticker + amber —— */
.page-header {
  position: relative;
  z-index: 100;
  background: #fff;
}

/* Tall hero: video fills; content stacks from top */
.header-mast {
  position: relative;
  display: flex;
  flex-direction: column;
  /* shorter hero like reference (not full-screen) */
  min-height: min(58vh, 520px);
  /* reserve space for fixed nav row */
  padding-top: 3.65rem;
  overflow: hidden;
}

.header-mast__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1a1a;
  background-image: var(--header-img);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-mast__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  pointer-events: none;
}

.header-mast__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

/* Sticky transparent nav — dark glass when scrolled */
.header-mast__nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  transition: box-shadow 0.2s ease;
}

.header-mast__nav.is-stuck {
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.header-mast__row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.55rem clamp(0.75rem, 1.8vw, 2rem) 0.65rem;
  min-height: 3.65rem;
  max-width: 110rem;
  margin: 0 auto;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 100%);
  -webkit-backdrop-filter: blur(4px) saturate(1.05);
  backdrop-filter: blur(4px) saturate(1.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-mast__nav.is-top .header-mast__row {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

/* Scroll UP (not at top): dark glass */
.header-mast__nav.is-stuck:not(.is-down) .header-mast__row {
  background: rgba(14, 14, 18, 0.9);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Scroll DOWN: white header like screenshot behavior */
.header-mast__nav.is-down .header-mast__row {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.header-mast__nav.is-down .header-brand,
.header-mast__nav.is-down .header-nav__link,
.header-mast__nav.is-down .header-icon,
.header-mast__nav.is-down .header-icon:visited,
.header-mast__nav.is-down .header-lang {
  color: #111;
  text-shadow: none;
}

.header-mast__nav.is-down .header-nav__link {
  border-bottom-color: transparent;
}

.header-mast__nav.is-down .header-nav__link:hover,
.header-mast__nav.is-down .header-nav__link:focus-visible {
  border-bottom-color: rgba(0, 0, 0, 0.25);
}

.header-mast__nav.is-down .header-icon:hover,
.header-mast__nav.is-down .header-icon:focus-visible {
  background: rgba(0, 0, 0, 0.06);
}

.header-mast__nav.is-down .header-lang {
  color: #111;
}

.header-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem 0.65rem;
  text-decoration: none;
  color: var(--header-text);
  flex-shrink: 0;
}

.header-brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-brand__svg {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.header-brand__lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-brand__kicker {
  font-size: 0.62rem;
  opacity: 0.95;
  letter-spacing: 0.22em;
}

.header-brand__title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.header-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.7rem;
  max-width: 40rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.header-nav__link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem 0.05rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.header-nav__link:hover,
.header-nav__link:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
  outline: none;
}

.header-nav__chev {
  font-size: 0.5rem;
  opacity: 0.8;
  margin-top: 0.1em;
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 0.1rem 0.35rem;
  flex-shrink: 0;
}

.header-icon,
.header-icon:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0.2rem;
  cursor: pointer;
  padding: 0;
}

.header-icon:hover,
.header-icon:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.header-lang {
  color: #ffecb3;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  margin-left: 0.1rem;
}

.header-lang:hover,
.header-lang:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* Hero body: CM + serif title (left) | three tiles (right) */
.hero-main {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.25rem 2rem;
  align-items: end;
  padding: 0.75rem clamp(0.75rem, 1.8vw, 2rem) 1rem;
  max-width: 110rem;
  margin: 0 auto;
  width: 100%;
  min-height: 0;
}

.hero-main__left {
  padding-bottom: 0.25rem;
}

.hero-portrait {
  width: clamp(4.5rem, 10vw, 5.75rem);
  height: clamp(4.5rem, 10vw, 5.75rem);
  border-radius: 50%;
  margin: 0 0 0.45rem;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  background: #ccc
    url("https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=320&h=320&fit=crop&face")
    center / cover;
}

.hero-caption {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fde047;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  max-width: 14rem;
}

.hero-heading {
  margin: 0 0 0.55rem;
  font-family: Merriweather, Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(0.82rem, 1.35vw, 0.95rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-main__right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.6rem;
  padding-bottom: 0.15rem;
}

.hero-tile {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 0.85rem 1rem;
  min-height: 3.1rem;
  border-radius: 0.12rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.hero-tile:hover,
.hero-tile:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  outline: none;
}

.hero-tile__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=600&h=200&fit=crop") center / cover;
}

.hero-tile__bg--2 {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%),
    url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=600&h=200&fit=crop") center / cover;
}

.hero-tile__bg--3 {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%),
    url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=600&h=200&fit=crop") center / cover;
}

.hero-tile__text {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

.hero-tile__text em {
  font-style: normal;
  font-weight: 800;
  display: block;
  margin-top: 0.1rem;
  letter-spacing: 0.05em;
}

/* Pink CTA above ticker (centre) */
.hero-cta-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0.35rem 1rem 0.85rem;
}

.hero-cta-bar__btn {
  display: inline-block;
  padding: 0.45rem 1.35rem;
  background: var(--ticker-cta);
  color: var(--ticker-cta-ink);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 0.12rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-cta-bar__btn:hover,
.hero-cta-bar__btn:focus-visible {
  filter: brightness(1.06);
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .header-nav {
    order: 3;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .header-mast__row {
    padding-bottom: 0.5rem;
  }

  .hero-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-main__right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-tile {
    flex: 1 1 10rem;
    min-width: min(100%, 12rem);
  }
}

@media (max-width: 640px) {
  .header-mast {
    min-height: min(100vh, 720px);
  }

  .hero-main__right {
    flex-direction: column;
  }
}

/* Ticker: full-width black strip (no CTA — CTA is in hero) */
.ticker {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  background: var(--ticker-bg);
  color: #e8e8e8;
  font-size: 0.7rem;
}

.ticker__track {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem 0.25rem clamp(0.75rem, 1.2vw, 1.2rem);
  mask-image: linear-gradient(90deg, transparent, #000 0.35rem, #000 calc(100% - 0.5rem), transparent);
}

.ticker__inner {
  display: inline-flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-marquee 32s linear infinite;
}

.ticker__text {
  display: inline-block;
  padding-right: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

@keyframes ticker-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__inner {
    animation: none;
  }
}

/* Amber / yellow quick links row */
.subnav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: linear-gradient(90deg, var(--subnav-amber) 0%, var(--subnav-amber-2) 35%, #f0c14d 50%, var(--subnav-amber-2) 65%, var(--subnav-amber) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  min-height: 3.15rem;
}

.subnav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  padding: 0.45rem 0.55rem 0.45rem clamp(0.6rem, 1.1vw, 0.9rem);
  text-decoration: none;
  color: var(--subnav-ink);
  font-weight: 800;
  text-transform: none;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.15s ease, filter 0.15s;
}

.subnav__item:last-child {
  border-right: 0;
}

.subnav__item:hover,
.subnav__item:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.subnav__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
}

.subnav__row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 800;
}

.subnav__play {
  color: #b91c5c;
  font-size: 0.5rem;
  line-height: 1;
  opacity: 0.9;
}

.subnav__sub {
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(28, 16, 8, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  max-width: 28ch;
}

.subnav__label--solo {
  text-transform: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.subnav__go {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  min-width: 1.4rem;
  height: 1.4rem;
  background: #b91c5c;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height:1;
  border-radius: 0.15rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .subnav {
    grid-template-columns: 1fr;
  }

  .subnav__item {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .subnav__sub {
    max-width: none;
  }
}

/* —— Footer (title + L-card + stat tiles + link columns) —— */
.page-footer {
  margin-top: auto;
  background: #f5f6f8;
  border-top: 1px solid #e0e3e6;
}

.footer-band {
  text-align: center;
  padding: 1.75rem clamp(1rem, 3vw, 2.5rem) 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  background: #f5f6f8;
}

.footer-band__title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  font-weight: 800;
  color: var(--footer-title);
  margin: 0 0 0.5rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: none;
}

.footer-band__lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--footer-muted);
  line-height: 1.5;
  max-width: 38rem;
  margin-inline: auto;
}

.footer-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 1.5rem 2rem;
  padding: 0 clamp(0.9rem, 2.5vw, 2.25rem) 2.25rem;
  max-width: 100rem;
  margin: 0 auto;
  background: #f0f1f3;
  border-top: 1px solid #e4e6e9;
  align-items: start;
}

@media (max-width: 900px) {
  .footer-spotlight {
    grid-template-columns: 1fr;
  }
}

.foot-card {
  position: relative;
  background: #fff;
  border-radius: 0.2rem;
  padding: 1.25rem 1.1rem 1.2rem 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8eaeb;
  overflow: hidden;
}

.foot-card__l {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-top: 0.4rem solid #c62828;
  border-left: 0.4rem solid #c62828;
  border-radius: 0.1rem 0 0 0;
  pointer-events: none;
}

.foot-card__portrait {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  margin: 0 0 0.75rem;
  background: #e0e3e6
    url("https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=300&h=300&fit=crop&face")
    center / cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  border: 2px solid #fff;
}

.foot-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a2a3a;
  margin: 0 0 0.2rem;
}

.foot-card__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #5a6a7a;
  margin: 0 0 0.6rem;
  line-height: 1.35;
}

.foot-card__bio {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #4a5a6a;
  margin: 0;
}

.foot-statgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 0.9rem;
}

@media (max-width: 600px) {
  .foot-statgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.foot-tile {
  background: #fff;
  border: 1px solid #e4e6e8;
  border-radius: 0.2rem;
  padding: 0.9rem 0.65rem 0.75rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 6.5rem;
}

.foot-tile__icon {
  color: var(--teal-tile);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(13, 127, 138, 0.3);
  border-radius: 50%;
  background: rgba(13, 127, 138, 0.06);
}

.foot-tile__num {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1a2a3a;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.05em;
}

.foot-tile__per {
  font-size: 0.75em;
  font-weight: 800;
}

.foot-tile__num-suffix {
  font-size: 0.6em;
  font-weight: 800;
  vertical-align: super;
}

.foot-tile__label {
  font-size: 0.65rem;
  line-height: 1.3;
  color: #5a6a7a;
  margin: 0;
  max-width: 12rem;
  margin-inline: auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2.5rem;
  padding: 1.75rem clamp(1rem, 3vw, 2.5rem) 2rem;
  max-width: 100rem;
  margin: 0 auto;
  background: #fff;
  border-top: 1px solid #e4e6e8;
}

@media (max-width: 800px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.footer-col__h {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a8a9a;
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-links a {
  color: #2c4a66;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ticker-cta);
  text-decoration: underline;
  outline: none;
}

.footer-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--footer-muted);
}

.footer-bottom {
  background: #f0f2f4;
  padding: 0.9rem 1.25rem;
  text-align: center;
  border-top: 1px solid #e0e3e6;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: #5c6a78;
}

main.split {
  flex: 1 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.1fr);
  min-height: min(100vh - 12rem, 80rem);
  max-width: 118rem;
  margin: 0 auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

@media (max-width: 960px) {
  main.split {
    grid-template-columns: 1fr;
  }

  :root {
    --wheel-max: 46rem;
    --wheel-wrap: min(100%, 100%);
    --hub-petal-inner-pad: clamp(4.75rem, 13vw, 7.25rem);
  }
}

.wheel-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 42rem; */
  overflow: visible;
}

.wheel-wrap {
  width: var(--wheel-wrap);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem 2.25rem;
  overflow: visible;
}

.wheel {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: var(--wheel-max);
  max-height: var(--wheel-max);
  margin: auto;
  overflow: visible;
}

.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  /* Slightly smaller disc so less overlap with petal labels */
  max-width: 11.5rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hub__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid #035398;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-align: center;
  line-height: 1.2;
  padding: 0.35rem 0.4rem;
  min-width: 0;
  overflow: visible;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.hub__logo {
  font-size: 0.78rem;
  font-weight: 800;
  color: #035398;
  letter-spacing: 0.04em;
}

.hub__text {
  display: block;
  font-size: clamp(0.55rem, 1.2vw, 0.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #333;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: nowrap;
  max-width: none;
  line-height: 1.2;
}

.petal {
  --angle: 0deg;
  position: absolute;
  left: 50%;
  /* Pivot bottom at wheel center; min-height = radial leg; content can grow upward without clipping */
  bottom: 50%;
  width: var(--petal-w);
  min-height: var(--petal-h);
  height: 320px;
  min-width: 0;
  margin: 0;
  /* Bottom pad keeps text band above the centre disc; top/side padding matches reference spacing */
  box-sizing: border-box;
  padding: 0.55rem 0.5rem var(--hub-petal-inner-pad);
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(calc((360deg / var(--count)) * var(--i) - 90deg));
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.5rem 0.5rem 1.65rem 1.65rem;
  /* Rounded-rect clip; text is laid out inside, then the whole tab rotates (reference: text follows petal) */
  overflow: hidden;
  /* Light layer like the reference (soft lift + border edge) */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  z-index: 1;
  font: inherit;
  line-height: 1.2;
  white-space: normal;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.18s ease,
    box-shadow 0.22s ease, transform 0.22s ease, z-index 0s;
  -webkit-tap-highlight-color: transparent;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.petal__label {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
  box-sizing: border-box;
  font-size: clamp(0.58rem, 1.1vw, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  user-select: none;
  /* No extra rotate: line wraps in the narrow width, whole tab rotates = text follows petal (ref look) */
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  direction: ltr;
  line-height: 1.22;
  hyphens: none;
  -webkit-hyphens: none;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  max-height: 7.5em;
}

.petal:hover {
  z-index: 2;
    border-color: #91b7d8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 16px rgb(3 83 152 / 33%);

}

.petal:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
  z-index: 2;
}

.petal[aria-selected="true"] {
  z-index: 2;
  background: linear-gradient(180deg, #035398 0%, #429ae5 100%);
  border-color: #035398;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 6px 20px rgb(3 83 152 / 24%);
}

.petal[aria-selected="true"] .petal__label {
  color: #fff;
}

.content-panel {
  padding: clamp(1.25rem, 2.5vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem);
  background: var(--white);
  border-radius: 0.5rem;
  min-height: 24rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.content-panel.is-updating {
  opacity: 0.9;
  transform: translateY(1px);
}

.content-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--panel-bg, radial-gradient(ellipse 90% 70% at 80% 20%, rgba(13, 138, 122, 0.08), transparent 55%));
  pointer-events: none;
  z-index: 0;
}

.content-panel > * {
  position: relative;
  z-index: 1;
}

.content-eyebrow {
  color: var(--eyebrow);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin: 0 0 0.4rem;
  writing-mode: horizontal-tb;
}

.content-title {
  color: var(--teal);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 0.6rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  writing-mode: horizontal-tb;
}

.content-lead {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 42rem;
  margin: 0 0 1.1rem;
  writing-mode: horizontal-tb;
}

.content-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .content-body {
    grid-template-columns: 1fr;
  }
}

.content-figure {
  aspect-ratio: 1;
  max-width: 17.25rem;
  width: 100%;
  border-radius: 0.25rem;
  background-size: cover;
  background-position: center;
  background-color: #e8e8e8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.9rem;
}

@media (min-width: 500px) {
  .stat-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stat {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
}

.stat__n {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #c62828;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.stat__d {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
  flex: 1 1 10rem;
  min-width: 0;
  writing-mode: horizontal-tb;
}

.content-cta {
  display: inline-block;
  border: 0;
  background: #035398;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.55rem 1.3rem;
  border-radius: 0px;
  cursor: pointer;
  box-shadow: 0 3px 14px rgb(3 83 152 / 47%);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.content-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgb(3 83 152 / 47%);
}

.content-cta:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.content-dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.content-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ccc;
}

.content-dots span.is-active {
  background: var(--accent);
}
