/* Serenity — calm therapy / mental-health website. Shared base + components.
   Load after tokens.css. Asset url()s are relative to this file (assets/ sits beside it).
   Page-specific sections live in the "Sections" part at the bottom, grouped by page. */

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { margin-top: var(--section-gap); }
.center { text-align: center; }

/* ───────── Type ───────── */
.display, .h1, .h2, .h2s, .h3, .h3s, .h4 { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.h1  { font-size: var(--fs-h1);  line-height: var(--lh-h1);  letter-spacing: var(--ls-h1); }
.h2  { font-size: var(--fs-h2);  line-height: var(--lh-h2);  letter-spacing: var(--ls-h2); }
.h2s { font-size: var(--fs-h2s); line-height: var(--lh-h2s); letter-spacing: var(--ls-h2s); }
.h3  { font-size: var(--fs-h3);  line-height: var(--lh-h3);  letter-spacing: var(--ls-h3); }
.h3s { font-size: var(--fs-h3s); line-height: var(--lh-h3s); letter-spacing: var(--ls-h3s); }
.h4  { font-size: var(--fs-h4);  line-height: var(--lh-h4);  letter-spacing: var(--ls-h4); }
.lead { font-size: 18px; font-weight: 500; color: var(--cocoa); }
.muted { color: var(--cocoa); }
.small { font-size: 14px; }
.accent { color: var(--peach); }

/* ───────── Pills & tags ───────── */
.eyebrow { /* section label: peach 40% pill, cocoa bold 14 */
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--peach-soft); color: var(--cocoa); font-size: 14px; font-weight: 700; line-height: 1.7; white-space: nowrap;
}
.badge { /* dark cocoa pill: "4.7 Rated", "Healthy Mind" */
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--cocoa); color: var(--cream); font-size: 14px; font-weight: 700; line-height: 1.7; white-space: nowrap;
}
.badge img { width: 16px; height: 16px; }
.chip { /* white glass chip with a small peach icon: "Mental Wellness" */
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px 0 10px; border-radius: 30px;
  background: var(--white); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass);
  color: var(--cocoa); font-weight: 700; font-size: 16px; line-height: 1.7; white-space: nowrap;
}
.chip img { width: 14px; height: 14px; flex: none; }
.chip--dark { background: rgba(2, 2, 2, .08); color: var(--white); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-pill); font-weight: 700; font-size: 16px; line-height: 1.7; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sage { background: var(--sage); color: var(--cream-btn); }
.btn--sage:hover { background: #7f895a; box-shadow: 0 8px 20px -10px rgba(142, 152, 103, .9); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--outline:hover { background: var(--sand); }
.btn--block { width: 100%; }
.play-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.play-link .play { width: 35px; height: 35px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; flex: none; transition: transform .2s var(--ease); }
.play-link .play::after { content: ""; border-left: 11px solid var(--white); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.play-link:hover .play { transform: scale(1.08); }

/* ───────── Decorative 2×2 dots (photo corners) ───────── */
.dots { position: absolute; width: 40px; height: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; pointer-events: none; }
.dots i { border-radius: 50%; background: var(--cream); }
.dots i:nth-child(2), .dots i:nth-child(3) { opacity: .5; }
.dots--flip { transform: rotate(180deg); }
.dots--peach i { background: var(--peach); }

/* ───────── Section heading block ───────── */
.sec-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sec-head.center { align-items: center; text-align: center; }
.sec-head p { color: var(--cocoa); }
.sec-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }

/* ───────── Header / nav ───────── */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--cream); }
.nav { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .logo img { width: 187px; height: 26px; }
.nav-links { display: flex; gap: 38px; font-weight: 500; }
.nav-links a { position: relative; transition: color .15s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cocoa); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 5px; height: 5px; border-radius: 50%; background: var(--peach); transform: translateX(-50%); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-login { transition: color .15s var(--ease); }
.nav-login:hover { color: var(--cocoa); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--sand); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav { height: 76px; }
  .nav .logo img { width: 160px; height: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-links, .nav-right { display: none; }
  .nav.open { flex-wrap: wrap; height: auto; padding-bottom: 20px; }
  .nav.open .logo { height: 76px; display: flex; align-items: center; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 4px; order: 3; width: 100%; font-size: 18px; }
  .nav.open .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .nav.open .nav-links a[aria-current="page"]::after { display: none; }
  .nav.open .nav-right { display: flex; order: 4; width: 100%; justify-content: space-between; padding-top: 12px; }
}

/* ───────── Inner-page hero (sand panel, centered title) ───────── */
.page-hero { margin-top: 24px; background: var(--sand); border-radius: var(--r-lg); padding: 80px 24px; min-height: 325px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; text-align: center; }
.page-hero .tt { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.page-hero p { color: var(--cocoa); max-width: 640px; }
@media (max-width: 640px) { .page-hero { padding: 56px 20px; min-height: 0; } }

/* ───────── FAQ (accordion) ───────── */
.faq { display: grid; grid-template-columns: minmax(0, 365px) minmax(0, 716px); justify-content: space-between; gap: 48px; align-items: start; }
.faq .sec-head p { color: var(--ink); max-width: 277px; }
.faq-list { display: flex; flex-direction: column; gap: 24px; }
.faq-item { border-bottom: 1px solid var(--line); border-radius: 0; transition: background-color .25s var(--ease), border-radius .25s var(--ease); }
.faq-item > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 24px 16px; text-align: left; font-family: var(--font-display); font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); color: var(--ink); }
.faq-item > button img { width: 24px; height: 24px; flex: none; transition: transform .25s var(--ease); }
.faq-item .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-item .faq-a > div { overflow: hidden; }
.faq-item .faq-a p { padding: 0 30px 0; max-width: 583px; color: var(--cocoa); }
.faq-item.open { background: var(--sand); border-bottom-color: transparent; border-radius: var(--r-md); }
.faq-item.open > button { padding: 38px 30px 26px; }
.faq-item.open > button img { transform: scaleY(-1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { padding-bottom: 27px; }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .faq-item > button, .faq-item.open > button { padding: 18px 16px; }
  .faq-item .faq-a p { padding: 0 16px; } .faq-item.open .faq-a p { padding-bottom: 22px; }
}

/* ───────── CTA band (peach tie-dye) ───────── */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: 535px; display: grid; place-items: center; padding: 80px 32px; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -2px 0; z-index: -1; background: url("assets/photos/cta-tiedye.webp") center / cover no-repeat; transform: scaleY(-1); }
.cta .in { width: min(1029px, 100%); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta .in > img { width: 231px; height: 32px; }
.cta .h2 { color: var(--white); }
.cta .in > div { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.cta .dots { width: 44px; height: 44px; }
.cta .dots i { background: var(--cream); }
.cta .dots--tr { top: 48px; right: 52px; }
.cta .dots--bl { left: 48px; bottom: 48px; }
@media (max-width: 640px) { .cta { min-height: 0; padding: 88px 20px; } .cta .dots--tr { top: 20px; right: 20px; } .cta .dots--bl { left: 20px; bottom: 20px; } }

/* ───────── Footer ───────── */
.site-foot { margin-top: 132px; background: var(--sand); padding: 86px 0 78px; }
.foot-top { align-items: flex-start; display: flex; justify-content: space-between; gap: 64px 48px; flex-wrap: wrap; }
.foot-brand { width: 428px; max-width: 100%; display: flex; flex-direction: column; gap: 60px; }
.foot-brand > div:first-child { display: flex; flex-direction: column; gap: 24px; }
.foot-brand .logo img { width: 351px; height: 49px; max-width: 100%; }
.foot-brand p { color: var(--cocoa); }
.socials { display: flex; justify-content: space-between; width: 191px; }
.socials a { width: 24px; height: 24px; transition: opacity .15s var(--ease), transform .15s var(--ease); }
.socials a:hover { opacity: .7; transform: translateY(-2px); }
.foot-links { display: flex; gap: 52px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 20px; }
.foot-col h4 { font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.foot-col ul { display: flex; flex-direction: column; gap: 12px; font-weight: 500; color: var(--cocoa); }
.foot-col ul a:hover { color: var(--ink); }
.foot-col dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col dl div { display: flex; flex-direction: column; gap: 4px; }
.foot-col dt { font-weight: 700; color: var(--ink); }
.foot-col dd { margin: 0; font-weight: 500; color: var(--cocoa); }
.foot-col--quick { width: 125px; } .foot-col--touch { width: 220px; } .foot-col--visit { width: 260px; }
.foot-bottom { margin-top: 80px; padding-top: 24px; border-top: 1.5px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--cocoa); }
@media (max-width: 640px) { .site-foot { margin-top: 96px; padding: 64px 0 40px; } .foot-brand { gap: 32px; } .foot-links { gap: 36px; } .foot-col--quick, .foot-col--touch, .foot-col--visit { width: auto; min-width: 140px; } }

/* ───────── Reveal on scroll (added by serenity.js) ───────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ═════════════════════════ Sections (page-specific) ═════════════════════════ */

/* ───────────────── Shared: Why choose us + Slogan ───────────────── */
/* Serenity — shared sections A: "Why choose us" (.why) + "Slogan" sticky-note quote (.slogan).
   Reusable on any page. Spacing above each section is set by the page (e.g. .hm-why in home.css). */

/* ───────── Why choose us — head + 3 white cards (optional stagger) ───────── */
.why-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; margin-bottom: 80px; }
.why-head p { color: var(--cocoa); max-width: 560px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.why-card {
  min-height: 331px; padding: 60px 40px 40px; border-radius: var(--r-lg); background: var(--white);
  display: flex; flex-direction: column; gap: 40px; align-items: flex-start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card > img { height: 24px; width: auto; flex: none; }
.why-card > div { display: flex; flex-direction: column; gap: 16px; }
.why-card h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); color: var(--ink); }
.why-card p { color: var(--cocoa); }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -32px rgba(141, 105, 89, .45); }
.why-grid--stagger > :nth-child(3n + 2) { margin-top: 57px; }
.why--sand .why-card { background: var(--sand); } /* variant for white-ish backgrounds */

@media (max-width: 1024px) {
  .why-head { margin-bottom: 56px; }
  .why-grid { gap: 20px; }
  .why-card { padding: 40px 28px; gap: 32px; min-height: 0; }
  .why-grid--stagger > :nth-child(3n + 2) { margin-top: 40px; }
}
@media (max-width: 820px) {
  .why-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .why-grid--stagger > :nth-child(3n + 2) { margin-top: 0; }
}
@media (max-width: 640px) {
  .why-head { margin-bottom: 40px; gap: 16px; }
  .why-card { padding: 32px 24px; }
}

/* ───────── Slogan — big centred quote, inline photo, tilted value tags ───────── */
.slogan { position: relative; width: min(1106px, 100% - 2 * var(--gutter)); min-height: 270px; padding-top: 73px; }
.slogan-text {
  max-width: 838px; margin: 0 auto; text-align: center;
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); color: var(--ink);
}
.slogan-photo {
  display: inline-block; width: 69px; height: 74px; margin: -18px 8px -14px; vertical-align: middle;
  object-fit: cover; border-radius: var(--r-md); transform: rotate(-4.66deg);
}
.slogan-tag {
  --r: 0deg;
  position: absolute; display: inline-flex; align-items: center; padding: 10px 16px; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--cream); white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--r)); transition: transform .3s var(--ease);
}
.slogan-tag:hover { transform: translate(-50%, -50%) rotate(calc(var(--r) * -.4)) scale(1.04); }
.slogan-tag--cocoa { background: var(--cocoa); }
.slogan-tag--sage  { background: var(--sage); }
.slogan-tag--peach { background: var(--peach); }
.slogan-tag--sky   { background: var(--sky); }
.slogan-tag--butter { background: var(--butter); color: var(--ink); }
/* corner placements (centre points, measured from the Figma 1106px frame) */
.slogan-tag--tl { --r: 16.09deg;  left: 5.93%;  top: 40px; }
.slogan-tag--tr { --r: -11.44deg; left: 94.44%; top: 69px; }
.slogan-tag--bl { --r: -13.17deg; left: 13.73%; top: 233px; }
.slogan-tag--br { --r: 11.33deg;  left: 86.05%; top: 233px; }

@media (max-width: 1100px) {
  .slogan-text { max-width: 640px; }
}
@media (max-width: 820px) {
  .slogan { min-height: 0; padding-top: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 10px; }
  .slogan-text { order: -1; width: 100%; margin: 0 0 18px; }
  .slogan-tag, .slogan-tag:hover { position: static; transform: rotate(calc(var(--r) * .5)); }
}
@media (max-width: 640px) {
  .slogan-photo { width: 52px; height: 56px; margin: -12px 4px -10px; border-radius: 12px; }
  .slogan-tag { padding: 8px 14px; font-size: 15px; }
}

/* ───────────────── Shared: Gallery, Testimonials, Metrics, Pricing ───────────────── */
/* ═══ shared-b — shared sections: .gallery · .testi · .metrics · .pricing ═══
   Used on Home and reused by About / Services / Book. Markup: pages/_home-b.html */

/* ───────── Gallery ("Inside Serenity Minds") ───────── */
.gallery .sec-head { gap: 24px; }
.gallery-grid { margin-top: 80px; display: flex; flex-direction: column; gap: 24px; }
.gallery-row { display: flex; gap: 24px; }
.gallery-item { position: relative; flex: var(--w, 1) 1 0; min-width: 0; height: 400px; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .6s var(--ease); }
/* Figma crops: (3) wider than its slot, shifted left; (1) zoomed in toward the top-left */
.gallery-item--zoom-a img { width: 154.62%; left: -37.48%; }
.gallery-item--zoom-b img { width: 116.62%; height: 144.73%; left: -9.84%; top: -42.35%; }
.gallery-item:hover img { transform: scale(1.03); }
@media (max-width: 1024px) { .gallery-item { height: 320px; } }
@media (max-width: 640px) {
  .gallery-grid { margin-top: 48px; gap: 12px; }
  .gallery-row { flex-wrap: wrap; gap: 12px; }
  .gallery-item { height: 220px; flex-basis: calc(50% - 6px); }
  .gallery-row:first-child .gallery-item, .gallery-row:last-child .gallery-item:nth-child(2) { flex-basis: 100%; }
  .gallery-row:last-child .gallery-item:nth-child(2) { order: -1; }
  .gallery-item--zoom-a img { width: 100%; left: 0; object-position: 68% 50%; }
}

/* ───────── Testimonials (pinned notes) ───────── */
.testi { position: relative; isolation: isolate; }
.testi .sec-head { gap: 24px; position: relative; z-index: 1; }
.testi-stage { position: relative; margin-top: 80px; height: 614px; margin-inline: calc(50% - 50vw); overflow-x: clip; }
.testi-glow { position: absolute; left: 50%; top: 50%; width: 1807px; height: 1214px; max-width: none; transform: translate(-50%, -50%); pointer-events: none; z-index: -1; }
.testi .track { position: absolute; top: 0; left: 50%; height: 100%; display: flex; align-items: center; gap: 68px; transform: translateX(calc(-50% - 6px)); }
.testi-card {
  --dx: 0px; --dy: 0px; --r: 0deg;
  position: relative; flex: none; width: 356px; height: 368px; padding: 8px 41px 8px 40px;
  display: flex; align-items: center; background: var(--white); border-radius: var(--r-lg);
  transform: translate(var(--dx), var(--dy)) rotate(var(--r));
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.testi-card:hover { transform: translate(var(--dx), calc(var(--dy) - 6px)) rotate(calc(var(--r) * .6)); box-shadow: 0 24px 40px -28px rgba(141, 105, 89, .45); z-index: 2; }
.testi-card--1 { --r: -5.26deg; --dy: -26px; }
.testi-card--2 { --r: 5.88deg;  --dy: 45px;  --dx: -7px; }
.testi-card--3 { --r: -7.25deg; --dy: -49px; --dx: -9px; }
.testi-card--4 { --r: 9.81deg;  --dy: 43px; }
.testi-card figure { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.testi-who { display: flex; align-items: center; gap: 8px; color: var(--peach); font-weight: 700; font-size: 16px; line-height: 1.7; }
.testi-avatar { position: relative; flex: none; width: 40px; height: 40px; border: 2px solid var(--white); border-radius: 50%; overflow: hidden; }
.testi-avatar img { position: absolute; max-width: none; object-fit: cover; }
.testi-avatar.av-1 { background: #E6B7A0; } .testi-avatar.av-1 img { left: -42px; top: -4px; width: 121px; height: 83px; }
.testi-avatar.av-2 { background: #ECE8DC; } .testi-avatar.av-2 img { left: -50px; top: -2px; width: 127px; height: 88px; }
.testi-avatar.av-3 { background: #CAB197; } .testi-avatar.av-3 img { left: -46px; top: 0; width: 124px; height: 83px; }
.testi-card blockquote { font-family: var(--font-display); font-size: 20px; line-height: 1.4; letter-spacing: -0.5px; color: var(--ink); }
.testi-pin { position: absolute; pointer-events: none; }
.testi-pin img { position: absolute; max-width: none; }
.testi-nav { display: none; }
.testi-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); font-size: 20px; box-shadow: inset 0 0 0 1px var(--line-soft); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.testi-btn:hover { background: var(--sand); transform: translateY(-1px); }

/* ≤1024: becomes a swipeable slider (serenity.js [data-slider] wires the buttons) */
@media (max-width: 1024px) {
  .testi-stage { height: auto; margin-top: 40px; }
  .testi .track {
    position: static; transform: none; height: auto; gap: 24px; align-items: center;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 56px max(var(--gutter), calc(50vw - var(--content) / 2)) 48px; scroll-padding-inline: var(--gutter);
  }
  .testi .track::-webkit-scrollbar { display: none; }
  .testi-card { scroll-snap-align: start; --dx: 0px; }
  .testi-card--1 { --r: -3deg; --dy: -8px; } .testi-card--2 { --r: 3deg; --dy: 10px; }
  .testi-card--3 { --r: -3.5deg; --dy: -10px; } .testi-card--4 { --r: 4deg; --dy: 8px; }
  .testi-card:hover { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); box-shadow: none; }
  .testi-nav { display: flex; justify-content: center; gap: 12px; }
}
@media (max-width: 640px) {
  .testi-card { width: min(300px, calc(100vw - 72px)); height: auto; min-height: 330px; padding: 40px 28px; }
  .testi-card blockquote { font-size: 18px; }
}

/* ───────── Metrics (services tags + numbers on a sand panel) ───────── */
.metrics { background: var(--sand); border-radius: var(--r-xl); padding: 80px; }
.metrics-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.metrics-head .h2s { max-width: 730px; }
.metrics-go { flex: none; width: 51px; height: 51px; border-radius: 50%; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.metrics-go:hover { transform: rotate(45deg); box-shadow: 0 10px 24px -14px rgba(141, 105, 89, .6); }
.metrics-tags { margin-top: 80px; max-width: 829px; display: flex; flex-wrap: wrap; gap: 12px; }
.metrics-tags a {
  display: inline-flex; align-items: center; padding: 16px 20px; border: 1.5px solid var(--cocoa); border-radius: var(--r-pill);
  color: var(--cocoa); font-size: 18px; font-weight: 500; line-height: 1.7; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.metrics-tags a:hover { background: var(--cocoa); color: var(--cream); }
.metrics-stats { margin: 0; margin-top: 121px; display: flex; justify-content: space-between; gap: 32px; }
.metrics-stats > div { display: flex; flex-direction: column; gap: 8px; width: 185px; }
.metrics-stats > div:last-child { width: 240px; }
.metrics-stats dt { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); color: var(--ink); white-space: nowrap; }
.metrics-stats dd { margin: 0; font-size: 14px; line-height: 1.7; color: var(--cocoa); }
@media (max-width: 1024px) {
  .metrics { padding: 64px 48px; }
  .metrics-tags { margin-top: 56px; }
  .metrics-stats { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .metrics-stats > div, .metrics-stats > div:last-child { width: auto; max-width: 260px; }
}
@media (max-width: 640px) {
  .metrics { padding: 40px 20px; border-radius: var(--r-lg); }
  .metrics-go { width: 44px; height: 44px; }
  .metrics-tags { margin-top: 32px; gap: 8px; }
  .metrics-tags a { padding: 10px 16px; font-size: 16px; }
  .metrics-stats { margin-top: 48px; gap: 32px 20px; }
  .metrics-stats dt { font-size: 44px; letter-spacing: -1.2px; }
}

/* ───────── Pricing (3 plans) ───────── */
.pricing .sec-head { gap: 24px; }
.pricing-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 400px)); justify-content: space-between; gap: 40px; }
.pricing-card {
  min-height: 524px; padding: 48px 55px; background: var(--white); border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -32px rgba(141, 105, 89, .45); }
.pricing-top { display: flex; flex-direction: column; gap: 8px; }
.pricing-top p { color: var(--cocoa); font-weight: 500; }
.pricing-price { margin-top: 24px; font-family: var(--font-display); color: var(--ink); }
.pricing-price .amount { font-size: 56px; line-height: 1.2; letter-spacing: -1.5px; }
.pricing-price .per { font-size: 24px; line-height: 1.4; letter-spacing: -0.5px; }
.pricing-feats { margin-top: 24px; display: flex; flex-direction: column; gap: 7px; }
.pricing-feats li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.pricing-check { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; }
.pricing-check img { width: 11.2px; height: 11.2px; }
.pricing-card .btn { margin-top: 40px; }
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
  .pricing-card { min-height: 0; padding: 40px 32px; }
  .pricing-top p br { display: none; }
}
@media (max-width: 640px) {
  .pricing-grid { margin-top: 48px; }
}

/* ───────────────── Shared: Related posts / post cards ───────────────── */
/* Shared C — blog post card (.post-card + .post-tag) and the "Read Other Blogs" related-posts block (.related).
   Used by blog.html, blog-details.html and service-details.html. */

/* ───────── Post tag (small tinted pill) ───────── */
.post-tags { display: flex; flex-wrap: wrap; gap: 16px; }
.post-tag {
  display: inline-flex; align-items: center; justify-content: center; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--peach-soft); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.7; white-space: nowrap;
}
.post-tag--peach { background: var(--peach-soft); }
.post-tag--sage { background: rgba(142, 152, 103, .5); }
.post-tag--sky { background: rgba(125, 164, 219, .4); }
.post-tag--butter { background: rgba(243, 222, 138, .5); }

/* ───────── Post card (610 × 588 at 1440) ───────── */
.post-card { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.post-card__img { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 610 / 400; background: var(--sand); isolation: isolate; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card__body { display: flex; flex-direction: column; gap: 16px; }
.post-card__text { display: flex; flex-direction: column; gap: 16px; }
.post-card__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); color: var(--ink); }
.post-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s var(--ease), background-size .35s var(--ease); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.post-card { position: relative; }
.post-card p { color: var(--cocoa); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card:hover .post-card__title a { color: var(--cocoa); background-size: 100% 1px; }
.post-card__title a:focus-visible { outline: none; }
.post-card:has(.post-card__title a:focus-visible) { outline: 2px solid var(--sage); outline-offset: 6px; border-radius: var(--r-lg); }
@media (max-width: 640px) { .post-card { gap: 24px; } .post-card__body, .post-card__text { gap: 12px; } .post-tags { gap: 8px; } }

/* ───────── Related posts ("Blogs and Insights / Read Other Blogs") ───────── */
.related { display: flex; flex-direction: column; gap: 80px; }
.related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
@media (max-width: 1024px) { .related { gap: 56px; } .related__grid { gap: 32px; } }
@media (max-width: 640px) { .related { gap: 40px; } .related__grid { grid-template-columns: 1fr; gap: 48px; } }

/* ───────────────── Home (index.html) ───────────────── */
/* Serenity — Home page sections (index.html). Prefixes: .hm-* (+ .hm-why / .hm-slogan spacing for the shared sections). */

/* ───────── Section spacing (Figma y gaps at 1440) ───────── */
.hm-hero     { margin-top: 80px; }
.hm-talk     { margin-top: 160px; }  /* 80 hero bottom pad + 80 gap */
.hm-services { margin-top: 180px; }
.hm-steps    { margin-top: 146px; }
.hm-why      { margin-top: 129px; }
.hm-slogan   { margin-top: 129px; }
.hm-faq      { margin-top: 162px; }
.hm-cta      { margin-top: 132px; }
@media (max-width: 1024px) {
  .hm-hero { margin-top: 40px; }
  .hm-talk { margin-top: calc(var(--section-gap) + 16px); }
  .hm-services, .hm-steps, .hm-why, .hm-slogan, .hm-faq, .hm-cta { margin-top: var(--section-gap); }
}
@media (max-width: 640px) { .hm-hero { margin-top: 24px; } .hm-talk { margin-top: var(--section-gap); } }

/* shared bits */
.hm-arrow { width: 51px; height: 51px; flex: none; transition: transform .25s var(--ease); }
.hm-tile { width: 36px; height: 36px; border-radius: 10px; background: var(--white); display: grid; place-items: center; flex: none; }
.hm-tile img { width: 20px; height: auto; }

/* ───────── Hero ───────── */
.hm-hero { display: grid; grid-template-columns: 414px 501px minmax(0, 1fr); align-items: start; }
.hm-hero-intro { grid-column: 1; grid-row: 1; width: 520px; margin-top: 43px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 80px; align-items: flex-start; }
.hm-hero-titles { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hm-hero-titles .btn { margin-top: 12px; }
.hm-hero-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--cocoa); }
.hm-hero .display .hm-hl { display: block; width: fit-content; background: var(--cream); border-radius: var(--r-lg); padding-right: var(--hl-pad, 28px); white-space: nowrap; }
.hm-hero .display .hm-hl:nth-child(1) { --hl-pad: 50px; padding-top: 4px; margin-top: -4px; }
.hm-hero .display .hm-hl:nth-child(2) { --hl-pad: 18px; }
.hm-hero .display .hm-hl:nth-child(3) { --hl-pad: 28px; }
.hm-hero-sub { max-width: 378px; color: var(--cocoa); }
.hm-hero-trust { display: flex; align-items: center; gap: 9px; }
.hm-hero-trust p { width: 185px; font-size: 14px; font-weight: 700; color: var(--cocoa); }
.hm-hero-trust strong { font-weight: 800; color: var(--peach); }
.hm-avatars { display: flex; }
.hm-avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); margin-right: -4px; transition: transform .2s var(--ease); }
.hm-avatars img:last-child { margin-right: 0; }
.hm-avatars img:hover { transform: translateY(-3px); }

.hm-hero-portrait { grid-column: 2; grid-row: 1; position: relative; height: 661px; border-radius: var(--r-xl); overflow: hidden; }
.hm-hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hm-dots { position: absolute; width: 40px; height: 40px; pointer-events: none; }
.hm-dots--tr { top: 24px; right: 24px; }
.hm-dots--bl { left: 24px; bottom: 24px; transform: rotate(180deg); }
.hm-pin { position: absolute; left: 59.7%; top: 22.1%; display: flex; align-items: center; }
.hm-pin > img { position: relative; z-index: 1; transform: scaleX(-1); width: 40px; height: 28px; margin-right: -10px; }
.hm-pin .badge { font-size: 16px; font-weight: 500; line-height: 1.7; }
.hm-chips { position: absolute; left: 76px; right: 24px; bottom: 32px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hm-chips .chip { padding: 0 16px 0 12px; transition: transform .2s var(--ease); }
.hm-chips .chip:hover { transform: translateY(-2px); }

.hm-hero-side { grid-column: 3; grid-row: 1; margin: 61px 0 0 40px; display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.hm-hero-peace { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 308px; }
.hm-hero-peace p { color: var(--cocoa); }
.hm-hero-girl { position: relative; width: 100%; height: 397px; border-radius: var(--r-xl); overflow: hidden; }
.hm-hero-girl .hm-hero-photo { object-position: center 30.5%; }
.hm-dots--sm { width: 41.68px; height: 41.68px; }
.hm-dots--tl { top: 25px; left: 25px; }
.hm-dots--br { right: 25px; bottom: 25px; }
.hm-hero-girl .chip { position: absolute; top: 25px; right: 25px; height: 41.68px; padding: 0 12px 0 10px; }
@media (min-width: 1440px) { .hm-hero-girl { width: 338.65px; } }

@media (max-width: 1240px) {
  .hm-hero { grid-template-columns: minmax(0, 501fr) minmax(0, 365fr); column-gap: 32px; row-gap: 56px; }
  .hm-hero-intro { grid-column: 1 / -1; width: auto; margin-top: 0; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
  .hm-hero-portrait { grid-column: 1; grid-row: 2; height: auto; aspect-ratio: 501 / 661; }
  .hm-hero-side { grid-column: 2; grid-row: 2; margin: 0; justify-content: space-between; }
  .hm-hero-girl { height: auto; aspect-ratio: 339 / 397; }
  .hm-chips { left: 24px; bottom: 24px; }
}
@media (max-width: 820px) {
  .hm-hero-intro { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hm-hero { column-gap: 20px; }
  .hm-hero-side { gap: 32px; }
}
@media (max-width: 640px) {
  .hm-hero { grid-template-columns: 1fr; row-gap: 40px; }
  .hm-hero .display .hm-hl { padding-right: 0; }
  .hm-hero-intro { gap: 36px; }
  .hm-hero-portrait, .hm-hero-side { grid-column: 1; }
  .hm-hero-side { grid-row: 3; }
  .hm-hero-portrait { aspect-ratio: 4 / 5; }
  .hm-pin { left: auto; right: 20px; top: 20%; }
  .hm-chips { left: 16px; right: 16px; bottom: 16px; gap: 6px; }
  .hm-chips .chip { height: 34px; font-size: 14px; padding: 0 12px 0 10px; }
  .hm-dots--tr { top: 16px; right: 16px; } .hm-dots--bl { display: none; }
  .hm-hero-peace { max-width: none; }
  .hm-hero-girl { aspect-ratio: 4 / 3; }
}

/* ───────── Space to talk ───────── */
.hm-talk { display: grid; grid-template-columns: 414px minmax(0, 1fr); gap: 24px; align-items: end; }
.hm-talk-session { display: flex; flex-direction: column; gap: 30px; height: 600px; padding: 24px; border-radius: var(--r-lg); background: var(--sand); }
.hm-talk-media { position: relative; height: 426px; border-radius: var(--r-md); overflow: hidden; flex: none; }
.hm-talk-media > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hm-talk-media .hm-arrow { position: absolute; top: 24px; right: 24px; }
.hm-talk-tags { position: absolute; left: 10px; bottom: 22px; display: flex; gap: 8px; }
.hm-talk-tags .chip { padding: 0 12px 0 10px; }
.hm-talk-caption { display: flex; flex-direction: column; gap: 4px; }
.hm-talk-caption p, .hm-talk-head p, .hm-expert p, .hm-expert dd { color: var(--cocoa); }
.hm-talk-session:hover .hm-talk-media > img:first-child { transform: scale(1.04); }
.hm-talk-session:hover .hm-arrow, .hm-expert:hover .hm-arrow { transform: rotate(45deg); }

.hm-talk-main { height: 600px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.hm-talk-head { margin: 32px 0 0 8px; display: flex; flex-direction: column; gap: 8px; }
.hm-talk-head em { font-style: italic; }
.hm-talk-cards { display: grid; grid-template-columns: minmax(0, 390fr) minmax(0, 428fr); gap: 24px; }

.hm-stat { position: relative; height: 395px; border-radius: var(--r-lg); overflow: hidden; color: var(--white); background: #f2eee9 url("assets/photos/home-talk-tiedye.webp") center / cover no-repeat; }
.hm-stat-top { position: absolute; left: 24px; right: 24px; top: 24px; display: flex; justify-content: space-between; align-items: flex-start; }
.hm-stat-tools { display: flex; gap: 8px; align-items: center; }
.hm-pill { display: inline-flex; align-items: center; gap: 2px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.7; }
.hm-pill--round { width: 31px; height: 31px; padding: 0; justify-content: center; }
.hm-stat-slide { position: absolute; left: 24px; right: 24px; top: 84px; }
.hm-stat-num { font-size: 60px; font-weight: 700; line-height: 1.1; }
.hm-stat-label { margin-top: 8px; font-weight: 700; }
.hm-stat-text { margin-top: 32px; font-size: 14px; }
.hm-stat-slide:not([hidden]) { animation: hm-fade .45s var(--ease); }
@keyframes hm-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hm-stat-nav { position: absolute; left: 20px; right: 20px; top: 331px; display: flex; align-items: center; gap: 5px; }
.hm-chev { width: 40px; height: 40px; flex: none; border-radius: 50%; transition: background-color .2s var(--ease); }
.hm-chev:hover { background: rgba(255, 255, 255, .18); }
.hm-chev--prev img { transform: rotate(180deg); }
.hm-bars { --p: .404; position: relative; flex: 1; max-width: 260px; display: flex; gap: 4px; }
.hm-bars i { flex: 1; height: 6px; border-radius: var(--r-pill); background: rgba(13, 5, 3, .3); }
.hm-bars::after { content: ""; position: absolute; left: 0; top: 0; height: 6px; width: calc(var(--p) * 100%); border-radius: var(--r-pill);
  background: repeating-linear-gradient(90deg, var(--white) 0 calc((100% / var(--p) - 20px) / 6), transparent 0 calc((100% / var(--p) - 20px) / 6 + 4px));
  transition: width .4s var(--ease); }

.hm-expert { position: relative; height: 395px; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); padding: 24px; display: block; }
.hm-expert-head { position: relative; z-index: 1; }
.hm-expert-head p { max-width: 203px; }
.hm-expert .hm-arrow { position: absolute; top: 24px; right: 24px; z-index: 1; }
.hm-expert-stats { position: absolute; left: 24px; top: 177px; z-index: 1; margin: 0; display: flex; flex-direction: column; gap: 0; }
.hm-expert-stats div + div { margin-top: 0; }
.hm-expert-stats dt { font-family: var(--font-display); font-size: var(--fs-h3s); line-height: var(--lh-h3s); letter-spacing: var(--ls-h3s); color: var(--ink); }
.hm-expert-stats dd { margin: 0; font-size: 14px; }
.hm-expert-stats div:first-child { height: 88px; }
.hm-expert-photo { position: absolute; left: 153px; top: 68px; width: 299px; height: 338px; object-fit: cover; object-position: center bottom; transition: transform .5s var(--ease); transform-origin: bottom center; }
.hm-expert:hover .hm-expert-photo { transform: scale(1.03); }

@media (max-width: 1240px) {
  .hm-talk { grid-template-columns: 1fr; }
  .hm-talk-main { display: contents; }
  .hm-talk-head { order: -2; margin: 0 0 16px; }
  .hm-talk-cards { order: -1; }
  .hm-talk-session { height: auto; flex-direction: row; align-items: flex-end; gap: 32px; }
  .hm-talk-media { width: 366px; }
  .hm-talk-caption { max-width: 360px; padding-bottom: 8px; }
}
@media (max-width: 820px) {
  .hm-talk-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hm-expert-photo { left: auto; right: -70px; }
  .hm-talk-session { flex-direction: column; align-items: stretch; gap: 24px; }
  .hm-talk-media { width: 100%; height: 380px; }
}
@media (max-width: 640px) {
  .hm-talk { gap: 16px; }
  .hm-talk-cards { grid-template-columns: 1fr; }
  .hm-talk-head { margin-bottom: 8px; }
  .hm-stat-text br { display: none; }
  .hm-talk-session { padding: 16px; }
  .hm-talk-media { height: 340px; }
  .hm-expert-photo { right: -70px; top: auto; bottom: -11px; width: 250px; height: 283px; }
}

/* ───────── Services ───────── */
.hm-services-head { min-height: 115px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 80px; }
.hm-services-head > div { display: flex; flex-direction: column; gap: 16px; }
.hm-services-head p { color: var(--cocoa); }
.hm-service {
  display: grid; grid-template-columns: 476px minmax(0, 597px) 1fr; align-items: center; min-height: 174px; padding: 24px 44px 24px 40px;
  border-bottom: 1px solid rgba(141, 105, 89, .5); border-radius: 0; transition: background-color .3s var(--ease), border-radius .3s var(--ease), border-color .3s var(--ease);
}
.hm-service-name { display: flex; align-items: center; gap: 16px; padding-top: 16px; }
.hm-service-name img { height: 24px; width: auto; flex: none; }
.hm-service p { color: var(--cocoa); }
.hm-service .hm-arrow { justify-self: end; }
.hm-service.is-active, .hm-service:hover { background: var(--sand); border-radius: var(--r-lg); border-bottom-color: transparent; }
.hm-services-list:hover .hm-service.is-active:not(:hover) { background: transparent; border-radius: 0; border-bottom-color: rgba(141, 105, 89, .5); }
.hm-service:hover .hm-arrow { transform: rotate(45deg); }
@media (max-width: 1240px) {
  .hm-service { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; column-gap: 32px; padding: 28px 28px 28px 32px; min-height: 150px; }
}
@media (max-width: 820px) {
  .hm-services-head { flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
  .hm-service { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; min-height: 0; padding: 24px; }
  .hm-service-name { padding-top: 0; }
  .hm-service p { grid-column: 1 / -1; grid-row: 2; }
  .hm-service .hm-arrow { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  .hm-service { padding: 20px 16px; }
  .hm-service-name { gap: 12px; }
}

/* ───────── Steps (tabs) ───────── */
.hm-steps {
  display: grid; grid-template-columns: 550px 568px; grid-template-rows: 1fr auto auto auto 1fr; column-gap: 72px;
  padding: 80px 60px; border-radius: var(--r-xl); background: var(--sand);
}
.hm-steps-panel { display: contents; }
.hm-steps-panel[hidden] { display: none; }
.hm-steps-photo { grid-column: 1; grid-row: 1 / -1; width: 100%; height: 650px; object-fit: cover; border-radius: var(--r-xl); animation: hm-fade .45s var(--ease); }
.hm-steps-copy { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 8px; animation: hm-fade .45s var(--ease); }
.hm-steps-copy h2 { max-width: 524px; }
.hm-steps-copy p { max-width: 443px; color: var(--cocoa); }
.hm-steps-tabs { grid-column: 2; grid-row: 3; margin-top: 56px; display: flex; gap: 24px; }
.hm-step { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; text-align: left; width: 261px; opacity: .55; transition: opacity .25s var(--ease); }
.hm-step + .hm-step { width: 290px; }
.hm-step .h4 { display: block; }
.hm-step-text { color: var(--cocoa); margin-top: -16px; }
.hm-step[aria-selected="true"], .hm-step:hover { opacity: 1; }
.hm-steps-btn { grid-column: 2; grid-row: 4; justify-self: start; margin-top: 32px; }
@media (max-width: 1240px) {
  .hm-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 48px; padding: 56px 40px; }
  .hm-steps-photo { height: 100%; min-height: 560px; }
  .hm-steps-tabs { margin-top: 40px; }
  .hm-step, .hm-step + .hm-step { width: auto; flex: 1 1 0; }
}
@media (max-width: 820px) {
  .hm-steps { grid-template-columns: 1fr; grid-template-rows: none; padding: 24px 24px 40px; border-radius: var(--r-lg); }
  .hm-steps-photo { grid-column: 1; grid-row: 1; height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); margin-bottom: 32px; }
  .hm-steps-copy, .hm-steps-tabs, .hm-steps-btn { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .hm-steps { padding: 16px 16px 32px; }
  .hm-steps-photo { aspect-ratio: 1 / 1; margin-bottom: 24px; }
  .hm-steps-tabs { margin-top: 32px; flex-direction: column; gap: 20px; }
  .hm-step { opacity: 1; padding-left: 14px; border-left: 2px solid transparent; transition: border-color .25s var(--ease); }
  .hm-step[aria-selected="true"] { border-left-color: var(--peach); }
  .hm-step[aria-selected="false"] { opacity: .6; }
}

/* ───────────────── About (about.html) ───────────────── */
/* Serenity — About page (about.html). Prefix: .ab-*
   Reuses shared-a (.why, .slogan) and shared-b (.testi, .metrics-stats). */

/* ───────── Page rhythm (Figma y-positions at 1440) ───────── */
.ab-story  { margin-top: 80px; }   /* hero ends 449 → 529 */
.ab-stats  { margin-top: 80px; }   /* 1269 → 1349 */
.ab-slogan { margin-top: 146px; }  /* 1599 → 1745 */
.ab-why    { margin-top: 147px; }  /* 2015 → 2162 */
.ab-team   { margin-top: 140px; }  /* 3101 → 3241 */
.ab-page .ab-testi { margin-top: 152px; } /* 3851 → 4003 */
.ab-page .cta { margin-top: 80px; }       /* 4816 → 4896 */
.ab-page .faq { margin-top: 160px; }      /* 5431 → 5591 */
.ab-page .site-foot { margin-top: 148px; }
@media (max-width: 1024px) {
  .ab-story, .ab-stats { margin-top: 64px; }
  .ab-slogan, .ab-why, .ab-team, .ab-page .ab-testi, .ab-page .faq { margin-top: var(--section-gap); }
  .ab-page .cta { margin-top: 64px; }
  .ab-page .site-foot { margin-top: 120px; }
}
@media (max-width: 640px) {
  .ab-story, .ab-stats { margin-top: 40px; }
  .ab-page .cta { margin-top: 48px; }
  .ab-page .site-foot { margin-top: 96px; }
}

/* ───────── Story: 3-column collage + Who We Are ───────── */
.ab-story { display: flex; flex-direction: column; gap: 80px; }
.ab-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: center; }
.ab-story-col { display: flex; flex-direction: column; gap: 40px; }
.ab-story-photo { display: block; width: 100%; height: 312px; object-fit: cover; border-radius: var(--r-lg); background: var(--sand); }
.ab-story-photo--tall { height: 498px; }
.ab-story-card {
  min-height: 146px; padding: 29px 30px 29px 32px; border-radius: var(--r-lg); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ab-story-card .h4 { color: var(--white); }
.ab-story-card p { max-width: 340px; }
.ab-story-card--peach { background: var(--peach); }
.ab-story-card--sage  { background: var(--sage); }
.ab-story-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(141, 105, 89, .55); }

.ab-who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 698px); gap: 40px; max-width: 1206px; align-items: start; }
.ab-who .h2s { white-space: nowrap; }
.ab-who-text { display: flex; flex-direction: column; gap: 27px; color: var(--cocoa); }

@media (max-width: 1024px) {
  .ab-story { gap: 64px; }
  .ab-story-grid { gap: 20px; }
  .ab-story-col { gap: 20px; }
  .ab-story-photo { height: 260px; }
  .ab-story-photo--tall { height: 420px; }
  .ab-story-card { padding: 24px; }
  .ab-who { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 820px) {
  .ab-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .ab-story-photo--tall { grid-column: 1 / -1; order: 3; height: auto; aspect-ratio: 16 / 10; object-position: 50% 30%; }
  .ab-who { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .ab-story { gap: 48px; }
  .ab-story-grid { grid-template-columns: 1fr; }
  .ab-story-photo { height: auto; aspect-ratio: 400 / 312; }
  .ab-story-photo--tall { aspect-ratio: 4 / 5; }
  .ab-story-card { min-height: 0; }
}

/* ───────── Stats band (sand panel around shared .metrics-stats) ───────── */
.ab-stats { background: var(--sand); border-radius: var(--r-lg); padding: 60px 40px; }
.ab-stats .metrics-stats { margin-top: 0; align-items: center; }
@media (max-width: 1024px) { .ab-stats { padding: 48px 40px; } .ab-stats .metrics-stats { margin-top: 0; } }
@media (max-width: 640px)  { .ab-stats { padding: 40px 20px; } .ab-stats dd br { display: none; } }

/* ───────── Why choose us — 6 cards, 3 × 2, no stagger ───────── */
.ab-why .why-grid { align-items: stretch; }
.ab-why .why-card { min-height: 350px; }
@media (max-width: 1024px) {
  .ab-why .why-card { min-height: 0; }
  .ab-why .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 640px) { .ab-why .why-grid { grid-template-columns: 1fr; } }

/* ───────── Meet our team ───────── */
.ab-team .sec-head { gap: 24px; }
.ab-team-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ab-member { display: flex; flex-direction: column; }
.ab-member-photo { aspect-ratio: 302 / 360; border-radius: var(--r-xl); overflow: hidden; background: var(--sand); margin-bottom: 16px; }
.ab-member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ab-member:hover .ab-member-photo img { transform: scale(1.04); }
.ab-member .h4 { color: var(--ink); }
.ab-member p { color: var(--cocoa); }
@media (max-width: 1024px) { .ab-team-grid { gap: 20px; } .ab-member-photo { border-radius: var(--r-lg); } }
@media (max-width: 820px)  { .ab-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; } }
@media (max-width: 640px)  { .ab-team-grid { margin-top: 40px; } .ab-member p { font-size: 14px; } }
@media (max-width: 400px)  { .ab-team-grid { gap: 32px 12px; } .ab-member .h4 { font-size: 18px; } .ab-member-photo { margin-bottom: 12px; } }

/* ───────── Testimonials — About arrangement of the pinned notes (desktop only) ───────── */
@media (min-width: 1025px) {
  .ab-testi .testi-card--1 { --dx: -5px;  --dy: 7px; }
  .ab-testi .testi-card--2 { --dx: 26px;  --dy: 45px; }
  .ab-testi .testi-card--3 { --dx: -14px; --dy: -4px; }
  .ab-testi .testi-card--4 { --dx: 58px;  --dy: 43px; }
}

/* ───────────────── Services + Service details ───────────────── */
/* Services pages — services.html (list) + service-details.html (single service).
   Reuses shared-b (.metrics, .pricing) on services.html and shared-c (.related, .post-card) on service-details.html. */

/* ───────── Page rhythm (Figma section y-positions) ───────── */
.sv-page .metrics, .sv-page .pricing, .sv-page .cta { margin-top: 110px; }
.sv-page .faq { margin-top: 126px; }
.sv-page .site-foot { margin-top: 126px; }
.sv-dpage .sv-related, .sv-dpage .cta, .sv-dpage .faq { margin-top: 160px; }
.sv-dpage .site-foot { margin-top: 148px; }
@media (max-width: 1024px) {
  .sv-page .metrics, .sv-page .pricing, .sv-page .cta, .sv-page .faq,
  .sv-dpage .sv-related, .sv-dpage .cta, .sv-dpage .faq { margin-top: var(--section-gap); }
  .sv-page .site-foot, .sv-dpage .site-foot { margin-top: 120px; }
}
@media (max-width: 640px) { .sv-page .site-foot, .sv-dpage .site-foot { margin-top: 96px; } }

/* ───────── Services list (4 rows × 174, first row highlighted) ───────── */
.sv-list { margin-top: 80px; }
.sv-list ul { display: flex; flex-direction: column; }
.sv-row {
  display: grid; grid-template-columns: 476px minmax(0, 597px) 1fr; align-items: center;
  min-height: 174px; padding: 24px 44px 24px 40px; border-radius: 0;
  border-bottom: 1px solid rgba(141, 105, 89, .5);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.sv-list li:first-child .sv-row { border-bottom-color: transparent; }
.sv-list:not(:hover):not(:focus-within) li:first-child .sv-row,
.sv-row:hover, .sv-row:focus-visible { background: var(--sand); border-bottom-color: transparent; border-radius: var(--r-lg); }
.sv-row:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.sv-row__title {
  display: flex; align-items: center; gap: 16px; padding-top: 16px;
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3s); line-height: var(--lh-h3s); letter-spacing: var(--ls-h3s); color: var(--ink);
}
.sv-row__title img { flex: none; width: 25.73px; height: 24px; transition: transform .4s var(--ease); }
.sv-row p { color: var(--cocoa); }
.sv-row__go { justify-self: end; width: 51px; height: 51px; border-radius: 50%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.sv-row__go img { width: 51px; height: 51px; }
.sv-row:hover .sv-row__go { transform: rotate(45deg); box-shadow: 0 10px 24px -14px rgba(141, 105, 89, .6); }
.sv-row:hover .sv-row__title img { transform: rotate(-30deg); }
@media (max-width: 1240px) { .sv-row { grid-template-columns: minmax(0, 36%) minmax(0, 1fr) 51px; gap: 32px; } }
@media (max-width: 820px) {
  .sv-row { grid-template-columns: minmax(0, 1fr) 51px; grid-template-areas: "t g" "p p"; gap: 12px 24px; padding: 32px 28px; min-height: 0; }
  .sv-row__title { grid-area: t; padding-top: 0; }
  .sv-row p { grid-area: p; padding-left: 42px; }
  .sv-row__go { grid-area: g; }
}
@media (max-width: 640px) {
  .sv-list { margin-top: 40px; }
  .sv-row { padding: 24px 16px; }
  .sv-row__title { gap: 12px; font-size: 24px; letter-spacing: -.5px; }
  .sv-row__title img { width: 21.4px; height: 20px; }
  .sv-row p { padding-left: 0; }
  .sv-row__go, .sv-row__go img { width: 44px; height: 44px; }
  .sv-row { grid-template-columns: minmax(0, 1fr) 44px; }
}

/* ───────── Detail hero (left-aligned title inside the sand panel) ───────── */
.page-hero.sv-dhero { align-items: flex-start; justify-content: center; text-align: left; padding: 64px 80px; }
.sv-dhero .tt { align-items: flex-start; }
.sv-dhero p { max-width: 737px; }
@media (max-width: 820px) { .page-hero.sv-dhero { padding: 56px 40px; } }
@media (max-width: 640px) { .page-hero.sv-dhero { padding: 40px 20px; } }

/* ───────── Big photo (1280 × 565, r24; Figma crop: 151% tall, top −34%) ───────── */
.sv-photo { margin-top: 80px; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.sv-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 565; object-fit: cover; object-position: 50% 66.6%; }
@media (max-width: 640px) { .sv-photo { margin-top: 40px; } .sv-photo img { aspect-ratio: 4 / 3; object-position: 40% 70%; } }

/* ───────── Service body (1000 wide, centred) ───────── */
.sv-body { margin: 80px auto 0; width: min(1000px, 100% - 2 * var(--gutter)); display: flex; flex-direction: column; gap: 80px; }
.sv-body > section { display: flex; flex-direction: column; gap: 20px; }
.sv-body p { color: var(--cocoa); }
.sv-quote { background: var(--sand); border-radius: var(--r-lg); padding: 40px; }
.sv-quote p { font-family: var(--font-display); font-size: var(--fs-h3s); line-height: var(--lh-h3s); letter-spacing: var(--ls-h3s); color: var(--ink); }
@media (max-width: 1024px) { .sv-body { gap: 64px; } }
@media (max-width: 640px) {
  .sv-body { margin-top: 48px; gap: 48px; }
  .sv-body > section { gap: 16px; }
  .sv-quote { padding: 28px 24px; border-radius: var(--r-md); }
  .sv-quote p { font-size: 24px; letter-spacing: -.5px; }
}

/* ───────────────── Blog, Article, 404 ───────────────── */
/* Blog pages — blog.html (listing), blog-details.html (article), 404.html.
   Cards + related block live in css/shared-c.css (.post-card, .post-tag, .related). */

/* ───────── Page rhythm (Figma section y-positions) ───────── */
.bl-page .cta, .bl-page .faq, .bl-page .related { margin-top: 160px; }
.bl-page .site-foot { margin-top: 148px; }
@media (max-width: 1024px) { .bl-page .cta, .bl-page .faq, .bl-page .related { margin-top: var(--section-gap); } .bl-page .site-foot { margin-top: 120px; } }
@media (max-width: 640px) { .bl-page .site-foot { margin-top: 96px; } }

/* ───────── Blog listing grid (2 × 610, gap 80 / 60) ───────── */
.bl-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px 60px; }
@media (max-width: 1024px) { .bl-grid { gap: 64px 32px; } }
@media (max-width: 640px) { .bl-grid { margin-top: 40px; grid-template-columns: 1fr; gap: 48px; } }

/* ───────── Article hero (left-aligned title + tags inside the sand panel) ───────── */
.page-hero.bl-dhero { justify-content: center; align-items: center; text-align: left; padding-block: 64px; }
.bl-dhero .tt { width: min(949px, 100%); align-items: flex-start; }
@media (max-width: 640px) { .page-hero.bl-dhero { padding: 40px 20px; } .bl-dhero .post-tags { gap: 8px; } }

/* ───────── Cover image + lead paragraph ───────── */
.bl-cover { margin-top: 80px; width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.bl-cover img { width: 100%; height: auto; aspect-ratio: 1160 / 640; object-fit: cover; border-radius: var(--r-lg); background: var(--sand); }
.bl-cover p { width: min(1000px, 100%); color: var(--cocoa); }
@media (max-width: 640px) { .bl-cover { margin-top: 40px; gap: 24px; } .bl-cover img { aspect-ratio: 4 / 3; } }

/* ───────── Article prose (.bl-article — reusable) ───────── */
.bl-article { margin: 92px auto 0; width: min(1000px, 100% - 2 * var(--gutter)); display: flex; flex-direction: column; gap: 80px; color: var(--cocoa); }
.bl-article > section { display: flex; flex-direction: column; gap: 20px; }
.bl-article h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3s); line-height: var(--lh-h3s); letter-spacing: var(--ls-h3s); color: var(--ink); }
.bl-article h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); color: var(--ink); }
.bl-article p, .bl-article li { font-size: 16px; line-height: var(--lh-body); }
.bl-article strong { font-weight: 700; color: var(--ink); }
.bl-article a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--peach); text-underline-offset: 3px; }
.bl-article a:hover { color: var(--cocoa); }
.bl-article ul, .bl-article ol { display: flex; flex-direction: column; gap: 0; }
.bl-article ul li { position: relative; padding-left: 18px; }
.bl-article ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }
.bl-article ol { counter-reset: bl; }
.bl-article ol li { position: relative; padding-left: 26px; counter-increment: bl; }
.bl-article ol li::before { content: counter(bl) "."; position: absolute; left: 0; font-weight: 700; color: var(--peach); }
.bl-article blockquote { padding: 4px 0 4px 20px; border-left: 2px solid var(--peach); font-family: var(--font-display); font-size: 20px; line-height: 1.5; letter-spacing: -.3px; color: var(--ink); }
.bl-article .bl-tip { padding: 16px 20px; border-radius: var(--r-md); background: var(--sand); }
.bl-article figure { display: flex; flex-direction: column; gap: 12px; }
.bl-article figure img { width: 100%; height: auto; aspect-ratio: 1000 / 664; object-fit: cover; border-radius: var(--r-lg); background: var(--sand); }
.bl-article figcaption { font-size: 14px; text-align: center; }
@media (max-width: 1024px) { .bl-article { gap: 64px; } }
@media (max-width: 640px) { .bl-article { margin-top: 56px; gap: 48px; } .bl-article > section { gap: 16px; } .bl-article blockquote { font-size: 18px; } }

/* ───────── 404 ───────── */
.bl-404 { padding-top: 206px; display: flex; flex-direction: column; align-items: center; gap: 80px; text-align: center; }
.bl-404 > img { width: 320px; height: auto; }
.bl-404 .txt { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.bl-404 .txt > div { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.bl-404 p { width: min(538px, 100%); color: var(--cocoa); opacity: .8; }
.bl-404page .site-foot { margin-top: 213px; }
@media (max-width: 1024px) { .bl-404 { padding-top: 140px; } .bl-404page .site-foot { margin-top: 160px; } }
@media (max-width: 640px) { .bl-404 { padding-top: 72px; gap: 48px; } .bl-404 > img { width: 240px; } .bl-404 .txt { gap: 28px; } .bl-404page .site-foot { margin-top: 96px; } }

/* ───────────────── Book appointment (book.html) ───────────────── */
/* Serenity — Book appointment page (book.html). Prefix: .bk-*
   Reuses shared-b .gallery + .testi (spacing modifiers .bk-gallery / .bk-testi). */

/* ───────── Page rhythm (Figma y: hero 124→1569, why 1729, gallery 2539, testi 3719, CTA 4761, footer 5456) ───────── */
.bk-why     { margin-top: 160px; }
.bk-page .bk-gallery { margin-top: 160px; }
.bk-page .bk-testi   { margin-top: 157px; } /* shared .gallery renders 8px taller than Figma */
.bk-page .bk-cta     { margin-top: 162px; } /* shared .testi renders 8px taller */
.bk-page .site-foot  { margin-top: 160px; }
@media (max-width: 1024px) {
  .bk-why, .bk-page .bk-gallery, .bk-page .bk-testi, .bk-page .bk-cta { margin-top: var(--section-gap); }
  .bk-page .site-foot { margin-top: 120px; }
}
@media (max-width: 640px) { .bk-page .site-foot { margin-top: 96px; } }

/* ───────── Hero panel + form card ───────── */
.page-hero.bk-hero { min-height: 0; }
.bk-card {
  margin-top: 64px; /* 16 hero gap + 64 = 80 (Figma) */
  width: min(996px, 100%); background: var(--cream); border-radius: var(--r-lg);
  padding: 55px 40px; text-align: left;
}
.bk-form { display: flex; flex-direction: column; gap: 32px; }
.bk-form[hidden] { display: none; }
.bk-form__sub { margin-bottom: 0; }

.bk-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.bk-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bk-field > label, .bk-choice legend { font-weight: 700; font-size: 16px; line-height: 1.7; color: var(--ink); }

.bk-input {
  width: 100%; min-height: 47px; padding: 9px 12px; border: 1px solid rgba(81, 79, 75, .1); border-radius: 12px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.7;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.bk-input::placeholder, .bk-phone input::placeholder { color: var(--cocoa); opacity: 1; }
.bk-input:hover { border-color: rgba(141, 105, 89, .35); }
.bk-input:focus, .bk-phone:focus-within { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(141, 105, 89, .14); }
textarea.bk-input { height: 120px; padding: 12px 14px; resize: vertical; display: block; }

.bk-phone { display: flex; align-items: center; gap: 8px; }
.bk-phone select {
  flex: none; field-sizing: content; appearance: none; -webkit-appearance: none; border: 0; background: url("assets/icons/bk-chevron.svg") right center / 20px 20px no-repeat;
  padding: 0 20px 0 0; font: inherit; font-size: 16px; line-height: 1.7; color: var(--cocoa); cursor: pointer;
}
.bk-phone select:focus { outline: none; }
.bk-phone input { flex: 1; min-width: 0; border: 0; background: none; padding: 0; font: inherit; font-size: 16px; line-height: 1.7; color: var(--ink); }
.bk-phone input:focus { outline: none; }

/* errors (the Figma "Helper text" slot) */
.bk-err { font-size: 14px; line-height: 1.4; color: #B5523A; min-height: 0; }
.bk-err:empty { display: none; }
.bk-field.is-invalid .bk-input, .bk-field.is-invalid .bk-phone { border-color: #D07A62; }

/* date / time chips */
.bk-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.bk-choice legend { padding: 0; margin-bottom: 12px; }
.bk-choice .bk-err { margin-top: 8px; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 13px; }
.bk-chip { position: relative; cursor: pointer; }
.bk-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-chip span {
  display: inline-flex; align-items: center; padding: 19px 24px; border: 1px solid rgba(81, 79, 75, .1); border-radius: 12px;
  background: var(--sand); color: var(--cocoa); font-size: 16px; line-height: 1.7; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.bk-chip em, .bk-chip i { font-style: normal; }
.bk-chip b { font-weight: 700; color: var(--ink); transition: color .2s var(--ease); }
.bk-chip:hover span { border-color: rgba(141, 105, 89, .4); transform: translateY(-1px); }
.bk-chip input:checked + span { background: var(--cocoa); color: var(--white); }
.bk-chip input:checked + span b { color: var(--white); }
.bk-chip input:focus-visible + span { outline: 2px solid var(--cocoa); outline-offset: 2px; }
.bk-chip input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; transform: none; border-color: rgba(81, 79, 75, .1); }
.bk-chip input:disabled { cursor: not-allowed; }

/* message + consent */
.bk-msg { display: flex; flex-direction: column; gap: 16px; }
.bk-agree { display: flex; flex-direction: column; gap: 4px; }
.bk-check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 14px; line-height: 1.7; letter-spacing: -0.28px; color: var(--cocoa); }
.bk-check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 4px 0 0; border: 1px solid var(--ink); border-radius: 4px; background: var(--white);
  display: grid; place-items: center; cursor: pointer; transition: background-color .15s var(--ease);
}
.bk-check input::after { content: ""; width: 8px; height: 4px; border: solid var(--white); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.bk-check input:checked { background: var(--ink); }
.bk-check input:checked::after { opacity: 1; }
.bk-check input:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 2px; }
.bk-check a { color: var(--ink); font-weight: 600; }
.bk-check a:hover { text-decoration: underline; }

.bk-submit { width: 100%; }
.bk-submit[aria-busy="true"] { opacity: .75; pointer-events: none; }

/* success state */
.bk-done { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 56px 0; }
.bk-done[hidden] { display: none; }
.bk-done:focus { outline: none; }
.bk-done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin-bottom: 8px; animation: bk-pop .5s var(--ease) both; }
.bk-done__icon img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.bk-done p { color: var(--cocoa); max-width: 520px; }
.bk-done p b { color: var(--ink); }
.bk-done .bk-again { margin-top: 16px; }
@keyframes bk-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 1024px) {
  .bk-card { margin-top: 48px; padding: 48px 32px; }
  .bk-chip { flex: 1 1 auto; }
  .bk-chip span { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .page-hero.bk-hero { padding: 48px 12px 12px; }
  .bk-card { margin-top: 32px; padding: 32px 18px; border-radius: 18px; }
  .bk-form { gap: 24px; }
  .bk-row { grid-template-columns: 1fr; gap: 24px; }
  .bk-chips { gap: 8px; }
  .bk-chip { flex: 1 1 100%; }
  .bk-chip span { width: 100%; padding: 14px 16px; font-size: 15px; }
  .bk-chips--dates .bk-chip { flex: 1 1 calc(33.333% - 6px); }
  .bk-chips--dates .bk-chip span { flex-direction: column; justify-content: center; padding: 12px 8px; line-height: 1.4; }
  .bk-chips--dates .bk-chip i { display: none; }
  .bk-done { padding: 32px 0; }
}

/* ───────── Why therapy (image + 2×2 benefits) — Figma x103, 1234 wide ───────── */
.bk-why { display: flex; align-items: center; gap: 80px; max-width: 1234px; }
.bk-why__img { flex: 0 0 550px; height: 650px; border-radius: var(--r-xl); overflow: hidden; background: var(--sand); }
.bk-why__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bk-why__img:hover img { transform: scale(1.03); }
.bk-why__body { flex: 0 1 604px; min-width: 0; display: flex; flex-direction: column; gap: 60px; }
.bk-why__head { display: flex; flex-direction: column; gap: 16px; max-width: 568px; }
.bk-why__head p { color: var(--cocoa); }
.bk-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 290px)); gap: 40px 24px; }
.bk-why__item { display: flex; flex-direction: column; gap: 16px; }
.bk-why__item p { color: var(--cocoa); }
.bk-tile { width: 36px; height: 36px; border-radius: 10px; background: var(--white); display: grid; place-items: center; transition: transform .25s var(--ease); }
.bk-tile img { width: 20px; height: 20px; }
.bk-why__item:hover .bk-tile { transform: translateY(-2px) rotate(-6deg); }
@media (max-width: 1024px) {
  .bk-why { gap: 40px; }
  .bk-why__img { flex-basis: 42%; height: 560px; }
  .bk-why__body { flex: 1; gap: 40px; }
  .bk-why__head br { display: none; }
}
@media (max-width: 820px) {
  .bk-why { flex-direction: column; align-items: stretch; }
  .bk-why__img { flex: none; height: auto; aspect-ratio: 16 / 11; }
  .bk-why__head br { display: inline; }
}
@media (max-width: 480px) {
  .bk-why__grid { grid-template-columns: 1fr; gap: 28px; }
  .bk-why__img { aspect-ratio: 4 / 4.2; }
}

/* Balanced headline breaks (Farhan 2026-10-10): every heading that wraps splits into even lines, never a long line
   over a short one. Never remove. */
h1, h2, h3, h4, h5, h6, [class*="t-h"], .h1, .h2, .h3, blockquote, blockquote p, .statement, [class*="quote"] p { text-wrap: balance; }
