/* =========================================================
   Bloom in Joy: modern coaching site.
   Palette: warm cream, sage, terracotta, deep evergreen.
   Type:    Fraunces (display serif) + Inter (body).
   ========================================================= */

:root {
  --cream: #FBF6EE;
  --cream-2: #F5EDE0;
  --sand: #ECDFCE;
  --terra: #C8896E;
  --terra-deep: #A66A50;
  --rose: #E8B4A0;
  --sage: #8FA889;
  --sage-deep: #5C7359;
  --forest: #2D3A2E;
  --ink: #1F2A20;
  --muted: #5E6B5E;
  --gold: #D9A55C;
  --white: #FFFFFF;

  /* Coral palette, carried over from the original site for continuity. */
  --coral: #F28C93;       /* original site accent */
  --coral-soft: #F8B8BC;  /* lighter wash */
  --coral-deep: #E1525F;  /* original site deep accent */

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;

  --shadow-soft: 0 10px 40px -20px rgba(45, 58, 46, 0.25);
  --shadow-card: 0 24px 60px -30px rgba(45, 58, 46, 0.35);

  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
input, textarea { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =========================================================
   Typography
   ========================================================= */
/* Avoid widows (a single word stranded on the last wrapped line)
   for body text, and balance line lengths for headlines. The browser
   handles this dynamically across viewport and content changes. */
body { text-wrap: pretty; }
h1, h2, h3, h4,
.eyebrow,
.hero-title,
.section-title,
.q-section-title {
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--terra-deep);
}
.eyebrow.centered { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--forest);
  margin-top: 0.5rem;
}
.section-title.centered { text-align: center; }
.section-title em { font-style: italic; color: var(--terra); }

.section-lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  margin-top: 1.25rem;
  max-width: 56ch;
}
.section-lead.centered { margin-inline: auto; text-align: center; }
.section-lead strong { color: var(--forest); font-weight: 600; }
.section-lead em { color: var(--terra-deep); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.4s var(--ease-out),
              background-color 0.3s ease,
              box-shadow 0.4s ease,
              color 0.3s ease;
  white-space: nowrap;
  will-change: transform;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 8px 24px -10px rgba(45,58,46,0.45);
}
.btn-primary:hover {
  background: var(--terra-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(166,106,80,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(45,58,46,0.25);
}
.btn-ghost:hover {
  background: rgba(45,58,46,0.06);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.1rem 2rem;
  font-size: 1.02rem;
  margin-top: 2rem;
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px -10px rgba(226,82,95,0.5);
}
.btn-coral:hover {
  background: linear-gradient(135deg, var(--coral-deep) 0%, var(--coral-deep) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px rgba(226,82,95,0.55);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem var(--gutter);
  z-index: 50;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(251, 246, 238, 0.85);
  backdrop-filter: saturate(120%) blur(12px);
  -webkit-backdrop-filter: saturate(120%) blur(12px);
  box-shadow: 0 1px 0 rgba(45,58,46,0.06);
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--forest);
  letter-spacing: 0.005em;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFD9D5 0%, var(--coral) 45%, var(--coral-deep) 100%);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.08), 0 2px 6px -2px rgba(226,82,95,0.4);
  display: inline-block;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-size: 0.95rem;
}
.site-nav a {
  color: var(--forest);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.25s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav .nav-cta {
  background: var(--forest);
  color: var(--cream);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--terra-deep); }

@media (max-width: 700px) {
  .site-nav { gap: 0.9rem; font-size: 0.88rem; }
  .site-nav a:not(.nav-cta) { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 9rem var(--gutter) 6rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin-top: 1.25rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--coral-deep);
  position: relative;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0.06em;
  height: 0.18em;
  background: linear-gradient(90deg, transparent, var(--coral) 20%, var(--coral) 80%, transparent);
  opacity: 0.7;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 1.2s 1.2s var(--ease-out) forwards;
  border-radius: 999px;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 50ch;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.32rem);
  color: var(--muted);
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* Background blobs (organic) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.blob-a {
  top: -8%; left: -8%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--coral-soft) 0%, transparent 70%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.blob-b {
  top: 20%; right: -10%;
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  animation: drift-b 28s ease-in-out infinite alternate;
}
.blob-c {
  bottom: -10%; left: 30%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.4;
  animation: drift-c 30s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(60px, 40px) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-50px, 60px) scale(1.1); } }
@keyframes drift-c { to { transform: translate(40px, -30px) scale(1.05); } }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(45,58,46,0.35);
  border-radius: 999px;
  z-index: 2;
}
.scroll-hint span {
  display: block;
  width: 3px; height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--forest);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(12px); opacity: 0.2; }
}

/* =========================================================
   Recognize
   ========================================================= */
.recognize {
  padding: 7rem 0 6rem;
  background: var(--cream);
  position: relative;
}

.recognize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 3.5rem;
}

.recognize-card {
  background: var(--white);
  border: 1px solid rgba(45,58,46,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.recognize-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.card-glyph {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--terra-deep);
  margin-bottom: 1.2rem;
}
.card-glyph svg { width: 26px; height: 26px; }
.recognize-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--forest);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.recognize-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* =========================================================
   Method
   ========================================================= */
.method {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  position: relative;
  overflow: hidden;
}

.method-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 860px) {
  .method-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.method-text .btn { margin-top: 2rem; }

.method-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}
.petal {
  position: absolute;
  top: 50%; left: 50%;
  width: 38%; height: 58%;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, var(--rose) 0%, var(--terra) 100%);
  transform-origin: 50% 100%;
  opacity: 0.85;
  box-shadow: inset -8px -10px 30px rgba(166,106,80,0.18);
}
.petal-1 { transform: translate(-50%, -100%) rotate(0deg); background: linear-gradient(180deg, var(--coral-soft) 0%, var(--coral) 100%); }
.petal-2 { transform: translate(-50%, -100%) rotate(72deg); background: linear-gradient(180deg, var(--rose) 0%, var(--gold) 100%); }
.petal-3 { transform: translate(-50%, -100%) rotate(144deg); background: linear-gradient(180deg, var(--gold) 0%, var(--terra) 100%); }
.petal-4 { transform: translate(-50%, -100%) rotate(216deg); background: linear-gradient(180deg, var(--terra) 0%, var(--coral) 100%); }
.petal-5 { transform: translate(-50%, -100%) rotate(288deg); background: linear-gradient(180deg, var(--coral) 0%, var(--coral-deep) 100%); }
.petal-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 22%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFE7C9 0%, var(--gold) 60%, var(--terra-deep) 100%);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 30px -10px rgba(166,106,80,0.5);
}
.method-art {
  animation: bloom-rotate 60s linear infinite;
}
@keyframes bloom-rotate { to { transform: rotate(360deg); } }

/* =========================================================
   About Lynda
   ========================================================= */
.about {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  overflow: hidden;
}

.blob-coral {
  top: -10%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--coral-soft) 0%, transparent 70%);
  opacity: 0.6;
  animation: drift-c 32s ease-in-out infinite alternate;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-portrait {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

.portrait-frame {
  position: relative;
  /* Aspect tuned to Lynda's photo (343x540 ≈ 5:8) so the entire portrait fits cleanly */
  aspect-ratio: 5 / 8;
  /* Soft rounded rectangle, matching the site's card language. */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 60px -30px rgba(45,58,46,0.35),
    0 12px 30px -15px rgba(226,82,95,0.25);
  isolation: isolate;
  background: linear-gradient(135deg, var(--coral-soft) 0%, var(--rose) 50%, var(--coral) 100%);
}

.portrait-shape {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(225,82,95,0.25) 0%, transparent 60%);
  z-index: 0;
}

.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 2;
  transition: opacity 0.6s ease, transform 1.2s var(--ease-out);
}
.portrait-img.img-missing {
  display: none;
}
.portrait-frame:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em;
}
.portrait-initials {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  font-style: italic;
  text-shadow: 0 6px 24px rgba(176, 50, 65, 0.35);
}

/* Decorative ring around the portrait, matching the rounded rectangle scaled outward. */
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(226,82,95,0.25);
  border-radius: calc(var(--radius-lg) + 14px);
  z-index: -1;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.45;
  filter: blur(16px);
  z-index: -1;
}

.portrait-flourish {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  color: var(--coral);
  opacity: 0.6;
}
.portrait-flourish svg { width: 110px; height: auto; }

.about-text .btn { margin-top: 2rem; }

.credentials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
  padding: 0;
}
.credentials li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--coral-deep);
  background: rgba(242,140,147,0.12);
  border: 1px solid rgba(226,82,95,0.2);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out);
}
.credentials li:hover {
  background: rgba(242,140,147,0.22);
  transform: translateY(-1px);
}

/* =========================================================
   Experience / outcomes
   ========================================================= */
.experience {
  padding: 7rem 0;
  background: var(--cream);
}

.experience-list {
  list-style: none;
  margin: 4rem auto 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(45,58,46,0.1);
}
.experience-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid rgba(45,58,46,0.1);
  align-items: start;
  transition: background-color 0.4s ease, padding-left 0.4s ease;
  border-radius: 8px;
}
.experience-item:hover {
  background: rgba(242,140,147,0.06);
  padding-left: 1rem;
}
.experience-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--coral-deep);
  letter-spacing: 0;
  min-width: 2.5rem;
  padding-top: 0.1rem;
}
.experience-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--forest);
  margin-bottom: 0.4rem;
}
.experience-item p {
  color: var(--muted);
  font-size: 1rem;
}

/* =========================================================
   Program
   ========================================================= */
.program {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-card);
  max-width: 880px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(20px);
}
.program-card::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(20px);
}
.program-card > * { position: relative; z-index: 1; }

.program-lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--muted);
  margin-top: 1.25rem;
  max-width: 60ch;
}

.program-features {
  list-style: none;
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
.program-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.2rem;
  background: var(--cream);
  border-radius: var(--radius-md);
}
.program-features strong { color: var(--forest); font-weight: 600; }
.program-features div { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }

.feature-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  flex: none;
}
.feature-icon svg { width: 16px; height: 16px; }

/* =========================================================
   Connect
   ========================================================= */
.connect {
  position: relative;
  padding: 7rem 0 5rem;
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.blob-d {
  top: 10%; left: -8%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
  opacity: 0.5;
  animation: drift-a 24s ease-in-out infinite alternate;
}
.blob-e {
  bottom: -10%; right: -10%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  opacity: 0.5;
  animation: drift-b 26s ease-in-out infinite alternate;
}

.connect-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.connect-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.connect-cta .btn { margin-top: 0; }
.connect-meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}

.form-status {
  text-align: center;
  font-size: 0.95rem;
  color: var(--sage-deep);
  min-height: 1.3em;
}

/* Honeypot: visually hidden from humans, off-screen, but in the DOM for bots */
.field-honeypot {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: 4rem 0 3rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}
.footer-tagline {
  color: rgba(251,246,238,0.72);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.footer-meta {
  color: rgba(251,246,238,0.42);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* =========================================================
   Reveal-on-scroll animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.in:nth-child(2) { transition-delay: 0.06s; }
.reveal.in:nth-child(3) { transition-delay: 0.12s; }
.reveal.in:nth-child(4) { transition-delay: 0.18s; }

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

/* =========================================================
   Questionnaire page
   ========================================================= */
.page-questionnaire {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 60%, var(--sand) 100%);
}

.questionnaire {
  position: relative;
  padding: 9rem 0 6rem;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
}

.questionnaire-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.questionnaire-intro {
  text-align: center;
  margin-bottom: 4rem;
}
.questionnaire-intro .eyebrow { margin-bottom: 0.6rem; }
.questionnaire-intro .section-title { margin-top: 0.25rem; }
.questionnaire-intro .section-lead { margin-top: 1rem; }

.questionnaire-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.questionnaire-form.is-fading {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .questionnaire-form,
  .questionnaire-form.is-fading {
    transition: none;
    transform: none;
  }
}

/* Each section is a soft card on its own. Visually grouped, easy to scan. */
.q-section {
  background: var(--white);
  border: 1px solid rgba(45,58,46,0.06);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.q-section:hover {
  box-shadow: var(--shadow-card);
}

.q-section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(45,58,46,0.08);
}
.q-section-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--coral-deep);
  line-height: 1.1;
  padding-top: 0.05rem;
}
.q-section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem);
  line-height: 1.2;
  color: var(--forest);
  letter-spacing: -0.005em;
}
.q-section-lead {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.q-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.2rem;
}
/* Wider row gap for sections whose questions are each substantial on their own. */
.q-section-wide .q-fields {
  row-gap: 3.75rem;
}
@media (max-width: 640px) {
  .q-section-wide .q-fields { row-gap: 2.75rem; }
}
.q-field { display: flex; flex-direction: column; gap: 0.5rem; }
.q-field-wide { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .q-fields { grid-template-columns: 1fr; }
}

.q-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.005em;
}
.q-required {
  color: var(--coral-deep);
  margin-left: 0.25rem;
  font-weight: 600;
}
.q-help {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -0.15rem;
  margin-bottom: 0.15rem;
}

.q-field input[type="text"],
.q-field input[type="email"],
.q-field input[type="tel"],
.q-field textarea {
  background: var(--cream);
  border: 1px solid rgba(45,58,46,0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.05rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.q-field textarea {
  resize: vertical;
  min-height: 110px;
}
.q-field input:focus,
.q-field textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(242,140,147,0.18);
}

/* Single/multi-choice as soft pill chips */
.q-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.2rem;
}
/* Stacked variant: full-sentence options read as a list of choices, not a row of chips. */
.q-options-stack {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
}
.q-options-stack .q-option {
  display: flex;
  width: 100%;
}
.q-options-stack .q-option-label {
  width: 100%;
  padding: 0.75rem 1.25rem;
  line-height: 1.45;
}
.q-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.q-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.q-option-label {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid rgba(45,58,46,0.12);
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: background-color 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease,
              transform 0.3s var(--ease-out),
              box-shadow 0.3s ease;
}
.q-option:hover .q-option-label {
  background: var(--cream-2);
  border-color: rgba(226,82,95,0.3);
  transform: translateY(-1px);
}
.q-option input:focus-visible + .q-option-label {
  box-shadow: 0 0 0 4px rgba(242,140,147,0.25);
}
.q-option input:checked + .q-option-label {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  border-color: var(--coral-deep);
  color: var(--white);
  box-shadow: 0 6px 18px -8px rgba(226,82,95,0.45);
}

.cf-turnstile-wrap {
  display: flex;
  justify-content: center;
  min-height: 65px;
  margin-top: 0.5rem;
}

.questionnaire-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}
.questionnaire-submit .btn { margin-top: 0; }

/* Success state */
.questionnaire-success {
  text-align: center;
  padding: 3rem 1rem 2rem;
  animation: success-fade-in 0.9s var(--ease-out) both;
}
.questionnaire-success .btn { margin-top: 2rem; }
.questionnaire-success .section-title { margin-top: 0.5rem; }
.questionnaire-success .section-lead { margin-top: 1rem; margin-inline: auto; }

@keyframes success-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Little blooming flower for the success panel */
.success-bloom {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
}
.success-bloom .bloom-petal {
  position: absolute;
  top: 50%; left: 50%;
  width: 36%;
  height: 56%;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, var(--coral-soft) 0%, var(--coral) 100%);
  transform-origin: 50% 100%;
  opacity: 0;
  animation: bloom-pop 0.6s var(--ease-out) forwards;
}
.success-bloom .bloom-petal:nth-child(1) { transform: translate(-50%, -100%) rotate(0deg)   scale(0.4); animation-delay: 0.05s; }
.success-bloom .bloom-petal:nth-child(2) { transform: translate(-50%, -100%) rotate(72deg)  scale(0.4); animation-delay: 0.15s; background: linear-gradient(180deg, var(--rose) 0%, var(--gold) 100%); }
.success-bloom .bloom-petal:nth-child(3) { transform: translate(-50%, -100%) rotate(144deg) scale(0.4); animation-delay: 0.25s; background: linear-gradient(180deg, var(--gold) 0%, var(--terra) 100%); }
.success-bloom .bloom-petal:nth-child(4) { transform: translate(-50%, -100%) rotate(216deg) scale(0.4); animation-delay: 0.35s; background: linear-gradient(180deg, var(--terra) 0%, var(--coral) 100%); }
.success-bloom .bloom-petal:nth-child(5) { transform: translate(-50%, -100%) rotate(288deg) scale(0.4); animation-delay: 0.45s; background: linear-gradient(180deg, var(--coral) 0%, var(--coral-deep) 100%); }
.success-bloom .bloom-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 26%; height: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFE7C9 0%, var(--gold) 60%, var(--terra-deep) 100%);
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 6px 20px -6px rgba(166,106,80,0.5);
  animation: bloom-center-pop 0.5s 0.55s var(--ease-out) forwards;
}
@keyframes bloom-pop {
  0%   { opacity: 0; }
  60%  { opacity: 1; }
  100% { opacity: 0.92; }
}
.success-bloom .bloom-petal:nth-child(1) { animation-name: bloom-pop-1; }
.success-bloom .bloom-petal:nth-child(2) { animation-name: bloom-pop-2; }
.success-bloom .bloom-petal:nth-child(3) { animation-name: bloom-pop-3; }
.success-bloom .bloom-petal:nth-child(4) { animation-name: bloom-pop-4; }
.success-bloom .bloom-petal:nth-child(5) { animation-name: bloom-pop-5; }
@keyframes bloom-pop-1 { from { opacity: 0; transform: translate(-50%, -100%) rotate(0deg)   scale(0.4); } to { opacity: 0.92; transform: translate(-50%, -100%) rotate(0deg)   scale(1); } }
@keyframes bloom-pop-2 { from { opacity: 0; transform: translate(-50%, -100%) rotate(72deg)  scale(0.4); } to { opacity: 0.92; transform: translate(-50%, -100%) rotate(72deg)  scale(1); } }
@keyframes bloom-pop-3 { from { opacity: 0; transform: translate(-50%, -100%) rotate(144deg) scale(0.4); } to { opacity: 0.92; transform: translate(-50%, -100%) rotate(144deg) scale(1); } }
@keyframes bloom-pop-4 { from { opacity: 0; transform: translate(-50%, -100%) rotate(216deg) scale(0.4); } to { opacity: 0.92; transform: translate(-50%, -100%) rotate(216deg) scale(1); } }
@keyframes bloom-pop-5 { from { opacity: 0; transform: translate(-50%, -100%) rotate(288deg) scale(0.4); } to { opacity: 0.92; transform: translate(-50%, -100%) rotate(288deg) scale(1); } }
@keyframes bloom-center-pop {
  to { transform: translate(-50%, -50%) scale(1); }
}
