/* Mindfully Priya - site stylesheet.
   Roles come from the old Wix palette (deep teal, blush sand, warm paper),
   rebuilt around one rationed accent: the ochre of the autumn photographs. */

:root {
  --paper: #f8f4ef;
  --paper-2: #f0e8e0;
  --sand: #dccbc0;
  --ink: #1d2a2f;
  --ink-2: #53636a;
  --teal: #22495a;
  --teal-deep: #183743;
  --on-teal: #eef2f1;
  --on-teal-2: #b9cbcd;
  --line: rgba(29, 42, 47, .14);
  --line-teal: rgba(238, 242, 241, .2);
  --accent: #b5703a;
  --accent-ink: #8f5426;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure: 36rem;
  --wide: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7.5rem);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent-ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 60;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
strong { font-weight: 600; }

.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 10; }

.eyebrow {
  font: 600 .75rem/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.eyebrow:empty { display: none; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow::before {
  content: ""; display: inline-block; width: 2rem; height: 1px;
  background: var(--accent); vertical-align: middle; margin-right: .75rem;
}
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 34rem; }
.lede:empty { display: none; }

/* Buttons: the accent fill is kept for the one action that matters on a page */
.btn {
  display: inline-block;
  font: 500 .95rem/1 var(--sans);
  letter-spacing: .02em;
  padding: 1rem 1.6rem;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  color: var(--teal);
  background: transparent;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--teal); color: var(--on-teal); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn-link {
  font-weight: 500; text-decoration: none; color: var(--teal);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.btn-link::after { content: " \2192"; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(248, 244, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 5rem; }
.logo img { width: 150px; height: auto; }
.site-header nav { margin-left: auto; }
.menu { display: none; }
.nav-list, .menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.nav-list a, .menu a { font-size: .95rem; color: var(--ink); text-decoration: none; padding: .25rem 0; border-bottom: 1px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current], .menu a[aria-current] { border-bottom-color: var(--accent); color: var(--ink); }
.header-cta { padding: .8rem 1.2rem; font-size: .9rem; }

@media (max-width: 1080px) {
  .header-inner { gap: 1rem; }
  .nav-list { display: none; }
  .menu { display: block; }
  .menu summary {
    display: block; cursor: pointer; list-style: none;
    font-size: .95rem; padding: .6rem 0; border-bottom: 1px solid var(--ink);
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] ul {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
  }
  .menu[open] li { border-top: 1px solid var(--line); }
  .menu[open] a { display: block; padding: .9rem 0; font-size: 1.1rem; font-family: var(--display); border: 0; }
}
@media (max-width: 520px) {
  .logo img { width: 120px; }
  .header-cta { padding: .7rem .9rem; font-size: .85rem; }
}

/* Page hero */
.page-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero-media:empty { display: none; }
.page-hero-inner:has(.page-hero-media:empty) { grid-template-columns: 1fr; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 820px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-media img { aspect-ratio: 3 / 2; }
}

/* Prose: text holds the measure, bands and wide blocks break out to full width */
.prose-wrap { padding-bottom: var(--space); }
.prose-wrap > :not(.band):not(.wide):not(.split):not(.cards):not(.offers):not(.quotes):not(.gallery) {
  max-width: var(--measure);
  margin-inline: auto;
}
.prose-wrap > :is(.wide, .split, .cards, .offers, .quotes, .gallery) {
  max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter);
}
.prose-wrap > h2, .prose-wrap > h3 { margin-top: 2.2em; }
.prose-wrap > h4 { margin-top: 1.8em; }
.prose-wrap > :first-child { margin-top: 0; }
@media (max-width: 40rem) {
  .prose-wrap > :not(.band):not(.wide):not(.split):not(.cards):not(.offers):not(.quotes):not(.gallery) {
    margin-inline: var(--gutter);
  }
}
.prose-wrap ul, .prose-wrap ol { padding-left: 1.2rem; }
.prose-wrap li { margin-bottom: .5em; }
.prose-wrap li::marker { color: var(--accent); }
.prose-wrap > .band:last-child { margin-bottom: calc(var(--space) * -1); }

/* Ticked lists (replaces the old ✔ and ✅ glyphs) */
ul.ticks { list-style: none; padding: 0; border-top: 1px solid var(--line); }
ul.ticks li { padding: .85rem 0 .85rem 2rem; margin: 0; border-bottom: 1px solid var(--line); position: relative; }
ul.ticks li::before {
  content: ""; position: absolute; left: .15rem; top: 1.45rem;
  width: .9rem; height: 1px; background: var(--accent);
}

/* Full-bleed bands */
.band { padding-block: var(--space); margin-block: var(--space); }
.band > * { max-width: var(--measure); margin-inline: auto; }
.band > :is(.wide, .split, .cards, .offers, .quotes, .gallery, .wrap) { max-width: var(--wide); padding-inline: var(--gutter); }
@media (max-width: 40rem) { .band > :not(.wrap):not(.split):not(.cards):not(.offers):not(.quotes):not(.gallery):not(.wide) { margin-inline: var(--gutter); } }
.band-sand { background: var(--paper-2); }
.band-teal { background: var(--teal); color: var(--on-teal); }
.band-teal :is(h1, h2, h3, h4) { color: #fff; }
.band-teal p, .band-teal li { color: var(--on-teal-2); }
.band-teal a:not(.btn) { color: #fff; }
.band-teal .eyebrow { color: var(--on-teal-2); }
.band-teal .btn { color: #fff; border-color: rgba(255,255,255,.6); }
.band-teal .btn:hover { background: #fff; color: var(--teal); }
.band-teal .btn-accent { border-color: var(--accent); }
.band-teal ul.ticks, .band-teal ul.ticks li { border-color: var(--line-teal); }
.band + .band { margin-top: calc(var(--space) * -1); }

/* Split: text beside an image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split.landscape img { aspect-ratio: 3 / 2; }
.split > div > :last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split img { aspect-ratio: 3 / 2; }
}

/* Pull quote and testimonials */
blockquote {
  margin: 2.5rem auto; padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--accent);
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.4; letter-spacing: -.01em;
  color: var(--ink);
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite, .quote-by { display: block; margin-top: 1rem; font: 500 .85rem/1.4 var(--sans); font-style: normal; letter-spacing: .04em; color: var(--ink-2); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.quotes figure { margin: 0; padding: 2.5rem 2rem 2.5rem 0; border-bottom: 1px solid var(--line); }
.quotes figure p { font-family: var(--display); font-weight: 300; font-size: 1.2rem; line-height: 1.5; }
.quotes figcaption { font-size: .85rem; letter-spacing: .03em; color: var(--ink-2); }
.band-teal .quotes, .band-teal .quotes figure { border-color: var(--line-teal); }
.band-teal .quotes figure p { color: #fff; }

/* Offers: hairline rows for services, programmes and events */
.offers { border-top: 1px solid var(--line); }
.offer {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 10rem; gap: 1rem 3rem;
  padding: 2.25rem 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.offer h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.offer h3 a { color: inherit; text-decoration: none; }
.offer p { margin: 0; color: var(--ink-2); }
.offer .meta { display: block; margin-top: .5rem; font-size: .85rem; letter-spacing: .04em; color: var(--ink-2); }
.offer-go { white-space: nowrap; justify-self: end; }
@media (max-width: 820px) { .offer-go { justify-self: start; } }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; gap: .75rem; } }

/* Cards for journal posts */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 3rem 2rem; }
.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .6rem; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .3s; }
.card:hover img { opacity: .88; }
.card-meta { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-top: .5rem; }
.card-title { font-family: var(--display); font-weight: 300; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.01em; }
.card:hover .card-title { color: var(--teal); }

/* Numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0 !important; border-top: 1px solid var(--line); }
.steps > li { counter-increment: step; padding: 1.75rem 0 1.75rem 4rem; border-bottom: 1px solid var(--line); position: relative; margin: 0; }
.steps > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1.6rem;
  font-family: var(--display); font-size: 1.5rem; font-weight: 300; color: var(--accent);
}
.steps strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin-bottom: .25rem; }

/* Badges, gallery */
.badges { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; align-items: center; justify-content: flex-start; list-style: none; padding: 0 !important; }
.badges li { margin: 0; }
.badges img { height: 84px; width: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.figure { margin-block: 2.5rem 3rem; }
.figure img { width: 100%; }
.figure figcaption { font-size: .85rem; color: var(--ink-2); margin-top: .6rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--display); font-weight: 300; font-size: 1.3rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.2rem; font-family: var(--sans); font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { color: var(--ink-2); padding-right: 2.5rem; }

/* Facts row: price, duration, place */
.facts { margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; list-style: none; padding: 1.25rem 0 !important; border-block: 1px solid var(--line); font-size: .95rem; }
.facts li { margin: 0; }
.facts span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* Post */
.post-head { max-width: calc(var(--measure) + 2 * var(--gutter)); padding-block: clamp(3rem, 7vw, 5.5rem) 2rem; }
.post-meta { color: var(--ink-2); font-size: .9rem; letter-spacing: .03em; }
.post-hero { margin-bottom: 3.5rem; max-width: calc(var(--measure) + 12rem + 2 * var(--gutter)); }
.post-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-hero:empty { display: none; }

/* Footer */
.site-footer { background: var(--teal-deep); color: var(--on-teal-2); padding-block: 4.5rem 2rem; font-size: .95rem; }
.site-footer a { color: var(--on-teal); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .eyebrow { color: var(--on-teal-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-mark { font-family: var(--display); font-weight: 300; font-size: 1.8rem; color: #fff; margin-bottom: .75rem; }
.footer-base { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-teal); font-size: .8rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Home */
.home-hero { position: relative; min-height: min(92vh, 56rem); display: grid; align-items: end; color: #fff; overflow: hidden; }
.home-hero > .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,55,67,.72) 0%, rgba(24,55,67,.35) 55%, rgba(24,55,67,0) 80%), linear-gradient(180deg, rgba(24,55,67,0) 40%, rgba(24,55,67,.55) 100%); }
.home-hero .wrap { position: relative; z-index: 1; padding-block: 6rem clamp(3rem, 7vw, 5.5rem); width: 100%; }
.home-hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.6rem, 6vw, 5rem); }
.home-hero .lede { color: rgba(255,255,255,.88); }
.home-hero .eyebrow { color: rgba(255,255,255,.85); }
.home-hero .btn:not(.btn-accent) { color: #fff; border-color: rgba(255,255,255,.7); }
.home-hero .btn:not(.btn-accent):hover { background: #fff; color: var(--teal); }
.finalist { position: absolute; z-index: 1; top: 2rem; right: var(--gutter); width: clamp(110px, 14vw, 170px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.section { padding-block: var(--space); }
.section + .section { border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.intro-grid > div:last-child { max-width: var(--measure); }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }
.big { font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.35; letter-spacing: -.015em; color: var(--ink); }
.band-teal .big { color: #fff; }
.specialisms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); }
.specialisms div { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.specialisms h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.specialisms p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }

/* First testimonial leads, the rest sit in a grid beneath it */
.quotes figure.lead { grid-column: 1 / -1; padding-right: 0; }
.quotes figure.lead p { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.4; max-width: 46rem; }

/* Offers keep their hairlines inside the gutter */
.prose-wrap > .offers, .band > .offers {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wide) - 2 * var(--gutter));
  padding-inline: 0; margin-inline: auto;
}
.band > :is(h2, h3, h4):not(:first-child) { margin-top: 2.5rem; }
.hero-note { max-width: 34rem; font-size: .95rem; color: rgba(255,255,255,.8); }

/* ---- Motion (only when site.js runs and reduced motion is off) ---- */

/* Logo writes itself in on the homepage */
.motion .page-index .logo img {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
          mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: write 2.4s cubic-bezier(.6, .1, .3, 1) .2s forwards;
}
@keyframes write { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* Hero: slow drift on the photo, leaves on top, headline word by word */
.home-hero .leaves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.home-hero .wrap, .home-hero .finalist { z-index: 2; }
.motion .home-hero .hero-bg { animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.motion .home-hero .word { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); animation: word 1s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.motion .home-hero .lede, .motion .home-hero .hero-note, .motion .home-hero .actions, .motion .home-hero .eyebrow { opacity: 0; animation: rise 1s ease forwards 1.6s; }
.motion .home-hero .eyebrow { animation-delay: .15s; }
.motion .home-hero .finalist { animation: rise 1s ease forwards 2s, float 7s ease-in-out 3s infinite; opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-8px); } }

/* Scroll reveal */
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.in { opacity: 1; transform: none; }

/* Breathing circle */
.breath-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 820px) { .breath-grid { grid-template-columns: 1fr; } }
.breath { position: relative; width: min(100%, 22rem); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.breath-ring, .breath-core { position: absolute; border-radius: 50%; }
.breath-ring { inset: 0; border: 1px solid rgba(181, 112, 58, .35); transform: scale(.55); }
.breath-ring.r2 { border-color: rgba(34, 73, 90, .22); }
.breath-ring.r3 { border-color: rgba(34, 73, 90, .12); }
.breath-core {
  inset: 22%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #2f5f72, var(--teal) 60%, var(--teal-deep));
  color: #fff; transform: scale(.7); box-shadow: 0 20px 60px -20px rgba(24, 55, 67, .6);
}
.breath-label { font-family: var(--display); font-weight: 300; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.breath-count { font-size: .8rem; letter-spacing: .2em; color: var(--on-teal-2); min-height: 1.2em; }
.breath.inhale .breath-core { transform: scale(1); transition: transform 4s cubic-bezier(.4, 0, .4, 1); }
.breath.exhale .breath-core { transform: scale(.7); transition: transform 6s cubic-bezier(.4, 0, .4, 1); }
.breath.inhale .r1 { transform: scale(1.02); transition: transform 4s ease-out; }
.breath.inhale .r2 { transform: scale(1.14); opacity: .9; transition: transform 4s ease-out .15s; }
.breath.inhale .r3 { transform: scale(1.28); opacity: .8; transition: transform 4s ease-out .3s; }
.breath.exhale .breath-ring { transform: scale(.55); transition: transform 6s ease-in; }

/* Diagrams and infographics must not be cropped like photographs */
.split img.diagram, .gallery img.diagram, img.diagram { aspect-ratio: auto; object-fit: contain; }
.wide > :is(h2, h3):not(:first-child) { margin-top: 2.5rem; }

/* Cal.com inline booking widget */
.cal-wrap { margin-block: 2.5rem 3rem; }
.cal-embed { min-height: 620px; width: 100%; overflow: hidden; }
