/* ============================================================
   SIMPLY LOVE — Warm Minimalism Redesign · "The Gilded Hour"
   Palette: warm neutrals + terracotta clay, whisper of sage
   Type: Fraunces (expressive serif) + Work Sans (quiet sans)
   ============================================================ */

:root {
  --paper:      #FBF7F1;
  --cream:      #F5EEE3;
  --sand:       #EADFCE;
  --sand-deep:  #DECDB4;
  --mushroom:   #B9AB99;
  --taupe:      #877869;
  --ink:        #4A3F33;
  --espresso:   #33291F;

  --clay:       #C07856;
  --clay-deep:  #9C5535;
  --clay-soft:  #D99B7C;
  --blush:      #E9CDBB;
  --sage:       #9CAA8F;
  --sage-deep:  #7C8B70;

  --serif: "Fraunces", "Georgia", serif;
  --sans:  "Work Sans", "Helvetica Neue", sans-serif;

  --space-xs: clamp(.5rem, 1vw, .75rem);
  --space-s:  clamp(1rem, 2vw, 1.5rem);
  --space-m:  clamp(2rem, 4vw, 3rem);
  --space-l:  clamp(4rem, 8vw, 7rem);
  --space-xl: clamp(6rem, 12vw, 10rem);
  --gutter:   clamp(1.25rem, 5vw, 4rem);
  --measure:  62ch;

  --radius-s: 14px;
  --radius-m: 24px;
  --radius-l: 36px;
  --shadow-soft:
      0 1px 2px rgba(51, 41, 31, .04),
      0 6px 18px rgba(51, 41, 31, .06),
      0 24px 48px rgba(51, 41, 31, .07);
  --shadow-lift:
      0 2px 4px rgba(51, 41, 31, .05),
      0 12px 28px rgba(51, 41, 31, .09),
      0 36px 72px rgba(156, 85, 53, .10);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.45, 0, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 380;
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blush); color: var(--espresso); }

img { max-width: 100%; display: block; }
a { color: var(--clay-deep); text-decoration: none; transition: color .3s var(--ease-out); }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 480;
  line-height: 1.08;
  color: var(--espresso);
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 2rem + 5.4vw, 6.2rem);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}

h2 {
  font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.4rem);
  font-variation-settings: "opsz" 90, "SOFT" 50, "WONK" 0;
  line-height: 1.14;
}

h3 {
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  font-variation-settings: "opsz" 40, "SOFT" 40;
  line-height: 1.25;
}

em, .em-swash {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

p { max-width: var(--measure); }

.accent-word {
  font-style: italic;
  color: var(--clay);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* ============ Grain & atmosphere ============ */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9990;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(3) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-1.5%, 1%); }
  66% { transform: translate(1%, -1.5%); }
  100% { transform: translate(0, 0); }
}

.cursor-light {
  position: fixed;
  width: 640px; height: 640px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle,
      rgba(233, 205, 187, .5) 0%,
      rgba(233, 205, 187, .18) 35%,
      transparent 70%);
  mix-blend-mode: soft-light;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.2s ease;
}
body.cursor-active .cursor-light { opacity: 1; }
@media (hover: none) { .cursor-light { display: none; } }

/* ============ Layout ============ */
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

section { position: relative; padding-block: var(--space-l); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 560;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: var(--space-s);
}
.eyebrow::before {
  content: "";
  width: 2.2em; height: 1px;
  background: linear-gradient(90deg, transparent, var(--clay));
}

/* ============ Header ============ */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: padding .5s var(--ease-out), background .5s ease, box-shadow .5s ease;
}
.site-head.scrolled {
  padding-block: .65rem;
  background: rgba(251, 247, 241, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(51, 41, 31, .06), 0 8px 32px rgba(51, 41, 31, .05);
}

.brand {
  display: flex; align-items: baseline; gap: .5em;
  font-family: var(--serif);
  color: var(--espresso);
  z-index: 1002;
}
.brand-mark {
  font-size: 1.35rem; font-weight: 560;
  font-variation-settings: "opsz" 40, "SOFT" 60;
}
.brand-sub {
  font-style: italic; font-size: .95rem; color: var(--taupe);
  font-variation-settings: "opsz" 20, "SOFT" 100;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  position: relative;
  font-size: .88rem;
  font-weight: 460;
  letter-spacing: .02em;
  color: var(--ink);
  padding-block: .3em;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav a[aria-current="page"] { color: var(--clay-deep); }

.nav-cta {
  background: var(--espresso);
  color: var(--paper) !important;
  padding: .68em 1.5em !important;
  border-radius: 100px;
  transition: background .35s ease, transform .35s var(--ease-out), box-shadow .35s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(156, 85, 53, .28);
}

.nav-toggle {
  display: none;
  z-index: 1002;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px;
  width: 24px; height: 1.5px;
  background: var(--espresso);
  transition: transform .4s var(--ease-out), opacity .3s, top .4s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: linear-gradient(160deg, var(--paper) 0%, var(--cream) 60%, var(--blush) 160%);
    opacity: 0; pointer-events: none;
    transition: opacity .5s ease;
    z-index: 1001;
  }
  .nav a { font-family: var(--serif); font-size: 1.6rem; font-weight: 480; }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
}

/* ============ Buttons ============ */
.btn-row {
  display: flex; flex-wrap: wrap;
  gap: var(--space-s);
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 520;
  letter-spacing: .01em;
  padding: 1em 2.1em;
  border-radius: 100px;
  cursor: pointer;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s ease, color .3s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--clay) 0%, var(--clay-deep) 100%);
  color: var(--paper);
  box-shadow: 0 8px 24px rgba(156, 85, 53, .25), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--clay-soft), var(--clay));
  opacity: 0;
  transition: opacity .4s ease;
}
.btn--primary > * { position: relative; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(156, 85, 53, .35), inset 0 1px 0 rgba(255,255,255,.3); color: var(--paper); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  background: transparent;
  color: var(--espresso);
  box-shadow: inset 0 0 0 1.5px var(--sand-deep);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1.5px var(--clay), 0 10px 26px rgba(51, 41, 31, .08);
  color: var(--clay-deep);
}

.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 520; font-size: .95rem;
  color: var(--clay-deep);
  border-bottom: 1px solid transparent;
}
.text-link .arr { transition: transform .35s var(--ease-out); display: inline-block; }
.text-link:hover .arr { transform: translateX(6px); }

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

#silk-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 2.4s ease;
}
#silk-canvas.ready { opacity: 1; }

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(233, 205, 187, .55), transparent 70%),
    radial-gradient(50% 40% at 20% 80%, rgba(156, 170, 143, .18), transparent 70%),
    linear-gradient(175deg, var(--paper) 0%, var(--cream) 55%, var(--sand) 130%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 22vh;
  background: linear-gradient(to bottom, transparent, var(--paper));
  z-index: 1;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; }
.hero-inner p.lede {
  margin: var(--space-s) auto var(--space-m);
  max-width: 46ch;
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  font-weight: 340;
  color: var(--taupe);
}
.hero .btn-row { justify-content: center; }

.split-line { display: block; overflow: hidden; padding-block: .06em; }
.split-line .w {
  display: inline-block;
  transform: translateY(115%) rotate(2deg);
  opacity: 0;
}
.loaded .split-line .w {
  animation: wordUp 1.3s var(--ease-out) forwards;
  animation-delay: calc(.35s + var(--i) * .09s);
}
@keyframes wordUp {
  to { transform: translateY(0) rotate(0); opacity: 1; }
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--taupe);
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 54px;
  background: linear-gradient(var(--clay), transparent);
  animation: cueDrop 2.4s var(--ease-soft) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ Marquee ============ */
.marquee {
  padding-block: var(--space-m);
  border-block: 1px solid rgba(51, 41, 31, .07);
  background: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  gap: 3.5rem;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  font-weight: 400;
  color: var(--espresso);
  font-variation-settings: "opsz" 60, "SOFT" 70;
}
.marquee span em { color: var(--clay); }
.marquee .tilde { color: var(--mushroom); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Reveal system ============ */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out),
    filter 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ============ Split / portrait ============ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.portrait-frame {
  position: relative;
  border-radius: 200px 200px var(--radius-l) var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transform: translateZ(0);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.portrait-frame:hover img { transform: scale(1.045); }
.portrait-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(233,205,187,.24), transparent 45%, rgba(51,41,31,.12));
  pointer-events: none;
}

.portrait-wrap { position: relative; }
.portrait-halo {
  position: absolute;
  inset: -9% -12% auto auto;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(192, 120, 86, .35);
  border-radius: 50%;
  z-index: -1;
  animation: haloSpin 40s linear infinite;
}
.portrait-halo::after {
  content: "✦";
  position: absolute; top: -0.6em; left: 50%;
  color: var(--clay);
  font-size: .9rem;
}
@keyframes haloSpin { to { transform: rotate(360deg); } }

/* ============ Quote ============ */
.quote {
  text-align: center;
  padding-block: var(--space-l);
}
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 380;
  color: var(--espresso);
  font-variation-settings: "opsz" 110, "SOFT" 100, "WONK" 1;
  line-height: 1.3;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: var(--space-s);
  font-family: var(--sans);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe);
}
.quote .q-mark {
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: .6;
  color: var(--blush);
  margin-bottom: .3em;
}

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-s);
  margin-top: var(--space-m);
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  background: linear-gradient(165deg, #fff 0%, var(--cream) 130%);
  border: 1px solid rgba(51, 41, 31, .06);
  border-radius: var(--radius-m);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-soft);
  transition: transform .6s var(--ease-out), box-shadow .6s ease;
  overflow: hidden;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.step-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,205,187,.55), transparent 70%);
  opacity: 0;
  transition: opacity .8s ease;
}
.step-card:hover::before { opacity: 1; }

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--sand-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  margin-bottom: 1rem;
  display: block;
  transition: color .5s ease;
}
.step-card:hover .step-num { color: var(--clay); }
.step-card h3 { margin-bottom: .7rem; }
.step-card p { font-size: .97rem; color: var(--taupe); }

/* ============ Offer cards ============ */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-s);
  margin-top: var(--space-m);
  perspective: 1200px;
}
@media (max-width: 980px) { .offers { grid-template-columns: 1fr; } }

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-m);
  padding: clamp(2rem, 3vw, 2.8rem);
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--sand);
  transition: transform .2s ease-out, box-shadow .5s ease, border-color .5s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.offer-card:hover { box-shadow: var(--shadow-lift); border-top-color: var(--clay); }
.offer-card .step-num { font-size: 2.4rem; }
.offer-card h3 { margin-bottom: .8rem; }
.offer-card p { font-size: .95rem; color: var(--taupe); flex: 1; }
.offer-card .text-link { margin-top: 1.6rem; }

/* ============ App section ============ */
.app-section {
  background:
    radial-gradient(80% 90% at 85% 10%, rgba(233,205,187,.4), transparent 60%),
    linear-gradient(170deg, var(--cream), var(--sand));
  border-radius: var(--radius-l);
  margin-inline: var(--gutter);
  padding: var(--space-l) 0;
  overflow: hidden;
  position: relative;
}
@media (max-width: 640px) { .app-section { margin-inline: .6rem; } }

.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-block: var(--space-s); }
.chip {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .55em 1.2em;
  border-radius: 100px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(51, 41, 31, .08);
  color: var(--espresso);
  box-shadow: 0 2px 8px rgba(51,41,31,.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .4s var(--ease-out), background .4s ease;
}
.chip:hover { transform: translateY(-3px); background: #fff; }

.fine-print { font-size: .82rem; color: var(--taupe); letter-spacing: .04em; margin-top: 1rem; }

/* ============ Outcomes ============ */
.outcomes { text-align: center; }
.outcome-words {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: .4em 1.2em;
  margin-block: var(--space-m);
}
.outcome-words span {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 3.4vw, 4.4rem);
  font-weight: 440;
  color: var(--espresso);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.outcome-words .dot { color: var(--clay); }

/* ============ Testimonials ============ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-s);
  margin-top: var(--space-m);
}
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.testi-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .testi-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testi-grid--four { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.testi-note {
  display: block;
  background: #fff;
  padding: .9rem .9rem 1.1rem;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  transition: transform .6s var(--ease-out), box-shadow .6s ease;
  position: relative;
}
.testi-note:nth-child(odd)  { transform: rotate(-1.4deg); }
.testi-note:nth-child(even) { transform: rotate(1.2deg); }
.testi-note:hover { transform: rotate(0) translateY(-8px) scale(1.02); box-shadow: var(--shadow-lift); z-index: 2; }
.testi-note::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 92px; height: 26px;
  background: rgba(233, 205, 187, .75);
  border-left: 1px dashed rgba(255,255,255,.7);
  border-right: 1px dashed rgba(255,255,255,.7);
  z-index: 1;
}
.testi-note img { border-radius: 3px; width: 100%; }

.words-grid {
  columns: 2;
  column-gap: var(--space-s);
  margin-top: var(--space-m);
}
@media (max-width: 860px) { .words-grid { columns: 1; } }

.word-card {
  break-inside: avoid;
  background: #fff;
  border-radius: var(--radius-m);
  border: 1px solid rgba(51,41,31,.05);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: var(--space-s);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform .6s var(--ease-out), box-shadow .6s ease;
}
.word-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.word-card::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--blush);
  display: block;
  margin-bottom: .2em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.word-card p { font-size: .96rem; color: var(--ink); }
.word-card footer {
  margin-top: 1.2rem;
  font-size: .8rem;
  font-weight: 560;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  display: grid; place-items: center;
  padding: 4vmin;
  background: rgba(51, 41, 31, .55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-height: 88vh; max-width: 92vw;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0,0,0,.4);
  transform: scale(.94);
  transition: transform .45s var(--ease-out);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.4rem; right: 1.8rem;
  font-size: 2rem; color: var(--paper);
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 300;
}

/* ============ CTA band ============ */
.cta-band {
  position: relative;
  margin: var(--space-l) var(--gutter);
  padding: var(--space-l) var(--gutter);
  text-align: center;
  border-radius: var(--radius-l);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(233,205,187,.5), transparent 70%),
    linear-gradient(160deg, var(--espresso), #241B12 90%);
  overflow: hidden;
}
@media (max-width: 640px) { .cta-band { margin-inline: .6rem; } }
.cta-band h2 { color: var(--paper); }
.cta-band .eyebrow { color: var(--blush); }
.cta-band .eyebrow::before { background: linear-gradient(90deg, transparent, var(--blush)); }
.cta-band p { color: rgba(251, 247, 241, .72); margin: var(--space-s) auto var(--space-m); max-width: 52ch; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(251,247,241,.3); }
.cta-band .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blush), 0 10px 26px rgba(0,0,0,.3); color: var(--blush); }
.cta-band .cta-stars {
  position: absolute; inset: 0;
  pointer-events: none;
}
.cta-band .cta-stars i {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--blush);
  opacity: .5;
  animation: starPulse 4s ease-in-out infinite;
  animation-delay: var(--sd, 0s);
}
@keyframes starPulse {
  0%, 100% { opacity: .15; transform: scale(.7); }
  50% { opacity: .8; transform: scale(1.2); }
}

/* ============ Footer ============ */
.site-foot {
  padding: var(--space-l) 0 var(--space-m);
  background: var(--cream);
  border-top: 1px solid rgba(51,41,31,.06);
  position: relative;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-m);
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.1rem;
  font-weight: 560;
}
.site-foot .foot-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--espresso); }
.site-foot .foot-brand i { color: var(--taupe); font-size: 1rem; }
.site-foot p { font-size: .92rem; color: var(--taupe); margin-top: .8rem; max-width: 36ch; }
.site-foot ul { list-style: none; display: grid; gap: .55rem; }
.site-foot ul a { color: var(--ink); font-size: .92rem; }
.site-foot ul a:hover { color: var(--clay-deep); }
.foot-legal {
  margin-top: var(--space-m);
  padding-top: var(--space-s);
  border-top: 1px solid rgba(51,41,31,.07);
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--mushroom);
}
.foot-legal .motto { font-family: var(--serif); font-style: italic; }

/* ============ Page hero ============ */
.page-hero {
  padding-top: clamp(9rem, 18vh, 13rem);
  padding-bottom: var(--space-m);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 75% 8%, rgba(233,205,187,.5), transparent 70%),
    radial-gradient(40% 35% at 12% 45%, rgba(156,170,143,.16), transparent 70%),
    linear-gradient(180deg, var(--cream), var(--paper));
}
.page-hero .lede {
  margin: var(--space-s) auto 0;
  max-width: 52ch;
  color: var(--taupe);
  font-size: clamp(1rem, .95rem + .35vw, 1.22rem);
  font-weight: 340;
}

/* ============ Story ============ */
.story-flow p {
  margin-bottom: 1.6em;
  font-size: clamp(1.02rem, 1rem + .25vw, 1.18rem);
  line-height: 1.85;
}
.story-flow .dropcap::first-letter {
  font-family: var(--serif);
  font-size: 4.2em;
  line-height: .78;
  float: left;
  padding-right: .12em;
  color: var(--clay);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

/* ============ Botanical line art ============ */
.botanical {
  position: absolute;
  pointer-events: none;
  color: var(--sage);
  opacity: .55;
  z-index: 0;
}
.botanical path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
}
.botanical.draw path {
  animation: drawPath 2.8s var(--ease-soft) forwards;
  animation-delay: calc(var(--pi, 0) * .35s);
}
@keyframes drawPath { to { stroke-dashoffset: 0; } }

/* ============ Scheduler ============ */
.scheduler-shell {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(51,41,31,.06);
  overflow: hidden;
  margin-top: var(--space-m);
  min-height: 700px;
}

/* ============ Guide page ============ */
.guide-body h2 { margin-top: var(--space-l); margin-bottom: var(--space-s); }
.guide-body h3 { margin-top: var(--space-m); margin-bottom: .7rem; }
.guide-body p { margin-bottom: 1.2em; }
.guide-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .84em;
  background: var(--cream);
  border: 1px solid rgba(51,41,31,.08);
  border-radius: 6px;
  padding: .15em .45em;
  color: var(--clay-deep);
}
.swatches { display: flex; flex-wrap: wrap; gap: .9rem; margin-block: var(--space-s); }
.swatch {
  width: 108px;
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
  font-size: .68rem;
  text-align: center;
}
.swatch i { display: block; height: 72px; }
.swatch b { display: block; padding: .5em .3em .1em; font-weight: 560; color: var(--espresso); }
.swatch span { display: block; padding-bottom: .6em; color: var(--taupe); letter-spacing: .05em; }

.type-specimen {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  padding: var(--space-m);
  margin-block: var(--space-s);
}
.type-specimen .spec-serif {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-variation-settings: "opsz" 144, "SOFT" 70, "WONK" 1;
  color: var(--espresso);
  line-height: 1.1;
}
.type-specimen .spec-sans { margin-top: 1rem; color: var(--taupe); }

/* ============ Reduced motion ============ */
@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; filter: none; }
  .split-line .w { transform: none; opacity: 1; }
  #silk-canvas { display: none; }
  .grain { animation: none; }
}


/* ============ Pass 1 refinements ============ */

/* Cross-document view transitions (progressive enhancement) */
@view-transition { navigation: auto; }

/* Cards carry their own hover transforms — reveal them by fade + blur only,
   so the two transition systems never fight. */
.step-card.reveal, .offer-card.reveal, .word-card.reveal, .testi-note.reveal { transform: none; }
.step-card.reveal, .word-card.reveal {
  transition: transform .6s var(--ease-out), box-shadow .6s ease,
              opacity 1.1s var(--ease-out) var(--d, 0s), filter 1.1s var(--ease-out) var(--d, 0s);
}
.offer-card.reveal {
  transition: transform .2s ease-out, box-shadow .5s ease, border-color .5s ease,
              opacity 1.1s var(--ease-out) var(--d, 0s), filter 1.1s var(--ease-out) var(--d, 0s);
}
.testi-note.reveal {
  transition: transform .6s var(--ease-out), box-shadow .6s ease,
              opacity 1.1s var(--ease-out) var(--d, 0s), filter 1.1s var(--ease-out) var(--d, 0s);
}
.testi-note.reveal:nth-child(odd)  { transform: rotate(-1.4deg); }
.testi-note.reveal:nth-child(even) { transform: rotate(1.2deg); }
.testi-note.reveal:hover { transform: rotate(0) translateY(-8px) scale(1.02); }

/* Accent words on the dark CTA band need a warmer, lighter clay */
.cta-band .accent-word, .cta-band em.accent-word { color: var(--clay-soft); }

/* Focus visibility, in-brand */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .nav-cta:focus-visible { border-radius: 100px; }


/* ============ Pass 2: deepened craft ============ */

/* Reading progress — a hairline of clay */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--clay-soft), var(--clay));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1200;
  pointer-events: none;
}

/* Ornament divider between chapters */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding-block: var(--space-xs);
  color: var(--clay);
}
.ornament::before, .ornament::after {
  content: "";
  width: min(120px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-deep));
}
.ornament::after { background: linear-gradient(90deg, var(--sand-deep), transparent); }
.ornament svg { animation: ornamentBreathe 5s ease-in-out infinite; }
@keyframes ornamentBreathe {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .8; }
  50% { transform: scale(1.15) rotate(12deg); opacity: 1; }
}

/* Morphing ambient blob (behind quotes) */
.blob {
  position: absolute;
  top: 50%; left: 50%;
  width: min(520px, 80vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(60% 60% at 45% 40%,
      rgba(233, 205, 187, .55), rgba(217, 155, 124, .22) 55%, transparent 75%);
  filter: blur(30px);
  border-radius: 58% 42% 61% 39% / 45% 56% 44% 55%;
  animation: blobMorph 18s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}
.blob--sage {
  background: radial-gradient(60% 60% at 55% 55%,
      rgba(156, 170, 143, .35), rgba(233, 205, 187, .25) 55%, transparent 75%);
}
@keyframes blobMorph {
  0%   { border-radius: 58% 42% 61% 39% / 45% 56% 44% 55%; transform: rotate(0deg) scale(1); }
  33%  { border-radius: 42% 58% 39% 61% / 56% 45% 55% 44%; transform: rotate(10deg) scale(1.08); }
  66%  { border-radius: 50% 50% 55% 45% / 40% 60% 42% 58%; transform: rotate(-6deg) scale(.96); }
  100% { border-radius: 61% 39% 45% 55% / 51% 49% 60% 40%; transform: rotate(8deg) scale(1.05); }
}
.quote { overflow: visible; }
.quote, .app-section { isolation: isolate; }

/* Ripple rings — Record · Reflect · Realign echo */
.rings {
  position: absolute;
  right: -140px; top: 50%;
  translate: 0 -50%;
  width: 480px; aspect-ratio: 1;
  z-index: 0;
  pointer-events: none;
  opacity: .8;
}
.rings i {
  position: absolute; inset: 0;
  border: 1px solid rgba(192, 120, 86, .28);
  border-radius: 50%;
  animation: ringPulse 7s var(--ease-soft) infinite;
  animation-delay: var(--rd, 0s);
}
@keyframes ringPulse {
  0%   { transform: scale(.45); opacity: 0; }
  35%  { opacity: .9; }
  100% { transform: scale(1.05); opacity: 0; }
}
.app-section .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) { .rings { display: none; } }

/* Marquee: skew + edge fade */
.marquee {
  transform: rotate(-0.6deg) scale(1.01);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* Alternating warmth in testimonial cards */
.word-card:nth-child(3n) { background: linear-gradient(170deg, #fff, var(--cream)); }
.word-card:nth-child(4n) { border-top: 2px solid var(--blush); }

/* Parallax elements get GPU hint */
[data-parallax] { will-change: transform; }

/* Magnetic buttons: transform handled by JS; keep transitions off transform there */
.btn.magnetic { transition: box-shadow .4s ease, color .3s ease; }

@media (prefers-reduced-motion: reduce) {
  .blob, .rings i, .ornament svg { animation: none !important; }
  .progress-bar { display: none; }
}

/* Parallax elements: reveal by fade + blur only, transform belongs to the parallax loop */
[data-parallax].reveal {
  transform: none;
  transition: opacity 1.1s var(--ease-out) var(--d, 0s), filter 1.1s var(--ease-out) var(--d, 0s);
}

/* Anchored sections clear the fixed header */
[id] { scroll-margin-top: 96px; }

/* ============================================================
   Round 2 — Brand integration & interactive 3D
   ============================================================ */
:root {
  --wc-light: #A9D6E8;   /* watercolor blues from the SF signature logo */
  --wc:       #5E93C4;
  --wc-deep:  #2F5C8F;
  --night:    #0D1522;   /* Mirror Truth "as above" night */
  --night-2:  #131E30;
}

/* ---- Brand lockup (header + footer) ---- */
.brand .sf-logo { height: 58px; width: auto; display: block; transition: height .5s var(--ease-out); }
.site-head.scrolled .brand .sf-logo { height: 46px; }
.foot-logo svg { height: 74px; width: auto; margin-bottom: .4rem; }

/* ---- Watercolor blue grace notes ---- */
.marquee .tilde { color: var(--wc); }
.portrait-halo { border-color: rgba(94, 147, 196, .38); }
.portrait-halo::after { color: var(--wc); }

/* ---- Mirror Truth night section ---- */
.app-section--night {
  background:
    radial-gradient(70% 80% at 80% 12%, rgba(94, 147, 196, .30), transparent 62%),
    radial-gradient(50% 60% at 12% 88%, rgba(47, 92, 143, .28), transparent 65%),
    linear-gradient(160deg, var(--night-2), var(--night) 85%);
}
.app-section--night .eyebrow { color: var(--wc-light); }
.app-section--night .eyebrow::before { background: linear-gradient(90deg, transparent, var(--wc-light)); }
.app-section--night h2 { color: var(--paper); }
.app-section--night .accent-word { color: var(--wc-light); }
.app-section--night p { color: rgba(244, 239, 230, .78); }
.app-section--night strong { color: var(--paper); }
.app-section--night a:not(.btn) { color: var(--wc-light); }
.app-section--night .chip {
  background: rgba(244, 239, 230, .08);
  border-color: rgba(244, 239, 230, .16);
  color: var(--cream);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.app-section--night .chip:hover { background: rgba(244, 239, 230, .16); }
.app-section--night .fine-print { color: rgba(244, 239, 230, .5); }
.app-section--night .rings i { border-color: rgba(169, 214, 232, .2); }
.app-section--night .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .28); }
.app-section--night .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--wc-light), 0 10px 26px rgba(0, 0, 0, .35); color: var(--wc-light); }

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 980px) { .app-grid { grid-template-columns: 1fr; } }

.mt-visual { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.mt-logo { width: min(300px, 74%); height: auto; opacity: 0; animation: mtIn 1.6s var(--ease-out) .3s forwards; }
@keyframes mtIn { to { opacity: .96; } }
.mt-canvas {
  width: 100%;
  aspect-ratio: 1.06;
  display: block;
  touch-action: none;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.mt-canvas.ready { opacity: 1; }
.mt-hint {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(169, 214, 232, .5);
}
@media (max-width: 980px) { .mt-canvas { max-width: 420px; margin-inline: auto; } }

/* ---- Interactive glare on tactile cards ---- */
.step-card::after, .offer-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 50%),
      rgba(255, 255, 255, .55), transparent 46%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.step-card:hover::after, .offer-card:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .mt-logo { opacity: .96; animation: none; }
  .mt-canvas { opacity: 1; }
}

/* ============================================================
   Round 3 — The Simply Love blues take the lead
   (warm neutral foundation stays; accent shifts to the
    watercolor blues of the brand; clay becomes the warm echo)
   ============================================================ */
:root {
  --royal: #2E4EA1;          /* deep watercolor indigo from the heart mark */
  --wc-mid: #4A66B0;
}

/* accents & wayfinding */
.eyebrow { color: var(--wc-deep); }
.eyebrow::before { background: linear-gradient(90deg, transparent, var(--wc)); }
.accent-word { color: var(--wc-mid); }
.text-link { color: var(--wc-deep); }
.text-link:hover { color: var(--wc); }
a { color: var(--wc-deep); }
a:hover { color: var(--wc); }
.step-card:hover .step-num { color: var(--wc-mid); }
.scroll-cue::after { background: linear-gradient(var(--wc), transparent); }
.progress-bar { background: linear-gradient(90deg, var(--wc-light), var(--wc-mid)); }
.ornament { color: var(--wc-mid); }
.nav a::after { background: var(--wc-mid); }
.nav a[aria-current="page"] { color: var(--wc-deep); }

/* primary action = watercolor */
.btn--primary {
  background: linear-gradient(135deg, var(--wc-mid) 0%, var(--royal) 100%);
  box-shadow: 0 8px 24px rgba(46, 78, 161, .28), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary::before { background: linear-gradient(135deg, var(--wc), var(--wc-mid)); }
.btn--primary:hover { box-shadow: 0 16px 36px rgba(46, 78, 161, .38), inset 0 1px 0 rgba(255,255,255,.3); }
.nav-cta:hover { background: var(--royal); box-shadow: 0 10px 24px rgba(46, 78, 161, .3); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--wc-mid), 0 10px 26px rgba(51, 41, 31, .08); color: var(--wc-deep); }

/* offer cards lift toward blue */
.offer-card:hover { border-top-color: var(--wc-mid); }
.word-card footer { color: var(--wc-deep); }

/* the warm clay stays as counterpoint */
.marquee span em { color: var(--clay); }
.quote .q-mark { color: var(--blush); }

/* night section accent words follow the sky */
.cta-band .accent-word, .cta-band em.accent-word { color: var(--wc-light); }
.cta-band .eyebrow { color: var(--wc-light); }
.cta-band .eyebrow::before { background: linear-gradient(90deg, transparent, var(--wc-light)); }

/* heart mark placements */
.cta-heart { display: flex; justify-content: center; margin-bottom: .6rem; }
.cta-heart .sl-heart { width: 120px; height: auto; }
.cta-heart .sl-heart text { display: none; }   /* on dark bands: just the pool + heart */
.outcome-heart { display: flex; justify-content: center; margin-bottom: var(--space-s); }
.outcome-heart .sl-heart { width: 168px; height: auto; }

/* focus ring follows the accent */
a:focus-visible, button:focus-visible { outline-color: var(--wc-mid); }

/* ============================================================
   Round 4 — The official brand kit
   Colors from BrandGuide-SimplyLove: 0418A8 · 2D8CCB · 19ADE4 · C6E9F7
   Type: Playfair Display (brand serif) leads; Fraunces supports
   ============================================================ */
:root {
  --serif: "Playfair Display", "Fraunces", "Georgia", serif;
  --royal:    #0418A8;
  --wc-mid:   #2D8CCB;
  --wc:       #19ADE4;
  --wc-light: #C6E9F7;
  --wc-deep:  #0418A8;
  --silver:   #C2C1C0;
  --charcoal: #2D2D2D;
}

/* brand logo image sizing (replaces the inline svg lockup) */
.brand .sf-logo { height: 58px; width: auto; }
.foot-logo img { height: 82px; width: auto; margin-bottom: .5rem; }

/* real heart marks */
.cta-heart img { width: 118px; height: auto; opacity: .95; }
.outcome-heart img { width: min(300px, 60vw); height: auto; }

/* watercolor washes — the brand's own texture */
.wash { position: absolute; pointer-events: none; }
.wash--quote {
  top: 50%; left: 50%;
  translate: -50% -52%;
  width: min(700px, 92%);
  opacity: .17;
  z-index: -2;
}
.wash--hero {
  top: -14%; right: -9%;
  width: clamp(260px, 34vw, 460px);
  opacity: .13;
  transform: rotate(8deg);
}
.page-hero { isolation: isolate; }
.page-hero .wrap--narrow { position: relative; z-index: 1; }

/* Mirror Truth emblem watermark on the night panels */
.mt-watermark {
  position: absolute;
  left: -6%; bottom: -12%;
  width: 58%;
  opacity: .05;
  pointer-events: none;
  filter: blur(1px);
}

/* quote italics carry the brand's Playfair voice */
.quote blockquote { font-family: var(--serif); }

/* accent tuning against the new, brighter blues */
.accent-word { color: var(--wc-mid); }
.eyebrow { color: var(--wc-mid); }
.cta-band .accent-word, .cta-band em.accent-word { color: var(--wc-light); }
.mt-hint { color: rgba(198, 233, 247, .55); }
.app-section--night .eyebrow { color: var(--wc); }
.app-section--night .accent-word { color: var(--wc); }

/* headline accent words: Playfair Display Italic, per the brand guide */
.accent-word, .quote blockquote, .marquee span em {
  font-family: "Playfair Display", var(--serif);
  font-style: italic;
}

/* Written testimonial notes (pinned-note style, photo-free) */
.testi-note--text {
  padding: 2.2rem 1.6rem 1.6rem;
  background: linear-gradient(175deg, #fff, var(--cream));
}
.testi-note--text p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}
.testi-note--text footer {
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 560;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wc-mid);
}

/* ============================================================
   Round 5 — Gold, not brown · the signature logo, writ large
   ============================================================ */
:root {
  /* gold family replaces every brown */
  --gold:       #C9A227;
  --gold-deep:  #A8821F;
  --gold-light: #E7CF8C;
  --champagne:  #F6EBD3;
  --clay:       #C9A227;
  --clay-deep:  #A8821F;
  --clay-soft:  #E7CF8C;
  --blush:      #EFDFAF;
  --taupe:      #877C5E;
  --mushroom:   #B5A97F;
  --ink:        #3B3B3B;      /* charcoal, per brand guide */
  --espresso:   #262626;
  --paper:      #FBF8F1;
  --cream:      #F7F1E3;
  --sand:       #EFE6D2;
  --sand-deep:  #E3D5B4;
  --shadow-soft:
      0 1px 2px rgba(45, 45, 45, .04),
      0 6px 18px rgba(45, 45, 45, .06),
      0 24px 48px rgba(45, 45, 45, .07);
  --shadow-lift:
      0 2px 4px rgba(45, 45, 45, .05),
      0 12px 28px rgba(45, 45, 45, .09),
      0 36px 72px rgba(168, 130, 31, .12);
}

/* warm glows shift from blush-brown to champagne-gold */
.cursor-light {
  background: radial-gradient(circle,
      rgba(231, 207, 140, .5) 0%,
      rgba(231, 207, 140, .18) 35%,
      transparent 70%);
}
.hero::before {
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(231, 207, 140, .5), transparent 70%),
    radial-gradient(50% 40% at 20% 80%, rgba(25, 173, 228, .12), transparent 70%),
    linear-gradient(175deg, var(--paper) 0%, var(--cream) 55%, var(--sand) 130%);
}
.cta-band {
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(201, 162, 39, .30), transparent 70%),
    linear-gradient(160deg, #262626, #151515 90%);
}
.cta-band .cta-stars i { background: var(--gold-light); }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.cta-band .accent-word, .cta-band em.accent-word { color: var(--gold-light); }
.cta-band .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 10px 26px rgba(0,0,0,.3); color: var(--gold-light); }
.quote .q-mark { color: var(--gold-light); }
.marquee span em { color: var(--gold-deep); }
.testi-note::before { background: rgba(231, 207, 140, .8); }   /* gold tape */
.word-card:nth-child(4n) { border-top-color: var(--gold-light); }
.step-card:hover .step-num { color: var(--gold); }
.ornament { color: var(--gold); }
.portrait-halo { border-color: rgba(201, 162, 39, .45); }
.portrait-halo::after { color: var(--gold); }
.app-section--night .rings i { border-color: rgba(201, 162, 39, .28); }   /* gold rings behind gold logo */
.mt-hint { color: rgba(231, 207, 140, .55); }

/* blue -> gold gradient headline (as on the live site) */
.grad-blue-gold {
  background: linear-gradient(92deg, var(--wc-mid) 0%, var(--wc) 35%, var(--gold) 78%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* the signature logo, writ large */
.brand .sf-logo { height: 64px; }
.site-head.scrolled .brand .sf-logo { height: 50px; }
.foot-logo img { height: 118px; }
.sf-logo--xl {
  height: clamp(92px, 12vw, 136px);
  width: auto;
  margin-bottom: 1.4rem;
  display: block;
}
.sf-hero-logo { display: flex; justify-content: center; margin-top: var(--space-m); }
.sf-hero-logo .sf-logo--xl { margin-bottom: 0; }

/* ============================================================
   THE COHERENCE HEART — landing interactive
   ============================================================ */
#heart-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 2s ease;
}
#heart-canvas.ready { opacity: 1; }

.game-hint {
  margin: 0 auto var(--space-m);
  max-width: 44ch;
  font-size: .85rem;
  font-style: italic;
  font-family: var(--serif);
  color: var(--taupe);
  letter-spacing: .02em;
}

.clarity-ui {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(4.5rem, 10vh, 7rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.clarity-label {
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--taupe);
}
.clarity-label b { font-weight: 560; color: var(--espresso); }
@media (max-width: 640px) { .clarity-ui { display: none; } }

.bloom-word {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 1.2vw, 1.7rem);
  color: var(--gold-deep);
  opacity: 0;
  transition: opacity 1.4s ease, transform 1.4s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(231, 207, 140, .6);
}
.bloom-word.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 480px) {
  .bloom-word { white-space: normal; width: 90vw; text-align: center; }
}

/* mid-story photograph */
.story-photo {
  margin: var(--space-m) 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.story-photo img {
  width: 100%;
  display: block;
  transition: transform 1.6s var(--ease-out);
}
.story-photo:hover img { transform: scale(1.03); }
