/* =============================================================
   Capital Gain Field — Warm Organic Editorial
   Terracotta · olive · ochre · espresso on cream
   Plain CSS over Bootstrap 5.3
   ============================================================= */

:root {
  --cream: #f8f4ff;
  --cream-2: #f0e8ff;
  --sand: #e7dcfa;
  --clay: #d9c9f2;
  --ink: #281b3d;
  --brown: #45305e;
  --muted: #817092;
  --muted-2: #a497b5;
  --line: rgba(40, 27, 61, .13);
  --line-2: rgba(40, 27, 61, .24);

  --terracotta: #8854d0;
  --rust: #6938ad;
  --olive: #7953b5;
  --olive-soft: #a083d5;
  --ochre: #c3a0f5;
  --rose: #c29ae8;
  --plum: #70429b;

  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Karla", "Avenir Next", system-ui, sans-serif;

  --sh-1: 0 1px 2px rgba(40, 27, 61, .05), 0 2px 6px rgba(40, 27, 61, .04);
  --sh-2: 0 10px 26px rgba(40, 27, 61, .07);
  --sh-3: 0 22px 50px rgba(40, 27, 61, .1);
  --sh-warm: 0 16px 40px rgba(105, 56, 173, .18);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  --bs-body-font-family: var(--body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--cream);
  --bs-border-color: var(--line);
  --bs-link-color: var(--rust);
  --bs-link-hover-color: var(--terracotta);
}

* {
  box-sizing: border-box;
}

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

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

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

main,
footer,
.site-header {
  position: relative;
  z-index: 1;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

::selection {
  background: var(--terracotta);
  color: var(--cream);
}

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

.site-container {
  max-width: 1200px;
}

section {
  position: relative;
  padding: 104px 0;
}

section.tight {
  padding: 72px 0;
}

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

.bg-clay {
  background: var(--sand);
}

/* warm photo grade for reused imagery */
.warm {
  filter: sepia(.22) saturate(1.06) contrast(1.02) brightness(1.01);
}

/* ---------- typography ---------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.06;
}

.dsp {
  font-family: var(--display);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--rust);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.eyebrow.olive {
  color: var(--olive);
}

.eyebrow.ochre {
  color: #a97d24;
}

.section-title {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
}

.section-title em {
  font-style: italic;
  color: var(--terracotta);
}

.section-title .olive {
  font-style: italic;
  color: var(--olive);
}

.lead {
  color: var(--brown);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-head {
  max-width: 660px;
  margin-bottom: 56px;
}

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

.section-head p {
  margin: 20px 0 0;
}

.section-head.center p {
  margin-inline: auto;
  max-width: 560px;
}

/* ---------- buttons ---------- */
.btn {
  --bs-btn-border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--body);
  font-size: .88rem;
  font-weight: 700;
  transition: .28s cubic-bezier(.4, 0, .2, 1);
}

.btn i {
  transition: transform .28s;
}

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

.btn:hover i {
  transform: translateX(4px);
}

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

.btn-terra {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 8px 22px rgba(196, 99, 58, .24);
}

.btn-terra:hover {
  background: var(--rust);
  color: var(--cream);
  box-shadow: 0 14px 30px rgba(196, 99, 58, .32);
}

.btn-olive {
  background: var(--olive);
  color: var(--cream);
  box-shadow: 0 8px 22px rgba(110, 122, 82, .24);
}

.btn-olive:hover {
  background: #5c6844;
  color: var(--cream);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: #3d2f26;
  color: var(--cream);
}

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

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
}

.btn-cream:hover {
  background: var(--ochre);
  color: var(--ink);
}

.btn-ghost {
  padding-inline: 6px;
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--terracotta);
}

.btn-lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: .92rem;
}

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

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rust);
  font-weight: 700;
  font-size: .9rem;
}

.text-link i {
  transition: transform .25s;
}

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(241, 248, 253, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(241, 248, 253, 0.96);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.2rem;
  border-radius: 58% 42% 47% 53% / 46% 56% 44% 54%;
  transition: border-radius .5s, transform .4s;
}

.brand:hover .brand-mark {
  border-radius: 46% 54% 58% 42% / 55% 45% 55% 45%;
  transform: rotate(-6deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.32rem;
  letter-spacing: -.02em;
  color: var(--ink);
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

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

.nav-links a {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  color: var(--brown);
  font-size: .88rem;
  font-weight: 600;
  transition: .22s;
}

.nav-links a:hover {
  color: var(--rust);
  background: rgba(196, 99, 58, .08);
}

.nav-links a.active {
  color: var(--rust);
  background: rgba(196, 99, 58, .1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cream);
  font-size: .85rem;
  font-weight: 700;
  transition: .25s;
}

.nav-cta:hover {
  background: var(--terracotta);
  color: var(--cream);
}

.menu-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
}

.menu-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.mobile-menu {
  width: min(390px, 100%);
  background: var(--cream);
  border-left: 1px solid var(--line);
}

.mobile-menu .offcanvas-header {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .offcanvas-body {
  padding: 16px 22px 28px;
}

.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.24rem;
}

.m-link:hover,
.m-link.active {
  color: var(--terracotta);
}

.m-link i {
  font-size: .7rem;
  color: var(--muted);
}

/* ---------- organic blob shapes ---------- */
.blob {
  border-radius: 58% 42% 47% 53% / 46% 56% 44% 54%;
}

.blob-2 {
  border-radius: 44% 56% 62% 38% / 58% 42% 58% 42%;
}

.blob-3 {
  border-radius: 62% 38% 40% 60% / 42% 62% 38% 58%;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 66px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 6.6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.03em;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero h1 .olive {
  font-style: italic;
  color: var(--olive);
}

.hero-intro {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--brown);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--sh-warm);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 22%;
}

.hero-note {
  position: absolute;
  z-index: 3;
  left: -26px;
  bottom: 26px;
  max-width: 250px;
  padding: 20px 24px;
  background: var(--ochre);
  color: var(--ink);
  box-shadow: var(--sh-warm);
  transform: rotate(-3.5deg);
  border-radius: 22px 26px 20px 28px;
}

.hero-note p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-note span {
  display: block;
  margin-top: 9px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .72;
}

.hero-seal {
  position: absolute;
  z-index: 3;
  right: -18px;
  top: -22px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  background: var(--olive);
  color: var(--cream);
  border-radius: 50%;
  text-align: center;
  font-family: var(--display);
  font-size: .95rem;
  line-height: 1.15;
  box-shadow: var(--sh-warm);
  animation: bob 7s ease-in-out infinite;
}

@keyframes bob {

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

  50% {
    transform: translateY(-9px) rotate(2deg)
  }
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  right: -10px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-2);
}

.hero-stamp i {
  color: var(--terracotta);
}

.hero-stamp b {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
}

.hero-stamp small {
  color: var(--muted);
  font-size: .66rem;
  display: block;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* stats band */
.stat-band {
  margin-top: 76px;
  background: var(--ink);
  color: var(--cream);
  padding: 0;
}

.stat-band .container {
  max-width: 1200px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 38px 20px;
  text-align: center;
  border-right: 1px solid rgba(253, 248, 241, .14);
}

.stat-cell:last-child {
  border-right: 0;
}

.stat-cell b {
  display: block;
  font-family: var(--display);
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ochre);
}

.stat-cell span {
  display: block;
  margin-top: 10px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(253, 248, 241, .62);
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: slide 44s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brown);
  font-family: var(--display);
  font-size: 1.15rem;
  white-space: nowrap;
}

.marquee-item i {
  color: var(--terracotta);
  font-size: .45rem;
}

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

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  padding: 84px 0 76px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 120% at 85% 0%, rgba(217, 164, 65, .22), transparent 60%), radial-gradient(70% 100% at 10% 100%, rgba(110, 122, 82, .18), transparent 62%);
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.page-hero h1 .olive {
  font-style: italic;
  color: var(--olive);
}

.page-hero p {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--brown);
  font-size: 1.04rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

.crumbs i {
  font-size: .45rem;
  color: var(--terracotta);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(253, 248, 241, .75);
  color: var(--brown);
  font-size: .8rem;
  font-weight: 600;
}

.chips span::before {
  content: "✦";
  color: var(--terracotta);
  font-size: .62rem;
}

/* ---------- chapter cards ---------- */
.chapter {
  position: relative;
  height: 100%;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s, border-color .35s;
}

.chapter::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  background: var(--tint, rgba(196, 99, 58, .12));
  opacity: .8;
  transition: transform .45s;
}

.chapter:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-3);
  border-color: var(--edge, var(--terracotta));
}

.chapter:hover::after {
  transform: scale(1.35);
}

.chapter.t-terra {
  --tint: rgba(196, 99, 58, .14);
  --edge: var(--terracotta);
  --ic: var(--terracotta);
}

.chapter.t-olive {
  --tint: rgba(110, 122, 82, .16);
  --edge: var(--olive);
  --ic: var(--olive);
}

.chapter.t-ochre {
  --tint: rgba(217, 164, 65, .24);
  --edge: #b98c26;
  --ic: #b98c26;
}

.chapter.t-rose {
  --tint: rgba(201, 124, 106, .18);
  --edge: var(--rose);
  --ic: var(--rose);
}

.chapter.t-plum {
  --tint: rgba(125, 90, 99, .16);
  --edge: var(--plum);
  --ic: var(--plum);
}

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

.ch-num {
  display: block;
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: .8;
  color: var(--ic, var(--terracotta));
  opacity: .34;
}

.chapter h3 {
  margin: 20px 0 9px;
  font-size: 1.35rem;
}

.chapter p {
  margin: 0;
  color: var(--brown);
  font-size: .93rem;
  line-height: 1.68;
}

.chapter .link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--rust);
  font-size: .84rem;
  font-weight: 700;
}

.chapter .link i {
  transition: transform .25s;
}

.chapter:hover .link i {
  transform: translateX(4px);
}

.ch-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--tint, rgba(196, 99, 58, .12));
  color: var(--ic, var(--terracotta));
  font-size: 1.1rem;
  transition: .3s;
}

.chapter:hover .ch-icon {
  background: var(--ic, var(--terracotta));
  color: var(--cream);
}

/* ---------- split / editorial ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-wide {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
  align-items: center;
}

.frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-warm);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame.tall {
  aspect-ratio: 4/5;
  border-radius: 30px 30px 120px 30px;
}

.frame.wide {
  aspect-ratio: 16/11;
  border-radius: 30px 120px 30px 30px;
}

.frame.round {
  aspect-ratio: 1;
  border-radius: 50%;
}

.frame-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 12px 18px;
  background: rgba(253, 248, 241, .94);
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--sh-1);
}

.frame-caption i {
  color: var(--terracotta);
  margin-right: 7px;
}

.value-list {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.value-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.value-item .ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--terracotta);
  font-size: 1rem;
  transition: .3s;
}

.value-item:hover .ic {
  background: var(--terracotta);
  color: var(--cream);
}

.value-item h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.value-item p {
  margin: 0;
  color: var(--brown);
  font-size: .89rem;
  line-height: 1.65;
}

/* ---------- big quote ---------- */
.quote-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.quote-mark {
  font-family: var(--display);
  font-size: 5rem;
  line-height: .4;
  color: var(--terracotta);
  opacity: .4;
  display: block;
}

.quote-text {
  margin: 26px 0 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: var(--ink);
}

.quote-text em {
  font-style: italic;
  color: var(--olive);
}

.quote-by {
  display: block;
  margin-top: 26px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.quote-by strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* ---------- metrics ---------- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream);
  transition: .3s;
}

.metric:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-2);
}

.metric .lbl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.metric .lbl i {
  color: var(--terracotta);
}

.metric b {
  display: block;
  margin-top: 16px;
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--rust);
}

.metric .bar {
  height: 5px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--sand);
  overflow: hidden;
}

.metric .bar span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--terracotta), var(--ochre));
  animation: fill 1.5s .3s ease both;
  transform-origin: left;
}

@keyframes fill {
  from {
    transform: scaleX(0);
  }
}

.metric small {
  display: block;
  margin-top: 12px;
  color: var(--brown);
  font-size: .78rem;
}

/* ---------- steps (chapters) ---------- */
.chapter-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.flow-step {
  position: relative;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream);
  transition: .3s;
}

.flow-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
}

.flow-step .n {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: .8;
  color: var(--olive);
  opacity: .6;
}

.flow-step h3 {
  margin: 22px 0 10px;
  font-size: 1.3rem;
}

.flow-step p {
  margin: 0;
  color: var(--brown);
  font-size: .92rem;
  line-height: 1.66;
}

.flow-step .ic {
  position: absolute;
  right: 24px;
  top: 26px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--olive);
}

/* ---------- division selector (services) ---------- */
.div-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.div-btn {
  position: relative;
  text-align: left;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--cream);
  transition: .28s;
  overflow: hidden;
}

.div-btn:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
}

.div-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.div-btn .rn {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--terracotta);
}

.div-btn.active .rn {
  color: var(--ochre);
}

.div-btn b {
  display: block;
  margin: 10px 0 4px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
}

.div-btn small {
  color: var(--muted);
  font-size: .72rem;
}

.div-btn.active small {
  color: rgba(253, 248, 241, .6);
}

.div-btn .ic {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--olive);
  opacity: .6;
}

.div-btn.active .ic {
  color: var(--ochre);
  opacity: 1;
}

.div-detail {
  margin-top: 30px;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--cream);
}

.div-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.div-detail .dn {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ochre);
}

.div-detail h2 {
  color: var(--cream);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin: 10px 0 12px;
}

.div-detail .dtext {
  max-width: 560px;
  margin: 0;
  color: rgba(253, 248, 241, .72);
}

.div-detail .dcount {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--ochre);
  line-height: 1;
}

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

.route-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(151, 144, 135, 0.4);
  border-radius: var(--r-md);
  background: rgba(253, 248, 241, .05);
  text-align: left;
  color: var(--rust);
  transition: .25s;
}

.route-card:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-3px);
}

.route-card .ic {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(253, 248, 241, .12);
  font-size: .85rem;
}

.route-card:hover .ic {
  background: rgba(43, 33, 27, .22);
  color: var(--cream)
}

.route-card b {
  color: var(--ochre);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
}

.route-card:hover b{
  color: rgba(253, 248, 241, .9);
}

.route-card p {
  margin: 0;
  color: rgba(59, 58, 57, 0.66);
  font-size: .8rem;
  line-height: 1.55;
}

.route-card:hover p {
  color: rgba(253, 248, 241, .9);
}

.route-card .go {
  margin-top: auto;
  padding-top: 8px;
  color: var(--ochre);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.route-card:hover .go {
  color: var(--cream);
}

/* ---------- chart panel (warm) ---------- */
.chart-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--cream);
}

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

.chart-head h3 {
  font-size: 1.35rem;
}

.chart-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--cream-2);
}

.seg button {
  padding: 7px 15px;
  border-radius: var(--r-pill);
  color: var(--brown);
  font-size: .78rem;
  font-weight: 700;
  transition: .2s;
}

.seg button:hover {
  color: var(--rust);
}

.seg button.active {
  background: var(--ink);
  color: var(--cream);
}

.chart-figure {
  margin: 20px 0 4px;
  font-family: var(--display);
  font-size: 2.7rem;
  line-height: 1;
  color: var(--rust);
}

.chart-figure small {
  margin-left: 12px;
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.chart-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.g-line {
  stroke: rgba(43, 33, 27, .1);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}

.g-label {
  fill: rgba(43, 33, 27, .45);
  font-family: var(--body);
  font-size: 10px;
}

.l-main {
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: trace 2.1s .2s ease forwards;
}

.l-base {
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.6;
  stroke-dasharray: 6 6;
}

.a-main {
  opacity: .3;
}

.n-main {
  fill: var(--cream);
  stroke: var(--terracotta);
  stroke-width: 3;
}

@keyframes trace {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
  color: var(--brown);
  font-size: .8rem;
}

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

.chart-legend i {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--terracotta);
}

.chart-legend i.b {
  background: repeating-linear-gradient(90deg, var(--olive) 0 5px, transparent 5px 9px);
}

.chart-note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: .74rem;
  line-height: 1.6;
}

.ring-wrap {
  display: grid;
  place-items: center;
  padding: 22px 0 12px;
}

.ring {
  position: relative;
  width: 172px;
  height: 172px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--terracotta) 0 34%, var(--ochre) 34% 57%, var(--olive) 57% 78%, var(--rose) 78% 100%);
  animation: spin-in 1.1s cubic-bezier(.3, .9, .3, 1) both;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: var(--cream);
}

.ring-c {
  position: relative;
  text-align: center;
}

.ring-c strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
}

.ring-c span {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes spin-in {
  from {
    transform: scale(.72) rotate(-50deg);
    opacity: 0;
  }
}

.ring-legend {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.ring-legend div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brown);
  font-size: .84rem;
}

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

.ring-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
}

.ring-legend div:nth-child(2) i {
  background: var(--ochre);
}

.ring-legend div:nth-child(3) i {
  background: var(--olive);
}

.ring-legend div:nth-child(4) i {
  background: var(--rose);
}

/* ---------- service tiles (home) ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg) 30px var(--r-lg) 30px;
  background: var(--cream);
  transition: .3s;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: var(--edge, var(--terracotta));
}

.tile .ic {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint, rgba(196, 99, 58, .12));
  color: var(--ic, var(--terracotta));
  font-size: 1.05rem;
  transition: .3s;
}

.tile:hover .ic {
  background: var(--ic, var(--terracotta));
  color: var(--cream);
}

.tile h3 {
  margin: 18px 0 6px;
  font-size: 1.15rem;
}

.tile p {
  margin: 0 0 16px;
  color: var(--brown);
  font-size: .86rem;
  line-height: 1.6;
}

.tile .meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.tile .meta b {
  color: var(--rust);
}

.tile .meta i {
  transition: transform .25s;
}

.tile:hover .meta i {
  transform: translateX(4px);
  color: var(--rust);
}

/* ---------- FAQ ---------- */
.faq-acc .accordion-item {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md) !important;
  background: var(--cream);
  overflow: hidden;
}

.faq-acc .accordion-button {
  padding: 22px 24px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 400;
  box-shadow: none;
}

.faq-acc .accordion-button:not(.collapsed) {
  color: var(--rust);
  background: var(--cream);
}

.faq-acc .accordion-button::after {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-image: none;
  background-color: var(--cream-2);
  color: var(--rust);
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .74rem;
  line-height: 30px;
  text-align: center;
  transition: .25s;
}

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

.faq-acc .accordion-body {
  padding: 0 24px 22px;
  color: var(--brown);
  font-size: .93rem;
  line-height: 1.72;
}

/* ---------- forms ---------- */
.form-panel {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--sh-2);
}

.form-panel h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.form-panel>p {
  margin: 0 0 26px;
  color: var(--brown);
  font-size: .9rem;
}

.form-label {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.form-control,
.form-select {
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fffdf9;
  color: var(--ink);
  font-size: .94rem;
  box-shadow: none;
  transition: .22s;
}

.form-control::placeholder {
  color: var(--muted-2);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 99, 58, .1);
  color: var(--ink);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c4633a'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 14px;
  padding-right: 36px;
  appearance: none;
}

.form-select option {
  background: #fffdf9;
  color: var(--ink);
}

.form-select:disabled {
  background-color: var(--cream-2);
  opacity: .75;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #b8452f;
  background-image: none;
}

.invalid-feedback {
  color: #b8452f;
  font-size: .78rem;
}

.form-check-input {
  width: 1.1em;
  height: 1.1em;
  margin-top: .2em;
  border: 1px solid var(--line-2);
  background: #fffdf9;
}

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

.form-check-input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(196, 99, 58, .12);
}

.form-check-label {
  color: var(--brown);
  font-size: .84rem;
  line-height: 1.55;
}

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

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

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

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

.form-result {
  display: flex;
  gap: 11px;
  margin-top: 18px;
  padding: 15px 18px;
  border-left: 3px solid var(--olive);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(110, 122, 82, .1);
  color: #4e5a39;
  font-size: .87rem;
  line-height: 1.6;
}

.form-result.err {
  border-left-color: #b8452f;
  background: rgba(184, 69, 47, .08);
  color: #973827;
}

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

.unsub-link {
  align-self: flex-start;
  padding: 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.unsub-link:hover {
  color: var(--rust);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  color: var(--brown);
  font-size: .92rem;
  line-height: 1.6;
}

.check-list li strong {
  color: var(--ink);
}

.check-list i {
  margin-top: 4px;
  color: var(--olive);
  font-size: .74rem;
}

.check-list i.no {
  color: #b8452f;
}

.note-box {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--cream-2);
  color: var(--brown);
  font-size: .88rem;
  line-height: 1.65;
}

.note-box a {
  color: var(--rust);
  font-weight: 700;
}

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

.contact-card {
  padding: 34px;
  border-radius: var(--r-xl) 30px var(--r-xl) 30px;
  background: var(--olive);
  color: var(--cream);
  box-shadow: var(--sh-2);
}

.contact-card h3 {
  color: var(--cream);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-card>p {
  margin: 0 0 22px;
  color: rgba(253, 248, 241, .8);
  font-size: .92rem;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a,
.contact-list div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: var(--r-md);
  background: rgba(253, 248, 241, .12);
  color: var(--cream);
  font-size: .9rem;
  font-weight: 600;
  transition: .22s;
}

.contact-list a:hover {
  background: rgba(253, 248, 241, .22);
  color: var(--cream);
}

.contact-list i {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(253, 248, 241, .18);
  color: var(--ochre);
  font-size: .82rem;
}

/* ---------- newsletter ---------- */
.news-shell {
  position: relative;
  padding: 52px;
  border-radius: var(--r-xl) 46px var(--r-xl) 46px;
  background: linear-gradient(135deg, var(--sand), var(--clay));
  overflow: hidden;
}

.news-shell::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 300px;
  height: 300px;
  background: rgba(196, 99, 58, .14);
  border-radius: 50%;
}

.news-shell .row {
  position: relative;
  z-index: 1;
}

/* ---------- legal ---------- */
.legal-toc {
  position: sticky;
  top: 104px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg) 28px var(--r-lg) 28px;
  background: var(--cream-2);
}

.legal-toc h4 {
  margin-bottom: 15px;
  color: var(--rust);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

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

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

.legal-body {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--cream);
}

.legal-meta {
  margin-bottom: 28px;
  padding: 16px 20px;
  border-left: 3px solid var(--terracotta);
  background: var(--cream-2);
  color: var(--brown);
  font-size: .8rem;
}

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

.legal-copy {
  color: var(--brown);
  font-size: .95rem;
  line-height: 1.8;
}

.legal-copy h2 {
  margin: 34px 0 12px;
  font-size: 1.3rem;
  scroll-margin-top: 110px;
}

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

.legal-copy p {
  margin: 0 0 14px;
}

.legal-copy ul {
  margin: 0 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

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

.legal-copy a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: var(--r-xl);
  background: var(--terracotta);
  color: var(--cream);
  text-align: center;
  box-shadow: var(--sh-warm);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 20% 0%, rgba(255, 255, 255, .2), transparent 60%);
}

.cta-band>* {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.cta-band p {
  max-width: 540px;
  margin: 16px auto 0;
  color: rgba(253, 248, 241, .88);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.cta-band .btn-cream {
  color: var(--ink);
}

.cta-band .btn-outline {
  border-color: rgba(253, 248, 241, .6);
  color: var(--cream);
}

.cta-band .btn-outline:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--terracotta);
}

/* ---------- footer ---------- */
.site-footer {
  padding: 80px 0 28px;
  background: var(--ink);
  color: var(--cream);
}

.footer-grid {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253, 248, 241, .14);
}

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

.footer-col h3 {
  margin-bottom: 8px;
  color: var(--ochre);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  color: rgba(253, 248, 241, .64);
  font-size: .88rem;
  transition: .2s;
}

.footer-col a:hover {
  color: var(--ochre);
}

.footer-brand strong{
  color: var(--ochre);
}

.footer-brand p {
  max-width: 300px;
  margin: 20px 0 0;
  color: rgba(253, 248, 241, .52);
  font-size: .89rem;
  line-height: 1.7;
}

.footer-connect a,
.footer-connect span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-connect i {
  width: 16px;
  margin-top: 4px;
  color: var(--terracotta);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  color: rgba(253, 248, 241, .42);
  font-size: .8rem;
}

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

.footer-bottom a {
  color: rgba(253, 248, 241, .6);
}

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

.footer-disclaimer {
  display: none;
  margin: 14px 0 0;
  color: rgba(253, 248, 241, .3);
  font-size: .74rem;
  line-height: 1.65;
}

/* ---------- modal / toast / reveal ---------- */
.modal-backdrop.show {
  opacity: .55;
  background: var(--ink);
}

.modal-content {
  border: 0;
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--sh-3);
}

.modal-body {
  position: relative;
  padding: 42px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  opacity: 1;
  transition: .2s;
}

.modal-close:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.modal-body h2 {
  max-width: calc(100% - 50px);
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.modal-intro {
  margin-bottom: 20px;
  color: var(--brown);
  font-size: .94rem;
}

.modal-notice {
  margin: 20px 0;
  padding: 15px 17px;
  border-left: 3px solid var(--ochre);
  background: var(--cream-2);
  color: var(--brown);
  font-size: .82rem;
  line-height: 1.6;
}

.toast-container {
  z-index: 2000;
}

.site-toast {
  width: min(420px, calc(100vw - 40px));
  border: 0;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--sh-3);
  font-size: .88rem;
}

.site-toast .toast-body {
  padding: 16px 18px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.to-top {
  transition: opacity .3s, visibility .3s;
}

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

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .nav-links {
    display: none;
  }

  .tile-grid,
  .div-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 991.98px) {
  section {
    padding: 80px 0;
  }

  .hero {
    padding: 40px 0 0;
  }

  .hero-grid,
  .split,
  .split-wide,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell {
    border-bottom: 1px solid rgba(253, 248, 241, .14);
  }

  .stat-cell:nth-child(2n) {
    border-right: 0;
  }

  .chapter-flow {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-toc {
    position: static;
    margin-bottom: 22px;
  }

  .news-shell,
  .cta-band {
    padding: 38px 28px;
  }

  .form-panel,
  .legal-body {
    padding: 30px 24px;
  }
}

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .section-title {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  }

  .hero-note {
    left: 10px;
    bottom: 10px;
    max-width: 200px;
    padding: 15px 18px;
  }

  .hero-note p {
    font-size: .98rem;
  }

  .hero-seal {
    width: 84px;
    height: 84px;
    font-size: .78rem;
    right: -8px;
    top: -12px;
  }

  .tile-grid,
  .div-grid,
  .route-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: 0;
  }

  .frame.tall,
  .frame.wide {
    aspect-ratio: 4/3;
    border-radius: 24px;
  }

  .news-shell,
  .cta-band {
    padding: 30px 20px;
  }

  .form-panel,
  .legal-body,
  .contact-card {
    padding: 26px 20px;
  }

  .modal-body {
    padding: 32px 20px 24px;
  }
}

@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;
  }

  .marquee-track {
    animation: none;
  }
}