:root {
  --bg: #fbfaf7;
  --bg-alt: #f5f3ee;
  --text: #101418;
  --muted: #4a5561;
  --border: rgba(16, 20, 24, 0.12);
  --shadow: 0 10px 30px rgba(16, 20, 24, 0.08);
  --accent: #0b3b53;
  --accent-2: #1a6a6b;
  --focus: #0a6b8a;

  --radius: 14px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1200px 700px at 18% -10%, rgba(26, 106, 107, 0.08), transparent 55%),
    radial-gradient(900px 500px at 92% 10%, rgba(11, 59, 83, 0.08), transparent 50%),
    linear-gradient(0deg, var(--bg), var(--bg));
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible + .nav-burger {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.skip-link {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(251, 250, 247, 0.76);
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand-mark {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: conic-gradient(from 210deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(11, 59, 83, 0.08);
}

.brand-text {
  font-size: 15px;
}

.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: rgba(16, 20, 24, 0.82);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  background: rgba(16, 20, 24, 0.04);
}

.nav-cta {
  border: 1px solid rgba(16, 20, 24, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.hero {
  padding: 56px 0 28px;
}

.hero-inner {
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(16, 20, 24, 0.68);
  letter-spacing: 0.2px;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 16px;
  color: rgba(16, 20, 24, 0.82);
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(16, 20, 24, 0.14);
  background: linear-gradient(180deg, rgba(11, 59, 83, 0.9), rgba(11, 59, 83, 0.82));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(11, 59, 83, 0.14);
}

.button:hover {
  filter: brightness(1.03);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
  color: rgba(16, 20, 24, 0.86);
  box-shadow: none;
}

.hero-note {
  border: 1px solid rgba(16, 20, 24, 0.1);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: var(--shadow);
}

.hero-note p {
  margin: 0;
  color: rgba(16, 20, 24, 0.74);
  font-size: 14px;
}

.section {
  padding: 40px 0;
}

.section-alt {
  background: linear-gradient(0deg, rgba(245, 243, 238, 0.82), rgba(245, 243, 238, 0.82));
  border-top: 1px solid rgba(16, 20, 24, 0.06);
  border-bottom: 1px solid rgba(16, 20, 24, 0.06);
}

h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 12px;
}

.section-lead {
  color: rgba(16, 20, 24, 0.74);
  max-width: 70ch;
}

section[id] {
  scroll-margin-top: 4.75rem;
}

/* —— Representative Advisory Engagements: manifesto scroll typography —— */
.engagements-manifesto {
  position: relative;
  padding: 36px 0 0;
  background: var(--bg);
}

.manifesto-scroll-host {
  height: calc(5.25 * 100vh);
  height: calc(5.25 * 100svh);
}

.manifesto-sticky {
  position: sticky;
  top: 4.75rem;
  min-height: calc(100svh - 4.75rem - 2rem);
  display: flex;
  align-items: flex-start;
  padding: 0.5rem 0 3rem;
  box-sizing: border-box;
}

.manifesto-container {
  max-width: 720px;
}

.manifesto-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.manifesto-item {
  --focus: 0.22;
  margin: 0;
  padding: clamp(1.75rem, 4vh, 2.5rem) 0;
  border-bottom: 1px solid rgba(16, 20, 24, 0.07);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);

  opacity: calc(0.2 + var(--focus) * 0.8);
  transform: translate3d(0, calc((1 - var(--focus)) * 12px), 0) scale(calc(0.982 + var(--focus) * 0.018));
  filter: blur(calc((1 - var(--focus)) * 1.1px));
}

.manifesto-item:last-child {
  border-bottom: none;
}

.manifesto-item__title {
  margin: 0 0 0.55rem;
  font-size: calc(1.05rem + var(--focus) * 1.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: rgba(16, 20, 24, calc(0.35 + var(--focus) * 0.65));
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.manifesto-item__body {
  margin: 0;
  font-size: calc(0.9rem + var(--focus) * 0.12rem);
  line-height: 1.55;
  max-width: 52ch;
  color: rgba(16, 20, 24, calc(0.38 + var(--focus) * 0.42));
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.engagements-manifesto--stacked .manifesto-scroll-host {
  height: auto;
  min-height: 0;
}

.engagements-manifesto--stacked .manifesto-sticky {
  position: relative;
  top: auto;
  min-height: 0;
  padding: 0 0 1.5rem;
}

.engagements-manifesto--stacked .manifesto-item {
  filter: none;
  transform: translate3d(0, 14px, 0);
  opacity: 0.45;
}

.engagements-manifesto--stacked .manifesto-item.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.engagements-manifesto--stacked .manifesto-item__title {
  font-size: clamp(1.12rem, 3.8vw, 1.35rem);
  color: rgba(16, 20, 24, 0.92);
}

.engagements-manifesto--stacked .manifesto-item__body {
  font-size: 15px;
  color: rgba(16, 20, 24, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-item {
    transition: none;
    filter: none !important;
  }

  .engagements-manifesto--stacked .manifesto-item {
    transform: none;
    opacity: 1;
  }
}

.muted {
  color: rgba(16, 20, 24, 0.64);
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.aside-card,
.list-card {
  border: 1px solid rgba(16, 20, 24, 0.1);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.kv {
  margin: 0;
}

.kv div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid rgba(16, 20, 24, 0.08);
}

.kv div:first-child {
  border-top: none;
  padding-top: 0;
}

.kv dt {
  font-size: 12px;
  color: rgba(16, 20, 24, 0.6);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.kv dd {
  margin: 0;
  font-size: 14px;
  color: rgba(16, 20, 24, 0.82);
}

.placeholder {
  color: rgba(16, 20, 24, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.card {
  border: 1px solid rgba(16, 20, 24, 0.1);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: rgba(16, 20, 24, 0.74);
  font-size: 14px;
}

.checklist {
  margin: 0;
  padding-left: 18px;
  color: rgba(16, 20, 24, 0.8);
}

.checklist li {
  margin: 8px 0;
}

.footer {
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(16, 20, 24, 0.08);
  padding-top: 18px;
}

.footer-left {
  margin: 0;
  color: rgba(16, 20, 24, 0.68);
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 14px;
}

.footer-right a {
  font-size: 13px;
  color: rgba(16, 20, 24, 0.72);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}

.footer-right a:hover {
  background: rgba(16, 20, 24, 0.04);
}

/* Simple content pages (privacy/terms) */
.page {
  padding: 44px 0 56px;
}

.prose {
  max-width: 76ch;
}

.prose h1 {
  font-size: clamp(24px, 3.6vw, 36px);
  margin-bottom: 10px;
}

.prose ul {
  padding-left: 18px;
}

.prose li {
  margin: 8px 0;
}

@media (max-width: 920px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 22px;
  }

  .header-inner {
    padding: 12px 0;
  }
}

@media (max-width: 767px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    gap: 12px;
  }

  .brand {
    justify-self: center;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
  }

  .brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-end {
    grid-column: 2;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    justify-self: end;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    inset: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
  }

  .nav-burger {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 20, 24, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    z-index: 1;
  }

  .nav-burger::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(16, 20, 24, 0.78);
    box-shadow: 0 -6px 0 rgba(16, 20, 24, 0.78), 0 6px 0 rgba(16, 20, 24, 0.78);
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: min(280px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    margin: 0;
    background: rgba(251, 250, 247, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 20, 24, 0.1);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 30;
  }

  .nav a {
    padding: 12px 14px;
    width: 100%;
    text-align: left;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }
}

@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
