:root {
  --ink: #0f1c2e;
  --ink-soft: #33465c;
  --muted: #6b7c90;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --gold: #b7935a;
  --gold-deep: #9a7940;
  --navy: #12233b;
  --navy-2: #0b1626;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(15, 28, 46, 0.25);
  --maxw: 1160px;
  --ff-serif: "Fraunces", Georgia, serif;
  --ff-sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--ff-serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,28,46,.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  display: grid; place-items: center; font-family: var(--ff-serif); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.04em; color: #fff;
  background: linear-gradient(150deg, var(--navy), var(--gold-deep));
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 0.98rem; font-weight: 700; }
.brand__text em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--gold-deep); }
.nav__cta { padding: 0.55rem 1.2rem; border-radius: 999px; background: var(--navy); color: #fff !important; }
.nav__cta:hover { background: var(--navy-2); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 96px; overflow: hidden; background: var(--bg-alt); }
.hero__glow {
  position: absolute; top: -30%; right: -10%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(183,147,90,.22), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -30%; left: -12%; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,35,59,.10), transparent 65%); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.4rem; }
.grad { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 640px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 3.5rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero__stats strong { display: block; font-family: var(--ff-serif); font-size: 2.4rem; color: var(--navy); }
.hero__stats span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Trust marquee ---------- */
.trust { padding: 42px 0; background: var(--navy); color: #fff; overflow: hidden; }
.trust__label { text-align: center; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1.6rem; }
.trust__marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust__track { display: flex; gap: 3rem; width: max-content; animation: scroll 42s linear infinite; }
.trust__track span { font-family: var(--ff-serif); font-size: 1.35rem; color: rgba(255,255,255,.72); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust__track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.section__head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.section__lede { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 64px; align-items: center; }
.about h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.4rem; }
.about p { color: var(--ink-soft); }
.link-arrow { display: inline-block; margin-top: 0.6rem; font-weight: 600; color: var(--gold-deep); transition: gap .2s; }
.link-arrow:hover { color: var(--navy); }
.about__panel { display: flex; flex-direction: column; gap: 16px; }
.panel-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 12px 30px -24px rgba(15,28,46,.4); transition: transform .25s, box-shadow .25s;
}
.panel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.panel-card__k { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.panel-card__v { font-family: var(--ff-serif); font-size: 1.25rem; color: var(--navy); }
.panel-card__sub { font-size: 0.86rem; color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; color: var(--gold-deep); background: rgba(183,147,90,.12); margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 760px; margin: 0 auto; }
.timeline li {
  display: flex; align-items: center; gap: 28px; padding: 18px 4px;
  border-bottom: 1px solid var(--line); transition: padding-left .2s, background .2s;
}
.timeline li:hover { padding-left: 14px; }
.timeline__year { font-family: var(--ff-serif); font-size: 1.5rem; color: var(--gold-deep); flex: none; width: 74px; }
.timeline__org { font-size: 1.05rem; color: var(--ink); font-weight: 500; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member--lead { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-color: transparent; }
.member--lead .member__role { color: var(--gold); }
.member--lead .member__meta { color: rgba(255,255,255,.6); }
.member__avatar {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center;
  font-family: var(--ff-serif); font-weight: 600; font-size: 1.15rem; color: #fff;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
}
.member--lead .member__avatar { background: linear-gradient(150deg, #fff, #d9c19a); color: var(--navy); }
.member h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.member__role { font-size: 0.9rem; font-weight: 600; color: var(--gold-deep); margin: 0 0 0.25rem; }
.member__meta { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 3rem; }
.office { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.office h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.office h3 span { display: block; font-family: var(--ff-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; }
.office p { color: var(--ink-soft); font-size: 0.95rem; }
.office dl { margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: 8px; }
.office dl div { display: flex; gap: 12px; font-size: 0.92rem; }
.office dt { color: var(--muted); width: 60px; flex: none; }
.office dd { margin: 0; font-weight: 500; }
.office dd a:hover { color: var(--gold-deep); }
.contact__cta { text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: rgba(255,255,255,.7); padding: 56px 0 40px; }
.footer__inner { display: grid; gap: 24px; text-align: center; }
.footer__brand strong { display: block; font-family: var(--ff-serif); font-size: 1.25rem; color: #fff; }
.footer__brand span { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.footer__links a { font-size: 0.9rem; transition: color .2s; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { font-size: 0.82rem; color: rgba(255,255,255,.45); margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .offices { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 74px 0 auto; flex-direction: column; background: #fff; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .35s ease; }
  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: flex; }
  .cards, .team { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .hero { padding-top: 130px; }
  .timeline li { gap: 16px; }
  .timeline__year { width: 60px; font-size: 1.25rem; }
}
