/* ═════════════════════════════════════════════
   higherself.bg — v2
   Mobile-first · living background · motion
═════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --cream:        #FAF7F2;
  --cream-card:   #F3EBE0;
  --cream-border: #E0D3C0;
  --brown:        #3D2A1E;
  --brown-muted:  #7A6658;
  --rose:         #C4897A;
  --rose-light:   #F5E3DC;
  --rose-dark:    #A67060;
  --white:        #FFFFFF;
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --shadow-sm:    0 2px 8px rgba(61,42,30,0.06);
  --shadow-md:    0 8px 24px rgba(61,42,30,0.10);
  --shadow-lg:    0 20px 60px rgba(61,42,30,0.12);
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─────────────────────────────────────────────
   RESET
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--brown);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

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

::selection { background: var(--rose-light); color: var(--brown); }

/* ─────────────────────────────────────────────
   LIVING BACKGROUND
   Pre-blurred radial gradients moved only with
   transform — GPU-cheap, smooth on mobile.
───────────────────────────────────────────── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, #FBF8F3 0%, #FAF6F0 50%, #F9F4EC 100%);
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.bg-blob-1 {
  width: 70vmax; height: 70vmax;
  top: -28vmax; right: -22vmax;
  background: radial-gradient(circle, rgba(196,137,122,0.14) 0%, rgba(196,137,122,0.06) 40%, rgba(196,137,122,0) 68%);
  animation: blob-drift-1 34s ease-in-out infinite alternate;
}
.bg-blob-2 {
  width: 62vmax; height: 62vmax;
  bottom: -24vmax; left: -18vmax;
  background: radial-gradient(circle, rgba(214,190,160,0.30) 0%, rgba(214,190,160,0.12) 42%, rgba(214,190,160,0) 68%);
  animation: blob-drift-2 42s ease-in-out infinite alternate;
}
.bg-blob-3 {
  width: 48vmax; height: 48vmax;
  top: 32%; left: 24%;
  background: radial-gradient(circle, rgba(245,227,220,0.55) 0%, rgba(245,227,220,0.20) 45%, rgba(245,227,220,0) 70%);
  animation: blob-drift-3 48s ease-in-out infinite alternate;
}
@keyframes blob-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-9vmax, 8vmax) scale(1.18); }
}
@keyframes blob-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10vmax, -7vmax) scale(1.12); }
}
@keyframes blob-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-7vmax, -9vmax) scale(1.22); }
}
/* fine grain — kills the "flat digital" feel */
.bg-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s ease,
    transform 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section    { padding: 64px 0; }
.section-sm { padding: 44px 0; }
@media (min-width: 769px) {
  .container  { padding: 0 24px; }
  .section    { padding: 96px 0; }
  .section-sm { padding: 60px 0; }
}

/* tinted section — slightly translucent so the
   living background breathes through */
.section-tint { background: rgba(243,235,224,0.62); }

/* ─────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--brown);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

p { line-height: 1.74; color: var(--brown-muted); }

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
  color: var(--brown-muted);
}

.pull-quote {
  border-left: 3px solid var(--rose);
  padding: 8px 0 8px 24px;
  margin: 36px 0;
}
.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--brown);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  min-height: 46px; /* comfortable tap target */
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196,137,122,0.28);
}
.btn-primary:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196,137,122,0.40);
}
.btn-outline {
  background: rgba(255,255,255,0.4);
  color: var(--brown);
  border: 1.5px solid var(--cream-border);
}
.btn-outline:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.btn-sm { padding: 11px 22px; font-size: 0.82rem; min-height: 40px; }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(224,211,192,0.55);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(250,247,242,0.94);
  box-shadow: 0 6px 24px rgba(61,42,30,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}
@media (min-width: 961px) { .nav-inner { height: 72px; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo-icon { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 16px;
}
.nav-link {
  position: relative;
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}
/* animated underline */
.nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1.5px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { opacity: 1; color: var(--rose); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white) !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 1 !important;
  box-shadow: 0 3px 12px rgba(196,137,122,0.26);
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--rose-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(196,137,122,0.38);
}

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  border: none;
  background: none;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

/* ─────────────────────────────────────────────
   MOBILE NAV OVERLAY — slides in, links stagger
───────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
  padding-top: calc(24px + env(safe-area-inset-top));
  overflow-y: auto;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.45s var(--ease-out), visibility 0.45s;
}
.mobile-nav.is-open {
  transform: none;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-nav-close {
  font-size: 1.4rem;
  line-height: 1;
  background: none;
  border: 1.5px solid var(--cream-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--brown);
  transition: border-color 0.2s, color 0.2s, transform 0.3s var(--ease-out);
}
.mobile-nav-close:hover { border-color: var(--rose); color: var(--rose); transform: rotate(90deg); }

.mobile-nav-links { list-style: none; }
.mobile-nav-links > li {
  border-bottom: 1px solid var(--cream-border);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.5s ease, transform 0.55s var(--ease-out);
}
.mobile-nav.is-open .mobile-nav-links > li {
  opacity: 1;
  transform: none;
}
.mobile-nav.is-open .mobile-nav-links > li:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.is-open .mobile-nav-links > li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.is-open .mobile-nav-links > li:nth-child(3) { transition-delay: 0.22s; }
.mobile-nav.is-open .mobile-nav-links > li:nth-child(4) { transition-delay: 0.29s; }
.mobile-nav.is-open .mobile-nav-links > li:nth-child(5) { transition-delay: 0.36s; }

.mobile-nav-links > li > a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.01em;
  transition: color 0.2s, padding-left 0.3s var(--ease-out);
}
.mobile-nav-links > li > a:hover { color: var(--rose); padding-left: 8px; }

.mobile-nav-cta {
  display: block;
  margin-top: 32px;
  padding: 17px 24px;
  background: var(--rose);
  color: var(--white) !important;
  border-radius: 999px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(196,137,122,0.32);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.4s, transform 0.55s var(--ease-out) 0.4s;
}
.mobile-nav.is-open .mobile-nav-cta { opacity: 1; transform: none; }

/* ─────────────────────────────────────────────
   MOBILE STICKY CTA
───────────────────────────────────────────── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(250,247,242,0.92);
  border-top: 1px solid var(--cream-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.35s var(--ease-out);
}
.mobile-sticky-cta.is-hidden { transform: translateY(110%); }
.mobile-sticky-cta a {
  display: block;
  background: var(--rose);
  color: var(--white);
  text-align: center;
  padding: 15px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(196,137,122,0.30);
  transition: background 0.2s, transform 0.2s;
}
.mobile-sticky-cta a:active { transform: scale(0.98); }

/* ─────────────────────────────────────────────
   RESPONSIVE NAV BREAKPOINT
───────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
/* mobile-first: the portrait sits clean on top (no veil over
   the face), melts into the living background, text follows */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 64px);
  overflow: hidden;
  background: transparent; /* the living background shows through */
}
.hero picture { display: block; line-height: 0; }
.hero-img {
  width: 100%;
  height: 52svh;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 14%;
  animation: hero-kenburns 16s var(--ease-out) both;
  /* bottom edge dissolves into the page over a long, eased
     curve — the eye can't find where the photo ends */
  -webkit-mask-image: linear-gradient(to bottom,
    #000 42%,
    rgba(0,0,0,0.96) 54%,
    rgba(0,0,0,0.86) 64%,
    rgba(0,0,0,0.68) 73%,
    rgba(0,0,0,0.46) 81%,
    rgba(0,0,0,0.26) 88%,
    rgba(0,0,0,0.10) 94%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    #000 42%,
    rgba(0,0,0,0.96) 54%,
    rgba(0,0,0,0.86) 64%,
    rgba(0,0,0,0.68) 73%,
    rgba(0,0,0,0.46) 81%,
    rgba(0,0,0,0.26) 88%,
    rgba(0,0,0,0.10) 94%,
    transparent 100%);
}
@keyframes hero-kenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero-overlay { display: none; }
.hero-content {
  position: relative;
  /* pull the headline up into the dissolved zone */
  margin-top: -52px;
}
.hero-content-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

/* ── desktop: split hero — text left on the living
   background, Daniela full-height on the right ── */
@media (min-width: 961px) {
  .hero {
    display: block;
    height: calc(100svh - 72px);
    min-height: 600px;
    max-height: 920px;
  }
  .hero-img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 48%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-position: center 18%;
    /* two composited masks (intersect): a long eased fade on the
       left edge + soft top/bottom dissolve — the photo has no
       findable boundary, it floats in the living background */
    -webkit-mask-image:
      linear-gradient(to right,
        transparent 0%,
        rgba(0,0,0,0.08) 8%,
        rgba(0,0,0,0.22) 16%,
        rgba(0,0,0,0.44) 25%,
        rgba(0,0,0,0.68) 34%,
        rgba(0,0,0,0.88) 44%,
        #000 56%),
      linear-gradient(to bottom,
        rgba(0,0,0,0.55) 0%,
        #000 16%,
        #000 68%,
        rgba(0,0,0,0.82) 80%,
        rgba(0,0,0,0.5) 90%,
        rgba(0,0,0,0.18) 97%,
        transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right,
        transparent 0%,
        rgba(0,0,0,0.08) 8%,
        rgba(0,0,0,0.22) 16%,
        rgba(0,0,0,0.44) 25%,
        rgba(0,0,0,0.68) 34%,
        rgba(0,0,0,0.88) 44%,
        #000 56%),
      linear-gradient(to bottom,
        rgba(0,0,0,0.55) 0%,
        #000 16%,
        #000 68%,
        rgba(0,0,0,0.82) 80%,
        rgba(0,0,0,0.5) 90%,
        rgba(0,0,0,0.18) 97%,
        transparent 100%);
    mask-composite: intersect;
  }
  /* the veil only warms the grey studio backdrop — it wears the
     same left-edge mask as the photo so its border never shows */
  .hero-overlay {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 48%;
    background: linear-gradient(rgba(245,227,220,0.14), rgba(245,227,220,0.14));
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,0.4) 20%,
      rgba(0,0,0,0.8) 40%,
      #000 56%);
    mask-image: linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,0.4) 20%,
      rgba(0,0,0,0.8) 40%,
      #000 56%);
  }
  .hero-content {
    position: absolute;
    margin-top: 0;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .hero-content-inner {
    padding: 0 48px;
  }
  .hero h1 { max-width: 560px; }
  .hero-tagline { max-width: 440px; }
  /* soft rose halo behind the headline — ties the two halves together */
  .hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    width: 560px;
    height: 560px;
    margin-top: -280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,137,122,0.10), rgba(196,137,122,0) 68%);
    animation: halo-breathe 9s ease-in-out infinite;
    pointer-events: none;
  }
}

/* staggered entrance */
.hero-eyebrow, .hero h1, .hero-tagline, .hero-actions {
  animation: hero-rise 0.9s var(--ease-out) both;
}
.hero-eyebrow  { animation-delay: 0.15s; }
.hero h1       { animation-delay: 0.30s; }
.hero-tagline  { animation-delay: 0.45s; }
.hero-actions  { animation-delay: 0.60s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}
.hero h1 { margin-bottom: 16px; max-width: 700px; }
.hero-tagline {
  font-size: 1.05rem;
  color: var(--brown-muted);
  max-width: 460px;
  margin-bottom: 30px;
  line-height: 1.68;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(122,102,88,0.4);
  border-radius: 999px;
  animation: hero-rise 0.9s var(--ease-out) 1s both;
}
.hero-scroll-hint::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 999px;
  background: var(--rose);
  animation: scroll-dot 2.2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(10px); opacity: 0.2; }
  80%      { transform: translateY(0); opacity: 0; }
}
@media (max-width: 960px) { .hero-scroll-hint { display: none; } }

/* ─────────────────────────────────────────────
   ABOUT STRIP
───────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  gap: 28px;
  align-items: center;
  padding: 40px 24px;
  background: rgba(243,235,224,0.72);
  border: 1px solid rgba(224,211,192,0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.about-strip-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  transition: transform 0.5s var(--ease-out);
}
.about-strip:hover .about-strip-img { transform: scale(1.04) rotate(-2deg); }
.about-strip-text h2 { margin-bottom: 14px; font-size: 1.8rem; }
.about-strip-text p { margin: 0 auto 20px; max-width: 520px; }
@media (min-width: 769px) {
  .about-strip {
    grid-template-columns: 180px 1fr;
    text-align: left;
    gap: 48px;
    padding: 56px 48px;
    border-radius: var(--radius-xl);
  }
  .about-strip-img { width: 180px; height: 180px; margin: 0; }
  .about-strip-text p { margin: 0 0 20px; }
}

/* ─────────────────────────────────────────────
   SERVICE CARDS
───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 601px)  { .services-grid { grid-template-columns: repeat(2,1fr); gap: 20px; } }
@media (min-width: 1025px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  position: relative;
  background: rgba(250,247,242,0.85);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
}
@media (min-width: 769px) { .service-card { padding: 32px 28px; } }
/* soft rose glow on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,137,122,0.16), rgba(196,137,122,0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196,137,122,0.45);
}
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--rose);
  transition: transform 0.4s var(--ease-out), color 0.3s;
}
.service-card:hover .service-card-icon {
  transform: translateY(-3px) scale(1.08);
  color: var(--rose-dark);
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-card p  { font-size: 0.88rem; flex: 1; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  padding: 4px 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose);
  transition: gap 0.25s var(--ease-out), color 0.2s;
}
.service-card-link:hover { gap: 10px; color: var(--rose-dark); }

/* ─────────────────────────────────────────────
   THERAPY AREAS
───────────────────────────────────────────── */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-chip {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--cream-border);
  background: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  color: var(--brown-muted);
  transition: all 0.25s var(--ease-out);
  cursor: default;
}
.area-chip:hover {
  border-color: var(--rose);
  color: var(--rose-dark);
  background: var(--rose-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196,137,122,0.18);
}
@media (max-width: 768px) {
  .areas-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 20px 12px;
    margin: 0 -20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .areas-grid::-webkit-scrollbar { display: none; }
  .area-chip { flex-shrink: 0; scroll-snap-align: start; }
}

/* ─────────────────────────────────────────────
   TESTIMONIALS — stacked crossfade (no jump)
───────────────────────────────────────────── */
.testimonials-wrap {
  background: rgba(243,235,224,0.72);
  border: 1px solid rgba(224,211,192,0.6);
  border-radius: var(--radius-lg);
  padding: 48px 22px;
  text-align: center;
  touch-action: pan-y;
}
@media (min-width: 769px) {
  .testimonials-wrap { padding: 72px 64px; border-radius: var(--radius-xl); }
}

.testimonial-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  line-height: 0.55;
  color: var(--rose);
  opacity: 0.18;
  margin-bottom: 24px;
}
@media (min-width: 769px) { .testimonial-mark { font-size: 7rem; } }

/* all items share one grid cell → container keeps
   the height of the tallest quote, no layout jump */
.testimonial-viewport { display: grid; align-items: center; }
.testimonial-item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out), visibility 0.6s;
}
.testimonial-item.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.58;
  max-width: 760px;
  margin: 0 auto 28px;
}
.testimonial-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cream-border);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.3s var(--ease-out);
}
.testimonial-dot.is-active { background: var(--rose); width: 26px; }

/* ─────────────────────────────────────────────
   FORMS
───────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row .form-field { margin-bottom: 0; }
.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.6;
}
.form-input, .form-textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--cream-border);
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
  color: var(--brown);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; /* ≥16px prevents iOS zoom-on-focus */
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--rose);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196,137,122,0.14);
}
.form-textarea { resize: vertical; min-height: 130px; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  background: rgba(243,235,224,0.85);
  border-top: 1px solid var(--cream-border);
  padding: 52px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
@media (min-width: 769px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr; gap: 48px; margin-bottom: 48px; }
  .footer { padding: 60px 0 32px; }
}

.footer-logo { height: 48px; margin-bottom: 18px; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--brown-muted);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 22px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-border);
  color: var(--brown-muted);
  transition: all 0.25s var(--ease-out);
}
.footer-social a:hover {
  border-color: var(--rose);
  color: var(--rose);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(196,137,122,0.20);
}
.footer-col-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  display: inline-block;
  padding: 2px 0;
  font-size: 0.875rem;
  color: var(--brown-muted);
  transition: color 0.2s, transform 0.25s var(--ease-out);
}
.footer-links a:hover { color: var(--rose); transform: translateX(4px); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--cream-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--brown-muted); opacity: 0.6; }

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────── */
.page-hero { padding: 56px 0 40px; }
@media (min-width: 769px) { .page-hero { padding: 72px 0 56px; } }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 580px; }
/* entrance without waiting for scroll */
.page-hero .section-label,
.page-hero h1,
.page-hero .lead,
.page-hero p {
  animation: hero-rise 0.85s var(--ease-out) both;
}
.page-hero .section-label { animation-delay: 0.05s; }
.page-hero h1              { animation-delay: 0.18s; }
.page-hero .lead           { animation-delay: 0.32s; }
.page-hero p:not(.lead)    { animation-delay: 0.44s; }

/* ─────────────────────────────────────────────
   TWO-COLUMN CONTENT (about page)
───────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ─────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────── */
.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.about-photo-grid img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 340px;
  width: 100%;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.about-photo-grid img:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }
@media (min-width: 769px) {
  .about-photo-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-photo-grid img { height: 500px; }
  .about-photo-grid img:nth-child(2) { margin-top: 60px; }
}

.credential-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.credential-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: rgba(243,235,224,0.75);
  border: 1px solid var(--cream-border);
  border-radius: 12px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.credential-item:hover {
  transform: translateX(5px);
  border-color: rgba(196,137,122,0.5);
  box-shadow: var(--shadow-sm);
}
.credential-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
  margin-top: 7px;
}
.credential-item p { font-size: 0.9rem; line-height: 1.6; }

/* ─────────────────────────────────────────────
   PROCESS STEPS
───────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  position: relative;
}
@media (min-width: 561px) { .process-grid { grid-template-columns: repeat(2, 1fr); gap: 0; } }
@media (min-width: 901px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-grid::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--cream-border);
  z-index: 0;
  display: none;
}
@media (min-width: 901px) { .process-grid::before { display: block; } }

.process-step { text-align: center; padding: 20px 16px; position: relative; z-index: 1; }
.process-step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--cream-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--rose);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, background 0.3s, color 0.3s;
}
.process-step:hover .process-step-num {
  transform: scale(1.12);
  border-color: var(--rose);
  background: var(--rose);
  color: var(--white);
}
.process-step h4 { margin-bottom: 8px; font-size: 0.95rem; }
.process-step p { font-size: 0.85rem; line-height: 1.6; }

/* ─────────────────────────────────────────────
   TREATMENTS / SERVICES PAGE
───────────────────────────────────────────── */
.treatment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 601px)  { .treatment-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1025px) { .treatment-grid { grid-template-columns: repeat(3, 1fr); } }

.treatment-card {
  background: rgba(243,235,224,0.72);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s;
}
.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196,137,122,0.45);
}
.treatment-card h3 { margin-bottom: 12px; }
.treatment-card p  { font-size: 0.875rem; line-height: 1.7; }

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq-container { border-top: 1px solid var(--cream-border); }
.faq-item { border-bottom: 1px solid var(--cream-border); transition: background 0.3s; }
.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-trigger h4 { line-height: 1.4; flex: 1; transition: color 0.25s; }
.faq-item.is-open .faq-trigger h4,
.faq-trigger:hover h4 { color: var(--rose-dark); }
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rose);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.35s var(--ease-out), border-color 0.25s, background 0.25s, color 0.25s;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--rose);
  background: var(--rose);
  color: var(--white);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-item.is-open .faq-body { max-height: 500px; }
.faq-body p { padding: 4px 0 24px; font-size: 0.9rem; line-height: 1.74; }

/* ─────────────────────────────────────────────
   SECTION DIVIDER
───────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0;
}
@media (min-width: 769px) { .section-divider { margin: 64px 0; } }
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-border);
}
.section-divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.45;
}

/* ─────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: rgba(243,235,224,0.75);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 769px) {
  .cta-banner { padding: 64px 56px; border-radius: var(--radius-xl); }
}
/* breathing halo inside the banner */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,137,122,0.13), rgba(196,137,122,0) 70%);
  animation: halo-breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%      { transform: scale(1.25); opacity: 1; }
}
.cta-banner > * { position: relative; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 500px; margin: 0 auto 28px; }

/* ─────────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────────── */
.contact-section {
  padding: 60px 0;
  background: rgba(243,235,224,0.62);
  border-top: 1px solid rgba(224,211,192,0.5);
}
@media (min-width: 769px) { .contact-section { padding: 88px 0; } }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}
@media (min-width: 769px) {
  .contact-layout { grid-template-columns: 1fr 300px; gap: 64px; }
}
.contact-info-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 6px;
}
.contact-info-value {
  font-size: 0.95rem;
  color: var(--brown);
  margin-bottom: 22px;
  line-height: 1.5;
}
.contact-info-value a { color: var(--brown); transition: color 0.2s; }
.contact-info-value a:hover { color: var(--rose); }
.contact-social-links { display: flex; flex-direction: column; gap: 10px; }
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--brown-muted);
  transition: color 0.2s, transform 0.25s var(--ease-out);
}
.contact-social-link:hover { color: var(--rose); transform: translateX(4px); }

/* ─────────────────────────────────────────────
   PHRASE CARDS (test page)
───────────────────────────────────────────── */
.phrase-list { display: grid; gap: 12px; }
.phrase-card {
  padding: 20px 24px;
  background: rgba(250,247,242,0.85);
  border: 1px solid var(--cream-border);
  border-left: 3px solid var(--rose);
  border-radius: 14px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.phrase-card:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }
.phrase-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brown);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   TEST — STEP-BY-STEP UI
───────────────────────────────────────────── */
.test-step-counter {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brown-muted);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-step-bar {
  flex: 1;
  height: 4px;
  background: var(--cream-border);
  border-radius: 999px;
  overflow: hidden;
}
.test-step-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--rose-dark));
  border-radius: 999px;
  transition: width 0.45s var(--ease-out);
}
.test-question-card {
  background: rgba(250,247,242,0.9);
  border: 1px solid var(--cream-border);
  border-radius: 20px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 769px) { .test-question-card { padding: 40px; } }

/* question swap animation */
.test-question-card.is-entering .test-q-heading,
.test-question-card.is-entering .test-option-row {
  animation: q-rise 0.45s var(--ease-out) both;
}
.test-question-card.is-entering .test-option-row:nth-child(1) { animation-delay: 0.05s; }
.test-question-card.is-entering .test-option-row:nth-child(2) { animation-delay: 0.10s; }
.test-question-card.is-entering .test-option-row:nth-child(3) { animation-delay: 0.15s; }
.test-question-card.is-entering .test-option-row:nth-child(4) { animation-delay: 0.20s; }
@keyframes q-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.test-q-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--brown);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.test-option-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1.5px solid var(--cream-border);
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 54px;
}
.test-option-row:hover { border-color: var(--rose); background: var(--rose-light); }
.test-option-row:active { transform: scale(0.985); }
.test-option-row.selected {
  border-color: var(--rose);
  background: var(--rose-light);
}
.test-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-border);
  flex-shrink: 0;
  transition: all 0.25s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}
.test-option-row.selected .test-radio-circle {
  background: var(--rose);
  border-color: var(--rose);
  transform: scale(1.08);
}
.test-option-row.selected .test-radio-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: radio-pop 0.3s var(--ease-out);
}
@keyframes radio-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.test-option-text { font-size: 0.95rem; color: var(--brown); line-height: 1.5; }
.test-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.test-nav-btn {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--rose);
  cursor: pointer;
  padding: 12px 4px;
  min-height: 44px;
  transition: opacity 0.2s, transform 0.2s;
}
.test-nav-btn:not(:disabled):hover { transform: translateX(-2px); }
.test-nav-btn-next:not(:disabled):hover { transform: translateX(2px); }
.test-nav-btn:disabled { opacity: 0.3; cursor: default; }
.test-nav-btn-next {
  margin-left: auto;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* test results */
.test-results {
  display: none;
  padding: 32px 22px;
  background: rgba(250,247,242,0.92);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  margin-top: 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
@media (min-width: 769px) { .test-results { padding: 40px; border-radius: var(--radius-xl); } }
.test-results.is-visible {
  display: block;
  animation: hero-rise 0.7s var(--ease-out) both;
}
.test-result-style {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--rose);
  margin-bottom: 16px;
}
.test-result-bar-wrap { display: grid; gap: 10px; margin: 24px 0; text-align: left; }
.test-result-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--brown);
}
.test-result-bar-track {
  height: 8px;
  background: var(--cream-border);
  border-radius: 999px;
  overflow: hidden;
}
.test-result-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--rose-dark));
  border-radius: 999px;
  transition: width 1s var(--ease-out);
  width: 0;
}

/* ─────────────────────────────────────────────
   REDUCED MOTION — respect the user
───────────────────────────────────────────── */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .bg-blob { animation: none; }
}

/* ─────────────────────────────────────────────
   BLOG
───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 601px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1025px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(250,247,242,0.85);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196,137,122,0.45);
}
.blog-card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}
.blog-card h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
.blog-card p { font-size: 0.88rem; flex: 1; margin-bottom: 16px; }
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose);
  transition: gap 0.25s var(--ease-out);
}
.blog-card:hover .blog-card-link { gap: 10px; }

/* article page */
.article-container { max-width: 760px; margin: 0 auto; }
.article-meta {
  font-size: 0.8rem;
  color: var(--brown-muted);
  opacity: 0.75;
  margin-top: 16px;
}
.article-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 44px 0 16px;
}
.article-body h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin: 30px 0 12px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol {
  margin: 0 0 20px 22px;
  color: var(--brown-muted);
  line-height: 1.74;
}
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--rose); }
.article-body a { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--rose); }
.article-body strong { color: var(--brown); }
