/* ==========================================================================
   WICA — Institutional Capital Association at Western
   Tokens
   ========================================================================== */
:root{
  --ink:        #14121B;   /* primary background, near-black w/ violet undertone */
  --ink-deep:   #0B0A10;   /* darkest panels */
  --ink-raised: #1C1926;   /* cards, raised surfaces */
  --hairline:   rgba(241,237,228,0.12);
  --hairline-strong: rgba(241,237,228,0.22);

  --parchment:  #F1EDE4;   /* primary text on dark */
  --parchment-dim: #C9C4B8;

  --brass:      #B08D57;   /* primary accent */
  --brass-bright: #D2AD74;
  --violet:     #6B4FA0;   /* secondary accent, Western-derived, used sparingly */
  --violet-dim: #4A3568;

  --slate:      #948FA0;   /* muted captions */

  --font-display: 'Fraunces', 'Iowan Old Style', serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --container: 1200px;
  --gutter: clamp(24px, 5vw, 64px);

  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
}

*, *::before, *::after{ box-sizing: border-box; }
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a{ color: inherit; text-decoration: none; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--parchment); color:var(--ink); padding:12px 20px; font-family:var(--font-mono); font-size:13px;
}
.skip-link:focus{ left:16px; top:16px; }

:focus-visible{
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

/* subtle film-grain overlay for the whole page — luxury print texture */
.grain-overlay{
  position: fixed; inset:0; z-index: 300; pointer-events:none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Intro curtain
   ========================================================================== */
.intro-curtain{
  position: fixed; inset:0; z-index: 400;
  background: var(--ink);
  display:flex; align-items:center; justify-content:center;
  transform-origin: top;
}
.intro-mark{ display:flex; flex-direction:column; align-items:center; gap:16px; opacity:0; transform: scale(0.94); }
.intro-crest{ width: 56px; height:56px; border-radius:50%; border: 1px solid var(--hairline-strong); overflow:hidden; }
.intro-crest img{
  width:100%; height:100%; object-fit:cover; object-position: center 40%; transform: scale(1.6);
  filter: invert(1) brightness(0.92);
}
.intro-word{
  font-family: var(--font-display); font-weight:500; font-size: 15px; letter-spacing:0.3em; color: var(--parchment);
}
.intro-curtain.is-hidden{ display:none; }

/* ==========================================================================
   Shine sweep — a thin light catching a polished surface on hover
   ========================================================================== */
.shine{ position:relative; overflow:hidden; }
.shine::after{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background: linear-gradient(75deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left .85s var(--ease-out);
  pointer-events:none; z-index:2;
}
.shine:hover::after{ left:130%; }

.node-dot{ position:relative; }
.node-dot::after{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background: linear-gradient(75deg, transparent, rgba(255,255,255,0.75), transparent);
  transform: skewX(-20deg);
  transition: left .8s var(--ease-out);
  pointer-events:none; z-index:2;
}
.tree-node:hover .node-dot::after, .tree-node.is-active .node-dot::after{ left:130%; }

/* ==========================================================================
   Type
   ========================================================================== */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-bright);
  display:flex; align-items:center; gap:10px;
  margin: 0 0 20px;
}
.eyebrow-index{
  color: var(--slate);
}
.eyebrow::before{
  content:"";
  width: 22px; height:1px; background: var(--brass);
}

.display-lg{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--parchment);
}

.lede{
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--parchment-dim);
  max-width: 46ch;
}
.lede-narrow{ margin: 20px auto 0; max-width: 42ch; text-align:center; }

.section p{ color: var(--parchment-dim); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.section{
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}
.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-head{
  text-align:center;
  display:flex; flex-direction:column; align-items:center;
  margin-bottom: clamp(48px, 8vw, 88px);
}
.section-head .eyebrow{ justify-content:center; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: linear-gradient(to bottom, rgba(11,10,16,0.85), rgba(11,10,16,0));
  backdrop-filter: blur(6px);
  transition: background .4s var(--ease-out);
}
.site-header.is-scrolled{
  background: rgba(11,10,16,0.86);
  border-bottom: 1px solid var(--hairline);
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display:flex; align-items:center; justify-content:space-between;
}
.wordmark{ display:flex; align-items:center; gap:12px; }
.wordmark-crest{
  width: 34px; height:34px; border-radius:50%; overflow:hidden; flex-shrink:0;
  border: 1px solid var(--hairline-strong);
}
.wordmark-crest img{
  width:100%; height:100%; object-fit:cover; object-position: center 40%; transform: scale(1.6);
  filter: invert(1) brightness(0.92);
}
.wordmark-text{ display:flex; flex-direction:column; line-height:1; gap:4px; }
.wordmark-mark{
  font-family: var(--font-display);
  font-weight:600;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--parchment);
}
.wordmark-full{
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.site-nav{ display:flex; align-items:center; gap:36px; }
.site-nav a{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--parchment-dim);
  display:flex; align-items:center; gap:8px;
  position:relative;
  padding: 4px 0;
}
.nav-tag{ color: var(--brass); font-size: 10px; }
.site-nav a:not(.nav-cta)::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background: var(--brass-bright); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.site-nav a:not(.nav-cta):hover::after{ transform: scaleX(1); }
.site-nav a:hover{ color: var(--parchment); }
.nav-cta{
  font-family: var(--font-mono);
  border: 1px solid var(--brass);
  padding: 9px 18px !important;
  color: var(--brass-bright) !important;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.nav-cta:hover{ background: var(--brass); color: var(--ink) !important; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px;
}
.nav-toggle span{ width:22px; height:1px; background: var(--parchment); display:block; }

.mobile-nav{
  display:none;
  position:fixed; inset: 0; z-index: 99;
  background: var(--ink-deep);
  padding: 110px var(--gutter) 40px;
  flex-direction:column; gap: 26px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .5s var(--ease-in-out);
}
.mobile-nav.is-open{ transform: translateY(0); }
.mobile-nav a{
  font-family: var(--font-display); font-size: 26px; color: var(--parchment); border-bottom:1px solid var(--hairline); padding-bottom: 14px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  overflow: hidden;
  padding: 140px var(--gutter) 80px;
}
#hero-canvas{
  position:absolute; inset:0; width:100%; height:100%; z-index:0;
}
.hero-vignette{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(20,18,27,0) 0%, rgba(20,18,27,0.55) 60%, var(--ink) 100%);
}
.hero-inner{ position:relative; z-index:2; max-width: 880px; }
.hero .eyebrow{ justify-content:center; }
.hero-headline{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--parchment);
}
.hero-headline em{ font-style: italic; color: var(--brass-bright); font-weight: 400; }
.hero-headline .line{ display:block; overflow:hidden; }
.reveal-line{ display:inline-block; will-change: transform; }

.hero-sub{
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--parchment-dim);
  max-width: 58ch;
  margin: 0 auto 40px;
}
.hero-actions{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }

.btn{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 15px 30px;
  border-radius: 2px;
  display:inline-flex; align-items:center; gap:10px;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.btn-primary{
  background: var(--brass);
  color: var(--ink-deep);
  border: 1px solid var(--brass);
}
.btn-primary:hover{ background: var(--brass-bright); border-color: var(--brass-bright); transform: translateY(-2px); }
.btn-ghost{
  border: 1px solid var(--hairline-strong);
  color: var(--parchment);
}
.btn-ghost:hover{ border-color: var(--brass-bright); color: var(--brass-bright); transform: translateY(-2px); }

.hero-scroll-cue{
  position:absolute; bottom: 36px; left:50%; transform: translateX(-50%); z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform:uppercase; color: var(--slate);
}
.hero-scroll-cue i{
  width:1px; height: 34px; background: linear-gradient(to bottom, var(--brass-bright), transparent);
  display:block;
}

/* ==========================================================================
   Mandate
   ========================================================================== */
.mandate-grid{
  display:grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px);
  align-items:center;
}
.mandate-photo{
  border: 1px solid var(--hairline-strong);
  aspect-ratio: 4 / 5;
  overflow:hidden;
}
.mandate-photo img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(0.25) sepia(0.18) saturate(0.85) brightness(0.85) contrast(1.05);
  will-change: transform;
}
.mandate-body p{ margin: 0 0 20px; }
.mandate-body .lede{ max-width: none; }
.mandate-cta{ margin-top: 8px; }

.asset-chips{
  list-style:none; padding:0; margin: 32px 0 0; display:flex; flex-wrap:wrap; gap:10px;
}
.asset-chip{
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing:0.03em;
  background: none; border: 1px solid var(--hairline-strong); color: var(--parchment-dim);
  padding: 9px 14px; border-radius: 2px; cursor:pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.asset-chip:hover, .asset-chip:focus-visible{ border-color: var(--brass); color: var(--brass-bright); }

/* ==========================================================================
   Asset class modal
   ========================================================================== */
.asset-modal{
  position:fixed; inset:0; z-index:500; display:none;
  align-items:center; justify-content:center; padding: 24px;
}
.asset-modal.is-open{ display:flex; }
.asset-modal-backdrop{
  position:absolute; inset:0; background: rgba(11,10,16,0.82); backdrop-filter: blur(4px);
}
.asset-modal-panel{
  position:relative; width:100%; max-width: 480px; max-height: 85vh; overflow-y:auto;
  background: var(--ink-raised); border: 1px solid var(--brass);
  padding: clamp(28px, 5vw, 48px); z-index:1;
  opacity:0; transform: translateY(16px) scale(0.98);
}
.asset-modal.is-open .asset-modal-panel{ animation: asset-modal-in .4s var(--ease-out) forwards; }
@keyframes asset-modal-in{ to{ opacity:1; transform: translateY(0) scale(1); } }
.asset-modal-close{
  position:absolute; top:18px; right:18px; width:32px; height:32px;
  background:none; border: 1px solid var(--hairline-strong); border-radius:50%;
  color: var(--parchment-dim); font-size:20px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; padding:0;
  transition: border-color .3s, color .3s;
}
.asset-modal-close:hover{ border-color: var(--brass); color: var(--brass-bright); }
.asset-modal-title{
  font-family: var(--font-display); font-weight:500; font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--parchment); margin: 4px 0 16px;
}
.asset-modal-body{ color: var(--parchment-dim); font-size: 15px; line-height:1.7; margin:0; }

@media (prefers-reduced-motion: reduce){
  .asset-modal.is-open .asset-modal-panel{ animation:none; opacity:1; transform:none; }
}

/* ==========================================================================
   Funds strip
   ========================================================================== */
.funds-strip{ padding: 48px 0; border-bottom: 1px solid var(--hairline); }
.funds-caption{
  text-align:center; font-family: var(--font-mono); font-size: 11px; letter-spacing:0.1em; text-transform:uppercase;
  color: var(--slate); margin: 0 0 24px;
}
.funds-row{
  list-style:none; padding:0; margin:0;
  display:flex; flex-wrap:wrap; justify-content:center; gap: 16px;
}
.funds-row li{
  background: linear-gradient(160deg, #EBE6D9, #DAD3C1);
  border: 1px solid var(--brass);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.18) inset;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.funds-row li:hover{
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.18) inset, 0 10px 20px -8px rgba(0,0,0,0.5);
}
.funds-row a{ padding: 18px 30px; display:flex; align-items:center; }
.funds-row img{ height: 30px; width:auto; max-width: 150px; object-fit:contain; display:block; }
.funds-row img.is-square{ height: 46px; }

/* ==========================================================================
   The Year / Timeline
   ========================================================================== */
.section.year{ position:relative; background: var(--ink-deep); border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline); overflow:hidden; }
.year-photo{ position:absolute; inset:0; z-index:0; }
.year-photo img{
  width:100%; height:100%; object-fit:cover;
  opacity: 0.16; filter: grayscale(0.4) contrast(1.1);
  will-change: transform;
}
.section.year::after{
  content:""; position:absolute; inset:0; z-index:0;
  background: linear-gradient(to bottom, var(--ink-deep) 0%, rgba(11,10,16,0.55) 35%, var(--ink-deep) 100%);
}
.section.year .section-inner{ position:relative; z-index:1; }

.timeline{ position: relative; display:grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline-rail{
  position:absolute; top: 11px; left: calc(12.5% ); right: calc(12.5%); height:1px; background: var(--hairline-strong);
}
.timeline-rail-fill{
  position:absolute; top:0; left:0; height:1px; width:0%; background: var(--brass-bright);
  box-shadow: 0 0 12px 0 rgba(210,173,116,0.6);
}
.timeline-item{ position:relative; padding-top: 56px; }
.timeline-marker{
  position:absolute; top:0; left:50%; transform: translateX(-50%);
  width: 22px; height:22px; border-radius:50%;
  background: var(--ink-deep); border: 1px solid var(--brass);
  display:flex; align-items:center; justify-content:center;
}
.timeline-marker span{
  display:block; font-family: var(--font-mono); font-size: 9px; color: var(--brass-bright);
  position:absolute; top: -26px; left:50%; transform: translateX(-50%);
  white-space:nowrap; letter-spacing:0.08em;
}
.timeline-content h3{
  font-family: var(--font-display); font-weight:500; font-size: 1.25rem; margin: 0 0 10px; color: var(--parchment);
}
.timeline-content p{ font-size: 14.5px; line-height:1.65; margin:0; }

/* ==========================================================================
   Why WICA
   ========================================================================== */
.why-list{ list-style:none; margin:0; padding:0; border-top: 1px solid var(--hairline); }
.why-item{
  display:grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px,4vw,64px);
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--hairline);
}
.why-item h3{
  font-family: var(--font-display); font-weight:500; font-size: 1.4rem; margin:0; color: var(--parchment);
}
.why-item p{ margin:0; max-width: 62ch; }

/* ==========================================================================
   People / Tree
   ========================================================================== */
.tree-scroll{ width: 100%; }
.tree-mobile{ display:none; }
.tree-wrap{ position: relative; max-width: 1100px; margin: 0 auto; }
.tree-svg{ width:100%; height:auto; display:block; }
.tree-branch{
  fill:none; stroke: var(--violet); stroke-width: 1.4; opacity: 0.7;
  stroke-dasharray: 400; stroke-dashoffset: 400;
}
.tree-branch-sub{ stroke-width: 1.1; opacity: 0.45; stroke-dasharray: 220; stroke-dashoffset: 220; }

.tree-nodes{ position:absolute; inset:0; }
.tree-node{
  position:absolute;
  left: calc(var(--x) / 1200 * 100%);
  top: calc(var(--y) / 460 * 100%);
  transform: translate(-50%, -50%);
  background:none; border:0; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  opacity: 0;
}
.node-dot{
  width: 16px; height:16px; border-radius:50%;
  background: var(--ink); border: 1.5px solid var(--brass);
  transition: background .3s, box-shadow .3s, transform .3s, border-color .3s;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.tree-node.root .node-dot{ width: 56px; height:56px; border-width:2px; border-color: var(--brass-bright); }
.tree-node.has-photo:not(.root) .node-dot{ width: 44px; height:44px; }
.tree-node.has-photo .node-dot img{ width:100%; height:100%; object-fit:cover; }
/* Per-photo face crops, calculated from each source image's actual content bounds so every
   officer reads at the same scale — head-and-shoulders, eyes roughly a third of the way down.
   Shared globally: used in the tree, the mobile pill list, and the testimony cards. */
img.crop-videv{ object-position: center 38%; transform: scale(1); }
img.crop-alex{ object-position: center 28%; transform: scale(1.05); }
img.crop-dasilva{ object-position: center 36%; transform: scale(1.1); }
img.crop-glover{ object-position: center 28%; transform: scale(1.1); }
.node-initials{
  font-family: var(--font-display); font-style:italic; font-size: 18px; color: var(--brass-bright);
}
.tree-node.is-sub .node-dot{ width: 10px; height:10px; }

.tree-node.is-open .node-dot{
  background:none; border: 1.5px dashed var(--hairline-strong);
}
.tree-node.is-open:hover .node-dot, .tree-node.is-open.is-active .node-dot{
  border-style: solid; border-color: var(--brass-bright); background: rgba(176,141,87,0.12);
}

.tree-node:not(.is-open):hover .node-dot, .tree-node:not(.is-open).is-active .node-dot{
  box-shadow: 0 0 0 6px rgba(210,173,116,0.16);
  transform: scale(1.08);
  border-color: var(--brass-bright);
}

.node-label{
  font-family: var(--font-mono); font-size: 12px; color: var(--parchment); white-space:nowrap;
  display:flex; flex-direction:column; align-items:center; gap:4px;
  transition: color .3s;
}
.tree-node.is-sub .node-label{ font-size: 10.5px; }
.tree-node.is-open .node-label{ color: var(--slate); }
.node-label em{ font-style:normal; color: var(--slate); font-size: 10px; letter-spacing:0.02em; }
.tree-node.is-sub .node-label em{
  display:none; position:absolute; top: 100%; left:50%; transform:translateX(-50%);
  margin-top: 2px; font-size: 9px; white-space:nowrap; background: var(--ink-deep);
  padding: 3px 8px; border: 1px solid var(--hairline-strong);
}
.tree-node.is-sub:hover .node-label em, .tree-node.is-sub.is-active .node-label em{ display:block; }
.tree-node.is-sub .node-label{ position:relative; }
.tree-node:hover .node-label, .tree-node.is-active .node-label{ color: var(--brass-bright); }
.tree-node.is-open:hover .node-label em, .tree-node.is-open.is-active .node-label em{ color: var(--brass-bright); }

.testimony-panel{
  position: relative; max-width: 720px; margin: 64px auto 0; min-height: 200px;
}
.testimony-card{
  position:absolute; inset:0;
  opacity:0; visibility:hidden;
  text-align:center;
  padding: 40px clamp(20px,4vw,56px);
  border: 1px solid var(--hairline);
  background: var(--ink-raised);
}
.testimony-card.is-active{ position:relative; opacity:1; visibility:visible; }
.testimony-apply{ margin-top: 22px; }
.testimony-avatar{
  display:block; width: 76px; height:76px; border-radius:50%; overflow:hidden;
  margin: 0 auto 22px; border: 2px solid var(--brass-bright); position:relative;
}
.testimony-avatar img{ width:100%; height:100%; object-fit:cover; }
.testimony-quote{
  font-family: var(--font-display); font-style: italic; font-weight:400;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height:1.6; color: var(--parchment);
  margin: 0 0 22px;
}
.testimony-name{ font-family: var(--font-mono); font-size: 12px; color: var(--brass-bright); margin:0; }
.testimony-name span{ color: var(--slate); display:block; margin-top:4px; font-size: 11px; }

/* ==========================================================================
   Join
   ========================================================================== */
.section.join{ background: var(--ink-deep); border-top: 1px solid var(--hairline); }
.join-inner{ text-align:center; display:flex; flex-direction:column; align-items:center; }
.join .hero-actions{ margin-top: 36px; }
.dues-note{
  margin: 28px 0 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--slate);
}
.dues-note a{ color: var(--brass-bright); border-bottom: 1px solid var(--brass); }
.dues-note a:hover{ color: var(--brass); }

/* ==========================================================================
   Dues
   ========================================================================== */
.section.dues{ border-top: 1px solid var(--hairline); }
.dues-inner{ text-align:center; display:flex; flex-direction:column; align-items:center; }
.dues-paypal{
  margin-top: 40px; width: 100%; max-width: 340px;
  padding: 32px clamp(20px,4vw,40px); border: 1px solid var(--brass);
  background: linear-gradient(160deg, #EBE6D9, #DAD3C1);
  border-radius: 3px;
  color: #1a1a1a;
}
/* PayPal's hosted-button widget renders the product title, price, and
   description as plain DOM text with no color of its own — it just inherits
   from the page, which was white-on-white against this light card. */
.dues-paypal .item-title,
.dues-paypal .item-header h3,
.dues-paypal .item-description,
.dues-paypal label,
.dues-paypal p,
.dues-paypal span{ color: #1a1a1a; }
.dues-fineprint{
  margin: 22px 0 0; font-family: var(--font-mono); font-size: 11px; color: var(--slate);
}
.dues-fineprint a{ color: var(--brass-bright); border-bottom: 1px solid var(--brass); }
.dues-fineprint a:hover{ color: var(--brass); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--ink-deep); border-top: 1px solid var(--hairline); padding: 64px 0 40px; }
.footer-inner{
  max-width: var(--container); margin:0 auto; padding: 0 var(--gutter);
  display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items:start;
}
.footer-brand p{ font-size: 12.5px; color: var(--slate); margin: 12px 0 0; line-height:1.6; }
.footer-nav{ display:flex; flex-direction:column; gap: 12px; }
.footer-nav a{ font-family: var(--font-mono); font-size:12.5px; color: var(--parchment-dim); }
.footer-nav a:hover{ color: var(--brass-bright); }
.footer-meta{ text-align:right; }
.footer-meta p{ font-family: var(--font-mono); font-size: 11px; color: var(--slate); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .site-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-nav{ display:flex; }

  .mandate-grid{ grid-template-columns: 1fr; }
  .why-item{ grid-template-columns: 1fr; gap: 12px; }
  .timeline{ grid-template-columns: 1fr; gap: 44px; }
  .timeline-rail{ display:none; }
  .footer-inner{ grid-template-columns: 1fr; gap: 28px; text-align:left; }
  .footer-meta{ text-align:left; }
}

@media (max-width: 900px){
  .hero{ padding: 120px var(--gutter) 64px; min-height: auto; }
  .hero-scroll-cue{ display:none; }
}

@media (max-width: 640px){
  .tree-scroll{ display:none; }
  .tree-mobile{ display:block; max-width: 380px; margin: 0 auto; }

  /* Every avatar — root or VP — sits centered in the same 64px gutter, so their
     centers land on one shared x-coordinate no matter what size the avatar is.
     The spine line runs straight down through that coordinate: no separate
     elbow math needed, and nothing can drift out of alignment. */
  .tm-gutter{ width:64px; display:flex; justify-content:center; flex-shrink:0; }

  .tm-root{
    display:flex; align-items:center; gap:14px; width:100%;
    background:none; border:0; cursor:pointer; text-align:left;
    position:relative; padding:0; margin-bottom: 26px;
  }
  .tm-root::after{
    content:""; position:absolute; left:32px; bottom:-26px; width:1px; height:26px;
    background: var(--violet); opacity:0.6; transform:translateX(-0.5px);
  }
  .tm-root .tm-avatar{
    width:64px; height:64px; border-radius:50%; overflow:hidden;
    border:2px solid var(--brass-bright); transition: box-shadow .3s;
  }
  .tm-root .tm-avatar img{ width:100%; height:100%; object-fit:cover; }
  .tm-root .tm-avatar img.crop-videv{ transform: scale(1.1); }
  .tm-root .tm-name{ font-family:var(--font-mono); font-size:13px; color:var(--parchment); }
  .tm-root .tm-role{ font-family:var(--font-mono); font-size:10.5px; color:var(--slate); }
  .tm-root:hover .tm-avatar, .tm-root.is-active .tm-avatar{ box-shadow: 0 0 0 5px rgba(210,173,116,0.16); }
  .tm-root:hover .tm-name, .tm-root.is-active .tm-name{ color:var(--brass-bright); }

  .tm-branches{ position:relative; display:flex; flex-direction:column; gap:28px; }
  .tm-branches::before{
    content:""; position:absolute; left:32px; top:0; bottom:0; width:1px;
    background: var(--violet); opacity:0.35; transform:translateX(-0.5px);
  }
  .tm-branch{ position:relative; }

  .tm-person{
    display:flex; align-items:center; gap:14px; width:100%; text-align:left;
    background:none; border:0; cursor:pointer; padding:0; position:relative;
  }
  .tm-person .tm-avatar{
    width:44px; height:44px; border-radius:50%; overflow:hidden;
    border:1.5px solid var(--brass); transition: box-shadow .3s, border-color .3s;
  }
  .tm-person .tm-avatar img{ width:100%; height:100%; object-fit:cover; }
  .tm-person.is-open .tm-avatar{ border-style:dashed; border-color: var(--hairline-strong); }
  .tm-person.is-open:hover .tm-avatar, .tm-person.is-open.is-active .tm-avatar{ border-style:solid; border-color:var(--brass-bright); }
  .tm-text{ display:flex; flex-direction:column; gap:2px; }
  .tm-name{ font-family:var(--font-mono); font-size:12.5px; color:var(--parchment); }
  .tm-role{ font-family:var(--font-mono); font-size:10.5px; color:var(--slate); }
  .tm-person:hover .tm-avatar, .tm-person.is-active .tm-avatar{ box-shadow:0 0 0 4px rgba(210,173,116,0.16); border-color:var(--brass-bright); }
  .tm-person:hover .tm-name, .tm-person.is-active .tm-name{ color:var(--brass-bright); }

  .tm-subs{ display:flex; flex-wrap:wrap; gap:8px; margin: 12px 0 0 78px; }
  .tm-sub{
    font-family:var(--font-mono); font-size:10px; letter-spacing:0.02em;
    background:none; border:1px dashed var(--hairline-strong); color:var(--slate);
    padding:6px 10px; border-radius:999px; cursor:pointer;
  }
  .tm-sub:hover, .tm-sub.is-active{ border-style:solid; border-color:var(--brass); color:var(--brass-bright); }

  .testimony-panel{ margin-top: 40px; }
  .testimony-card{ position:relative; opacity:1 !important; visibility:visible !important; display:none; }
  .testimony-card.is-active{ display:block; }
}
