/* ==========================================================================
   Deanie Robertson Coaching — design system
   Brand hexes (brand_context/assets.md): Pastel Azure #AAD4EB, Azure #396E9F,
   Gray Azure #6D7F86, Pastel Orange #FBA38E, Light Orange #F1C0B1.
   All other values below are tints/shades derived from those five hues
   (palette expansion is flagged as pending in assets.md).
   Fonts: Prata (headers), Playfair Display (quotes/profile names),
   Montserrat (body). MonteCarlo substitutes Moontime for web (Moontime is
   GHL-only; substitution flagged).
   ========================================================================== */

:root {
  /* brand — exact */
  --azure: #396E9F;
  --pastel: #AAD4EB;
  --gray-azure: #6D7F86;
  --peach: #FBA38E;
  --peach-soft: #F1C0B1;

  /* derived shades of Azure (headers on light, dark bands) */
  --azure-deep: #2B547A;
  --azure-ink: #1E3B57;

  /* derived tints */
  --pastel-40: #DDEEF7;
  --pastel-20: #EEF6FB;
  --mist: #F6FAFC;
  --peach-20: #FDF1ED;
  --cream: #FFFDFB;

  /* derived shade of Gray Azure for body text */
  --ink: #37444C;

  --font-display: "Prata", serif;
  --font-quote: "Playfair Display", serif;
  --font-body: "Montserrat", -apple-system, sans-serif;
  --font-script: "MonteCarlo", cursive;

  --w-content: 1140px;
  --w-narrow: 720px;
  --radius: 22px;
  --shadow-soft: 0 18px 50px -18px rgba(43, 84, 122, 0.22);
  --shadow-lift: 0 28px 70px -20px rgba(43, 84, 122, 0.32);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --section-pad: clamp(5rem, 11vw, 8.75rem);
}

/* ---------- 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-size: 1.03rem;
  line-height: 1.78;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--azure); text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--pastel); color: var(--azure-ink); }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--azure-ink); }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); line-height: 1.16; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.2; }
h3 { font-size: 1.3rem; line-height: 1.4; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-azure);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--peach);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--peach);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--azure);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
}
.script--peach { color: var(--peach); }

.lede { font-size: 1.14rem; line-height: 1.85; color: var(--gray-azure); }
.quote-text {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 500;
  color: var(--azure-deep);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.45;
}

/* ---------- layout ---------- */
.container { width: min(var(--w-content), 100% - 3rem); margin-inline: auto; }
.container--narrow { width: min(var(--w-narrow), 100% - 3rem); margin-inline: auto; }
section { position: relative; }
.section-pad { padding-block: var(--section-pad); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.1rem 2.1rem;
  border-radius: 999px;
  background: var(--azure);
  color: #fff;
  border: 1.5px solid var(--azure);
  white-space: nowrap;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.3s ease;
  will-change: transform;
}
.btn:hover { background: var(--azure-deep); border-color: var(--azure-deep); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { display: inline-block; transition: transform 0.45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--ghost {
  background: transparent;
  color: var(--azure);
}
.btn--ghost:hover { background: var(--azure); color: #fff; }

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--azure-deep);
}
.btn--light:hover { background: var(--pastel-20); border-color: var(--pastel-20); color: var(--azure-ink); box-shadow: none; }

.btn--lg { padding: 1.25rem 2.6rem; font-size: 0.92rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azure);
  position: relative;
  padding-bottom: 4px;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--peach);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(0.35); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding-block: 1.4rem;
}
.nav.scrolled {
  background: rgba(255, 253, 251, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(57, 110, 159, 0.1);
  padding-block: 0.8rem;
}
.nav-inner {
  width: min(var(--w-content), 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-logo {
  height: 74px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}
.nav.scrolled .brand-logo { height: 54px; }
.brand-name {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--azure-ink);
}
.brand-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gray-azure);
  margin-top: 0.15rem;
  margin-left: 2px;
}
.nav-links { display: flex; align-items: center; gap: 2.4rem; list-style: none; }
.nav-links a:not(.btn) {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azure-ink);
  position: relative;
  padding-bottom: 5px;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--peach);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { padding: 0.72rem 1.5rem; font-size: 0.74rem; }
@media (max-width: 720px) {
  .nav-links li.hide-m { display: none; }
  .nav-links { gap: 1.2rem; }
  .brand-name { font-size: 1.65rem; white-space: nowrap; }
  .brand-sub { letter-spacing: 0.34em; }
  .brand-logo { height: 56px; }
  .nav.scrolled .brand-logo { height: 46px; }
  .nav-links .btn { padding: 0.65rem 1.2rem; font-size: 0.7rem; }
}

/* ---------- ambient shapes ---------- */
.blob {
  position: absolute;
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
  filter: blur(46px);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob--pastel { background: var(--pastel); }
.blob--peach { background: var(--peach-soft); opacity: 0.4; }
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }
  50%  { border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%; }
  100% { transform: translate(4%, 6%) rotate(8deg) scale(1.08); border-radius: 52% 48% 42% 58% / 45% 52% 48% 55%; }
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- scroll reveal (hidden state only when JS is running) ---------- */
html.js .rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv--fade { transform: none; }
html.js .rv--left { transform: translateX(-36px); }
html.js .rv--right { transform: translateX(36px); }
html.js .rv--left.in, html.js .rv--right.in { transform: none; }

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

/* ==========================================================================
   HOME
   ========================================================================== */

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 880px);
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  background: linear-gradient(168deg, var(--mist) 0%, var(--pastel-20) 45%, var(--peach-20) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
.hero-script {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 5.4vw, 4.2rem);
  color: var(--peach);
  transform: rotate(-3deg);
  margin-bottom: 0.6rem;
  margin-left: 0.2rem;
}
.hero h1 .accent { color: var(--azure); }
.hero .lede { max-width: 34rem; margin-top: 1.7rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.6rem; }
.hero-note {
  margin-top: 1.4rem;
  font-size: 0.84rem;
  color: var(--gray-azure);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-note svg { flex: none; }

.portrait-wrap { position: relative; justify-self: center; width: min(100%, 430px); }
.portrait {
  position: relative;
  border-radius: 45% 45% var(--radius) var(--radius) / 32% 32% var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.portrait-echo {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--azure);
  opacity: 0.35;
  border-radius: 45% 45% var(--radius) var(--radius) / 32% 32% var(--radius) var(--radius);
  transform: translate(16px, 16px);
  pointer-events: none;
}
.portrait-badge {
  position: absolute;
  left: -1.6rem;
  bottom: 2.4rem;
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-soft);
  max-width: 240px;
}
.portrait-badge .script { font-size: 1.9rem; display: block; margin-bottom: 0.1rem; }
.portrait-badge p { font-size: 0.8rem; line-height: 1.55; color: var(--gray-azure); }

/* curved cap: sits above a section, filled with that section's background */
.curve-cap {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: clamp(36px, 5.5vw, 80px);
  display: block;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 8.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-wrap { width: min(100%, 350px); order: -1; }
  .portrait-badge { left: -0.5rem; }
  .scroll-hint { display: none; }
}

/* ---------- recognition (the quiet part) ---------- */
.quiet {
  background: var(--azure-ink);
  color: var(--pastel-20);
}
.quiet .eyebrow { color: var(--pastel); }
.quiet .eyebrow::before, .quiet .eyebrow::after { background: var(--peach); }
.quiet-lines { max-width: 46rem; margin-inline: auto; text-align: center; }
.quiet-line {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.6;
  color: var(--pastel-40);
  margin-block: 2.2rem;
}
.quiet-line strong { color: #fff; font-weight: 500; }
.quiet-close {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--pastel);
  margin-top: 3rem;
}
.quiet-script {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--peach-soft);
  display: block;
  margin-top: 2.8rem;
}

/* ---------- reframe (not broken) ---------- */
.reframe { background: var(--cream); }
.reframe-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.reframe-visual { position: relative; }
.reframe-visual .portrait { aspect-ratio: 4 / 5.1; border-radius: var(--radius); }
.reframe-visual .portrait img { object-position: top; }
.reframe-visual::before {
  content: "";
  position: absolute;
  inset: -2rem auto auto -2rem;
  width: 60%;
  height: 60%;
  background: var(--pastel-40);
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  z-index: -1;
}
.reframe-visual::after {
  content: "";
  position: absolute;
  inset: auto -1.5rem -2rem auto;
  width: 45%;
  height: 40%;
  background: var(--peach-20);
  border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%;
  z-index: -1;
}
.reframe h2 .strike {
  position: relative;
  white-space: nowrap;
  color: var(--gray-azure);
}
.reframe h2 .strike::after {
  content: "";
  position: absolute;
  left: -2%; top: 54%;
  width: 104%; height: 2.5px;
  background: var(--peach);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out) 0.5s;
}
.reframe h2 .strike.in::after { transform: scaleX(1); }
.reframe p + p { margin-top: 1.15rem; }
.reframe .quote-text { display: block; margin-top: 2.2rem; font-size: 1.35rem; }

@media (max-width: 900px) {
  .reframe-grid { grid-template-columns: 1fr; }
  .reframe-visual { max-width: 380px; margin-inline: auto; }
}

/* ---------- how it works ---------- */
.path { background: linear-gradient(180deg, var(--pastel-20) 0%, var(--mist) 100%); overflow: hidden; }
.path-head { text-align: center; max-width: 40rem; margin-inline: auto; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2.1rem 2.3rem;
  position: relative;
  box-shadow: 0 10px 34px -18px rgba(43, 84, 122, 0.18);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--pastel);
  line-height: 1;
  margin-bottom: 1.3rem;
  transition: color 0.4s ease;
}
.step:hover .step-num { color: var(--peach); }
.step h3 { margin-bottom: 0.8rem; }
.step p { font-size: 0.95rem; color: var(--gray-azure); }
.step-tag {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azure);
}
.path-cta { text-align: center; margin-top: clamp(3rem, 5vw, 4rem); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

/* ---------- M.O.R.E. ---------- */
.more { background: var(--cream); }
.more-head { max-width: 44rem; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.6rem, 5vw, 4rem);
}
.pillar {
  position: relative;
  border: 1px solid var(--pastel-40);
  border-radius: var(--radius);
  padding: 2.3rem 1.7rem 2rem;
  background: #fff;
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.4s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -20%;
  width: 130%;
  height: 70%;
  background: radial-gradient(closest-side, var(--pastel-20), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--pastel); }
.pillar:hover::before { opacity: 1; }
.pillar-letter {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--azure);
  display: block;
  margin-bottom: 1.1rem;
}
.pillar h3 { font-size: 1.06rem; letter-spacing: 0.04em; margin-bottom: 0.65rem; }
.pillar p { font-size: 0.88rem; line-height: 1.7; color: var(--gray-azure); position: relative; }
@media (max-width: 900px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { background: var(--azure-ink); color: var(--pastel-20); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.about .eyebrow { color: var(--pastel); }
.about h2 { color: #fff; }
.about p { color: var(--pastel-40); }
.about p + p { margin-top: 1.15rem; }
.about .portrait { border-radius: var(--radius); aspect-ratio: 4 / 5; }
.about .portrait-echo { border-color: var(--pastel); border-radius: var(--radius); }
.about .script { color: var(--peach-soft); font-size: 2.7rem; display: block; margin-top: 2rem; }
.about-sign { margin-top: 0.4rem; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pastel); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about .portrait-wrap { max-width: 360px; }
}

/* ---------- final cta ---------- */
.finale {
  background: linear-gradient(150deg, var(--pastel-20), var(--peach-20));
  text-align: center;
  overflow: hidden;
}
.finale-inner { max-width: 46rem; margin-inline: auto; position: relative; }
.finale .script { display: block; margin-bottom: 0.8rem; transform: rotate(-2deg); }
.finale p { max-width: 34rem; margin: 1.6rem auto 0; }
.finale .btn { margin-top: 2.6rem; }
.finale-privacy { margin-top: 1.6rem; font-size: 0.82rem; color: var(--gray-azure); }

/* ---------- testimonials ---------- */
.voices { background: linear-gradient(180deg, var(--pastel-20), var(--cream)); }
.voices-head { text-align: center; max-width: 40rem; margin-inline: auto; margin-bottom: clamp(2.6rem, 5vw, 3.8rem); }
.voices-grid { column-count: 2; column-gap: 1.6rem; }
.voice {
  break-inside: avoid;
  margin: 0 0 1.6rem;
  background: #fff;
  border: 1px solid var(--pastel-40);
  border-radius: var(--radius);
  padding: 1.9rem 2.1rem 1.7rem;
  box-shadow: var(--shadow-soft);
}
.voice::before {
  content: "\201C";
  display: block;
  font-family: var(--font-quote);
  font-size: 3rem;
  line-height: 0.8;
  color: var(--pastel);
  margin-bottom: 0.4rem;
}
.voice blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1.35rem;
}
.voice figcaption { display: flex; flex-direction: column; gap: 0.2rem; }
.voice-name {
  font-family: var(--font-quote);
  font-size: 1.08rem;
  color: var(--azure-deep);
}
.voice-name::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 2px;
  background: var(--peach);
  margin-bottom: 0.75rem;
}
.voice-tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-azure); }
@media (max-width: 720px) { .voices-grid { column-count: 1; } }

/* ---------- footer ---------- */
.footer { background: var(--azure-ink); color: var(--pastel-40); padding-block: 3.5rem 2.5rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.footer-logo {
  height: 62px;
  background: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
}
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: var(--pastel); }
.footer-links { display: flex; gap: 1.8rem; list-style: none; }
.footer-links a { color: var(--pastel-40); font-size: 0.82rem; letter-spacing: 0.08em; }
.footer-links a:hover { color: #fff; }
.footer-line {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(170, 212, 235, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
  color: var(--gray-azure);
}

/* ==========================================================================
   QUIZ
   ========================================================================== */
.quiz-body { background: linear-gradient(180deg, var(--mist) 0%, var(--pastel-20) 60%, var(--peach-20) 130%); min-height: 100svh; }

/* landing */
.quiz-hero {
  position: relative;
  min-height: min(92svh, 780px);
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  /* clip sideways only: blobs bleed past the section edge into the page gradient
     instead of being sliced into a hard line on tall screens */
  overflow-x: clip;
  overflow-y: visible;
}
.quiz-hero-inner { max-width: 47rem; margin-inline: auto; position: relative; }
.quiz-hero .script { display: block; transform: rotate(-2.5deg); margin-bottom: 1rem; }
.quiz-hero .lede { max-width: 36rem; margin: 1.8rem auto 0; }
.quiz-hero .btn { margin-top: 2.8rem; }
.quiz-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 2.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-azure);
}
.quiz-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.quiz-meta svg { color: var(--peach); }

/* engine shell */
.quiz-shell {
  max-width: 760px;
  margin-inline: auto;
  padding: 7.5rem 1.5rem 5rem;
  min-height: 100svh;
  display: none;
}
.quiz-shell.active { display: block; }

.quiz-progress { margin-bottom: 2.2rem; }
.quiz-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-azure);
}
.quiz-progress-labels .part { color: var(--azure); }
.quiz-bar { height: 3px; background: var(--pastel-40); border-radius: 3px; overflow: hidden; }
.quiz-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--azure), var(--peach));
  border-radius: 3px;
  transition: width 0.6s var(--ease-out);
}

.stage { position: relative; }
.q-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.q-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.62rem);
  line-height: 1.45;
  color: var(--azure-ink);
  margin-bottom: 1.8rem;
}
.q-options { display: grid; gap: 0.85rem; }
.q-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  width: 100%;
  padding: 1.05rem 1.2rem;
  border: 1.5px solid var(--pastel-40);
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.6;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.q-option:hover {
  border-color: var(--azure);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(43, 84, 122, 0.3);
}
.q-option.selected {
  border-color: var(--azure);
  background: var(--pastel-20);
}
.q-letter {
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pastel-40);
  color: var(--azure-deep);
  font-weight: 600;
  font-size: 0.78rem;
  margin-top: 0.1rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.q-option:hover .q-letter, .q-option.selected .q-letter { background: var(--azure); color: #fff; }

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
  min-height: 2.4rem;
}
.q-back {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-azure);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.25s ease;
}
.q-back:hover { color: var(--azure); }
.q-back[disabled] { opacity: 0; pointer-events: none; }

/* stage transitions */
.stage-anim-out { animation: stageOut 0.32s ease forwards; }
.stage-anim-in { animation: stageIn 0.5s var(--ease-out); }
@keyframes stageOut { to { opacity: 0; transform: translateX(-26px); } }
@keyframes stageIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* interstitial */
.interstitial { text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; }
.interstitial .script { display: block; margin-bottom: 0.6rem; }
.interstitial h2 { margin-bottom: 1.1rem; }
.interstitial p { max-width: 30rem; margin-inline: auto; color: var(--gray-azure); }
.interstitial .btn { margin-top: 2.2rem; }

/* gate */
.gate-card { text-align: center; }
.gate-card .script { display: block; margin-bottom: 0.4rem; }
.gate-card h2 { margin-bottom: 1rem; }
.gate-card > p { max-width: 28rem; margin-inline: auto; color: var(--gray-azure); }
.gate-form { max-width: 24rem; margin: 2.2rem auto 0; display: grid; gap: 1rem; text-align: left; }
.gate-form input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 1rem 1.3rem;
  border-radius: 14px;
  border: 1.5px solid var(--pastel-40);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.gate-form input::placeholder { color: var(--gray-azure); opacity: 0.75; }
.gate-form input:focus { outline: none; border-color: var(--azure); background: #fff; }
.gate-form input.err { border-color: var(--peach); }
.gate-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--gray-azure);
  padding: 0.2rem 0.2rem 0;
}
.gate-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  margin-top: 0.15rem;
  border: 1.5px solid var(--pastel);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.gate-consent input[type="checkbox"]:checked {
  background: var(--azure);
  border-color: var(--azure);
}
.gate-consent input[type="checkbox"]:checked::before {
  content: "";
  width: 0.6rem;
  height: 0.35rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.gate-consent input[type="checkbox"]:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; }
.gate-error { font-size: 0.85rem; color: #B45A44; min-height: 1.3rem; margin-top: -0.3rem; }
.gate-form .btn { justify-content: center; margin-top: 0.4rem; }
.gate-privacy { margin-top: 1.4rem; font-size: 0.8rem; color: var(--gray-azure); }

/* reveal */
.reveal-step { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-step.show { opacity: 1; transform: none; }
.reveal-head { text-align: center; padding-top: 1rem; }
.reveal-head .script { display: block; margin-bottom: 0.4rem; }
.reveal-kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray-azure);
  margin-bottom: 1rem;
}
.profile-name {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.3rem);
  line-height: 1.1;
  color: var(--azure-deep);
  margin-block: 0.6rem 1.2rem;
}
.profile-secondary { font-size: 0.95rem; color: var(--gray-azure); }
.profile-secondary em { font-family: var(--font-quote); color: var(--azure); font-size: 1.05rem; }

.reveal-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 2.2rem;
}
.reveal-card h3 { margin-bottom: 0.9rem; }
.reveal-card p + p { margin-top: 1rem; }
.reveal-mirror {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.75;
  color: var(--azure-deep);
}
.edge-card { border: 1.5px solid var(--pastel-40); background: var(--pastel-20); box-shadow: none; }
.edge-card .eyebrow { margin-bottom: 0.9rem; }

.paths { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.2rem; margin-top: 2.2rem; }
.path-card {
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.path-card--primary { background: var(--azure); color: #fff; box-shadow: var(--shadow-lift); }
.path-card--primary h3 { color: #fff; }
.path-card--primary p { color: var(--pastel-40); font-size: 0.94rem; }
.path-card--primary .btn { background: #fff; border-color: #fff; color: var(--azure-deep); margin-top: auto; }
.path-card--primary .btn:hover { background: var(--pastel-20); }
.path-card--soft { background: #fff; box-shadow: var(--shadow-soft); }
.path-card--soft p { color: var(--gray-azure); font-size: 0.94rem; }
.path-card--soft .btn { margin-top: auto; }
.path-note { font-size: 0.8rem; opacity: 0.85; }
@media (max-width: 720px) { .paths { grid-template-columns: 1fr; } }

.reveal-foot { text-align: center; margin-top: 2.6rem; padding-bottom: 2rem; }
.reveal-foot .script { font-size: 2.3rem; }

/* ---------- booking page ---------- */
.booking-page {
  position: relative;
  padding: 8rem 0 4rem;
  min-height: 100svh;
  /* full-width canvas: clip sideways only so blobs blend past the bottom edge, no hard line */
  overflow-x: clip;
  overflow-y: visible;
}
.booking-inner {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.booking-head { text-align: center; max-width: 40rem; margin-inline: auto; position: relative; }
.booking-head .script { display: block; transform: rotate(-2.5deg); margin-bottom: 0.9rem; }
.booking-head .lede { margin-top: 1.4rem; }
.booking-meta {
  margin-top: 1.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azure);
}
.booking-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(0.6rem, 2vw, 1.4rem);
  margin-top: 2.4rem;
  position: relative;
  min-height: 780px; /* keeps the card open while the GHL widget initializes (form_embed.js hides the iframe until ready) */
}
.booking-card::before {
  content: "One sec, pulling up the calendar...";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  color: var(--gray-azure);
}
.booking-card iframe { min-height: 700px; border-radius: calc(var(--radius) - 8px); position: relative; z-index: 1; background: #fff; }
.booking-privacy { text-align: center; margin-top: 1.6rem; font-size: 0.82rem; color: var(--gray-azure); }

/* small screens */
@media (max-width: 560px) {
  .q-card { padding: 1.5rem 1.2rem; }
  .q-option { padding: 0.9rem 0.95rem; }
}
