:root {
      --bg: #f7f4ed;
      --bg-soft: #fbfaf6;
      --surface: #ffffff;
      --surface-2: #f1eee7;
      --text: #172033;
      --muted: #626b7a;
      --navy: #10213a;
      --navy-2: #193252;
      --navy-3: #24456d;
      --gold: #c58a47;
      --gold-soft: #ecd4b5;
      --teal: #1f9d8b;
      --border: #ded9cf;
      --border-dark: rgba(255,255,255,.16);
      --shadow: 0 24px 70px rgba(16, 33, 58, .11);
      --shadow-soft: 0 14px 34px rgba(16, 33, 58, .07);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 17px;
      --max: 1220px;
      --header-h: 76px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
    body {
      margin: 0;
      min-height: 100vh;
      overflow-x: hidden;
      color: var(--text);
      background:
        radial-gradient(circle at 8% 7%, rgba(197,138,71,.13), transparent 25rem),
        radial-gradient(circle at 92% 0%, rgba(67,112,158,.11), transparent 31rem),
        var(--bg);
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
    }

    img { display: block; max-width: 100%; }
    button, input, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; }
    [hidden] { display: none !important; }

    .shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
    .serif { font-family: Georgia, "Times New Roman", serif; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--gold);
      font-size: .78rem;
      font-weight: 850;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    .eyebrow::before { width: 27px; height: 2px; background: currentColor; content: ""; }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid rgba(222,217,207,.75);
      background: rgba(247,244,237,.86);
      backdrop-filter: blur(18px);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: var(--header-h);
      gap: 22px;
    }
    .brand {
      color: var(--navy);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.55rem;
      font-weight: 800;
      letter-spacing: -.04em;
      text-decoration: none;
    }
    .brand span { color: var(--gold); }
    .nav-wrap { display: flex; align-items: center; gap: 14px; }
    .primary-nav { display: flex; align-items: center; gap: 4px; }
    .primary-nav a {
      padding: 9px 11px;
      border-radius: 999px;
      color: var(--navy);
      font-size: .84rem;
      font-weight: 720;
      text-decoration: none;
      transition: background 170ms ease, color 170ms ease, transform 170ms ease;
    }
    .primary-nav a:hover, .primary-nav a:focus-visible {
      background: rgba(255,255,255,.88);
      outline: none;
      transform: translateY(-1px);
    }
/* Private portfolio navigation link */
.primary-nav .private-portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  padding: 8px 13px;

  border: 1px solid var(--gold);
  border-radius: 999px;

  color: var(--navy, #10213a);
  background: transparent;

  font-weight: 600;
  text-decoration: none;

  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-nav .private-portfolio-link:hover,
.primary-nav .private-portfolio-link:focus-visible {
  border-color: var(--gold);

  color: #ffffff;
  background: var(--gold);

  transform: translateY(-1px);

  box-shadow:
    0 6px 18px rgba(197, 138, 71, 0.20);
}
    .header-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 16px;
      border: 1px solid var(--navy);
      border-radius: 8px;
      background: var(--navy);
      color: #fff;
      font-size: .84rem;
      font-weight: 800;
      text-decoration: none;
    }
    .theme-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: var(--navy);
  cursor: pointer;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    color 170ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--gold);
  outline: none;
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}  
    .menu-button {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: rgba(255,255,255,.76);
      color: var(--navy);
      cursor: pointer;
    }
    .menu-button svg { width: 22px; height: 22px; }

    /* Hero */
    .hero {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
      align-items: stretch;
      min-height: 700px;
      padding-top: clamp(28px, 3.5vw, 46px);
      overflow: hidden;
    }
    .hero-copy { 
      position: relative; 
      z-index: 3;
      min-width: 0;
      padding: 0 48px 66px 0; 
    }
    .hello { margin-bottom: 13px; color: var(--gold); font-size: 1.05rem; font-weight: 760; }
    h1 {
      max-width: 660px;
      margin: 0;
      color: var(--navy);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(3rem, 5.7vw, 5.7rem);
      font-weight: 700;
      line-height: .98;
      letter-spacing: -.055em;
    }
    h1 em { color: var(--gold); font-style: normal; }
    .hero-intro {
      max-width: 560px;
      margin: 23px 0 0;
      color: var(--muted);
      font-size: clamp(1rem, 1.45vw, 1.13rem);
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 49px;
      padding: 0 20px;
      border: 1px solid transparent;
      border-radius: 8px;
      font-weight: 800;
      text-decoration: none;
      cursor: pointer;
      transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
    }
    .btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
    .btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 26px rgba(16,33,58,.18); }
    .btn-secondary { border-color: #aeb5bf; background: rgba(255,255,255,.7); color: var(--navy); }
    .btn-small { min-height: 43px; padding-inline: 16px; font-size: .88rem; }

    .hero-visual {
      position: relative;
      align-self: stretch;
      min-height: 700px;
      overflow: hidden;
      isolation: isolate;
    }
    .hero-visual::before {
      position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  background:
    url("../singapore-skyline.png")
    15% center / cover 
    no-repeat;
  content: "";
    }
    .hero-visual::after {
      position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 120px;
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    rgba(247, 244, 237, 0.72) 38%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
    }
    .portrait-wrap {
      position: absolute;
      right: 2%;
      bottom: 0;
      width: min(55%, 400px);
      height: 88%;
      overflow: visible;
      border-radius: 0;
  pointer-events: none;
    }
    .portrait-wrap img { width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(-12px 10px 22px rgba(16, 33, 58, 0.18));
}
    .portrait-chip {
      position: absolute;
  right: 20px;
  bottom: 22px;
  z-index: 3;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 11px;
  background: rgba(16, 33, 58, 0.72);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

    .hero-stats {
      position: relative;
      z-index: 5;
      grid-column: 1 / -1;
      display: flex;
      align-items: stretch;
      width: fit-content;
      max-width: 100%;
      margin: -18px 0 40px;
      border: 1px solid var(--border);
      border-radius: 16px;
      background: rgba(255,255,255,.82);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(16px);
    }
    .hero-stat { display: flex; align-items: center; gap: 13px; min-width: 205px; padding: 18px 22px; }
    .hero-stat + .hero-stat { border-left: 1px solid var(--border); }
    .stat-icon {
      display: grid;
      flex: 0 0 auto;
      width: 42px;
      height: 42px;
      place-items: center;
      border-radius: 50%;
      background: #f5eee3;
      color: var(--gold);
    }
    .stat-icon svg { width: 21px; height: 21px; }
    .hero-stat strong { display: block; color: var(--navy); font-size: .9rem; line-height: 1.2; }
    .hero-stat span { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; }

    /* Profile chapters */
    .chapters-section { padding: 24px 0 28px; }
    .section-title { text-align: center; }
    .section-title h2 {
      margin: 0;
      color: var(--navy);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.1rem, 4vw, 3.8rem);
      line-height: 1.05;
      letter-spacing: -.045em;
    }
    .section-title::after {
  display: block;
  width: 42px;
  height: 2px;
  margin: 16px auto 0;
  background: var(--gold);
  content: "";
}

.section-intro {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}
    .chapter-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin-top: 24px; }
    .chapter-card {
      position: relative;
      min-height: 190px;
      padding: 20px 18px;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: rgba(255,255,255,.74);
      color: var(--navy);
      text-align: left;
      cursor: pointer;
      transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
    }
    .chapter-card:hover, .chapter-card:focus-visible { transform: translateY(-4px); border-color: var(--gold); outline: none; box-shadow: var(--shadow-soft); }
    .chapter-card[aria-selected="true"] { border-color: var(--navy); background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: #fff; box-shadow: 0 20px 42px rgba(16,33,58,.19); }
    .chapter-card[aria-selected="true"]::after { position: absolute; right: 20px; bottom: 11px; left: 20px; height: 3px; border-radius: 99px; background: var(--gold); content: ""; }
    .card-top { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
    .chapter-icon { width: 29px; height: 29px; color: var(--gold); }
    .chapter-number { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .11em; }
    .chapter-card[aria-selected="true"] .chapter-number { color: #f0c897; }
    .chapter-title { display: block; font-size: 1.02rem; font-weight: 850; line-height: 1.2; }
    .chapter-summary { display: block; margin-top: 10px; color: var(--muted); font-size: .77rem; line-height: 1.45; }
    .chapter-card[aria-selected="true"] .chapter-summary { color: rgba(255,255,255,.68); }

    .chapter-panel-wrap {
      width: 100%;
      margin-top: 14px;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 16px;
      background: rgba(255,255,255,.9);
      box-shadow: var(--shadow-soft);
    }
    .chapter-panel { animation: panel-in 250ms ease both; }
    .chapter-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: 500px; }
    .chapter-sidebar { padding: 27px 20px; border-right: 1px solid var(--border); background: linear-gradient(180deg, #fbfaf6, #f6f2ea); }
    .sidebar-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--navy); font-size: .92rem; font-weight: 850; }
    .sidebar-heading svg { width: 23px; height: 23px; color: var(--gold); }
    .subnav { display: grid; gap: 7px; }
    .subnav-button {
      width: 100%;
      padding: 10px 12px;
      border: 0;
      border-left: 2px solid transparent;
      border-radius: 0 8px 8px 0;
      background: transparent;
      color: var(--navy);
      font-size: .81rem;
      text-align: left;
      cursor: pointer;
    }
    .subnav-button:hover, .subnav-button:focus-visible { outline: none; background: rgba(197,138,71,.08); }
    .subnav-button[aria-selected="true"] { border-left-color: var(--gold); background: rgba(197,138,71,.09); font-weight: 800; }
    .chapter-main { min-width: 0; padding: clamp(28px, 4vw, 48px); }
    .subpanel { animation: panel-in 230ms ease both; }
    .subpanel h3 {
      margin: 0;
      color: var(--navy);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(1.65rem, 3vw, 2.55rem);
      line-height: 1.08;
      letter-spacing: -.035em;
    }
    .lead { max-width: 850px; margin: 12px 0 0; color: var(--muted); font-size: 1rem; }

    .theme-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
    .theme-card { min-width: 0; }
    .theme-card svg { width: 28px; height: 28px; color: var(--gold); }
    .theme-card:nth-child(3) svg { color: #29a1a7; }
    .theme-card h4 { margin: 10px 0 7px; color: var(--navy); font-size: .91rem; }
    .theme-card ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: .79rem; line-height: 1.55; }

    .feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 29px; }
    .feature-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
    .feature-image { aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
    .feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
    .feature-card:hover .feature-image img { transform: scale(1.025); }
    .feature-copy { padding: 18px; }
    .feature-copy h4 { margin: 0; color: var(--navy); font-size: .95rem; }
    .feature-copy p { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
    .tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
    .tag { padding: 4px 8px; border-radius: 999px; background: #f4eee4; color: #875d2c; font-size: .68rem; font-weight: 800; }

    .pull-quote {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 14px;
      margin-top: 27px;
      padding-top: 22px;
      border-top: 1px solid var(--border);
      color: var(--navy);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.15rem;
      font-style: italic;
    }
    .quote-mark { color: var(--gold); font-size: 3.8rem; font-style: normal; font-weight: 800; line-height: .72; }

    .pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 28px; }
    .pillar { padding: 20px; border: 1px solid var(--border); border-radius: 13px; background: #fff; }
    .pillar span { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
    .pillar h4 { margin: 8px 0 8px; color: var(--navy); font-size: .98rem; }
    .pillar p { margin: 0; color: var(--muted); font-size: .82rem; }

    .story-stack { display: grid; gap: 20px; margin-top: 28px; }
    .story-card { display: grid; grid-template-columns: minmax(250px,.8fr) minmax(0,1.2fr); overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
    .story-card:nth-child(even) .story-image { order: 2; }
    .story-image { min-height: 260px; }
    .story-image img { width: 100%; height: 100%; object-fit: cover; }
    .story-copy { padding: 24px; }
    .story-copy h4 { margin: 0; color: var(--navy); font-size: 1.08rem; }
    .story-copy > p { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
    .story-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 17px; }
    .story-point { padding: 11px; border-radius: 10px; background: #f8f5ef; }
    .story-point strong { display: block; color: var(--gold); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
    .story-point span { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; line-height: 1.4; }

    .interest-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 28px; }
    .interest-card { position: relative; min-height: 150px; padding: 21px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(145deg,#fff,#f8f5ef); }
    .interest-card::after { position: absolute; right: -20px; bottom: -28px; width: 95px; height: 95px; border: 20px solid rgba(197,138,71,.08); border-radius: 50%; content: ""; }
    .interest-card h4 { margin: 0; color: var(--navy); font-size: .98rem; }
    .interest-card p { margin: 8px 0 0; color: var(--muted); font-size: .79rem; }

    .philosophy-hero { padding: 34px; border-radius: 18px; background: linear-gradient(145deg,var(--navy),var(--navy-2)); color: #fff; }
    .philosophy-hero blockquote { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,4rem); line-height: 1.05; letter-spacing: -.035em; }
    .philosophy-hero p { max-width: 720px; margin: 17px 0 0; color: rgba(255,255,255,.68); }

    /* Regional footprint */
    .scope-section { padding: 48px 0 44px; }
    .scope-card {
      display: grid;
      grid-template-columns: minmax(260px,.68fr) minmax(0,1.32fr);
      align-items: center;
      gap: 35px;
      padding: clamp(24px,4vw,45px);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: rgba(255,255,255,.77);
      box-shadow: var(--shadow-soft);
    }
    .scope-copy h2 { margin: 9px 0 0; color: var(--navy); font-family: Georgia,"Times New Roman",serif; font-size: clamp(2rem,4vw,3.55rem); line-height: 1.02; letter-spacing: -.045em; }
    .scope-copy p { margin: 15px 0 0; color: var(--muted); font-size: .93rem; }
    .scope-copy .btn { margin-top: 22px; }
    .globe-card { position: relative; min-width: 0; min-height: 385px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #fbfaf6; }
    .globe-preview, .globe-live { position: absolute; inset: 0; }
    .globe-preview img { width: 100%; height: 100%; object-fit: cover; }
    .globe-live { display: none; }
    #globeViz { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
    #globeViz:active { cursor: grabbing; }
    #globeViz canvas { display: block; width: 100% !important; height: 100% !important; touch-action: pan-y; }
    .globe-status {
      position: absolute;
      right: 13px;
      bottom: 13px;
      left: 13px;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 12px;
      border: 1px solid rgba(255,255,255,.55);
      border-radius: 10px;
      background: rgba(255,255,255,.86);
      color: var(--navy);
      font-size: .75rem;
      box-shadow: 0 10px 28px rgba(16,33,58,.11);
      backdrop-filter: blur(12px);
    }
    .globe-status strong { display: block; font-size: .79rem; }
    .globe-status span { color: var(--muted); }
    .globe-loader { position: absolute; inset: 0; z-index: 8; display: none; place-items: center; background: rgba(251,250,246,.9); color: var(--muted); font-size: .85rem; }
    .globe-loader::before { width: 33px; height: 33px; margin: 0 auto 12px; border: 3px solid #d7e7ef; border-top-color: var(--teal); border-radius: 50%; animation: spin 900ms linear infinite; content: ""; }
    .map-marker {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 8px;
      border: 1px solid rgba(255,255,255,.9);
      border-radius: 999px;
      background: rgba(255,255,255,.93);
      color: var(--navy);
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
      box-shadow: 0 7px 18px rgba(16,33,58,.22);
      cursor: pointer;
    }
    .map-marker::before { width: 11px; height: 11px; border-radius: 50%; background: var(--marker); box-shadow: 0 0 0 3px rgba(16,33,58,.10); content: ""; }

    /* Contact */
    .contact-section { position: relative; overflow: hidden; padding: 48px 0 26px; background: linear-gradient(145deg,var(--navy),#142b4a); color: #fff; }
    .contact-section::before { position: absolute; left: -130px; bottom: -130px; width: 420px; height: 420px; border: 1px solid rgba(197,138,71,.24); border-radius: 50%; box-shadow: 0 0 0 30px rgba(197,138,71,.04),0 0 0 60px rgba(197,138,71,.03); content: ""; }
    .contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 35px; }
    .contact-copy h2 { margin: 0; color: #f2ba75; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2rem,4vw,3.3rem); }
    .contact-copy p { max-width: 650px; margin: 8px 0 0; color: rgba(255,255,255,.72); }
    .contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
    .contact-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 145px; min-height: 46px; padding: 0 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; color: #fff; font-size: .84rem; font-weight: 800; text-decoration: none; transition: background 170ms ease,transform 170ms ease; }
    .contact-link:hover,.contact-link:focus-visible { transform: translateY(-2px); outline: none; background: rgba(255,255,255,.08); }
    .contact-link svg { width: 18px; height: 18px; }
    .footer-row { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); font-size: .76rem; }

    .reveal { opacity: 0; transform: translateY(16px); transition: opacity 480ms ease, transform 480ms ease; }
    .reveal.is-visible { opacity: 1; transform: none; }

    @keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    @keyframes spin { to { transform: rotate(360deg); } }

    @media (max-width: 1040px) {
      .primary-nav a:nth-child(4), .primary-nav a:nth-child(5) { display: none; }
      .hero { grid-template-columns: minmax(0,1fr) minmax(330px,.8fr); }
      .chapter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
      .theme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
      .story-points { grid-template-columns: 1fr; }
    }

    @media (max-width: 780px) {
      :root { --header-h: 70px; }
      .shell { width: min(calc(100% - 28px), var(--max)); }
      .menu-button { display: grid; place-items: center; }
      .header-action { display: none; }
      .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 14px;
        left: 14px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: rgba(255,255,255,.96);
        box-shadow: var(--shadow);
      }
.primary-nav .private-portfolio-link {
  width: fit-content;
  margin-top: 6px;
  padding: 9px 14px;
}
      .primary-nav.is-open { display: flex; }
      .primary-nav a, .primary-nav a:nth-child(4), .primary-nav a:nth-child(5) { display: block; padding: 11px 12px; }
      .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 45px; }
      .hero-copy { padding-bottom: 22px; }
      h1 { font-size: clamp(3rem,13vw,5rem); }
      .hero-visual { min-height: 440px; }
      .portrait-wrap { right: 50%; width: min(100%,420px); height: 400px; transform: translateX(50%); }
      .hero-stats { width: 100%; margin-top: 18px; }
      .hero-stat { min-width: 0; flex: 1; padding: 15px; }
      .chapter-grid { grid-template-columns: 1fr; }
      .chapter-card { min-height: auto; padding: 18px 20px; }
      .card-top { margin-bottom: 8px; }
      .chapter-summary { margin-top: 5px; }
      .chapter-panel-wrap { margin: 0 0 5px; }
      .chapter-layout { grid-template-columns: 1fr; }
      .chapter-sidebar { padding: 18px; border-right: 0; border-bottom: 1px solid var(--border); }
      .sidebar-heading { margin-bottom: 12px; }
      .subnav { display: flex; overflow-x: auto; gap: 7px; padding-bottom: 2px; scrollbar-width: thin; }
      .subnav-button { flex: 0 0 auto; width: auto; padding: 8px 11px; border: 1px solid var(--border); border-radius: 999px; background: #fff; white-space: nowrap; }
      .chapter-sidebar {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
      .subnav-button[aria-selected="true"] { border-color: var(--gold); background: #f7eee3; }
      .chapter-main { padding: 25px 20px; }
      .chapter-panel-wrap,
.chapter-layout,
.chapter-sidebar,
.chapter-main,
.subpanel,
.feature-grid,
.feature-card,
.pillars,
.pillar,
.interest-grid,
.interest-card,
.story-stack,
.story-card,
.story-copy {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.chapter-main,
.subpanel,
.feature-card,
.pillar,
.interest-card,
.story-card,
.story-copy {
  overflow-wrap: anywhere;
  word-break: normal;
}
      .feature-grid,.pillars,.interest-grid { grid-template-columns: 1fr; }
      .story-card { grid-template-columns: 1fr; }
      .story-card:nth-child(even) .story-image { order: 0; }
      .story-image { min-height: 220px; }
      .scope-card { grid-template-columns: 1fr; }
      .scope-copy { text-align: center; }
      .scope-copy .eyebrow { justify-content: center; }
      .scope-copy .btn { width: 100%; }
      .globe-card { min-height: 360px; }
      .contact-grid { grid-template-columns: 1fr; }
      .contact-actions { justify-content: flex-start; }
      .footer-row { align-items: flex-start; flex-direction: column; }
    }

    @media (max-width: 540px) {
      .hero-actions .btn { width: 100%; }
      .hero-visual { min-height: 400px; }
      .portrait-wrap { height: 400px; }
      .hero-stats { display: grid; grid-template-columns: 1fr; }
      .hero-stat + .hero-stat { border-top: 1px solid var(--border); border-left: 0; }
      .theme-grid { grid-template-columns: 1fr; }
      .globe-card { min-height: 325px; }
      .globe-status { align-items: flex-start; flex-direction: column; }
      .contact-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
      .contact-link { width: 100%; }
    }
/* =========================
   DARK MODE
   ========================= */

html[data-theme="dark"] {
  --bg: #0b1220;
  --bg-soft: #0f1827;
  --surface: #121c2b;
  --surface-2: #182436;
  --text: #edf1f6;
  --muted: #a8b3c2;
  --border: #2a394d;
  --border-dark: rgba(255,255,255,.13);

  --shadow: 0 24px 70px rgba(0,0,0,.30);
  --shadow-soft: 0 14px 34px rgba(0,0,0,.20);
}

html[data-theme="dark"] body {
  color: var(--text);
  background:
    radial-gradient(circle at 8% 7%, rgba(197,138,71,.10), transparent 25rem),
    radial-gradient(circle at 92% 0%, rgba(67,112,158,.14), transparent 31rem),
    var(--bg);
}

/* Header */
html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(255,255,255,.08);
  background: rgba(11,18,32,.88);
}
/* Dark mode mobile navigation */
html[data-theme="dark"] .primary-nav {
  border-color: rgba(255,255,255,.12);
  background: rgba(18,28,43,.98);
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}

html[data-theme="dark"] .primary-nav a {
  color: #edf1f6;
}

html[data-theme="dark"] .primary-nav a:hover,
html[data-theme="dark"] .primary-nav a:focus-visible {
  background: rgba(255,255,255,.08);
  color: #ffffff;
}
html[data-theme="dark"] .brand,
html[data-theme="dark"] .primary-nav a {
  color: #edf1f6;
}

html[data-theme="dark"] .primary-nav a:hover,
html[data-theme="dark"] .primary-nav a:focus-visible {
  background: rgba(255,255,255,.07);
}
/* Dark mode private portfolio link */
html[data-theme="dark"] .primary-nav .private-portfolio-link {
  border-color: var(--gold);

  color: #f0c897;
  background: rgba(197, 138, 71, 0.08);
}

html[data-theme="dark"] .primary-nav .private-portfolio-link:hover,
html[data-theme="dark"] .primary-nav .private-portfolio-link:focus-visible {
  border-color: #f0c897;

  color: #10213a;
  background: #f0c897;
}
html[data-theme="dark"] .theme-toggle {
  border-color: #34455d;
  background: #121c2b;
  color: #d3a15e;
}

html[data-theme="dark"] .menu-button {
  border-color: #34455d;
  background: #121c2b;
  color: #edf1f6;
}

/* Hero */
html[data-theme="dark"] h1 {
  color: #f0f3f7;
}

html[data-theme="dark"] .hero-visual::after {
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    rgba(11,18,32,.72) 38%,
    transparent 100%
  );
}

html[data-theme="dark"] .btn-secondary {
  border-color: #45546a;
  background: rgba(18,28,43,.78);
  color: #edf1f6;
}

/* Hero statistics */
html[data-theme="dark"] .hero-stats {
  border-color: var(--border);
  background: rgba(18,28,43,.88);
}

html[data-theme="dark"] .stat-icon {
  background: #1b293c;
}

html[data-theme="dark"] .hero-stat strong {
  color: #edf1f6;
}

/* Main headings */
html[data-theme="dark"] .section-title h2,
html[data-theme="dark"] .scope-copy h2,
html[data-theme="dark"] .subpanel h3,
html[data-theme="dark"] .sidebar-heading,
html[data-theme="dark"] .theme-card h4,
html[data-theme="dark"] .feature-copy h4,
html[data-theme="dark"] .pillar h4,
html[data-theme="dark"] .story-copy h4,
html[data-theme="dark"] .interest-card h4 {
  color: #edf1f6;
}

/* Profile cards */
html[data-theme="dark"] .chapter-card {
  border-color: var(--border);
  background: rgba(18,28,43,.82);
  color: #edf1f6;
}

html[data-theme="dark"] .chapter-card:hover,
html[data-theme="dark"] .chapter-card:focus-visible {
  border-color: var(--gold);
  background: #162235;
}

/* Leave selected card navy/gold */
html[data-theme="dark"] .chapter-card[aria-selected="true"] {
  border-color: var(--gold);
  background: linear-gradient(145deg,#10213a,#193252);
  color: #fff;
}

/* Expanded chapter area */
html[data-theme="dark"] .chapter-panel-wrap {
  border-color: var(--border);
  background: rgba(18,28,43,.96);
}

html[data-theme="dark"] .chapter-sidebar {
  border-color: var(--border);
  background: linear-gradient(180deg,#101a29,#0e1725);
}

/* Dark mode chapter sub-navigation */
html[data-theme="dark"] .subnav-button {
  border-color: rgba(255,255,255,.16);
  background: #182436;
  color: #dce4ed;
}

html[data-theme="dark"] .subnav-button:hover,
html[data-theme="dark"] .subnav-button:focus-visible {
  border-color: rgba(197,138,71,.65);
  background: #213047;
  color: #ffffff;
}

html[data-theme="dark"] .subnav-button[aria-selected="true"] {
  border-color: var(--gold);
  background: rgba(197,138,71,.18);
  color: #f0c897;
}

/* Content surfaces */
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .pillar,
html[data-theme="dark"] .story-card {
  border-color: var(--border);
  background: #121c2b;
}

html[data-theme="dark"] .story-point {
  background: #182436;
}

html[data-theme="dark"] .interest-card {
  border-color: var(--border);
  background: linear-gradient(145deg,#121c2b,#162235);
}

html[data-theme="dark"] .tag {
  background: #253247;
  color: #e3bd89;
}

html[data-theme="dark"] .pull-quote {
  border-color: var(--border);
  color: #edf1f6;
}

/* Mobile sub-navigation pills */
html[data-theme="dark"] .subnav-button {
  border-color: var(--border);
}

html[data-theme="dark"] .subnav-button[aria-selected="true"] {
  border-color: var(--gold);
}

/* Regional footprint */
html[data-theme="dark"] .scope-card {
  border-color: var(--border);
  background: rgba(18,28,43,.88);
}

html[data-theme="dark"] .globe-card {
  border-color: var(--border);
  background: #101927;
}

html[data-theme="dark"] .globe-status {
  border-color: rgba(255,255,255,.14);
  background: rgba(18,28,43,.88);
  color: #edf1f6;
}

html[data-theme="dark"] .globe-loader {
  background: rgba(11,18,32,.94);
  color: var(--muted);
}

html[data-theme="dark"] .map-marker {
  border-color: #46566d;
  background: rgba(18,28,43,.95);
  color: #edf1f6;
}

/* Contact/footer */
html[data-theme="dark"] .contact-section {
  background: linear-gradient(145deg,#070c14,#101a29);
}
.contact-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: #fff;
  background: rgba(255,255,255,.07);
  outline: none;
  transition:
    border-color 170ms ease,
    background 170ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form-status {
  min-height: 0;
  margin: 6px 0 0;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
}

@media (max-width: 780px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }
.form-field label span {
  font-weight: 400;
  opacity: .7;
}
}
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }
/* ================================
   PRIVACY NOTICE
   ================================ */

.privacy-shell {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.privacy-header {
  border-bottom:
    1px solid rgba(128, 128, 128, .22);
}

.privacy-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.privacy-brand {
  color: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.privacy-back {
  color: inherit;
  font-size: .9rem;
  text-decoration: none;
  opacity: .75;
}

.privacy-back:hover {
  opacity: 1;
}

.privacy-main {
  padding-top: 64px;
  padding-bottom: 80px;
}

.privacy-eyebrow {
  margin-bottom: 8px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  opacity: .6;
}

.privacy-main h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.privacy-updated {
  margin-top: 0;
  margin-bottom: 36px;
  font-size: .9rem;
  opacity: .65;
}

.privacy-intro {
  max-width: 72ch;
  margin-bottom: 42px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.privacy-main section {
  padding: 28px 0;
  border-top:
    1px solid rgba(128, 128, 128, .20);
}

.privacy-main section h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.privacy-main section p {
  max-width: 75ch;
  line-height: 1.75;
}

.privacy-main section a,
.privacy-footer a,
.privacy-inline-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-footer {
  padding: 28px 0 40px;
  border-top:
    1px solid rgba(128, 128, 128, .22);
  font-size: .9rem;
}

.privacy-inline-notice {
  margin: 0 0 16px;
  max-width: 620px;
  font-size: .82rem;
  line-height: 1.55;
  opacity: .72;
}
.privacy-field {
  margin-top: -9px;
}
@media (max-width: 600px) {
  .privacy-shell {
    width: min(100% - 28px, 880px);
  }

  .privacy-main {
    padding-top: 44px;
    padding-bottom: 60px;
  }

  .privacy-header-inner {
    min-height: 64px;
  }
}
/* ================================
   THEME TOGGLE ICON STATE
   ================================ */

html[data-theme="light"] #theme-icon-sun {
  display: block;
}

html[data-theme="light"] #theme-icon-moon {
  display: none;
}

html[data-theme="dark"] #theme-icon-sun {
  display: none;
}

html[data-theme="dark"] #theme-icon-moon {
  display: block;
}