/* ============================================================
   IGM — India Gold Metaverse · Management Team page (standalone)
   Self-contained stylesheet for management-team.html: fonts, tokens,
   base, navbar + footer partials, and the Meet-the-Team intro +
   member card grid. The card grid is the same horizontal-on-desktop,
   stacked-on-mobile treatment as the Board Members page — mirrored
   here under .team-* class names so the two pages stay independent.
   Fonts: Satoshi + Clash Display (self-hosted) · Instrument Serif
   (Google Fonts, linked in the page <head>).
   ============================================================ */

/* ---------- fonts · tokens · base · shared .pill ---------- */
@font-face {
  font-family: 'Satoshi';
  src: url('assets/img/fonts/satoshi-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/img/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/img/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/img/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('assets/img/fonts/clashdisplay-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --neutral-50:  #ffffff;
  --neutral-300: #c8c8d2;
  --neutral-500: #77777f;
  --neutral-600: #606070;
  --neutral-800: #232330;
  --neutral-900: #0d0f1a;
  --gold-100:    #f0e6d1;  /* faint gold for oversized display numerals */
  --gold-300:    #d6ba81;
  --gold-warm:   #cfb38d;  /* warm serif accent used across the About redesign */
  --gold-500:    #b9903f;
  --gold-grad:   linear-gradient(100deg, #b9903f 0%, #e8cf8f 45%, #b9903f 100%);
  --cream:       #fbf7ef;
  --sans:  "Satoshi", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --maxw: 1200px;
  /* Figma's spring (mass 1, stiffness 100, damping 15) solved and sampled as an
     easing curve: damping ratio .75, so it overshoots ~2.8% and settles in .82s.
     A cubic-bezier can't overshoot, hence linear(). */
  --spring: linear(
    0 0%, 0.0424 3.8%, 0.1441 7.7%, 0.2747 11.5%, 0.4131 15.4%, 0.5455 19.2%,
    0.6637 23.1%, 0.7637 26.9%, 0.8447 30.8%, 0.9073 34.6%, 0.9536 38.5%,
    0.9861 42.3%, 1.0075 46.2%, 1.0202 50%, 1.0265 53.8%, 1.0284 57.7%,
    1.0273 61.5%, 1.0245 65.4%, 1.0208 69.2%, 1.0169 73.1%, 1.0131 76.9%,
    1.0097 80.8%, 1.0069 84.6%, 1.0045 88.5%, 1.0027 92.3%, 1.0014 96.2%, 1 100%
  );
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--neutral-900);
  background: #fff;
  line-height: 1.45;
  /* backstop for the full-bleed decorative curves. `hidden` on body alone relies on
     overflow propagating to the viewport, which some browsers don't honour — `clip`
     on both html and body kills the sideways scroll without making a scroll container */
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0%;font-size: 22px;
    line-height: 28px; }
    em-btn { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0%;font-size: 14px;
    line-height: 28px; }

/* ---------- shared ---------- */
.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eeeef1;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-900);
}

.nav-logo-header-footer{
  height: 90px;
  width: auto;
  padding-bottom: 10px;
}
.pill.small { font-size: 11px; padding: 3px 10px; background: #f2f2f2; }
.pill.dark-pill { background: #1c1c26; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;   /* 0.28px @ 14px, per Figma buttons */
  text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--neutral-900); }
.btn-dark  { background: #000; color: #fff; }   /* Neutral-950, per Figma "Dark Solid" */
.btn-dark.big { margin: 40px auto 0; display: flex; width: max-content; }
.btn-outline {
  background: rgba(255,255,255,.11);
  border: .8px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #fafafa;
  height: 40px;
  padding: 0 12px;
  font-family: "Clash Display", var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 4px;
}
/* .btn was only ever used on <a> until the enquire modal's triggers needed
   real <button>s — this strips the UA button chrome without touching the
   background/color that .btn-dark / .btn-light set. */
button.btn { border: none; cursor: pointer; font-family: inherit; -webkit-appearance: none; appearance: none; }

/* ---------- navbar ---------- */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 40px;
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-left { display: flex; align-items: center; gap: 48px; }
.nav-link {
  color: #fafafa;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .02em;      /* 0.32px @ 16px */
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link .chev { display: inline-block; margin-left: 3px; font-size: 13px; line-height: 1; opacity: .9; transform-origin: center; transition: transform .25s; }
.nav-link:hover { color: var(--gold-300); }

/* ---- offerings dropdown ---- */
.nav-item { position: relative; }
.nav-item.has-menu > .nav-link { cursor: pointer; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  margin-top: 14px;
  padding: 8px;
  background: var(--neutral-50);
  border: 1px solid #eeeef1;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
/* ABOUT US is a wider two-column panel: a small category label on the left,
   its destinations stacked on the right, one grid row per group (see image). */
.nav-dropdown--about { min-width: 360px; padding: 14px; }
.nav-dropdown__group {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: start;
  padding: 10px 0;
}
.nav-dropdown__group + .nav-dropdown__group { border-top: 1px solid #eeeef1; }
.nav-dropdown__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-500);
  padding-top: 9px;      /* optically aligns the label with the first link row */
}
/* hover bridge so the menu doesn't close in the 14px gap */
.nav-item.has-menu::after {
  content: "";
  position: absolute;
  top: 100%; left: 0;
  width: 100%; height: 16px;
}
.nav-item.has-menu:hover .nav-dropdown,
.nav-item.has-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item.has-menu:hover > .nav-link .chev { transform: rotate(180deg); }
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--neutral-600);
  transition: background .18s, color .18s;
}
.nav-dropdown a:hover { background: #f4f4f6; color: var(--gold-500); }
.nav-dropdown a.is-active { color: var(--gold-500); }
.nav-logo { text-align: center; color: #fff; }
.nav-logo-img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.logo-mark {
  display: inline-block;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .08em;
  border: 2px solid currentColor;
  padding: 1px 10px;
}
.logo-sub { display: block; font-size: 9.5px; letter-spacing: .08em; margin-top: 3px; font-weight: 500; }
.nav-right { display: flex; justify-content: flex-end; }

/* ---- second-row section nav (About-Us destinations) ----
   Sits under .nav-inner inside the same .navbar box, so it inherits the
   scrolled backdrop. Sentence-case, not uppercase like the main links. */
.nav-subnav {
  max-width: 1360px;
  margin: 12px auto 0;
  display: none;              /* revealed only when the ABOUT US arrow is clicked */
  justify-content: center;
  align-items: center;
  gap: 44px;
}
/* revealed by assets/css/include.js only on the About-Us pages the strip links to */
.nav-subnav.is-open { display: flex; animation: subnav-in .22s ease both; }
@keyframes subnav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-subnav__link {
  color: var(--neutral-300);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .18s;
}
.nav-subnav__link:hover { color: var(--gold-300); }
.nav-subnav__link.is-active { color: var(--gold-500); }

/* ---- mobile: hamburger trigger + full-screen menu ----
   Hidden entirely on desktop (.nav-left carries the real links there); shown
   only at the ≤900px breakpoint where .nav-left already hides (see responsive). */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  justify-self: start;
  align-items: end;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1), visibility .35s;
}
.mobile-nav.is-open { visibility: visible; transform: translateX(0); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eeeef1;
}
.mobile-nav__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--neutral-900);
  cursor: pointer;
}
.mobile-nav__logo img { height: 40px; width: auto; }
.mobile-nav__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 20px; }

.mobile-acc { border-bottom: 1px solid #eeeef1; }
.mobile-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  background: none;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--neutral-900);
  cursor: pointer;
  font-family: 'Satoshi';
}
.mobile-acc__trigger .chev { font-size: 16px; line-height: 1; color: #9a9aa4; transition: transform .25s, color .25s; }
.mobile-acc.is-open .mobile-acc__trigger { color: var(--gold-500); }
.mobile-acc.is-open .mobile-acc__trigger .chev { color: var(--gold-500); transform: rotate(180deg); }
/* grid-rows 0fr -> 1fr is a smooth auto-height collapse with no JS measuring;
   the inner wrapper is the grid item that actually clips during the transition */
.mobile-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.mobile-acc.is-open .mobile-acc__panel { grid-template-rows: 1fr; }
.mobile-acc__panel-inner { overflow: hidden; display: flex; flex-direction: column; padding-bottom: 2px; }
.mobile-acc__panel a {
  margin: 2px 0;
  padding: 12px 14px;
  /* border-radius: 8px; */
  background: #fff;
  /* box-shadow: 0 4px 16px rgba(20, 16, 8, .08); */
  font-size: 14px;
  color: #606070;
  /* border-bottom: 1px solid #a2a2af; */
  font-family: 'Satoshi';
  font-size: 14px;

}
.mobile-acc__panel a:hover { color: var(--neutral-900); }
.mobile-nav__cta { margin: 16px 20px 24px; justify-content: center; }
/* body scroll-lock while the overlay is open (toggled from navbar.js) */
body.mobile-nav-open { overflow: hidden; }

/* ---------- footer ---------- */
.footer {
  position: relative;
  /* FooterBG art carries the warm gold sweep; the gradient on top darkens the
     edges so it meets the black FAQ cleanly and keeps the link columns legible */
  background:
    linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.7) 100%),
    url("assets/img/FooterBG.png") center / cover no-repeat,
    #000;
  color: #fff;
  padding: 70px 40px 40px;
  text-align: center;
}
.footer-logo { font-size: 56px; padding: 3px 14px; }
.footer-logosub { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; }
.footer-logo-img { height: 44px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.footer-rule { border: 0; border-top: 1px solid #232329; max-width: 1000px; margin: 34px auto; }
.footer-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
}
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: #a2a2ab;
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 50px;
}

.footer-social-partner {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #86868c;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.footer-social-partner a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #86868c;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.footer-brand{
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: var(--gold-300); }

.footer-social-partner a:hover { background: var(--gold-300); }
.footer-legal { margin-top: 44px; font-size: 12px; color: #9a9aa2; }
.footer-legal a:hover { color: #fff; }
.footer-copy { margin-top: 10px; font-size: 12px; color: #7c7c85; }

/* ---------- scroll-reveal + scrolled navbar + reduced motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none;    position: relative;}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .60s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .72s; }
/* per-child reveal: when a stagger group is taller than the viewport (mobile,
   where the grids collapse to one column) script.js observes each child instead
   of the group, so a child carries .visible itself. No nth-child delay applies
   here — they arrive one at a time, so each animates the moment it scrolls in. */
.reveal-stagger > .visible { opacity: 1; transform: none; }
.navbar { transition: background .35s ease, backdrop-filter .35s ease; }
.navbar.scrolled {
  position: fixed;
  background: rgba(5, 5, 10, .65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.hero-content > * { animation: heroIn 1s cubic-bezier(.22,.61,.36,1) both; }
.hero-content > *:nth-child(2) { animation-delay: .18s; }
.hero-content > *:nth-child(3) { animation-delay: .34s; }
.hero-content > *:nth-child(4) { animation-delay: .5s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .hero-content > * { transition: none; animation: none; opacity: 1; transform: none; }
  /* the rotating tagline reveals itself via animation, so pin the first line
     visible (and hide the rest) when motion is suppressed */
  .about-tagline__line { animation: none; }
  .about-tagline__line:first-child { opacity: 1; }
}

/* ---------- management team page ----------
   Centred intro + a two-column grid of horizontal member cards:
   200px portrait on the left, bio + gold serif name + role on the right. */

/* All About-Us pages: solid dark nav bar + full-width WHITE sub-nav band with
   dark links (active = gold). Same treatment as the mentor page. The :has()
   selector (0,3,0) also outranks .navbar.scrolled, so it stays dark when
   scrolled — this page has no hero, so the scrolled glass would read washed. */
.navbar:has(.nav-subnav.is-open) { background: #060708; padding-bottom: 0; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.nav-subnav { max-width: none; margin: 0 -40px; padding: 8px 40px; gap: 12px; background: #fff; border-top: 1px solid rgba(174,174,186,.35); }
.nav-subnav__link { position: relative; padding: 12px 10px; font-size: 14px; color: var(--neutral-900); }
.nav-subnav__link:hover { color: #a07f36; }
.nav-subnav__link.is-active { color: #a07f36; font-weight: 500; }
.nav-subnav__link.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px; background: #a07f36; border-radius: 4px 4px 0 0; }

/* Navbar is position:absolute (out of flow), so the first section must reserve
   its height (~152px desktop incl. the About-Us sub-nav) plus the Figma's ~110px
   gap, or the ABOUT US pill slides up under the bar. */
.team-section { padding: 262px max(24px, calc((100vw - 1200px) / 2)) 150px; text-align: center; }
/* the intro pill runs one step larger than the shared .pill base, per Figma */
.team-section .pill { padding: 1px 10px; font-size: 15px; line-height: 22px; }
.team-section__title { margin-top: 64px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 60px; line-height: 76px; color: var(--neutral-900); }
.team-grid { margin-top: 84px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; text-align: left; }
/* Neutral-100 — no token exists for this one-off card wash */
.team-card { display: flex; gap: 4px; background: #f9f9fb; border-radius: 6px; overflow: hidden; }
.team-card img { flex: 0 0 200px; height: 250px; align-self: stretch; object-fit: cover; border-radius: 6px; }
.team-card__body { flex: 1 1 0; min-width: 0; padding: 12px 20px; display: flex; flex-direction: column; justify-content: top; gap: 20px; }
.team-card__bio { color: var(--neutral-600); font-size: 16px; line-height: 24px; }
.team-card__meta { display: flex; flex-direction: column; gap: 2px; }
/* name is regular (non-italic) serif in gold, per Figma — not the italic <em> */
.team-card__name { color: var(--gold-warm); font-family: var(--serif); font-size: 24px; line-height: 30px; }
.team-card__role { color: var(--neutral-800); font-size: 16px; line-height: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  /* navbar collapses to the burger + mobile drawer */
  .nav-left { display: none; }
  .nav-subnav, .nav-subnav.is-open { display: none; }
  .nav-inner { grid-template-columns: 1fr auto 1fr; }
  .nav-right { display: none; }
  .nav-logo { grid-column: 2; grid-row: 1; }
  .nav-burger { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  /* one horizontal card per row from tablet down */
  .team-grid { grid-template-columns: 1fr; }
  /* sub-nav is hidden here, so the navbar is shorter (~118px) */
  .team-section { padding-top: 178px; }
}
@media (max-width: 640px) {
  .navbar { padding: 14px 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto; grid-auto-flow: column; }
  .team-section { padding: 156px 16px 90px; }
  .team-section .pill { font-size: 12px; }
  .team-section__title { margin-top: 40px; font-size: 28px; line-height: 36px; }
  .team-grid { margin-top: 48px; gap: 16px; }
  /* phone: card flips to a vertical stack — full-width portrait over a centred
     body — instead of the desktop/tablet horizontal split (per Figma mobile) */
  .team-card { flex-direction: column; gap: 0; border-radius: 4px; }
  /* square frame to match the 627×627 source photos — a fixed 250px height on
     a full-width card went landscape and cover-cropped the top of every head */
  .team-card img { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .team-card__body { padding: 16px; gap: 16px; align-items: center; text-align: center; }
  .team-card__bio { font-size: 14px; line-height: 20px; }
  .team-card__name { font-size: 18px; line-height: 22px; }
  .team-card__role { font-size: 14px; line-height: 20px; }
}
