/* ================================================================
   LUMEN CAPITAL  ·  INSTITUTIONAL DESIGN SYSTEM
   Boutique advisory aesthetic. Lazard / Rothschild / Blackstone.
   ================================================================ */

:root {
  /* Primary palette */
  --navy-deep:   #0F1E33;
  --navy-shadow: #0A1626;
  --navy:        #1A2849;
  --navy-soft:   #2A3A60;

  --gold:        #C9A961;
  --gold-onlight: #835F22; /* a11y: gold used as TEXT on light bg, ~5:1 (AA). bright --gold only on dark/decorative */
  --gold-soft:   rgba(201, 169, 97, 0.16);
  --gold-line:   rgba(201, 169, 97, 0.30);

  --offwhite:    #F5F6F8;
  --cream:       #FAF7EF;
  --bone:        #F5F1E8;
  --pearl:       #FFFFFF;

  --graphite:    #2A2A2A;
  --silver:      #9AA3AF;
  --slate:       #5A6478;
  --slate-light: #B0B7C2;

  --rule-light:  #E2E5EA;
  --rule-dark:   rgba(255, 255, 255, 0.10);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:  'JetBrains Mono', 'Courier New', monospace;

  --max-width:  1320px;
  --gutter:     clamp(28px, 6vw, 96px);
  --section-y:  clamp(96px, 12vw, 180px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--offwhite);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
}

img { max-width: 100%; display: block; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

.inst-h1, .inst-h2, .inst-h3, .inst-h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.08;
  color: var(--navy-deep);
}

.inst-h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 1.04; font-weight: 500; }
.inst-h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.10; }
.inst-h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; font-weight: 500; }
.inst-h4 { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.3;  font-weight: 500; font-family: var(--sans); letter-spacing: 0.01em; }

.inst-h2--light { color: var(--cream); }

.inst-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--silver);
  margin-bottom: 28px;
  font-weight: 500;
}
.inst-eyebrow--gold { color: var(--gold-onlight); }
.inst-section--dark .inst-eyebrow--gold { color: var(--gold); } /* bright gold is fine on navy */

.inst-lead {
  font-family: var(--sans);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
  color: var(--slate);
  font-weight: 400;
  max-width: 60ch;
}
.inst-lead--centered { margin-left: auto; margin-right: auto; }
.inst-lead--light    { color: rgba(245, 246, 248, 0.78); }

a { color: inherit; text-decoration: none; transition: color 250ms ease; }

/* ================================================================
   LAYOUT
   ================================================================ */

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

.inst-section {
  padding: var(--section-y) 0;
  position: relative;
}
.inst-section--light { background: var(--offwhite); }
.inst-section--cream { background: var(--cream); }
.inst-section--dark  {
  background: var(--navy-deep);
  color: rgba(245, 246, 248, 0.85);
}

.inst-section__head {
  margin-bottom: clamp(56px, 7vw, 96px);
  max-width: 920px;
}
.inst-section__head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.inst-grid-2 {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 900px) {
  .inst-grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

.inst-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 32px 0 24px;
}

.inst-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-deep);
  font-weight: 500;
  font-family: var(--sans);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: color 250ms ease, border-color 250ms ease;
}
.inst-link:hover { color: var(--gold-onlight); border-color: var(--navy-deep); }

/* ================================================================
   NAVIGATION
   ================================================================ */

.inst-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 246, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule-light);
}
.inst-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.inst-nav__logo img { height: 44px; width: auto; }
.inst-nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0 auto 0 auto;
}
.inst-nav__links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--slate);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.inst-nav__links a:hover,
.inst-nav__links a.active { color: var(--navy-deep); }
.inst-nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
}
.inst-nav__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--silver);
  font-family: var(--mono);
}
.inst-nav__lang a { color: var(--silver); }
.inst-nav__lang a.is-active { color: var(--navy-deep); }
.inst-nav__cta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 12px 22px;
  transition: background 250ms ease;
}
.inst-nav__cta:hover { background: var(--gold); color: var(--navy-deep); }
.inst-nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 24px;
  color: var(--navy-deep);
  cursor: pointer;
}
@media (max-width: 1100px) {
  .inst-nav__links, .inst-nav__lang { display: none; }
  .inst-nav__toggle { display: block; }
}

/* ================================================================
   1. HERO
   ================================================================ */

.inst-hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px var(--gutter) 80px;
}
.inst-hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(198, 161, 91, 0.06), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(31, 47, 74, 0.6), transparent 60%);
}
.inst-hero__line {
  position: absolute;
  background: var(--gold-line);
  height: 1px;
}
.inst-hero__line--top    { top: 18%;  left: 0;  width: 8%; }
.inst-hero__line--bottom { bottom: 18%; right: 0; width: 8%; }

.inst-hero__inner {
  position: relative;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}
.inst-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 7.5vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--cream);
  margin-bottom: 40px;
  max-width: 18ch;
}
.inst-hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.inst-hero__lead {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
  max-width: 56ch;
  color: rgba(245, 246, 248, 0.78);
  margin-bottom: 56px;
  font-weight: 300;
}
.inst-hero__cta {
  display: flex;
  gap: 16px;
  margin-bottom: 96px;
  flex-wrap: wrap;
}
.inst-hero__meta {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}
.inst-hero__meta-sep { color: var(--gold); }

/* Buttons */
.inst-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 18px 36px;
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--navy-deep);
  transition: all 250ms ease;
  cursor: pointer;
}
.inst-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.inst-btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 246, 248, 0.4);
}
.inst-btn--ghost:hover {
  background: rgba(198, 161, 91, 0.12);
  border-color: var(--gold);
  color: var(--cream);
}
.inst-btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.inst-btn--gold:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy-deep);
}

/* ================================================================
   2. POSITIONING
   ================================================================ */

.inst-positioning__body { max-width: 60ch; }

/* ================================================================
   3. CAPABILITIES CARDS
   ================================================================ */

.inst-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.inst-card {
  background: var(--cream);
  padding: clamp(40px, 4vw, 64px) clamp(28px, 3vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 350ms ease;
  min-height: 280px;
}
.inst-section--cream .inst-card { background: var(--cream); }
.inst-card:hover { background: var(--pearl); }

.inst-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-onlight);
}
.inst-card__title {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.25;
  color: var(--navy-deep);
  font-weight: 500;
  margin-bottom: 8px;
  max-width: 22ch;
}
.inst-card__body {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
  flex-grow: 1;
  max-width: 38ch;
}
.inst-card .inst-link { margin-top: 12px; align-self: flex-start; }

@media (max-width: 900px) {
  .inst-cards { grid-template-columns: 1fr; }
  .inst-card { min-height: auto; }
}

/* ================================================================
   4. FRAMEWORK
   ================================================================ */

.inst-framework {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.inst-framework__step {
  padding: 0 clamp(20px, 2vw, 40px);
  border-left: 1px solid var(--rule-dark);
}
.inst-framework__step:first-child { border-left: 0; padding-left: 0; }

.inst-framework__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.inst-framework__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.inst-framework__body {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(245, 246, 248, 0.65);
  max-width: 28ch;
}

@media (max-width: 900px) {
  .inst-framework { grid-template-columns: 1fr; gap: 56px; }
  .inst-framework__step { padding: 0; border-left: 0; border-top: 1px solid var(--rule-dark); padding-top: 32px; }
  .inst-framework__step:first-child { border-top: 0; padding-top: 0; }
}

/* ================================================================
   5. PRINCIPLES
   ================================================================ */

.inst-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 80px);
}
.inst-principle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.inst-principle__numeral {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 4vw, 56px);
  color: var(--gold-onlight);
  line-height: 1;
  font-weight: 400;
}
.inst-principle__title {
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 28px);
  color: var(--navy-deep);
  font-weight: 500;
  margin-top: 8px;
  border-top: 1px solid var(--gold);
  padding-top: 18px;
  display: inline-block;
  align-self: flex-start;
}
.inst-principle__body {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.7;
  max-width: 36ch;
}

@media (max-width: 900px) {
  .inst-principles { grid-template-columns: 1fr; }
}

/* ================================================================
   6. JURISDICTIONS
   ================================================================ */

.inst-jurisdictions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-light);
  margin-top: 56px;
  border: 1px solid var(--rule-light);
}
.inst-jurisdiction {
  padding: 32px 28px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inst-jurisdiction__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-onlight);
}
.inst-jurisdiction__name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy-deep);
  font-weight: 500;
}
.inst-jurisdiction__detail {
  font-size: 13px;
  color: var(--slate);
}

@media (max-width: 700px) {
  .inst-jurisdictions { grid-template-columns: 1fr; }
}

/* ================================================================
   7. CTA SECTION
   ================================================================ */

.inst-section--cta {
  padding: clamp(120px, 14vw, 200px) 0;
}
.inst-cta {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.inst-cta .inst-h2 { max-width: 22ch; }
.inst-cta .inst-lead { margin-bottom: 16px; }

/* ================================================================
   8. FOOTER
   ================================================================ */

.inst-footer {
  background: var(--navy-shadow);
  color: rgba(245, 246, 248, 0.65);
  padding: 96px 0 40px;
  font-size: 14px;
}
.inst-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-dark);
  gap: 32px;
  flex-wrap: wrap;
}
.inst-footer__logo img { height: 56px; width: auto; filter: brightness(0) invert(1) opacity(0.85); }
.inst-footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(245, 246, 248, 0.6);
}
.inst-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  margin-bottom: 80px;
}
.inst-footer__col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.inst-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.inst-footer__col a {
  color: rgba(245, 246, 248, 0.65);
  font-size: 14px;
  transition: color 250ms ease;
}
.inst-footer__col a:hover { color: var(--gold); }
.inst-footer__col li { line-height: 1.5; }

.inst-footer__divider {
  height: 1px;
  background: var(--rule-dark);
  margin: 0 0 40px;
}
.inst-footer__disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: rgba(245, 246, 248, 0.45);
  max-width: 96ch;
  margin-bottom: 32px;
}
.inst-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(245, 246, 248, 0.45);
}
.inst-footer__bottom-links {
  list-style: none;
  display: flex;
  gap: 28px;
}
.inst-footer__bottom-links a {
  color: rgba(245, 246, 248, 0.55);
  font-size: 12px;
}
.inst-footer__bottom-links a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .inst-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  .inst-footer__cols { grid-template-columns: 1fr; }
}

/* ================================================================
   FADE-UP REVEAL (subtle)
   ================================================================ */

.inst-section { opacity: 1; }


/* ========== a11y + print ========== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body { background: white !important; color: black !important; font-size: 11pt; }
  .inst-nav, .inst-footer, .cookie-banner, .skip-link, .breadcrumbs, .inst-nav__toggle { display: none !important; }
  a { color: black !important; }
  a[href^="http"]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  h1, h2, h3 { page-break-after: avoid; color: #1A2849 !important; }
  p { page-break-inside: avoid; orphans: 3; widows: 3; }
  .inst-section { padding: 16pt 0 !important; }
  .inst-container { max-width: 100% !important; padding: 0 !important; }
  @page { margin: 0.75in; size: letter; }
}
