/*
 * PMS landing page (/portfolio-management-services).
 *
 * Ported from the handover app's app/globals.css. Changes made during the
 * port, and nothing else:
 *   - the handover's own nav + footer rules are removed; the page uses
 *     nav.ejs / foot.ejs, so .site-nav, .nav-*, .menu-toggle, .brand-link,
 *     .button-nav, .site-footer, .footer-* and .disclosure are gone.
 *   - .container is renamed .pms-shell: Bootstrap owns .container and both
 *     nav.ejs and foot.ejs depend on it.
 *   - element-level resets are scoped under .pms-page (the <main> wrapper)
 *     so they cannot leak into the site header/footer.
 *   - hero top padding 130px -> 72px (the site navbar is in normal flow).
 *   - documented dead rules dropped (.button-dark, .story-status,
 *     .story-tab-more, .onboarding-timeline small).
 *
 * Design tokens live in :root below - use those, not literal hex values.
 */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --forest: #003a3c;
  --forest-deep: #001f21;
  --forest-ink: #001416;
  --emerald: #0b574a;
  --lime: #c7f04a;
  --lime-soft: #e9fac0;
  --gold: #d9b66f;
  --gold-soft: #f0d99f;
  --paper: #f5f4ee;
  --paper-warm: #ecece3;
  --white: #fff;
  --ink: #082e2f;
  --muted: #687776;
  --line: rgba(4, 50, 51, 0.14);
  --dark-line: rgba(255, 255, 255, 0.14);
  --page-parallax: 0px;
  --pointer-x: 50%;
  --pointer-y: 20%;
  --shadow-soft: 0 24px 80px rgba(0, 39, 40, 0.12);
  --shadow-deep: 0 36px 100px rgba(0, 20, 22, 0.34);
}

.pms-page, .pms-page * {
  box-sizing: border-box;
}

html {
  background: var(--forest-deep);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.pms-page ::selection {
  background: var(--lime);
  color: var(--forest-ink);
}

.pms-page button,
.pms-page input {
  font: inherit;
}

.pms-page button,
.pms-page a {
  -webkit-tap-highlight-color: transparent;
}

.pms-page button {
  color: inherit;
}

.pms-page a {
  color: inherit;
  text-decoration: none;
}

.pms-page img {
  display: block;
  max-width: 100%;
}

.pms-page h1,
.pms-page h2,
.pms-page h3,
.pms-page p {
  margin-top: 0;
}

.pms-page {
  position: relative;
}

/*
 * styles.css styles the site footer through bare `footer` rules (line 975 sets
 * background: #003134, line 454 sets padding, plus footer p/a/h6 colours).
 * Those leak into the <footer> elements this page uses inside its cards, so
 * they are neutralised here.
 *
 * :where() keeps the guard at element-level specificity: it outranks
 * styles.css only because this file loads later, and every class-based rule
 * below - .story-footer, .allocation-card > footer - still wins over it.
 */
:where(.pms-page) footer,
:where(.pms-page) header {
  background: none;
  padding: 0;
}

:where(.pms-page) footer p,
:where(.pms-page) footer a,
:where(.pms-page) footer h6 {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  opacity: 1;
}

.pms-shell {
  margin-inline: auto;
  max-width: 1440px;
  padding-inline: clamp(24px, 5vw, 84px);
  position: relative;
  width: 100%;
}

.section {
  padding-block: clamp(96px, 11vw, 176px);
  position: relative;
}

.light-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(199, 240, 74, 0.1), transparent 24%),
    #f8f8f4;
}

.paper-section {
  background:
    linear-gradient(rgba(0, 49, 52, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 49, 52, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.dark-section {
  background:
    radial-gradient(circle at 84% 8%, rgba(16, 106, 89, 0.62), transparent 27%),
    radial-gradient(circle at 10% 90%, rgba(199, 240, 74, 0.08), transparent 22%),
    linear-gradient(135deg, #001f21 0%, #003c3b 58%, #00302c 100%);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.dark-section::after,
.hero-section::after,
.final-cta::after {
  background-image:
    repeating-radial-gradient(
      circle at 32% 68%,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 0.7px,
      transparent 0.9px,
      transparent 3px
    );
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.52;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow,
.card-kicker {
  color: #237266;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dark-section .eyebrow,
.final-cta .eyebrow {
  color: var(--lime);
}

.section-intro {
  max-width: 990px;
}

.section-intro h2,
.editorial-copy h2,
.faq-sticky h2,
.final-cta h2 {
  font-size: clamp(2.8rem, 5.8vw, 5.9rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 24px 0 28px;
  max-width: 980px;
}

.section-intro h2 em,
.editorial-copy h2 em,
.faq-sticky h2 em,
.final-cta h2 em {
  color: var(--emerald);
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

.section-intro p,
.editorial-copy > p,
.faq-sticky > p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.65;
  max-width: 740px;
}

.section-intro-dark h2 em,
.dark-section .section-intro h2 em,
.final-cta h2 em {
  color: var(--lime);
}

.section-intro-dark p,
.dark-section .section-intro p {
  color: rgba(255, 255, 255, 0.66);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.83rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.015em;
  min-height: 54px;
  padding: 15px 24px;
  position: relative;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:focus-visible,
.allocation-options button:focus-visible,
.story-tabs button:focus-visible,
summary:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(199, 240, 74, 0.58);
  outline-offset: 4px;
}

.button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.25);
  opacity: 0.42;
  transform: none;
}

.button-gold {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  color: var(--forest-ink);
  box-shadow: 0 10px 32px rgba(217, 182, 111, 0.18);
}

.button-gold:hover {
  box-shadow: 0 18px 40px rgba(217, 182, 111, 0.28);
}

.button-lime {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  color: var(--forest-ink);
  box-shadow: 0 10px 32px rgba(217, 182, 111, 0.18);
}

.button-lime:hover {
  background: linear-gradient(120deg, #f4dda2, var(--gold));
  box-shadow: 0 18px 40px rgba(217, 182, 111, 0.28);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Hero */
.hero-section {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(23, 114, 92, 0.28), transparent 26%),
    radial-gradient(circle at 72% 14%, rgba(12, 101, 78, 0.66), transparent 28%),
    linear-gradient(120deg, #00191b 0%, #003535 54%, #0b4d3e 100%);
  color: var(--white);
  isolation: isolate;
  min-height: min(1020px, 100svh);
  overflow: hidden;
  padding: 72px 0 0;
  position: relative;
}

.hero-glow {
  background: radial-gradient(circle, rgba(199, 240, 74, 0.11), transparent 65%);
  border-radius: 50%;
  height: 820px;
  position: absolute;
  right: -310px;
  top: -280px;
  width: 820px;
  z-index: -1;
}

.hero-ring,
.ambient-orbit {
  border: 1px solid rgba(199, 240, 74, 0.22);
  border-radius: 50%;
  pointer-events: none;
  position: absolute;
}

.hero-ring::after,
.ambient-orbit::after {
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(199, 240, 74, 0.6);
  content: "";
  height: 5px;
  left: 15%;
  position: absolute;
  top: 9%;
  width: 5px;
}

.hero-ring-one {
  height: 560px;
  right: -180px;
  top: calc(-40px + var(--page-parallax));
  transform: rotate(18deg);
  width: 560px;
}

.hero-ring-two {
  height: 860px;
  right: -330px;
  top: calc(-210px + var(--page-parallax));
  transform: rotate(-30deg);
  width: 860px;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: clamp(48px, 6vw, 104px);
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
}

.hero-copy {
  padding: 60px 0 80px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(199, 240, 74, 0.4);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.11em;
  padding: 9px 16px;
  text-transform: uppercase;
}

.hero-badge i {
  animation: pulse 2.6s ease-in-out infinite;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(199, 240, 74, 0.11);
  height: 8px;
  width: 8px;
}

.hero-copy h1 {
  font-size: clamp(3.5rem, 6.35vw, 7.25rem);
  font-weight: 500;
  letter-spacing: -0.067em;
  line-height: 0.92;
  margin: 38px 0 34px;
  max-width: 900px;
}

.hero-copy h1 em {
  color: var(--lime);
  display: block;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-copy > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.7;
  max-width: 750px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.allocation-card {
  backdrop-filter: blur(24px);
  background:
    radial-gradient(circle at 100% 0%, rgba(199, 240, 74, 0.12), transparent 28%),
    rgba(249, 249, 244, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow-deep);
  color: var(--ink);
  min-height: 570px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

.allocation-card > header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  font-size: 0.67rem;
  font-weight: 800;
  grid-template-columns: 1fr auto;
  letter-spacing: 0.12em;
  padding: 22px 26px 18px;
  text-transform: uppercase;
}

.allocation-card > header > span {
  color: #43706b;
}

.allocation-card > header > strong {
  color: var(--ink);
}

.allocation-card > header > div {
  background: rgba(0, 49, 52, 0.09);
  grid-column: 1 / -1;
  height: 2px;
  margin-top: 14px;
  overflow: hidden;
}

.allocation-card > header > div i {
  background: linear-gradient(90deg, var(--emerald), var(--lime));
  display: block;
  height: 100%;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.allocation-body {
  animation: cardIn 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 420px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 42px) 30px;
}

.allocation-body h2 {
  font-size: clamp(1.65rem, 2.25vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.14;
  margin: 14px 0 28px;
}

.allocation-options {
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
}

.allocation-options.three-up {
  grid-template-columns: repeat(4, 1fr);
}

.allocation-options button {
  background: transparent;
  border: 1px solid rgba(0, 49, 52, 0.2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  min-height: 58px;
  padding: 12px;
  text-align: left;
  transition: 0.25s ease;
}

.allocation-options.three-up button {
  text-align: center;
}

.allocation-options button:hover,
.allocation-options button.selected {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

.card-submit {
  width: 100%;
}

.card-submit span {
  margin-left: auto;
}

.card-navigation {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 28px;
}

.card-navigation > button:not(.button) {
  background: transparent;
  border: 0;
  color: #557270;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 12px 0;
}

.premium-field {
  display: block;
}

.premium-field > span {
  color: #53706d;
  display: block;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.premium-field input {
  background: var(--white);
  border: 1px solid rgba(0, 49, 52, 0.24);
  border-radius: 4px;
  color: var(--ink);
  font-size: 1rem;
  min-height: 62px;
  padding: 15px 16px;
  width: 100%;
}

/* Inline validation message; always rendered in flow, never animated. */
.field-error {
  color: #b0453a;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  margin: -10px 0 18px;
}

.premium-field input[aria-invalid="true"] {
  border-color: #b0453a;
}

.premium-field input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(11, 87, 74, 0.1);
  outline: none;
}

.consent-field {
  align-items: flex-start;
  color: #5d706f;
  display: flex;
  font-size: 0.72rem;
  gap: 9px;
  line-height: 1.5;
  margin-top: 18px;
}

.consent-field input {
  accent-color: var(--forest);
  margin-top: 3px;
}

.consent-field a {
  color: var(--forest);
  text-decoration: underline;
}

.allocation-card > footer {
  border-top: 1px solid var(--line);
  color: #58706f;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.66rem;
  font-weight: 700;
  gap: 14px;
  justify-content: center;
  padding: 18px 22px;
}

.allocation-card > footer span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.allocation-card > footer span::before {
  background: var(--emerald);
  border-radius: 50%;
  content: "";
  height: 4px;
  width: 4px;
}

.hero-trust-row {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
}

.hero-trust-row div {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 25px 28px 28px 0;
}

.hero-trust-row div:not(:first-child) {
  padding-left: 28px;
}

.hero-trust-row div:last-child {
  border-right: 0;
}

.hero-trust-row span {
  color: var(--gold);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 0.72rem;
  font-style: italic;
}

.hero-trust-row strong {
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Founder film */
.founder-layout {
  align-items: center;
  display: grid;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
}

.editorial-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
}

.founder-miniatures {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
}

.founder-miniatures > div {
  align-items: center;
  display: flex;
  gap: 12px;
}

.founder-miniatures img {
  background: #e7eee6;
  border: 1px solid var(--line);
  border-radius: 50%;
  height: 52px;
  object-fit: cover;
  object-position: top;
  width: 52px;
}

.founder-miniatures span {
  color: #71807e;
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
}

.founder-miniatures strong {
  color: var(--ink);
  font-size: 0.75rem;
}

.founder-film {
  background: var(--forest-ink);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.film-topline,
.film-caption {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
}

.film-topline {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.film-topline span {
  align-items: center;
  display: flex;
  gap: 9px;
}

.film-topline i {
  background: #ff5d50;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 93, 80, 0.12);
  height: 7px;
  width: 7px;
}

.film-frame {
  aspect-ratio: 16 / 9;
  background: #001214;
  overflow: hidden;
}

.film-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.film-caption {
  gap: 20px;
}

.film-caption strong {
  font-size: 0.84rem;
}

.film-caption span {
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.64rem;
}

.credential-row {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(70px, 8vw, 120px);
}

.credential-row > div {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.credential-row > div:first-child {
  padding-left: 0;
}

.credential-row > div:last-child {
  border-right: 0;
}

.credential-row strong {
  color: var(--forest);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.04em;
}

.credential-row span {
  color: var(--muted);
  font-size: 0.73rem;
  margin-top: 5px;
}

.section-footnote,
.case-disclosure,
.strategy-note,
.fee-disclaimer {
  color: #72807f;
  display: block;
  font-size: 0.67rem;
  line-height: 1.6;
  margin-top: 16px;
}

/* Research */
.ambient-orbit {
  height: 620px;
  opacity: 0.55;
  width: 620px;
  z-index: -1;
}

.orbit-one {
  left: -360px;
  top: calc(260px - var(--page-parallax));
}

.orbit-two {
  bottom: -420px;
  right: -160px;
}

.research-process-section {
  background:
    radial-gradient(circle at 78% 4%, rgba(199, 240, 74, 0.07), transparent 26%),
    #002525;
  color: #f7f7f4;
}

.research-process-section .eyebrow {
  color: var(--lime);
}

.research-process-section .section-intro {
  max-width: 620px;
}

.research-process-section .section-intro h2 {
  color: #f7f7f4;
  font-size: clamp(2.8rem, 4.8vw, 4.9rem);
  max-width: 620px;
}

.research-process-section .section-intro p {
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  max-width: 460px;
}

/*
 * Two-column layout: heading and subhead hold the left, the deck sits on the
 * right. Pure layout - the deck markup is untouched.
 */
@media (min-width: 1024px) {
  .research-process-section .pms-shell {
    align-items: center;
    column-gap: clamp(40px, 4.4vw, 76px);
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  }

  .research-process-section .section-intro {
    max-width: none;
  }

  .research-process-section .research-funnel {
    margin-top: 0;
    min-width: 0;
  }

  /*
   * In the narrower right-hand column the dot grid was taking 511px of ~646px,
   * squeezing the number and label into a 169px ribbon. Tighter dots restore
   * the balance; the full-width layout below 1024px is unaffected.
   */
  .research-process-section .research-stage-dots {
    gap: clamp(6px, 0.62vw, 9px);
    grid-template-columns: repeat(var(--dot-columns, 10), clamp(4px, 0.42vw, 6px));
  }

  /* Dots size to their own content; the meta column takes what is left, so it
     widens automatically on the cards with smaller grids. */
  .research-process-section .research-stage-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.research-funnel {
  margin-top: clamp(40px, 4.5vw, 64px);
}

/*
 * Static funnel: each card steps in by one --funnel-step from the one above,
 * so the stack itself tapers. No scroll or hover motion anywhere.
 */
.research-funnel-cards {
  --funnel-step: 9%;
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: 1010px;
  position: relative;
}

.research-stage-card {
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(12, 66, 62, 0.72),
    rgba(5, 44, 44, 0.72)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: grid;
  gap: clamp(18px, 2.6vw, 40px);
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr);
  padding: clamp(20px, 2.2vw, 28px) clamp(22px, 2.6vw, 34px);
  position: relative;
  width: calc(100% - var(--step-index, 0) * var(--funnel-step));
  z-index: 1;
}

/*
 * Cursor-follow glow, one layer per card.
 *
 * `border-radius: inherit` means the layer is clipped on the card's rounded
 * boundary rather than a square one, and the gradient is already fully
 * transparent long before it reaches that boundary, so the clip never shows.
 * The stops fade to rgba(199, 238, 78, 0) rather than the `transparent`
 * keyword, which would interpolate through transparent black and leave a
 * darkened ring. z-index -1 keeps it above the card background but under the
 * text and dots (the card sets z-index, so it owns this stacking context).
 */
.research-stage-card::after,
.onboarding-glow-surface {
  background: radial-gradient(
    ellipse 440px 165px at var(--glow-x, -600px) var(--glow-y, -600px),
    rgba(199, 238, 78, 0.09) 0%,
    rgba(199, 238, 78, 0.062) 18%,
    rgba(199, 238, 78, 0.034) 36%,
    rgba(199, 238, 78, 0.014) 54%,
    rgba(199, 238, 78, 0.004) 70%,
    rgba(199, 238, 78, 0) 84%
  );
  border-radius: inherit;
  content: "";
  filter: blur(12px);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.research-funnel-arrow {
  color: rgba(199, 238, 78, 0.5);
  font-size: 1rem;
  line-height: 1;
  padding: 10px 0;
  position: relative;
  z-index: 1;
}

.research-stage-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.research-stage-index {
  color: var(--lime);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 0.78rem;
  font-style: italic;
}

.research-stage-meta strong {
  color: #f7f7f4;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.research-stage-meta small {
  color: rgba(214, 232, 216, 0.6);
  font-size: 0.7rem;
  line-height: 1.35;
}

/*
 * Definite column sizes rather than fr: this grid is shrink-to-fit, and fr
 * tracks have no intrinsic size so they would collapse to zero width.
 */
.research-stage-dots {
  display: grid;
  gap: clamp(7px, 1.3vw, 17px);
  grid-template-columns: repeat(var(--dot-columns, 10), clamp(5px, 0.55vw, 7px));
  justify-content: end;
  max-width: 100%;
  min-width: 0;
}

.research-stage-dots i {
  aspect-ratio: 1;
  background: #8b9a86;
  border-radius: 50%;
  display: block;
  opacity: 0.26;
  width: 100%;
}

.research-stage-dots i.is-neon {
  background: #c7ee4e;
  box-shadow: 0 0 9px rgba(199, 238, 78, 0.28);
  opacity: 1;
}
/* ---- Deck variant (tap / swipe / arrow keys). Static stack is unaffected. ---- */
.research-deck {
  --funnel-step: 0%;
  margin-inline: auto;
  max-width: 1010px;
}

.research-deck-stage {
  cursor: pointer;
  min-height: 348px;
  position: relative;
  /* Vertical scrolling stays with the browser; only horizontal is ours. */
  touch-action: pan-y;
  user-select: none;
}

.research-deck-stage:focus-visible {
  border-radius: 20px;
  outline: 2px solid rgba(199, 238, 78, 0.5);
  outline-offset: 10px;
}

.research-deck-card {
  /*
   * Near-opaque only in the deck: stacked head-on, the 0.72 alpha used by the
   * static variant lets the card behind read straight through the front one.
   */
  background: linear-gradient(
    135deg,
    rgba(11, 64, 60, 0.985),
    rgba(4, 40, 40, 0.985)
  );
  left: 0;
  /*
   * Uniform height: the cards have different dot-row counts, so without this a
   * shorter card sitting behind never clears the taller one in front and the
   * fan disappears.
   */
  min-height: 268px;
  position: absolute;
  top: 0;
  transform-origin: center top;
  /* Unhurried and eased, with no overshoot, so the deck glides rather than snaps. */
  transition:
    opacity 0.62s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.62s cubic-bezier(0.32, 0.72, 0, 1);
  width: 100%;
  will-change: transform, opacity;
}

/* Deck-only typography: bigger, so each card reads as composed rather than sparse. */
.research-deck-card {
  align-items: center;
  gap: clamp(24px, 3vw, 52px);
}

.research-deck-card .research-stage-meta {
  gap: 10px;
}

.research-deck-card .research-stage-index {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.research-deck-card .research-stage-meta strong {
  font-size: clamp(2.9rem, 4.4vw, 4.4rem);
  line-height: 0.98;
}

.research-deck-card .research-stage-meta small {
  color: rgba(222, 238, 224, 0.78);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.research-stage-note {
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(216, 232, 218, 0.66);
  display: grid;
  font-size: 0.85rem;
  gap: 12px;
  grid-template-columns: 30px minmax(0, 1fr);
  line-height: 1.55;
  margin: 6px 0 0;
  max-width: 460px;
  padding-top: 16px;
}

.research-stage-note-icon {
  align-items: center;
  background: linear-gradient(
    150deg,
    rgba(11, 56, 51, 0.95),
    rgba(3, 30, 30, 0.95)
  );
  border: 1px solid rgba(199, 238, 78, 0.22);
  border-radius: 50%;
  color: #c7ee4e;
  display: flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.research-stage-note-icon svg {
  display: block;
  height: 15px;
  width: 15px;
}

.research-deck-controls {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  justify-content: center;
  margin-top: clamp(20px, 2.4vw, 30px);
}

.research-deck-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(199, 238, 78, 0.24);
  border-radius: 50%;
  color: #c7ee4e;
  cursor: pointer;
  display: flex;
  font-size: 0.95rem;
  height: 40px;
  justify-content: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
  width: 40px;
}

.research-deck-button:hover:not(:disabled) {
  background: rgba(199, 238, 78, 0.12);
  border-color: rgba(199, 238, 78, 0.5);
}

.research-deck-button:disabled {
  cursor: default;
  opacity: 0.3;
}

.research-deck-status {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 90px;
}

.research-deck-count {
  color: rgba(222, 236, 224, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.research-deck-dots {
  display: flex;
  gap: 6px;
}

.research-deck-dots i {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: block;
  height: 6px;
  transition:
    background 0.3s ease,
    width 0.3s ease;
  width: 6px;
}

.research-deck-dots i.is-active {
  background: #c7ee4e;
  width: 20px;
}

.research-legend {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  column-gap: clamp(14px, 1.7vw, 28px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(24px, 2.8vw, 38px);
  padding-top: clamp(20px, 2.4vw, 30px);
  position: relative;
  z-index: 1;
}

.research-legend-item {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 32px minmax(0, 1fr);
  min-width: 0;
}

.research-legend-badge {
  align-items: center;
  background: linear-gradient(
    150deg,
    rgba(11, 56, 51, 0.95),
    rgba(3, 30, 30, 0.95)
  );
  border: 1px solid rgba(199, 238, 78, 0.2);
  border-radius: 50%;
  color: #c7ee4e;
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.research-legend-badge svg {
  display: block;
  height: 15px;
  width: 15px;
}

.research-legend-item small {
  color: rgba(222, 236, 224, 0.58);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* Success state for the enquiry form. */
.card-success {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 18px 0 8px;
  text-align: center;
}

.card-success-mark {
  color: var(--emerald);
  display: block;
  height: 68px;
  margin-bottom: 26px;
  width: 68px;
}

.card-success-mark svg {
  height: 100%;
  width: 100%;
}

.card-success-mark circle,
.card-success-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.card-success h2 {
  margin: 0 0 14px;
}

.card-success p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  max-width: 44ch;
}

@media (prefers-reduced-motion: no-preference) {
  .card-success {
    animation: cardSuccessIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  /* Ring draws, then the tick is struck through it. */
  .card-success-mark circle {
    animation: cardSuccessRing 620ms cubic-bezier(0.65, 0, 0.35, 1) both;
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
  }

  .card-success-mark path {
    animation: cardSuccessTick 340ms cubic-bezier(0.65, 0, 0.35, 1) 480ms both;
    stroke-dasharray: 34;
    stroke-dashoffset: 34;
  }
}

@keyframes cardSuccessIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardSuccessRing {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cardSuccessTick {
  to {
    stroke-dashoffset: 0;
  }
}

/* Investment stories
 * Palette is restricted to the design-system values listed in the brief.
 * No gold and no negative letter-spacing anywhere in this section.
 */
.story-explorer {
  --story-line: color-mix(in srgb, #003134 12%, transparent);
  --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  border: 1px solid var(--story-line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 1fr);
  margin-top: clamp(64px, 8vw, 110px);
  overflow: hidden;
}

/* ---- left rail ---- */
.story-tabs {
  background: #f6f7f0;
  border-right: 1px solid var(--story-line);
  display: flex;
  flex-direction: column;
  padding: 12px;
  position: relative;
}

.story-rail-indicator {
  background: #003134;
  border-radius: 8px;
  height: var(--ind-h, 0);
  left: 12px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 0;
  transform: translate3d(0, var(--ind-y, 0), 0);
  transition:
    transform 420ms cubic-bezier(0.65, 0, 0.35, 1),
    height 420ms cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}

.story-tabs button,
.story-tabs a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #2b4b4d;
  cursor: pointer;
  display: grid;
  /* Rows share the column evenly so the rail closes with no trailing gap. */
  flex: 1 1 0;
  gap: 4px 14px;
  grid-template-areas:
    "index logo"
    "index name";
  grid-template-columns: 26px minmax(0, 1fr);
  min-height: 0;
  padding: 14px;
  position: relative;
  text-align: left;
  transition: color 0.3s ease;
  z-index: 1;
}

.story-tabs button > span {
  align-self: center;
  grid-area: index;
}

.story-tabs button > img {
  align-self: end;
  grid-area: logo;
  max-height: 22px;
  max-width: 104px;
  object-fit: contain;
  object-position: left bottom;
  width: auto;
}

.story-tabs button > strong {
  align-self: start;
  grid-area: name;
}

/*
 * On the active teal row a dark brand mark disappears, so it renders as a
 * white silhouette. Inactive rows keep the logo in its own colours.
 */
.story-tabs button.is-active > img {
  filter: brightness(0) invert(1);
}

/* The final rail item bottom-aligns so the column closes cleanly. */

.story-tabs span {
  color: #75999b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.story-tabs strong {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.story-tabs small {
  color: #75999b;
  font-size: 0.7rem;
  grid-column: 2;
  margin-top: 2px;
}

.story-tabs button.is-active,
.story-tabs button.is-active span {
  color: #e4e9e9;
}

/* Neon green is reserved for this arrow and nothing else in the section. */
.story-tabs button::after {
  color: #c7ee4e;
  content: "→";
  opacity: 0;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translate3d(-6px, -50%, 0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.story-tabs button.is-active::after,
.story-tabs button:hover::after {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.story-tabs a:hover strong {
  color: #003134;
}

/* ---- right panel ---- */
.story-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.4vw, 48px);
}

.story-panel-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.story-panel-inner > header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.story-sector {
  color: #75999b;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-panel-inner h3 {
  color: #003134;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.004em;
  line-height: 1.2;
  margin: 18px 0 0;
}

.story-body {
  border-top: 1px solid var(--story-line);
  margin-top: 22px;
  padding-top: 22px;
}

.story-label {
  color: #74950e;
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Prose is the card's only content, so it is set to be read, not scanned. */
.story-prose {
  color: #2b4b4d;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  margin: 16px 0 0;
  max-width: 62ch;
}

/*
 * Pinned to the bottom: slack collects above the footer rule rather than
 * trailing under the paragraph.
 */
.story-footer {
  border-top: 1px solid var(--story-line);
  margin-top: auto;
  padding-top: 20px;
}

.story-footer span {
  color: #75999b;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- motion ---- */
@media (prefers-reduced-motion: no-preference) {
  .story-panel-inner {
    transition: opacity 160ms linear;
  }

  .story-panel-inner.is-out {
    opacity: 0;
  }

  .story-panel-inner.is-in {
    animation: storyPanelIn 320ms var(--ease-entrance) 120ms both;
  }

  /* Section entrance: rail items stagger, panel follows. */
  .story-explorer[data-reveal] .story-tabs button {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 420ms var(--ease-entrance),
      transform 420ms var(--ease-entrance);
    transition-delay: calc(var(--i, 0) * 70ms);
  }

  .story-explorer.is-visible .story-tabs button {
    opacity: 1;
    transform: translateY(0);
  }

  .story-explorer[data-reveal] .story-panel {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 520ms var(--ease-entrance),
      transform 520ms var(--ease-entrance);
  }

  .story-explorer.is-visible .story-panel {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes storyPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*
 * Regulatory disclosure. Kept in-section, always rendered, never animated and
 * never collapsed - it must survive a JavaScript failure.
 */
#investment-stories .case-disclosure {
  color: #366063;
  font-size: 14px;
  line-height: 1.65;
  margin-top: 26px;
  max-width: 1000px;
  opacity: 1;
}

/* Desktop: size from the longest thesis, then keep it inside the fold. */
/*
 * Desktop: sized from the longest thesis (HFCL / Time Technoplast measure
 * 505px at 1920px), not from the viewport. dvh, not vh, so mobile Safari does
 * not push the card bottom under the address bar. On a short viewport
 * min-height correctly wins over max-height, so prose is never clipped.
 */
@media (min-width: 900px) {
  .story-explorer {
    max-height: calc(100dvh - 140px);
    min-height: 520px;
  }
}
/*
 * Mobile (<900px): rail becomes a horizontal chip scroller above the panel.
 * Height is auto - with no side-by-side layout there is nothing to align to,
 * and a fixed height would only add dead space under the short cards.
 */
@media (max-width: 899px) {
  .story-explorer {
    display: block;
    min-height: 0;
  }

  .story-tabs {
    border-bottom: 1px solid var(--story-line);
    border-right: 0;
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .story-tabs::-webkit-scrollbar {
    display: none;
  }

  /* The chips carry their own active state on mobile. */
  .story-rail-indicator {
    display: none;
  }

  /* The arrow is a rail affordance; on a compact chip it collides with the label. */
  .story-tabs button::after {
    content: none;
  }

  .story-tabs button,
.story-tabs a {
    align-items: center;
    border: 1px solid var(--story-line);
    border-radius: 20px;
    color: #366063;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 56px;
    padding: 0 18px;
    scroll-snap-align: start;
  }

  .story-tabs button.is-active {
    background: #003134;
    border-color: #003134;
  }

  .story-tabs button.is-active,
.story-tabs button.is-active span,
.story-tabs button.is-active strong {
    color: #e4e9e9;
  }

  .story-tabs small {
    display: none;
  }

  /*
   * Chips are a flex row, so the desktop grid placement has to be undone -
   * otherwise `align-self: end` drops the logo onto the chip's bottom edge.
   * The name stays: several marks are unreadable at chip size on their own.
   */
  .story-tabs button {
    display: flex;
    gap: 10px;
    padding: 8px 16px;
  }

  .story-tabs button > span,
.story-tabs button > img,
.story-tabs button > strong {
    align-self: center;
    grid-area: auto;
  }

  .story-tabs button > img {
    flex: 0 0 auto;
    max-height: 20px;
    max-width: 66px;
  }

  .story-tabs button > strong {
    white-space: nowrap;
  }

  

  .story-panel-inner h3 {
    font-size: 24px;
  }
}

/* Strategy cards */
/*
 * Single horizontally-scrolling rail. Native overflow + scroll-snap only:
 * vertical page scrolling is untouched, and overscroll-behavior-x stops the
 * sideways scroll from chaining into browser back-navigation.
 */
.strategy-grid {
  display: grid;
  gap: 14px;
  grid-auto-columns: clamp(284px, 25vw, 340px);
  grid-auto-flow: column;
  margin-top: clamp(48px, 6vw, 78px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 10px;
  /* Trailing space so the last card can still snap to the start edge. */
  scroll-padding-inline-start: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.strategy-grid::-webkit-scrollbar {
  display: none;
}

.strategy-grid.is-dragging {
  cursor: grabbing;
}

.strategy-grid.is-dragging .strategy-card {
  /* Keep the hover lift from firing mid-drag. */
  transform: none;
}

.strategy-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 0 0 rgba(0, 49, 52, 0);
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(24px, 2.1vw, 30px);
  position: relative;
  scroll-snap-align: start;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.strategy-card::before {
  background: linear-gradient(90deg, var(--gold), var(--lime));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 100%;
  top: 0;
  transition: right 0.45s ease;
}

.strategy-card:hover {
  border-color: rgba(0, 58, 60, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-8px);
}

.strategy-card:hover::before {
  right: 0;
}

.strategy-card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.strategy-card-top > span {
  color: var(--gold);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
}

.strategy-card-top i {
  background: var(--lime-soft);
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.1;
  padding: 7px 12px;
  text-transform: uppercase;
  /* Keep the pill on one line so the label can never clip. */
  white-space: nowrap;
}

.strategy-card h3 {
  color: var(--ink);
  font-size: clamp(1.5rem, 1.9vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.032em;
  line-height: 1.12;
  margin: 26px 0 20px;
}

.strategy-card dl {
  margin: 0;
}

.strategy-card dl > div {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 0.72fr 1.28fr;
  padding: 13px 0;
}

.strategy-card dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.strategy-card dd {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  /* Long values such as the ideal-investor copy wrap instead of clipping. */
  overflow-wrap: anywhere;
  text-align: right;
}

.strategy-card > strong {
  align-items: center;
  display: flex;
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 700;
  gap: 10px;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 22px;
}

/* Custom horizontal scroll indicator under the row. */
.strategy-rail {
  position: relative;
}

.strategy-scrollbar {
  background: rgba(4, 50, 51, 0.1);
  border-radius: 999px;
  height: 6px;
  margin-top: 20px;
  position: relative;
  width: 100%;
}

.strategy-scrollbar[data-scrollable="false"] {
  opacity: 0;
  pointer-events: none;
}

.strategy-scrollbar-thumb {
  background: linear-gradient(90deg, var(--emerald), #1c8f6b);
  border-radius: 999px;
  cursor: grab;
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  touch-action: none;
  transition: background 0.25s ease;
  will-change: transform;
}

.strategy-scrollbar-thumb:hover,
.strategy-scrollbar.is-active .strategy-scrollbar-thumb {
  background: linear-gradient(90deg, #0b574a, #2aa87d);
}

.strategy-scrollbar.is-active .strategy-scrollbar-thumb {
  cursor: grabbing;
}

.strategy-card > strong span {
  color: var(--emerald);
}

/* Fee calculator */
.fee-glow {
  background: radial-gradient(circle, rgba(199, 240, 74, 0.12), transparent 68%);
  height: 900px;
  pointer-events: none;
  position: absolute;
  right: -380px;
  top: 180px;
  width: 900px;
  z-index: -1;
}

.fee-calculator {
  background: rgba(0, 20, 22, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  margin-top: clamp(64px, 8vw, 110px);
  overflow: hidden;
}

.fee-controls {
  padding: clamp(30px, 5vw, 68px);
}

.fee-control-heading {
  align-items: center;
  border-bottom: 1px solid var(--dark-line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
  padding-bottom: 20px;
}

.fee-control-heading strong {
  font-size: 1rem;
}

.fee-control-heading span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.65rem;
}

.range-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 34px;
}

.range-control > span {
  color: rgba(255, 255, 255, 0.59);
  display: flex;
  font-size: 0.71rem;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-bottom: 13px;
}

.range-control > span strong {
  color: var(--white);
  font-size: 0.84rem;
}

.range-control input[type="range"] {
  accent-color: var(--lime);
  cursor: pointer;
  grid-column: 1 / -1;
  width: 100%;
}

.range-control small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.58rem;
  margin-top: 5px;
}

.range-control small:last-child {
  text-align: right;
}

.fee-rate-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.fee-rate-grid > label > span {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  font-size: 0.61rem;
  margin-bottom: 7px;
}

.fee-rate-grid label > div {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  display: flex;
  padding-right: 10px;
}

.fee-rate-grid input {
  background: transparent;
  border: 0;
  color: var(--white);
  min-width: 0;
  padding: 13px;
  width: 100%;
}

.fee-rate-grid input:focus {
  outline: 0;
}

.fee-rate-grid i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.57rem;
  font-style: normal;
  white-space: nowrap;
}

.fee-results {
  background:
    radial-gradient(circle at 100% 0%, rgba(199, 240, 74, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.07);
  border-left: 1px solid var(--dark-line);
  padding: clamp(34px, 5vw, 68px);
}

.fee-result-label {
  color: var(--lime);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fee-net-value {
  display: block;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1;
  margin: 20px 0 12px;
}

.fee-results > p {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.73rem;
}

.fee-results > p strong {
  color: var(--white);
}

.fee-result-grid {
  border-bottom: 1px solid var(--dark-line);
  border-top: 1px solid var(--dark-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0;
}

.fee-result-grid > div {
  padding: 20px 16px 20px 0;
}

.fee-result-grid > div + div {
  border-left: 1px solid var(--dark-line);
  padding-left: 16px;
}

.fee-result-grid span {
  color: rgba(255, 255, 255, 0.42);
  display: block;
  font-size: 0.59rem;
}

.fee-result-grid strong {
  display: block;
  font-size: 1rem;
  margin-top: 6px;
}

.fee-method {
  margin-bottom: 28px;
}

.fee-method > span {
  font-size: 0.71rem;
  font-weight: 800;
}

.fee-method p {
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.67rem;
  line-height: 1.65;
  margin: 7px 0 0;
}

.fee-details {
  border-bottom: 1px solid var(--dark-line);
  margin-top: 30px;
}

.fee-details summary {
  cursor: pointer;
  display: flex;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: space-between;
  list-style: none;
  padding: 20px 0;
}

.fee-details summary::-webkit-details-marker {
  display: none;
}

.fee-details summary i {
  color: var(--lime);
  font-style: normal;
  transition: transform 0.25s ease;
}

.fee-details[open] summary i {
  transform: rotate(45deg);
}

.fee-details > div {
  overflow-x: auto;
}

.fee-details table {
  border-collapse: collapse;
  font-size: 0.62rem;
  min-width: 850px;
  width: 100%;
}

.fee-details th,
.fee-details td {
  border-top: 1px solid var(--dark-line);
  padding: 12px 10px;
  text-align: right;
}

.fee-details th:first-child,
.fee-details td:first-child {
  text-align: left;
}

.fee-details th {
  color: rgba(255, 255, 255, 0.43);
  font-weight: 600;
}

.fee-disclaimer {
  color: rgba(255, 255, 255, 0.4);
  max-width: 950px;
}

/* Team */
.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(64px, 8vw, 110px);
}

.team-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(0, 1.08fr);
  min-height: 470px;
  overflow: hidden;
  transition:
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-7px);
}

.team-photo {
  background: #d8dedb;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.team-photo img {
  filter: saturate(0.84);
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    filter 0.45s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.team-card:hover .team-photo img {
  filter: saturate(1);
  transform: scale(1.035);
}

.team-card-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
}

.team-card-copy h3 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.team-designation {
  color: #2f756d;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.team-card-copy > p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
  margin-top: 28px;
  max-width: 360px;
}

.credential-badges {
  display: grid;
  gap: 10px;
  /*
   * A floor of 150px per badge. The old 1.3fr/1fr split squeezed these below
   * the width of their own logo plus padding, which collapsed the text span to
   * zero and pushed its content outside the border.
   */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 28px;
  max-width: 390px;
}

.credential-badges-single {
  grid-template-columns: minmax(150px, 190px);
}

.alumni-badge {
  align-items: center;
  background: rgba(25, 40, 144, 0.045);
  border: 1px solid rgba(25, 40, 144, 0.14);
  border-radius: 5px;
  display: flex;
  /* If logo + label cannot sit side by side, the label wraps to its own line. */
  flex-wrap: wrap;
  gap: 8px 11px;
  /* Shared floor so every badge matches regardless of its logo's height;
     the box still grows if the label has to wrap on a narrow card. */
  min-height: 60px;
  min-width: 0;
  padding: 12px 13px;
}

.alumni-badge > img {
  flex: 0 0 auto;
  height: 28px;
  /* Capped so the label keeps enough room to stay on one line, which also
     keeps both badges on a card the same height. */
  max-width: 60px;
  object-fit: contain;
  width: auto;
}

.alumni-badge > span {
  display: flex;
  flex: 1 1 72px;
  flex-direction: column;
  /*
   * Floor rather than 0: a zero-width flex item is what let text escape.
   * 72px keeps logo and label on one line at the normal badge width, so both
   * badges match in height; below that the label wraps instead of spilling.
   */
  min-width: 72px;
}

.alumni-badge strong {
  color: #192890;
  font-size: 0.7rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.alumni-badge small {
  color: var(--muted);
  font-size: 0.52rem;
  line-height: 1.25;
  margin-top: 1px;
  overflow-wrap: anywhere;
}

.icai-badge {
  background: rgba(8, 76, 108, 0.045);
  border-color: rgba(8, 76, 108, 0.14);
}

.icai-badge > img {
  border-radius: 4px;
  height: 34px;
  width: 45px;
}

.icai-badge strong {
  color: #084c6c;
}

.team-links {
  display: flex;
  margin-top: auto;
  padding-top: 34px;
}

.team-links a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  width: 44px;
}

.team-links a:hover {
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-3px);
}

.team-links a img {
  height: 22px;
  width: 22px;
}

.team-links a:hover img {
  filter: brightness(0) invert(1);
}

/* Onboarding */
/*
 * Horizontal timeline. Each step owns the line segment running from its own
 * node to the next one, which keeps the line continuous without a separate
 * track element and works unchanged when the row scrolls on mobile.
 */
.onboarding-timeline {
  --node-size: 54px;
  --node-radius: 27px;
  --timeline-gap: clamp(18px, 2.4vw, 34px);
  column-gap: var(--timeline-gap);
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  list-style: none;
  margin: clamp(56px, 6vw, 86px) 0 0;
  padding: 0;
}

.onboarding-timeline li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  position: relative;
}

/*
 * One segment per gap. The node is left-aligned in its column, so the segment
 * starts at the node's right edge and stops at the next node's left edge - it
 * never runs across a circle. The last step draws nothing, so the line does
 * not overhang either end.
 */
.onboarding-timeline li::after {
  background: rgba(199, 240, 74, 0.26);
  content: "";
  height: 1px;
  left: var(--node-size);
  position: absolute;
  top: var(--node-radius);
  width: calc(100% + var(--timeline-gap) - var(--node-size));
  z-index: 0;
}

.onboarding-timeline li:last-child::after {
  content: none;
}

/*
 * Same glow definition as the research cards (shared selector above); this
 * section has body text directly on the background, so the peak is dialled
 * back and the layer sits behind everything.
 */
.onboarding-glow {
  isolation: isolate;
  position: relative;
}

.onboarding-glow-surface {
  display: block;
  opacity: 0.55;
}

.onboarding-node {
  align-items: center;
  border: 1px solid rgba(199, 240, 74, 0.42);
  border-radius: 50%;
  color: var(--lime);
  display: flex;
  flex: 0 0 auto;
  height: var(--node-size);
  justify-content: center;
  /* Above the connector, so the circles interrupt the line rather than the
     other way round. */
  position: relative;
  width: var(--node-size);
  z-index: 1;
}

.onboarding-node svg {
  display: block;
  height: 23px;
  width: 23px;
}

.onboarding-step-index {
  color: var(--lime);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 26px;
}

.onboarding-timeline h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 14px 0 12px;
}

.onboarding-timeline p {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.75rem;
  line-height: 1.7;
  margin: 0;
}

.onboarding-assurances {
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(52px, 5.5vw, 78px);
}

.onboarding-assurances span {
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  min-height: 78px;
  padding: 16px 20px;
  text-align: left;
}

.onboarding-assurances span + span {
  border-left: 1px solid var(--dark-line);
}

.onboarding-assurances svg {
  color: var(--lime);
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: clamp(70px, 10vw, 170px);
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
}

.faq-sticky {
  align-self: start;
  position: sticky;
  top: 130px;
}

.faq-sticky h2 {
  font-size: clamp(2.7rem, 4.5vw, 4.7rem);
}

.faq-sticky .button {
  margin-top: 30px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: clamp(0.88rem, 1.25vw, 1.06rem);
  font-weight: 700;
  justify-content: space-between;
  list-style: none;
  min-height: 88px;
  padding: 18px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  flex: 0 0 auto;
  font-style: normal;
  height: 34px;
  justify-content: center;
  margin-left: 30px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  width: 34px;
}

.faq-list details[open] summary i {
  background: var(--forest);
  color: var(--lime);
  transform: rotate(45deg);
}

.faq-list details > p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 700px;
  padding-right: 60px;
}

/* Final CTA */
.final-cta {
  background:
    radial-gradient(circle at 70% 15%, rgba(199, 240, 74, 0.13), transparent 24%),
    linear-gradient(120deg, #001a1c, #06483e 70%, #0a5a47);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(110px, 13vw, 200px);
  position: relative;
  text-align: center;
}

.final-cta-layout {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.final-cta h2 {
  max-width: 1030px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 650px;
}

.final-cta .button {
  margin-top: 34px;
}

.final-cta small {
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.65rem;
  margin-top: 18px;
}

.orbit-three {
  height: 720px;
  right: -300px;
  top: calc(-290px + var(--page-parallax));
  width: 720px;
}

@keyframes pulse {
  0%,
100% {
    box-shadow: 0 0 0 6px rgba(199, 240, 74, 0.1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(199, 240, 74, 0.02);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes storyFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero-section {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 6.7vw, 5.6rem);
  }

  .founder-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  }

  .strategy-card {
    min-height: 430px;
  }

  .team-card {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (max-width: 960px) {
  .section {
    padding-block: 100px;
  }

  

  

  

  

  

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
    padding-bottom: 0;
  }

  .allocation-card {
    margin-left: auto;
    max-width: 600px;
    min-height: 540px;
    width: 100%;
  }

  .hero-trust-row {
    margin-top: 70px;
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-film {
    max-width: 860px;
  }

  .research-funnel-cards {
    max-width: 920px;
  }


  .strategy-grid {
    grid-auto-columns: clamp(276px, 36vw, 320px);
  }

  .fee-calculator {
    grid-template-columns: 1fr;
  }

  .fee-results {
    border-left: 0;
    border-top: 1px solid var(--dark-line);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: 450px;
  }

  /* Stays one connected row; it just starts scrolling sideways. */
  .onboarding-timeline {
    grid-auto-columns: minmax(212px, 1fr);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .onboarding-timeline::-webkit-scrollbar {
    display: none;
  }

  .onboarding-timeline li {
    scroll-snap-align: start;
  }

  .faq-layout {
    gap: 70px;
    grid-template-columns: 0.75fr 1.25fr;
  }

  
}

@media (max-width: 720px) {
  .pms-shell {
    padding-inline: 20px;
  }

  

  

  

  

  .hero-section {
    padding-top: 100px;
  }

  .hero-copy {
    padding-top: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.85rem);
    margin-top: 28px;
  }

  .hero-copy > p {
    font-size: 0.94rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .allocation-card {
    min-height: 560px;
  }

  .allocation-options.three-up {
    grid-template-columns: 1fr;
  }

  .allocation-body {
    min-height: 430px;
  }

  .hero-trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-trust-row div:nth-child(2) {
    border-right: 0;
  }

  .hero-trust-row div:nth-child(n) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    padding: 20px 14px 20px 0;
  }

  .hero-trust-row div:nth-child(even) {
    padding-left: 18px;
  }

  .section-intro h2,
.editorial-copy h2,
.faq-sticky h2,
.final-cta h2 {
    font-size: clamp(2.65rem, 13vw, 4.25rem);
  }

  .founder-miniatures {
    align-items: flex-start;
    flex-direction: column;
  }

  .film-topline,
.film-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .credential-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential-row > div:nth-child(n) {
    border-bottom: 1px solid var(--line);
    padding: 22px 14px 22px 0;
  }

  .credential-row > div:nth-child(even) {
    border-right: 0;
    padding-left: 20px;
  }

  /*
   * Mobile: gentler taper so the last card stays usable, and the card
   * internals stack so the number and label sit above the dots.
   */
  .research-funnel-cards {
    --funnel-step: 5.5%;
  }

  .research-stage-card {
    border-radius: 14px;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 16px;
  }

  .research-deck-stage {
    min-height: 470px;
  }

  .research-deck-card {
    min-height: 390px;
  }

  .research-deck-card .research-stage-meta strong {
    font-size: 2.8rem;
  }

  .research-deck-card .research-stage-meta small {
    font-size: 0.9rem;
  }

  .research-stage-note {
    font-size: 0.8rem;
    grid-template-columns: 26px minmax(0, 1fr);
    padding-top: 13px;
  }

  .research-stage-note-icon {
    height: 26px;
    width: 26px;
  }

  .research-stage-note-icon svg {
    height: 13px;
    width: 13px;
  }

  .research-deck-button {
    height: 36px;
    width: 36px;
  }

  .research-stage-meta strong {
    font-size: 2.1rem;
  }

  .research-stage-dots {
    gap: 5px;
    grid-template-columns: repeat(var(--dot-columns, 10), 5px);
    justify-content: start;
  }

  .research-legend {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
  }

  .research-legend-item small {
    font-size: 0.6rem;
  }

  .research-legend-item {
    gap: 9px;
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .research-legend-badge {
    height: 26px;
    width: 26px;
  }

  .research-legend-badge svg {
    height: 13px;
    width: 13px;
  }


  /* Mobile: about one card per view, with the next one peeking. */
  .strategy-grid {
    grid-auto-columns: 78vw;
  }

  .strategy-card {
    min-height: 420px;
  }

  .fee-rate-grid {
    grid-template-columns: 1fr;
  }

  .fee-controls,
.fee-results {
    padding: 28px 20px;
  }

  .fee-net-value {
    font-size: 3.2rem;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-photo {
    min-height: 350px;
  }

  /* Roughly one node per view, with the next one peeking. */
  .onboarding-timeline {
    --timeline-gap: 16px;
    grid-auto-columns: 62vw;
  }

  .onboarding-assurances {
    grid-template-columns: minmax(0, 1fr);
  }

  .onboarding-assurances span {
    justify-content: flex-start;
    min-height: 64px;
  }

  .onboarding-assurances span + span {
    border-left: 0;
    border-top: 1px solid var(--dark-line);
  }

  .faq-layout {
    display: block;
  }

  .faq-sticky {
    margin-bottom: 60px;
    position: static;
  }

  .faq-list details > p {
    padding-right: 0;
  }

  

  

  
}

@media (max-width: 430px) {
  .hero-badge {
    font-size: 0.62rem;
  }

  .hero-copy h1 {
    font-size: 3.15rem;
  }

  .allocation-card > footer {
    gap: 8px 12px;
  }

  .credential-row {
    grid-template-columns: 1fr;
  }

  .credential-row > div:nth-child(n) {
    border-right: 0;
    padding-left: 0;
  }

  .strategy-card {
    padding: 22px 20px;
  }


  .team-photo {
    min-height: 310px;
  }

  

  
}

@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-ring,
.ambient-orbit {
    transform: none !important;
  }
}

/*
 * Port-only rules.
 *
 * The React original mounted one story panel / one form step at a time. This
 * port renders them all and toggles the [hidden] attribute instead, so the
 * UA's [hidden] display:none has to be restated - a class rule outranks it.
 */
.story-panel-inner[hidden],
.card-success[hidden] {
  display: none;
}
