/* Capri Global Ventures — design system (ported from theme.css + views) */

:root {
  --font-family-primary: 'Fustat', sans-serif;

  --font-size-10: 10px;
  --font-size-12: 12px;
  --font-size-14: 14px;
  --font-size-16: 16px;
  --font-size-18: 18px;
  --font-size-20: 20px;
  --font-size-24: 24px;
  --font-size-28: 28px;
  --font-size-40: 40px;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --purple-50: #f1f0fe;
  --purple-100: #f2e0fc;
  --purple-200: #e8d5f9;
  --purple-300: #d8c8f5;
  --purple-400: #b395e6;
  --purple-500: #a395e6;
  --purple-600: #8a42a0;
  --purple-700: #7763b5;
  --purple-800: #683495;
  --purple-900: #512a74;
  --purple-950: #371457;

  --blue-500: #87c6f4;
  --green-500: #89d092;
  --red-500: #ff7777;
  --yellow-500: #ffd770;

  --neutral-white: #ffffff;
  --neutral-grey-200: #f2f2f2;
  --neutral-grey-300: #e9e9ea;
  --neutral-grey-400: #cfcfd4;
  --neutral-grey-500: #9090a9;
  --neutral-grey-600: #4a4a58;
  --neutral-grey-700: #4d4d5b;
  --neutral-grey-800: #323333;
  --neutral-black: #0b070d;

  --brand-primary: var(--purple-900);
  --brand-light: var(--purple-50);
  --brand-dark: var(--purple-900);
  --brand-hover: var(--purple-700);

  --bg-page: var(--neutral-white);
  --bg-alt: #faf8fc;
  --text-heading: var(--neutral-black);
  --text-body: var(--neutral-grey-800);
  --text-secondary: var(--neutral-grey-600);
  --text-on-brand: var(--neutral-white);

  --header-h: 84px;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  /* Figma motion/react whileHover feel — slower than a snappy CSS spring */
  --hover-duration: 0.5s;
  --hover-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0.625rem;
  --container: 1440px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-family-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
}

/* ── Layout ─────────────────────────────────────────── */

/* Container — Figma: max-w-[1440px] px-6 md:px-10 lg:px-14 */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 56px;
    padding-right: 56px;
  }
}

.page-main {
  min-height: 40vh;
}

/* ── Animations ─────────────────────────────────────── */

.anim-page {
  animation: pageFadeUp 0.35s var(--ease-out-expo) both;
}

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

.anim-kenburns {
  animation: kenburns 1.4s var(--ease-out-expo) both;
}

/* About hero — Figma: scale 1.08, duration 1.2s */
.anim-kenburns--about {
  animation: kenburnsAbout 1.2s var(--ease-out-expo) both;
}

@keyframes kenburns {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes kenburnsAbout {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.anim-gold-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 215, 112, 0.22) 50%,
    transparent 70%
  );
  animation: goldSweep 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

@keyframes goldSweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

.anim-underline {
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition:
    transform 0.55s var(--ease-out-expo),
    opacity 0.55s var(--ease-out-expo);
}

.anim-underline.is-visible,
.reveal.is-visible .anim-underline {
  transform: scaleX(1);
  opacity: 1;
}

.anim-underline--hero {
  animation: underlineDraw 0.7s var(--ease-out-expo) 0.5s both;
}

@keyframes underlineDraw {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.card-lift {
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease),
    background-color var(--hover-duration) var(--hover-ease);
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(81, 42, 116, 0.12);
}

/* Rounded wrapper so hover shadow matches .biz-card corners (no sharp peek) */
.card-lift:has(> .biz-card) {
  border-radius: 16px;
}

.card-lift:has(> .biz-card):hover {
  box-shadow: none;
}

.card-lift:has(> .biz-card):hover > .biz-card {
  box-shadow: 0 20px 44px rgba(81, 42, 116, 0.12);
}

.arrow-bounce {
  display: inline-flex;
  animation: arrowBounce 1.6s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .anim-page,
  .anim-kenburns,
  .anim-kenburns--about,
  .anim-gold-sweep,
  .anim-underline,
  .anim-underline--hero,
  .site-header,
  .nav-desktop a,
  .logo-link {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .arrow-bounce {
    animation: none;
  }
}

/* ── Typography ─────────────────────────────────────── */

.display-h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.05;
  letter-spacing: -2px;
}

.display-h1--lg {
  font-size: clamp(28px, 4.5vw, 56px);
}

.display-h1--about {
  font-size: clamp(26px, 4vw, 52px);
  letter-spacing: -1.5px;
}

.display-h1--light {
  color: #fff;
}

.section-heading {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.section-heading--lg {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-heading--light {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--yellow-500);
}

.eyebrow--plain {
  display: inline-block;
  margin-bottom: 20px;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--light {
  color: rgba(255, 215, 112, 0.85);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--yellow-500);
}

.lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--neutral-grey-600);
  line-height: 1.8;
  font-weight: 400;
}

.body-lg {
  font-size: 17px;
  color: var(--neutral-grey-600);
  line-height: 1.85;
  font-weight: 400;
}

/* ── Buttons / links ────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.04);
}

.btn:active {
  transform: scale(0.97);
}

.btn-dark:hover {
  transform: translateY(-3px) scale(1.04);
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--purple-800);
}

.btn-dark {
  background: var(--purple-950);
  color: #fff;
  font-weight: 700;
  padding: 16px 28px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
}

.btn-link:hover {
  opacity: 0.85;
}

.btn-link--yellow {
  color: var(--yellow-500);
}

.btn-link svg,
.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Gold accents ───────────────────────────────────── */

/* Figma SectionHeading underline: full parent width, yellow → transparent */
.gold-bar {
  height: 3px;
  width: 100%;
  max-width: 100%;
  border-radius: 999px;
  /* rgba fade — plain `transparent` muddies the fade in some browsers */
  background: linear-gradient(90deg, var(--yellow-500) 0%, rgba(255, 215, 112, 0) 100%);
  margin-top: 12px;
  transform-origin: left;
}

.gold-bar--sm {
  width: 80px;
}

.gold-bar--md {
  width: 100%;
  max-width: 420px;
  margin-top: 12px;
}

.gold-bar--wide {
  width: 100%;
  max-width: none;
}

.gold-bar--center {
  margin-left: auto;
  margin-right: auto;
  width: 80px;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 112, 0),
    var(--yellow-500),
    rgba(255, 215, 112, 0)
  );
}

.gold-divider {
  padding: 0;
}

.gold-divider .container > div,
.gold-divider-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--brand-primary) 30%,
    var(--yellow-500) 70%,
    transparent
  );
}

.hero-strip {
  height: 6px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--brand-primary),
    var(--yellow-500),
    var(--brand-primary)
  );
}

.hero-strip--dark {
  background: linear-gradient(90deg, var(--yellow-500), var(--brand-primary), #1a0a2e);
}

/* ── Header / Nav ───────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
  animation: headerSlideIn 0.5s var(--ease-out-expo) both;
}

@keyframes headerSlideIn {
  from {
    transform: translateY(-80px);
  }
  to {
    transform: translateY(0);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.header-inner .nav-desktop {
  flex: 1;
  min-width: 0;
}

.header-inner .logo-link {
  margin-left: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2px;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  position: relative;
  display: block;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-grey-700);
  white-space: nowrap;
  transition: color 0.2s ease;
  animation: navLinkIn 0.4s var(--ease-out-expo) both;
}

.nav-desktop a:nth-child(1) { animation-delay: 0s; }
.nav-desktop a:nth-child(2) { animation-delay: 0.05s; }
.nav-desktop a:nth-child(3) { animation-delay: 0.1s; }
.nav-desktop a:nth-child(4) { animation-delay: 0.15s; }
.nav-desktop a:nth-child(5) { animation-delay: 0.2s; }
.nav-desktop a:nth-child(6) { animation-delay: 0.25s; }

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

.nav-desktop a:hover {
  color: var(--brand-primary);
}

.nav-desktop a.is-active {
  color: var(--brand-primary);
  font-weight: 600;
}

.nav-desktop a.is-active::after {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-primary);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: logoFadeIn 0.5s ease both;
}

@keyframes logoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-link:active {
  transform: scale(0.97);
}

.logo-link svg {
  display: block;
  height: 68px;
  width: auto;
  max-width: min(220px, 42vw);
}

@media (max-width: 480px) {
  .logo-link svg {
    height: 48px;
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  color: var(--neutral-grey-800);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.is-open .icon-menu {
  display: none;
}

.nav-toggle.is-open .icon-close {
  display: block;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--neutral-grey-300);
  padding-bottom: 16px;
}

.nav-mobile.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile a {
  display: block;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-grey-700);
}

.nav-mobile a.is-active {
  color: var(--brand-primary);
}

.nav-mobile .logo-link {
  margin-top: 16px;
  padding-left: 8px;
}

.nav-mobile .logo-link svg {
  height: 36px;
}

/* ── Sections ───────────────────────────────────────── */

.section {
  padding: 40px 0;
  background: #fff;
}

@media (min-width: 768px) {
  .section {
    padding: 56px 0;
  }
}

.section-alt {
  background: var(--bg-alt);
}

.section-brand {
  position: relative;
  overflow: hidden;
  background: var(--brand-primary);
  color: #fff;
}

.section-pad-lg {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .section-pad-lg {
    padding: 64px 0;
  }
}

.quote-border {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--yellow-500);
  font-size: 17px;
  color: var(--neutral-grey-600);
  line-height: 1.85;
  font-weight: 400;
}

/* ── Hero banner ────────────────────────────────────── */

.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding-top: var(--header-h);
}

.hero-banner__media {
  position: relative;
  overflow: hidden;
}

.hero-banner__media img {
  width: 100%;
  max-height: calc(100vh - var(--header-h));
  object-fit: cover;
  object-position: center;
}

.hero-content {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 56px 0;
  }
}

.hero-content .btn {
  margin-top: 24px;
}

/* Text hero (no image) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-top: var(--header-h);
}

.page-hero__glow {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(81, 42, 116, 0.08) 0%,
    transparent 60%
  );
}

.page-hero__inner {
  position: relative;
  /* vertical only — keep .container horizontal padding */
  padding-top: 56px;
  padding-bottom: 64px;
}

.page-hero--dark {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #3d1e60 55%, #1a0a2e 100%);
}

.page-hero--dark .page-hero__glow {
  background: radial-gradient(
    circle at 80% 20%,
    rgba(255, 215, 112, 0.14) 0%,
    transparent 60%
  );
}

/* ── Cards / grids ──────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.biz-card {
  display: block;
  height: 100%;
  border-radius: 16px;
  background: #fff;
  padding: 28px;
  border: 1.5px solid var(--neutral-grey-300);
  box-shadow: none;
  transition:
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}

.biz-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yellow-500) 0%, rgba(255, 215, 112, 0.35) 100%);
  color: var(--brand-primary);
}

.biz-card__icon svg {
  width: 20px;
  height: 20px;
}

.biz-card h3 {
  margin-bottom: 10px;
  color: var(--neutral-grey-800);
  font-size: 18px;
  font-weight: 700;
}

.biz-card p {
  font-size: 14px;
  color: var(--neutral-grey-600);
  line-height: 1.7;
  font-weight: 400;
}

.biz-card .btn-link {
  margin-top: 20px;
}

.biz-card .btn-link svg {
  width: 12px;
  height: 12px;
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 8px;
  align-items: start;
}

@media (min-width: 768px) {
  .founder-grid {
    grid-template-columns: 3fr 9fr;
    gap: 56px;
  }
}

.founder-photo {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  border: 2px solid rgba(81, 42, 116, 0.18);
  box-shadow: 0 4px 18px rgba(81, 42, 116, 0.08);
  position: relative;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.founder-meta {
  margin-top: 12px;
}

.founder-meta .name {
  color: var(--neutral-grey-800);
  font-weight: 700;
  font-size: 14px;
}

.founder-meta .role {
  color: var(--neutral-grey-500);
  font-size: 12px;
  margin-top: 1px;
  font-weight: 400;
}

.founder-quote {
  font-size: clamp(16px, 1.8vw, 21px);
  color: var(--neutral-grey-700);
  line-height: 1.85;
  font-weight: 400;
}

/* Stats */
.stats-glow {
  pointer-events: none;
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  background: radial-gradient(circle, var(--yellow-500) 0%, transparent 70%);
}

.stats-glow--tr {
  top: 0;
  right: 0;
  width: 256px;
  height: 256px;
  transform: translate(30%, -30%);
}

.stats-glow--bl {
  bottom: 0;
  left: 0;
  width: 192px;
  height: 192px;
  transform: translate(-30%, 30%);
}

.stats-head {
  text-align: center;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .stats-grid > * {
    padding: 0 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stats-grid > *:last-child {
    border-right: none;
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--yellow-500);
  color: var(--brand-primary);
}

.stat-card__icon svg {
  width: 20px;
  height: 20px;
}

.stat-card__num {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}

.stat-card__label {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ESG focus */
.focus-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid var(--neutral-grey-300);
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease),
    background-color var(--hover-duration) var(--hover-ease);
}

.focus-card:hover {
  border-color: var(--yellow-500);
  background: var(--purple-50);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(81, 42, 116, 0.1);
}

.focus-card__icon {
  font-size: 20px;
  line-height: 1;
}

.focus-card__label {
  color: var(--neutral-grey-800);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.45;
}

.focus-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow-500);
}

/* News */
.news-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .news-head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-alt);
  border: 1.5px solid var(--neutral-grey-300);
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease);
}

.news-card:hover {
  border-color: var(--yellow-500);
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(81, 42, 116, 0.13);
}

.news-card__accent {
  height: 4px;
}

.news-card__body {
  padding: 20px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.news-card__cat {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--purple-50);
  color: var(--brand-primary);
}

.news-card__source {
  font-size: 12px;
  color: var(--neutral-grey-500);
  font-weight: 400;
}

.news-card h4 {
  margin-bottom: 10px;
  color: var(--neutral-grey-800);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.news-card p {
  font-size: 14px;
  color: var(--neutral-grey-600);
  line-height: 1.6;
  font-weight: 400;
}

.news-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12px;
}

.news-card__foot .date {
  color: var(--neutral-grey-500);
}

.news-card__foot .more {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-primary);
  font-weight: 600;
}

.news-card__foot .more svg {
  width: 10px;
  height: 10px;
}

/* ── About page ─────────────────────────────────────── */

.vm-card {
  border-radius: 16px;
  padding: 40px;
}

.vm-card--vision {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #6d3a9e 100%);
  color: #fff;
}

.vm-card--mission {
  border: 1.5px solid var(--neutral-grey-300);
  background: #fff;
}

.vm-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  border-radius: 12px;
}

.vm-card--vision .vm-card__icon {
  background: var(--yellow-500);
  color: var(--brand-primary);
}

.vm-card--mission .vm-card__icon {
  background: var(--purple-50);
  color: var(--brand-primary);
}

.vm-card__label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vm-card--vision .vm-card__label {
  color: rgba(255, 215, 112, 0.8);
}

.vm-card--mission .vm-card__label {
  color: var(--brand-primary);
}

.vm-card__body {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
}

.vm-card--vision .vm-card__body {
  color: #fff;
}

.vm-card--mission .vm-card__body {
  color: var(--neutral-grey-700);
}

/* Timeline — Figma Make AboutPage TimelineDot */
.timeline {
  position: relative;
}

.timeline__track {
  display: none;
}

.timeline__progress {
  display: none;
}

@media (min-width: 768px) {
  .timeline__track {
    display: block;
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neutral-grey-300);
  }

  .timeline__progress {
    display: block;
    position: absolute;
    top: 28px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--brand-primary);
    transition: width 1.6s var(--ease-out-expo);
  }

  .timeline.is-visible .timeline__progress {
    width: 100%;
  }
}

.timeline__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

@media (min-width: 768px) {
  .timeline__grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
  }
}

.timeline__item {
  position: relative;
  padding-top: 0;
  /* never lift the whole item (dot must stay on the track) */
  transform: none !important;
  box-shadow: none !important;
}

@media (min-width: 768px) {
  .timeline__item {
    padding-top: 56px;
  }
}

.timeline__dot {
  display: none;
}

@media (min-width: 768px) {
  .timeline__dot {
    display: block;
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 10;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid var(--brand-primary);
    background: #fff;
    box-sizing: border-box;
    transition:
      transform var(--hover-duration) var(--hover-ease),
      background-color var(--hover-duration) var(--hover-ease);
  }

  .timeline__item:hover .timeline__dot,
  .timeline__item.is-active .timeline__dot {
    transform: scale(1.6);
    background: var(--brand-primary);
  }
}

.timeline__card {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  border: 1px solid var(--neutral-grey-300);
  background: var(--purple-50);
  transition:
    transform var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    background-color var(--hover-duration) var(--hover-ease);
}

/* Alternating fills — Figma: even purple-50, odd white */
.timeline__item:nth-child(even) .timeline__card {
  background: #fff;
}

/* Expanded / hover — Figma whileHover: y:-5, shadow, brand border */
.timeline__item:hover .timeline__card,
.timeline__item.is-active .timeline__card {
  z-index: 2;
  background: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 12px 28px rgba(81, 42, 116, 0.12);
  transform: translateY(-5px);
}

.timeline__year {
  margin-bottom: 4px;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 15px;
}

.timeline__title {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--neutral-grey-700);
  font-weight: 600;
}

.timeline__desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--neutral-grey-500);
}

/* Principles */
.principle-card {
  border-radius: 16px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  cursor: default;
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease);
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(81, 42, 116, 0.12);
}

.principle-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--purple-50);
  color: var(--brand-primary);
  transition:
    transform var(--hover-duration) var(--hover-ease),
    background-color var(--hover-duration) var(--hover-ease),
    color var(--hover-duration) var(--hover-ease);
}

.principle-card:hover .principle-card__icon {
  transform: scale(1.15) rotate(8deg);
  background: var(--brand-primary);
  color: #fff;
}

.principle-card__icon svg {
  width: 24px;
  height: 24px;
}

.principle-card h3 {
  margin-bottom: 12px;
  color: var(--neutral-grey-800);
  font-size: 18px;
  font-weight: 700;
}

.principle-card p {
  font-size: 14px;
  color: var(--neutral-grey-600);
  line-height: 1.7;
}

.principle-card__more {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.principle-card:hover .principle-card__more {
  opacity: 1;
}

.principle-card__more svg {
  width: 11px;
  height: 11px;
}

.explore-card {
  display: block;
  height: 100%;
  border-radius: 16px;
  padding: 32px;
  color: #fff;
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease);
}

@media (min-width: 768px) {
  .explore-card {
    padding: 40px;
  }
}

.explore-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(81, 42, 116, 0.25);
}

.explore-card h3 {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.3px;
  color: #fff;
}

.explore-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.75;
}

.explore-card .btn-link {
  margin-top: 24px;
}

/* ── Businesses ─────────────────────────────────────── */

.company-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  padding: 28px;
  border: 1.5px solid var(--neutral-grey-300);
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease),
    background-color var(--hover-duration) var(--hover-ease);
}

.company-card:hover {
  border-color: var(--brand-primary);
  background: var(--purple-50);
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(81, 42, 116, 0.1);
}

.company-card__bar {
  height: 3px;
  width: 32px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--yellow-500);
}

.company-card__name {
  color: var(--neutral-grey-800);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.company-card__desc {
  color: var(--neutral-grey-700);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

.company-card .btn-link {
  margin-top: 20px;
  font-size: 12px;
}

.sports-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 768px) {
  .sports-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.team-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.team-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1.5px solid var(--neutral-grey-300);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.team-chip:hover {
  border-color: var(--brand-primary);
  background: var(--purple-50);
  transform: translateX(4px);
}

.team-chip__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow-500);
}

.team-chip span:last-child {
  color: var(--neutral-grey-800);
  font-weight: 600;
  font-size: 14px;
}

.sports-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #3d1e60 60%, #1a0a2e 100%);
  text-align: center;
  padding: 32px;
}

.sports-panel__emoji {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 16px;
}

.sports-panel__title {
  color: rgba(255, 215, 112, 0.9);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.sports-panel__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

.sports-panel__bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--yellow-500);
  opacity: 0.6;
}

.fo-banner {
  border-radius: 16px;
  padding: 32px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #3d1e60 100%);
}

@media (min-width: 768px) {
  .fo-banner {
    padding: 48px;
  }
}

.fo-banner .eyebrow--plain {
  color: rgba(255, 215, 112, 0.85);
}

.fo-banner h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.fo-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.85;
  max-width: 760px;
}

.fo-banner .btn-link {
  margin-top: 28px;
}

/* ── Corporate structure ────────────────────────────── */

.structure-table {
  overflow: hidden;
  border-radius: 16px;
  border: 1.5px solid var(--neutral-grey-300);
}

.structure-table__head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  padding: 16px 24px;
  background: var(--brand-primary);
}

@media (min-width: 768px) {
  .structure-table__head {
    grid-template-columns: 4fr 8fr;
  }
}

.structure-table__head span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-500);
}

.structure-table__row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--neutral-grey-300);
  background: #fff;
}

@media (min-width: 768px) {
  .structure-table__row {
    grid-template-columns: 4fr 8fr;
  }
}

.structure-table__row:nth-child(even) {
  background: var(--bg-alt);
}

.structure-table__row .area {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 14px;
}

.structure-table__row .entity {
  color: var(--neutral-grey-700);
  font-size: 14px;
  line-height: 1.5;
}

.hierarchy-parent {
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #6d3a9e 100%);
  box-shadow: 0 16px 40px rgba(81, 42, 116, 0.25);
  margin: 0 auto;
}

.hierarchy-parent__label {
  color: var(--yellow-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hierarchy-parent__name {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.hierarchy-line {
  width: 2px;
  height: 40px;
  margin: 0 auto;
  background: var(--neutral-grey-400);
  transform-origin: top;
}

.hierarchy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  margin-top: 0;
}

@media (min-width: 640px) {
  .hierarchy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hierarchy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hierarchy-card {
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  border: 1.5px solid var(--neutral-grey-300);
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease);
}

.hierarchy-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(81, 42, 116, 0.1);
}

.hierarchy-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--purple-50);
  color: var(--brand-primary);
}

.hierarchy-card__name {
  color: var(--neutral-grey-800);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--neutral-grey-700);
  font-size: 15px;
  margin-bottom: 10px;
}

.bullet-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow-500);
}

/* ── Family office ──────────────────────────────────── */

.sector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sector-pill {
  border-radius: 999px;
  background: #fff;
  padding: 10px 20px;
  border: 1.5px solid var(--neutral-grey-300);
  color: var(--neutral-grey-800);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.sector-pill:hover {
  border-color: var(--brand-primary);
  background: var(--purple-50);
  transform: translateY(-3px);
}

.criteria-card {
  border-radius: 16px;
  padding: 28px;
  border: 1.5px solid var(--neutral-grey-300);
  background: #fff;
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease);
}

.criteria-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(81, 42, 116, 0.1);
}

.criteria-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.criteria-card__title {
  color: var(--neutral-grey-800);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

.criteria-card__body {
  font-size: 15px;
  color: var(--neutral-grey-600);
  line-height: 1.75;
}

.conviction-banner {
  margin-top: 40px;
  border-radius: 16px;
  padding: 32px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #3d1e60 100%);
  color: #fff;
  font-size: 18px;
  line-height: 1.85;
}

@media (min-width: 768px) {
  .conviction-banner {
    padding: 48px;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.portfolio-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  padding: 28px;
  aspect-ratio: 16 / 9;
  border: 1.5px solid var(--neutral-grey-300);
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease);
}

.portfolio-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(81, 42, 116, 0.1);
}

.portfolio-card img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ── Contact ────────────────────────────────────────── */

.contact-card {
  border-radius: 16px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--yellow-500);
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease);
}

.contact-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(81, 42, 116, 0.12);
}

.contact-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--yellow-500);
  color: var(--brand-primary);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  margin-top: 4px;
  color: var(--neutral-grey-800);
  font-weight: 700;
  font-size: 17px;
}

.contact-card__desc {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--neutral-grey-500);
  line-height: 1.65;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-item__label {
  flex-shrink: 0;
  padding-top: 2px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--neutral-grey-400);
  font-weight: 600;
  min-width: 88px;
}

.contact-item__value {
  color: var(--neutral-grey-700);
  font-size: 14px;
  line-height: 1.6;
}

.map-frame {
  overflow: hidden;
  border-radius: 16px;
  height: 420px;
  border: 1.5px solid var(--neutral-grey-300);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--neutral-grey-700);
  font-weight: 500;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}

.quick-link:hover {
  transform: translateX(6px);
  color: var(--brand-primary);
}

.quick-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--purple-50);
  color: var(--brand-primary);
}

.quick-link__icon svg {
  width: 10px;
  height: 10px;
}

.company-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--neutral-grey-600);
  font-size: 14px;
  margin-bottom: 12px;
}

.company-list li::before {
  content: '';
  margin-top: 8px;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* ── Legal pages ────────────────────────────────────── */

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.legal-section p {
  font-size: 16px;
  color: var(--neutral-grey-700);
  line-height: 1.85;
  margin-bottom: 12px;
  white-space: pre-line;
}

.legal-wrap {
  max-width: 48rem;
}

/* ── Footer CTA band + footer ───────────────────────── */

.footer-cta {
  background: linear-gradient(105deg, var(--yellow-500) 0%, #fbbf24 50%, var(--yellow-500) 100%);
}

.footer-cta__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .footer-cta__inner {
    flex-direction: row;
    align-items: center;
    padding: 64px 0;
  }
}

.footer-cta h2 {
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--purple-950);
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 42rem;
}

.footer-cta h2 em {
  font-style: normal;
  color: var(--purple-800);
}

.footer-cta p {
  margin-top: 16px;
  font-size: 17px;
  color: rgba(81, 42, 116, 0.75);
  line-height: 1.7;
  max-width: 42rem;
}

.site-footer {
  background: var(--brand-primary);
  color: #fff;
}

/* Only vertical padding — horizontal comes from .container (px-6/10/14).
   Do NOT use padding shorthand here or it wipes left/right inset. */
.site-footer__inner {
  padding-top: 64px;
  padding-bottom: 48px;
}

/* Matches Next Footer: 12-col → brand 4 / spacer 1 / nav 2 / companies 5 */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 48px;
  }

  .footer-grid > :nth-child(1) {
    grid-column: span 4;
  }

  .footer-grid__spacer {
    display: block;
    grid-column: span 1;
  }

  .footer-grid > :nth-child(3) {
    grid-column: span 2;
  }

  .footer-grid > :nth-child(4) {
    grid-column: span 5;
  }
}

.footer-grid__spacer {
  display: none;
}

.footer-logo {
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo svg {
  height: 44px;
  width: auto;
  display: block;
}

.footer-blurb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.footer-rbi {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0;
}

.footer-contact__row:last-child {
  align-items: center;
}

.footer-contact__row:last-child svg {
  margin-top: 0;
}

.footer-contact__row svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--yellow-500);
  margin-top: 2px;
}

.footer-contact__row p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-col-title {
  margin: 0 0 20px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--yellow-500);
  line-height: 1;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav li {
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
  transform: translateX(6px);
  color: #fff;
}

.footer-nav a::before {
  content: '';
  width: 16px;
  height: 1px;
  background: rgba(255, 215, 112, 0.4);
  flex-shrink: 0;
}

/* Content-sized columns (not stretched 1fr 1fr) — matches Next gap-x-6 gap-y-2 */
.footer-companies {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 24px;
  row-gap: 8px;
  justify-content: start;
  align-content: start;
}

@media (min-width: 640px) {
  .footer-companies {
    grid-template-columns: max-content max-content;
  }
}

.footer-companies li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.footer-companies li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow-500);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Next: legal block is pt-10 only (grid already has mb-14) */
.footer-legal {
  padding-top: 40px;
  margin: 0;
}

.footer-legal__cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
}

.footer-legal__card {
  padding: 12px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-width: none;
  box-sizing: border-box;
}

.footer-legal__card .title {
  margin: 0;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}

.footer-legal__card .body {
  margin: 4px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 260px;
}

.footer-copy {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy p {
  margin: 0;
}

/* Scroll top */
/* Scroll-top — Figma spring enter: opacity/scale/y */
.scroll-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow-500);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6) translateY(16px);
  transition:
    opacity 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    visibility 0.35s;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.scroll-top.is-visible:hover {
  transform: scale(1.15);
}

.scroll-top.is-visible:active {
  transform: scale(0.9);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  color: var(--purple-950);
}

/* Holding dual cards (corporate / about vision) */
.dual-card {
  border-radius: 16px;
  padding: 32px;
  transition:
    transform var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease);
}

@media (min-width: 768px) {
  .dual-card {
    padding: 40px;
  }
}

.dual-card--brand {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #6d3a9e 100%);
}

.dual-card--brand:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(81, 42, 116, 0.28);
}

.dual-card--plain {
  border: 1.5px solid var(--neutral-grey-300);
  background: #fff;
}

.dual-card--plain:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 24px 56px rgba(81, 42, 116, 0.1);
}

.dual-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 12px;
}

.dual-card--brand .dual-card__icon {
  background: var(--yellow-500);
  color: var(--brand-primary);
}

.dual-card--plain .dual-card__icon {
  background: var(--purple-50);
  color: var(--brand-primary);
}

.dual-card__icon svg {
  width: 22px;
  height: 22px;
}

.dual-card--brand h2 {
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
}

.dual-card--plain h2 {
  margin-bottom: 20px;
  color: var(--neutral-grey-800);
  font-weight: 700;
  font-size: 22px;
}

.dual-card--brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.85;
}

.dual-card--brand p + p {
  margin-top: 16px;
}

.dual-card--plain > p {
  margin-bottom: 20px;
  color: var(--neutral-grey-600);
  font-size: 15px;
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
}

.back-link svg {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.icon-inline {
  display: inline-flex;
  vertical-align: middle;
}
