/* ---------- Tokens ---------- */
:root {
  --cream: #FBF6EC;
  --cream-deep: #F3EADA;
  --ink: #4A3626;
  --ink-soft: #73614D;
  --petal-pink: #F3AEC0;
  /* Sampled from the logo artwork. */
  --logo-pink: #FFC2C7;
  --logo-centre: #FFFBF5;
  --petal-pink-deep: #E88BA4;
  --bloom-yellow: #F0C24E;

  /* Soft coral, two tones. --clay is the pastel: it carries fills and buttons,
     always with --ink on top of it (5.4:1). --clay-deep is the same hue taken
     down far enough to be readable as small text on cream and on blush. */
  --clay: #E9A183;
  --clay-soft: #F2BCA6;
  --clay-deep: #935449;
  --clay-shadow: 233,161,131;

  --sage: #86AD8C;
  --sage-deep: #6C9573;
  --blush: #FBE1D9;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-script: "Caveat", cursive;
  --font-body: "Quicksand", system-ui, sans-serif;

  --wrap: 1140px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --ease-soft: cubic-bezier(.22,1,.36,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* height:auto so the width/height attributes only reserve space (no layout shift)
   without overriding the aspect-ratio the stylesheet asks for */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream);
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85em 1.7em; border-radius: 999px; text-decoration: none;
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease-soft), background-color .25s;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--clay); color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(var(--clay-shadow),.75);
}
.btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-3px) scale(1.03); background: var(--clay-soft); box-shadow: 0 12px 24px -8px rgba(var(--clay-shadow),.9); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 2px solid var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus-visible { transform: translateY(-3px) scale(1.03); background: var(--ink); color: var(--cream); }
.btn-small { padding: .6em 1.3em; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,236,.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74,54,38,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.brand-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
/* The logo carries the wordmark inside the artwork, so the header shows it on
   its own. Sized by height — the width follows the 473x407 artwork. */
.brand-logo { height: 60px; width: auto; flex-shrink: 0; }

/* Scroll offset so anchored sections don't hide under the sticky header */
section[id], #top { scroll-margin-top: 100px; }

/* ---------- Primary nav ---------- */
.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav ul { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 26px); flex-wrap: wrap; }
.site-nav a {
  position: relative; display: inline-block; text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 500; font-size: .95rem; padding: 6px 2px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--clay-deep); border-radius: 2px;
  transition: right .3s var(--ease-soft);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after { right: 0; }
.site-nav a.is-active { color: var(--clay-deep); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Gentle idle pulse on the header CTA so it stays inviting without being loud */
.header-actions .btn-primary { animation: header-cta-pulse 6s ease-in-out infinite; }
.header-actions .btn-primary:hover, .header-actions .btn-primary:focus-visible { animation-play-state: paused; }
@keyframes header-cta-pulse {
  0%, 92%, 100% { box-shadow: 0 8px 20px -8px rgba(var(--clay-shadow),.75); }
  96% { box-shadow: 0 8px 22px -6px rgba(var(--clay-shadow),1); transform: scale(1.045); }
}

/* Hamburger toggle (mobile / tablet only) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 10px; border: none; background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-bounce), opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px) {
  /* The row now carries logo + CTA + hamburger, so the logo gives a little back */
  .brand-logo { height: 48px; }
  .nav-toggle { display: flex; order: 3; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid rgba(74,54,38,.1);
    box-shadow: 0 20px 32px -20px rgba(74,54,38,.3);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .4s var(--ease-soft), opacity .3s ease;
  }
  .site-nav.is-open { max-height: 480px; opacity: 1; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 28px 18px; }
  .site-nav li { border-bottom: 1px dashed rgba(74,54,38,.12); }
  .site-nav li:last-child { border-bottom: none; }
  .site-nav a { display: block; padding: 14px 4px; }
  .site-nav a::after { display: none; }
  .site-nav a.is-active { color: var(--clay-deep); font-weight: 700; }
  .header-actions .btn-small { padding: .55em 1.1em; font-size: .85rem; }
}

/* ---------- Flower shape ---------- */
.petal { fill: var(--petal-color, var(--petal-pink)); }

/* Replaces the style="" attributes these two elements used to carry, so the
   stylesheet can be served under a style-src that forbids unsafe-inline. */
.svg-defs { position: absolute; }
.bloom-divider-yellow { --petal-color: var(--bloom-yellow); }
.bloom-divider-sage   { --petal-color: var(--sage); }
/* Straight off the logo mark: pink petals, small cream centre. */
.bloom-divider-logo   { --petal-color: var(--logo-pink); --center-color: var(--logo-centre); }
.flower-center { fill: var(--center-color, var(--bloom-yellow)); }

/* Contact-section mark: always visible, gentle idle sway */
.brand-mark-lg .petals { transform-origin: center; animation: sway 7s ease-in-out infinite; }
.brand-mark-lg { width: 74px; height: 74px; margin: 0 auto 6px; }

@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(6deg); }
}

/* Bloom dividers: petals start closed, bloom open when in view */
.bloom-divider { width: 64px; height: 64px; margin: 8px auto; display: block; }
.bloom-divider .petals > g { transform-origin: center; transform-box: fill-box; transform: scale(.15) rotate(-25deg); opacity: 0; transition: transform .7s var(--ease-bounce), opacity .5s ease; }
.bloom-divider .flower-center { transform-origin: center; transform-box: fill-box; transform: scale(0); opacity: 0; transition: transform .5s var(--ease-bounce) .5s, opacity .4s ease .5s; }
.bloom-divider.in-view .petals > g { transform: scale(1) rotate(0deg); opacity: 1; }
.bloom-divider.in-view .flower-center { transform: scale(1); opacity: 1; }
.bloom-divider .petals > g:nth-child(1) { transition-delay: .05s; }
.bloom-divider .petals > g:nth-child(2) { transition-delay: .12s; }
.bloom-divider .petals > g:nth-child(3) { transition-delay: .19s; }
.bloom-divider .petals > g:nth-child(4) { transition-delay: .26s; }
.bloom-divider .petals > g:nth-child(5) { transition-delay: .33s; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.chip-cloud .chip.reveal { transition-delay: calc(var(--i, 0) * 45ms); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -6% -2%;
  background-image:
    linear-gradient(105deg, rgba(251,246,236,.92) 0%, rgba(251,246,236,.6) 24%, rgba(251,246,236,.12) 48%, rgba(251,246,236,0) 66%),
    linear-gradient(0deg, rgba(251,246,236,.5) 0%, rgba(251,246,236,0) 30%),
    url("../Photos/home-page-hero.jpg");
  background-size: cover;
  background-position: center 62%;
  will-change: transform;
}
.hero-content { position: relative; z-index: 2; padding: 50px 0; max-width: 640px; }
.eyebrow {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  color: var(--clay-deep); font-weight: 600; margin-bottom: .8em;
}
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: .45em; text-shadow: 0 2px 24px rgba(251,246,236,.8), 0 1px 2px rgba(251,246,236,.9); min-height: 1.15em; }
.hero-title .accent-word { color: var(--clay-deep); position: relative; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tw-cursor { display: inline-block; color: var(--clay-deep); font-weight: 400; animation: tw-blink 1s step-end infinite; }
@keyframes tw-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* White sub-heading over the photo. The cream wash behind it is light, so the
   shadow stack below is a soft dark halo rather than the glow used elsewhere —
   that is what keeps the white legible across the whole gradient. */
.hero-sub {
  font-size: 1.15rem; max-width: 46ch; font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(52,36,24,.85), 0 2px 14px rgba(52,36,24,.6), 0 0 34px rgba(52,36,24,.45);
}
.hero .eyebrow { text-shadow: 0 2px 16px rgba(251,246,236,.9); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.6em; }

.hero-petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.drift {
  position: absolute; bottom: -60px; width: 22px; height: 22px; border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
  opacity: .55; animation: drift-up linear infinite;
}
.d1 { left: 8%;  background: var(--petal-pink);   width: 18px; height: 18px; animation-duration: 16s; animation-delay: 0s; }
.d2 { left: 22%; background: var(--bloom-yellow); width: 14px; height: 14px; animation-duration: 13s; animation-delay: 2s; }
.d3 { left: 40%; background: var(--sage);         width: 20px; height: 20px; animation-duration: 19s; animation-delay: 5s; }
.d4 { left: 58%; background: var(--clay);         width: 16px; height: 16px; animation-duration: 15s; animation-delay: 1s; }
.d5 { left: 74%; background: var(--bloom-yellow); width: 18px; height: 18px; animation-duration: 17s; animation-delay: 7s; }

@keyframes drift-up {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: .55; }
  50%  { transform: translateY(-48vh) translateX(18px) rotate(160deg); }
  90%  { opacity: .35; }
  100% { transform: translateY(-95vh) translateX(-14px) rotate(320deg); opacity: 0; }
}

/* Decorative floats reused in a couple of later sections for continuity with the hero */
/* clip rather than hidden: hidden would make this a scroll container and kill
   position:sticky on the photo inside */
.float-host { position: relative; overflow: hidden; overflow: clip; }
.float-host > .wrap { position: relative; z-index: 1; }
.section-petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.float-deco {
  position: absolute; border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
  opacity: .5; animation: float-bob ease-in-out infinite;
}
#who-it-helps .f1 { left: 6%;  top: 12%; width: 20px; height: 20px; background: var(--petal-pink);   animation-duration: 9s; }
#who-it-helps .f2 { right: 10%; top: 60%; width: 16px; height: 16px; background: var(--bloom-yellow); animation-duration: 11s; animation-delay: 1.5s; }
#who-it-helps .f3 { left: 45%; top: 84%; width: 14px; height: 14px; background: var(--sage);         animation-duration: 8s;  animation-delay: 3s; }
.contact .f1 { left: 8%;  top: 18%; width: 18px; height: 18px; background: var(--petal-pink);   animation-duration: 10s; }
.contact .f2 { right: 12%; top: 22%; width: 14px; height: 14px; background: var(--bloom-yellow); animation-duration: 8s;  animation-delay: 1s; }
.contact .f3 { left: 18%; bottom: 14%; width: 16px; height: 16px; background: var(--sage);       animation-duration: 12s; animation-delay: 2.5s; }
.contact .f4 { right: 20%; bottom: 20%; width: 12px; height: 12px; background: var(--clay);      animation-duration: 9s;  animation-delay: 4s; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(180deg); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--ink); border-radius: 20px; z-index: 2;
}
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--clay-deep); animation: cue-bounce 1.8s ease-in-out infinite; }
@keyframes cue-bounce { 0%, 100% { top: 8px; opacity: 1; } 70% { top: 22px; opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: var(--blush); }
.section-head { max-width: 640px; margin: 0 auto 48px; }

.split { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(32px, 6vw, 76px); align-items: center; }
.split-reverse { grid-template-columns: 1fr .82fr; }
.split-reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: 0 24px 48px -24px rgba(74,54,38,.35); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* The sand-tray photo is 16:9 — a 4/5 crop would cut straight through the tray */
.split-media-wide img { aspect-ratio: 16/10; }

/* Tarryn's portrait is a background-free cut-out, so it gets a soft blush disc
   to sit on instead of the framed-card treatment the other photos use. */
.split-portrait { grid-template-columns: .55fr 1fr; }
.split-media-cutout { position: relative; max-width: 310px; margin-inline: auto; }
.split-media-cutout::before {
  content: ""; position: absolute; z-index: 0;
  left: 57%; top: 1%; transform: translateX(-50%);
  width: 112%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--blush) 0%, var(--blush) 56%, rgba(251,225,217,0) 71%);
}
.split-media-cutout img {
  position: relative; z-index: 1;
  aspect-ratio: 3/4; object-fit: contain;
  border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 16px 24px rgba(74,54,38,.22));
}

h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.signature { font-family: var(--font-script); font-size: 1.7rem; color: var(--clay-deep); margin-top: 1.2em; }

/* Quote */
.quote { margin: 1.4em 0; }
.quote p { font-family: var(--font-script); font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.3; color: var(--ink); }
.quote cite { font-family: var(--font-body); font-style: normal; font-weight: 600; color: var(--ink-soft); font-size: .95rem; }

/* Chip cloud */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4em 0; }
.chip {
  background: var(--cream); border: 1.5px solid rgba(74,54,38,.12);
  padding: .55em 1.1em; border-radius: 999px; font-size: .92rem; color: var(--ink);
  transition: transform .3s var(--ease-bounce), background-color .3s, border-color .3s, box-shadow .3s;
}
.chip:nth-child(3n+1) { background: var(--blush); }
.chip:nth-child(3n+2) { background: #FCEFCB; }
.chip:nth-child(3n+3) { background: #E7F0E8; }
.chip:hover, .chip:focus-visible {
  transform: translateY(-3px) scale(1.05) rotate(-1.5deg);
  box-shadow: 0 10px 18px -10px rgba(74,54,38,.35);
}
.chip:nth-child(even):hover { transform: translateY(-3px) scale(1.05) rotate(1.5deg); }
.fine-print { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Collage ---------- */
/* Balanced columns rather than a fixed grid, so every photo keeps its own
   proportions and nothing gets cropped. */
.collage-wrap { margin-bottom: 64px; }
.collage { columns: 3; column-gap: 18px; }

.collage-item {
  --tilt: 0deg;
  display: block; width: 100%; padding: 0; margin: 0 0 18px;
  border: 6px solid var(--cream); border-radius: var(--radius-md);
  background: var(--cream); overflow: hidden; cursor: zoom-in;
  box-shadow: 0 14px 28px -18px rgba(74,54,38,.45);
  break-inside: avoid; -webkit-column-break-inside: avoid;
  transform: rotate(var(--tilt));
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease-soft);
}
.collage-item img { width: 100%; height: auto; border-radius: calc(var(--radius-md) - 7px); }
.collage .collage-item:nth-child(odd)  { --tilt: -1.2deg; }
.collage .collage-item:nth-child(even) { --tilt: 1deg; }
.collage-item:hover, .collage-item:focus-visible {
  transform: rotate(0deg) translateY(-5px) scale(1.02);
  box-shadow: 0 22px 38px -18px rgba(74,54,38,.55);
}
.collage-band { margin: 10px 0 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: none; padding: 0; background: transparent; overflow: visible;
  max-width: 100vw; max-height: 100vh; width: 100%; height: 100%;
}
.lightbox::backdrop { background: rgba(35,25,17,.82); backdrop-filter: blur(4px); }
.lightbox-inner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: min(92vw, 1100px);
}
.lightbox-inner img {
  max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto;
  border-radius: var(--radius-md); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  background: var(--cream);
}
.lightbox-caption {
  margin: 0; max-width: 60ch; text-align: center; color: var(--cream);
  font-size: .95rem; line-height: 1.5; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.lb-btn {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--clay); color: var(--ink);
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.6);
  transition: transform .25s var(--ease-bounce), background-color .25s;
}
.lb-btn:hover, .lb-btn:focus-visible { transform: scale(1.1); background: var(--clay-soft); }
.lb-prev { left: 18px; top: 50%; margin-top: -23px; }
.lb-next { right: 18px; top: 50%; margin-top: -23px; }
.lb-close { right: 18px; top: 18px; font-size: 1.4rem; }

/* How sessions work / how you can help */
.how-sessions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); border-top: 1px dashed rgba(74,54,38,.2); padding-top: 48px; }
.how-col h3 { font-size: 1.2rem; color: var(--clay-deep); }
.quiet-list li { position: relative; padding-left: 1.4em; margin-bottom: .7em; color: var(--ink-soft); }
.quiet-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-deep); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 2em 0 1.6em; text-align: left; }
.contact-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--cream);
  border-radius: var(--radius-md); padding: 1.6em 1.5em; min-height: 170px; text-decoration: none; color: var(--ink);
  box-shadow: 0 14px 28px -18px rgba(74,54,38,.3);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
a.contact-item:hover, a.contact-item:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 32px -16px rgba(74,54,38,.4); }
.c-icon { font-size: 1.8rem; flex-shrink: 0; }
.c-label { display: block; color: var(--ink-soft); font-size: .9rem; }
.c-value {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  line-height: 1.4; overflow-wrap: anywhere; word-break: break-word; hyphens: auto;
}
.social-row { display: flex; gap: 10px; justify-content: center; font-family: var(--font-display); font-weight: 600; }
.social-row a { text-decoration: none; color: var(--clay-deep); }
.social-row a:hover { text-decoration: underline; }

/* Footer */
.site-footer { padding: 40px 0 46px; text-align: center; color: var(--ink-soft); font-size: .9rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-logo { width: 150px; height: auto; }

.pti-badge {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink-soft);
  transition: transform .3s var(--ease-bounce), background-color .3s;
}
.pti-badge img { width: 104px; height: auto; border-radius: var(--radius-sm); }
.pti-text { font-family: var(--font-display); font-weight: 500; font-size: .82rem; line-height: 1.5; }
.pti-badge:hover, .pti-badge:focus-visible { transform: translateY(-2px); background: var(--cream-deep); }

.footer-social { font-size: .9rem; }

/* The footer stacks on a flex gap, so the paragraphs drop their own margin and
   the credit line sits quietly a step below the copyright. */
.footer-line { margin: 0; }
.footer-credit { margin-top: -8px; font-size: .82rem; }
.footer-credit a { color: var(--clay-deep); text-decoration: none; }
.footer-credit a:hover, .footer-credit a:focus-visible { text-decoration: underline; }

/* Both split sections have far more copy than photo. Pinning the photo to the
   top of the column — and letting it ride along as you read — keeps the layout
   from opening a hole beside a long list. */
@media (min-width: 861px) {
  #welcome .split, #who-it-helps .split { align-items: start; }
  #welcome .split-media, #who-it-helps .split-media { position: sticky; top: 108px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .collage { columns: 2; }
}

@media (max-width: 860px) {
  .split, .split-reverse, .split-portrait { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 16/10; }
  .split-media-cutout img { aspect-ratio: 3/4; }
  .how-sessions { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-bg { background-position: center 70%; }
  .hero-content { padding: 40px 0; max-width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-logo { height: 44px; }
  .hero { min-height: 88vh; }
  /* The old wash went almost solid cream by 78%, which is exactly where the
     white sub-heading sits on a phone. Hold the photo through the middle and
     only fade out below the buttons, so the white keeps something to sit on. */
  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(251,246,236,.5) 0%, rgba(251,246,236,.42) 46%, rgba(251,246,236,.62) 88%, rgba(251,246,236,.9) 100%),
      url("../Photos/home-page-hero.jpg");
  }
  /* A soft warm scrim under the copy only — enough to seat white text without
     dulling the dark headline above it. */
  .hero-content::before {
    content: ""; position: absolute; z-index: -1;
    left: -28px; right: -28px; top: 8%; bottom: 0;
    background: radial-gradient(130% 78% at 28% 66%, rgba(58,40,27,.5) 0%, rgba(58,40,27,.28) 58%, rgba(58,40,27,0) 100%);
    pointer-events: none;
  }
  .hero-sub { text-shadow: 0 1px 2px rgba(40,27,18,.95), 0 2px 10px rgba(40,27,18,.8), 0 0 28px rgba(40,27,18,.6); }
  .collage { columns: 1; }
  .collage-item { --tilt: 0deg !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { right: 10px; top: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bloom-divider .petals > g, .bloom-divider .flower-center { transform: none !important; opacity: 1 !important; transition: none; }
  .brand-mark-lg .petals { animation: none; }
  .drift, .float-deco { display: none; }
  .scroll-cue span { animation: none; top: 14px; }
  .btn, .contact-item, .chip, .nav-toggle span, .pti-badge { transition: none; }
  .header-actions .btn-primary { animation: none; }
  .hero-bg { transform: none !important; }
  .tw-cursor { animation: none; opacity: 0; }
  .collage-item { --tilt: 0deg !important; transition: none; }
  .collage-item:hover, .collage-item:focus-visible { transform: none; }
  .lb-btn { transition: none; }
}
