@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("/fonts/lora-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --milk: #fffefa;
  --ink: #112f2c;
  --pine: #135f53;
  --forest: #103e36;
  --muted: #50645c;
  --sage: #e2eee6;
  --line: #c6d2c8;
  --coral: #ff795a;
  --inset: clamp(1.35rem, 5.9vw, 6rem);
  --ease: cubic-bezier(.2,.75,.22,1);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scrollbar-color: #89a296 var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.4rem; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
body { min-width: 0; }
a { color: inherit; text-underline-offset: .23em; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
a, button, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
::selection { background: #ffb89f; color: var(--ink); }
:focus-visible { outline: 3px solid #bb4a30; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--inset), 82rem); margin-inline: auto; }
.icon { width: 1.28em; height: 1.28em; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; z-index: 5; left: 1rem; top: 1rem; padding: .75rem; border-radius: .5rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.masthead { border-bottom: 1px solid #dce2d9; }
.main-nav, .nav-links, .brand, .button, .text-action { display: flex; align-items: center; }
.main-nav { min-height: 5.15rem; justify-content: space-between; gap: 1.4rem; }
.brand { gap: .42rem; text-decoration: none; font-size: 1.82rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 2.7rem; height: 2.7rem; }
.nav-links { margin-left: auto; gap: clamp(1.5rem, 3vw, 3rem); margin-right: clamp(.3rem, 1.8vw, 1.7rem); }
.nav-links a, .text-action, .back-top { font-weight: 700; text-decoration: none; }
.nav-links a { padding: .8rem 0; font-size: .87rem; }
.nav-links a:hover, .text-action:hover, .back-top:hover { color: var(--pine); text-decoration: underline; }
.button { justify-content: center; gap: 1.1rem; background: var(--pine); color: white; font-size: .96rem; font-weight: 700; min-height: 3.35rem; padding: .8rem 1.45rem; border: 0; border-radius: 100vmax; text-decoration: none; line-height: 1.25; transition: background .2s, transform .2s var(--ease); width: fit-content; }
.button:hover { background: #114c43; transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button .icon { width: 1.13rem; height: 1.13rem; transition: transform .2s var(--ease); }
.button:hover .icon { transform: translateX(2px); }
.button-small { font-size: .86rem; padding: .68rem 1.13rem; min-height: 2.7rem; gap: .65rem; }
.button:disabled { cursor: progress; opacity: .72; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.6rem, 5.5vw, 6rem); padding-block: clamp(2.1rem, 3.65vw, 3.75rem) clamp(2rem, 3vw, 3rem); }
.hero-copy { padding-bottom: 1.6rem; }
h1, h2 { font-weight: 650; letter-spacing: -.04em; line-height: .99; }
h1 { font-size: clamp(3.8rem, 7.4vw, 6rem); }
h1 em, h2 em { font-family: Lora, Georgia, serif; font-weight: 400; }
h1 em { color: var(--pine); }
.hero-copy p { max-width: 29rem; font-size: clamp(1rem, 1.28vw, 1.21rem); line-height: 1.65; color: var(--muted); margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.55rem; margin-top: 2rem; }
.text-action { gap: .56rem; font-size: .88rem; min-height: 2.75rem; }
.play-icon { width: 1.7rem; height: 1.7rem; border: 1px solid #9eb2a6; border-radius: 50%; display: grid; place-items: center; }
.play-icon .icon { width: .97rem; height: .97rem; margin-left: .09rem; }
.hero-figure { min-width: 0; position: relative; }
.photo-wrap { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 1.12; height: auto; object-fit: cover; object-position: 50% 34%; border-radius: 1rem clamp(3.5rem, 8vw, 8.5rem) 1rem 1rem; background: #ddcfb9; }
.photo-spark { position: absolute; width: clamp(2.7rem, 5.25vw, 5.2rem); height: auto; color: var(--coral); right: .1rem; top: .15rem; transform: rotate(12deg); }
.hero-figure figcaption { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; margin-top: .72rem; color: var(--muted); font-size: .72rem; font-weight: 600; }
.caption-rule { width: 1.6rem; height: 1px; background: #94a99a; }
.caption-dot { color: #728675; }
.audio-slip { position: absolute; z-index: 1; left: -2.75rem; bottom: 2rem; width: clamp(12.7rem, 16vw, 15.5rem); border-radius: .85rem; padding: .9rem 1.05rem .78rem; background: #fffdf7; color: var(--ink); box-shadow: 0 12px 28px #142f2424; transform: rotate(-3deg); }
.audio-label, .audio-wave, .example-title, .case-top, .case-mark, .patient-row, .portal-item, .record-field, .excerpt-flow { display: flex; align-items: center; }
.audio-label { gap: .65rem; font-size: .63rem; font-weight: 700; color: var(--muted); }
.audio-label strong { display: block; color: var(--ink); font-size: .88rem; font-weight: 800; }
.mic-bubble { width: 2.12rem; height: 2.12rem; border-radius: 50%; background: #ffdfd0; color: #80391f; display: grid; place-items: center; }
.mic-bubble .icon { width: 1.14rem; height: 1.14rem; }
.audio-slip summary, .sample-detail summary { list-style: none; }
.audio-slip summary::-webkit-details-marker, .sample-detail summary::-webkit-details-marker { display: none; }
.audio-slip .audio-toggle { margin-left: auto; width: 1rem; height: 1rem; color: var(--pine); }
.audio-slip[open] .audio-toggle, .sample-detail[open] summary .icon { transform: rotate(45deg); }
.audio-slip:hover .audio-label strong { color: var(--pine); }
.sample-quote { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--line); font: italic .9rem/1.45 Lora, Georgia, serif; }
.sample-detail { margin-top: .5rem; border-top: 1px solid #cdd9ca; }
.sample-detail summary { display: flex; align-items: center; justify-content: space-between; color: var(--pine); font-weight: 750; font-size: .78rem; gap: 1rem; min-height: 2.75rem; }
.sample-detail summary .icon { width: .92rem; height: .92rem; }
.sample-detail > div { padding: 0 0 .5rem; font-size: .81rem; line-height: 1.5; }
.sample-detail > div p { color: var(--muted); }
.audio-wave { margin-top: .55rem; gap: .65rem; }
.waveform { height: 1.55rem; min-width: 0; flex: 1; fill: #287968; }
.waveform rect { transform-box: fill-box; transform-origin: center; }
.audio-wave span, .case-count { font-size: .68rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.journey { background: var(--forest); color: var(--milk); padding-block: clamp(3rem, 5.9vw, 6.5rem); }
h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 1.03; }
.journey h2 em { color: #c5e1ce; }
.journey-heading, .module-heading { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 4rem; }
.journey-heading > p, .module-heading > p, .contact-intro > p { font-size: 1.02rem; line-height: 1.65; max-width: 29rem; }
.journey-heading > p { color: #dbe8dc; padding-bottom: .3rem; }
.story-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(2.25rem, 5.7vw, 6rem); margin-top: clamp(2.1rem, 3.8vw, 4rem); align-items: start; }
.story-controls { border-top: 1px solid #578074; }
.story-tab { display: flex; padding: 1.4rem .55rem 1.4rem .1rem; gap: .9rem; align-items: center; border-bottom: 1px solid #578074; text-decoration: none; color: #eff6ef; }
.tab-icon { width: 2.75rem; height: 2.75rem; background: #255248; border-radius: 50%; display: grid; place-items: center; color: #d9e8d9; flex-shrink: 0; transition: background .22s; }
.story-tab:hover .tab-icon, .story-tab[aria-selected="true"] .tab-icon { color: #173b32; background: #ffab8f; }
.tab-text strong { display: block; font-size: clamp(1rem, 1.55vw, 1.45rem); font-weight: 650; letter-spacing: -.026em; line-height: 1.28; }
.tab-text small { display: block; margin-top: .28rem; font-size: .81rem; color: #cfdfd3; }
.story-tab > .icon { margin-left: auto; width: 1rem; opacity: .7; }
.story-tab[aria-selected="true"] > .icon { color: #ffab8f; opacity: 1; }
.story-tab:focus-visible { outline-color: #ffae90; outline-offset: 1px; }
.story-panels { min-width: 0; }
.case-panel { border-radius: 1rem; padding: clamp(1.25rem, 2.7vw, 2.6rem); color: var(--ink); background: #e5eee4; }
.case-panel + .case-panel { margin-top: 1rem; }
.enhanced .case-panel + .case-panel { margin-top: 0; }
.case-top { justify-content: space-between; gap: .7rem; padding-bottom: 1rem; border-bottom: 1px solid #adbfad; }
.case-mark { gap: .5rem; font-size: .78rem; font-weight: 700; }
.case-mark .icon { width: 1.14rem; height: 1.14rem; }
.case-panel h3 { margin: 1.2rem 0 .55rem; font-size: clamp(1.5rem, 2.2vw, 2.1rem); letter-spacing: -.035em; line-height: 1.19; }
.case-panel > p { line-height: 1.6; color: #354e42; font-size: .93rem; }
.case-example { background: #fcfcf6; border-radius: .7rem; margin-top: 1.15rem; padding: 1rem 1.12rem; }
.example-title { gap: .52rem; color: var(--pine); font-size: .75rem; font-weight: 800; }
.example-title .icon { width: 1.15rem; height: 1.15rem; }
blockquote { font-family: Lora, Georgia, serif; font-style: italic; font-size: 1.12rem; line-height: 1.5; margin-top: .55rem; }
.excerpt-flow { gap: .45rem; color: #5c675d; font-size: .68rem; font-weight: 650; margin: .78rem 0 .5rem; }
.excerpt-flow .icon { width: .95rem; height: .95rem; }
.record-field { border-radius: .4rem; background: #e6efe4; align-items: flex-start; flex-direction: column; gap: .1rem; padding: .55rem .7rem; font-size: .84rem; }
.record-field strong { font-size: .69rem; color: #4e6255; font-weight: 700; }
.demo-note { text-align: right; color: #bfd3c7; font-size: .7rem; padding-top: .65rem; }
.patient-row { gap: .65rem; margin: .7rem 0; }
.patient-row img { border-radius: 50%; }
.patient-row small, .patient-row strong { display: block; }
.patient-row small { color: var(--muted); font-size: .74rem; }
.example-pill { margin-left: auto; font-size: .66rem; padding: .28rem .56rem; border-radius: 99px; background: #fce5c6; color: #704919; font-weight: 750; }
.portal-item { gap: .45rem; padding: .52rem 0; border-top: 1px solid #d6dfd5; font-weight: 650; font-size: .8rem; }
.portal-item > span { margin-left: auto; font-size: .7rem; font-weight: 500; color: var(--muted); }
.modules, .contact { padding-block: clamp(3.4rem, 6.5vw, 7rem); }
.module-heading h2 em, .contact-intro h2 em { color: var(--pine); }
.module-heading > p, .contact-intro > p { color: var(--muted); }
.module-list { margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; align-items: start; }
.module-list details { border-top: 1px solid var(--line); }
.module-list details:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.module-list summary { display: flex; align-items: center; list-style: none; gap: 1rem; padding: 1.12rem 0; }
.module-list summary::-webkit-details-marker { display: none; }
.module-icon, .expand-icon { display: grid; place-items: center; flex-shrink: 0; }
.module-icon { width: 2.5rem; height: 2.5rem; border-radius: .7rem; color: var(--pine); background: #e5ede3; }
.module-list h3 { font-size: clamp(1rem, 1.4vw, 1.24rem); font-weight: 700; letter-spacing: -.025em; }
.expand-icon { width: 2rem; height: 2rem; margin-left: auto; }
.expand-icon .icon { width: 1rem; height: 1rem; transition: transform .2s; }
details[open] .expand-icon .icon { transform: rotate(45deg); }
.module-list details p { padding: 0 1.5rem 1.15rem 3.5rem; font-size: .9rem; line-height: 1.65; color: var(--muted); }
.module-list summary:hover h3 { color: var(--pine); }
.contact { background: #e3ede4; border-block: 1px solid #d4e0d4; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.contact-intro > p { margin-top: 1.2rem; max-width: 28rem; }
.contact-photo { margin-top: 1.65rem; width: min(100%, 29rem); aspect-ratio: 2.25; height: auto; object-fit: cover; object-position: center 36%; border-radius: .9rem 3.5rem .9rem .9rem; }
#lead-form { border-radius: 1rem; background: var(--milk); padding: clamp(1.3rem, 3vw, 3rem); }
#lead-form h3 { font-size: 1.65rem; line-height: 1.2; font-weight: 750; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
#lead-form label { display: block; font-weight: 700; font-size: .8rem; margin-bottom: 1.05rem; }
.optional { font-weight: 500; color: var(--muted); }
input, textarea { display: block; margin-top: .36rem; width: 100%; min-width: 0; color: var(--ink); caret-color: var(--pine); border: 1px solid #a8b8ab; padding: .68rem .78rem; border-radius: .44rem; background: #fff; font-size: 1rem; font-weight: 450; }
input { min-height: 2.85rem; }
textarea { min-height: 5.4rem; resize: vertical; }
::placeholder { color: #637368; font-size: .83rem; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
.form-purpose, .email-fallback { font-size: .76rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.1rem; }
.form-status:not(:empty) { border-radius: .5rem; padding: .7rem .8rem; background: #e3eee4; font-size: .88rem; line-height: 1.5; margin-top: 1rem; }
.form-status[data-state="error"] { background: #ffe5dc; color: #782f20; }
.email-fallback { margin: .65rem 0 0; }
.trap { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
.site-footer { background: var(--paper); }
.footer-row { display: flex; align-items: center; gap: 1.4rem; min-height: 6.6rem; }
.footer-row .brand { font-size: 1.45rem; }
.footer-row .brand img { width: 2.15rem; height: 2.15rem; }
.footer-row > span { color: var(--muted); font-size: .78rem; }
.back-top { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; font-size: .8rem; min-height: 2.75rem; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes enter-copy { from { opacity: .5; transform: translateY(12px); } }
  @keyframes enter-slip { from { opacity: .3; transform: translate(5px,14px) rotate(0); } }
  @keyframes sound { 0%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.36); } }
  @keyframes chapter { from { opacity: .6; transform: translateY(.45rem); } }
  .hero-copy { animation: enter-copy .8s var(--ease) both; }
  .audio-slip { animation: enter-slip .85s var(--ease) .08s both; }
  .waveform rect { animation: sound .85s ease-in-out 4 alternate; }
  .waveform rect:nth-child(3n) { animation-delay: -.55s; }
  .waveform rect:nth-child(3n + 1) { animation-delay: -.28s; }
  .enhanced .case-panel:not([hidden]) { animation: chapter .4s var(--ease); }
}
@media (max-width: 975px) {
  .hero { gap: 2.6rem; }
  .hero-actions { gap: .55rem 1rem; }
  .hero-photo { aspect-ratio: .95; }
  .story-layout { gap: 2rem; grid-template-columns: .82fr 1.18fr; }
  .contact-inner, .module-list { gap: 0 2rem; }
  .form-pair { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  .main-nav { min-height: 4.3rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.6rem 1.55rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.7rem, 10vw, 5.2rem); }
  .hero-copy p { max-width: 33rem; margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-figure { width: 100%; }
  .hero-photo { aspect-ratio: 1.43; object-position: center 29%; border-top-right-radius: 4rem; }
  .audio-slip { left: .55rem; bottom: .65rem; width: 11.6rem; padding: .63rem .8rem; }
  .audio-wave { margin-top: .26rem; }
  .audio-label { gap: .4rem; }
  .audio-label strong { font-size: .76rem; }
  .audio-slip .audio-toggle { width: .75rem; height: .75rem; }
  .photo-spark { width: 3.2rem; top: -.3rem; right: -.2rem; }
  .hero-figure figcaption { margin-top: .46rem; font-size: .65rem; }
  .journey-heading, .module-heading { grid-template-columns: 1fr; gap: 1.1rem; }
  .journey-heading > p, .module-heading > p, .contact-intro > p { font-size: .97rem; max-width: 36rem; }
  .story-layout { grid-template-columns: 1fr; gap: 1.15rem; margin-top: 1.4rem; }
  .story-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: none; gap: .35rem; }
  .story-tab { padding: .65rem .25rem; flex-direction: column; text-align: center; justify-content: flex-start; gap: .45rem; border: 1px solid #698a7f; border-radius: .6rem; }
  .story-tab[aria-selected="true"] { border-color: #ffb499; }
  .story-tab > .icon, .tab-text small { display: none; }
  .tab-icon { width: 1.9rem; height: 1.9rem; }
  .tab-icon .icon { width: 1.05rem; height: 1.05rem; }
  .tab-text strong { font-size: .77rem; max-width: 13ch; text-wrap: balance; line-height: 1.35; letter-spacing: 0; }
  .case-top { padding-bottom: .7rem; }
  .case-panel h3 { margin-top: 1rem; }
  .module-list { margin-top: 1.6rem; gap: 0 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 1.7rem; }
  .contact-photo { display: none; }
  .form-pair { grid-template-columns: 1fr 1fr; gap: .85rem; }
}
@media (max-width: 540px) {
  .nav-links { display: none; }
  .brand { font-size: 1.54rem; }
  .brand img { width: 2.35rem; height: 2.35rem; }
  .hero-actions .button { font-size: .88rem; min-height: 3rem; gap: .65rem; padding: .72rem 1rem; }
  .text-action { font-size: .79rem; }
  .play-icon { width: 1.45rem; height: 1.45rem; }
  .module-list { grid-template-columns: 1fr; }
  .module-list details:nth-last-child(2) { border-bottom: 0; }
  .module-list summary { padding: .95rem 0; }
  .form-pair { grid-template-columns: 1fr; gap: 0; }
  .footer-row { flex-wrap: wrap; padding-block: 1.25rem; gap: .35rem 1rem; }
  .footer-row > span { order: 2; width: 100%; }
}
@media (max-width: 360px) {
  .hero-actions { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .hero-photo { aspect-ratio: 1.2; }
  .portal-item { flex-wrap: wrap; }
  .portal-item > span { margin-left: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
