/* m-home.css - the phone home (640px and below). Desktop never sees any of this: every rule sits under
   html.r4m, which is only set on small screens, and the stylesheet itself loads with a phone media query.
   Calm and minimal: one accent (teal), gold for the brand line and small signals. */

html.r4m {
  --m4-paper: #F7F3EC; --m4-card: #FFFFFF; --m4-ink: #16302F; --m4-teal: #0F606B; --m4-teal-soft: #E3EFEC;
  --m4-gold: #C98B2E; --m4-gold-soft: #F4E6CC; --m4-mut: #5F6B69; --m4-line: #E8E0D2; --m4-ok: #1E7A52; --m4-wa: #1F9E50;
  --m4-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --m4-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --m4-ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- what shows on phones: the new home, the site footer, and the intro form when asked for ---------- */
@media (max-width: 640px) {
  html.r4m body { background: var(--m4-paper) !important; }
  html.r4m body > *:not(#r4m):not(footer):not(#contact):not(#r4-ios-tip):not(#r4m-overlay):not(script):not(style):not(link):not(noscript):not(template) { display: none !important; }
  html.r4m:not(.r4m-intake) body > #contact { display: none !important; }
  html.r4m.r4m-intake #m4-home, html.r4m.r4m-intake #m4-pscrim, html.r4m.r4m-intake #m4-popc { display: none !important; }
  html.r4m.r4m-intake body > #contact { padding-top: calc(76px + env(safe-area-inset-top, 0px)) !important; }
  html.r4m #r4m { display: block !important; order: -1; }
  html.r4m footer { order: 5; }
}
#r4m { display: none; }

#r4m, #r4m * { box-sizing: border-box; }
/* the site's phone CSS caps every element at 100% width and clips sections; the strips, carousels and the
   pop-up animation need to overflow on purpose */
:where(#r4m) *, :where(#r4m) *::before, :where(#r4m) *::after { max-width: none; }
html.r4m #r4m section { overflow: visible !important; max-width: none !important; }
#r4m { font-family: var(--m4-body); font-size: 15px; color: var(--m4-ink); -webkit-font-smoothing: antialiased; width: 100%; }
#r4m h1, #r4m h2, #r4m h3, #r4m p, #r4m figure, #r4m blockquote { margin: 0; padding: 0; }
#r4m h1, #r4m h2, #r4m h3 { font-weight: 400; text-wrap: balance; letter-spacing: normal; text-transform: none; }
:where(#r4m) button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; margin: 0; }
#r4m a { -webkit-tap-highlight-color: transparent; }
#r4m img { max-width: none; }
#r4m button:focus-visible, #r4m a:focus-visible, #r4m input:focus-visible, #r4m textarea:focus-visible { outline: 2px solid var(--m4-teal); outline-offset: 3px; }
.m4-pad { padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }

/* ---------- brand lockup, as the site header today ---------- */
.m4-lock { display: flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; }
.m4-lock img { width: 34px; height: 37px; object-fit: contain; flex: 0 0 auto; display: block; }
.m4-lock .nm { display: block; font-family: var(--m4-display); font-size: 20px; line-height: 1.1; color: #1a1a1a; white-space: nowrap; }
.m4-lock .nm em { font-style: normal; color: var(--m4-teal); }
.m4-lock .tg { display: block; font-family: var(--m4-body); font-size: 7.4px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #d59a3f; margin-top: 2px; white-space: nowrap; }

/* ---------- header ---------- */
.m4-top { position: fixed; left: 0; right: 0; top: 0; z-index: 900; height: calc(64px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(var(--m4-paper) 72%, rgba(247, 243, 236, 0)); }
.m4-tr { display: flex; align-items: center; gap: 2px; transition: opacity .6s var(--m4-ease) .3s; }
.m4-icon { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: var(--m4-ink); padding: 0; text-decoration: none; }
.m4-icon svg { width: 24px; height: 24px; }

/* ---------- home ---------- */
#m4-home { padding-top: calc(76px + env(safe-area-inset-top, 0px)); padding-bottom: 36px; }
.m4-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--m4-gold); }
.m4-h2 { font-family: var(--m4-display); font-size: 27px; line-height: 1.1; color: var(--m4-ink); }
.m4-sec { margin-top: 52px; }
.m4-btn { height: 56px; border-radius: 16px; border: 0; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; width: 100%; transition: transform .15s, background .2s; }
.m4-btn:active { transform: scale(.98); }
.m4-teal { background: var(--m4-teal); color: #fff; }
.m4-white { background: #fff; color: var(--m4-teal); }
.m4-textlink { border: 0; background: none; color: var(--m4-teal); font-weight: 700; font-size: 14px; padding: 10px 0; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.m4-reveal { opacity: 0; transform: translateY(10px); }
#r4m.ready .m4-reveal { opacity: 1; transform: none; transition: opacity .7s var(--m4-ease) .16s, transform .7s var(--m4-ease) .16s; }

/* ask box */
.m4-ask { margin-top: -9px; }
.m4-askbox { display: flex; align-items: center; gap: 10px; height: 46px; border-radius: 100px; background: #fff; padding: 0 6px 0 16px; border: 1px solid var(--m4-line); box-shadow: 0 6px 16px -14px rgba(15, 96, 107, .4); transition: border-color .3s, box-shadow .4s var(--m4-ease); }
.m4-askbox:focus-within { border-color: var(--m4-teal); box-shadow: 0 0 0 6px rgba(15, 96, 107, .08); }
.m4-askbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 400; color: var(--m4-ink); padding: 0; margin: 0; height: auto; box-shadow: none; }
.m4-askbox input::placeholder { color: #8A9594; font-size: 14px; }
.m4-askgo { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--m4-teal); color: #fff; display: grid; place-items: center; padding: 0; transition: transform .3s var(--m4-ease); flex: 0 0 34px; }
.m4-askgo:active { transform: scale(.92); }
.m4-askres { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .5s var(--m4-ease), opacity .4s; }
.m4-askres.on { max-height: 520px; opacity: 1; }
.m4-askrow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: var(--m4-card); border-radius: 18px; padding: 14px 16px; margin-top: 8px; color: var(--m4-ink); text-decoration: none; animation: m4StepIn .5s var(--m4-ease) both; animation-delay: var(--d); }
.m4-askrow b { display: block; font-size: 14px; }
.m4-askrow small { display: block; font-size: 12px; color: var(--m4-mut); margin-top: 2px; line-height: 1.4; }
.m4-askrow .ar { color: var(--m4-teal); font-weight: 700; margin-left: auto; }
.m4-asknone { font-size: 14px; color: var(--m4-mut); margin-top: 12px; line-height: 1.5; padding: 0 4px; }
.m4-asknone a { color: var(--m4-teal); font-weight: 700; text-decoration: none; }
@keyframes m4StepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* hero */
#m4-hero { will-change: transform, opacity; }
.m4-hv { margin-top: 18px; }
.m4-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 13px; border: 0; border-radius: 100px; background: var(--m4-teal); color: #fff !important; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; box-shadow: 0 8px 18px -10px rgba(15, 96, 107, .8); transition: transform .25s var(--m4-ease); }
.m4-pill:active { transform: scale(.96); }
.m4-pill i { width: 7px; height: 7px; border-radius: 50%; background: #E9B25A; animation: m4PillDot 2.4s ease-out infinite; }
@keyframes m4PillDot { 0% { box-shadow: 0 0 0 0 rgba(233, 178, 90, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(233, 178, 90, 0); } }
.m4-hh { font-family: var(--m4-display); font-weight: 400; font-size: 40px; line-height: 1.1; margin: 16px 0 0 !important; color: var(--m4-teal); }
.m4-hh .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.04em; }
.m4-hh .ln > span { display: inline-block; transform: translateY(112%); }
#r4m.ready .m4-hh .ln > span { animation: m4LnUp 1s var(--m4-ease) forwards; animation-delay: var(--d); }
@keyframes m4LnUp { to { transform: none; } }
#m4-rr { cursor: pointer; }
#m4-rr i { display: inline-block; font-style: italic; color: #B9782A; animation: m4Wave 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * .07s); }
#m4-rr .and { font-style: normal; color: var(--m4-teal); display: inline-block; }
@keyframes m4Wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.12em); } }
#m4-rr.rip i { animation-duration: .8s; color: #E9B25A; }
.m4-hp { font-size: 16px; line-height: 1.55; color: var(--m4-mut); margin: 16px 0 0 !important; }

/* experts */
.m4-avrow { display: flex; justify-content: space-between; margin-top: 20px; }
.m4-av { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--m4-mut); }
.m4-av img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .3s, transform .3s; }
.m4-av.on { color: var(--m4-teal); font-weight: 700; }
.m4-av.on img { outline-color: var(--m4-gold); transform: scale(1.04); }
.m4-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 18px; scrollbar-width: none; margin-left: calc(-1 * max(22px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(22px, env(safe-area-inset-right, 0px))); padding: 0 max(22px, env(safe-area-inset-left, 0px)); scroll-padding: 0 max(22px, env(safe-area-inset-left, 0px)); }
.m4-cards::-webkit-scrollbar { display: none; }
.m4-ecard { flex: 0 0 100%; scroll-snap-align: start; border-radius: 26px; overflow: hidden; background: var(--m4-teal); color: #fff; position: relative; }
.m4-ecard .ph { position: relative; height: 300px; }
.m4-ecard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m4-badge { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .94); color: var(--m4-teal); font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 100px; }
.m4-ecard .bd { padding: 18px 18px 20px; }
.m4-ecard h3 { font-family: var(--m4-display); font-weight: 400; font-size: 27px; color: #fff; }
.m4-marq { overflow: hidden; margin-top: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.m4-marq > div { display: flex; gap: 6px; width: max-content; animation: m4Marq 26s linear infinite; }
@keyframes m4Marq { to { transform: translateX(-50%); } }
.m4-marq span { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .3); white-space: nowrap; }
.m4-next { margin-top: 12px; font-size: 13px; font-weight: 600; color: #BFEBD3; display: flex; align-items: center; gap: 7px; min-height: 18px; }
.m4-next:empty { visibility: hidden; }
.m4-next::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ED39A; }
.m4-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.m4-two .m4-btn { height: 48px; font-size: 14px; border-radius: 14px; }
.m4-out { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.m4-goldb { background: #E9B25A; color: #2A1B05 !important; }
.m4-pips { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.m4-pips i { width: 6px; height: 6px; border-radius: 6px; background: #D6CCBA; transition: all .3s; }
.m4-pips i.on { width: 20px; background: var(--m4-teal); }

/* four tiles: white breathing orb, gold Calm Corner, they follow the scroll */
.m4-grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 52px; }
.m4-tile { border: 0; text-align: left; border-radius: 22px; padding: 18px 16px; min-height: 168px; background: var(--m4-card); display: flex; flex-direction: column; gap: 12px; color: var(--m4-ink); text-decoration: none; transition: transform .2s var(--m4-ease); will-change: transform, opacity; }
.m4-tile:active { transform: scale(.98); }
.m4-tile b { font-family: var(--m4-display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.m4-tile p { font-size: 13px; line-height: 1.45; color: var(--m4-mut); margin-top: -4px; }
.m4-tile .go { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--m4-teal); }
.m4-breathe { background: var(--m4-teal); color: #fff; }
.m4-breathe p { color: #D2E8E5; } .m4-breathe .go { color: #F1CF94; }
.m4-orb { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(255, 255, 255, .16), 0 0 22px rgba(255, 255, 255, .45); animation: m4Orb 12s var(--m4-ease) infinite; }
@keyframes m4Orb { 0%, 100% { transform: scale(.7); } 33%, 50% { transform: scale(1.15); } }
.m4-calmt { background: linear-gradient(155deg, #F5D9A4 0%, #E9B25A 100%); color: #2A1B05; }
.m4-calmt p { color: #5A3D12; } .m4-calmt .go { color: #2A1B05; }
.m4-calmt .m4-glyph { background: rgba(255, 255, 255, .55); color: #8A5A14; }
.m4-glyph { width: 34px; height: 34px; border-radius: 11px; background: var(--m4-teal-soft); display: grid; place-items: center; color: var(--m4-teal); }
.m4-glyph svg { width: 19px; height: 19px; }

/* impact: the line draws itself, the numbers count up with the scroll */
.m4-impline { position: relative; margin-top: 18px; }
.m4-impline img { display: block; width: 100%; height: auto; clip-path: inset(0 100% 0 0); will-change: clip-path; }
.m4-imps { display: grid; gap: 10px; margin-top: 20px; }
.m4-improw { position: relative; display: flex; align-items: baseline; gap: 14px; border-radius: 20px; background: var(--m4-card); padding: 16px 18px 18px; overflow: hidden; opacity: 0; will-change: transform, opacity; }
.m4-impn { display: inline-block; flex: 0 0 auto; white-space: nowrap; font-family: var(--m4-display); font-size: 30px; line-height: 1.05; color: var(--m4-teal); }
.m4-impl { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--m4-mut); line-height: 1.4; }
.m4-impbar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--m4-gold); transform: scaleX(0); transform-origin: left; }

/* feedback: an auto-sliding row of cards */
.m4-qs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 16px calc(-1 * max(22px, env(safe-area-inset-left, 0px))) 0; padding: 4px max(22px, env(safe-area-inset-left, 0px)) 10px; scroll-padding: 0 max(22px, env(safe-area-inset-left, 0px)); }
.m4-qs::-webkit-scrollbar { display: none; }
.m4-qc { flex: 0 0 86%; scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border-radius: 24px; background: var(--m4-card); padding: 22px 20px 18px; box-shadow: 0 1px 0 rgba(22, 48, 47, .04), 0 14px 28px -24px rgba(22, 48, 47, .5); }
.m4-qc blockquote { font-family: var(--m4-display); font-size: 20px; line-height: 1.35; color: var(--m4-ink); border: 0; quotes: none; }
.m4-qc blockquote::before { content: "\201C"; display: block; height: 26px; font-size: 56px; line-height: .9; color: #E9B25A; }
.m4-qc figcaption { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.m4-qav { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.m4-qc figcaption b { font-size: 14px; }
.m4-qtag { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--m4-teal); background: var(--m4-teal-soft); padding: 5px 10px; border-radius: 100px; }

/* questions */
#m4-faq details { border-top: 1px solid var(--m4-line); }
#m4-faq details:last-child { border-bottom: 1px solid var(--m4-line); }
#m4-faq summary { list-style: none; padding: 18px 0; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 14px; cursor: pointer; color: var(--m4-ink); }
#m4-faq summary::-webkit-details-marker { display: none; }
#m4-faq summary::after { content: ""; width: 10px; height: 10px; flex: 0 0 10px; margin-top: 5px; border-right: 1.8px solid var(--m4-teal); border-bottom: 1.8px solid var(--m4-teal); transform: rotate(45deg); transition: transform .3s; }
#m4-faq details[open] summary::after { transform: rotate(225deg); }
#m4-faq details p { padding: 0 0 18px; color: var(--m4-mut); line-height: 1.6; font-size: 14px; }
#m4-faq details p a { color: var(--m4-teal); font-weight: 600; }

/* scroll reveal */
.m4-sfx { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--m4-ease), transform .9s var(--m4-ease); }
.m4-sfx.in { opacity: 1; transform: none; }

/* ---------- bottom bar ---------- */
.m4-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding-bottom: env(safe-area-inset-bottom, 0px); background: rgba(247, 243, 236, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--m4-line); display: grid; grid-template-columns: repeat(5, 1fr); height: calc(74px + env(safe-area-inset-bottom, 0px)); transition: transform .7s var(--m4-ease) .35s; }
.m4-tab { border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--m4-mut); font-size: 10.5px; font-weight: 600; text-decoration: none; height: 74px; padding: 0; }
.m4-tab svg { width: 24px; height: 24px; }
.m4-tab.wa { color: var(--m4-wa); }
.m4-bookc { position: relative; width: 56px; height: 56px; border-radius: 18px; background: var(--m4-teal); color: #fff; display: grid; place-items: center; margin-top: -6px; box-shadow: 0 8px 18px rgba(15, 96, 107, .28); transition: transform .25s var(--m4-ease); }
.m4-tab:active .m4-bookc { transform: scale(.92); }
.m4-bookc svg { width: 28px; height: 28px; }
.m4-bookc::after { content: ""; position: absolute; inset: -5px; border-radius: 22px; border: 2px solid var(--m4-teal); opacity: 0; }
.m4-bookc.nudge::after { animation: m4Nudge 1.6s var(--m4-ease) 2; }
@keyframes m4Nudge { 0% { opacity: .6; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }

/* ---------- menu ---------- */
#m4-menu { position: fixed; inset: 0; z-index: 1000; background: var(--m4-paper); transform: translateX(-100%); visibility: hidden; transition: transform .45s var(--m4-ease), visibility 0s .45s; overflow-y: auto; padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
#m4-menu.on { transform: none; visibility: visible; transition: transform .45s var(--m4-ease); }
.m4-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m4-mlink { display: block; width: 100%; text-align: left; font-family: var(--m4-display); font-size: 28px; color: var(--m4-ink); padding: 9px 0; text-decoration: none; opacity: 0; transform: translateX(-12px); transition: opacity .4s, transform .4s var(--m4-ease); }
#m4-menu.on .m4-mlink { opacity: 1; transform: none; }
.m4-msmall { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.m4-msmall a { border: 1.5px solid var(--m4-line); border-radius: 100px; padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--m4-ink); text-decoration: none; }
.m4-mfoot { margin-top: 14px; font-size: 12px; line-height: 1.8; color: var(--m4-mut); }
.m4-wab { background: var(--m4-wa); color: #fff !important; margin-top: 28px; }

/* ---------- sheets: booking choices, journal; and the intro pop-up ---------- */
.m4-scrim { position: fixed; inset: 0; background: rgba(10, 30, 33, .42); z-index: 1100; opacity: 0; pointer-events: none; transition: opacity .35s; }
.m4-scrim.on { opacity: 1; pointer-events: auto; }
.m4-sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 92%; background: var(--m4-paper); border-radius: 28px 28px 0 0; z-index: 1101; transform: translateY(105%); visibility: hidden; transition: transform .5s var(--m4-ease), visibility 0s .5s; display: flex; flex-direction: column; }
.m4-sheet.on { transform: none; visibility: visible; transition: transform .5s var(--m4-ease); }
.m4-grab { width: 40px; height: 5px; border-radius: 5px; background: #D8CDBA; margin: 10px auto 0; flex: 0 0 auto; }
.m4-shtop { display: flex; align-items: center; justify-content: flex-end; height: 50px; flex: 0 0 auto; }
.m4-shbody { flex: 1; overflow-y: auto; padding-top: 4px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.m4-opt { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; background: var(--m4-card); border-radius: 18px; padding: 16px; text-align: left; margin-top: 10px; color: var(--m4-ink); text-decoration: none; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.m4-opt:active { box-shadow: inset 0 0 0 1.5px var(--m4-teal); }
.m4-opt b { display: block; font-size: 16px; }
.m4-opt small { display: block; font-size: 13px; color: var(--m4-mut); margin-top: 3px; }
.m4-opt .tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 100px; background: var(--m4-gold-soft); color: #6A4510; white-space: nowrap; }
.m4-opt .ic { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: var(--m4-teal-soft); color: var(--m4-teal); display: grid; place-items: center; }
.m4-opt .ic svg { width: 21px; height: 21px; }
.m4-sh1 { font-family: var(--m4-display); font-size: 32px; line-height: 1.05; }
.m4-lede { font-size: 16px; line-height: 1.55; color: var(--m4-mut); }
.m4-note { font-size: 12px; color: var(--m4-mut); margin-top: 14px; }
.m4-field { display: block; width: 100%; border-radius: 14px; border: 1.5px solid var(--m4-line); background: var(--m4-card); padding: 14px 16px; font: inherit; font-size: 16px; color: var(--m4-ink); margin-top: 16px; height: 150px; resize: none; line-height: 1.5; }
.m4-field:focus { border-color: var(--m4-teal); outline: none; }
.m4-ghost { background: transparent; color: var(--m4-teal); box-shadow: inset 0 0 0 1.5px var(--m4-line); }

.m4-pscrim { position: fixed; inset: 0; background: rgba(12, 35, 38, .42); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 1050; }
.m4-pscrim.on { opacity: 1; pointer-events: auto; }
.m4-popc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1051; max-height: calc(100% - 12px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: var(--m4-paper); border-radius: 28px 28px 0 0; padding: 22px 0 calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); visibility: hidden; transition: transform .5s var(--m4-ease), visibility 0s .5s; text-align: center; }
.m4-popc.on { transform: none; visibility: visible; transition: transform .5s var(--m4-ease); }
.m4-popc .m4-grab { margin-top: -12px; margin-bottom: 10px; }
.m4-pih { font-family: var(--m4-display); font-size: 29px; line-height: 1.05; margin-top: 4px !important; }
.m4-pih i { color: #B9782A; }
.m4-pil { margin-top: 10px !important; font-size: 15px; line-height: 1.55; color: var(--m4-mut); }
.m4-nobtn { border: 0; background: none; color: var(--m4-teal); font-weight: 700; font-size: 14px; padding: 12px 10px; margin-top: 6px !important; }

/* the desktop hero animation, scaled down for the pop-up: aura rings, a thought bubble whose tangled threads
   untangle into calm lines, amber dots */
.m4-pvw { width: 172px; height: 172px; margin: 6px auto 2px; position: relative; }
.m4-pv { position: absolute; left: 0; top: 0; width: 460px; height: 460px; transform: scale(.374); transform-origin: 0 0; display: flex; align-items: center; justify-content: center; }
.m4-pvr { position: absolute; border-radius: 50%; animation: m4PvAura 8s ease-in-out infinite; }
.m4-pr1 { width: 460px; height: 460px; background: rgba(0, 104, 122, .04); border: 1.5px solid rgba(0, 104, 122, .09); }
.m4-pr2 { width: 370px; height: 370px; background: rgba(0, 104, 122, .07); border: 1.5px solid rgba(0, 104, 122, .15); animation-delay: .28s; }
.m4-pr3 { width: 280px; height: 280px; background: rgba(0, 104, 122, .11); border: 1.5px solid rgba(0, 104, 122, .22); animation-delay: .56s; }
@keyframes m4PvAura { 0%, 100% { transform: scale(.91); opacity: .6; } 48%, 52% { transform: scale(1.09); opacity: 1; } }
.m4-pvc { position: relative; width: 190px; height: 190px; background: linear-gradient(148deg, #0f606b 0%, #157b8b 100%); z-index: 2; animation: m4PvCore 8s ease-in-out infinite; clip-path: path('M 95 152 C 72 152 52 138 48 118 C 28 115 16 99 22 82 C 15 73 17 57 31 52 C 28 33 44 18 64 22 C 69 13 82 9 96 16 C 103 9 117 9 126 17 C 135 10 151 14 155 28 C 169 28 178 43 173 59 C 183 65 183 83 172 91 C 177 103 169 118 154 121 C 149 138 129 150 109 147 C 105 150 100 152 95 152 Z M 24 114 C 28.97 114 33 118.03 33 123 C 33 127.97 28.97 132 24 132 C 19.03 132 15 127.97 15 123 C 15 118.03 19.03 114 24 114 Z M 12 128 C 14.76 128 17 130.24 17 133 C 17 135.76 14.76 138 12 138 C 9.24 138 7 135.76 7 133 C 7 130.24 9.24 128 12 128 Z'); }
@keyframes m4PvCore { 0%, 100% { transform: scale(.86); } 48%, 52% { transform: scale(1.14); } }
.m4-pvt { position: absolute; top: 50%; left: 50%; width: 130px; height: 130px; overflow: visible; animation: m4PvTangle 8s ease-in-out infinite; }
@keyframes m4PvTangle { 0%, 100% { transform: translate(calc(-50% + 4px), calc(-50% - 11px)) scale(.86); } 48%, 52% { transform: translate(calc(-50% + 4px), calc(-50% - 11px)) scale(1.14); } }
.m4-pk { stroke-dasharray: 1400; stroke-dashoffset: 0; animation: m4PvUnwind 8s ease-in-out infinite; }
.m4-pks { stroke: rgba(0, 0, 0, .1) !important; stroke-width: 5 !important; transform: translateY(2px); }
.m4-ps { stroke-dasharray: 150; stroke-dashoffset: 150; animation: m4PvSorted 8s ease-in-out infinite; }
.m4-pk2, .m4-ps2 { animation-delay: .15s; } .m4-pk3, .m4-ps3 { animation-delay: .3s; }
@keyframes m4PvUnwind { 0%, 5% { stroke-dashoffset: 0; } 30% { stroke-dashoffset: 1400; } 88% { stroke-dashoffset: 1400; } 100% { stroke-dashoffset: 0; } }
@keyframes m4PvSorted { 0%, 5% { stroke-dashoffset: 150; } 28% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; } 97%, 100% { stroke-dashoffset: 150; } }
.m4-pvd { position: absolute; border-radius: 50%; background: #d59a3f; animation: m4PvDot 6s ease-in-out infinite; }
.m4-pd1 { width: 8px; height: 8px; top: 52px; left: 68px; opacity: .45; } .m4-pd2 { width: 5px; height: 5px; top: 66px; right: 62px; opacity: .35; animation-delay: 1.2s; }
.m4-pd3 { width: 10px; height: 10px; bottom: 66px; left: 52px; opacity: .4; animation-delay: 2.4s; } .m4-pd4 { width: 6px; height: 6px; bottom: 58px; right: 75px; opacity: .35; animation-delay: 3.6s; }
.m4-pd5 { width: 7px; height: 7px; top: 44%; left: 16px; opacity: .3; animation-delay: 4.8s; }
@keyframes m4PvDot { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.35); } }
@media (max-height: 600px) { .m4-pvw { width: 128px; height: 128px; } .m4-pv { transform: scale(.278); } .m4-pih { font-size: 25px; } }

/* ---------- one-minute breathing ---------- */
#m4-breathe { position: fixed; inset: 0; z-index: 1200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; color: var(--m4-ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .24 0 0 0 0 .26 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(70% 45% at 50% 40%, #DCEBE7 0%, rgba(220, 235, 231, 0) 75%), linear-gradient(180deg, #E6F1EE, #F4EFE5); }
#m4-breathe.on { opacity: 1; visibility: visible; transition: opacity .5s; }
.m4-circle { position: relative; width: 250px; height: 250px; display: grid; place-items: center; margin: 20px 0 26px; }
.m4-circle .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(15, 96, 107, .18); }
.m4-core { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #A9DDD8, #2E8C93 62%, #0F606B); transform: scale(.6); transition: transform 4s cubic-bezier(.45, 0, .55, 1); }
.m4-core.in { transform: scale(1.3); }
.m4-core.out { transform: scale(.6); transition-duration: 6s; }
.m4-bl { font-family: var(--m4-display); font-size: 30px; min-height: 38px; }
.m4-bs { font-size: 14px; color: var(--m4-mut); text-align: center; max-width: 270px; line-height: 1.5; }
.m4-bclose { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); border: 0; background: rgba(15, 96, 107, .08); color: var(--m4-teal); border-radius: 100px; padding: 10px 16px; font-size: 13px; font-weight: 600; }
.m4-bbar { width: 200px; height: 3px; border-radius: 3px; background: rgba(15, 96, 107, .12); overflow: hidden; margin-top: 20px; }
.m4-bbar b { display: block; height: 100%; width: 0; background: var(--m4-teal); }
#m4-breathe .m4-eyebrow { color: #B9782A; }

/* ---------- opening: Relate, Rely, Resolve, Realign (gold R's, teal letters); the rest falls away; the R's merge
   into a teal R4. Then, quicker: Therapy (black) unfolds, the logo settles above, the tagline below, and each piece
   glides to its twin in the header as the page rises in. Once per visit. ---------- */
#m4-splash { position: fixed; inset: 0; z-index: 2000; overflow: hidden; transition: opacity .45s var(--m4-ease); }
html.r4m-seen #m4-splash, #m4-splash.gone { display: none; }
#m4-splash.out { opacity: 0; pointer-events: none; }
#m4-splash.arrive { pointer-events: none; }
#m4-splash.reset, #m4-splash.reset * { transition: none !important; animation: none !important; }
.m4-spbg { position: absolute; inset: 0; background: radial-gradient(60% 38% at 22% 14%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%), radial-gradient(70% 40% at 88% 96%, rgba(15, 96, 107, .075), rgba(15, 96, 107, 0) 72%), radial-gradient(60% 34% at 6% 88%, rgba(201, 139, 46, .06), rgba(201, 139, 46, 0) 70%), radial-gradient(140% 95% at 50% 42%, rgba(22, 48, 47, 0) 58%, rgba(22, 48, 47, .075) 100%), linear-gradient(180deg, #FAF7F1 0%, #F4EFE6 100%); transition: opacity .7s var(--m4-ease) .3s; }
.m4-spbg::after { content: ""; position: absolute; inset: 0; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .18 0 0 0 0 .14 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
#m4-splash.arrive .m4-spbg { opacity: 0; }
.m4-stack { position: absolute; left: calc(50% - 62px); top: calc(50% - 78px); width: 260px; height: 180px; font-family: var(--m4-display); font-size: 34px; line-height: 1; transition: transform .9s var(--m4-ease); }
#m4-splash.c .m4-stack { transform: translate(var(--mx, 0px), var(--my, 0px)); }
#m4-splash.d .m4-stack { opacity: 0; transition: none; }
.m4-w { position: absolute; left: 0; display: flex; align-items: baseline; white-space: nowrap; opacity: 0; transform: translateY(12px); transition: transform .9s var(--m4-ease), opacity .6s; }
.m4-w:nth-child(1) { top: 0; } .m4-w:nth-child(2) { top: 40px; } .m4-w:nth-child(3) { top: 80px; } .m4-w:nth-child(4) { top: 120px; }
.m4-w .r { color: #C98B2E; transition: color .6s var(--m4-ease); }
/* the collapsing letters clip sideways only, so the tails of y and g are never cut */
.m4-w .rest { display: inline-block; clip-path: inset(-.3em 0 -.45em 0); white-space: nowrap; max-width: 160px; color: var(--m4-teal); transition: max-width .7s var(--m4-ease), opacity .5s; }
#m4-splash.a .m4-w { opacity: 1; transform: none; }
#m4-splash.a .m4-w:nth-child(2) { transition-delay: .12s; } #m4-splash.a .m4-w:nth-child(3) { transition-delay: .24s; } #m4-splash.a .m4-w:nth-child(4) { transition-delay: .36s; }
#m4-splash.b .m4-w .rest { max-width: 0; opacity: 0; }
#m4-splash.b .m4-w { transition-delay: 0s !important; }
#m4-splash.c .m4-w:nth-child(1) { transform: translateY(60px); }
#m4-splash.c .m4-w:nth-child(2) { transform: translateY(20px); opacity: 0; }
#m4-splash.c .m4-w:nth-child(3) { transform: translateY(-20px); opacity: 0; }
#m4-splash.c .m4-w:nth-child(4) { transform: translateY(-60px); opacity: 0; }
#m4-splash.c .m4-w .r { color: var(--m4-teal); }
.m4-w .four { display: inline-block; clip-path: inset(-.3em 0 -.45em 0); max-width: 0; opacity: 0; color: var(--m4-teal); transition: max-width .5s var(--m4-ease) .25s, opacity .5s .25s; }
#m4-splash.c .m4-w .four { max-width: 32px; opacity: 1; }
.m4-op { position: absolute; left: 0; right: 0; top: calc(50% - 146px); display: flex; flex-direction: column; align-items: center; pointer-events: none; z-index: 2; }
.m4-oplogo { width: 108px; height: 119px; margin-bottom: 20px; }
.m4-oplogo img { display: block; width: 100%; height: 100%; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .5s var(--m4-ease), transform .65s var(--m4-ease); filter: drop-shadow(0 8px 16px rgba(22, 48, 47, .10)); }
#m4-splash.g .m4-oplogo img { opacity: 1; transform: none; }
#m4-splash.arrive .m4-oplogo img { filter: none; transition: filter .8s var(--m4-ease); }
.m4-opnm { font-family: var(--m4-display); font-size: 34px; line-height: 1.1; color: #1a1a1a; white-space: nowrap; opacity: 0; transform: translateX(var(--ox, 0px)); }
.m4-opnm em { font-style: normal; color: var(--m4-teal); }
#m4-splash.d .m4-opnm { opacity: 1; transition: transform .7s cubic-bezier(.65, 0, .25, 1); }
.m4-opth { display: inline-block; opacity: 0; clip-path: inset(-30% 100% -40% 0); transition: clip-path .7s cubic-bezier(.65, 0, .25, 1), opacity .35s; }
#m4-splash.g .m4-opth { opacity: 1; clip-path: inset(-30% -4% -40% 0); }
.m4-optg { font-family: var(--m4-body); font-size: 12.58px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #d59a3f; margin-top: 3.4px; white-space: nowrap; opacity: 0; }
#m4-splash.g .m4-optg { animation: m4SlTg .5s var(--m4-ease) .35s both; }
@keyframes m4SlTg { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.m4-skip { position: absolute; right: max(18px, env(safe-area-inset-right, 0px)); top: calc(16px + env(safe-area-inset-top, 0px)); background: none; border: 0; color: var(--m4-mut); font-size: 12px; font-weight: 600; padding: 10px; z-index: 4; transition: opacity .4s; }
#m4-splash.arrive .m4-skip { opacity: 0; }
/* while the opening plays: the header waits, the content rises, the bar slides up */
html.r4m-opening .m4-top .m4-lock { opacity: 0; }
html.r4m-pre .m4-tr { opacity: 0; }
html.r4m-pre #m4-home { opacity: 0; transform: translateY(24px); }
html.r4m-entering #m4-home { transition: opacity .6s var(--m4-ease) .35s, transform .9s var(--m4-ease) .3s; }
html.r4m-pre .m4-dock { transform: translateY(105%); }

@media (prefers-reduced-motion: reduce) {
  #r4m *, #r4m *::before, #r4m *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
