/* ==========================================================================
   Genter Advisors — main stylesheet
   Extracted from the original single-file site; values preserved verbatim.

   Palette:
     cream bg      #FBF9F5
     maroon        #5A0E2E   (dark hover #3F0820, light hover #75173C)
     gold          #B89058
     warm greys    #1C1917 / #292524 / #44403C / #57534E / #78716C / #A8A29E
   ========================================================================== */

* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: #5A0E2E; color: #FBF9F5; }
[hidden] { display: none !important; }

/* --- Accessibility ------------------------------------------------------
   None of these are visible during normal pointer use: .sr-only is for
   screen readers only, .skip-link sits off-canvas until it takes focus,
   and the focus ring is :focus-visible, so it appears for keyboard/AT
   navigation and not on click. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: #5A0E2E;
  color: #FBF9F5;
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid #B89058; outline-offset: 3px; }

/* Landing targets for programmatic focus — announced, never outlined. */
.site-main:focus, .contact-thanks:focus { outline: none; }

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FBF9F5;
  color: #1C1917;
  font-family: 'Raleway', system-ui, sans-serif;
}

.site-main { flex: 1; }

/* --- Shared ------------------------------------------------------------- */

.container { max-width: 1280px; margin: 0 auto; }

.em { font-style: italic; }
.em-gold { font-style: italic; color: #B89058; }
.gold { color: #B89058; }
.light { font-weight: 400; }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B89058;
  margin-bottom: 16px;
}
.eyebrow--hero { margin-bottom: 24px; }
.eyebrow--tight { margin-bottom: 12px; }

.section-title {
  font-size: 48px;
  color: #5A0E2E;
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}

.split-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
}

.page-title {
  font-size: 72px;
  color: #5A0E2E;
  line-height: 1.05;
  margin: 0;
  font-weight: 600;
}
.page-title--approach { margin-bottom: 40px; }
.page-title--wide { max-width: 900px; }

/* Buttons */

.btn-primary {
  padding: 16px 32px;
  background: #5A0E2E;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary:hover { background: #B89058; color: #5A0E2E; transform: translateY(-2px); }

.btn-ghost {
  padding: 16px 32px;
  background: #fff;
  border: 1px solid rgba(90, 14, 46, 0.2);
  color: #5A0E2E;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-ghost:hover { background: #5A0E2E; color: #fff; transform: translateY(-2px); }

.btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: #5A0E2E;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  border-radius: 2px;
}
.btn-cta:hover { background: #75173c; }

.btn-gold {
  display: inline-block;
  padding: 16px 32px;
  background: #5A0E2E;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-gold:hover { background: #B89058; color: #5A0E2E; transform: translateY(-2px); }

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(90, 14, 46, 0.1);
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  cursor: pointer;
}
.site-header__logo img { height: 150px; width: auto; }

.site-header__links { display: flex; align-items: center; gap: 4px; }

.site-nav__link {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  text-decoration: none;
  white-space: nowrap;
  color: #78716c;
  transition: color .2s, border-color .2s;
}
.site-nav__link:hover { color: #5A0E2E; border-bottom-color: rgba(90, 14, 46, 0.3); }
.site-nav__link--active { color: #5A0E2E; border-bottom-color: #5A0E2E; }

.site-header__cta {
  margin-left: 16px;
  padding: 10px 24px;
  background: #5A0E2E;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.site-header__cta:hover { background: #B89058; color: #5A0E2E; }

.site-header__toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.site-header__toggle span,
.site-header__toggle span::before,
.site-header__toggle span::after {
  width: 22px;
  height: 2px;
  background: #5A0E2E;
  transition: background .2s, transform .2s;
}
.site-header__toggle span {
  position: relative;
  display: block;
}
.site-header__toggle span::before,
.site-header__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.site-header__toggle span::before { top: -7px; }
.site-header__toggle span::after { top: 7px; }
.site-header__toggle[aria-expanded="true"] span { background: transparent; }
.site-header__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.site-header__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --- Home: hero ----------------------------------------------------------- */

.home-hero {
  position: relative;
  padding: 56px 24px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.home-hero__bg { position: absolute; inset: 0; z-index: 0; }
/* Full-bleed: the hero photo is panoramic (~2.36) and nearly matches the
   hero box, so it spans the whole width and the mask below — not a narrower
   box — is what keeps its left side soft behind the headline. */
.home-hero__bg img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Dissolves the photo's own left edge into the cream page background, so
     the crop boundary reads as a fade rather than a hard vertical line. */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 12%, rgba(0,0,0,1) 30%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 12%, rgba(0,0,0,1) 30%);
}
.home-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FBF9F5 0%, #FBF9F5 24%, rgba(251,249,245,0.6) 44%, rgba(251,249,245,0.15) 68%, rgba(251,249,245,0) 88%);
}

.home-hero__content { position: relative; z-index: 10; width: 100%; padding-left: 32px; }
.home-hero__text { max-width: 620px; }

.home-hero__title {
  font-size: 72px;
  line-height: 1.05;
  color: #5A0E2E;
  margin: 0 0 32px;
  font-weight: 600;
}

.home-hero__lead {
  font-size: 18px;
  color: #57534e;
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 576px;
}

.home-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- Home: about ---------------------------------------------------------- */

.about {
  padding: 96px 24px;
  background: #EFE6D6;
  border-top: 1px solid #E0D4BF;
  border-bottom: 1px solid #E0D4BF;
}

.about__copy {
  color: #57534e;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__copy p { margin: 0; }

/* --- Home: timeline ---------------------------------------------------- */

.timeline { padding: 48px 24px 40px; background: #FBF9F5; border-bottom: 1px solid #E0D4BF; }
.timeline__inner { max-width: 1280px; margin: 0 auto; }
.timeline__header { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.timeline__header .section-title { margin: 0; }

.timeline__track { position: relative; display: flex; justify-content: space-between; }
.timeline__line {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #5A0E2E;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.6s cubic-bezier(.65, 0, .35, 1);
}
.timeline--in-view .timeline__line { transform: scaleX(1); }

.timeline-item {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity .5s ease;
}
.timeline--in-view .timeline-item { opacity: 1; }

.timeline-item__dot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #5A0E2E;
  border: 2px solid #5A0E2E;
  color: #fff;
  margin-bottom: 20px;
  transform: scale(.4);
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1);
}
.timeline--in-view .timeline-item__dot { transform: scale(1); }

.timeline-item__dot svg { width: 20px; height: 20px; }
.timeline-item__dot--final {
  background: #B89058;
  border-color: #B89058;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(184, 144, 88, 0.18);
}
.timeline--in-view .timeline-item__dot--final {
  animation: timeline-glow-pulse 2.4s ease-in-out 1.1s infinite;
}

.timeline-item__body {
  display: flex;
  flex-direction: column;
  transform: translateY(10px);
  transition: transform .5s ease;
}
.timeline--in-view .timeline-item__body { transform: translateY(0); }

.timeline-item__year { margin: 0; font-size: 20px; font-weight: 700; color: #5A0E2E; }
.timeline-item__label { margin: 8px 0 0; font-size: 14px; color: #57534e; line-height: 1.5; }

/* Branch point: a stop that spins off the main line rather than sitting on it */
.timeline-item__stem {
  width: 2px;
  height: 22px;
  margin-top: 20px;
  background: #B89058;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .4s ease;
}
.timeline--in-view .timeline-item__stem { transform: scaleY(1); }

@keyframes timeline-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(184, 144, 88, 0.18), 0 0 10px 2px rgba(184, 144, 88, 0.35);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(184, 144, 88, 0.28), 0 0 22px 8px rgba(184, 144, 88, 0.6);
  }
}

/* Stagger each marker's reveal to track the line as it draws across */
.timeline-item:nth-child(2),
.timeline-item:nth-child(2) .timeline-item__dot,
.timeline-item:nth-child(2) .timeline-item__body { transition-delay: .05s; }
.timeline-item:nth-child(3),
.timeline-item:nth-child(3) .timeline-item__dot,
.timeline-item:nth-child(3) .timeline-item__body { transition-delay: .35s; }
.timeline-item:nth-child(4),
.timeline-item:nth-child(4) .timeline-item__dot,
.timeline-item:nth-child(4) .timeline-item__stem,
.timeline-item:nth-child(4) .timeline-item__body { transition-delay: .65s; }
.timeline-item:nth-child(4) .timeline-item__dot { transition-delay: .95s; }
.timeline-item:nth-child(5),
.timeline-item:nth-child(5) .timeline-item__dot,
.timeline-item:nth-child(5) .timeline-item__body { transition-delay: .95s; }
.timeline-item:nth-child(6),
.timeline-item:nth-child(6) .timeline-item__dot,
.timeline-item:nth-child(6) .timeline-item__body { transition-delay: 1.25s; }
.timeline-item:nth-child(7),
.timeline-item:nth-child(7) .timeline-item__dot,
.timeline-item:nth-child(7) .timeline-item__body { transition-delay: 1.55s; }

/* --- Home: stats ----------------------------------------------------------- */

.stats { position: relative; overflow: hidden; padding: 96px 24px; }
.stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.stats__overlay { position: absolute; inset: 0; z-index: 0; background: rgba(90, 14, 46, 0.7); }
.stats__grid {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-card {
  padding: 32px;
  background: #F6EFE1;
  border-top: 2px solid #B89058;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 40px -8px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(184, 144, 88, 0.6),
    0 0 36px 8px rgba(184, 144, 88, 0.4);
}
.stat-card__value { font-size: 48px; color: #5A0E2E; margin: 0 0 12px; font-weight: 600; }
.stat-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #78716c;
  margin: 0;
}

.stats__disclosure {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
}
.stats__disclosure p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}
/* Inset callout: reads as a distinct note rather than another footnote line. */
.stats__disclosure-note {
  margin-top: 20px;
  padding: 20px 24px;
  text-align: left;
  background: rgba(251, 249, 245, 0.08);
  border-left: 2px solid #B89058;
}
.stats__disclosure-note a {
  color: #D4A55A;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.stats__disclosure-note a:hover { color: #FBF9F5; }

/* --- Home: asset allocation ---------------------------------------------- */

.allocation {
  padding: 96px 24px;
  background: #FBF9F5;
  border-bottom: 1px solid #E0D4BF;
}

.allocation__copy {
  color: #57534e;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.allocation__copy p { margin: 0; }

/* --- Home: next step CTA ---------------------------------------------------- */

.next-step { padding: 96px 24px; background: #F6EFE1; text-align: center; }
.next-step__inner { max-width: 720px; margin: 0 auto; }
.next-step__title {
  font-size: 44px;
  color: #5A0E2E;
  margin: 0 0 20px;
  line-height: 1.15;
  font-weight: 600;
}
.next-step__lead { font-size: 18px; color: #57534e; line-height: 1.6; margin: 0 0 40px; }

/* --- Page heroes (Approach / Strategies) ------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
  border-bottom: 1px solid #e7e5e4;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  object-fit: cover;
}
.page-hero__scrim { position: absolute; inset: 0; }

.page-hero--approach .page-hero__bg img { width: 66%; object-position: center; }
.page-hero--approach .page-hero__scrim {
  background: linear-gradient(90deg, #FBF9F5 0%, #FBF9F5 48%, rgba(251,249,245,0.92) 62%, rgba(251,249,245,0.5) 78%, rgba(251,249,245,0.1) 92%, rgba(251,249,245,0) 100%);
}

.page-hero--strategies .page-hero__bg img { width: 60%; object-position: center 55%; }
.page-hero--strategies .page-hero__scrim {
  background: linear-gradient(90deg, #FBF9F5 0%, #FBF9F5 40%, rgba(251,249,245,0.7) 54%, rgba(251,249,245,0.15) 76%, rgba(251,249,245,0) 100%);
}

.page-hero--insights .page-hero__bg img { width: 62%; object-position: center; }
.page-hero--insights .page-hero__scrim {
  background: linear-gradient(90deg, #FBF9F5 0%, #FBF9F5 44%, rgba(251,249,245,0.9) 60%, rgba(251,249,245,0.45) 78%, rgba(251,249,245,0.05) 94%, rgba(251,249,245,0) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.page-hero__text--approach { max-width: 720px; }
.page-hero__text--strategies { max-width: 640px; }
.page-hero__text--insights { max-width: 640px; }

.page-hero__lead {
  margin: 32px 0 0;
  max-width: 600px;
  color: #57534e;
  font-size: 18px;
  line-height: 1.7;
}

/* --- Approach ---------------------------------------------------------------- */

.pull-quote { max-width: 640px; border-left: 4px solid #B89058; padding-left: 32px; margin: 0; }
.pull-quote p { font-size: 24px; color: #5A0E2E; line-height: 1.6; margin: 0 0 16px; }
.pull-quote footer { font-size: 14px; color: #78716c; }

.philosophy { padding: 96px 24px; border-bottom: 1px solid #e7e5e4; }
.philosophy__copy { color: #57534e; line-height: 1.7; display: flex; align-items: center; }
.philosophy__copy p { margin: 0; font-size: 18px; }

.pillars { position: relative; padding: 96px 24px; overflow: hidden; }
.pillars__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.pillars__overlay { position: absolute; inset: 0; z-index: 0; background: rgba(90, 14, 46, 0.82); }
.pillars__inner { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; }

.pillars__header { text-align: center; margin-bottom: 64px; }
.pillars__header h2 { font-size: 48px; color: #fff; margin: 0 0 16px; font-weight: 600; }
.em-gold--pillars { color: #D8BD90; }
.pillars__header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 672px;
  margin: 0 auto;
  font-size: 18px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.pillar-card {
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-top: 4px solid #B89058;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 40px -8px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(184, 144, 88, 0.6),
    0 0 36px 8px rgba(184, 144, 88, 0.4);
}
.pillar-card h3 {
  font-size: 30px;
  color: #5A0E2E;
  margin: 0 0 20px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 2.4em;
  text-align: center;
}
.pillar-card p { color: #57534e; font-size: 18px; line-height: 1.7; margin: 0; }

.independence { padding: 96px 24px; background: #F1ECE4; }
.independence__inner { max-width: 896px; margin: 0 auto; text-align: center; }
.independence__inner h2 {
  font-size: 36px;
  color: #5A0E2E;
  margin: 0 0 24px;
  font-style: italic;
  font-weight: 600;
}
.independence__inner p { color: #57534e; margin: 0 0 40px; }

/* --- Strategies ----------------------------------------------------------------- */

.strategy-tabs {
  padding: 48px 24px 0;
  border-bottom: 1px solid #e7e5e4;
  background: #fff;
  position: sticky;
  top: 108px;
  z-index: 20;
}
.strategy-tabs__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.strategy-tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  color: #78716c;
}
.strategy-tab:hover { color: #5A0E2E; border-bottom-color: rgba(184, 144, 88, 0.4); }
.strategy-tab--active { color: #5A0E2E; border-bottom-color: #B89058; }
/* Each tab ships both labels; the mobile block below swaps which one shows. */
.strategy-tab__short { display: none; }

.strategy-detail { padding: 64px 24px; }

.strategy-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e7e5e4;
}
.strategy-head__name { font-size: 48px; color: #5A0E2E; margin: 0; font-weight: 600; }
.strategy-head__tagline { color: #78716c; margin: 8px 0 0; font-size: 18px; }

.strategy-chips { display: flex; gap: 12px; }
.chip { padding: 12px 20px; background: #5A0E2E; color: #fff; font-size: 14px; }
.chip__label { opacity: 0.7; }
.chip__value { font-weight: 700; }

.strategy-section { margin-bottom: 48px; }

.block-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5A0E2E;
  font-weight: 700;
  margin: 0 0 20px;
}
.block-label--muted { color: #78716c; margin: 0 0 12px; }

.allocation-card {
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.allocation-card__pie {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px;
}

.pie-caption {
  height: 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a8a29e;
}

.pie-svg {
  width: 300px;
  height: 300px;
  overflow: visible;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.pie-slice {
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  transform-origin: center;
}

.holdings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.holdings-list li { display: flex; align-items: flex-start; gap: 12px; }
.holdings-list .holding-swatch {
  margin-top: 4px;
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.holdings-list .holding-name { flex: 1; color: #44403c; }
.holdings-list .holding-weight { font-family: monospace; font-weight: 600; color: #5A0E2E; }

.strategy-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 64px;
}

.strategy-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  margin: 0 0 32px;
}
.strategy-facts > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e7e5e4;
  padding-bottom: 8px;
}
.strategy-facts dt { color: #78716c; }
.strategy-facts dd { font-weight: 600; color: #292524; margin: 0; }

.alloc-bar {
  display: flex;
  height: 40px;
  width: 100%;
  overflow: hidden;
  border: 1px solid #e7e5e4;
}
.alloc-bar__segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.alloc-bar__segment--equity { background: #1F4E5F; }
.alloc-bar__segment--fixed { background: #5A0E2E; }

/* --- Insights ---------------------------------------------------------------------- */

.insights-list { padding: 80px 24px; }
.insights-list__inner { max-width: 1024px; margin: 0 auto; }

.insights-section + .insights-section { margin-top: 72px; }
.insights-section__title {
  font-family: 'Saira', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #5A0E2E;
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid #B89058;
}

/* Older posts collapse behind the toggle. Both rules are gated on the
   --collapsible class that insights.js adds, so with JS off the full list
   renders and the (then useless) toggle stays hidden. */
.insights-more { display: none; }
.insights-section--collapsible.is-collapsed .article-item--extra { display: none; }
.insights-section--collapsible .insights-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0 16px;
  padding: 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(90, 14, 46, 0.3);
  padding-bottom: 2px;
  color: #5A0E2E;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.insights-section--collapsible .insights-more:hover {
  color: #B89058;
  border-bottom-color: #B89058;
}
.insights-more__arrow { display: inline-block; transition: transform .2s ease; }
.insights-section--collapsible:not(.is-collapsed) .insights-more__arrow { transform: rotate(180deg); }

.article-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  padding: 40px 16px;
  border-bottom: 1px solid #e7e5e4;
  cursor: pointer;
  text-decoration: none;
  box-shadow: inset 0 0 0 0 transparent;
  transition: background .2s, box-shadow .2s;
}
.article-row:hover {
  background: rgba(241, 236, 228, 0.4);
  box-shadow: inset 3px 0 0 0 #B89058;
}

.article-row__arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.article-row:hover .article-row__arrow { transform: translateX(4px); }

.article-row__meta { grid-column: span 3; }
.article-row__date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a8a29e;
  margin: 0 0 8px;
}
.article-row__category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #B89058;
  font-weight: 700;
  margin: 0;
}

.article-row__body { grid-column: span 9; }
.article-row__body h3 { font-size: 24px; color: #5A0E2E; margin: 0 0 12px; font-weight: 600; }
.article-row__body p { color: #57534e; line-height: 1.7; margin: 0 0 16px; }
.article-row__cta {
  font-size: 14px;
  font-weight: 500;
  color: #5A0E2E;
  border-bottom: 1px solid rgba(90, 14, 46, 0.3);
  padding-bottom: 2px;
}

/* --- Contact ------------------------------------------------------------------------- */

.contact-heading { padding: 96px 24px; border-bottom: 1px solid #e7e5e4; }

.contact-body { padding: 80px 24px; }
.contact-body__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
}

.contact-aside { display: flex; flex-direction: column; gap: 40px; }
.contact-aside h2 { font-size: 20px; color: #5A0E2E; margin: 0 0 12px; font-weight: 600; }
.contact-aside p { color: #57534e; margin: 0; }
.contact-aside__lines { line-height: 1.7; }

.contact-thanks {
  padding: 48px;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  text-align: center;
}
.contact-thanks h2 { font-size: 30px; color: #5A0E2E; margin: 0 0 16px; font-weight: 600; }
.contact-thanks p { color: #57534e; margin: 0; }

.contact-form { display: flex; flex-direction: column; gap: 24px; }

/* Spam honeypot: kept in normal document flow (not display:none/visibility:
   hidden) and off-screen via position, since some bots skip fields that are
   display:none but still fill anything else they can find in the DOM. Real
   users never see or reach it (also aria-hidden + tabindex="-1" below). */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #78716c;
  font-weight: 500;
}
.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid #d6d3d1;
  background: #fff;
  padding: 12px 16px;
  color: #292524;
  font-family: inherit;
  font-size: 15px;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: #5A0E2E; outline: none; }
/* Restores a real focus indicator for keyboard users — the maroon border
   alone is too faint to satisfy WCAG 2.4.7. */
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible { outline: 2px solid #B89058; outline-offset: 2px; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.form-services { display: flex; flex-direction: column; gap: 16px; }
.form-services__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #78716c;
  font-weight: 500;
}
.form-service { border: 1px solid #d6d3d1; padding: 16px; }
.form-service__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #292524;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.form-service__checkbox { width: 18px; height: 18px; accent-color: #5A0E2E; cursor: pointer; }
.form-service__fields {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e7e5e4;
}
.form-service__fields[hidden] { display: none; }

.phone-field { display: flex; }
.phone-field__type {
  flex-shrink: 0;
  width: 112px;
  border: 1px solid #d6d3d1;
  border-right: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding: 12px 28px 12px 16px;
  color: #292524;
  font-family: inherit;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
.phone-field__type:focus { border-color: #5A0E2E; outline: none; position: relative; z-index: 1; }
.phone-field__type:focus-visible { outline: 2px solid #B89058; outline-offset: 2px; }
.phone-field__input { flex: 1; min-width: 0; }

.form-error {
  color: #B3261E;
  font-size: 14px;
}

/* Muted note under a field — e.g. which PDF is currently attached to an
   insight. Matches .manage-panel__hint. */
.form-hint {
  color: #57534e;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  padding: 16px 40px;
  background: #5A0E2E;
  color: #fff;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  transition: background .2s;
}
.form-submit:hover { background: #B89058; color: #5A0E2E; }
.form-submit:disabled { cursor: not-allowed; opacity: .85; }

.form-submit__spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: form-submit-spin .7s linear infinite;
}
.form-submit.is-loading .form-submit__spinner { display: inline-block; }

@keyframes form-submit-spin {
  to { transform: rotate(360deg); }
}

/* --- Footer ----------------------------------------------------------------------------- */

.site-footer {
  background: #5A0E2E;
  color: rgba(255, 255, 255, 0.9);
  padding: 28px 0;
}

.site-footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}

.site-footer__logo { margin-bottom: 10px; }
.site-footer__logo img { height: 44px; width: auto; }

.site-footer__blurb {
  max-width: 448px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

.site-footer__heading {
  color: #B89058;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 12px;
}

.site-footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}
.site-footer__address p { margin: 0; }

.site-footer__tel { display: block; color: inherit; text-decoration: none; }
.site-footer__tel:hover { color: #B89058; }
.site-footer__fax { display: block; color: rgba(255, 255, 255, 0.6); }
.site-footer__mail { color: inherit; text-decoration: none; }
.site-footer__mail:hover { color: #B89058; }

.site-footer__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.site-footer__list--nav { margin: 0; gap: 8px; }
.site-footer__list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  cursor: pointer;
}
.site-footer__list a:hover { color: #B89058; }

.site-footer__social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.site-footer__social-icons a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.7);
  transition: color .2s ease;
}
.site-footer__social-icons a:hover { color: #B89058; }
.site-footer__social-icons svg { width: 20px; height: 20px; }

.site-footer__bottom {
  max-width: 1280px;
  margin: 22px auto 0;
  padding: 12px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal-link {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  cursor: pointer;
}
.site-footer__legal-link:hover { color: #B89058; }

/* Unlabelled staff sign-in dot, bottom-right of the footer. */
.site-footer__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.site-footer__dot:hover,
.site-footer__dot:focus-visible { background: #B89058; transform: scale(1.3); }

.site-footer__logout { display: inline; margin: 0; }
.site-footer__logout-btn {
  margin-left: 12px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

/* ==========================================================================
   Staff — admin login & Insights management
   Only reached by authenticated staff; reuses the contact-form field styles.
   ========================================================================== */

.staff-login {
  padding: 96px 24px;
  display: flex;
  justify-content: center;
}
.staff-login__card {
  width: 100%;
  max-width: 460px;
  padding: 48px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-top: 4px solid #B89058;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}
.staff-login__title {
  font-size: 32px;
  color: #5A0E2E;
  line-height: 1.15;
  margin: 8px 0 32px;
  font-weight: 600;
}

.manage-panel {
  padding: 40px;
  margin-bottom: 48px;
  background: #F6EFE1;
  border-top: 3px solid #B89058;
}
.manage-panel--page { max-width: 720px; margin: 0 auto; }
.manage-panel__title { font-size: 24px; color: #5A0E2E; margin: 0 0 8px; font-weight: 600; }
.manage-panel__hint { color: #57534e; font-size: 14px; line-height: 1.6; margin: 0 0 28px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #44403c;
  cursor: pointer;
}
.form-check input { width: 16px; height: 16px; }

.form-field input[type="file"] { padding: 10px 12px; font-size: 14px; background: #fafaf9; }

.manage-actions { display: flex; align-items: center; gap: 20px; }
.manage-cancel {
  font-size: 14px;
  color: #78716c;
  text-decoration: none;
  border-bottom: 1px solid rgba(120, 113, 108, 0.3);
  padding-bottom: 2px;
}
.manage-cancel:hover { color: #5A0E2E; }

.article-item { position: relative; }

.article-admin {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px 20px;
  font-size: 13px;
}
.article-admin__badge {
  padding: 2px 10px;
  background: rgba(90, 14, 46, 0.08);
  color: #5A0E2E;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.article-admin__link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  color: #5A0E2E;
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 14, 46, 0.3);
}
.article-admin__link:hover { color: #B89058; border-bottom-color: #B89058; }
.article-admin__link--danger { color: #B3261E; border-bottom-color: rgba(179, 38, 30, 0.3); }
.article-admin__link--danger:hover { color: #B3261E; border-bottom-color: #B3261E; }
.article-admin form { display: inline; margin: 0; }

.insights-empty { color: #78716c; padding: 24px 16px; }

/* ==========================================================================
   Motion — scroll reveal
   Elements marked .reveal fade + rise into view once (see static/js/reveal.js).
   A .reveal-group staggers its .reveal children. Disabled under
   prefers-reduced-motion at the end of this file.
   ========================================================================== */

/* Hidden only when JS is present (documentElement gets .js-reveal in <head>),
   so no-JS users always see content. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.js-reveal .reveal.is-visible,
.js-reveal .reveal-group.is-visible .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive — tablet & mobile
   Desktop layout above these breakpoints is untouched.
   ========================================================================== */

@media (max-width: 840px) {
  /* --- Header / nav ------------------------------------------------- */
  .site-header__inner { height: 88px; }
  .site-header__logo img { height: 72px; }
  .site-header__toggle { display: flex; }

  .site-header__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #FBF9F5;
    border-bottom: 1px solid rgba(90, 14, 46, 0.1);
    max-height: 0;
    overflow: hidden;
    /* visibility (not just max-height) so the collapsed menu leaves the tab
       order and the accessibility tree; delayed on close so the slide-up
       animation still plays out unchanged. */
    visibility: hidden;
    transition: max-height .25s ease, visibility 0s linear .25s;
  }
  .site-header__links.is-open {
    max-height: 480px;
    visibility: visible;
    transition: max-height .25s ease, visibility 0s;
  }

  .site-nav__link {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(90, 14, 46, 0.08);
    white-space: normal;
  }
  .site-header__cta { margin: 16px 24px; }

  /* The tab bar is sticky so a reader can switch strategies without scrolling
     back up. The full taglines ("80% Equity / 20% Fixed Income") are ~258px
     wide, so at 375px they wrapped one per row — a five-row, ~260px strip
     pinned under the 88px header, swallowing half the viewport.

     Scrolling them horizontally in one row was tried first and rejected: it
     fixed the height but pushed three of the five options off-screen with no
     dependable signal they were there, so the page read as having two
     strategies. The compact labels from data.py fit all five in two rows
     (~100px) with nothing hidden, which is the better trade for a list this
     short. */
  .strategy-tabs { top: 88px; padding: 16px 0 0; }
  .strategy-tabs__inner { padding: 0 24px; }
  .strategy-tab { padding: 10px 14px; }
  .strategy-tab__full { display: none; }
  .strategy-tab__short { display: inline; }

  /* --- Typography ----------------------------------------------------- */
  .home-hero__title { font-size: 44px; }
  .page-title { font-size: 40px; }
  .section-title { font-size: 32px; }
  .next-step__title { font-size: 30px; }
  .pillars__header h2 { font-size: 32px; }
  .strategy-head__name { font-size: 32px; }
  .independence__inner h2 { font-size: 28px; }

  /* --- Home: timeline -------------------------------------------------- */
  .timeline__track { flex-direction: column; align-items: stretch; gap: 40px; }
  .timeline__line {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
  }
  .timeline--in-view .timeline__line { transform: scaleY(1); }
  .timeline-item { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; max-width: 100%; }
  .timeline-item__dot { margin-bottom: 0; margin-top: 0; }
  .timeline-item--branch { padding-left: 28px; }
  .timeline-item__stem { display: none; }

  /* --- Grid stacking ---------------------------------------------------- */
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-body__grid { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }

  .article-row { grid-template-columns: 1fr; gap: 12px; }
  .article-row__meta,
  .article-row__body { grid-column: 1 / -1; }

  /* --- Hero sections ------------------------------------------------- */
  .home-hero { padding: 40px 20px; min-height: 0; }
  .home-hero__content { padding-left: 0; }
  .home-hero__text { max-width: 100%; }

  .page-hero { padding: 56px 20px; min-height: 0; }
  .page-hero__text--approach,
  .page-hero__text--strategies,
  .page-hero__text--insights { max-width: 100%; }

  /* --- Section padding ------------------------------------------------- */
  .about,
  .philosophy,
  .pillars,
  .independence,
  .next-step,
  .strategy-detail,
  .insights-list,
  .contact-heading,
  .contact-body { padding-left: 20px; padding-right: 20px; }

  /* --- Strategies page --------------------------------------------------- */
  .strategy-head { flex-direction: column; align-items: flex-start; }
  .pie-svg { width: 100%; max-width: 280px; height: auto; }
}

@media (max-width: 480px) {
  .home-hero__title { font-size: 34px; }
  .page-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .strategy-head__name { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline__line,
  .timeline-item,
  .timeline-item__dot,
  .timeline-item__stem,
  .timeline-item__body {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .timeline-item__dot--final { animation: none !important; }

  .pillar-card { transition: none !important; }
  .pillar-card:hover { transform: none !important; }

  .stat-card { transition: none !important; }
  .stat-card:hover { transform: none !important; }

  .reveal,
  .reveal-group .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .article-row__arrow { transition: none !important; }
  .article-row:hover .article-row__arrow { transform: none !important; }

  .site-footer__dot { transition: none !important; }
  .site-footer__dot:hover,
  .site-footer__dot:focus-visible { transform: none !important; }

  /* The toggle still flips its arrow to convey state — only the tween goes. */
  .insights-more { transition: none !important; }
  .insights-more__arrow { transition: none !important; }

  .btn-primary:hover,
  .btn-ghost:hover,
  .btn-gold:hover { transform: none !important; }

  /* Skip link still appears on focus — it just snaps instead of sliding. */
  .skip-link { transition: none !important; }
}
