/* ===================== TOKENS ===================== */
:root {
  --navy-deep: #05001e;      /* dark intro / family-office section */
  --navy-panel: #24263d;     /* stats + cards panels */
  --navy-brand: #0a0e27;     /* logo box, CTA button */
  --light: #eef3f9;          /* light sections */
  --light-2: #e2e6f1;        /* contacts backdrop */
  --ink: #1c2138;            /* dark headings on light */
  --ink-soft: #3a4056;       /* body on light */
  --muted: #9aa3bd;          /* muted hero / labels */
  --line: rgba(255, 255, 255, 0.28);
  --container: 1200px;
  --gutter: 40px;
  --header-h: 128px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink-soft);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-solid {
  background: var(--navy-brand);
  color: #fff;
}
.btn-solid:hover { background: #151b45; }
.btn-outline {
  border: 1px solid var(--line);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 14, 39, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  width: var(--header-h);
  height: var(--header-h);
  flex: none;
  margin-left: calc(-1 * var(--gutter));
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.34em;
  color: var(--ink);
  font-weight: 500;
}
.brand-sub {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  gap: 40px;
  margin-left: auto;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--navy-brand);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 40px 28px;
  border-top: 1px solid rgba(10, 14, 39, 0.06);
}
.mobile-menu a {
  padding: 12px 0;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(10, 14, 39, 0.06);
}
.mobile-menu a.btn { border: none; text-align: center; margin-top: 14px; }

/* ===================== HERO ===================== */
.hero {
  background: #fff;
  padding: 150px 0 170px;
}
.hero-title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero-title span { display: block; }
.line-dark { color: var(--ink); }
.line-muted { color: var(--muted); }

/* ===================== INTRO (dark) ===================== */
.intro {
  background: var(--navy-deep);
  color: #fff;
  padding: 110px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.intro-crest { color: #fff; }
.intro-crest img { width: 320px; max-width: 100%; margin: 0 auto; }
.intro-copy h2 {
  font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 28px;
  color: #fff;
}
.intro-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  margin: 0 0 22px;
}
.intro-copy strong { color: #fff; font-weight: 600; }
.intro-copy .btn-outline { margin-top: 14px; }

/* ===================== PHOTO BAND ===================== */
.photo-band {
  height: clamp(240px, 32vw, 440px);
  background-image: url("assets/ocean.jpg");
  background-size: cover;
  background-position: center;
}

/* ===================== STATS ===================== */
.stats {
  background: var(--navy-panel);
  color: #fff;
  padding: 90px 0 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 14px; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

/* ===================== SECTION SHARED ===================== */
.section-head { margin-bottom: 66px; }
.section-head h2 {
  font-weight: 300;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin: 0 0 22px;
  line-height: 1.15;
}
.section-sub {
  max-width: 1050px;
  font-size: 1.08rem;
  margin: 0;
}

.col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  align-items: start;
}
.col h3 {
  font-weight: 400;
  font-size: 1.45rem;
  margin: 0 0 18px;
}
.col p { margin: 0 0 16px; font-size: 1rem; }
.col .note { font-size: 0.82rem; opacity: 0.7; }
.col ul { margin: 4px 0 0; padding-left: 18px; }
.col li { margin-bottom: 8px; font-size: 1rem; }

/* Family office (dark) */
.family-office {
  background: var(--navy-panel);
  color: #fff;
  padding: 40px 0 110px;
}
.family-office h2 { color: #fff; }
.family-office .section-sub { color: rgba(255, 255, 255, 0.62); }
.family-office .col h3 { color: #fff; }
.family-office .col p { color: rgba(255, 255, 255, 0.72); }

/* Strategies (light) */
.strategies {
  background: var(--light);
  color: var(--ink-soft);
  padding: 120px 0;
}
.strategies h2 { color: var(--ink); }
.strategies .section-sub { color: var(--ink-soft); }
.strategies .col h3 { color: var(--ink); }
.strategies .col li { color: var(--ink-soft); }

/* ===================== GLOBAL NETWORK ===================== */
.global {
  background: var(--light);
  padding: 20px 0 120px;
}
.global h2 { color: var(--ink); }
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.city-card {
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 33, 56, 0.08);
}
.city-img {
  height: 150px;
  background-size: cover;
  background-position: center;
}
.city-name {
  text-align: center;
  padding: 26px 10px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
}
/* City photos extracted from the source design */
.city-london    { background-image: url("assets/city-london.jpg"); }
.city-singapore { background-image: url("assets/city-singapore.jpg"); }
.city-jakarta   { background-image: url("assets/city-jakarta.jpg"); }
.city-nyc       { background-image: url("assets/city-nyc.jpg"); }
.city-dubai     { background-image: url("assets/city-dubai.jpg"); }
.city-beijing   { background-image: url("assets/city-beijing.jpg"); }

/* ===================== KEY CONTACTS ===================== */
.contacts {
  background: var(--light-2);
  padding: 110px 0 120px;
}
.contacts-title {
  font-weight: 300;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--ink);
  margin: 0 0 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}
.contact-photo {
  aspect-ratio: 1 / 1;
  background: #9ea1b3;
  background-size: cover;
  background-position: center top;
  margin-bottom: 24px;
}
.contact-1 { background-image: url("assets/contact-1.jpg"); }
.contact-2 { background-image: url("assets/contact-2.jpg"); }
.contact-3 { background-image: url("assets/contact-3.jpg"); }
.contact-4 { background-image: url("assets/contact-4.jpg"); }
.contact-card h3 {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 6px;
}
.contact-role { margin: 0 0 4px; color: var(--ink-soft); }
.contact-email { color: var(--ink-soft); font-size: 0.95rem; }
.contact-email:hover { color: var(--navy-brand); text-decoration: underline; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 44px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 60px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 18px; color: #fff; }
.footer-brand .brand-name { color: #fff; display: block; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.7); display: block; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .btn-solid { display: none; }
  .nav-toggle { display: flex; }
  .intro-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .intro-crest img { width: 220px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
  .col-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  :root { --gutter: 22px; --header-h: 88px; }
  .hero { padding: 90px 0 100px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.25rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .col-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-nav { justify-content: center; }
}
