/* =========================================================
   Pendle Counselling Services – Homepage
   Palette taken from the logo: bark brown + leaf green
   ========================================================= */

:root {
  --bark: #4E3326;        /* "Pendle" wordmark brown – headings */
  --trunk: #7B5844;       /* tree trunk brown – illustration */
  --leaf: #7DB955;        /* bright leaf green – accents */
  --leaf-deep: #4F8A3C;   /* darker leaf – illustration */
  --moss: #365F2E;        /* deep green – buttons, dark band */
  --sprout: #E2EED5;      /* pale green – soft fills */
  --paper: #F5F7F0;       /* page background */
  --white: #FFFFFF;
  --ink: #2A1F19;         /* body text */
  --muted: #5F534B;       /* secondary text */
  --line: rgba(78, 51, 38, .18);

  --f-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --f-body: "Atkinson Hyperlegible", Verdana, sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --wrap: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--f-display);
  color: var(--bark);
  line-height: 1.05;
  margin: 0;
  font-weight: 700;
  letter-spacing: -.025em;
}
h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; letter-spacing: -.01em; }
p  { margin: 0 0 1em; max-width: 62ch; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(5rem, 10vw, 8.5rem); }

:focus-visible {
  outline: 3px solid var(--leaf-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--bark);
  color: var(--paper);
  padding: .7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: none;
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--moss); color: var(--white); }
.btn-primary:hover { background: var(--bark); }

.btn-ghost { border-color: var(--bark); color: var(--bark); }
.btn-ghost:hover { background: var(--bark); color: var(--paper); }

.btn-light { background: var(--paper); color: var(--moss); }
.btn-light:hover { background: var(--leaf); color: var(--ink); }

.btn-outline-light { border-color: rgba(255, 255, 255, .75); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--moss); }

.link {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--moss);
  text-decoration: none;
  background: linear-gradient(var(--leaf), var(--leaf)) no-repeat 0 100% / 100% 2px;
  padding-bottom: 2px;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 100% 100%; color: var(--ink); }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .7s var(--ease), visibility .7s;
}
.js .is-loaded .loader { opacity: 0; visibility: hidden; }
.loader svg { width: 72px; overflow: visible; }
.loader path {
  fill: none;
  stroke: var(--trunk);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw .9s var(--ease) forwards;
}
.loader path:nth-child(2) { animation-delay: .35s; }
.loader path:nth-child(3) { animation-delay: .45s; }
.loader .l-leaf {
  fill: var(--leaf);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: pop .5s var(--spring) .75s forwards;
}
.loader .l-leaf:nth-of-type(2) { animation-delay: .85s; }
.loader .l-leaf:nth-of-type(3) { animation-delay: .95s; }

/* ---------- Growth line (scroll progress) ---------- */
.growth {
  position: fixed;
  right: 22px;
  top: 22vh;
  bottom: 22vh;
  width: 3px;
  border-radius: 3px;
  background: rgba(123, 88, 68, .16);
  z-index: 40;
  pointer-events: none;
}
.growth-fill {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: var(--trunk);
  transform-origin: top;
  transform: scaleY(0);
}
.growth-tip {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  margin: -6px 0 0 -10px;
  color: var(--leaf-deep);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: .9rem;
  transition: background-color .4s, box-shadow .4s, padding .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245, 247, 240, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .45rem;
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; }

.brand img { width: 128px; height: auto; transition: width .4s var(--ease); }
.is-scrolled .brand img { width: 92px; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a:not(.btn) {
  display: block;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--bark);
  text-decoration: none;
  transition: background-color .3s, color .3s;
}
.nav a:not(.btn):hover { background: var(--sprout); }
.nav a.is-active { background: var(--bark); color: var(--paper); }
.nav-call { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  min-height: 46px;
  padding: .5rem 1rem;
  border: 2px solid var(--bark);
  border-radius: 999px;
  background: none;
  color: var(--bark);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle-bars span {
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 8.5rem 0 4rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(3.4rem, 9.2vw, 7.6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:nth-child(2) { padding-left: .6em; }

.js .hero-title .line > span { transform: translateY(110%); }
.js .is-loaded .hero-title .line > span {
  transform: none;
  transition: transform 1.1s var(--ease);
}
.js .is-loaded .hero-title .line:nth-child(2) > span { transition-delay: .12s; }

.hero-sub {
  margin-top: 1.75rem;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--muted);
  max-width: 30ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.4rem;
  font-size: 1rem;
  color: var(--muted);
}
.hero-note svg { width: 18px; color: var(--leaf-deep); flex: none; }

.js .hero-fade { opacity: 0; transform: translateY(16px); }
.js .is-loaded .hero-fade {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease) var(--delay, .5s), transform .9s var(--ease) var(--delay, .5s);
}

.hero-art { position: relative; }
.tree-wrap { transition: transform .9s var(--ease); }
.tree { width: 100%; height: auto; overflow: visible; }

.tree .sun { fill: var(--sprout); transform-box: fill-box; transform-origin: center; }
.tree .ground { fill: rgba(123, 88, 68, .14); transform-box: fill-box; transform-origin: center; }
.tree .trunk,
.tree .branch,
.tree .root { fill: none; stroke: var(--trunk); stroke-linecap: round; }
.tree .root { stroke: #8C6853; }

.js .tree .sun,
.js .tree .ground { transform: scale(0); }
.js .is-loaded .tree .sun { animation: pop 1.4s var(--ease) forwards; }
.js .is-loaded .tree .ground { animation: pop 1s var(--ease) .1s forwards; }

.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-loaded .tree .draw { animation: draw 1.2s var(--ease) var(--d, 0s) forwards; }

.leaf { fill: var(--leaf); transform-box: fill-box; transform-origin: 0 50%; }
.leaf--deep { fill: var(--leaf-deep); }
.js .leaf { transform: scale(0); }
.js .is-loaded .leaf {
  animation:
    pop .7s var(--spring) var(--d, 1.4s) forwards,
    sway var(--sway, 3s) ease-in-out calc(var(--d, 1.4s) + .7s) infinite alternate;
}

.tagline {
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  color: var(--bark);
  text-align: center;
  margin: -.5rem auto 0;
  max-width: none;
  white-space: nowrap;
  rotate: -3deg;
}

/* Drifting leaves (added by JS) */
.drift {
  position: absolute;
  top: -40px;
  width: 18px;
  z-index: 0;
  pointer-events: none;
  color: var(--leaf);
  opacity: .8;
  animation: fall linear infinite;
}
.drift.deep { color: var(--leaf-deep); }
.drift svg { width: 100%; display: block; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-inline: -2rem;
  padding: 1.3rem 0;
  background: var(--bark);
  color: var(--paper);
  rotate: -1.5deg;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0 2rem 0 0;
  list-style: none;
}
.marquee li {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.marquee li svg { width: 22px; color: var(--leaf); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}
.portrait { position: relative; }
.portrait-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background: var(--sprout);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.8s var(--ease);
}
.portrait.is-in .portrait-frame img { transform: scale(1); }

.cred-tag {
  position: absolute;
  left: -1.25rem;
  bottom: 2.5rem;
  padding: .85rem 1.2rem;
  border-radius: 16px;
  background: var(--white);
  color: var(--bark);
  font-family: var(--f-display);
  font-weight: 600;
  box-shadow: 0 20px 40px -20px rgba(78, 51, 38, .5);
  animation: bob 5s ease-in-out infinite;
}
.bacp {
  position: absolute;
  right: -1rem;
  top: 2.25rem;
  width: 132px;
  padding: .55rem;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 20px 40px -20px rgba(78, 51, 38, .5);
  animation: bob 6s ease-in-out -2s infinite;
}

.creds {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--moss);
}
.about-copy .lead {
  margin: 1.75rem 0 1.25rem;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--bark);
}
.about-copy .btn { margin-top: .75rem; }

/* ---------- Services ---------- */
.services-title { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.tablist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.6rem .25rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: rgba(78, 51, 38, .62);
  transition: color .4s, padding .5s var(--ease);
}
.tab:hover { color: var(--bark); }
.tab[aria-selected="true"] { color: var(--bark); padding-left: 1.1rem; }
.tab-leaf {
  width: 28px;
  flex: none;
  color: var(--leaf-deep);
  transform: scale(0) rotate(-90deg);
  transition: transform .5s var(--spring);
}
.tab[aria-selected="true"] .tab-leaf { transform: none; }

.panels { position: relative; }
.panel {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-radius: 32px;
  background: var(--white);
  overflow: hidden;
}
.panel[hidden] { display: none; }
.panel:not([hidden]) { animation: panelIn .7s var(--ease); }
.panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--sprout);
  z-index: 0;
}
.panel > * { position: relative; z-index: 1; }
.panel-img {
  width: 168px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 6px solid var(--sprout);
  background: var(--sprout);
}
.panel-img img { width: 100%; height: 100%; object-fit: cover; }
.panel h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.panel p { font-size: 1.15rem; margin: 0; }
.panel .link { justify-self: start; }

/* ---------- Bespoke ---------- */
.bespoke {
  position: relative;
  overflow: hidden;
  margin-inline: clamp(.75rem, 2vw, 1.5rem);
  border-radius: clamp(28px, 4vw, 56px);
  background: var(--moss);
  color: #E6EFDC;
}
.bespoke h2, .bespoke h3 { color: var(--white); }
.bespoke p { color: #E6EFDC; font-size: 1.12rem; }
.bespoke strong { color: var(--white); }
.bespoke-lead {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem) !important;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--white) !important;
}
.bespoke-top {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 3rem;
  align-items: center;
}

.free-badge {
  position: relative;
  justify-self: center;
  width: min(270px, 72vw);
  aspect-ratio: 1;
}
.free-badge .ring { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.free-badge text {
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .14em;
  fill: var(--white);
}
.badge-center {
  position: absolute;
  inset: 23%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--ink);
  font-family: var(--f-display);
  line-height: 1;
  animation: breatheSoft 5s ease-in-out infinite;
}
.badge-center strong { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.badge-center span { font-size: 1rem; font-weight: 600; line-height: 1.15; margin-top: .2rem; }

.extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.extra { padding: 2.25rem 2rem 0 0; }
.extra + .extra { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, .25); }
.extra svg { width: 42px; color: var(--leaf); margin-bottom: 1.1rem; transition: transform .5s var(--spring); }
.extra:hover svg { transform: translateY(-4px) rotate(-6deg); }
.extra h3 { margin-bottom: .5rem; }
.extra p { font-size: 1.02rem; margin: 0; }

/* ---------- Breathe activity ---------- */
.breathe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.breath-controls { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.sapling { display: flex; align-items: center; gap: 1.1rem; margin-top: 2rem; }
.sapling svg { width: 84px; flex: none; overflow: visible; }
.sapling p { margin: 0; color: var(--muted); }
.sapling strong { color: var(--bark); font-family: var(--f-display); font-size: 1.3rem; }
.sap-stem { fill: none; stroke: var(--trunk); stroke-width: 4; stroke-linecap: round; }
.sap-leaf {
  fill: var(--leaf);
  transform-box: fill-box;
  transform-origin: 0 50%;
  transform: scale(0);
  transition: transform .8s var(--spring);
}
.sap-leaf.grown { transform: scale(1); }

.breath-done {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  background: var(--sprout);
  animation: panelIn .7s var(--ease);
}
.breath-done p { margin-bottom: .5rem; }

.breath-stage {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
}
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(123, 88, 68, .3);
  animation: spin 60s linear infinite;
}
.orb {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #B4DA97, var(--leaf) 55%, var(--leaf-deep));
  box-shadow: 0 30px 60px -30px rgba(54, 95, 46, .65);
  transform: scale(.68);
  transition: transform 1.2s ease-in-out;
}
.orb.phase-in,
.orb.phase-hold { transform: scale(1); }
.orb.phase-out { transform: scale(.6); }
.orb.phase-hold { animation: holdGlow 1.6s ease-in-out infinite; }

.orb-label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .3rem;
  max-width: 58%;
  text-align: center;
  font-family: var(--f-display);
  color: var(--ink);
}
.orb-label .phase { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; }
.orb-label .count { font-size: 1.1rem; font-weight: 500; }

/* Check-in */
.checkin {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 32px;
  background: var(--white);
}
.checkin h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .5rem; }
.moods { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.5rem; }
.mood {
  min-height: 46px;
  padding: .6rem 1.2rem;
  border: 2px solid rgba(78, 51, 38, .28);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--bark);
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--spring);
}
.mood:hover { border-color: var(--bark); transform: translateY(-2px); }
.mood[aria-pressed="true"] { background: var(--bark); border-color: var(--bark); color: var(--paper); }
.mood-reply:empty { display: none; }
.mood-reply {
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  background: var(--sprout);
}
.mood-reply.show { animation: panelIn .6s var(--ease); }
.mood-reply p { margin-bottom: .5rem; font-size: 1.1rem; }
.crisis { margin: 1.5rem 0 0; font-size: .95rem; color: var(--muted); }

/* ---------- Your first steps ---------- */
.steps { --gap: clamp(1.25rem, 3vw, 2.5rem); }
.steps-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.steps-head h2 { margin: 0; }
.steps-head p { margin: 0; font-size: 1.15rem; color: var(--muted); }

.steps-track { position: relative; }
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  position: relative;
  z-index: 1;
}
.steps-line {
  position: absolute;
  top: 31px;
  left: calc((100% - 3 * var(--gap)) / 8);
  right: calc((100% - 3 * var(--gap)) / 8);
  height: 4px;
  border-radius: 4px;
  background: rgba(123, 88, 68, .16);
}
.steps-line-fill {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--trunk);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.step { text-align: center; display: grid; justify-items: center; align-content: start; }
.step-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  border: 3px solid rgba(123, 88, 68, .25);
  background: var(--paper);
  color: rgba(123, 88, 68, .35);
  transition: background-color .6s var(--ease), border-color .6s, color .6s, transform .7s var(--spring);
}
.step-mark svg { width: 28px; transition: transform .7s var(--spring); }
.step.lit .step-mark {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--leaf);
  transform: scale(1.08);
}
.step.lit .step-mark svg { transform: rotate(-20deg) scale(1.1); }
.step-num {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--moss);
  margin-bottom: .4rem;
}
.step h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: .6rem; }
.step p { font-size: 1.02rem; color: var(--muted); margin: 0; max-width: 28ch; }

/* ---------- Contact ---------- */
.contact { position: relative; padding-bottom: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contact-intro { position: sticky; top: 120px; }
.contact h2 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.contact-intro > p { font-size: 1.15rem; color: var(--muted); }
.big-phone {
  display: inline-block;
  margin: .5rem 0 1.5rem;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--moss);
  text-decoration: none;
  background: linear-gradient(var(--leaf), var(--leaf)) no-repeat 0 92% / 0 8px;
  transition: background-size .6s var(--ease);
}
.big-phone:hover { background-size: 100% 8px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.contact-private {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 1rem;
}
.contact-private svg { width: 20px; color: var(--moss); flex: none; }

/* Form */
.form-card {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 40px 80px -50px rgba(78, 51, 38, .45);
}
.contact-form { display: grid; gap: 1.25rem; }
.contact-form[hidden] { display: none; }
.contact-form h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: .25rem; }
.contact-form.shake { animation: shake .45s ease-in-out; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.field { display: grid; gap: .45rem; align-content: start; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label,
.field legend {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--bark);
  padding: 0;
}
.optional { font-weight: 400; color: var(--muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 2px solid rgba(78, 51, 38, .2);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.02rem;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: #857A72; }
.field input:hover,
.field textarea:hover { border-color: rgba(78, 51, 38, .4); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--sprout);
}
.field.has-error input,
.field.has-error textarea { border-color: #A23B2A; background: #FBF1EE; }
.field-error { font-size: .92rem; color: #A23B2A; min-height: 0; }
.field-error:empty { display: none; }

.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .45rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1.1rem;
  border: 2px solid rgba(78, 51, 38, .22);
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--bark);
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--spring);
}
.pill:hover span { border-color: var(--bark); }
.pill input:checked + span { background: var(--bark); border-color: var(--bark); color: var(--paper); transform: scale(1.04); }
.pill input:focus-visible + span { outline: 3px solid var(--leaf-deep); outline-offset: 3px; }

.check { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; font-size: 1rem; color: var(--ink); }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--moss); flex: none; cursor: pointer; }

.btn-send { justify-self: start; position: relative; min-width: 190px; }
.btn-send .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: var(--white);
  animation: spin .8s linear infinite;
}
.btn-send.is-sending { pointer-events: none; background: var(--bark); }
.btn-send.is-sending .spinner { display: inline-block; }

.form-success { text-align: center; display: grid; justify-items: center; gap: .75rem; padding: 2rem 0; outline: none; }
.form-success:not([hidden]) { animation: panelIn .7s var(--ease); }
.form-success[hidden] { display: none; }
.form-success h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.form-success p { color: var(--muted); max-width: 40ch; }
.success-mark { width: 96px; height: 96px; }
.success-mark circle,
.success-mark path { fill: none; stroke: var(--moss); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.success-mark path { stroke: var(--leaf-deep); }
.js .form-success:not([hidden]) .draw { animation: draw .9s var(--ease) forwards; }
.js .form-success:not([hidden]) path.draw { animation-delay: .5s; }

.roots-art {
  display: block;
  width: 100%;
  height: clamp(90px, 14vw, 160px);
  margin-top: clamp(4rem, 7vw, 6rem);
}
.roots-art path { fill: none; stroke: var(--trunk); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.roots-art path.thin { stroke-width: 3; }
.js .roots-art.is-in .draw { animation: draw 1.8s var(--ease) var(--d, 0s) forwards; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--bark);
  color: #EDE4DC;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1.1fr 1.45fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.f-logo {
  display: inline-block;
  padding: .9rem 1.1rem;
  border-radius: 22px;
  background: var(--paper);
  transition: transform .5s var(--spring);
}
.f-logo:hover { transform: rotate(-2deg) scale(1.03); }
.f-logo img { width: 150px; height: auto; }
.f-brand p { margin: 1.25rem 0; font-size: 1rem; color: #DCD0C6; max-width: 32ch; }
.f-bacp { width: 132px; padding: .45rem; border-radius: 12px; background: var(--white); }

.f-col h3 {
  font-size: 1.15rem;
  color: #BFE0A3;
  letter-spacing: -.01em;
  margin-bottom: 1.1rem;
}
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.f-col a {
  color: #EDE4DC;
  text-decoration: none;
  background: linear-gradient(var(--leaf), var(--leaf)) no-repeat 0 100% / 0 2px;
  transition: background-size .4s var(--ease), color .3s;
  overflow-wrap: anywhere;
}
.f-col a:hover { background-size: 100% 2px; color: var(--white); }
.f-contact address { font-style: normal; margin: 1.1rem 0 1.4rem; font-size: .98rem; color: #DCD0C6; line-height: 1.6; }

.social { display: flex; gap: .6rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  color: #EDE4DC;
  background: none;
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--spring);
}
.social a:hover { background: var(--leaf); border-color: var(--leaf); color: var(--ink); transform: translateY(-3px); }
.social svg { width: 20px; }

.footer-word {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  max-width: none;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: clamp(3.5rem, 13vw, 12rem);
  line-height: .9;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, .08);
  user-select: none;
  transform: translateX(var(--fx, 0px));
  transition: transform .2s linear;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .95rem;
  color: #D7CBC1;
}
.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; align-items: center; gap: 1.5rem; }
.footer-bottom a:not(.to-top) { color: #D7CBC1; }
.footer-bottom a:not(.to-top):hover { color: var(--white); }
.to-top {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--ink);
  transition: transform .4s var(--spring), background-color .3s;
}
.to-top svg { width: 22px; }
.to-top:hover { transform: translateY(-5px); background: #A7D486; }

@keyframes shake {
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .steps-head, .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }

  .steps-list { grid-template-columns: 1fr; gap: 2.25rem; }
  .steps-line { top: 33px; bottom: 60px; left: 31px; right: auto; width: 4px; height: auto; }
  .steps-line-fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { text-align: left; justify-items: start; padding-left: 92px; position: relative; min-height: 66px; }
  .step-mark { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .btn-send { justify-self: stretch; }
}


/* ---------- Scroll reveals ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="left"]  { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.9); }
.js [data-reveal].is-in   { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes draw       { to { stroke-dashoffset: 0; } }
@keyframes pop        { to { transform: scale(1); } }
@keyframes sway       { from { transform: scale(1) rotate(-7deg); } to { transform: scale(1) rotate(7deg); } }
@keyframes bob        { 50% { transform: translateY(-10px); } }
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes marquee    { to { transform: translateX(-50%); } }
@keyframes panelIn    { from { opacity: 0; transform: translateY(18px); } }
@keyframes breatheSoft{ 50% { transform: scale(1.06); } }
@keyframes holdGlow   { 50% { box-shadow: 0 30px 80px -20px rgba(125, 185, 85, .9); } }
@keyframes fall {
  from { transform: translate(0, -40px) rotate(0deg); }
  to   { transform: translate(var(--x, 60px), calc(100svh + 80px)) rotate(540deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .services-grid,
  .bespoke-top,
  .breathe-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 7.5rem; }
  .hero-art { max-width: 460px; width: 100%; margin-inline: auto; }
  .portrait { max-width: 420px; margin-inline: auto; width: 100%; }

  .extras { grid-template-columns: 1fr; }
  .extra, .extra + .extra { padding: 1.75rem 0; border-left: 0; }
  .extra + .extra { border-top: 1px solid rgba(255, 255, 255, .25); }

  .breath-stage { max-width: 360px; order: -1; }
  .growth { display: none; }
}

@media (max-width: 860px) {
  /* backdrop-filter would trap the fixed menu inside the header, so drop it on mobile */
  .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .brand img { width: 104px; }
  .is-scrolled .brand img { width: 80px; }
  .hero { padding-top: 8.5rem; }
  .header-call { display: none; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 6rem 1.5rem 2rem;
    background: var(--paper);
    clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility .7s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); visibility: visible; }
  .nav ul { flex-direction: column; gap: .4rem; }
  .nav a:not(.btn) { font-size: 2rem; font-weight: 700; padding: .5rem 1rem; }
  .nav-call { display: inline-flex; align-self: flex-start; }
}

@media (max-width: 560px) {
  .hero-title .line:nth-child(2) { padding-left: .3em; }
  .cred-tag { left: .5rem; font-size: .95rem; }
  .bacp { right: .5rem; width: 110px; }
  .tagline { white-space: normal; }
  .panel-img { width: 130px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
