/* =========================================================
   The Nouréa Company — Design System
   Palette: cream, sage, gold, blush
   ========================================================= */

:root {
  /* Palette */
  --cream: #f6efe1;
  --cream-2: #ede3ce;
  --cream-3: #e6dabf;
  --paper: #fbf7ec;
  --sage: #8a9d7c;
  --sage-dark: #5f7357;
  --sage-deep: #3d4a37;
  --olive: #6a7856;
  --gold: #c9a961;
  --gold-light: #e8cc85;
  --gold-deep: #8a6d3b;
  --blush: #e6b0a3;
  --blush-soft: #f2d3c9;
  --ink: #2b2820;
  --ink-2: #5b5445;
  --ink-3: #857c6a;

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);

  /* Space */
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 10vw, 8rem);
}

/* Reset & base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease-out); }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
::selection { background: var(--gold-light); color: var(--sage-deep); }

/* Custom cursor dot ------------------------------------------ */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: multiply;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot.is-active { opacity: 0.85; }
  .cursor-dot.is-hover { width: 40px; height: 40px; background: var(--blush); opacity: 0.5; }
}

/* Header ------------------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: rgba(251, 247, 236, 0);
  backdrop-filter: blur(0);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s;
}
.site-header.is-scrolled {
  background: rgba(251, 247, 236, 0.88);
  backdrop-filter: blur(12px);
  padding: 0.7rem var(--pad);
  box-shadow: 0 1px 0 rgba(138, 109, 59, 0.08);
}

.logo {
  display: flex; align-items: center; gap: 0.7rem;
  transition: transform 0.4s var(--ease-out);
}
.logo:hover { transform: translateY(-1px); }
.logo-mark { width: 40px; height: 46px; flex-shrink: 0; transition: transform 0.6s var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(-6deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--sage-deep);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.86rem;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.4rem 0;
}
.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.site-nav a:not(.nav-cta):hover::after { width: 100%; }
.site-nav a:not(.nav-cta):hover { color: var(--sage-deep); }
.site-nav a[aria-current="page"] { color: var(--sage-deep); }
.site-nav a[aria-current="page"]::after { width: 100%; background: var(--gold); }
.nav-cta {
  background: var(--sage-deep);
  color: var(--paper) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.nav-cta:hover { background: var(--sage-dark); transform: translateY(-2px); }

.menu-toggle { display: none; width: 36px; height: 28px; position: relative; z-index: 200; }
.menu-toggle span {
  display: block;
  position: absolute; left: 4px; right: 4px; height: 1.5px;
  background: var(--sage-deep);
  transition: 0.3s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 6px; }
.menu-toggle span:nth-child(2) { top: 13px; }
.menu-toggle span:nth-child(3) { top: 20px; }
.menu-toggle.is-open span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 150;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sage-deep);
}

/* Common section elements ------------------------------------ */
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.1;
  color: var(--sage-deep);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.section-lede {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.7;
}
.script {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--gold-deep);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.section-head {
  max-width: 780px;
  margin: 0 auto var(--section-pad);
  padding: 0 var(--pad);
  text-align: center;
}
.section-head .section-lede { margin-inline: auto; }

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--sage-deep);
  color: var(--paper);
  box-shadow: 0 1px 2px rgba(61,74,55,0.15), 0 4px 20px -8px rgba(61,74,55,0.25);
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(61,74,55,0.18), 0 12px 32px -10px rgba(61,74,55,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
  border: 1px solid rgba(138,109,59,0.35);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(233,204,133,0.15); }
.btn-large { padding: 1.15rem 2rem; font-size: 0.95rem; grid-column: 1 / -1; justify-self: start; margin-top: 0.5rem; }

/* HERO ------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(8rem, 15vh, 10rem) var(--pad) 5rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(230,176,163,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(138,157,124,0.15), transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  order: 1;
}
.hero-image {
  position: relative;
  order: 2;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  box-shadow: 0 30px 80px -30px rgba(61,74,55,0.4), 0 8px 24px -8px rgba(138,109,59,0.15);
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s var(--ease-out);
}
.hero-image.is-visible img { transform: scale(1); }
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(61,74,55,0.15));
  mix-blend-mode: multiply;
}

.hero-brand {
  display: flex;
  margin-bottom: 1.6rem;
}
.hero-logo {
  width: 110px;
  height: 110px;
  animation: gentleFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(61, 74, 55, 0.12));
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(-1.5deg); }
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2rem;
}
.eyebrow-line {
  height: 1px; width: 40px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.eyebrow-line:last-child { background: linear-gradient(to left, transparent, var(--gold)); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.8vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--sage-deep);
  margin-bottom: 2rem;
}
.hero-title .script { display: inline-block; }

.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span, .reveal-line > em {
  display: inline-block;
  transform: translateY(120%);
  transition: transform 1s var(--ease-out);
}
.reveal-line.is-visible > span,
.reveal-line.is-visible > em { transform: translateY(0); }

.hero-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.hero-tagline {
  display: flex; gap: 0.7rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--olive);
  letter-spacing: 0.02em;
}
.hero-tagline .dot { color: var(--gold); font-style: normal; }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  color: var(--ink-3);
  text-transform: uppercase;
  z-index: 3;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  50% { transform: scaleY(0.4); opacity: 0.5; }
}

.float-leaf {
  position: absolute;
  width: 140px; height: 140px;
  opacity: 0.5;
  pointer-events: none;
}
.float-leaf-1 { top: 12%; left: 3%; animation: floatY 8s ease-in-out infinite; }
.float-leaf-2 { bottom: 10%; right: 45%; transform: rotate(140deg) scale(0.7); animation: floatY 10s ease-in-out infinite reverse; opacity: 0.35; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(-6deg); }
}

/* MARQUEE ---------------------------------------------------- */
.marquee-band {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 1.4rem 0;
  overflow: hidden;
  position: relative;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  padding-right: 3rem;
  align-items: center;
  flex-shrink: 0;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.marquee-track .mheart {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* BELIEF ----------------------------------------------------- */
.belief {
  padding: var(--section-pad) var(--pad);
  text-align: center;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.belief-inner { max-width: 780px; margin: 0 auto; position: relative; }
.belief-decor {
  width: 260px; margin: 0 auto 2rem;
  opacity: 0.75;
}
.belief-decor img { width: 100%; height: auto; }
.belief-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 62ch;
  margin: 0 auto 3rem;
}
.belief-text strong { color: var(--sage-deep); font-weight: 500; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(138,109,59,0.15);
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  color: var(--gold-deep);
  line-height: 1;
  font-weight: 500;
}
.stat .plus {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  vertical-align: super;
  margin-left: 4px;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 0.8rem;
}

/* SERVICES --------------------------------------------------- */
.services {
  padding: var(--section-pad) var(--pad);
  background: linear-gradient(180deg, var(--paper), var(--cream));
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}
.service-card {
  background: var(--paper);
  padding: 2.3rem 1.8rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(138,109,59,0.12);
  position: relative;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--blush));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(61,74,55,0.2), 0 4px 12px -4px rgba(138,109,59,0.1);
  border-color: rgba(201,169,97,0.4);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  background: var(--cream);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
  transition: transform 0.5s var(--ease-out), background 0.5s;
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); background: var(--cream-2); }
.service-icon svg { width: 40px; height: 40px; }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--sage-deep);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}
.service-card p {
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.service-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 0.35rem 0.8rem;
  background: rgba(201,169,97,0.12);
  border-radius: 999px;
}

/* APPROACH --------------------------------------------------- */
.approach {
  padding: var(--section-pad) var(--pad);
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.approach-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -20px rgba(61,74,55,0.3);
}
.approach-image img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s var(--ease-out);
}
.approach-image.is-visible img { transform: scale(1); }
.approach-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--paper);
  padding: 1.2rem 1.4rem;
  border-radius: 3px;
  max-width: 220px;
  box-shadow: 0 12px 30px -8px rgba(61,74,55,0.25);
  font-family: var(--font-display);
}
.approach-badge em.script {
  display: block;
  font-size: 1.5rem;
  color: var(--gold-deep);
  line-height: 1.1;
}
.approach-badge em.script:nth-of-type(2) { margin-left: 1.8rem; }
.approach-badge strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 0.6rem;
  font-weight: 600;
}

.pillars { list-style: none; }
.pillar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(138,109,59,0.15);
  transition: padding-left 0.4s var(--ease-out);
}
.pillar:hover { padding-left: 0.6rem; }
.pillar:last-child { border-bottom: 0; }
.pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 500;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--sage-deep);
  margin-bottom: 0.4rem;
}
.pillar p { color: var(--ink-2); font-size: 0.95rem; }

/* JOURNEY / TIMELINE ---------------------------------------- */
.journey {
  padding: var(--section-pad) var(--pad);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.timeline {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.timeline-line {
  display: none;
}
.timeline.is-visible .timeline-line { animation: none; }
@keyframes drawLine { to { transform: scaleY(1); } }

.tl-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 0;
  position: relative;
  padding: 1.8rem 1.5rem;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid rgba(138,109,59,0.1);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.tl-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(138,109,59,0.15);
}
.tl-marker {
  position: relative; 
  left: 0; top: 0;
  width: 48px; height: 48px;
  background: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(138,109,59,0.1);
  margin-bottom: 0.8rem;
}
.tl-marker svg { width: 24px; height: 24px; }
.tl-phase {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.tl-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--sage-deep);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.tl-content p { color: var(--ink-2); font-size: 0.98rem; max-width: 52ch; }

/* TESTIMONIAL ------------------------------------------------ */
.testimonial {
  padding: var(--section-pad) var(--pad);
  background: linear-gradient(160deg, var(--cream-2), var(--cream));
  position: relative;
  overflow: hidden;
}
.testimonial::before, .testimonial::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.testimonial::before { background: var(--blush-soft); top: -100px; left: -100px; }
.testimonial::after { background: rgba(138,157,124,0.55); bottom: -140px; right: -100px; }
.testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.quote-mark { width: 50px; height: 50px; margin: 0 auto 1.5rem; opacity: 0.7; }
.quotes { position: relative; min-height: 240px; }
.quote {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.5;
  color: var(--sage-deep);
  margin-bottom: 1.5rem;
}
.quote footer {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.quote-dots { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2rem; }
.quote-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(138,109,59,0.25);
  transition: all 0.3s var(--ease-out);
}
.quote-dots .dot.is-active { background: var(--gold); width: 24px; border-radius: 4px; }

/* MEET ------------------------------------------------------- */
.meet {
  padding: var(--section-pad) var(--pad);
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.meet-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 60px -20px rgba(61,74,55,0.3);
  position: relative;
}
.meet-image img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s var(--ease-out);
}
.meet-image.is-visible img { transform: scale(1); }
.credentials { list-style: none; margin-top: 1.8rem; display: grid; gap: 0.7rem; }
.credentials li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.98rem;
  color: var(--ink-2);
}
.credentials span { color: var(--gold); font-size: 0.6rem; }
.meet-content p { color: var(--ink-2); line-height: 1.7; font-size: 1.02rem; }

/* CTA -------------------------------------------------------- */
.cta {
  padding: var(--section-pad) var(--pad);
  background: var(--sage-deep);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}
.cta::before { background: var(--gold-light); top: -150px; right: -100px; }
.cta::after { background: var(--blush); bottom: -150px; left: -100px; }

.cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 2; }
.cta-decor { width: 180px; margin: 0 auto 2rem; opacity: 0.6; }
.cta .section-eyebrow { color: var(--gold-light); }
.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--paper);
}
.cta-title .script { color: var(--gold-light); }
.cta-lede {
  color: rgba(246,239,225,0.75);
  max-width: 44ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2rem;
}
.cta-form label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(246,239,225,0.6);
}
.cta-form label.full { grid-column: 1 / -1; }
.cta-form input, .cta-form textarea {
  background: rgba(246,239,225,0.06);
  border: 1px solid rgba(246,239,225,0.15);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  color: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.3s, background 0.3s;
}
.cta-form input::placeholder, .cta-form textarea::placeholder {
  color: rgba(246,239,225,0.35);
}
.cta-form input:focus, .cta-form textarea:focus {
  outline: 0;
  border-color: var(--gold-light);
  background: rgba(246,239,225,0.1);
}
.cta-form .btn-primary {
  background: var(--gold);
  color: var(--sage-deep);
}
.cta-form .btn-primary:hover { background: var(--gold-light); }
.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--gold-light);
  min-height: 1.2em;
  margin-top: 0.4rem;
  text-align: center;
}
.form-note.is-success { color: var(--gold-light); }
/* Warm rather than alarming — an error here is usually a typo, not a catastrophe. */
.form-note.is-error { color: #f0b8a0; }

.cta-form .btn-primary:disabled {
  opacity: 0.65;
  cursor: progress;
}

/* Honeypot. Hidden from people without display:none, which some bots skip. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.cta-alt {
  font-size: 0.88rem;
  color: rgba(246,239,225,0.7);
}
.cta-alt a { border-bottom: 1px solid rgba(232,204,133,0.4); padding-bottom: 2px; }
.cta-alt a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.cta-alt .sep { color: var(--gold); margin: 0 0.7rem; }

/* FOOTER ----------------------------------------------------- */
.site-footer {
  padding: 3rem var(--pad);
  background: #2b3627;
  color: rgba(246,239,225,0.65);
  text-align: center;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-brand {
  display: flex; align-items: center; justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
}
.footer-brand .logo-mark { width: 30px; height: 30px; }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.footer-copy { font-size: 0.78rem; letter-spacing: 0.1em; color: rgba(246,239,225,0.4); }

/* Reveal animations ------------------------------------------ */
.reveal, .reveal-up, .reveal-image {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-image { transform: none; }
.reveal-image::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--cream);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 0.1s;
  z-index: 2;
}
.reveal-image.is-visible::before { transform: scaleX(0); }
.reveal.is-visible, .reveal-up.is-visible, .reveal-image.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   About page — founder story
   ========================================================= */
.story-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.story-media {
  position: sticky;
  top: 120px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(61, 74, 55, 0.3);
}
.story-media img { width: 100%; height: auto; display: block; }
.story-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-2);
}

/* =========================================================
   Care Fund page
   ========================================================= */

/* The hero is full-bleed dark, so the transparent header inverts until it
   picks up its scrolled cream background. */
body[data-page="care-fund"] .site-header:not(.is-scrolled) .site-nav a:not(.nav-cta) {
  color: rgba(246, 239, 225, 0.82);
}
body[data-page="care-fund"] .site-header:not(.is-scrolled) .site-nav a:not(.nav-cta):hover,
body[data-page="care-fund"] .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
  color: var(--cream);
}
body[data-page="care-fund"] .site-header:not(.is-scrolled) .nav-cta {
  background: var(--cream);
  color: var(--sage-deep) !important;
}
body[data-page="care-fund"] .site-header:not(.is-scrolled) .nav-cta:hover { background: var(--gold-light); }
body[data-page="care-fund"] .site-header:not(.is-scrolled) .logo-mark path { stroke: var(--gold-light); }
body[data-page="care-fund"] .site-header:not(.is-scrolled) .menu-toggle span { background: var(--cream); }

/* Hero ------------------------------------------------------- */
.fund-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem var(--pad) var(--pad);
  overflow: hidden;
  background: var(--sage-deep);
}
.fund-hero-media { position: absolute; inset: 0; }
.fund-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease-out);
}
.fund-hero.is-ready .fund-hero-media img { transform: scale(1); }
.fund-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(61,74,55,0.94) 0%, rgba(61,74,55,0.62) 45%, rgba(61,74,55,0.28) 100%);
}
.fund-hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: clamp(2rem, 6vw, 5rem);
}
.fund-hero .section-eyebrow { color: var(--gold-light); }
.fund-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 1.4rem;
}
.fund-hero-title .script { color: var(--gold-light); font-weight: 500; }
.fund-hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  color: rgba(246,239,225,0.85);
  max-width: 34ch;
  line-height: 1.4;
}
.fund-hero-rule {
  width: 90px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 2rem 0 0;
}

/* Intro ------------------------------------------------------ */
.fund-intro {
  padding: var(--section-pad) var(--pad);
  background: var(--paper);
  position: relative;
}
.fund-intro-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.fund-intro-text p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.fund-intro-text p:last-child { margin-bottom: 0; }
.fund-intro-text strong { color: var(--sage-deep); font-weight: 500; }
.fund-intro-media {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(61,74,55,0.38);
}
.fund-intro-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* Provision list --------------------------------------------- */
.fund-provides {
  padding: var(--section-pad) var(--pad);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.fund-provides::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(138,157,124,0.16);
  filter: blur(70px);
  top: -160px; right: -120px;
}
.fund-provides-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
  position: relative; z-index: 2;
}
.fund-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative; z-index: 2;
}
.fund-card {
  background: var(--paper);
  border: 1px solid rgba(138,109,59,0.14);
  border-radius: 6px;
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
}
.fund-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -26px rgba(61,74,55,0.32);
  border-color: rgba(201,169,97,0.5);
}
.fund-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid;
  place-items: center;
  transition: transform 0.6s var(--ease-out), background 0.4s;
}
.fund-card:hover .fund-card-icon { transform: rotate(-6deg) scale(1.06); background: var(--cream-3); }
.fund-card-icon svg { width: 44px; height: 44px; }
.fund-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.22rem;
  color: var(--sage-deep);
  line-height: 1.3;
}
.fund-card p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.7; }

/* Pull quote ------------------------------------------------- */
.fund-quote {
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  background: var(--paper);
  text-align: center;
}
.fund-quote-inner { max-width: 760px; margin: 0 auto; }
.fund-quote-decor { width: 210px; margin: 0 auto 2.2rem; opacity: 0.7; }
.fund-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.35;
  color: var(--sage-deep);
  font-weight: 400;
}
.fund-quote .script { display: block; margin-top: 0.4rem; font-size: 1.15em; }

/* Coming-soon panels ----------------------------------------- */
.fund-actions {
  padding: var(--section-pad) var(--pad);
  background: var(--sage-deep);
  position: relative;
  overflow: hidden;
}
.fund-actions::before, .fund-actions::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}
.fund-actions::before { background: var(--gold-light); top: -140px; right: -100px; }
.fund-actions::after { background: var(--blush); bottom: -160px; left: -120px; }
.fund-actions-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
  position: relative; z-index: 2;
}
.fund-actions-head .section-eyebrow { color: var(--gold-light); }
.fund-actions-head .section-title { color: var(--cream); }
.fund-panels {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  position: relative; z-index: 2;
}
.fund-panel {
  background: rgba(251,247,236,0.06);
  border: 1px solid rgba(232,204,133,0.22);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3rem);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.5s, background 0.5s, transform 0.5s var(--ease-out);
}
.fund-panel:hover {
  border-color: rgba(232,204,133,0.5);
  background: rgba(251,247,236,0.1);
  transform: translateY(-4px);
}
.fund-panel-mark { width: 46px; height: 46px; margin-bottom: 1.6rem; }
.fund-panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.fund-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(232,204,133,0.4);
  background: rgba(232,204,133,0.12);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
}
.fund-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: fundPulse 2.4s ease-in-out infinite;
}
@keyframes fundPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.45); }
}
.fund-panel p {
  color: rgba(246,239,225,0.76);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.fund-panel p:last-of-type { margin-bottom: 0; }
.fund-panel-who {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.4rem 0 1.4rem;
}
.fund-panel-who li {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(246,239,225,0.82);
  border: 1px solid rgba(246,239,225,0.18);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.fund-panel-note {
  margin-top: auto;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(232,204,133,0.18);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* Closing CTA ------------------------------------------------ */
.fund-closing {
  padding: var(--section-pad) var(--pad);
  background: var(--cream);
  text-align: center;
}
.fund-closing-inner { max-width: 680px; margin: 0 auto; }
.fund-closing .section-lede { margin-inline: auto; margin-bottom: 2.2rem; }
.fund-closing-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive ------------------------------------------------- */
@media (max-width: 1080px) {
  .site-nav { gap: 1.3rem; }
  .site-nav a { font-size: 0.8rem; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 7rem; padding-bottom: 3rem; }
  .hero-content { order: 2; text-align: center; }
  .hero-image { order: 1; aspect-ratio: 4/3; max-height: 50vh; }
  .hero-eyebrow, .hero-tagline, .hero-actions, .hero-brand { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .hero-scroll { display: none; }
  .float-leaf { display: none; }
  .hero-logo { width: 90px; height: 90px; }
  .approach, .meet { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .cta-form { grid-template-columns: 1fr; }
  .btn-large { justify-self: stretch; text-align: center; justify-content: center; }
  .marquee-track span { font-size: 1.15rem; }
  /* The portrait stacks above the story; sticky has nothing to stick to here. */
  .story-grid { grid-template-columns: 1fr; }
  .story-media { position: static; max-width: 420px; margin: 0 auto; }
  .story-content { font-size: 1.02rem; }
  .fund-hero { min-height: 64vh; padding-top: 8rem; }
  .fund-intro-inner { grid-template-columns: 1fr; }
  .fund-intro-media { order: -1; }
  .fund-intro-media img { aspect-ratio: 4/3; }
}

@media (max-width: 620px) {
  .mobile-menu { gap: 1.4rem; }
  .mobile-menu a { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-line > span, .reveal-line > em { transform: none; }
}
