/* ==========================================================================
   components.css — Buttons, Cards, Nav, Footer, Stats, CTA
   ========================================================================== */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.btn--secondary-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--secondary-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
}

/* --- Site Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-right: var(--space-8);
  text-decoration: none;
  color: var(--color-primary);
}

.site-header__logo svg,
.site-header__logo img {
  height: 32px;
  width: auto;
}

.site-header__logo img + img {
  height: 25px;
}

.site-header__logo-text {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.site-nav__link {
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
}
.site-nav__link:hover,
.site-nav__link--active {
  color: var(--color-primary);
  background-color: var(--color-bg-alt);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--color-primary);
}

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4);
    gap: var(--space-1);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__link {
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
  }

  .site-header__actions .btn {
    display: none;
  }

  .site-nav .nav-cta-mobile {
    display: inline-flex;
    margin-top: var(--space-2);
  }
}

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

/* --- Hero --- */
.hero {
  padding: var(--space-24) 0 var(--space-20);
  background: linear-gradient(
    135deg,
    var(--color-bg-dark) 0%,
    #0b2218 25%,
    var(--color-primary) 55%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

/* Noise / grain texture — premium paper feel */
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Slow-breathing ambient glow */
.hero__glow {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(57, 153, 76, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  animation: heroGlow 18s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(3%, -2%) scale(1.04);
    opacity: 0.8;
  }
  100% {
    transform: translate(-2%, 3%) scale(1.02);
    opacity: 1;
  }
}

/* Aurora shimmer — slow luminous wave */
.hero__shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero__shimmer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    conic-gradient(
      from 0deg at 35% 55%,
      transparent 0deg,
      rgba(57, 153, 76, 0.10) 60deg,
      rgba(91, 184, 64, 0.14) 120deg,
      transparent 180deg,
      rgba(57, 153, 76, 0.08) 240deg,
      rgba(42, 120, 58, 0.12) 300deg,
      transparent 360deg
    );
  mask-image: radial-gradient(ellipse 70% 70% at 35% 55%, transparent 0%, black 25%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 35% 55%, transparent 0%, black 25%);
  animation: heroShimmerRotate 30s linear infinite;
}

.hero__shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(201, 168, 76, 0.08) 30%,
    rgba(240, 215, 140, 0.18) 50%,
    rgba(201, 168, 76, 0.08) 70%,
    transparent 100%
  );
  animation: heroShimmerSweep 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 2s;
}

@keyframes heroShimmerRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroShimmerSweep {
  0%   { left: -100%; opacity: 0; }
  10%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { left: 200%; opacity: 0; }
}

/* Gold accent line across the top */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #c9a84c 20%,
    #f0d78c 50%,
    #c9a84c 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: heroAccentShimmer 6s ease-in-out infinite;
  z-index: 10;
}

@keyframes heroAccentShimmer {
  0%   { background-position: 100% 0; }
  50%  { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

/* Gold-tinted eyebrow in hero */
.hero .eyebrow {
  color: #dfc06a;
  letter-spacing: 0.12em;
}

.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 65%);
  pointer-events: none;
  animation: heroOrbDrift 22s ease-in-out infinite alternate;
}

@keyframes heroOrbDrift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-40px, 30px);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero--has-image .hero__inner {
  grid-template-columns: 1fr 1fr;
  max-width: none;
  gap: var(--space-16);
  min-height: 420px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.hero__image {
  display: none;
}

.hero--has-image .hero__image {
  display: block;
  position: relative;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(201, 168, 76, 0.15),
    0 0 80px -20px rgba(201, 168, 76, 0.12);
  animation: heroImageIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero h1 {
  color: var(--color-text-light);
  margin-bottom: var(--space-6);
}

.hero__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  max-width: 600px;
  line-height: var(--leading-normal);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-16) 0 var(--space-12);
  }

  .hero__inner {
    gap: var(--space-6);
  }

  .hero--has-image .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero--has-image .hero__image {
    max-height: 300px;
  }
}

/* --- Hero Small (subpages) --- */
.hero--small {
  padding: var(--space-16) 0 var(--space-12);
}

.hero--small h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.hero--small .hero__text {
  font-size: var(--text-lg);
  max-width: 600px;
}

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

/* Animated border shimmer on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 30%,
    rgba(201, 168, 76, 0.4) 50%,
    transparent 70%,
    transparent 100%
  );
  background-size: 300% 300%;
  background-position: 100% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, background-position 0.8s ease;
}

.card:hover::after {
  opacity: 1;
  background-position: 0% 0%;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-4px);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, rgba(18, 71, 52, 0.06) 100%);
  border: 1px solid rgba(18, 71, 52, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
  font-size: var(--text-2xl);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.card__text {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

.card__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.card__link:hover {
  color: var(--color-accent-dark);
}
.card__link::after {
  content: "→";
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

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

/* --- Stat / Proof Bar --- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
  padding-block: var(--space-12);
}

.stat-bar__item {}

.stat-bar__number {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-bar__label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: var(--weight-medium);
}

.stat-bar__attribution {
  font-size: var(--text-xs);
  color: var(--color-muted);
  font-style: italic;
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .stat-bar {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* --- CTA Band --- */
.cta-band {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-text-light);
  text-align: center;
  padding-block: var(--space-20);
  position: relative;
  overflow: hidden;
}

/* Noise texture */
.cta-band__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Ambient glow */
.cta-band__glow {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(57, 153, 76, 0.05) 0%, transparent 50%);
  animation: ctaGlow 14s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(2%, -1%) scale(1.03); opacity: 0.7; }
}

/* Shimmer sweep */
.cta-band__shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cta-band__shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(201, 168, 76, 0.06) 30%,
    rgba(240, 215, 140, 0.12) 50%,
    rgba(201, 168, 76, 0.06) 70%,
    transparent 100%
  );
  animation: heroShimmerSweep 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 4s;
}

/* Gold accent line — animated */
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #c9a84c 25%,
    #f0d78c 50%,
    #c9a84c 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: heroAccentShimmer 6s ease-in-out infinite;
  z-index: 10;
}

.cta-band h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.cta-band p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  max-width: 520px;
  margin-inline: auto;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --- Feature List --- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.feature-list__item {
  display: flex;
  gap: var(--space-4);
}

.feature-list__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(57, 153, 9, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: var(--text-xl);
}

.feature-list__content h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.feature-list__content p {
  font-size: var(--text-base);
  color: var(--color-muted);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* --- Tags --- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

/* --- Site Footer --- */
.site-footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--space-16) var(--space-8);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.site-footer__brand {
  max-width: 320px;
}

.site-footer__brand p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}
.site-footer__links a:hover {
  color: #fff;
}

.site-footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.site-footer__disclaimer p {
  font-size: var(--text-xs, 0.75rem);
  line-height: var(--leading-normal);
  color: rgba(255, 255, 255, 0.35);
  max-width: 100%;
}

.site-footer__disclaimer p + p {
  margin-top: var(--space-4);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-4);
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.4);
}
.site-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .site-footer__brand {
    grid-column: span 2;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: span 1;
  }
}

/* --- Detail Hero --- */
.detail-hero {
  padding: var(--space-16) 0 var(--space-10);
  background: linear-gradient(
    135deg,
    var(--color-bg-dark) 0%,
    var(--color-primary) 100%
  );
  color: var(--color-text-light);
}

.detail-hero .eyebrow {
  color: var(--color-accent-light);
}

.detail-hero h1 {
  color: var(--color-text-light);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.detail-hero p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
}

/* --- Content Prose --- */
.prose {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--color-text);
}

.prose p {
  margin-bottom: var(--space-4);
}

.prose h2,
.prose h3 {
  margin-bottom: var(--space-3);
}

.prose ul,
.prose ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: var(--space-2);
}

/* --- Advisor Cards --- */
.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.advisor-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.advisor-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-4px);
}

.advisor-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: var(--text-4xl);
  color: var(--color-primary);
  border: 3px solid var(--color-border);
}

.advisor-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.advisor-card__name {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1);
}

.advisor-card__title {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-3);
}

.advisor-card__bio {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

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

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

/* --- Strategy Table --- */
.strategy-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.strategy-table th {
  background: var(--color-bg-alt);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-align: left;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.strategy-table td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.2s ease;
}

.strategy-table tbody tr:hover td {
  background-color: rgba(18, 71, 52, 0.03);
}

.strategy-table tr:last-child td {
  border-bottom: none;
}

.strategy-table .text-accent {
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
}

/* --- Contact Card --- */
.contact-card {
  max-width: 520px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-10);
  text-align: center;
}

.contact-card h3 {
  margin-bottom: var(--space-2);
}

.contact-card__role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-6);
}

.contact-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-card__info a {
  font-size: var(--text-lg);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger cards in a grid */
.card-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.35s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* Stagger advisor cards */
.advisor-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.advisor-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* Stagger stat items */
.stat-bar .reveal:nth-child(2) { transition-delay: 0.1s; }
.stat-bar .reveal:nth-child(3) { transition-delay: 0.2s; }
.stat-bar .reveal:nth-child(4) { transition-delay: 0.3s; }
