/* =========================================================================
   Rasheedatu Nyei — Financial Advisory
   Design system: tokens, type, layout, components
   ========================================================================= */

:root{
  /* ---- Color: grounded in the subject — deep pine-ink (trust, growth,
     legacy) against warm parchment, brass for wealth/harvest, and a plum
     drawn directly from the headscarf in Rasheedatu's own portrait. ---- */
  --ink:        #14231F;
  --ink-2:      #1C302A;
  --ink-3:      #223A32;
  --paper:      #FBF9F3;
  --parchment:  #F1EAD9;
  --parchment-2:#E9DFC8;
  --brass:      #B9863E;
  --brass-light:#E4C084;
  --brass-dark: #8F6329;
  --plum:       #7D5A6E;
  --plum-light: #C9AFC0;
  --charcoal:   #24261F;
  --stone:      #666255;
  --stone-2:    #8C8875;
  --line:       #DDD3BE;
  --line-dark:  rgba(244,239,228,0.16);
  --paper-dark: rgba(251,249,243,0.06);
  --ok:         #4C6B4F;

  --shadow-1: 0 1px 2px rgba(20,35,31,0.06), 0 1px 1px rgba(20,35,31,0.04);
  --shadow-2: 0 12px 32px -12px rgba(20,35,31,0.28);
  --shadow-3: 0 24px 64px -20px rgba(20,35,31,0.35);

  /* ---- Type: Fraunces (characterful serif, used with restraint) +
     Public Sans (civic/government humanist sans — a deliberate nod to the
     financial-literacy, public-education mission) + IBM Plex Mono for
     data, labels and ledger-like utility text. ---- */
  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1240px;
  --container-narrow: 800px;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --ease: cubic-bezier(.22,.68,0,1);
}

/* ---------------------------- Reset / base ---------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p,figure{ margin: 0; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }
svg{ display: block; }

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

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow{ max-width: var(--container-narrow); }

@media (min-width: 700px){
  .container{ padding-inline: 40px; }
}

/* ------------------------------ Typography ------------------------------ */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before{
  content: "";
  width: 20px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow--light{ color: var(--brass-light); }

h1, .h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 4.6vw + 1rem, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 2.6vw + 1rem, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h3, .h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem);
  line-height: 1.22;
  color: var(--ink);
}
h4, .h4{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
}
.on-ink, .bg-ink, .bg-ink-2, .hero, .page-header, .cta-band{ color: var(--paper); }
.on-ink .eyebrow, .bg-ink .eyebrow, .bg-ink-2 .eyebrow, .hero .eyebrow, .page-header .eyebrow, .cta-band .eyebrow{ color: var(--brass-light); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4,
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4,
.bg-ink-2 h1, .bg-ink-2 h2, .bg-ink-2 h3, .bg-ink-2 h4,
.hero h1, .hero h2, .hero h3, .hero h4,
.page-header h1, .page-header h2, .page-header h3, .page-header h4,
.cta-band h1, .cta-band h2, .cta-band h3, .cta-band h4{ color: var(--paper); }

em, .em{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--brass);
}
.on-ink em, .on-ink .em,
.bg-ink em, .bg-ink .em,
.bg-ink-2 em, .bg-ink-2 .em,
.hero em, .hero .em,
.page-header em, .page-header .em,
.cta-band em, .cta-band .em{ color: var(--brass-light); }

.lede{
  font-size: clamp(1.05rem, .4vw + 1rem, 1.3rem);
  line-height: 1.55;
  color: var(--stone);
  max-width: 46ch;
}
.on-ink .lede, .bg-ink .lede, .bg-ink-2 .lede, .hero .lede, .page-header .lede, .cta-band .lede{ color: #CFCABB; }

.small{ font-size: 0.92rem; }
.mono{ font-family: var(--font-mono); }
.center{ text-align: center; margin-inline: auto; }

.section-head{
  max-width: 640px;
  margin-bottom: 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-head.center{ align-items: center; text-align: center; }

/* ------------------------------- Buttons ------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.002em;
  transition: transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--brass);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover{ background: var(--brass-light); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-ghost-dark{
  border: 1px solid var(--line-dark);
  color: var(--paper);
}
.btn-ghost-dark:hover{ border-color: var(--brass-light); color: var(--brass-light); transform: translateY(-2px); }
.btn-outline{
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover{ border-color: var(--brass); color: var(--brass-dark); transform: translateY(-2px); }
.btn-sm{ padding: 11px 20px; font-size: 0.88rem; }
.btn-wide{ width: 100%; }
.btn svg{ width: 16px; height: 16px; flex: none; }

.text-link{
  position: relative;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s var(--ease), color .3s var(--ease);
}
.text-link:hover{ background-size: 0% 1px; color: var(--brass-dark); }
.on-ink .text-link{ color: var(--paper); background-image: linear-gradient(var(--brass-light), var(--brass-light)); }
.on-ink .text-link:hover{ color: var(--brass-light); }

/* -------------------------------- Header -------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20,35,31,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark{ width: 42px; height: 42px; flex: none; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-word span{
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--brass-light);
  font-weight: 400;
  margin-top: 3px;
}

.main-nav{ display: none; }
.main-nav ul{ display: flex; align-items: center; gap: 34px; }
.main-nav a{
  font-size: 0.95rem;
  color: #D9D5C6;
  font-weight: 500;
  position: relative;
  transition: color .25s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"]{ color: var(--paper); }
.main-nav a[aria-current="page"]::after{
  content:"";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--brass);
}
.header-cta{ display: none; align-items: center; gap: 18px; }
.header-phone{ font-family: var(--font-mono); font-size: 0.86rem; color: #C7C2B2; }

.nav-toggle{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{
  content: "";
  position: absolute;
}
.nav-toggle-icon{ position: relative; width: 22px; height: 16px; }
.nav-toggle-icon span{
  position: absolute; left: 0; right: 0; height: 2px; background: var(--paper);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav-toggle-icon span:nth-child(1){ top: 0; }
.nav-toggle-icon span:nth-child(2){ top: 7px; }
.nav-toggle-icon span:nth-child(3){ top: 14px; }
[data-nav-open="true"] .nav-toggle-icon span:nth-child(1){ top: 7px; transform: rotate(45deg); }
[data-nav-open="true"] .nav-toggle-icon span:nth-child(2){ opacity: 0; }
[data-nav-open="true"] .nav-toggle-icon span:nth-child(3){ top: 7px; transform: rotate(-45deg); }

.mobile-nav{
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  height: calc(100vh - 84px);
  height: calc(100dvh - 84px);
  background: var(--ink);
  z-index: 55;
  padding: 12px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y: auto;
}
[data-nav-open="true"] .mobile-nav{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul{ display: flex; flex-direction: column; }
.mobile-nav a{
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--paper);
}
.mobile-nav-foot{ padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }

@media (min-width: 980px){
  .main-nav{ display: block; }
  .header-cta{ display: flex; }
  .nav-toggle{ display: none; }
  .mobile-nav{ display: none; }
}

/* -------------------------------- Sections ------------------------------- */
section{ position: relative; }
.section{ padding: 88px 0; }
.section-sm{ padding: 56px 0; }
.section-lg{ padding: 120px 0; }
.bg-ink{ background: var(--ink); }
.bg-ink-2{ background: var(--ink-2); }
.bg-parchment{ background: var(--parchment); }
.bg-paper{ background: var(--paper); }

.grain{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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)' opacity='0.35'/%3E%3C/svg%3E");
}

/* growth-curve divider: the recurring signature line motif used across
   the site to mark thresholds between sections (a compounding curve,
   never a straight hairline) */
.curve-divider{ width: 100%; height: 48px; display: block; color: var(--brass); opacity: 0.55; }
.curve-divider path{ fill: none; stroke: currentColor; stroke-width: 1.4; }
.bg-ink .curve-divider, .bg-ink-2 .curve-divider{ color: var(--brass-light); opacity: 0.4; }

/* ---------------------------------- Hero --------------------------------- */
.hero{
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 84px;
}
.hero::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.18));
  pointer-events: none;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy{ max-width: 620px; }
.hero-copy .eyebrow{ margin-bottom: 22px; }
.hero-copy h1{ margin-bottom: 24px; }
.hero-copy .lede{ max-width: 52ch; margin-bottom: 36px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.trust-strip{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.trust-item dt{
  font-family: var(--font-mono);
  font-size: 1.7rem;
  color: var(--brass-light);
  letter-spacing: -0.02em;
}
.trust-item dd{
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #ADA895;
  letter-spacing: 0.01em;
}

.hero-portrait{
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 360px;
}
.hero-portrait-frame{
  position: relative;
  border-radius: var(--radius-l) var(--radius-l) 120px var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.hero-portrait-frame img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-portrait-offset{
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1.5px solid var(--brass);
  border-radius: var(--radius-l) var(--radius-l) 120px var(--radius-l);
  z-index: -1;
}
.hero-portrait-curve{
  position: absolute;
  bottom: -34px;
  left: -46px;
  width: 150px;
  color: var(--brass);
}
.hero-portrait-badge{
  position: absolute;
  left: -28px;
  bottom: 32px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-m);
  padding: 14px 18px;
  box-shadow: var(--shadow-3);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}
.hero-portrait-badge svg{ width: 26px; height: 26px; color: var(--brass-dark); flex: none; }
.hero-portrait-badge strong{ display: block; font-family: var(--font-display); font-size: 0.95rem; line-height: 1.2; }
.hero-portrait-badge span{ font-size: 0.74rem; color: var(--stone); }

@media (min-width: 900px){
  .hero{ padding-top: 76px; padding-bottom: 110px; }
  .hero-grid{ grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
  .hero-portrait{ justify-self: end; max-width: 420px; }
  .trust-strip{ grid-template-columns: repeat(3, 1fr); }
}

/* ----------------------------- Page headers ------------------------------ */
.page-header{
  background: var(--ink);
  color: var(--paper);
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-header .eyebrow{ margin-bottom: 20px; }
.page-header h1{ max-width: 16ch; }
.page-header .lede{ margin-top: 22px; }
.page-header-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.crumb-chip{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #C7C2B2;
  border: 1px solid var(--line-dark);
  padding: 7px 14px;
  border-radius: 999px;
}

/* -------------------------------- Cards ---------------------------------- */
.grid{ display: grid; gap: 28px; }
.grid-2{ grid-template-columns: repeat(1, 1fr); }
.grid-3{ grid-template-columns: repeat(1, 1fr); }
.grid-4{ grid-template-columns: repeat(1, 1fr); }
@media (min-width: 700px){
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
}

.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.service-icon{
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass-light);
  flex: none;
}
.service-icon svg{ width: 24px; height: 24px; }
.service-card h3{ margin-top: 2px; }
.service-card p{ color: var(--stone); font-size: 0.96rem; }
.service-card .text-link{ margin-top: auto; font-size: 0.92rem; }

.value-card{
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
}
.value-card .mono-index{
  font-family: var(--font-mono);
  color: var(--brass-dark);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 18px;
}
.value-card p{ color: var(--stone); margin-top: 10px; font-size: 0.96rem; }

.stat-card{
  background: var(--ink-2);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  color: var(--paper);
}
.stat-card dt{
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--brass-light);
  letter-spacing: -0.02em;
}
.stat-card dd{ margin-top: 8px; font-size: 0.88rem; color: #C7C2B2; }

/* process steps — a genuine ordered sequence, so numbering is earned */
.process-list{ display: flex; flex-direction: column; }
.process-step{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.process-step:last-child{ border-bottom: 1px solid var(--line); }
.process-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--brass);
}
.process-step h3{ margin-bottom: 8px; }
.process-step p{ color: var(--stone); max-width: 56ch; }

/* FAQ accordion */
.faq-list{ display: flex; flex-direction: column; }
.faq-item{ border-top: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-q{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}
.faq-q .plus{
  position: relative;
  width: 20px; height: 20px; flex: none;
  color: var(--brass-dark);
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position: absolute; background: currentColor;
}
.faq-q .plus::before{ left: 0; right: 0; top: 9px; height: 1.6px; }
.faq-q .plus::after{ top: 0; bottom: 0; left: 9px; width: 1.6px; transition: transform .3s var(--ease); }
.faq-item[data-open="true"] .plus::after{ transform: rotate(90deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a-inner{ padding: 0 4px 28px; color: var(--stone); max-width: 64ch; }

/* Pills / tags */
.tag{
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--stone);
}

/* -------------------------------- CTA band -------------------------------- */
.cta-band{
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-l);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band h2{ max-width: 20ch; margin-inline: auto; }
.cta-band .lede{ margin: 18px auto 32px; }
.cta-band-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* -------------------------------- Forms ---------------------------------- */
.field{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label{ font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field .hint{ font-size: 0.78rem; color: var(--stone-2); font-weight: 400; }
.field input, .field select, .field textarea{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  font-size: 0.98rem;
  color: var(--charcoal);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(185,134,62,0.16);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 120px; }
.field-row{ display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px){ .field-row{ grid-template-columns: 1fr 1fr; } }
.checkbox-field{ display: flex; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
.checkbox-field input{ margin-top: 4px; flex: none; width: 17px; height: 17px; accent-color: var(--brass-dark); }
.checkbox-field label{ font-size: 0.86rem; color: var(--stone); font-weight: 400; line-height: 1.5; }
.form-note{ font-size: 0.8rem; color: var(--stone-2); margin-top: 14px; }
.form-status{ display: none; padding: 16px 18px; border-radius: var(--radius-s); font-size: 0.9rem; margin-top: 18px; }
.form-status.is-visible{ display: block; }
.form-status.success{ background: #E9EFE6; color: #3B5A3E; }
.form-status.error{ background: #F6E7E2; color: #8A3B24; }
.form-status.info{ background: #EFEAF5; color: #4A4266; }

/* ------------------------------- Footer ----------------------------------- */
.site-footer{ background: var(--ink); color: #C7C2B2; padding: 80px 0 32px; }
.footer-top{
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand p{ margin-top: 18px; max-width: 34ch; font-size: 0.92rem; color: #ADA895; }
.footer-cols{ display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.footer-col h4{ color: var(--paper); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 500; margin-bottom: 18px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 0.92rem; color: #C7C2B2; transition: color .2s var(--ease); }
.footer-col a:hover{ color: var(--brass-light); }
.footer-bottom{
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.8rem;
  color: #8C8875;
}
.footer-disclaimer{ max-width: 92ch; line-height: 1.6; }
.footer-legal-row{ display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.footer-legal-row .legal-links{ display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-row a:hover{ color: var(--brass-light); }

@media (min-width: 700px){
  .footer-top{ grid-template-columns: 1.1fr 2fr; }
}
@media (min-width: 980px){
  .footer-cols{ grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------- Scroll reveal --------------------------------
   Hidden-until-scrolled only applies once we know JS is running (the "js"
   class is set by an inline script in <head>, before first paint). Without
   JS — or if anything ever fails to fire — content is visible by default,
   never gated behind a script. */
.js [data-reveal]{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-group] > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* --------------------------- Misc components ------------------------------ */
.split{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px){
  .split{ grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse{ direction: rtl; }
  .split--reverse > *{ direction: ltr; }
}
.figure-frame{
  border-radius: var(--radius-l) var(--radius-l) 90px var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  position: relative;
}
.figure-frame img{ width: 100%; object-fit: cover; }

.list-check{ display: flex; flex-direction: column; gap: 16px; }
.list-check li{ display: flex; gap: 14px; align-items: flex-start; font-size: 0.98rem; color: var(--charcoal); }
.list-check svg{ width: 20px; height: 20px; flex: none; color: var(--brass-dark); margin-top: 2px; }

.pill-nav{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.pill-nav a{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--stone);
  transition: all .25s var(--ease);
}
.pill-nav a:hover{ border-color: var(--brass); color: var(--brass-dark); }

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

.badge-row{ display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.badge-row img, .badge-row .badge-item{ opacity: 0.86; }
.badge-item{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--stone);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
}

hr.rule{ border: none; border-top: 1px solid var(--line); margin: 0; }
.bg-ink hr.rule, .bg-ink-2 hr.rule{ border-top-color: var(--line-dark); }

/* ------------------------ Service detail page layout ---------------------- */
.service-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 980px){
  .service-layout{ grid-template-columns: 1fr 320px; gap: 64px; }
}
.service-body h2{ margin-top: 8px; }
.service-body > * + *{ margin-top: 44px; }
.service-body .lede{ max-width: 62ch; }

.advisor-aside{
  background: var(--parchment);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  text-align: center;
}
@media (min-width: 980px){ .advisor-aside{ position: sticky; top: 110px; } }
.advisor-aside img{
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow-1);
}
.advisor-aside h4{ margin-bottom: 4px; }
.advisor-aside .role{ font-size: 0.82rem; color: var(--stone); margin-bottom: 20px; }
.advisor-aside .btn{ width: 100%; margin-bottom: 12px; }
.advisor-aside .header-phone{ display: block; color: var(--stone); }

.cross-link-card{
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--parchment);
  border-radius: var(--radius-m);
  padding: 26px;
}
.cross-link-card .service-icon{ background: var(--ink); }
.cross-link-card a{ margin-top: 6px; display: inline-block; }

.persona-row{ display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px){ .persona-row{ grid-template-columns: repeat(3, 1fr); } }
.persona-card{ border-top: 2px solid var(--brass); padding-top: 16px; }
.persona-card p{ color: var(--stone); font-size: 0.94rem; margin-top: 8px; }

/* --------------------------- Legal / prose pages --------------------------- */
.prose h2{ margin-top: 52px; margin-bottom: 16px; }
.prose h2:first-child{ margin-top: 0; }
.prose h3{ margin-top: 30px; margin-bottom: 12px; }
.prose p{ color: var(--stone); margin-top: 14px; max-width: 74ch; }
.prose ul{ margin-top: 14px; display: flex; flex-direction: column; gap: 10px; padding-left: 22px; }
.prose li{ color: var(--stone); list-style: disc; }
.prose strong{ color: var(--charcoal); }
.updated-tag{ font-family: var(--font-mono); font-size: 0.78rem; color: var(--stone-2); }
