/* =========================================================
   All In Finance Desk — Harbor & Gold editorial
   Ivory paper · deep navy ink · gold accent · Fraunces serif
   ========================================================= */
:root {
  --paper: #f8f3ed;
  --paper-2: #ede1d5;
  --card: #fffaf5;
  --ink: #302017;
  --ink-2: #4a3024;
  --muted: #78675d;
  --muted-2: #a99a90;
  --line: #e4d4c5;
  --gold: #95613d;
  --gold-2: #b78359;
  --gold-soft: #f0dfcf;
  --green: #42634b;
  --green-soft: #e0e9df;
  --blue: #65564a;
  --blue-soft: #ebe2da;
  --rose: #a65e50;
  --rose-soft: #f1ded7;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --sh-sm: 0 2px 10px rgba(48, 32, 23, .06);
  --sh-md: 0 14px 36px rgba(48, 32, 23, .09);
  --sh-lg: 0 26px 60px rgba(48, 32, 23, .12);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit
}

button {
  cursor: pointer;
  border: 0;
  background: none
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12
}

p {
  margin: 0
}

::selection {
  background: var(--gold);
  color: #fff
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px
}

.container {
  max-width: 1180px
}

/* ---------- top utility bar + sticky header (CSS matches site.js output) ---------- */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 1040
}

.utility-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .03em
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 36px;
  flex-wrap: wrap
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 20px
}

.utility-bar a {
  color: rgba(255, 255, 255, .78)
}

.utility-bar a:hover {
  color: var(--gold-2)
}

.utility-bar i {
  font-size: .68rem;
  color: var(--gold-2)
}

.main-header {
  background: rgba(250, 247, 241, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s
}

.main-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(21, 34, 56, .10)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--gold-2);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  transition: .25s
}

.brand:hover .brand-mark {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(-6deg)
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -.03em;
  color: var(--ink)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none
}

.nav-links a {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  transition: .18s
}

.nav-links a:hover {
  background: #ece7d8;
  color: var(--ink)
}

.nav-links a.active {
  background: var(--ink);
  color: #fff
}

.nav-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(183, 138, 46, .35);
  transition: .2s
}

.nav-book:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px)
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-size: 1.05rem
}

.mobile-nav {
  width: min(360px, 100%);
  background: var(--paper);
  border-left: 1px solid var(--line)
}

.mobile-nav .offcanvas-header {
  border-bottom: 1px solid var(--line)
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 6px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink)
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--gold)
}

.mobile-link .mobile-num {
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--muted-2)
}

.mobile-link i {
  margin-left: auto;
  font-size: .7rem;
  color: var(--gold)
}

/* ---------- shared type + sections ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase
}

.eyebrow i {
  color: var(--gold)
}

.eyebrow.light {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff
}

.h-display {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02
}

.h-xl {
  font-size: clamp(2rem, 4.4vw, 3.2rem)
}

.h-lg {
  font-size: clamp(1.6rem, 3vw, 2.3rem)
}

.h-md {
  font-size: 1.25rem
}

.gold {
  color: var(--gold)
}

.lede {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78
}

.section {
  position: relative;
  padding: 96px 0
}

.section-sm {
  position: relative;
  padding: 64px 0
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px
}

.section-head.center {
  text-align: center;
  margin-inline: auto
}

.section-head.center .lede {
  margin-inline: auto
}

.bg-cream {
  background: var(--paper-2)
}

.bg-white {
  background: var(--card)
}

.bg-ink {
  background: var(--ink);
  color: #fff
}

.bg-ink h1,
.bg-ink h2,
.bg-ink h3 {
  color: #fff
}

/* ---------- buttons (custom names avoid Bootstrap collisions) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s
}

.btn i {
  font-size: .78rem;
  transition: transform .2s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn:hover i.fa-arrow-right {
  transform: translateX(4px)
}

.btn:disabled {
  opacity: .55;
  transform: none
}

.btn-solid {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 22px rgba(21, 34, 56, .22)
}

.btn-solid:hover {
  background: var(--gold);
  color: var(--ink)
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 22px rgba(183, 138, 46, .3)
}

.btn-gold:hover {
  background: var(--ink);
  color: #fff
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink)
}

.btn-line:hover {
  background: var(--ink);
  color: #fff
}

.btn-paper {
  background: #fff;
  color: var(--ink);
  border-color: var(--line)
}

.btn-paper:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: .76rem
}

.btn-block {
  width: 100%
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px
}

.text-link i {
  font-size: .66rem;
  transition: transform .2s
}

.text-link:hover {
  color: var(--ink);
  border-color: var(--ink)
}

.text-link:hover i {
  transform: translateX(4px)
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 84px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 70%, var(--paper-2) 100%)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 44px;
  align-items: center
}

.hero-copy {
  max-width: 580px
}

.hero-copy h1 {
  margin: 0
}

.hero-copy .lede {
  font-size: 1.03rem
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line)
}

.avatars {
  display: flex
}

.avatars span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: #fff;
  font-size: .66rem;
  font-weight: 700
}

.avatars span:first-child {
  margin-left: 0
}

.avatars span:nth-child(1) {
  background: var(--gold)
}

.avatars span:nth-child(2) {
  background: var(--green)
}

.avatars span:nth-child(3) {
  background: var(--blue)
}

.avatars span:nth-child(4) {
  background: var(--ink)
}

.hero-proof p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.4
}

.hero-proof strong {
  color: var(--ink)
}

.stars {
  color: #e8a013;
  font-size: .72rem;
  letter-spacing: 2px
}

.hero-visual {
  position: relative;
  min-height: 480px
}

.hero-photo {
  position: absolute;
  inset: 0 24px 48px 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  object-fit: cover;
  object-position: center 25%;
  border-radius: 200px 200px 24px 24px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg)
}

.hero-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 248px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-md);
  animation: floaty 5.5s ease-in-out infinite
}

.hero-card .hc-ico {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: .9rem
}

.hero-card b {
  display: block;
  font-family: var(--display);
  font-size: .86rem;
  line-height: 1.25
}

.hero-card small {
  display: block;
  color: var(--muted);
  font-size: .68rem
}

.hc-one {
  top: 36px;
  left: -6px
}

.hc-one .hc-ico {
  background: var(--green-soft);
  color: var(--green)
}

.hc-two {
  right: -4px;
  bottom: 96px;
  animation-delay: -2.6s
}

.hc-two .hc-ico {
  background: var(--gold-soft);
  color: var(--gold)
}

.hc-three {
  left: 6px;
  bottom: 6px;
  animation-delay: -1.2s
}

.hc-three .hc-ico {
  background: var(--blue-soft);
  color: var(--blue)
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--sh-sm);
  overflow: hidden
}

.hero-stat {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  text-align: center
}

.hero-stat:last-child {
  border-right: 0
}

.hero-stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase
}

/* ---------- marquee ---------- */
.marquee {
  padding: 16px 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 46s linear infinite
}

.marquee:hover .marquee-track {
  animation-play-state: paused
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-right: 44px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 700
}

.marquee i {
  color: var(--gold);
  font-size: .6rem
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

/* ---------- bento services ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 16px
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 215px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .24s, box-shadow .24s, border-color .24s
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: var(--gold)
}

.bento-card.featured {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 380px;
  padding: 32px;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.bento-card.featured h3 {
  color: #fff
}

.bento-card.featured p {
  color: rgba(255, 255, 255, .7)
}

.bento-card.quarter {
  grid-column: span 3
}

.bento-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px
}

.bento-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.05rem
}

.bento-num {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  color: var(--muted-2)
}

.bento-card.featured .bento-num {
  color: rgba(255, 255, 255, .5)
}

.bento-card h3 {
  margin: 20px 0 8px;
  font-size: 1.28rem
}

.bento-card.featured h3 {
  font-size: 2.1rem;
  max-width: 400px
}

.bento-card p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 440px
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px
}

.bento-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  font-size: .66rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85)
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold)
}

.bento-link i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .6rem;
  transition: .2s
}

.bento-card:hover .bento-link i {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateX(3px)
}

.tint-gold {
  background: var(--gold-soft);
  color: #8a6a1c
}

.tint-green {
  background: var(--green-soft);
  color: var(--green)
}

.tint-blue {
  background: var(--blue-soft);
  color: var(--blue)
}

.tint-rose {
  background: var(--rose-soft);
  color: var(--rose)
}

.tint-amber {
  background: var(--amber-soft);
  color: var(--amber)
}

.tint-violet {
  background: var(--violet-soft);
  color: var(--violet)
}

/* ---------- approach / features ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.approach-card {
  min-height: 200px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  transition: .25s
}

.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--gold)
}

.approach-no {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  color: var(--muted-2)
}

.approach-card>i {
  display: block;
  margin: 18px 0 12px;
  color: var(--gold);
  font-size: 1.3rem
}

.approach-card h3 {
  font-size: 1.02rem
}

.approach-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.6
}

/* ---------- goal picker ---------- */
.goal-panel {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden
}

.goal-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 92, .25), transparent 68%)
}

.goal-panel>* {
  position: relative;
  z-index: 1
}

.goal-panel h2 {
  color: #fff
}

.goal-panel .sub {
  color: rgba(255, 255, 255, .68);
  font-size: .88rem
}

.goal-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px
}

.goal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  transition: .2s
}

.goal-btn:hover,
.goal-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px)
}

.goal-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07)
}

.goal-result .g-ico {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--result-color, var(--gold));
  color: var(--ink);
  font-size: 1rem
}

.goal-result strong {
  display: block;
  font-family: var(--display);
  font-size: .98rem
}

.goal-result small {
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: .74rem;
  margin-top: 2px
}

.goal-result .btn {
  flex: 0 0 auto
}

/* ---------- chart ---------- */
.chart-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--sh-sm)
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px
}

.chart-head .lbl {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase
}

.chart-head strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.04em
}

.chart-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper)
}

.chart-tabs button {
  padding: 7px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700
}

.chart-tabs button.active {
  background: var(--ink);
  color: #fff
}

.chart-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px
}

.chart-grid {
  stroke: #e8e6dc;
  stroke-width: 1
}

.chart-label {
  fill: #8f96a3;
  font-family: var(--mono);
  font-size: 9px
}

.chart-area {
  fill: url(#chartFill)
}

.chart-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw-chart 1.6s ease forwards
}

.chart-base {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
  stroke-dasharray: 7 7;
  stroke-linecap: round;
  opacity: .85
}

.chart-point {
  fill: var(--gold);
  stroke: var(--ink);
  stroke-width: 2.5
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted)
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px
}

.chart-legend i {
  width: 16px;
  height: 4px;
  border-radius: 4px;
  background: var(--ink)
}

.chart-legend i.alt {
  background: var(--gold)
}

.chart-note {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: .66rem
}

.chart-side {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
  border-radius: 22px;
  background: var(--gold);
  color: var(--ink)
}

.chart-side .big {
  font-size: 2.6rem;
  line-height: 1
}

.chart-side h3 {
  margin: 16px 0 8px;
  font-size: 1.35rem
}

.chart-side p {
  margin: 0;
  color: rgba(20, 34, 56, .75);
  font-size: .84rem
}

.chart-side a {
  margin-top: 16px;
  font-size: .74rem
}

@keyframes draw-chart {
  to {
    stroke-dashoffset: 0
  }
}

/* ---------- collage / testimonials / misc cards ---------- */
.collage {
  position: relative;
  min-height: 420px
}

.collage-main {
  position: absolute;
  inset: 0 10% 8% 0;
  width: 88%;
  height: 90%;
  object-fit: cover;
  border-radius: 24px 90px 24px 90px;
  box-shadow: var(--sh-md)
}

.collage-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 38%;
  object-fit: cover;
  border: 6px solid var(--paper);
  border-radius: 20px;
  box-shadow: var(--sh-md);
  transform: rotate(3deg)
}

.collage-note {
  position: absolute;
  left: 0;
  top: 8%;
  z-index: 2;
  max-width: 172px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  transform: rotate(-4deg);
  box-shadow: var(--sh-sm);
  animation: floaty 5s ease-in-out infinite
}

@keyframes floaty {
  50% {
    transform: translateY(-8px) rotate(-2deg)
  }
}

.mini-card {
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card)
}

.mini-card .mv-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: .9rem
}

.mini-card b {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-size: .88rem
}

.mini-card small {
  color: var(--muted);
  font-size: .7rem
}

.quote-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--sh-sm)
}

.quote-card.tint-a {
  background: #fdf6e3
}

.quote-card.tint-b {
  background: #e9f4ec
}

.quote-stars {
  color: #d99a1f;
  font-size: .74rem;
  letter-spacing: 2px
}

.quote-card blockquote {
  margin: 14px 0 18px;
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.02em
}

.quote-who {
  display: flex;
  align-items: center;
  gap: 10px
}

.quote-who span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  font-size: .62rem;
  font-weight: 700
}

.quote-who b {
  display: block;
  font-size: .76rem
}

.quote-who small {
  display: block;
  color: var(--muted);
  font-size: .66rem
}

/* ---------- FAQ (Bootstrap accordion restyle) ---------- */
.faq-acc .accordion-item {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px !important;
  background: var(--card);
  overflow: hidden
}

.faq-acc .accordion-button {
  padding: 17px 19px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--display);
  font-size: .94rem;
  font-weight: 700;
  box-shadow: none
}

.faq-acc .accordion-button:not(.collapsed) {
  background: var(--gold-soft)
}

.faq-acc .accordion-button::after {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--ink);
  background-image: none;
  content: "+";
  color: #fff;
  font-family: var(--mono);
  font-size: .95rem;
  line-height: 28px;
  text-align: center;
  transition: .2s
}

.faq-acc .accordion-button:not(.collapsed)::after {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(45deg)
}

.faq-acc .accordion-body {
  padding: 0 19px 18px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.7
}

.faq-acc .accordion-body a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline
}

/* ---------- forms ---------- */
.form-panel {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--sh-md)
}

.form-panel h3 {
  font-size: 1.35rem
}

.form-panel>p {
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: .84rem
}

.form-label {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 700
}

.form-control,
.form-select {
  min-height: 47px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: .88rem;
  box-shadow: none;
  transition: .18s
}

.form-control::placeholder {
  color: #a5adbb
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(217, 180, 92, .22)
}

.form-select:disabled {
  background: var(--paper);
  opacity: .65
}

textarea.form-control {
  min-height: 110px;
  resize: vertical
}

.form-check-input {
  width: 1.05em;
  height: 1.05em;
  margin-top: .2em;
  border-color: var(--line)
}

.form-check-input:checked {
  background-color: var(--ink);
  border-color: var(--ink)
}

.form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(217, 180, 92, .25)
}

.form-check-label {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5
}

.invalid-feedback {
  font-size: .72rem
}

.form-note {
  margin: 6px 0 0;
  color: var(--muted-2);
  font-size: .7rem;
  line-height: 1.55
}

.form-result {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 11px;
  background: #e7f5ec;
  border: 1px solid #bfe3cd;
  color: #14532d;
  font-size: .82rem;
  line-height: 1.5
}

.form-result.err {
  background: #fbe9e4;
  border-color: #f0b7a8;
  color: #8f2f1d
}

.form-result i {
  margin-top: 3px
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  padding-left: 0
}

.consent .form-check-input {
  position: static;
  float: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0
}

.consent .invalid-feedback {
  grid-column: 2
}

/* contact info */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: start
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  transition: .2s
}

a.contact-item:hover {
  border-color: var(--gold);
  transform: translateX(4px)
}

.contact-item .ci {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: .9rem
}

.contact-item small {
  display: block;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase
}

.contact-item b {
  font-size: .9rem
}

.note-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--gold-soft);
  color: var(--ink-2);
  font-size: .83rem;
  line-height: 1.65
}

.note-box a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline
}

/* steps + values */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.step-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  transition: .25s
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md)
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 800
}

.step-card h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.62
}

.value-list {
  display: grid;
  gap: 10px;
  margin-top: 24px
}

.value-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card)
}

.value-item .vi {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: .95rem
}

.value-item h3 {
  font-size: .95rem;
  margin-bottom: 3px
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem
}

/* services directory */
.filter-bar {
  position: sticky;
  top: 88px;
  z-index: 30;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-bottom: 26px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, .95);
  box-shadow: var(--sh-sm);
  scrollbar-width: none
}

.filter-bar::-webkit-scrollbar {
  display: none
}

.filter-pill {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  white-space: nowrap;
  transition: .18s
}

.filter-pill span {
  margin-left: 6px;
  color: var(--gold);
  font-weight: 700
}

.filter-pill:hover {
  border-color: var(--gold);
  color: var(--ink)
}

.filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.filter-pill.active span {
  color: var(--gold)
}

.directory-section {
  margin-bottom: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--sh-sm);
  scroll-margin-top: 150px
}

.directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--line)
}

.directory-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem)
}

.directory-head p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .85rem
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.route-card {
  display: flex;
  flex-direction: column;
  min-height: 185px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfaf5;
  transition: .2s
}

.route-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--sh-sm);
  background: #fff
}

.route-top {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.route-ico {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: .88rem
}

.route-idx {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--muted-2)
}

.route-card h3 {
  margin: 14px 0 6px;
  font-size: .94rem
}

.route-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.55
}

.route-go {
  margin-top: auto;
  color: var(--gold);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase
}

.route-go i {
  margin-left: 5px;
  transition: transform .18s
}

.route-card:hover .route-go i {
  transform: translateX(4px)
}

/* legal */
.legal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: start
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card)
}

.legal-toc h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2)
}

.legal-toc ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: .78rem
}

.legal-toc a:hover {
  color: var(--gold)
}

.legal-body {
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--sh-sm)
}

.legal-meta {
  margin-bottom: 24px;
  padding: 14px 17px;
  border-radius: 12px;
  background: var(--gold-soft);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ink-2)
}

.legal {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.82
}

.legal h2 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 1.2rem;
  scroll-margin-top: 110px
}

.legal h2:first-of-type {
  margin-top: 0
}

.legal p {
  margin: 0 0 13px
}

.legal ul {
  margin: 0 0 15px;
  padding-left: 20px;
  display: grid;
  gap: 7px
}

.legal strong {
  color: var(--ink)
}

.legal a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline
}

/* newsletter + cta */
.newsletter-shell {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 26px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden
}

.newsletter-shell::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 92, .3), transparent 68%)
}

.newsletter-shell>* {
  position: relative;
  z-index: 1
}

.newsletter-shell h2 {
  color: #fff
}

.newsletter-shell p {
  color: rgba(255, 255, 255, .7)
}

.nl-benefits {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none
}

.nl-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .83rem;
  color: rgba(255, 255, 255, .85)
}

.nl-benefits i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: .58rem
}

.newsletter-form {
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-md)
}

.newsletter-form h3 {
  font-size: 1.2rem
}

.newsletter-form>p {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: .8rem
}

.cta-band {
  padding: clamp(30px, 4.4vw, 48px);
  border-radius: 24px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem)
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(20, 34, 56, .75);
  font-size: .9rem;
  max-width: 600px
}

/* footer */
.site-footer {
  padding: 64px 0 24px;
  background: var(--ink);
  color: #fff
}

.footer-grid {
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.footer-brand p {
  max-width: 300px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .8rem
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 18px
}

.footer-contact a,
.footer-contact span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .68);
  font-size: .76rem
}

.footer-contact i {
  width: 15px;
  margin-top: 4px;
  color: var(--gold)
}

.footer-contact a:hover {
  color: var(--gold)
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px
}

.footer-col h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, .68);
  font-size: .78rem
}

.footer-col a:hover {
  color: #fff;
  padding-left: 3px
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  color: rgba(255, 255, 255, .5);
  font-family: var(--mono);
  font-size: .66rem
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px
}

.footer-bottom a:hover {
  color: var(--gold)
}

.footer-disclaimer {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .36);
  font-size: .66rem;
  line-height: 1.65
}

/* toast / top / reveal */
.toast-container {
  z-index: 2000
}

.site-toast {
  width: min(400px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-lg);
  font-size: .84rem
}

.site-toast .toast-body {
  padding: 14px 17px
}

.site-toast .fa-circle-check {
  color: var(--green);
  font-size: 1.05rem
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1035;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transition: .25s
}

.to-top.show {
  opacity: 1;
  visibility: visible
}

.to-top:hover {
  background: var(--gold);
  transform: translateY(-3px)
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--delay, 0s)
}

.reveal.visible {
  opacity: 1;
  transform: none;
  transition-delay: 0s
}

/* page hero */
.page-hero {
  position: relative;
  padding: 70px 0 64px;
  overflow: hidden;
  background: linear-gradient(180deg, #f3ecdc 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line)
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 92, .22), transparent 68%)
}

.page-hero .container {
  position: relative;
  z-index: 1
}

.page-hero h1 {
  max-width: 860px;
  margin: 0
}

.page-hero h1 .accent {
  color: var(--gold)
}

.page-hero p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .98rem
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase
}

.crumbs a:hover {
  color: var(--gold)
}

.crumbs i {
  color: var(--gold);
  font-size: .55rem
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px
}

.chips span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .76rem;
  font-weight: 600;
  box-shadow: var(--sh-xs)
}

/* responsive */
@media(max-width:1199.98px) {
  .bento-card.featured {
    grid-column: span 12;
    grid-row: auto;
    min-height: 300px
  }

  .bento-card.quarter {
    grid-column: span 4
  }

  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr))
  }
}

@media(max-width:991.98px) {

  .nav-links,
  .nav-cta {
    display: none
  }

  .menu-toggle {
    display: grid
  }

  .hero-grid,
  .split,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr
  }

  .hero-collage {
    max-width: 620px;
    width: 100%;
    margin: 0 auto
  }

  .legal-toc {
    position: static
  }

  .section {
    padding: 72px 0
  }

  .route-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:767.98px) {
  .section {
    padding: 60px 0
  }

  .hero {
    padding: 34px 0 52px
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.2rem)
  }

  .hero-collage {
    min-height: 360px
  }

  .hero-photo {
    inset: 0 10px 40px 10px;
    width: calc(100% - 20px);
    height: calc(100% - 40px)
  }

  .hero-card {
    max-width: 210px
  }

  .hc-one {
    left: -4px;
    top: 16px
  }

  .hc-two {
    right: -4px
  }

  .hc-three {
    left: -4px
  }

  .bento {
    grid-template-columns: 1fr
  }

  .bento-card.featured,
  .bento-card.quarter {
    grid-column: span 1;
    min-height: 220px
  }

  .steps {
    grid-template-columns: 1fr
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero-stat:nth-child(2) {
    border-right: 0
  }

  .hero-stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .route-cards {
    grid-template-columns: 1fr
  }

  .filter-bar {
    top: 76px
  }

  .footer-grid {
    row-gap: 26px
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start
  }

  .form-panel,
  .legal-body {
    padding: 22px 18px
  }

  .cta-band {
    padding: 28px 22px
  }
}

@media(max-width:575.98px) {
  .utility-right span.hide-sm {
    display: none
  }

  .hero-stats {
    grid-template-columns: 1fr
  }

  .hero-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .hero-stat:last-child {
    border-bottom: 0
  }

  .directory-head .btn {
    width: 100%
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }

  .spark-line {
    stroke-dashoffset: 0
  }
}