/* ============================================================
   SUPER ADVISOR · v3 SHELL — shared sub-page stylesheet
   Matches landing-v3.html: private-bank prospectus aesthetic.
   Warm ink, champagne foil, Gloock serif display, ledger
   hairlines. Keyed to the existing sub-page class names so
   every page (about, blog, careers, legal…) wears one shell.
   ============================================================ */
:root {
  --bg: #0b0a08;
  --bg-2: #100e0b;
  --ink: #f4f1ea;
  --muted: rgba(244,241,234,0.62);
  --faint: rgba(244,241,234,0.42);
  --line: rgba(244,241,234,0.09);
  --line-2: rgba(244,241,234,0.16);
  --surface: rgba(244,241,234,0.025);
  --surface-2: rgba(244,241,234,0.055);
  --gold: #c9ad76;
  --gold-bright: #ebd5a4;
  --gold-ghost: rgba(201,173,118,0.10);
  --serif: "Gloock", "Iowan Old Style", Georgia, serif;
  --sans: "Satoshi", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22,.7,.16,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(52% 38% at 78% -6%, rgba(201,173,118,0.11), transparent 62%),
    radial-gradient(64% 36% at 50% 104%, rgba(201,173,118,0.06), transparent 62%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; opacity: 0.028; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(201,173,118,0.32); color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ===== NAV — simple variant (logo + back) ===== */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 36px; border-bottom: 1px solid var(--line); }
.nav img { height: 23px; display: block; opacity: .9; }
.nav a { font-size: 13.5px; color: var(--muted); text-decoration: none; font-weight: 500; transition: color .18s; }
.nav a:hover { color: var(--ink); }
.nav .nav-links { display: flex; align-items: center; gap: 30px; }
.nav .nav-links a.active { color: var(--ink); }

/* ===== NAV — centered variant (.top-nav) ===== */
.top-nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 36px; border-bottom: 1px solid var(--line); }
.top-nav-links { display: flex; align-items: center; gap: 28px; }
.top-nav-logo { position: absolute; left: 50%; transform: translateX(-50%); flex-shrink: 0; text-decoration: none; }
.top-nav-logo img { height: 24px; opacity: .9; display: block; }
.top-nav-link { font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .18s; white-space: nowrap; }
.top-nav-link:hover { color: var(--ink); }
.top-nav-link.active { color: var(--ink); }
.top-nav-cta { font-size: 13px; font-weight: 600; color: #211806; background: linear-gradient(180deg, #efd9a8, #c9ad76); padding: 9px 18px; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: transform .15s, filter .2s; box-shadow: 0 10px 26px -12px rgba(201,173,118,0.65); }
.top-nav-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.top-nav-hamburger { display: none; width: 32px; height: 32px; border: none; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.top-nav-hamburger span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 1px; }
.top-nav-mobile-menu { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(11,10,8,0.97); backdrop-filter: blur(18px); flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.top-nav-mobile-menu.open { opacity: 1; pointer-events: auto; }
.top-nav-mobile-menu .top-nav-link { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.top-nav-mobile-menu .top-nav-cta { font-size: 15px; padding: 11px 28px; margin-top: 8px; }
.top-nav-mobile-close { position: absolute; top: 24px; right: 24px; width: 32px; height: 32px; border: none; background: none; color: var(--muted); font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
@media (max-width: 680px) {
  .top-nav { padding: 18px 20px; }
  .top-nav-links { display: none; }
  .top-nav-cta-desktop { display: none; }
  .top-nav-hamburger { display: flex; }
  .top-nav-mobile-menu { display: flex; }
  .top-nav-logo { position: static; transform: none; }
}

/* ===== PAGE SHELL (content pages) ===== */
.page { max-width: 720px; margin: 0 auto; padding: 92px 24px 130px; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 54px); letter-spacing: -0.015em; line-height: 1.08; margin-bottom: 18px; font-variation-settings: "opsz" 144; }
.page .subtitle { font-size: 17.5px; color: var(--muted); line-height: 1.65; margin-bottom: 54px; font-weight: 300; max-width: 56ch; }
.page .updated { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 48px; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: -0.01em; color: var(--ink); margin: 48px 0 14px; padding-top: 30px; border-top: 1px solid var(--line); font-variation-settings: "opsz" 90; }
.page h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 26px 0 8px; }
.page p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; font-weight: 300; }
.page ul, .page ol { color: var(--muted); font-size: 15px; line-height: 1.75; font-weight: 300; margin: 0 0 16px 20px; }
.page li { margin-bottom: 6px; }
.page a { color: var(--gold-bright); text-decoration: none; transition: color .18s; }
.page a:hover { color: var(--gold); }
.page strong, .page b { color: var(--ink); font-weight: 500; }

/* ===== CARDS (values, contact, security, team, pillars) ===== */
.values, .contact-grid, .sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.value-card, .contact-card, .sec-card, .role, .team-card, .pillar {
  padding: 24px; border-radius: 14px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(244,241,234,0.05), rgba(244,241,234,0.016));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 30px -18px rgba(0,0,0,0.7);
  transition: transform .25s var(--ease), border-color .25s;
}
.value-card:hover, .contact-card:hover, .sec-card:hover, .role:hover, .team-card:hover, .pillar:hover { transform: translateY(-3px); border-color: rgba(201,173,118,0.28); }
.value-card h3, .contact-card h3, .sec-card h3 { font-size: 14.5px; font-weight: 600; color: var(--ink); margin: 0 0 7px; display: flex; align-items: center; gap: 9px; }
.value-card p, .contact-card p, .sec-card p { font-size: 13px; margin-bottom: 0; line-height: 1.6; }
.sec-card svg, .contact-card svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* careers */
.role { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; margin-bottom: 12px; }
.role-info h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.role-info span { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.role-tag, .post-tag, .article-tag { display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: var(--gold-ghost); border: 1px solid rgba(201,173,118,0.2); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 8px; }
.team-card-name { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--ink); margin-bottom: 3px; font-variation-settings: "opsz" 60; }
.team-card-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.team-card p { font-size: 13px; margin-bottom: 0; line-height: 1.6; }

/* ===== BLOG INDEX ===== */
.post { display: block; padding: 26px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.post:first-of-type { border-top: 1px solid var(--line-2); }
.post-date { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.post-title { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; line-height: 1.25; font-variation-settings: "opsz" 80; transition: color .2s; }
.post:hover .post-title { color: var(--gold-bright); }
.post-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }
.post .post-tag { margin-top: 12px; }

/* ===== ARTICLE (blog posts) ===== */
.article { max-width: 680px; margin: 0 auto; padding: 84px 24px 130px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); text-decoration: none; transition: color .18s; margin-bottom: 36px; }
.back-link:hover { color: var(--gold); }
.back-link svg { width: 13px; height: 13px; }
.article-meta { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; letter-spacing: .05em; }
.article h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.6vw, 46px); letter-spacing: -0.015em; line-height: 1.12; margin-bottom: 28px; color: var(--ink); font-variation-settings: "opsz" 144; }
.article p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.article h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); margin: 44px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); letter-spacing: -0.01em; font-variation-settings: "opsz" 90; }
.article h3 { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.article a { color: var(--gold-bright); text-decoration: none; }
.article a:hover { color: var(--gold); }
.article strong, .article b { color: var(--ink); font-weight: 500; }
.article ul, .article ol { color: var(--muted); font-size: 15.5px; line-height: 1.8; font-weight: 300; margin: 0 0 20px 20px; }
.article li { margin-bottom: 8px; }
.article blockquote { font-family: var(--serif); font-weight: 300; font-size: 19px; line-height: 1.55; color: var(--gold-bright); border-left: 2px solid var(--gold); padding-left: 20px; margin: 30px 0; font-variation-settings: "opsz" 60; }
.article figure { margin: 34px 0; }
.article figure img { width: 100%; border-radius: 12px; border: 1px solid var(--line-2); display: block; }
.article figcaption { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 10px; line-height: 1.6; }
.sources { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.sources h2 { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--faint); margin: 0 0 14px; padding: 0; border: none; letter-spacing: .16em; text-transform: uppercase; }
.sources ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; }
.sources li { font-size: 13px; color: var(--faint); line-height: 1.6; margin: 0; }
.sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.sources a:hover { color: var(--gold-bright); }

/* ===== VISION PAGE ===== */
.vision-hero { max-width: 820px; margin: 0 auto; padding: 110px 24px 70px; text-align: center; }
.vision-label { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.vision-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 66px); letter-spacing: -0.015em; line-height: 1.06; margin-bottom: 24px; font-variation-settings: "opsz" 144; }
.vision-hero p { font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 600px; margin: 0 auto; font-weight: 300; }
.vision-divider { width: min(520px, 70%); height: 1px; margin: 30px auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.beliefs { max-width: 720px; margin: 0 auto; padding: 50px 24px; }
.belief { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; row-gap: 8px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.belief:last-child { border-bottom: none; }
.belief-number { font-family: var(--serif); font-size: 21px; color: var(--gold); line-height: 1.3; grid-row: 1 / span 2; }
.belief h2, .belief p { grid-column: 2; }
.belief h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin-bottom: 10px; font-variation-settings: "opsz" 90; }
.belief p { font-size: 15px; color: var(--muted); line-height: 1.75; font-weight: 300; }
.vision-statement { max-width: 760px; margin: 0 auto; padding: 80px 24px; text-align: center; position: relative; }
.vision-statement::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(640px, 90%); height: 100%; background: radial-gradient(55% 55% at 50% 50%, rgba(201,173,118,0.09), transparent 70%); pointer-events: none; }
.vision-statement blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 3vw, 30px); line-height: 1.5; color: var(--gold-bright); border: none; padding: 0; margin: 0 0 22px; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); font-variation-settings: "opsz" 90; position: relative; }
.vision-statement blockquote.visible { opacity: 1; transform: none; }
.vision-statement .attribution { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); opacity: 0; transition: opacity .9s var(--ease) .3s; position: relative; }
.vision-statement blockquote.visible + .attribution { opacity: 1; }
.pillars { max-width: 1000px; margin: 0 auto; padding: 60px 24px 90px; }
.pillars-label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: 36px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pillar p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; font-weight: 300; }
.vision-cta { max-width: 680px; margin: 0 auto; padding: 40px 24px 120px; text-align: center; }
.vision-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.015em; margin-bottom: 16px; font-variation-settings: "opsz" 120; }
.vision-cta p { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 28px; font-weight: 300; }
.vision-cta a { display: inline-block; font-size: 15px; font-weight: 600; color: #211806; background: linear-gradient(180deg, #efd9a8, #c9ad76 58%, #b3955e); border-radius: 10px; padding: 15px 28px; text-decoration: none; transition: transform .16s var(--ease), filter .2s; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 18px 44px -16px rgba(201,173,118,0.55); }
.vision-cta a:hover { filter: brightness(1.06); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--line); padding: 64px 24px 42px; background: transparent; }
.footer-inner { max-width: 1168px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 23px; opacity: .85; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--faint); line-height: 1.65; margin-top: 0; max-width: 280px; font-weight: 300; }
.footer-column h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-column ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.footer-column li { margin: 0; }
.footer-column a { font-size: 13.5px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-column a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 14px; }
.footer-copyright { font-size: 12px; color: var(--faint); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--faint); transition: color .2s; }
.footer-social a:hover { color: var(--ink); }
.footer-social svg { width: 17px; height: 17px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pillars-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .page { padding: 64px 20px 90px; }
  .article { padding: 56px 20px 90px; }
  .values, .contact-grid, .sec-grid, .team-grid { grid-template-columns: 1fr; }
  .role { flex-direction: column; align-items: flex-start; gap: 10px; }
  .belief { grid-template-columns: 44px 1fr; gap: 14px; }
  .vision-hero { padding: 70px 20px 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vision-statement blockquote, .vision-statement .attribution { opacity: 1 !important; transform: none !important; transition: none !important; }
}
