/* ==========================================================================
   Farbe Holdings — site stylesheet
   1 Tokens · 2 Fonts · 3 Base · 4 Layout · 5 Type · 6 Buttons · 7 Header/nav · 8 Drawer
   9 Heroes · 10 Sections · 11 Cards & grids · 12 Globe · 13 Insights · 14 Article/legal prose
   15 Forms · 16 CTA/footer · 17 Motion · 18 Utilities
   ========================================================================== */

/* 1 Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #050d18;
  --navy-900: #0a1628;
  --navy-850: #0d1c33;
  --navy-800: #11233e;
  --navy-700: #1a3254;
  --gold: #b8975e;
  --gold-light: #d6bd8e;
  --gold-deep: #8a6c3c;
  --ivory: #f5f2eb;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #0d1626;
  --body: #3b4556;
  --muted: #646d7c;
  --line: #e2ddd2;
  --line-soft: #ece8df;
  --on-dark: #e8ecf2;
  --on-dark-muted: #a3aec0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --danger: #a3352b;
  --success: #2f6b4a;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(84px, 11vw, 168px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

/* 2 Fonts (self-hosted, Latin subsets; SIL Open Font License) -------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}

/* 3 Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 1.0625rem/1.7 var(--font-text);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-light); color: var(--navy-900); }
main:focus { outline: none; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.icon.flip { transform: rotate(180deg); }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px; font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 4 Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }
.bg-ivory { background: var(--ivory); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy-900); color: var(--on-dark-muted); }
.bg-navy-deep { background: var(--navy-950); color: var(--on-dark-muted); }
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split-even { grid-template-columns: 1fr 1fr; }
  .split-rev { grid-template-columns: 7fr 5fr; }
  .split-center { align-items: center; }
  .sticky-col { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* 5 Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 350; letter-spacing: -0.015em; line-height: 1.12; font-optical-sizing: auto; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy-deep h2, .bg-navy-deep h3 { color: var(--white); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
em, .italic { font-style: italic; }

.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font: 600 0.75rem/1.2 var(--font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
}
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: 0.8; }
.bg-navy .kicker, .bg-navy-deep .kicker, .page-hero .kicker, .hero .kicker, .cta-band .kicker { color: var(--gold-light); }

.display { font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 300; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 18ch; }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.center { text-align: center; }
.section-head.center .section-title, .section-head.center .section-intro { margin-left: auto; margin-right: auto; }
.section-intro { margin-top: 24px; max-width: 62ch; font-size: 1.125rem; color: var(--muted); }
.bg-navy .section-intro, .bg-navy-deep .section-intro { color: var(--on-dark-muted); }
.lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.45; color: var(--ink); letter-spacing: -0.01em; }
.bg-navy .lead, .bg-navy-deep .lead { color: var(--on-dark); }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.8125rem/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.text-link .icon { transition: transform 0.35s var(--ease); }
.text-link:hover { color: var(--gold-deep); }
.text-link:hover .icon, a:hover > .text-link .icon { transform: translateX(5px); }
.bg-navy .text-link, .bg-navy-deep .text-link { color: var(--gold-light); }

/* 6 Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; text-decoration: none;
  font: 600 0.8125rem/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn .icon { font-size: 1.05rem; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-900); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* 7 Header / nav ---------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white); transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); opacity: 0; transition: opacity 0.4s; }
.site-header.is-scrolled { background: rgba(8, 18, 34, 0.94); --header-h: 72px; }
@supports (backdrop-filter: blur(10px)) { .site-header.is-scrolled { background: rgba(8, 18, 34, 0.93); backdrop-filter: saturate(140%) blur(14px); } }
.site-header.is-scrolled::after { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand-word {
  margin-left: 14px; padding-left: 16px; border-left: 1px solid rgba(214, 189, 142, 0.45);
  font: 400 1.35rem/1 var(--font-display); letter-spacing: 0.01em; color: var(--white);
}
.brand:hover .brand-word { color: var(--gold-light); }
.drawer-top .brand-word { font-size: 1.2rem; }
.footer-brand .brand-word { font-size: 1.5rem; }
.brand img { width: auto; height: 46px; }
.site-header.is-scrolled .brand img { height: 40px; }
.brand img { transition: height 0.4s var(--ease); }

.nav { display: none; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; background: none; border: 0; cursor: pointer;
  font: 500 0.875rem/1 var(--font-text); letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.86); text-decoration: none; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--white); }
.chevron { font-size: 0.8rem; transition: transform 0.3s var(--ease); }
.nav-link[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; padding: 12px; background: var(--white); color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(5, 13, 24, 0.45); border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu.is-open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .has-menu:hover .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: grid; gap: 2px; padding: 12px 14px; text-decoration: none; transition: background-color 0.2s; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--ivory); color: var(--ink); }
.menu-label { font: 500 0.95rem/1.3 var(--font-text); color: var(--ink); }
.menu-hint { font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: var(--white);
}
.bars { display: grid; gap: 7px; width: 26px; }
.bars span { display: block; height: 1.5px; background: currentColor; }
.bars span:last-child { width: 70%; justify-self: end; }

@media (min-width: 1120px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

/* 8 Drawer (mobile menu) -------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer[hidden] { display: none; }
.drawer-panel {
  position: absolute; inset: 0; overflow-y: auto; background: var(--navy-950); color: var(--on-dark);
  padding: 18px var(--gutter) 40px; display: flex; flex-direction: column;
  animation: drawer-in 0.35s var(--ease);
}
@keyframes drawer-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 28px; }
.drawer-top .brand img { height: 40px; }
.drawer-close { width: 48px; height: 48px; margin-right: -10px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--white); cursor: pointer; font-size: 1.5rem; }
.drawer-list, .drawer-list ul { list-style: none; margin: 0; padding: 0; }
.drawer-list > li { border-bottom: 1px solid var(--line-dark); }
.drawer-list a { display: block; padding: 15px 0; font: 350 1.55rem/1.2 var(--font-display); color: var(--white); text-decoration: none; }
.drawer-list a[aria-current="page"] { color: var(--gold-light); }
.drawer-group { padding: 16px 0 6px; }
.drawer-kicker { display: block; font: 600 0.7rem/1 var(--font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); }
.drawer-group a { font-size: 1.3rem; padding: 11px 0; }
.drawer-cta { margin-top: 32px; width: 100%; }
.drawer-mail { margin-top: 20px; text-align: center; font-size: 0.95rem; }
.drawer-mail a { color: var(--on-dark-muted); }
body.drawer-open { overflow: hidden; }

/* 9 Heroes ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  background: radial-gradient(120% 90% at 78% 12%, #16305a 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--on-dark-muted); overflow: hidden; isolation: isolate;
}
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg { width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 13, 24, 0.55) 0%, rgba(5, 13, 24, 0) 30%, rgba(5, 13, 24, 0) 55%, rgba(5, 13, 24, 0.85) 100%);
}
.hero-inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(56px, 9vh, 110px); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1 em { color: var(--gold-light); font-weight: 300; }
.hero-text { margin: 32px 0 44px; max-width: 58ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-dark); opacity: 0.88; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.scroll-cue { display: none; align-items: center; gap: 14px; font: 600 0.7rem/1 var(--font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark-muted); text-decoration: none; }
.scroll-cue span { position: relative; width: 1px; height: 54px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-light); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 900px) { .scroll-cue { display: inline-flex; } }

/* hero drawing (inline SVG) */
.h-line { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; }
.h-faint { stroke: rgba(214, 189, 142, 0.16); }
.h-mid { stroke: rgba(214, 189, 142, 0.38); }
.h-bright { stroke: rgba(226, 204, 160, 0.85); }
.h-fill { fill: rgba(184, 151, 94, 0.06); }
.h-win { fill: rgba(232, 210, 165, 0.75); }
.h-sun { fill: url(#sunGlow); }

.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark-muted);
  background: radial-gradient(110% 120% at 85% 0%, #16305a 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(64px, 9vw, 128px);
}
.page-hero-art { position: absolute; inset: 0; z-index: -1; opacity: 0.9; }
.page-hero-art img { position: absolute; right: -6%; top: 50%; width: min(980px, 92%); max-width: none; transform: translateY(-46%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy-950) 0%, rgba(10, 22, 40, 0.82) 45%, rgba(10, 22, 40, 0.2) 100%); }
.page-title { color: var(--white); font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 300; max-width: 16ch; letter-spacing: -0.022em; }
.page-lede { margin-top: 28px; max-width: 60ch; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--on-dark); opacity: 0.85; }
@media (max-width: 700px) { .page-hero-art img { width: 150%; right: -60%; opacity: 0.55; } }

.crumbs { margin-bottom: 40px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font: 500 0.78rem/1.4 var(--font-text); letter-spacing: 0.06em; }
.crumbs li { display: inline-flex; align-items: center; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, 0.3); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; padding: 4px 0; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs [aria-current] { color: var(--gold-light); }

/* 10 Sections ------------------------------------------------------------- */
.statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.28; letter-spacing: -0.018em; color: var(--ink); max-width: 30ch; }
.statement em { color: var(--gold-deep); }
.bg-navy .statement, .bg-navy-deep .statement { color: var(--white); }
.bg-navy .statement em, .bg-navy-deep .statement em { color: var(--gold-light); }
.prose-cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .prose-cols { grid-template-columns: 1fr 1fr; gap: 48px; } }

.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 36px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .pillar { padding: 40px 36px 8px 0; border-bottom: 0; } .pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); } }
.pillar-num { font: 400 0.8rem/1 var(--font-text); letter-spacing: 0.18em; color: var(--gold-deep); margin-bottom: 18px; }
.pillar h3 { font-size: 1.6rem; margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 1rem; }

.quote-band { position: relative; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 26ch; font: 300 clamp(1.9rem, 4.4vw, 3.6rem)/1.2 var(--font-display); color: var(--white); letter-spacing: -0.02em; }
.quote-band blockquote em { color: var(--gold-light); }
.quote-mark { display: block; width: 48px; margin: 0 auto 30px; color: var(--gold); }

/* numbered list (principles, steps) */
.num-list { list-style: none; margin: 0; padding: 0; counter-reset: n; border-top: 1px solid var(--line); }
.num-list > li { counter-increment: n; display: grid; gap: 10px 40px; padding: clamp(30px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .num-list > li { grid-template-columns: 90px 4fr 6fr; align-items: baseline; } }
.num-list > li::before { content: counter(n, decimal-leading-zero); font: 400 0.85rem/1 var(--font-text); letter-spacing: 0.16em; color: var(--gold-deep); }
.num-list h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (min-width: 900px) {
  .num-list.compact > li { grid-template-columns: 64px 1fr; }
  .num-list.compact > li > p { grid-column: 2; }
}
.num-list.compact h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.num-list p { color: var(--muted); }
.bg-navy .num-list, .bg-navy .num-list > li { border-color: var(--line-dark); }
.bg-navy .num-list > li::before { color: var(--gold-light); }
.bg-navy .num-list p { color: var(--on-dark-muted); }

/* 11 Cards & grids -------------------------------------------------------- */
.tiles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; background: var(--paper); padding: clamp(30px, 3.4vw, 46px); min-height: 280px; display: flex; flex-direction: column; transition: background-color 0.4s var(--ease); }
.bg-ivory .tile { background: var(--ivory); }
.tile:hover { background: var(--white); }
.tile-icon { width: 44px; height: 44px; color: var(--gold-deep); margin-bottom: 34px; }
.tile-icon .icon { width: 100%; height: 100%; stroke-width: 1.2; }
.tile-num { position: absolute; top: clamp(30px, 3.4vw, 46px); right: clamp(30px, 3.4vw, 46px); font: 400 0.8rem/1 var(--font-text); letter-spacing: 0.16em; color: var(--muted); }
.tile h3 { font-size: 1.45rem; margin-bottom: 14px; }
.tile p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.tile:hover::after { transform: scaleX(1); }

.bg-navy .tiles { background: var(--line-dark); border-color: var(--line-dark); }
.bg-navy .tile { background: var(--navy-900); }
.bg-navy .tile:hover { background: var(--navy-850); }
.bg-navy .tile h3 { color: var(--white); }
.bg-navy .tile p { color: var(--on-dark-muted); }
.bg-navy .tile-icon { color: var(--gold-light); }

.feature { display: grid; gap: 28px; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.4fr; gap: 80px; } }
.feature h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.feature-kicker { font: 600 0.72rem/1 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; display: block; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line-soft); font-size: 0.98rem; }
.feature li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--gold); }

.values { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--navy-900); padding: clamp(28px, 3.2vw, 44px); }
.value h3 { color: var(--white); font-size: 1.45rem; margin-bottom: 12px; display: flex; align-items: baseline; gap: 14px; }
.value h3 span { font: 400 0.78rem/1 var(--font-text); letter-spacing: 0.16em; color: var(--gold-light); }
.value p { color: var(--on-dark-muted); font-size: 0.98rem; margin: 0; }

.figure-art { position: relative; aspect-ratio: 4 / 5; background: var(--navy-900); overflow: hidden; }
.figure-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figure-art figcaption { position: absolute; left: 24px; bottom: 20px; right: 24px; font: 500 0.72rem/1.4 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.figure-wide { aspect-ratio: 16 / 10; }

.notice {
  border-left: 2px solid var(--gold); background: var(--ivory); padding: 22px 26px; font-size: 0.95rem; color: var(--body);
}
.notice strong { color: var(--ink); }
.bg-ivory .notice { background: var(--white); }
.bg-navy .notice { background: rgba(255, 255, 255, 0.04); color: var(--on-dark-muted); }
.bg-navy .notice strong { color: var(--white); }

/* asset-class grid (investment philosophy) */
.classes { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: c; }
@media (min-width: 700px) { .classes { grid-template-columns: repeat(2, 1fr); } }
.class { background: var(--white); padding: clamp(28px, 3.4vw, 48px); counter-increment: c; }
.class-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.class-head .icon { width: 36px; height: 36px; color: var(--gold-deep); stroke-width: 1.2; }
.class h3 { font-size: 1.5rem; }
.class p { color: var(--muted); font-size: 0.98rem; }
.class-q { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 0.92rem; color: var(--body); }
.class-q b { display: block; font: 600 0.7rem/1 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }

/* 12 Globe ---------------------------------------------------------------- */
.globe-wrap { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 1; }
.globe-wrap canvas, .globe-wrap .globe-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-wrap canvas { cursor: grab; touch-action: pan-y; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-fallback { opacity: 0.9; }
.globe-ready .globe-fallback { display: none; }
.globe-halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(70, 110, 170, 0.22), rgba(10, 22, 40, 0) 65%); pointer-events: none; }

.regions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.region-btn {
  width: 100%; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 14px; padding: 18px 4px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; color: var(--on-dark);
  font: 350 1.3rem/1.2 var(--font-display); transition: color 0.25s, padding 0.35s var(--ease);
}
.region-btn .dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-light); justify-self: center; transition: background-color 0.3s; }
.region-btn .icon { color: var(--on-dark-muted); transition: transform 0.35s var(--ease); }
.region-btn:hover, .region-btn[aria-pressed="true"] { color: var(--gold-light); padding-left: 10px; }
.region-btn[aria-pressed="true"] .dot { background: var(--gold-light); }
.region-btn[aria-pressed="true"] .icon { transform: rotate(90deg); color: var(--gold-light); }
.region-panel { padding: 4px 4px 22px 46px; color: var(--on-dark-muted); font-size: 0.98rem; border-bottom: 1px solid var(--line-dark); }
.region-panel[hidden] { display: none; }
.region-panel p { margin: 12px 0 0; }
.region-panel .themes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.region-panel .themes li { font: 500 0.75rem/1 var(--font-text); letter-spacing: 0.06em; padding: 8px 12px; border: 1px solid var(--line-dark); color: var(--on-dark); }
.no-js .region-panel[hidden] { display: block; }

.themes-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .themes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .themes-grid { grid-template-columns: repeat(4, 1fr); } }

/* 13 Insights ------------------------------------------------------------- */
.insights-grid { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 760px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .insights-grid.three { grid-template-columns: repeat(3, 1fr); } }
.insight-card { background: var(--white); border: 1px solid var(--line); transition: border-color 0.35s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.insight-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(10, 22, 40, 0.45); }
.insight-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.insight-link:hover { color: inherit; }
.insight-art { position: relative; aspect-ratio: 16 / 9; background: var(--navy-900); overflow: hidden; }
.insight-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.insight-card:hover .insight-art img { transform: scale(1.05); }
.insight-body { padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.insight-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; font-size: 0.8125rem; color: var(--muted); }
.tag { font: 600 0.68rem/1 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); padding: 6px 10px; border: 1px solid rgba(184, 151, 94, 0.45); }
.insight-title { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.insight-summary { color: var(--muted); font-size: 0.98rem; margin: 0; flex: 1; }
.insight-card .text-link { margin-top: 6px; }
.insight-feature { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .insight-feature .insight-link { flex-direction: row; }
  .insight-feature .insight-art { flex: 1.3; aspect-ratio: auto; min-height: 380px; }
  .insight-feature .insight-body { flex: 1; padding: 52px; justify-content: center; }
  .insight-feature .insight-title { font-size: 2.4rem; }
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-bar button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font: 600 0.75rem/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--body); }
.filter-bar button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.insight-card[hidden] { display: none; }

/* 14 Article & legal prose ------------------------------------------------ */
.article-head { max-width: 860px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 30px; font-size: 0.9rem; color: var(--on-dark-muted); }
.article-meta .tag { color: var(--gold-light); border-color: rgba(214, 189, 142, 0.45); }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.12rem; line-height: 1.8; color: var(--body); }
.prose > p:first-of-type.dropcap::first-letter { float: left; font: 300 4.6em/0.82 var(--font-display); color: var(--gold-deep); margin: 0.06em 0.12em 0 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2em 0 0.7em; }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--gold-deep); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--gold); font: 300 1.5rem/1.45 var(--font-display); color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .note { font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }
.legal-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 260px 1fr; gap: 80px; } }
.toc { font-size: 0.92rem; }
.toc p { font: 600 0.72rem/1 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 18px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--gold); }
.legal-layout .prose { margin: 0; max-width: 760px; font-size: 1.04rem; }
.legal-layout .prose h2 { font-size: 1.55rem; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-updated { font-size: 0.9rem; color: var(--muted); margin-bottom: 2em; }

.article-foot { max-width: 720px; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }

/* 15 Forms ---------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channels li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.channels h3 { font-size: 1.3rem; margin-bottom: 8px; }
.channels p { font-size: 0.96rem; color: var(--muted); margin: 0; }
.mail-card { margin-top: 36px; padding: 28px; background: var(--navy-900); color: var(--on-dark-muted); }
.mail-card p { margin: 0 0 6px; font-size: 0.9rem; }
.mail-card a { font: 350 1.3rem/1.3 var(--font-display); color: var(--white); text-decoration: none; word-break: break-word; }
.mail-card a:hover { color: var(--gold-light); }

.form { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.form-title { font-size: 1.9rem; margin-bottom: 8px; }
.form-intro { color: var(--muted); font-size: 0.96rem; margin-bottom: 32px; }
.fields { display: grid; gap: 22px; }
@media (min-width: 700px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 600 0.75rem/1.2 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid #cfc9bd; border-radius: var(--radius); background: var(--paper);
  font: 400 1rem/1.5 var(--font-text); color: var(--ink); transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); background: var(--white); box-shadow: 0 0 0 3px rgba(184, 151, 94, 0.22); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 0.86rem; color: var(--danger); margin: 0; }
.field-error:empty { display: none; }
.topic-set { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.topics { display: grid; gap: 10px; }
@media (min-width: 560px) { .topics { grid-template-columns: 1fr 1fr; } }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.topic span { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; border: 1px solid #cfc9bd; background: var(--paper); font-size: 0.95rem; color: var(--ink); transition: border-color 0.2s, background-color 0.2s; }
.topic span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--gold-deep); flex: none; transition: box-shadow 0.2s, background-color 0.2s; }
.topic input:checked + span { border-color: var(--gold-deep); background: var(--white); }
.topic input:checked + span::before { background: var(--gold); box-shadow: inset 0 0 0 3px var(--white); }
.topic input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field label.topic, .field label.check { font: 400 0.95rem/1.5 var(--font-text); letter-spacing: 0; text-transform: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--body); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold-deep); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 10px; }
.form-small { font-size: 0.85rem; color: var(--muted); margin: 0; }
.alert { padding: 18px 22px; margin-bottom: 28px; font-size: 0.96rem; border-left: 3px solid; }
.alert-error { background: #fbefed; border-color: var(--danger); color: #5f1f19; }
.alert-success { background: #eef5f0; border-color: var(--success); color: #1f4631; }
.alert h2, .alert h3 { font: 600 1rem/1.4 var(--font-text); color: inherit; margin-bottom: 4px; letter-spacing: 0; }
.success-panel { text-align: center; padding: clamp(28px, 5vw, 64px) 8px; }
.success-panel .icon { width: 56px; height: 56px; margin: 0 auto 24px; color: var(--gold-deep); stroke-width: 1.2; }
.success-panel h2 { font-size: 2rem; margin-bottom: 14px; }
.cf-turnstile { min-height: 65px; }

/* 16 CTA band, next pages, footer ---------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark-muted); padding: clamp(80px, 10vw, 140px) 0; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 100% 100%, rgba(184, 151, 94, 0.16), transparent 60%), radial-gradient(60% 100% at 0% 0%, rgba(40, 80, 140, 0.25), transparent 60%); }
.cta-inner { display: grid; gap: 36px; align-items: end; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-title { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 300; max-width: 16ch; letter-spacing: -0.022em; }
.cta-text { margin-top: 22px; max-width: 52ch; color: var(--on-dark-muted); }

.next-pages { background: var(--ivory); padding: 56px 0; border-top: 1px solid var(--line); }
.next-pages ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .next-pages ul { grid-template-columns: repeat(3, 1fr); } }
.next-pages a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 28px; background: var(--ivory); text-decoration: none; font: 350 1.3rem/1.2 var(--font-display); color: var(--ink); transition: background-color 0.3s; }
.next-pages a:hover { background: var(--white); color: var(--ink); }
.next-pages a .icon { color: var(--gold-deep); transition: transform 0.35s var(--ease); }
.next-pages a:hover .icon { transform: translateX(5px); }

.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: clamp(64px, 8vw, 100px) 0 32px; border-top: 1px solid var(--line-dark); font-size: 0.95rem; }
.footer-top { display: grid; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1fr 2fr; gap: 80px; } }
.footer-brand .brand img { height: 50px; }
.footer-tagline { margin: 24px 0 18px; font: 300 1.25rem/1.4 var(--font-display); color: var(--on-dark); max-width: 26ch; }
.footer-mail a { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); text-decoration: none; padding: 6px 0; }
.footer-mail a:hover { color: var(--white); }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
@media (min-width: 700px) { .footer-nav { grid-template-columns: repeat(4, 1fr); } }
.footer-head { font: 600 0.72rem/1 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: inline-block; padding: 6px 0; color: var(--on-dark-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-note { padding: 28px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.84rem; line-height: 1.6; max-width: 900px; }
.footer-note a { color: var(--on-dark); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.84rem; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--on-dark-muted); padding: 6px 0; }

/* 404 */
.error-page { min-height: 80vh; display: flex; align-items: center; }

/* 17 Motion --------------------------------------------------------------- */
/* Below-the-fold reveals need JS (site.js adds .js and watches them); heroes animate with CSS alone. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .reveal, .page-hero .reveal, .js .hero .reveal, .js .page-hero .reveal { opacity: 0; transform: translateY(18px); animation: lift 1.2s var(--ease) forwards; transition: none; }
.hero .reveal:nth-child(2), .page-hero .reveal:nth-child(3) { animation-delay: 0.12s; }
.hero .reveal:nth-child(3), .page-hero .reveal:nth-child(4) { animation-delay: 0.24s; }
.hero .reveal:nth-child(4) { animation-delay: 0.36s; }
@keyframes lift { to { opacity: 1; transform: none; } }

/* hero drawing: lines draw in, windows light, sun rises */
/* paths carry pathLength="1"; delays come from .d1–.d9 (no inline styles: the CSP forbids them) */
.h-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.h-win { opacity: 0; animation: win 0.9s ease 2.2s forwards; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.25s; } .d3 { animation-delay: 0.4s; } .d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; } .d6 { animation-delay: 0.85s; } .d7 { animation-delay: 1s; } .d8 { animation-delay: 1.15s; } .d9 { animation-delay: 1.3s; }
.h-win.d1 { animation-delay: 2.1s; } .h-win.d2 { animation-delay: 2.4s; } .h-win.d3 { animation-delay: 2.7s; } .h-win.d4 { animation-delay: 3s; } .h-win.d5 { animation-delay: 3.3s; }
@keyframes win { to { opacity: 1; } }
.h-rise { transform: translateY(40px); opacity: 0; animation: rise 3.2s var(--ease) 0.2s forwards; transform-box: fill-box; }
@keyframes rise { to { transform: none; opacity: 1; } }
.h-drift { animation: drift 90s linear infinite; transform-box: fill-box; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .hero .reveal, .page-hero .reveal { opacity: 1; transform: none; }
  .h-draw { stroke-dashoffset: 0; }
  .h-win, .h-rise { opacity: 1; transform: none; }
  .h-drift { animation: none; }
}

/* 18 Utilities ------------------------------------------------------------ */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 24px; }
.mt-m { margin-top: 48px; }
.mt-l { margin-top: clamp(56px, 7vw, 96px); }
.center { text-align: center; }
.max-62 { max-width: 62ch; }
.divider-gold { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 32px 0; }
.center .divider-gold { margin-left: auto; margin-right: auto; }

@media print {
  .site-header, .drawer, .cta-band, .next-pages, .site-footer nav, .hero-art, .page-hero-art { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero, .hero { background: none; color: #000; padding: 20px 0; min-height: 0; }
  .page-title, .hero h1 { color: #000; }
}
