/* =============================================
   FUNDAMENT CAPITAL — OUR HISTORY
   Shared styles for the three "Our History" layouts
   (page-history-a.php / -b.php / -c.php)
   Prefix: .fh-
   ============================================= */

.fh-page {
  --fh-line: rgba(255, 255, 255, 0.18);
  --fh-muted: rgba(255, 255, 255, 0.68);
  overflow-x: clip;
}

/* ─────────────────────────────────────────────
   SHARED — hero tweaks, eyebrow, buttons, utilities
───────────────────────────────────────────── */
.fh-hero .fc-hero__overlay,
.fh-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 26, 80, 0.15) 0%, rgba(0, 26, 80, 0.55) 55%, rgba(0, 41, 124, 1) 100%);
  pointer-events: none;
}
.fh-hero .fc-hero__content {
  text-align: left;
}
.fh-hero .fc-hero__title {
  font-size: clamp(40px, 6vw, 96px);
  text-transform: uppercase;
}

.fh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fh-muted);
  margin-bottom: 20px;
}
.fh-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.fh-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 60px);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--white);
}

.fh-text {
  font-size: 14px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--fh-muted);
}
.fh-text + .fh-text {
  margin-top: 16px;
}

/* Scroll cue */
.fh-scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.fh-scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 1px;
  height: 50%;
  background: var(--white);
  animation: fh-cue 2.2s var(--ease-in-out) infinite;
}
@keyframes fh-cue {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* Generic in-view animation hooks (history.js adds .is-in)
   Image wipe = a curtain (::after) that slides off the image. The image itself
   is never clipped, so IntersectionObserver can always see it. Only active once
   history.js has run (html.fh-js), so images are visible if JS fails. */
[data-fh="clip"],
[data-fh="clip-up"] {
  position: relative;
  overflow: hidden;
}
.fh-js [data-fh="clip"]::after,
.fh-js [data-fh="clip-up"]::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  background: var(--fh-curtain, var(--navy));
  transform-origin: right center;
  transition: transform 1.3s var(--ease-in-out);
  pointer-events: none;
}
.fh-js [data-fh="clip-up"]::after {
  transform-origin: center top;
}
.fh-js [data-fh="clip"].is-in::after {
  transform: scaleX(0);
}
.fh-js [data-fh="clip-up"].is-in::after {
  transform: scaleY(0);
}
.fh-b-body {
  --fh-curtain: var(--cream);
}
.fh-js [data-fh="line"] {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out);
}
[data-fh="line"].is-in {
  transform: scaleX(1);
}

/* Parallax image wrapper */
.fh-parallax {
  position: relative;
  overflow: hidden;
}
.fh-parallax img,
.fh-parallax .fh-parallax__img {
  position: absolute;
  left: 0;
  width: 100%;
  top: -12%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

/* Institution marquee */
.fh-marquee {
  border-top: 1px solid var(--fh-line);
  border-bottom: 1px solid var(--fh-line);
  padding: 34px 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.fh-marquee__track {
  display: flex;
  width: max-content;
  animation: fh-marquee 38s linear infinite;
}
.fh-marquee:hover .fh-marquee__track {
  animation-play-state: paused;
}
.fh-marquee__item {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 46px);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 80px;
}
.fh-marquee__item::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}
@keyframes fh-marquee {
  to { transform: translateX(-50%); }
}

/* Closing statement */
.fh-closing {
  text-align: center;
  padding: 120px var(--gutter) 140px;
  max-width: 980px;
  margin: 0 auto;
}
.fh-closing__mark {
  display: block;
  width: 1px;
  height: 72px;
  margin: 0 auto 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6));
}
.fh-closing__text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1.5;
  color: var(--white);
}
.fh-closing__pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 44px 0 48px;
}
.fh-closing__pillars li {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--fh-line);
  border-radius: 1rem;
  padding: 10px 18px;
  color: var(--fh-muted);
}
.fh-closing__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Counter */
.fh-stat__num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.fh-stat__label {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fh-muted);
  line-height: 1.6;
}

/* Image hover-reveal block (mirrors the Firm Overview pattern, with mobile fallback) */
.fh-reveal-block {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fh-reveal-block__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-slow) var(--ease-out);
}
.fh-reveal-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.5s var(--ease-out);
  pointer-events: none;
}
.fh-reveal-block:hover::after {
  background: linear-gradient(to right, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 88%) 100%);
}
.fh-reveal-block:hover .fh-reveal-block__bg {
  transform: scale(1.04);
}
.fh-reveal-block__heading {
  position: relative;
  z-index: 1;
  text-align: center;
  transition: transform 0.5s var(--ease-out);
}
.fh-reveal-block__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 68px);
  line-height: 1.05;
  text-transform: uppercase;
  transition: font-size 0.45s var(--ease-out);
}
.fh-reveal-block__hint {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fh-muted);
  transition: opacity 0.3s;
}
.fh-reveal-block:hover .fh-reveal-block__heading {
  transform: translateX(-230px);
}
.fh-reveal-block:hover .fh-reveal-block__title {
  font-size: 2.6vw;
}
.fh-reveal-block:hover .fh-reveal-block__hint {
  opacity: 0;
}
.fh-reveal-block__panel {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 50%;
  width: 520px;
  padding: 2.5rem;
  opacity: 0;
  transform: translateY(-50%) translateX(60px);
  transition: opacity 0.5s var(--ease-out) 0.1s, transform 0.5s var(--ease-out) 0.1s;
  pointer-events: none;
}
.fh-reveal-block:hover .fh-reveal-block__panel {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
.fh-reveal-block__panel p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}
.fh-reveal-block__panel p + p {
  margin-top: 14px;
}

/* ═════════════════════════════════════════════
   LAYOUT A — THE TIMELINE
═════════════════════════════════════════════ */
.fh-a .fc-intro__text {
  max-width: 980px;
}

.fh-timeline {
  position: relative;
  padding: 40px 0 120px;
}
.fh-timeline__head {
  text-align: center;
  margin-bottom: 90px;
}
.fh-timeline__head .fh-eyebrow::before {
  display: none;
}
.fh-timeline__list {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
/* centre rail + progress fill */
.fh-timeline__rail,
.fh-timeline__fill {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  transform: translateX(-50%);
}
.fh-timeline__rail {
  bottom: 0;
  background: var(--fh-line);
}
.fh-timeline__fill {
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), var(--white));
  transform-origin: top;
  transform: translateX(-50%) scaleY(var(--fh-progress, 0));
}

.fh-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
  margin-bottom: 110px;
}
.fh-tl-item:last-child {
  margin-bottom: 0;
}
.fh-tl-item__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: background 0.5s, box-shadow 0.5s, transform 0.5s var(--ease-out);
  z-index: 2;
}
.fh-tl-item.is-in .fh-tl-item__dot {
  background: var(--white);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}
.fh-tl-item__year {
  font-family: var(--font-serif);
  font-size: clamp(54px, 7vw, 112px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
  text-align: right;
  transition: color 0.9s var(--ease-out), -webkit-text-stroke-color 0.9s;
}
.fh-tl-item.is-in .fh-tl-item__year {
  color: rgba(255, 255, 255, 0.06);
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.85);
}
.fh-tl-item__year small {
  display: block;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  -webkit-text-stroke: 0;
  color: var(--fh-muted);
}
.fh-tl-item__card {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease-out) 0.1s, transform 0.9s var(--ease-out) 0.1s;
}
.fh-tl-item.is-in .fh-tl-item__card {
  opacity: 1;
  transform: none;
}
.fh-tl-item__card h3 {
  font-size: clamp(20px, 2vw, 30px);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.fh-tl-item__img {
  height: 220px;
  margin-bottom: 26px;
  border-radius: 5px;
}

/* alternate sides */
.fh-tl-item--alt .fh-tl-item__year {
  order: 2;
  text-align: left;
}
.fh-tl-item--alt .fh-tl-item__card {
  order: 1;
  text-align: right;
  transform: translateX(-40px);
}
.fh-tl-item--alt.is-in .fh-tl-item__card {
  transform: none;
}

/* "Today" highlight */
.fh-tl-item--today .fh-tl-item__dot {
  width: 22px;
  height: 22px;
}
.fh-tl-item--today.is-in .fh-tl-item__dot {
  animation: fh-pulse 2.4s ease-out infinite;
}
@keyframes fh-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  100% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); }
}
.fh-aum {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}
.fh-aum .fh-stat__num {
  font-size: clamp(44px, 5.5vw, 84px);
}

.fh-a-careers {
  padding: 30px 0 110px;
}
.fh-a-careers__label {
  text-align: center;
  margin-bottom: 30px;
}
.fh-a-careers__label .fh-eyebrow::before {
  display: none;
}

/* ═════════════════════════════════════════════
   LAYOUT B — EDITORIAL CHAPTERS
═════════════════════════════════════════════ */
.fh-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--fh-line);
  border-bottom: 1px solid var(--fh-line);
}
.fh-stats__item {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid var(--fh-line);
}
.fh-stats__item:last-child {
  border-right: 0;
}

.fh-b-body {
  background: var(--cream);
  color: var(--text-dark);
}
.fh-b-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 90px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter);
}
.fh-b-nav {
  position: sticky;
  top: 140px;
  align-self: start;
}
.fh-b-nav__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 41, 124, 0.55);
  margin-bottom: 24px;
}
.fh-b-nav__list {
  position: relative;
  border-left: 1px solid var(--border-navy);
}
.fh-b-nav__bar {
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--navy);
  transform-origin: top;
  transform: scaleY(var(--fh-progress, 0));
}
.fh-b-nav__list a {
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 12px 0 12px 22px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: rgba(0, 41, 124, 0.4);
  transition: color 0.35s, padding 0.35s var(--ease-out);
}
.fh-b-nav__list a span {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding-top: 5px;
}
.fh-b-nav__list a:hover,
.fh-b-nav__list a.is-active {
  color: var(--navy);
}
.fh-b-nav__list a.is-active {
  padding-left: 30px;
}

.fh-chapter {
  padding-bottom: 110px;
  scroll-margin-top: 140px;
}
.fh-chapter:last-child {
  padding-bottom: 0;
}
.fh-chapter__num {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(0, 41, 124, 0.55);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.fh-chapter__num i {
  display: block;
  flex: 0 0 60px;
  height: 1px;
  background: var(--navy);
  opacity: 0.4;
}
.fh-chapter__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 62px);
  line-height: 1.05;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 40px;
  max-width: 820px;
}
.fh-chapter__body {
  max-width: 720px;
}
.fh-chapter__body p {
  font-size: 15.5px;
  line-height: 1.9;
  color: #2c3550;
}
.fh-chapter__body p + p {
  margin-top: 20px;
}
.fh-dropcap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 88px;
  line-height: 0.8;
  padding: 8px 14px 0 0;
  color: var(--navy);
}
.fh-chapter__figure {
  height: clamp(280px, 42vw, 520px);
  margin: 56px 0;
  border-radius: 5px;
}
.fh-pullquote {
  margin: 56px 0;
  padding: 8px 0 8px 36px;
  border-left: 2px solid var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.4;
  color: var(--navy);
  max-width: 760px;
}
.fh-institutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-navy);
  border-left: 1px solid var(--border-navy);
  margin: 44px 0 52px;
}
.fh-institutions li {
  border-right: 1px solid var(--border-navy);
  border-bottom: 1px solid var(--border-navy);
  padding: 30px 20px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--navy);
  transition: background 0.4s, color 0.4s;
}
.fh-institutions li:hover {
  background: var(--navy);
  color: var(--white);
}
.fh-milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.fh-milestone {
  background: var(--white);
  padding: 34px 28px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.fh-milestone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.fh-milestone:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 41, 124, 0.1);
}
.fh-milestone:hover::before {
  transform: scaleX(1);
}
.fh-milestone__year {
  font-family: var(--font-serif);
  font-size: 44px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 14px;
}
.fh-milestone p {
  font-size: 13px;
  line-height: 1.7;
  color: #2c3550;
}
.fh-b-aum {
  background: var(--navy);
  color: var(--white);
  border-radius: 5px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  margin: 48px 0 0;
}
.fh-b-aum p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

/* ═════════════════════════════════════════════
   LAYOUT C — HORIZONTAL JOURNEY
═════════════════════════════════════════════ */
.fh-founders {
  padding: 120px 0 110px;
}
.fh-founders__intro {
  max-width: 820px;
  margin: 0 auto 80px;
  text-align: center;
}
.fh-founders__intro .fh-eyebrow::before {
  display: none;
}
.fh-founders__intro p {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.55;
  margin-top: 10px;
}
.fh-founders__pair {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.fh-founder {
  border: 1px solid var(--fh-line);
  border-radius: 5px;
  padding: 44px 40px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.5s, border-color 0.5s, transform 0.5s var(--ease-out);
}
.fh-founder:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-6px);
}
.fh-founder__mono {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 28px;
}
.fh-founder__name {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 32px);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.fh-founder__creds li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fh-muted);
  padding: 10px 0;
  border-top: 1px solid var(--fh-line);
}
.fh-founders__link {
  position: relative;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fh-founders__link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-in-out) 0.3s;
}
.fh-founders__pair.is-in .fh-founders__link::before {
  transform: scaleX(1);
}
.fh-founders__badge {
  position: relative;
  background: var(--navy);
  padding: 0 14px;
  opacity: 0;
  transition: opacity 0.6s 1.2s;
}
.fh-founders__pair.is-in .fh-founders__badge {
  opacity: 1;
}
.fh-founders__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400 !important;
  font-size: 54px;
  line-height: 1;
}
.fh-founders__badge span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fh-muted);
}

/* pinned horizontal scroller */
.fh-hscroll {
  position: relative;
  /* height set by JS = track width */
}
.fh-hscroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fh-hscroll__track {
  display: flex;
  gap: 0;
  will-change: transform;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.fh-panel {
  flex: 0 0 auto;
  width: min(78vw, 1040px);
  height: min(64vh, 560px);
  margin-right: 48px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 5px;
  overflow: hidden;
  background: var(--navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fh-panel--intro {
  width: min(46vw, 560px);
  background: transparent;
  border: 0;
  grid-template-columns: 1fr;
  align-content: center;
}
.fh-panel__media {
  position: relative;
  overflow: hidden;
}
.fh-panel__media img {
  position: absolute;
  inset: 0;
  width: 115%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.fh-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 26, 80, 0) 50%, rgba(0, 26, 80, 0.85) 100%);
}
.fh-panel__body {
  padding: 48px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.fh-panel__year {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 80px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}
.fh-panel__idx {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fh-muted);
  margin-bottom: 16px;
}
.fh-panel__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 34px);
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 20px;
}
.fh-panel__body p {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}
.fh-panel__body p + p {
  margin-top: 12px;
}
.fh-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.fh-panel__tags li {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--fh-line);
  border-radius: 1rem;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.8);
}
.fh-hscroll__progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 46px var(--gutter) 0;
  padding-top: 18px;
}
.fh-hscroll__progress::before,
.fh-hscroll__progress-fill {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--fh-line);
}
.fh-hscroll__progress-fill {
  background: var(--white);
  transform-origin: left;
  transform: scaleX(var(--fh-progress, 0));
}
.fh-hscroll__progress span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}
.fh-hscroll__progress span.is-active {
  color: var(--white);
}

.fh-c-aum {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 5px;
}
.fh-c-aum__bg {
  position: absolute;
  inset: 0;
}
.fh-c-aum__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 26, 80, 0.92) 0%, rgba(0, 26, 80, 0.55) 60%, rgba(0, 26, 80, 0.2) 100%);
}
.fh-c-aum__content {
  position: relative;
  z-index: 1;
  padding: 80px;
  max-width: 720px;
}
.fh-c-aum .fh-stat__num {
  font-size: clamp(64px, 10vw, 150px);
  margin: 6px 0 18px;
}
.fh-licences {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.fh-licences li {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* hover-reveal → stacked */
  .fh-reveal-block {
    flex-direction: column;
    padding: 64px 28px;
    min-height: auto;
  }
  .fh-reveal-block::after {
    background: rgba(0, 10, 40, 0.72);
  }
  .fh-reveal-block:hover .fh-reveal-block__heading {
    transform: none;
  }
  .fh-reveal-block:hover .fh-reveal-block__title {
    font-size: clamp(26px, 4.4vw, 68px);
  }
  .fh-reveal-block__hint {
    display: none;
  }
  .fh-reveal-block__panel {
    position: relative;
    width: 100%;
    max-width: 640px;
    padding: 28px 0 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .fh-reveal-block:hover .fh-reveal-block__panel {
    transform: none;
  }

  .fh-b-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 80px var(--gutter);
  }
  .fh-b-nav {
    display: none;
  }
  .fh-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .fh-stats__item:nth-child(2) {
    border-right: 0;
  }
  .fh-stats__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--fh-line);
  }

  .fh-founders__pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .fh-founders__link {
    height: 140px;
  }
  .fh-founders__link::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    transform: scaleY(0);
  }
  .fh-founders__pair.is-in .fh-founders__link::before {
    transform: scaleY(1);
  }

  /* horizontal → vertical stack */
  .fh-hscroll {
    height: auto !important;
  }
  .fh-hscroll__sticky {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 40px 0 80px;
  }
  .fh-hscroll__track {
    flex-direction: column;
    transform: none !important;
    padding: 0 var(--gutter);
    gap: 28px;
  }
  .fh-panel,
  .fh-panel--intro {
    width: 100%;
    height: auto;
    margin: 0;
    grid-template-columns: 1fr;
  }
  .fh-panel__media {
    height: 240px;
  }
  .fh-panel__media img {
    width: 100%;
    transform: none !important;
  }
  .fh-hscroll__progress {
    display: none;
  }
  .fh-c-aum__content {
    padding: 56px 28px;
  }
  .fh-b-aum {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .fh-timeline__rail,
  .fh-timeline__fill {
    left: 7px;
  }
  .fh-tl-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 40px;
    margin-bottom: 72px;
  }
  .fh-tl-item__dot {
    left: 7px;
    top: 22px;
  }
  .fh-tl-item__year,
  .fh-tl-item--alt .fh-tl-item__year {
    order: 0;
    text-align: left;
  }
  .fh-tl-item--alt .fh-tl-item__card {
    order: 0;
    text-align: left;
    transform: translateX(20px);
  }
  .fh-tl-item__card {
    transform: translateX(20px);
  }
  .fh-institutions {
    grid-template-columns: repeat(2, 1fr);
  }
  .fh-milestones {
    grid-template-columns: 1fr;
  }
  .fh-stats__item {
    padding: 40px 16px;
  }
  .fh-closing {
    padding: 90px 24px 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fh-page *,
  .fh-page *::before,
  .fh-page *::after {
    animation: none !important;
    transition: none !important;
  }
  .fh-js [data-fh="clip"]::after,
  .fh-js [data-fh="clip-up"]::after {
    display: none;
  }
  .fh-js [data-fh="line"] {
    transform: none;
  }
  .fh-tl-item__card {
    opacity: 1;
    transform: none;
  }
}

/* Stats band sizing (Layout B) */
.fh-stats .fh-stat__num {
  font-size: clamp(30px, 3.6vw, 58px);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────
   LAYOUT D — hero + text sections
───────────────────────────────────────────── */
.fh-d-hero {
  min-height: 100vh;
  padding-bottom: 90px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.fh-d-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(89deg, rgb(2 21 62 / 87%) 0%, rgb(1 26 76 / 94%) 100%);
}
.fh-d-hero__content {
  text-align: left;
}
.fh-d-hero__title {
  font-size: clamp(44px, 7vw, 110px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.fh-d-hero__sub {
  font-size: clamp(14px, 1.3vw, 19px);
  max-width: 920px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.fh-d-body {
  background: var(--cream);
  color: var(--navy);
  padding: 140px 0 160px;
}
.fh-d-section + .fh-d-section {
  margin-top: 150px;
}
.fh-d-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 64px);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--text-dark);
  border-left: 2px solid var(--text-dark);
  padding-left: 40px;
  margin-bottom: 70px;
}
.fh-d-text {
  max-width: 1200px;
}
.fh-d-text p {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.75vw, 26px);
  line-height: 1.55;
  color: var(--navy);
  hyphens: auto;
  -webkit-hyphens: auto;
}
.fh-d-text p + p {
  margin-top: 1.6em;
}

@media (max-width: 767px) {
  .fh-d-hero {
    min-height: 60vh;
    padding-bottom: 60px;
  }
  .fh-d-body {
    padding: 80px 0 100px;
  }
  .fh-d-section + .fh-d-section {
    margin-top: 90px;
  }
  .fh-d-heading {
    padding-left: 20px;
    margin-bottom: 40px;
  }
  .fh-d-heading br {
    display: none;
  }
}
