/* ============================================================
   CFO DECK — Design System
   Navy + Paper + Gold. Inter for UI, Newsreader for editorial.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Newsreader:ital,opsz,wght@0,16..72,400;0,16..72,500;1,16..72,400;1,16..72,500&display=swap');

:root {
  /* Palette */
  --navy-950: #06101E;
  --navy-900: #0A1626;
  --navy-850: #0D1C30;
  --navy-800: #102339;
  --navy-700: #173050;
  --navy-600: #20406B;
  --navy-line: rgba(201, 162, 75, 0.18);

  --gold: #C9A24B;
  --gold-bright: #D8B25C;
  --gold-soft: #E7D29A;

  /* Brand blue (from logo — secondary accent) */
  --blue: #1FA2E0;
  --blue-bright: #43B6EC;
  --blue-soft: #8FD3F2;
  --blue-deep: #1583BC;

  --paper: #F7F4EE;
  --paper-2: #FBF9F4;
  --paper-card: #FFFFFF;

  --ink: #121822;
  --ink-soft: #2A333F;
  --muted: #5C6775;
  --muted-light: #8C95A1;
  --line: #E4DED2;
  --line-soft: #ECE7DC;

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* Spacing rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(10, 22, 38, 0.04), 0 2px 8px rgba(10, 22, 38, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 22, 38, 0.06), 0 12px 32px rgba(10, 22, 38, 0.07);
  --shadow-lg: 0 20px 48px rgba(10, 22, 38, 0.12), 0 40px 80px rgba(10, 22, 38, 0.10);
  --shadow-gold: 0 12px 36px rgba(201, 162, 75, 0.28);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--navy-900); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1340px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-navy { color: var(--gold-bright); }

h1, h2, h3, h4 { line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.display {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.02em; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}
.muted { color: var(--muted); }
.gold-text { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn svg { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy-900); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* Text link with gold sweep */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-900);
  padding-bottom: 3px;
  position: relative;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.light { color: var(--gold-bright); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 244, 238, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
/* On pages with navy hero, header text starts light */
.site-header.on-dark:not(.scrolled) { color: #fff; }
.site-header.on-dark:not(.scrolled) .logo-mark { border-color: rgba(255,255,255,0.25); }
.site-header.on-dark:not(.scrolled) .nav-link { color: rgba(255,255,255,0.82); }
.site-header.on-dark:not(.scrolled) .nav-link:hover { color: #fff; }
.site-header.on-dark:not(.scrolled) .burger span { background: #fff; }

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 16px;
}
.logo-mark {
  width: 34px; height: 34px;
  border: 1px solid var(--navy-900);
  border-radius: 7px;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color .3s var(--ease);
}
.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  width: 12px; height: 16px;
  border-radius: 2.5px;
}
.logo-mark::before { border: 1.4px solid var(--blue); transform: translate(-3px,-2px) rotate(-11deg); }
.logo-mark::after { border: 1.4px solid var(--gold); background: var(--gold); opacity: 0.9; transform: translate(3px,2px) rotate(11deg); }
.logo-text b { font-weight: 700; color: var(--blue); }
.logo-text span { color: var(--gold); }
.site-header.on-dark:not(.scrolled) .logo-text b { color: var(--blue-bright); }

/* Image logo badge in nav */
.logo.brandlogo { gap: 0; }
.logo.brandlogo img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 9px;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
/* On the dark hero the logo's navy field blends in — add a hairline ring */
.site-header.on-dark:not(.scrolled) .logo.brandlogo img {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10);
}
/* On the light scrolled nav it reads as a crisp navy badge */
.site-header.scrolled .logo.brandlogo img {
  box-shadow: 0 2px 10px rgba(10,22,38,0.16), 0 0 0 1px rgba(10,22,38,0.06);
}
.logo.brandlogo:hover img { transform: translateY(-1px); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color .25s, background .25s;
  position: relative;
}
.nav-link:hover { color: var(--navy-900); }
.nav-link.active { color: var(--navy-900); font-weight: 600; }
.nav-link .chev { width: 13px; height: 13px; transition: transform .3s var(--ease); }

.nav-cta { margin-left: 10px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 340px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  color: var(--ink);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .chev { transform: rotate(180deg); }
.dropdown-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: 10px;
  transition: background .2s;
}
.dropdown-item:hover { background: var(--paper); }
.dd-ico {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--navy-900);
  color: var(--gold);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dd-ico svg { width: 19px; height: 19px; }
.dd-title { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.dd-desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: 24px var(--gutter) 40px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { transform: translateX(0); }
.m-link {
  padding: 16px 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.m-sub { padding-left: 16px; }
.m-sub a { padding: 13px 4px; font-size: 16px; font-weight: 500; color: var(--muted); display: block; border-bottom: 1px solid var(--line-soft); }
.m-section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); font-weight: 700; padding: 22px 4px 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.6);
  padding-block: clamp(56px, 7vw, 88px) 36px;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand .logo-mark { border-color: rgba(255,255,255,0.3); }
.footer-blurb { font-size: 15px; line-height: 1.6; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; padding: 7px 0; font-size: 14.5px; color: rgba(255,255,255,0.6); transition: color .25s, padding .25s; }
.footer-col a:hover { color: var(--gold-bright); padding-left: 5px; }
.footer-contact-item { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; font-size: 14.5px; }
.footer-contact-item svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.78); }
.footer-contact-item a:hover { color: var(--gold-bright); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9px;
  display: grid; place-items: center;
  transition: border-color .3s, background .3s, color .3s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(201,162,75,0.08); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Cards & generic blocks ---------- */
.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-soft); }

.ico-box {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.ico-box svg { width: 24px; height: 24px; }
.ico-box.gold { background: var(--gold); color: var(--navy-900); }

/* Section heading block */
.sec-head { max-width: 680px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin-top: 18px; }
.sec-head .lead { margin-top: 18px; }

/* Pills / chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.chip svg { width: 15px; height: 15px; color: var(--gold); }

/* Divider rule */
.rule { height: 1px; background: var(--line); border: none; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Navy section ---------- */
.navy {
  background: var(--navy-900);
  color: rgba(255,255,255,0.74);
  position: relative;
}
.navy h1, .navy h2, .navy h3, .navy h4 { color: #fff; }
.navy .lead { color: rgba(255,255,255,0.74); }
.navy .muted { color: rgba(255,255,255,0.5); }

/* Fine grid texture for navy areas */
.grid-tex {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,75,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,75,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}

/* Image placeholder */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(10,22,38,0.045) 0 2px, transparent 2px 11px),
    var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ph span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-light);
  text-transform: uppercase;
  padding: 8px 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 6px;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 11px),
    var(--navy-800);
  border-color: rgba(255,255,255,0.1);
}
.ph.dark span { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); }

/* ---------- Stats ---------- */
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.navy .stat-num { color: var(--gold-bright); }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 10px; }
.navy .stat-label { color: rgba(255,255,255,0.6); }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: -0.01em; }
.field input, .field textarea {
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color .25s, box-shadow .25s, background .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,162,75,0.14);
}
.form-note { font-size: 12.5px; color: var(--muted); }
.form-success {
  display: none;
  text-align: center;
  padding: 36px 24px;
  color: var(--ink);
}
.navy .form-success h3 { color: var(--ink); }
.navy .form-success .muted { color: var(--muted); }
.navy .form-success p { color: var(--muted); }
.form-success.show { display: block; }
.form-success .check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.form-success .check svg { width: 28px; height: 28px; }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { padding-top: 150px; padding-bottom: 64px; position: relative; overflow: hidden; }
.crumb { display: flex; gap: 9px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 26px; }
.crumb a:hover { color: var(--gold-bright); }
.crumb .sep { opacity: 0.5; }

/* List with gold checks */
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.check-list li .ck {
  width: 23px; height: 23px;
  border-radius: 50%;
  background: rgba(201,162,75,0.16);
  color: var(--gold);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-list li .ck svg { width: 13px; height: 13px; }
.navy .check-list li { color: rgba(255,255,255,0.82); }

/* Numbered process */
.step-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  width: 50px; height: 50px;
  border: 1px solid var(--navy-line);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}

/* ---------- Blue secondary accents ---------- */
.link-arrow::after { background: var(--blue); }
.link-arrow.light { color: var(--blue-bright); }
.dropdown-item:hover .dd-ico { background: var(--blue); color: #fff; }
.dd-ico { transition: background .25s, color .25s; }
.card:hover .ico-box { background: var(--blue); }
.ico-box { transition: background .4s var(--ease), color .4s var(--ease); }
.field input:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,162,224,0.16);
}
.crumb a { color: var(--blue-bright); }
.chip svg { color: var(--blue); }

/* ---------- Hero photo backdrop ---------- */
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.30;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  pointer-events: none;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--navy-900) 18%, rgba(10,22,38,0.55) 55%, rgba(10,22,38,0.30) 100%);
}

/* ---------- Photo frame (real imagery) ---------- */
.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-900);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.tint::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(10,22,38,0.45));
  pointer-events: none;
}
.photo-cap {
  position: absolute;
  left: 18px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px;
  background: rgba(10,22,38,0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}
.photo-cap svg { width: 14px; height: 14px; color: var(--gold-bright); }

/* ---------- CSS dashboard mockup ---------- */
/* ---------- CSS dashboard mockup (pro) ---------- */
.dash {
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(168deg, #122B45 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dash::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 90% 0%, rgba(31,162,224,0.14), transparent 55%);
  pointer-events: none;
}
.dash.light {
  background: linear-gradient(168deg, #fff, var(--paper-2));
  border-color: var(--line);
  color: var(--ink);
}
.dash.light::before { background: radial-gradient(120% 90% at 90% 0%, rgba(31,162,224,0.07), transparent 55%); }
.dash > * { position: relative; }

/* header */
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.dash-name { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }
.dash-name .nd { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(31,162,224,0.20); }
.dash-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(255,255,255,0.07); font-size: 10.5px; font-weight: 600; }
.dash.light .dash-tabs { background: var(--paper); border: 1px solid var(--line-soft); }
.dash-tabs span { padding: 4px 10px; border-radius: 6px; color: rgba(255,255,255,0.5); }
.dash.light .dash-tabs span { color: var(--muted); }
.dash-tabs span.on { background: rgba(255,255,255,0.14); color: #fff; }
.dash.light .dash-tabs span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* KPI cards */
.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.dash-kpi { padding: 13px 14px; border-radius: 11px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.dash.light .dash-kpi { background: var(--paper); border-color: var(--line-soft); }
.dash-kpi .k-label { font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.52); }
.dash.light .dash-kpi .k-label { color: var(--muted); }
.dash-kpi .k-val { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; margin-top: 5px; line-height: 1; letter-spacing: -0.01em; }
.dash-kpi .k-val small { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.45); margin-left: 2px; }
.dash.light .dash-kpi .k-val small { color: var(--muted-light); }
.k-trend { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; margin-top: 9px; padding: 2px 7px; border-radius: 999px; }
.k-trend.up { color: #63D6A6; background: rgba(99,214,166,0.14); }
.k-trend.down { color: #6FC6F2; background: rgba(111,198,242,0.14); }
.k-trend.flat { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.dash.light .k-trend.up { color: #1F8A5B; background: rgba(31,138,91,0.12); }
.dash.light .k-trend.down { color: var(--blue-deep); background: rgba(31,162,224,0.10); }
.dash.light .k-trend.flat { color: var(--muted); background: var(--paper); }

/* panels + charts */
.dash-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; }
.dash-panel { border-radius: 11px; padding: 13px 14px 11px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.dash.light .dash-panel { background: var(--paper); border-color: var(--line-soft); }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dp-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.72); }
.dash.light .dp-title { color: var(--ink-soft); }

.ac { width: 100%; height: auto; display: block; overflow: visible; }
.ac-grid line { stroke: rgba(255,255,255,0.09); stroke-width: 1; }
.dash.light .ac-grid line { stroke: rgba(10,22,38,0.08); }
.ac-area { stroke: none; }
.ac-area.rev { fill: var(--blue); opacity: 0.16; }
.ac-area.cost { fill: var(--gold); opacity: 0.10; }
.ac-line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ac-line.rev { stroke: var(--blue-bright); }
.ac-line.cost { stroke: var(--gold); stroke-dasharray: 4 4; }
.ac-dot { fill: var(--blue-bright); stroke: var(--navy-900); stroke-width: 2.5; }
.dash.light .ac-dot { stroke: #fff; }
.ac-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: rgba(255,255,255,0.42); font-variant-numeric: tabular-nums; }
.dash.light .ac-x { color: var(--muted-light); }

/* donut */
.donut-fig { position: relative; width: 104px; height: 104px; margin: 4px auto 0; }
.donut { width: 104px; height: 104px; transform: rotate(-90deg); }
.donut .track { fill: none; stroke: rgba(255,255,255,0.10); stroke-width: 11; }
.dash.light .donut .track { stroke: var(--line); }
.donut .arc { fill: none; stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.donut .arc.gold { stroke: var(--gold); }
.donut .arc.blue { stroke: var(--blue-bright); }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.donut-center span { font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }
.dash.light .donut-center span { color: var(--muted); }
.donut-panel { display: flex; flex-direction: column; }
.donut-cap { text-align: center; font-size: 10.5px; color: rgba(255,255,255,0.5); margin-top: 10px; }
.dash.light .donut-cap { color: var(--muted); }

/* legend */
.dash-legend { display: flex; gap: 14px; font-size: 10.5px; color: rgba(255,255,255,0.6); }
.dash.light .dash-legend { color: var(--muted); }
.dash-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash-legend i { width: 9px; height: 9px; border-radius: 2px; }
.dash-legend i.lg-blue { background: var(--blue-bright); }
.dash-legend i.lg-gold { background: var(--gold); }

@media (max-width: 520px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(3,1fr); gap: 7px; }
  .dash-kpi { padding: 10px; }
}

/* ---------- CSS map graphic ---------- */
.mapbox {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, #eef1ee, #e3e8e6);
  min-height: 300px;
}
.mapbox.dark {
  border-color: rgba(255,255,255,0.12);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,22,38,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,22,38,0.07) 1px, transparent 1px);
  background-size: 46px 46px;
}
.mapbox.dark .map-grid {
  background-image:
    linear-gradient(rgba(143,211,242,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,211,242,0.07) 1px, transparent 1px);
}
.map-road {
  position: absolute;
  background: rgba(10,22,38,0.10);
  border-radius: 2px;
}
.mapbox.dark .map-road { background: rgba(143,211,242,0.12); }
.map-road.r1 { top: 38%; left: -5%; width: 110%; height: 10px; transform: rotate(-7deg); }
.map-road.r2 { top: 8%; left: 28%; width: 8px; height: 90%; transform: rotate(6deg); background: rgba(201,162,75,0.30); }
.map-road.r3 { top: 64%; left: -5%; width: 110%; height: 7px; transform: rotate(3deg); }
.map-road.r4 { top: -5%; left: 70%; width: 7px; height: 110%; transform: rotate(-5deg); }
.map-pin {
  position: absolute;
  top: 44%; left: 46%;
  transform: translate(-50%,-100%);
  z-index: 3;
}
.map-pin .pin-dot {
  width: 30px; height: 30px;
  background: var(--gold);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 20px rgba(10,22,38,0.30);
}
.map-pin .pin-pulse {
  position: absolute;
  top: 30px; left: 50%;
  width: 46px; height: 16px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(10,22,38,0.18), transparent 70%);
}
.map-label {
  position: absolute;
  top: calc(44% + 18px); left: 46%;
  transform: translateX(-50%);
  z-index: 4;
  white-space: nowrap;
  background: var(--navy-900);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.map-label::before {
  content: "";
  position: absolute; top: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px; height: 9px; background: var(--navy-900);
}
.map-label b { color: var(--gold-bright); }

/* Live map embed ------------------------------------------ */
.map-embed { position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14); box-shadow: var(--shadow-md); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-embed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  background: linear-gradient(transparent, rgba(6,16,30,0.55)); pointer-events: none; }
.map-tag { position: absolute; left: 16px; bottom: 15px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px;
  background: rgba(6,16,30,0.74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; pointer-events: none; }
.map-tag svg { width: 15px; height: 15px; color: var(--gold-bright); }

/* ============================================================
   SECTION ARCHETYPES — layout variety (same palette)
   ============================================================ */

/* A) Bento mosaic ----------------------------------------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 48px; }
.bento-feature { grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: space-between; }
.bento-card { display: flex; flex-direction: column; }
.bento-feature.card { padding: 36px; background: linear-gradient(168deg, var(--navy-850), var(--navy-900)); border-color: rgba(255,255,255,0.10); color: #fff; }
.bento-feature.card h3, .bento-feature.card .h3 { color: #fff; }
.bento-feature .muted { color: rgba(255,255,255,0.62); }
.bento-feature.card:hover { box-shadow: var(--shadow-lg); }
.bento-feature .ico-box { background: var(--gold); color: var(--navy-900); }
.bento-feature.card:hover .ico-box { background: var(--blue); color: #fff; }
.bento-big-fig { margin-top: 24px; display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.bento-big-fig i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(var(--gold-bright), rgba(201,162,75,0.25)); }
.bento-tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: rgba(201,162,75,0.16); color: var(--gold-bright); font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .bento-feature { grid-row: auto; } }

/* A2) Feature tile + list panel --------------------------- */
.bento2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-top: 48px; align-items: stretch; }
.bento2 .feat-tile { background: linear-gradient(168deg, var(--navy-850), var(--navy-900)); border-color: rgba(255,255,255,0.10); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; }
.bento2 .feat-tile .h3 { color: #fff; }
.bento2 .feat-tile p { color: rgba(255,255,255,0.64); }
.bento2 .feat-tile .ico-box { background: var(--gold); color: var(--navy-900); }
.bento2 .feat-tile:hover .ico-box { background: var(--blue); color: #fff; }
.panel-list { padding: 6px 26px; }
.pl-row { display: flex; gap: 14px; align-items: flex-start; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.pl-row:last-child { border-bottom: none; }
.pl-ico { width: 34px; height: 34px; border-radius: 8px; background: rgba(201,162,75,0.14); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
.pl-row:hover .pl-ico { background: var(--blue); color: #fff; }
.pl-ico svg { width: 16px; height: 16px; }
.pl-row h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.pl-row p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
@media (max-width: 860px) { .bento2 { grid-template-columns: 1fr; } }

/* B) Editorial numbered list ------------------------------ */
.elist { margin-top: 44px; border-top: 1px solid var(--line); }
.elist-row { display: grid; grid-template-columns: 70px 1.1fr 1.5fr; gap: 30px; align-items: start;
  padding: 28px 10px; border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), padding .4s var(--ease); }
.elist-row:hover { background: var(--paper-2); padding-left: 20px; }
.elist-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--gold); opacity: 0.55; line-height: 1; }
.elist-row:hover .elist-num { opacity: 1; }
.elist-row h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.elist-head { display: flex; align-items: center; gap: 14px; }
.elist-ico { width: 38px; height: 38px; border-radius: 9px; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
.elist-ico svg { width: 18px; height: 18px; }
.elist-row:hover .elist-ico { background: var(--blue); color: #fff; }
.elist-desc { color: var(--muted); padding-top: 3px; }
@media (max-width: 760px) { .elist-row { grid-template-columns: 48px 1fr; gap: 16px; } .elist-desc { grid-column: 2; } }

/* C) Vertical timeline ------------------------------------ */
.vtimeline { position: relative; margin-top: 44px; }
.vstep { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 26px; align-items: start; padding-bottom: 36px; }
.vstep:last-child { padding-bottom: 0; }
.vstep:not(:last-child)::before {
  content: ""; position: absolute; left: 25px; top: 56px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--gold), rgba(201,162,75,0.45));
}
.vstep-dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--navy-line); color: var(--gold);
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500; display: grid; place-items: center; }
.navy .vstep-dot { background: var(--navy-900); }
.vstep-body { padding-top: 11px; }
.vstep-body h3 { margin-bottom: 7px; }

/* D) Index / directory list ------------------------------- */
.indexlist { margin-top: 44px; border-top: 1px solid var(--line); }
.ix-row { display: grid; grid-template-columns: 54px 1fr 1.5fr 34px; gap: 24px; align-items: center;
  padding: 22px 10px; border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), padding .35s var(--ease); }
.ix-row:hover { background: var(--paper-2); padding-left: 20px; }
.ix-num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); opacity: 0.6; font-variant-numeric: tabular-nums; }
.ix-name { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 13px; }
.ix-name .ix-ico { width: 34px; height: 34px; border-radius: 8px; background: rgba(201,162,75,0.14); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
.ix-name .ix-ico svg { width: 17px; height: 17px; }
.ix-row:hover .ix-ico { background: var(--blue); color: #fff; }
.ix-desc { color: var(--muted); font-size: 14.5px; }
.ix-arrow { color: var(--muted-light); display: grid; place-items: center; transition: color .3s, transform .3s; }
.ix-arrow svg { width: 18px; height: 18px; }
.ix-row:hover .ix-arrow { color: var(--gold); transform: translateX(4px); }
@media (max-width: 760px) { .ix-row { grid-template-columns: 36px 1fr; gap: 14px; } .ix-desc, .ix-arrow { display: none; } }

/* E) Two-column feature rows (split list) ----------------- */
.frows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 44px; }
.frow { display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--line); }
.frow .frow-ico { width: 46px; height: 46px; border-radius: 11px; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
.frow:hover .frow-ico { background: var(--blue); color: #fff; }
.frow .frow-ico svg { width: 21px; height: 21px; }
.frow h3 { font-size: 1.12rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.frow p { color: var(--muted); font-size: 14.5px; }
.frow-n { font-family: var(--serif); color: var(--gold); opacity: 0.5; font-size: 0.95rem; margin-left: auto; padding-left: 10px; }
@media (max-width: 760px) { .frows { grid-template-columns: 1fr; } }

/* Ledger-style stat band ---------------------------------- */
.ledger { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 8px; }
.ledger-item { padding: 6px 26px; border-left: 1px solid rgba(255,255,255,0.12); }
.ledger-item:first-child { border-left: none; padding-left: 0; }
.ledger.light .ledger-item { border-left-color: var(--line); }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr 1fr; gap: 28px 0; } .ledger-item:nth-child(3) { border-left: none; padding-left: 0; } }

/* Principles / manifesto row ------------------------------ */
.principles { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 50px; border-top: 2px solid var(--navy-900); }
.principle { padding: 32px 32px 6px 0; }
.principle:not(:last-child) { border-right: 1px solid var(--line); }
.principle:not(:first-child) { padding-left: 32px; }
.principle .p-num { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--gold); line-height: 1; }
.principle .p-num .ico-box { width: 42px; height: 42px; margin: 0; }
.principle .p-num .ico-box svg { width: 20px; height: 20px; }
.principle h3 { margin-top: 20px; font-size: 1.3rem; }
.principle p { color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: none !important; border-bottom: 1px solid var(--line); padding: 26px 0 !important; }
  .principle:last-child { border-bottom: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav, .nav-cta { display: none; }
  .burger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .dash-kpis { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .card { padding: 24px; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
}
