/* ============================================================
   Lewis Ba Luc Le — Registered Psychotherapist (Qualifying)
   Design system: Sagmeister & Walsh Joyful Minimalism
   Palette: Blush #F1D6CE + Green scale from Colour.jpeg
   Typography: Cormorant Garamond (display) + Instrument Sans (body)
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  /* Palette */
  --color-blush: #FDFFF5;
  --color-blush-deep: #F3F7E8;
  --color-green: #6A953F;
  --color-green-hover: #96BD68;
  --color-green-dark: #4D6F2F;
  --color-green-light: #B0D287;
  --color-text: #1A1A1A;
  --color-text-soft: #3D3D3D;
  --color-text-muted: #6B6B6B;
  --color-warm-white: #FDFFF5;
  --color-border: #D8E8C0;

  /* Accent palette */
  --color-terra:    #C47A5A;
  --color-terra-bg: #F5EAE3;
  --color-sand:     #D4C4A0;
  --color-sand-bg:  #F6F0E4;
  --color-teal:     #5A9E96;
  --color-teal-bg:  #E4F4F2;
  --color-amber:    #C49840;
  --color-amber-bg: #F8F0DC;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;

  /* Spacing (editorial scale — no 4px step) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Radius */
  --radius-chip: 4px;
  --radius-card: 8px;
  --radius-feature: 12px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-color: 150ms;
  --duration-transform: 300ms;

  /* Layout */
  --width-content: 900px;
  --width-max: 1400px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-blush);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text);
}

.display {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
}

.headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.title {
  font-style: italic;
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  line-height: 1.3;
}

.body-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-soft);
  max-width: 70ch;
}

p {
  line-height: 1.6;
  max-width: 68ch;
  color: var(--color-text-soft);
}

.label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.micro-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* --- Layout Utilities ------------------------------------- */
.container {
  width: 100%;
  max-width: var(--width-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.content-container {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background-color: var(--color-warm-white);
}

.book-cta {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.book-cta h2 {
  margin-bottom: var(--space-sm);
}

.book-cta p {
  color: var(--color-text-soft);
  margin-bottom: 0;
}

.book-cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.section--green {
  background-color: var(--color-green);
  color: var(--color-warm-white);
}

.section--green h1,
.section--green h2,
.section--green h3,
.section--green p,
.section--green .body-lead {
  color: var(--color-warm-white);
}

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-xl);
  border-radius: 100px;
  cursor: pointer;
  border: none;
  transition:
    background var(--duration-color) var(--ease-out),
    border-color var(--duration-color) var(--ease-out),
    box-shadow var(--duration-color) var(--ease-out),
    transform var(--duration-transform) var(--ease-out);
}

/* Liquid glass top-shine — bright frosted band covers upper half */
.btn-primary::before,
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.22) 55%,
    transparent 100%
  );
  border-radius: 100px 100px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* Primary — liquid glass green */
.btn-primary {
  background: rgba(106, 149, 63, 0.22);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 6px rgba(0, 0, 0, 0.10),
    0 8px 32px rgba(106, 149, 63, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.10);
}

.btn-primary:hover {
  background: rgba(106, 149, 63, 0.35);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 6px rgba(0, 0, 0, 0.10),
    0 12px 40px rgba(106, 149, 63, 0.38),
    0 3px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Outline — liquid glass clear */
.btn-outline {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  color: var(--color-green-dark);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.60),
    inset 0 -2px 6px rgba(0, 0, 0, 0.06),
    0 6px 24px rgba(106, 149, 63, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.07);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.90);
  color: var(--color-green-dark);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 6px rgba(0, 0, 0, 0.06),
    0 10px 32px rgba(106, 149, 63, 0.20),
    0 3px 8px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.btn-ghost {
  background: none;
  padding: 0;
  color: var(--color-green);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--duration-color) var(--ease-out);
}

.btn-ghost:hover { color: var(--color-green-dark); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* --- Navigation ------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-blush);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--duration-color) var(--ease-out);
}

.site-nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* Per-page nav tints */
.nav--about      { background-color: #F2EBE0; border-bottom-color: #DDD0BE; }
.nav--individual { background-color: #EAF0E0; border-bottom-color: #C8D9A8; }
.nav--couples    { background-color: #F5E8E4; border-bottom-color: #E0C4BC; }
.nav--eastern    { background-color: #F0EAD8; border-bottom-color: #D8C89C; }
.nav--adhd       { background-color: #DFF0EE; border-bottom-color: #A8D4CE; }
.nav--blog       { background-color: #EAE8F4; border-bottom-color: #C4C0DC; }
.nav--contact    { background-color: #F5EDE4; border-bottom-color: #DCCAB8; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px var(--space-lg);
  max-width: var(--width-max);
  margin: 0 auto;
  min-height: 120px;
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-img {
  height: 8rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 8rem;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.hero-logo-mark {
  height: 4.5rem;
  width: auto;
  display: block;
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}

.nav-logo-designation {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: color var(--duration-color) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-green);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-xs);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--duration-color) var(--ease-out);
}

/* --- Services dropdown ------------------------------------ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-soft);
  padding: 0;
  transition: color var(--duration-color) var(--ease-out);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--color-green);
}

.nav-dropdown-toggle svg {
  transition: transform var(--duration-color) var(--ease-out);
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  min-width: 210px;
  padding: 10px 0 var(--space-xs);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: color var(--duration-color) var(--ease-out),
              background-color var(--duration-color) var(--ease-out);
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a.active {
  color: var(--color-green);
  background-color: #f5ede9;
}

/* Tablet nav — handles split-screen / narrow desktop */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 4px var(--space-md);
    min-height: 80px;
    gap: var(--space-sm);
  }

  .nav-logo-img {
    height: 4.5rem;
  }

  .nav-logo-name {
    font-size: 1rem;
  }

  .nav-links {
    gap: var(--space-md);
  }

  .nav-cta {
    gap: var(--space-sm);
  }

  .btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
  }
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--color-blush);
    flex-direction: column;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    gap: var(--space-md);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }

  /* Mobile dropdown: static, toggle via JS */
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--color-green-light);
    border-radius: 0;
    background: transparent;
    padding: var(--space-xs) 0 var(--space-xs) var(--space-md);
    opacity: 1;
    transform: none;
    transition: none;
    display: none;
    pointer-events: all;
    margin-top: var(--space-xs);
  }

  .nav-dropdown-menu.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nav-dropdown-menu li a {
    padding: 7px 0;
    font-size: 0.875rem;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    transform: none;
  }
}

/* --- Hero ------------------------------------------------- */
/* --- Hero (Landscape) ------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-3d-wrap {
  position: absolute;
  inset: 0;
}

/* Scaleable image layer — GSAP drives scale() on this, not the section */
.hero-zoom-layer {
  position: absolute;
  inset: 0;
  background-image: url('hero-landscape.jpg');
  background-size: cover;
  background-position: center 45%;
  will-change: transform;
  transform-origin: center 60%; /* aim toward lower-center pathway — tune after visual check */
  z-index: 0;
}

/* Radial vignette — closes in at peak zoom to signal entering the path */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 55% at center, transparent 0%, rgba(8, 18, 6, 0.90) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

/* Dark tint for text readability — sits above zoom layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 6, 0.42);
  z-index: 1;
}

/* Bottom gradient — fades into the next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent 0%, var(--color-blush) 100%);
  z-index: 3;
}

/* Centered text content — starts hidden, GSAP reveals mid-zoom */
.hero-landscape-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 820px;
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  visibility: hidden;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.60);
  padding: 5px var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-chip);
}

.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.20);
  margin: 0;
}

.hero-title em {
  color: var(--color-green-light);
  font-style: italic;
  font-weight: 600;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-xs);
}

/* Liquid glass hero button */
.btn-primary-light {
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 12px var(--space-lg);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 6px rgba(0, 0, 0, 0.10),
    0 8px 32px rgba(0, 0, 0, 0.18);
  transition: background var(--duration-color) var(--ease-out),
              border-color var(--duration-color) var(--ease-out),
              box-shadow var(--duration-color) var(--ease-out),
              transform var(--duration-transform) var(--ease-out);
}

/* Liquid glass top-shine for hero button */
.btn-primary-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.60) 0%,
    rgba(255, 255, 255, 0.20) 55%,
    transparent 100%
  );
  border-radius: 100px 100px 0 0;
  pointer-events: none;
  z-index: 1;
}

.btn-primary-light:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.90);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 6px rgba(0, 0, 0, 0.10),
    0 12px 40px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.btn-ghost-light {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--duration-color) var(--ease-out);
}

.btn-ghost-light:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }
  .hero-zoom-layer {
    background-position: center center;
  }
  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-light {
    width: 100%;
    justify-content: center;
  }
}

/* --- Cards ------------------------------------------------ */
.card {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  transition: box-shadow var(--duration-transform) var(--ease-out),
              transform var(--duration-transform) var(--ease-out);
}

.card:hover {
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

/* Card with top photo */
.card--photo {
  overflow: hidden;
  padding: 0;
}

.card-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out);
}

.card--photo:hover .card-photo img {
  transform: scale(1.04);
}

.card-body {
  padding: var(--space-lg);
}

.card-feature {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-feature);
  padding: var(--space-xl);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-chip);
  background-color: var(--color-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: var(--space-xs);
  color: var(--color-terra);
}

.card p {
  font-size: 0.9375rem;
  color: var(--color-text-soft);
  max-width: none;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-green);
  text-transform: uppercase;
  transition: color var(--duration-color) var(--ease-out),
              gap var(--duration-color) var(--ease-out);
}

.card-link:hover { color: var(--color-green-dark); gap: var(--space-sm); }

/* --- Grid layouts ----------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* --- Section headers -------------------------------------- */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header .label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-green);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.section-header .body-lead {
  max-width: 55ch;
}

/* --- How it works ----------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.step {
  padding: var(--space-lg);
  position: relative;
}

.step-number {
  font-family: var(--font-body);
  font-size: 4rem;
  font-weight: 300;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--color-green-light);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.step p { font-size: 0.9375rem; max-width: none; }

/* Step number ring */
.step-num-wrap {
  display: inline-block;
  position: relative;
  line-height: inherit;
}

.step-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 90px;
  pointer-events: none;
  overflow: visible;
}

.step-ring-path {
  stroke: var(--color-green);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  stroke-linecap: round;
  opacity: 0;
}

/* Step connector arrows */
.step-connector {
  position: absolute;
  top: calc(var(--space-lg) + 2rem - 10px);
  right: -32px;
  width: 32px;
  height: 20px;
  overflow: visible;
  z-index: 5;
}

.step-connector-path {
  stroke: var(--color-green);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}

@media (max-width: 768px) {
  .step-connector {
    top: auto;
    bottom: -20px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .step:has(.step-connector) {
    padding-bottom: calc(var(--space-lg) + 24px);
  }
  .step-number {
    display: flex;
    justify-content: center;
  }
}

/* Step animation keyframes — 5s loop
   Circle 1:  0%–16%   Arrow 1: 16%–26%
   Circle 2: 26%–42%   Arrow 2: 42%–52%
   Circle 3: 52%–68%   Hold: 68%–88%   Fade: 88%–96% */
@keyframes steps-ring-1 {
  0%   { stroke-dashoffset: 283; opacity: 1; }
  16%  { stroke-dashoffset: 0;   opacity: 1; }
  88%  { stroke-dashoffset: 0;   opacity: 1; }
  96%  { stroke-dashoffset: 0;   opacity: 0; }
  100% { stroke-dashoffset: 283; opacity: 0; }
}

@keyframes steps-arrow-1 {
  0%, 15.9% { stroke-dashoffset: 100; opacity: 0; }
  16%        { stroke-dashoffset: 100; opacity: 1; }
  26%        { stroke-dashoffset: 0;   opacity: 1; }
  88%        { stroke-dashoffset: 0;   opacity: 1; }
  96%        { stroke-dashoffset: 0;   opacity: 0; }
  100%       { stroke-dashoffset: 100; opacity: 0; }
}

@keyframes steps-ring-2 {
  0%, 25.9% { stroke-dashoffset: 283; opacity: 0; }
  26%        { stroke-dashoffset: 283; opacity: 1; }
  42%        { stroke-dashoffset: 0;   opacity: 1; }
  88%        { stroke-dashoffset: 0;   opacity: 1; }
  96%        { stroke-dashoffset: 0;   opacity: 0; }
  100%       { stroke-dashoffset: 283; opacity: 0; }
}

@keyframes steps-arrow-2 {
  0%, 41.9% { stroke-dashoffset: 100; opacity: 0; }
  42%        { stroke-dashoffset: 100; opacity: 1; }
  52%        { stroke-dashoffset: 0;   opacity: 1; }
  88%        { stroke-dashoffset: 0;   opacity: 1; }
  96%        { stroke-dashoffset: 0;   opacity: 0; }
  100%       { stroke-dashoffset: 100; opacity: 0; }
}

@keyframes steps-ring-3 {
  0%, 51.9% { stroke-dashoffset: 283; opacity: 0; }
  52%        { stroke-dashoffset: 283; opacity: 1; }
  68%        { stroke-dashoffset: 0;   opacity: 1; }
  88%        { stroke-dashoffset: 0;   opacity: 1; }
  96%        { stroke-dashoffset: 0;   opacity: 0; }
  100%       { stroke-dashoffset: 283; opacity: 0; }
}

.steps--animate .step:nth-child(1) .step-ring-path {
  animation: steps-ring-1 5s ease-in-out infinite;
}
.steps--animate .step:nth-child(1) .step-connector-path {
  animation: steps-arrow-1 5s ease-in-out infinite;
}
.steps--animate .step:nth-child(2) .step-ring-path {
  animation: steps-ring-2 5s ease-in-out infinite;
}
.steps--animate .step:nth-child(2) .step-connector-path {
  animation: steps-arrow-2 5s ease-in-out infinite;
}
.steps--animate .step:nth-child(3) .step-ring-path {
  animation: steps-ring-3 5s ease-in-out infinite;
}

/* --- Testimonials ----------------------------------------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.testimonial {
  background-color: var(--color-blush);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.testimonial cite {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  font-style: normal;
}

/* --- Accordion / FAQ -------------------------------------- */
.accordion { border-top: 1px solid var(--color-border); }

.accordion-item { border-bottom: 1px solid var(--color-border); }

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-md);
  transition: color var(--duration-color) var(--ease-out);
}

.accordion-trigger:hover { color: var(--color-green); }

.accordion-trigger h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: inherit;
  margin: 0;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  color: var(--color-green);
  transition: transform var(--duration-transform) var(--ease-out);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 1px;
}

.accordion-icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-transform) var(--ease-out),
              opacity var(--duration-color) var(--ease-out);
}

.accordion-item.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-transform) var(--ease-out),
              padding var(--duration-color) var(--ease-out);
}

.accordion-content p {
  padding-bottom: var(--space-md);
  font-size: 0.9375rem;
  color: var(--color-text-soft);
  max-width: none;
}

/* --- Contact / Booking Form ------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

@media (max-width: 480px) {
  .contact-grid { gap: var(--space-lg); }
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.contact-info p {
  font-size: 1.0625rem;
  color: var(--color-text-soft);
  margin-bottom: var(--space-xl);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
  color: var(--color-text-soft);
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  min-width: 72px;
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--color-green);
  font-size: 0.9375rem;
  transition: color var(--duration-color) var(--ease-out);
}

.contact-detail a:hover {
  color: var(--color-green-dark);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background-color: var(--color-green-light);
  border-radius: var(--radius-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.booking-form {
  background-color: var(--color-green-dark);
  border-radius: var(--radius-feature);
  padding: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-green-light);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-chip);
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-warm-white);
  transition: border-color var(--duration-color) var(--ease-out),
              background-color var(--duration-color) var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group select option { background-color: var(--color-green-dark); color: var(--color-warm-white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green-light);
  background-color: rgba(255,255,255,0.15);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.form-checkbox-group label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}

.form-checkbox-group input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--color-green-light);
}

.form-radio-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.form-radio-group label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}

.form-radio-group input[type="radio"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--color-green-light);
}

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
  background-color: var(--color-green-light);
  color: var(--color-green-dark);
  font-weight: 600;
  padding: var(--space-sm) var(--space-xl);
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--duration-color) var(--ease-out),
              transform var(--duration-transform) var(--ease-out);
}

.form-submit:hover {
  background-color: #C4DC8F;
  transform: translateY(-1px);
}

.form-error {
  font-size: 0.75rem;
  color: #FFBBA0;
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

/* --- Area cards (individual page) ------------------------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.area-card {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  transition: box-shadow var(--duration-transform) var(--ease-out),
              border-color var(--duration-color) var(--ease-out),
              transform var(--duration-transform) var(--ease-out);
}

.area-card:hover {
  border-color: var(--color-green-light);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--color-green-dark);
  margin-bottom: var(--space-xs);
}

.area-card p { font-size: 0.9375rem; max-width: none; }

/* --- Page header (inner pages) ---------------------------- */
.page-header {
  padding: var(--space-xl) 0 var(--space-md);
  background-color: var(--color-blush);
  border-bottom: 1px solid var(--color-border);
}

.page-header .label {
  display: block;
  color: var(--color-green);
  margin-bottom: var(--space-sm);
}

.page-header h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: var(--space-md);
}

.page-header .body-lead { max-width: 60ch; }

/* --- Parallax page header (About page) -------------------- */
.page-header--parallax {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0 var(--space-xl);
  background-image: url('Forest .jpg');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  border-bottom: none;
  overflow: hidden;
}

.page-header--parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12, 22, 12, 0.65) 0%,
    rgba(12, 22, 12, 0.35) 55%,
    rgba(12, 22, 12, 0.55) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.page-header--parallax .content-container {
  position: relative;
  z-index: 1;
}

.page-header--parallax .label {
  color: #c2d4a8;
}

.page-header--parallax h1 {
  color: #f2ede4;
}

.page-header--parallax .body-lead {
  color: rgba(242, 237, 228, 0.82);
}

@media (max-width: 768px) {
  .page-header--parallax {
    background-attachment: scroll;
    min-height: 55vh;
  }
}

/* --- CTA band --------------------------------------------- */
.cta-band {
  background-color: var(--color-green);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--color-warm-white);
  margin-bottom: var(--space-sm);
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  max-width: 50ch;
  margin: 0 auto var(--space-lg);
}

.cta-band .btn-primary {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-band .btn-primary:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.60);
  transform: translateY(-2px);
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background-color: var(--color-text);
  color: var(--color-warm-white);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-grid { flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center; }
  .footer-brand { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .footer-brand-header { justify-content: center; flex-direction: column; align-items: center; gap: var(--space-sm); }
  .footer-brand-text { align-items: center; }
  .footer-logo-img { margin: 0 auto; }
  .footer-contact-list { align-items: center; }
  .footer-contact-item { justify-content: center; }
}

.footer-brand {
  flex-shrink: 0;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: var(--space-md);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand .nav-logo-name {
  font-size: 1.5rem;
  color: var(--color-warm-white);
  display: block;
}

.footer-brand .nav-logo-designation {
  color: var(--color-green-light);
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  max-width: 38ch;
  margin-bottom: var(--space-md);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  transition: border-color var(--duration-color) var(--ease-out),
              color var(--duration-color) var(--ease-out);
}

.footer-socials a:hover {
  border-color: var(--color-green-light);
  color: var(--color-green-light);
}


.footer-nav h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green-light);
  margin-bottom: var(--space-md);
}

.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-xs); }

.footer-nav ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--duration-color) var(--ease-out);
}

.footer-nav ul li a:hover { color: var(--color-warm-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 80ch;
}

.footer-legal strong {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--space-sm);
}

.footer-contact-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  font-size: 0.8125rem;
}

.footer-contact-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-green-light);
  min-width: 52px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--duration-color) var(--ease-out);
}

.footer-contact-item a:hover {
  color: var(--color-warm-white);
}

/* --- Specialty tag chips ---------------------------------- */
.tag {
  display: inline-block;
  padding: 4px var(--space-sm);
  background-color: var(--color-sand-bg);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-chip);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-soft);
}

.tag-green {
  background-color: #EEF5E3;
  border-color: var(--color-green-light);
  color: var(--color-green-dark);
}

.tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-sm); }

/* --- Serif emphasis in body copy -------------------------- */
.serif-em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2em;
  color: var(--color-green);
}

/* --- Green contrast on heading italic lines --------------- */
h1 em, h2 em {
  color: var(--color-green);
  font-style: italic;
  font-weight: 600;
}

/* --- Divider ---------------------------------------------- */
.divider {
  width: 48px;
  height: 2px;
  background-color: var(--color-green);
  margin: var(--space-md) 0;
}

/* --- Bio layout (about page) ------------------------------ */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 768px) {
  .bio-grid { grid-template-columns: 1fr; }
}

.bio-image {
  aspect-ratio: 3/4;
  background-color: var(--color-blush-deep);
  border-radius: var(--radius-feature);
  overflow: hidden;
}

.bio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 0.875rem;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.credential-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.credential-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.credential-item p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  max-width: none;
}

/* --- Specialty highlight band ----------------------------- */
.highlight-band {
  background-color: #EEF5E3;
  border: 1px solid var(--color-green-light);
  border-radius: var(--radius-feature);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.highlight-band h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--color-green-dark);
  margin-bottom: var(--space-sm);
}

.highlight-band p { max-width: none; color: var(--color-text-soft); }

/* --- Vietnamese / Eastern page specific ------------------- */
.cultural-callout {
  background-color: var(--color-blush-deep);
  border-left: 3px solid var(--color-green);
  padding: var(--space-lg) var(--space-xl);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin: var(--space-lg) 0;
}

.cultural-callout p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: none;
  color: var(--color-text);
}

/* --- Blog grid -------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow var(--duration-transform) var(--ease-out),
              border-color var(--duration-color) var(--ease-out),
              transform var(--duration-transform) var(--ease-out);
}

.blog-card:hover {
  border-color: var(--color-green-light);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.blog-card-read {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: var(--space-xs);
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-soft);
  line-height: 1.65;
  max-width: none;
  flex: 1;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.blog-card-cta {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.875rem;
}

.blog-card-cta em {
  color: var(--color-text-muted);
  font-style: italic;
}

/* --- Tree Animation Hero ---------------------------------- */
.hero-anim {
  width: 100%;
  height: 100vh;
  background: var(--color-blush);
  overflow: hidden;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero-anim--done {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.hero-anim-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  max-width: var(--width-max);
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  align-items: center;
}

.hero-anim-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 1;
}

.hero-anim-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-text);
}

.hero-anim-title em {
  color: var(--color-green);
  font-style: italic;
  font-weight: 600;
}

.hero-anim-sub {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.hero-anim-visual {
  position: relative;
  height: 100%;
}

.hero-anim-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .hero-anim-inner {
    grid-template-columns: 1fr;
    padding: var(--space-xl) var(--space-md);
    gap: 0;
    grid-template-rows: auto 1fr;
  }
  .hero-anim-content {
    gap: var(--space-sm);
  }
  .hero-anim-visual {
    height: 45vh;
  }
}

/* --- Leaf decorations ------------------------------------- */
.leaf-deco {
  position: absolute;
  background-image: url('leaves-white.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.88;
  mix-blend-mode: multiply;
}

/* Single radial gradient from corner — fades all edges away from the corner.
   Fully opaque at the corner itself, fading toward the opposite corner.
   bl/br only used in practice (see leaf-deco.js) so section headings are never covered. */
.leaf-deco--tr {
  top: 0; right: 0;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, black 25%, transparent 68%);
          mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, black 25%, transparent 68%);
}
.leaf-deco--tl {
  top: 0; left: 0;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 0%, black 25%, transparent 68%);
          mask-image: radial-gradient(ellipse 100% 100% at 0% 0%, black 25%, transparent 68%);
}
.leaf-deco--bl {
  bottom: 0; left: 0;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, black 25%, transparent 68%);
          mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, black 25%, transparent 68%);
}
.leaf-deco--br {
  bottom: 0; right: 0;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 100%, black 25%, transparent 68%);
          mask-image: radial-gradient(ellipse 100% 100% at 100% 100%, black 25%, transparent 68%);
}

@media (max-width: 768px) {
  .leaf-deco { opacity: 0.55; }
  .leaf-deco--tr, .leaf-deco--tl { width: 200px !important; height: 180px !important; }
  .leaf-deco--bl, .leaf-deco--br { width: 160px !important; height: 160px !important; }
}

/* --- Branch decorations ----------------------------------- */
.branch-deco {
  display: block;
  opacity: 0.20;
}

/* Side edge branches — absolutely positioned inside section */
.branch-edge-wrap {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.branch-edge-wrap--left {
  left: -110px;
  top: 50%;
  transform: translateY(-50%);
  width: 230px;
}
.branch-edge-wrap--right {
  right: -110px;
  top: 40%;
  transform: translateY(-50%);
  width: 230px;
}

/* Section divider sprigs — zero height, overlays section boundary */
.branch-divider-wrap {
  height: 0;
  overflow: visible;
  text-align: center;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.branch-deco--divider {
  width: 180px;
  height: auto;
  transform: translateY(-50%);
}

/* Sway animations */
@keyframes branch-sway {
  0%, 100% { transform: rotate(0deg); }
  38%       { transform: rotate(2deg); }
  72%       { transform: rotate(-1.1deg); }
}
@keyframes branch-sway-r {
  0%, 100% { transform: rotate(0deg); }
  42%       { transform: rotate(-2deg); }
  78%       { transform: rotate(1.2deg); }
}
@keyframes branch-sway-div {
  0%, 100% { transform: rotate(0deg) scaleX(1); }
  50%       { transform: rotate(0.8deg) scaleX(1.003); }
}

.branch-deco--edge {
  transform-origin: 0% 52%;
  animation: branch-sway 8s ease-in-out infinite;
}
.branch-deco--edge-r {
  transform-origin: 100% 45%;
  animation: branch-sway-r 9.5s ease-in-out 1.8s infinite;
}
.branch-deco--divider {
  transform-origin: center center;
  animation: branch-sway-div 14s ease-in-out infinite;
}

/* Hide edge branches on viewports too narrow to have margin space */
@media (max-width: 1280px) {
  .branch-edge-wrap { display: none; }
}

/* --- Accent colour rotations ------------------------------ */
/* Section label colours — cycles green → terra → teal → amber */
.section:nth-of-type(2) .section-header .label  { color: var(--color-terra); }
.section:nth-of-type(3) .section-header .label  { color: var(--color-teal); }
.section:nth-of-type(4) .section-header .label  { color: var(--color-amber); }
.section:nth-of-type(5) .section-header .label  { color: var(--color-terra); }

/* Alternate section background — warm sand instead of plain white */
.section--alt { background-color: var(--color-sand-bg); }

/* Teal highlight-band variant */
.highlight-band--teal {
  background-color: var(--color-teal-bg);
  border-color: var(--color-teal);
}
.highlight-band--teal h3 { color: var(--color-teal); }

/* Terra card-icon variant */
.card-icon--terra {
  background-color: var(--color-terra-bg);
  color: var(--color-terra);
}

/* Amber divider variant */
.divider--amber { background-color: var(--color-amber); }

/* --- Button annotation (curly arrow + handwritten label) -- */
.btn-annotated {
  position: relative;
  display: inline-block;
}

.btn-annotation {
  position: absolute;
  top: calc(100% + 10px);
  left: 18%;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
  animation: annotation-float 3s 1.2s ease-in-out infinite;
}

.btn-annotation-arrow {
  width: 36px;
  height: 54px;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-annotation-text {
  font-family: 'Caveat', cursive;
  font-size: 1.85rem;
  color: var(--color-green);
  white-space: nowrap;
  transform: rotate(-4deg);
  display: block;
  margin-top: 28px;
  opacity: 0;
  animation: annotation-text-in 0.4s 0.9s ease-out forwards;
}

.arrow-body {
  animation: draw-path 0.7s 0.2s ease-out forwards;
}

.arrow-head {
  animation: draw-path 0.3s 0.85s ease-out forwards;
}

@keyframes draw-path {
  to { stroke-dashoffset: 0; }
}

@keyframes annotation-text-in {
  from { opacity: 0; transform: rotate(-4deg) translateY(4px); }
  to   { opacity: 1; transform: rotate(-4deg) translateY(0); }
}

@keyframes annotation-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-annotation { animation: none; }
  .arrow-body, .arrow-head { animation: none; stroke-dashoffset: 0; }
  .btn-annotation-text { animation: none; opacity: 1; }
}

@media (max-width: 768px) {
  .btn-annotated { display: block; }
  .btn-annotation {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 12px;
  }
}


/* ============================================================
   About Lewis — Cinematic Scroll Sequence
   ============================================================ */

/* Outer wrapper — takes no layout space; the stage is fixed-position
   and the pin lives on about-lewis-section, so nothing here needs height. */
.al-sequence {
  position: relative;
  min-height: 100vh;
}

/* Full-viewport blush overlay — fixed (not in document flow), faded in/out
   by the same single timeline that pins about-lewis-section. This avoids
   the dead scroll gap a normal-flow block would leave behind once unpinned. */
.al-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #0b160b; /* dark forest base — shows in gaps as layers rise in */
  z-index: 50; /* below .site-nav (100), above page content */
  opacity: 0;
  pointer-events: none;
}

/* ── Parallax image layers ── */
.al-pl-sky,
.al-pl-mid,
.al-pl-floor {
  background: url('Forest .jpg') center / cover no-repeat;
  will-change: transform;
}

/* Sky / canopy — fades out toward the bottom, no hard edge */
.al-pl-sky {
  -webkit-mask-image: linear-gradient(to bottom, black 25%, transparent 85%);
          mask-image: linear-gradient(to bottom, black 25%, transparent 85%);
}

/* Mountain mid-zone — fades in from both edges, blends with neighbours */
.al-pl-mid {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 72%, transparent 100%);
}

/* Forest floor / fog — fades in from top, fully opaque at bottom */
.al-pl-floor {
  -webkit-mask-image: linear-gradient(to bottom, transparent 15%, black 72%);
          mask-image: linear-gradient(to bottom, transparent 15%, black 72%);
}

/* Dark gradient overlay — above image layers, below text/branches (DOM order handles z) */
.al-pl-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 10, 0.52) 0%,
    rgba(10, 20, 10, 0.22) 50%,
    rgba(10, 20, 10, 0.48) 100%
  );
  pointer-events: none;
}

/* Layers fill the stage absolutely */
.al-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ── Title layer ── */
.al-title-svg {
  width: min(95vw, 1100px);
  height: auto;
  overflow: visible;
}

/* bio-image — GSAP card-swipes this with translateX / translateY.
   No DOM manipulation. position stays relative the whole time. */
#al-bio-image {
  position: relative;
}

/* "This is me, Lewis." — written at chest level */
.al-caption-wrap {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  pointer-events: none;
}

.al-caption-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

/* Reduced-motion: skip sequence entirely, caption static */
@media (prefers-reduced-motion: reduce) {
  .al-sequence { display: none; }
  .al-caption-text { stroke-dashoffset: 0 !important; }
}

/* --- ADHD Mode -------------------------------------------- */

/* Floating toggle button */
.adhd-toggle-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(106, 149, 63, 0.38);
  transition: background 150ms var(--ease-out), transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  white-space: nowrap;
}

.adhd-toggle-btn:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(106, 149, 63, 0.48);
}

.adhd-toggle-btn:focus-visible {
  outline: 2px solid var(--color-green-hover);
  outline-offset: 3px;
}

.adhd-toggle-btn.adhd-active {
  background: var(--color-text);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.adhd-toggle-btn.adhd-active:hover {
  background: #333;
}

.adhd-btn-icon {
  font-size: 0.9375rem;
  line-height: 1;
}

/* Summary blocks — hidden by default, shown in ADHD mode */
.adhd-summary {
  display: none;
}

body.adhd-mode .adhd-original {
  display: none;
}

body.adhd-mode .adhd-summary {
  display: block;
}

/* Key sentence — always bolded, highlighted in ADHD mode */
.adhd-key {
  font-weight: 600;
}

body.adhd-mode .adhd-key {
  background: rgba(106, 149, 63, 0.13);
  border-radius: 3px;
  padding: 0 3px;
}

/* Summary bullet list */
.adhd-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.adhd-summary li {
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
  font-size: 1rem;
  color: var(--color-text-soft);
}

.adhd-summary li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
}

.adhd-summary li strong {
  color: var(--color-green);
  font-weight: 600;
}

/* Subtle mode indicator — small label above button when active */
.adhd-toggle-btn.adhd-active .adhd-btn-icon::before {
  content: '';
}

@media (max-width: 768px) {
  .adhd-toggle-btn {
    bottom: 18px;
    right: 18px;
    padding: 10px 16px;
    font-size: 0.8125rem;
  }
}
