/* Threshold by Lucy Meyer — lightweight, framework-free design system */
:root {
  color-scheme: light;
  --ink: #20302d;
  --ink-2: #31413d;
  --ink-soft: #58655f;
  --paper: #f7f3ed;
  --paper-2: #efe8de;
  --white: #fffdf9;
  --sand: #ded1c0;
  --clay: #af664d;
  --clay-dark: #8e4f3b;
  --gold: #b8925b;
  --sage: #7e9087;
  --mist: #dfe6e1;
  --line: rgba(32, 48, 45, .14);
  --line-strong: rgba(32, 48, 45, .25);
  --shadow-sm: 0 12px 32px rgba(32, 48, 45, .08);
  --shadow-lg: 0 28px 80px rgba(32, 48, 45, .14);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --max: 1180px;
  --serif: Iowan Old Style, Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 2%, rgba(184,146,91,.1), transparent 26rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
button { border: 0; }
::selection { background: rgba(184,146,91,.27); }
:focus-visible { outline: 3px solid rgba(175,102,77,.45); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  padding: .75rem 1rem;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.prototype-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: .38rem 1rem;
  color: rgba(255,253,249,.9);
  background: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.container--narrow { width: min(calc(100% - 2rem), 820px); margin-inline: auto; }
.section { position: relative; padding: clamp(4.8rem, 8vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { color: var(--white); background: var(--ink); }
.section--sand { background: var(--paper-2); }
.section--rule { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: var(--clay-dark);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 1px; content: ""; background: currentColor; }
.section--ink .eyebrow { color: #d7bc91; }
.display, h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
}
.display { max-width: 13ch; font-size: clamp(3.25rem, 8.6vw, 7.6rem); }
h1 { font-size: clamp(2.9rem, 6.8vw, 6.4rem); }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.55rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.06; }
h4 { margin: 0; font-size: 1rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
.lede { max-width: 62ch; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.75; }
.section--ink .lede { color: rgba(255,253,249,.72); }
.small { font-size: .875rem; }
.muted { color: var(--ink-soft); }
.kicker { color: var(--clay); font-weight: 750; }
.balance { text-wrap: balance; }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .86rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { color: var(--white); background: var(--ink); box-shadow: 0 10px 24px rgba(32,48,45,.14); }
.btn--primary:hover { background: var(--ink-2); box-shadow: 0 14px 34px rgba(32,48,45,.2); }
.btn--clay { color: var(--white); background: var(--clay); }
.btn--clay:hover { background: var(--clay-dark); }
.btn--light { color: var(--ink); background: var(--white); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: rgba(255,255,255,.45); }
.btn--ghost { min-height: 40px; padding: .6rem .85rem; color: var(--ink); background: transparent; }
.btn--danger { border-color: rgba(153,54,54,.24); color: #8d3131; background: #fff7f7; }
.btn--small { min-height: 40px; padding: .65rem .9rem; font-size: .78rem; }
.btn--wide { width: 100%; }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--clay-dark); font-weight: 800; text-decoration: none; }
.link-arrow::after { content: "↗"; transition: transform .22s var(--ease); }
.link-arrow:hover::after { transform: translate(2px,-2px); }

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247,243,237,.82);
  backdrop-filter: saturate(150%) blur(14px);
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(32,48,45,.05); }
.nav-shell { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-copy { display: grid; gap: .05rem; }
.brand-name { font-family: var(--serif); font-size: 1.18rem; letter-spacing: .09em; line-height: 1; }
.brand-tag { color: var(--ink-soft); font-size: .61rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: none; align-items: center; gap: 1.65rem; }
.nav-links a { position: relative; color: var(--ink-2); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.nav-links a::after { position: absolute; bottom: -.55rem; left: 0; width: 100%; height: 1px; content: ""; background: var(--clay); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: none; align-items: center; gap: .5rem; }
.menu-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,.55);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 0; content: ""; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.mobile-panel {
  position: fixed;
  z-index: 80;
  inset: 112px 0 auto;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .22s, transform .22s;
}
.mobile-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-panel__inner { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.mobile-panel nav { display: grid; }
.mobile-panel nav a { padding: 1rem .4rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.65rem; text-decoration: none; }
.mobile-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1rem; }

.hero { overflow: hidden; padding: clamp(2.5rem, 6vw, 6rem) 0 clamp(5.5rem, 10vw, 9rem); }
.hero-grid { display: grid; align-items: center; gap: 3.4rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .display em { color: var(--clay); font-weight: inherit; }
.hero-copy .lede { max-width: 58ch; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero-proof { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; margin-top: 2.25rem; }
.proof-item { padding-top: .9rem; border-top: 1px solid var(--line); }
.proof-item strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1.2; }
.proof-item span { color: var(--ink-soft); font-size: .77rem; }
.hero-visual { position: relative; width: min(100%, 560px); justify-self: center; }
.hero-arch { position: relative; overflow: hidden; aspect-ratio: 4 / 5.25; border-radius: 48% 48% var(--radius) var(--radius) / 28% 28% var(--radius) var(--radius); background: var(--sand); box-shadow: var(--shadow-lg); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.hero-visual::before { position: absolute; z-index: -1; top: -9%; right: -12%; width: 68%; aspect-ratio: 1; border: 1px solid rgba(184,146,91,.55); border-radius: 50%; content: ""; }
.hero-visual::after { position: absolute; z-index: -1; bottom: -9%; left: -11%; width: 45%; aspect-ratio: 1; border-radius: 50%; content: ""; background: rgba(126,144,135,.18); }
.hero-note { position: absolute; right: -2%; bottom: 7%; max-width: 205px; padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.6); border-radius: 16px; background: rgba(255,253,249,.91); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.hero-note span { display: block; color: var(--clay-dark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-note strong { display: block; margin-top: .25rem; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.22; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,253,249,.58); }
.trust-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.trust-item { display: flex; min-height: 108px; align-items: center; gap: .75rem; padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item:nth-child(2n) { border-right: 0; }
.trust-item:nth-last-child(-n+2) { border-bottom: 0; }
.trust-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--clay-dark); background: var(--white); }
.trust-icon svg { width: 18px; height: 18px; }
.trust-item strong { display: block; font-size: .88rem; line-height: 1.3; }
.trust-item span { display: block; margin-top: .15rem; color: var(--ink-soft); font-size: .72rem; line-height: 1.35; }

.section-heading { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem,5vw,4rem); }
.section-heading--split { align-items: end; }
.section-heading h2 { max-width: 12ch; }
.section-heading .lede { max-width: 58ch; }

.services-grid { display: grid; gap: 1rem; }
.service-card { position: relative; overflow: hidden; min-height: 470px; border-radius: var(--radius); color: var(--white); background: var(--ink); box-shadow: var(--shadow-sm); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(17,28,25,.04) 10%, rgba(17,28,25,.82) 83%); }
.service-card:hover img { transform: scale(1.035); }
.service-card__body { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 1.5rem; }
.service-card__number { display: inline-block; margin-bottom: .8rem; color: #e0c59d; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { max-width: 10ch; color: var(--white); }
.service-card p { max-width: 42ch; margin: .7rem 0 1.1rem; color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.55; }
.service-card .link-arrow { color: var(--white); }

.editorial-split { display: grid; align-items: center; gap: 3rem; }
.editorial-image { position: relative; }
.editorial-image img { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); object-fit: cover; }
.editorial-image::after { position: absolute; z-index: -1; right: -4%; bottom: -4%; width: 66%; height: 66%; border: 1px solid var(--gold); border-radius: var(--radius); content: ""; }
.editorial-copy h2 { max-width: 10ch; }
.editorial-copy .lede { margin-top: 1.4rem; }
.editorial-copy .btn { margin-top: .9rem; }
.credentials { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0; }
.credential { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-2); background: rgba(255,255,255,.45); font-size: .76rem; font-weight: 750; }
.credential::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--gold); box-shadow: 0 0 0 4px rgba(184,146,91,.15); }

.process-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.13); }
.process-card { min-height: 260px; padding: 1.5rem; background: var(--ink); }
.process-card__top { display: flex; align-items: center; justify-content: space-between; color: #d8bd94; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.process-card h3 { max-width: 9ch; margin-top: 3rem; color: var(--white); }
.process-card p { margin-top: .9rem; color: rgba(255,255,255,.67); font-size: .9rem; }

.quotes-shell { position: relative; overflow: hidden; }
.quotes-track { display: flex; transition: transform .55s var(--ease); }
.quote-card { min-width: 100%; padding: clamp(1.5rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.65rem, 3.4vw, 3rem); line-height: 1.22; letter-spacing: -.02em; }
.quote-card footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.quote-card cite { font-style: normal; font-weight: 800; }
.quote-card small { color: var(--ink-soft); }
.quote-controls { display: flex; gap: .5rem; margin-top: 1rem; }
.icon-btn { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; background: var(--white); transition: transform .2s, border-color .2s; }
.icon-btn:hover { transform: translateY(-2px); border-color: var(--ink); }

.faq-grid { display: grid; gap: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.2rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--clay); font-family: var(--sans); font-size: 1.2rem; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 65ch; padding: 0 2rem 1.3rem 0; color: var(--ink-soft); }

.social-panel { display: grid; gap: 1.2rem; padding: clamp(1.3rem,4vw,3rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.social-profile { display: flex; align-items: center; gap: 1rem; }
.social-profile img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.social-profile strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.social-profile span { color: var(--ink-soft); font-size: .82rem; }
.social-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; }
.social-tile { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 14px; background: var(--paper-2); }
.social-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.social-tile:hover img { transform: scale(1.04); }
.social-note { color: var(--ink-soft); font-size: .76rem; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(2rem,7vw,5rem); border-radius: var(--radius-lg); color: var(--white); background: var(--ink); }
.cta-panel::before { position: absolute; top: -65%; right: -15%; width: 55%; aspect-ratio: 1; border: 1px solid rgba(215,188,145,.4); border-radius: 50%; content: ""; }
.cta-panel::after { position: absolute; right: 15%; bottom: -45%; width: 40%; aspect-ratio: 1; border-radius: 50%; content: ""; background: rgba(175,102,77,.15); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 12ch; }
.cta-panel p { max-width: 57ch; margin: 1.25rem 0 1.8rem; color: rgba(255,255,255,.72); }

.site-footer { padding: 4rem 0 6rem; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand p { max-width: 36ch; margin-top: 1rem; color: var(--ink-soft); font-size: .9rem; }
.footer-col h4 { margin-bottom: .8rem; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: .38rem 0; color: var(--ink-soft); font-size: .88rem; text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-direction: column; gap: .7rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .72rem; }
.footer-disclaimer { max-width: 82ch; }
.mobile-book { position: fixed; z-index: 70; right: 1rem; bottom: 1rem; left: 1rem; display: flex; min-height: 54px; align-items: center; justify-content: center; border-radius: var(--radius-pill); color: var(--white); background: var(--clay); box-shadow: 0 16px 42px rgba(73,35,24,.26); font-size: .84rem; font-weight: 850; letter-spacing: .04em; text-decoration: none; }

.page-hero { padding: clamp(3rem,7vw,7rem) 0 clamp(3.5rem,8vw,6.5rem); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; align-items: end; gap: 2rem; }
.page-hero h1 { max-width: 11ch; }
.page-hero .lede { max-width: 58ch; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.pill { display: inline-flex; align-items: center; min-height: 34px; padding: .45rem .72rem; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-soft); background: rgba(255,255,255,.44); font-size: .72rem; font-weight: 750; }

.offer-list { display: grid; gap: 1rem; }
.offer { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.offer__image { min-height: 300px; background: var(--paper-2); }
.offer__image img { width: 100%; height: 100%; object-fit: cover; }
.offer__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.4rem,4vw,3rem); }
.offer__body h2 { max-width: 9ch; font-size: clamp(2rem,4vw,3.6rem); }
.offer__body p { max-width: 58ch; margin: 1rem 0; color: var(--ink-soft); }
.offer__details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin: 1rem 0 1.4rem; }
.offer__detail { padding-top: .8rem; border-top: 1px solid var(--line); }
.offer__detail span { display: block; color: var(--ink-soft); font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.offer__detail strong { display: block; margin-top: .2rem; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }

.pricing-grid { display: grid; gap: 1rem; }
.price-card { display: flex; min-height: 365px; flex-direction: column; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-card.is-featured { color: var(--white); background: var(--ink); transform: none; }
.price-card__tag { width: fit-content; padding: .38rem .6rem; border-radius: var(--radius-pill); color: var(--clay-dark); background: rgba(175,102,77,.1); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.price-card.is-featured .price-card__tag { color: var(--ink); background: #e4cda8; }
.price-card h3 { margin-top: 1.2rem; }
.price-card p { margin-top: .75rem; color: var(--ink-soft); font-size: .88rem; }
.price-card.is-featured p { color: rgba(255,255,255,.68); }
.price { margin: auto 0 1.1rem; padding-top: 2rem; font-family: var(--serif); font-size: 2.7rem; line-height: 1; }
.price small { color: var(--ink-soft); font-family: var(--sans); font-size: .68rem; }
.price-card.is-featured .price small { color: rgba(255,255,255,.58); }
.price-card.is-featured .btn--primary { color: var(--ink); background: var(--white); }

.story-grid { display: grid; gap: 3rem; }
.story-visual { position: relative; }
.story-visual img { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }
.story-visual .story-caption { margin-top: .7rem; color: var(--ink-soft); font-size: .72rem; }
.story-copy h2 { max-width: 11ch; }
.story-copy p { color: var(--ink-soft); }
.story-copy .lead-story { margin: 1.4rem 0; color: var(--ink); font-family: var(--serif); font-size: clamp(1.35rem,2.2vw,1.8rem); line-height: 1.38; }
.values-grid { display: grid; gap: 1rem; }
.value-card { padding: 1.3rem; border-top: 1px solid var(--line); }
.value-card span { color: var(--clay); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.value-card h3 { margin-top: .7rem; font-size: 1.55rem; }
.value-card p { margin-top: .6rem; color: var(--ink-soft); font-size: .88rem; }
.verify-card { padding: 1.2rem; border: 1px solid rgba(184,146,91,.36); border-radius: var(--radius-sm); background: #fbf7ef; }
.verify-card strong { display: block; margin-bottom: .3rem; }
.verify-card p { margin: 0; color: var(--ink-soft); font-size: .84rem; }

.booking-wrap { padding: clamp(2rem,5vw,5rem) 0 7rem; }
.booking-shell { display: grid; align-items: start; gap: 1rem; }
.booking-main { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.booking-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.booking-top strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.stepper { display: flex; gap: .4rem; }
.step-dot { width: 28px; height: 5px; border-radius: var(--radius-pill); background: var(--paper-2); }
.step-dot.is-active { background: var(--clay); }
.booking-step { padding: clamp(1.1rem,4vw,2rem); }
.booking-step h2 { font-size: clamp(1.9rem,4vw,3.2rem); }
.booking-step > p { margin-top: .65rem; color: var(--ink-soft); }
.choice-grid { display: grid; gap: .65rem; margin-top: 1.5rem; }
.service-choice { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.service-choice:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.service-choice.is-selected { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(175,102,77,.1); }
.service-choice input { position: absolute; opacity: 0; pointer-events: none; }
.service-choice h3 { font-family: var(--sans); font-size: .98rem; font-weight: 800; letter-spacing: 0; line-height: 1.35; }
.service-choice p { margin: .25rem 0 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.service-choice__price { text-align: right; }
.service-choice__price strong { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 500; }
.service-choice__price span { color: var(--ink-soft); font-size: .7rem; }
.booking-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.booking-actions .btn:last-child { margin-left: auto; }

.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.calendar-head strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.calendar-nav { display: flex; gap: .35rem; }
.calendar-nav .icon-btn { width: 38px; height: 38px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: .28rem; }
.calendar-weekdays { margin-top: 1rem; color: var(--ink-soft); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.calendar-grid { margin-top: .4rem; }
.calendar-day { position: relative; min-height: 48px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; background: transparent; font-size: .8rem; transition: background .2s, color .2s, border-color .2s; }
.calendar-day:hover:not(:disabled) { border-color: var(--line-strong); background: var(--paper); }
.calendar-day.is-available::after { position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; border-radius: 50%; content: ""; background: var(--sage); transform: translateX(-50%); }
.calendar-day.is-selected { color: var(--white); background: var(--ink); }
.calendar-day.is-selected::after { background: var(--white); }
.calendar-day:disabled { cursor: default; color: rgba(32,48,45,.25); }
.calendar-day.is-outside { visibility: hidden; }
.time-zone { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; color: var(--ink-soft); font-size: .72rem; }
.time-zone svg { width: 15px; height: 15px; }
.time-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin-top: 1.2rem; }
.time-button { min-height: 48px; padding: .7rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--white); font-size: .8rem; font-weight: 750; transition: border-color .2s, background .2s, color .2s; }
.time-button:hover:not(:disabled) { border-color: var(--clay); }
.time-button.is-selected { border-color: var(--ink); color: var(--white); background: var(--ink); }
.time-button:disabled { cursor: not-allowed; opacity: .35; text-decoration: line-through; }
.empty-state { padding: 1.4rem; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--ink-soft); background: var(--paper); font-size: .84rem; text-align: center; }

.field-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .42rem; }
.field label { font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: .78rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(175,102,77,.1); }
.field small { color: var(--ink-soft); font-size: .7rem; }
.check-row { display: flex; align-items: flex-start; gap: .7rem; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .2rem; accent-color: var(--ink); }
.check-row label { color: var(--ink-soft); font-size: .76rem; }

.booking-aside { display: grid; gap: 1rem; }
.summary-card, .assurance-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,249,.75); }
.summary-card h3, .assurance-card h3 { font-family: var(--sans); font-size: .85rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.summary-list { display: grid; gap: .85rem; margin-top: 1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font-size: .8rem; }
.summary-row:last-child { padding-bottom: 0; border-bottom: 0; }
.summary-row span { color: var(--ink-soft); }
.summary-row strong { text-align: right; }
.assurance-list { display: grid; gap: .75rem; margin-top: 1rem; }
.assurance-item { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink-soft); font-size: .75rem; }
.assurance-item svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--clay); }

.checkout-grid { display: grid; align-items: start; gap: 1rem; }
.payment-card { padding: clamp(1.2rem,4vw,2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.payment-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.payment-head strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.secure-badge { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-soft); font-size: .7rem; font-weight: 750; }
.card-preview { position: relative; overflow: hidden; min-height: 190px; margin: 1.4rem 0; padding: 1.4rem; border-radius: 18px; color: var(--white); background: linear-gradient(135deg, #20302d, #4a5a55); box-shadow: 0 18px 42px rgba(32,48,45,.22); }
.card-preview::after { position: absolute; top: -90px; right: -50px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; content: ""; }
.card-preview__brand { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.card-preview__number { margin-top: 2.6rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.1rem; letter-spacing: .12em; }
.card-preview__meta { display: flex; justify-content: space-between; margin-top: 1.3rem; color: rgba(255,255,255,.75); font-size: .67rem; text-transform: uppercase; }
.demo-alert { display: flex; gap: .7rem; padding: .8rem; border: 1px solid rgba(184,146,91,.35); border-radius: 12px; background: #fbf7ef; color: var(--ink-soft); font-size: .74rem; }
.demo-alert strong { color: var(--ink); }
.spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.confirmation-card { padding: clamp(1.5rem,5vw,4rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); text-align: center; }
.confirmation-icon { display: grid; width: 74px; height: 74px; margin: 0 auto 1.2rem; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); }
.confirmation-icon svg { width: 34px; height: 34px; }
.confirmation-card h1 { max-width: 12ch; margin-inline: auto; font-size: clamp(2.4rem,6vw,4.8rem); }
.confirmation-card .lede { margin: 1rem auto; }
.confirmation-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; overflow: hidden; max-width: 660px; margin: 1.6rem auto; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.confirmation-details div { padding: 1rem; background: var(--paper); }
.confirmation-details span { display: block; color: var(--ink-soft); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.confirmation-details strong { display: block; margin-top: .25rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.confirmation-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

.login-wrap { display: grid; min-height: calc(100vh - 112px); place-items: center; padding: 3rem 1rem; }
.login-card { width: min(100%, 480px); padding: clamp(1.3rem,5vw,2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.login-brand { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.login-card h1 { font-size: clamp(2.2rem,7vw,3.6rem); text-align: center; }
.login-card > p { color: var(--ink-soft); text-align: center; }
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin: 1.3rem 0; padding: .35rem; border-radius: var(--radius-pill); background: var(--paper-2); }
.role-tab { min-height: 42px; border-radius: var(--radius-pill); cursor: pointer; background: transparent; font-size: .78rem; font-weight: 800; }
.role-tab.is-active { background: var(--white); box-shadow: 0 4px 15px rgba(32,48,45,.08); }
.demo-access { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .72rem; text-align: center; }
.demo-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }

.app-body { background: #f1eee8; }
.app-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,253,249,.9); backdrop-filter: blur(14px); }
.app-header__inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 1rem; }
.app-user { display: flex; align-items: center; gap: .7rem; }
.app-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font-family: var(--serif); }
.app-user strong { display: block; font-size: .8rem; }
.app-user span { display: block; color: var(--ink-soft); font-size: .66rem; }
.app-shell { display: grid; min-height: calc(100vh - 70px); }
.app-sidebar { display: none; padding: 1.2rem; border-right: 1px solid var(--line); background: var(--white); }
.app-nav { display: grid; gap: .25rem; }
.app-nav button, .app-nav a { display: flex; min-height: 44px; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 10px; cursor: pointer; color: var(--ink-soft); background: transparent; font-size: .78rem; font-weight: 750; text-align: left; text-decoration: none; }
.app-nav button:hover, .app-nav button.is-active, .app-nav a:hover { color: var(--ink); background: var(--paper-2); }
.app-nav svg { width: 17px; height: 17px; }
.app-sidebar__bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.app-main { min-width: 0; padding: 1rem; }
.app-page-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.app-page-head h1 { font-size: clamp(2rem,5vw,3.3rem); }
.app-page-head p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .82rem; }
.app-grid { display: grid; gap: 1rem; }
.stat-card, .panel { padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 8px 28px rgba(32,48,45,.045); }
.stat-card span { color: var(--ink-soft); font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.stat-card strong { display: block; margin-top: .45rem; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.stat-card small { color: var(--sage); font-size: .68rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.panel-head h2 { font-family: var(--sans); font-size: .92rem; font-weight: 850; letter-spacing: .02em; }
.panel-head p { margin: .2rem 0 0; color: var(--ink-soft); font-size: .72rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .75rem; }
th, td { padding: .8rem .6rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--ink-soft); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.status { display: inline-flex; min-height: 25px; align-items: center; padding: .28rem .55rem; border-radius: var(--radius-pill); font-size: .62rem; font-weight: 800; }
.status--paid, .status--active, .status--connected { color: #315c47; background: #e4f0e9; }
.status--pending, .status--demo { color: #73541d; background: #f5eddc; }
.status--draft, .status--offline { color: #6f5960; background: #f0e8eb; }
.list-stack { display: grid; gap: .6rem; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; }
.list-row__main { min-width: 0; }
.list-row strong { display: block; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.list-row span { display: block; color: var(--ink-soft); font-size: .68rem; }
.progress { overflow: hidden; height: 7px; margin-top: .7rem; border-radius: var(--radius-pill); background: var(--paper-2); }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--clay); }
.app-tabs { display: flex; gap: .35rem; overflow-x: auto; margin-bottom: 1rem; padding-bottom: .2rem; }
.app-tab { min-height: 38px; flex: 0 0 auto; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; background: var(--white); font-size: .72rem; font-weight: 800; }
.app-tab.is-active { border-color: var(--ink); color: var(--white); background: var(--ink); }
.app-view { display: none; }
.app-view.is-active { display: block; }

.weekday-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.weekday-toggle { position: relative; display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.weekday-toggle input { accent-color: var(--ink); }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .6rem; border-radius: var(--radius-pill); background: var(--paper-2); font-size: .7rem; font-weight: 750; }
.tag button { cursor: pointer; color: var(--clay-dark); background: transparent; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; }
.inline-form input, .inline-form select { min-height: 42px; flex: 1 1 150px; padding: .6rem .7rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); }
.integration-grid { display: grid; gap: .7rem; }
.integration { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem; border: 1px solid var(--line); border-radius: 12px; }
.integration__brand { display: flex; align-items: center; gap: .7rem; }
.integration__icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; color: var(--white); background: var(--ink); font-size: .75rem; font-weight: 850; }
.integration strong { display: block; font-size: .77rem; }
.integration span { display: block; color: var(--ink-soft); font-size: .66rem; }
.notice { padding: .85rem; border: 1px solid rgba(184,146,91,.35); border-radius: 12px; background: #fbf7ef; color: var(--ink-soft); font-size: .74rem; }
.notice strong { color: var(--ink); }
.toast { position: fixed; z-index: 999; right: 1rem; bottom: 1rem; max-width: 360px; padding: .9rem 1rem; border-radius: 12px; opacity: 0; pointer-events: none; color: var(--white); background: var(--ink); box-shadow: var(--shadow-lg); font-size: .78rem; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.portal-hero { display: grid; gap: 1rem; margin-bottom: 1rem; }
.session-card { position: relative; overflow: hidden; min-height: 280px; padding: clamp(1.2rem,4vw,2rem); border-radius: var(--radius); color: var(--white); background: var(--ink); }
.session-card::after { position: absolute; right: -70px; bottom: -110px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; content: ""; }
.session-card .eyebrow { color: #e1c9a2; }
.session-card h2 { max-width: 10ch; font-size: clamp(2rem,5vw,3.8rem); }
.session-card p { margin-top: .8rem; color: rgba(255,255,255,.68); }
.session-card__footer { position: absolute; right: 1.2rem; bottom: 1.2rem; left: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; }
.assignment { padding: 1rem; border: 1px solid var(--line); border-radius: 13px; }
.assignment__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.assignment h3 { font-family: var(--sans); font-size: .85rem; font-weight: 850; letter-spacing: 0; }
.assignment p { margin: .4rem 0; color: var(--ink-soft); font-size: .72rem; }
.assignment textarea { width: 100%; min-height: 90px; margin-top: .7rem; padding: .7rem; border: 1px solid var(--line); border-radius: 10px; resize: vertical; }
.resource-card { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: .8rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; }
.resource-icon { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 12px; color: var(--clay-dark); background: var(--paper-2); font-family: var(--serif); }
.resource-card strong { display: block; font-size: .78rem; }
.resource-card span { display: block; color: var(--ink-soft); font-size: .67rem; }

.invoice-page { padding: 2rem 0 5rem; background: #ece9e4; }
.invoice-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; width: min(calc(100% - 2rem), 900px); margin: 0 auto 1rem; }
.invoice { width: min(calc(100% - 2rem), 900px); min-height: 1040px; margin: 0 auto; padding: clamp(1.3rem,5vw,4rem); background: var(--white); box-shadow: 0 20px 70px rgba(32,48,45,.13); }
.invoice-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.invoice-logo { display: flex; align-items: center; gap: .7rem; }
.invoice-logo img { width: 44px; }
.invoice-logo strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: .08em; }
.invoice-title h1 { font-size: 3.2rem; }
.invoice-title p { margin: .3rem 0 0; color: var(--ink-soft); font-size: .78rem; text-align: left; }
.paid-stamp { display: inline-flex; margin-top: .7rem; padding: .45rem .7rem; border: 1px solid #4a8064; border-radius: 8px; color: #3c7257; font-size: .72rem; font-weight: 850; letter-spacing: .12em; transform: rotate(-2deg); }
.invoice-parties { display: grid; gap: 2rem; padding: 2rem 0; }
.invoice-party span { display: block; margin-bottom: .45rem; color: var(--ink-soft); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.invoice-party strong { display: block; }
.invoice-party p { margin: .2rem 0; color: var(--ink-soft); font-size: .8rem; }
.invoice-table { width: 100%; }
.invoice-table td, .invoice-table th { white-space: normal; }
.invoice-totals { display: grid; gap: .5rem; width: min(100%, 330px); margin: 1.3rem 0 0 auto; }
.invoice-total-row { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-soft); font-size: .8rem; }
.invoice-total-row--grand { margin-top: .45rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 1.35rem; }
.invoice-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .75rem; }
.invoice-placeholder { margin-top: 1rem; padding: .8rem; border: 1px dashed rgba(175,102,77,.45); border-radius: 10px; background: #fff9f6; color: #84513f; font-size: .7rem; }

.journal-grid { display: grid; gap: 1rem; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.post-card__visual { display: grid; min-height: 240px; place-items: center; background: var(--paper-2); }
.post-card__visual span { font-family: var(--serif); font-size: 4rem; color: rgba(32,48,45,.25); }
.post-card__body { padding: 1.2rem; }
.post-meta { display: flex; gap: .6rem; color: var(--ink-soft); font-size: .66rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.post-card h2 { margin-top: .8rem; font-size: clamp(1.7rem,3vw,2.5rem); line-height: 1.05; }
.post-card p { margin: .8rem 0; color: var(--ink-soft); font-size: .84rem; }
.article-shell { display: grid; gap: 2rem; }
.article-copy { max-width: 760px; }
.article-copy p { color: var(--ink-soft); font-size: 1.03rem; }
.article-copy h2 { margin: 2.4rem 0 1rem; font-size: clamp(2rem,4vw,3.2rem); }
.article-copy .pullquote { margin: 2rem 0; padding: 1.3rem 0 1.3rem 1.3rem; border-left: 2px solid var(--gold); color: var(--ink); font-family: var(--serif); font-size: 1.5rem; }
.author-box { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; align-items: center; margin-top: 3rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.author-box strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.author-box p { margin: .3rem 0 0; font-size: .75rem; }

.legal { max-width: 800px; }
.legal h1 { max-width: 12ch; }
.legal h2 { margin: 2.4rem 0 .8rem; font-size: clamp(1.8rem,4vw,2.7rem); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; }
.legal .updated { margin-top: 1rem; color: var(--clay-dark); font-size: .75rem; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.divider-word { display: flex; align-items: center; gap: 1rem; color: var(--ink-soft); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.divider-word::before, .divider-word::after { height: 1px; flex: 1; content: ""; background: var(--line); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (min-width: 620px) {
  .container { width: min(calc(100% - 3rem), var(--max)); }
  .field-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .time-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pricing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2,1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .invoice-head { flex-direction: row; align-items: flex-start; }
  .invoice-title { text-align: right; }
  .invoice-title p { text-align: right; }
  .invoice-parties { grid-template-columns: 1.3fr 1fr 1fr; }
  .app-main { padding: 1.5rem; }
  .app-page-head { flex-direction: row; align-items: center; }
  .app-grid--stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .weekday-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (min-width: 860px) {
  .nav-links, .header-actions { display: flex; }
  .menu-toggle, .mobile-panel, .mobile-book { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); gap: clamp(3rem,7vw,7rem); }
  .hero-copy { padding-top: 1.5rem; }
  .hero-proof { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .trust-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .trust-item { min-height: 118px; border-bottom: 0; }
  .trust-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .trust-item:last-child { border-right: 0; }
  .section-heading--split { grid-template-columns: 1fr .9fr; }
  .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-card:nth-child(2) { transform: translateY(2.2rem); }
  .editorial-split { grid-template-columns: .9fr 1.05fr; gap: clamp(4rem,8vw,8rem); }
  .process-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .faq-grid { grid-template-columns: .7fr 1.3fr; gap: clamp(3rem,8vw,7rem); }
  .social-panel { grid-template-columns: .75fr 1.25fr; align-items: center; }
  .page-hero__grid { grid-template-columns: 1.2fr .8fr; }
  .offer { grid-template-columns: .95fr 1.05fr; }
  .offer:nth-child(even) .offer__image { order: 2; }
  .pricing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .price-card.is-featured { transform: translateY(-1rem); }
  .story-grid { grid-template-columns: .82fr 1.18fr; gap: clamp(4rem,9vw,8rem); align-items: start; }
  .booking-shell { grid-template-columns: minmax(0,1fr) 340px; gap: 1.3rem; }
  .booking-aside { position: sticky; top: 100px; }
  .checkout-grid { grid-template-columns: minmax(0,1fr) 380px; gap: 1.3rem; }
  .app-shell { grid-template-columns: 220px minmax(0,1fr); }
  .app-sidebar { position: sticky; top: 70px; display: block; height: calc(100vh - 70px); }
  .app-main { padding: 2rem; }
  .app-grid--stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .app-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-grid--wide { grid-template-columns: 1.35fr .65fr; }
  .portal-hero { grid-template-columns: 1.3fr .7fr; }
  .journal-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 1.8fr repeat(3,1fr); }
  .service-card__body { padding: 2rem; }
  .price-card { padding: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  body { background: white; }
  .prototype-bar, .site-header, .invoice-actions, .mobile-book { display: none !important; }
  .invoice-page { padding: 0; background: white; }
  .invoice { width: 100%; min-height: auto; padding: 0; box-shadow: none; }
  @page { size: Letter; margin: .55in; }
}

/* --- Prototype v4 additions: booking engine, portals and high-polish details --- */
body.menu-open { overflow: hidden; }
body.menu-open .mobile-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hero-copy { max-width: 760px; }
.hero-copy .eyebrow { margin-bottom: 1.25rem; }
.hero-arch::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
}
.hero-note { max-width: 230px; }
.signature { margin-top: 1.35rem; font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
.text-link { color: var(--clay-dark); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.outcome-grid { display: grid; gap: 1rem; }
.outcome-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,249,.7); }
.outcome-card span { color: var(--clay-dark); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.outcome-card h3 { margin-top: .75rem; font-size: 1.6rem; }
.outcome-card p { margin: .65rem 0 0; color: var(--ink-soft); font-size: .86rem; }

.testimonial-track { display: flex; transition: transform .55s var(--ease); }
.testimonial { min-width: 100%; }
.slider-dots { display: flex; align-items: center; gap: .45rem; margin-left: auto; }
.slider-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer; background: rgba(32,48,45,.22); }
.slider-dot.is-active { background: var(--clay); transform: scale(1.15); }

.instagram-badge { display: inline-flex; align-items: center; gap: .45rem; color: var(--clay-dark); font-size: .72rem; font-weight: 850; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.instagram-badge svg { width: 16px; height: 16px; }
.social-tile::after { position: absolute; inset: auto .55rem .55rem auto; display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; content: "↗"; color: var(--ink); background: rgba(255,253,249,.86); font-size: .75rem; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.social-tile:hover::after { opacity: 1; transform: translateY(0); }

.booking-progress { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .45rem; padding: 1rem 1.2rem 0; }
.progress-step { height: 5px; border-radius: var(--radius-pill); background: var(--paper-2); transition: background .2s; }
.progress-step.is-active, .progress-step.is-complete { background: var(--clay); }
.booking-step { display: none; }
.booking-step.is-active { display: block; }
.booking-option { display: grid; width: 100%; grid-template-columns: 1fr auto; gap: .65rem 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; background: var(--white); text-align: left; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.booking-option:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.booking-option.is-selected { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(175,102,77,.11); }
.booking-option__meta { display: block; margin-bottom: .25rem; color: var(--clay-dark); font-size: .64rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.booking-option h3 { font-family: var(--sans); font-size: .98rem; font-weight: 850; letter-spacing: 0; line-height: 1.35; }
.booking-option p { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.booking-option__price { align-self: center; font-family: var(--serif); font-size: 1.2rem; }
.date-scroller { display: grid; grid-auto-columns: minmax(76px, 1fr); grid-auto-flow: column; gap: .55rem; overflow-x: auto; margin-top: 1rem; padding: .2rem .1rem .55rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date-chip { display: grid; min-height: 92px; place-items: center; gap: .1rem; padding: .7rem .5rem; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--white); scroll-snap-align: start; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.date-chip:hover { transform: translateY(-2px); border-color: var(--clay); }
.date-chip span, .date-chip small { color: var(--ink-soft); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.date-chip strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1; }
.date-chip.is-selected { border-color: var(--ink); color: var(--white); background: var(--ink); }
.date-chip.is-selected span, .date-chip.is-selected small { color: rgba(255,255,255,.7); }
.time-btn { min-height: 48px; padding: .7rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--white); font-size: .8rem; font-weight: 780; transition: border-color .2s, background .2s, color .2s; }
.time-btn:hover { border-color: var(--clay); }
.time-btn.is-selected { border-color: var(--ink); color: var(--white); background: var(--ink); }
.review-card { display: grid; gap: .75rem; margin-top: 1.3rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.review-line { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); font-size: .8rem; }
.review-line:last-child { padding-bottom: 0; border-bottom: 0; font-size: .94rem; }
.review-line span { color: var(--ink-soft); }
.review-line strong { max-width: 60%; text-align: right; }
.promo-row { display: flex; gap: .5rem; margin-top: 1rem; }
.promo-row input { min-width: 0; flex: 1; padding: .7rem .8rem; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--white); text-transform: uppercase; }
.booking-success { display: none; padding: clamp(1.4rem,5vw,3rem); text-align: center; }
.booking-success.is-visible { display: block; }
.booking-success .confirmation-icon { margin-inline: auto; }
.booking-success h1 { max-width: 12ch; margin-inline: auto; font-size: clamp(2.2rem,6vw,4.4rem); }
.booking-success .lede { margin: 1rem auto; }

.modal { position: fixed; z-index: 999; inset: 0; display: grid; place-items: center; padding: 1rem; opacity: 0; pointer-events: none; background: rgba(22,32,30,.58); backdrop-filter: blur(7px); transition: opacity .2s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__dialog { width: min(100%, 540px); max-height: calc(100vh - 2rem); overflow-y: auto; padding: clamp(1.2rem,4vw,2rem); border: 1px solid rgba(255,255,255,.35); border-radius: 24px; background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(12px) scale(.985); transition: transform .2s var(--ease); }
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.modal__head h2 { font-size: clamp(2rem,5vw,3rem); }
.modal__close { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; background: var(--white); }
.payment-simulation { display: grid; gap: .8rem; }
.payment-simulation .field-grid { margin-top: .2rem; }
.stripe-wordmark { font-size: .75rem; font-weight: 900; letter-spacing: .04em; }

.app-mobile-nav { display: flex; gap: .35rem; overflow-x: auto; margin: 0 0 1rem; padding-bottom: .15rem; }
.app-mobile-nav button { min-height: 39px; flex: 0 0 auto; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; background: var(--white); font-size: .7rem; font-weight: 800; }
.app-mobile-nav button.is-active { border-color: var(--ink); color: var(--white); background: var(--ink); }
.app-view[hidden] { display: none !important; }
.app-form { display: grid; gap: .8rem; }
.app-form .field-grid { margin-top: 0; }
.app-form-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .25rem; }
.weekday-card { display: grid; gap: .65rem; padding: .8rem; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.weekday-card__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.weekday-card__head strong { font-size: .78rem; }
.weekday-card__times { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.weekday-card input[type="time"] { width: 100%; min-height: 40px; padding: .45rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: .72rem; }
.switch { position: relative; display: inline-flex; width: 38px; height: 22px; align-items: center; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 100%; height: 100%; border-radius: var(--radius-pill); background: #d4d8d5; transition: background .2s; }
.switch span::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; content: ""; background: var(--white); box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s; }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(16px); }
.offer-editor { display: grid; gap: .7rem; padding: .9rem; border: 1px solid var(--line); border-radius: 13px; }
.offer-editor__head { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.offer-editor__head h3 { font-family: var(--sans); font-size: .85rem; font-weight: 850; letter-spacing: 0; }
.offer-editor__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.offer-editor input, .offer-editor select, .offer-editor textarea { width: 100%; min-height: 41px; padding: .55rem .62rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: .72rem; }
.offer-editor textarea { grid-column: 1 / -1; min-height: 72px; resize: vertical; }
.client-chip { display: flex; align-items: center; gap: .65rem; }
.client-chip__avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); background: var(--sage); font-family: var(--serif); }
.client-detail { display: grid; gap: 1rem; }
.client-detail__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.metric-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; }
.metric { padding: .75rem; border-radius: 11px; background: var(--paper); }
.metric span { display: block; color: var(--ink-soft); font-size: .62rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.metric strong { display: block; margin-top: .25rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.editor-panel { display: grid; gap: .65rem; padding: .9rem; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--paper); }
.editor-panel input, .editor-panel select, .editor-panel textarea { width: 100%; min-height: 41px; padding: .6rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: .74rem; }
.editor-panel textarea { min-height: 90px; resize: vertical; }
.integration .btn { flex: 0 0 auto; }

.portal-welcome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1rem; }
.portal-welcome h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
.portal-welcome p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .82rem; }
.portal-grid { display: grid; gap: 1rem; }
.portal-list { display: grid; gap: .7rem; }
.task-check { width: 19px; height: 19px; accent-color: var(--ink); }
.evaluation-form { display: grid; gap: .9rem; }
.evaluation-question label { display: block; margin-bottom: .35rem; font-size: .74rem; font-weight: 800; }
.evaluation-question textarea { width: 100%; min-height: 90px; padding: .7rem; border: 1px solid var(--line); border-radius: 10px; resize: vertical; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; color: var(--ink-soft); font-size: .7rem; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.article-header { max-width: 920px; }
.article-header h1 { max-width: 13ch; }
.article-header .lede { margin-top: 1.2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.2rem; color: var(--ink-soft); font-size: .72rem; font-weight: 750; }

@media (min-width: 620px) {
  .outcome-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .date-scroller { grid-auto-flow: unset; grid-template-columns: repeat(6,minmax(0,1fr)); overflow: visible; }
  .offer-editor__grid { grid-template-columns: 1.4fr .7fr .7fr .7fr; }
  .portal-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (min-width: 860px) {
  .outcome-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .app-mobile-nav { display: none; }
  .portal-grid--wide { grid-template-columns: 1.3fr .7fr; }
}

@media (max-width: 859px) {
  .mobile-panel { top: 108px; }
  .nav-shell { min-height: 72px; }
  .header-actions { display: none; }
  .hero-note { right: 2%; }
  .app-header .brand-tag { display: none; }
}

@media (max-width: 619px) {
  .prototype-bar { min-height: 30px; font-size: .61rem; }
  .hero { padding-top: 2rem; }
  .display { font-size: clamp(3rem,15vw,4.8rem); }
  .hero-proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-note { right: .5rem; bottom: .5rem; max-width: 180px; padding: .8rem; }
  .hero-note strong { font-size: .95rem; }
  .social-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .booking-top { align-items: flex-start; }
  .booking-option { grid-template-columns: minmax(0,1fr) auto; }
  .booking-option__price { font-size: 1rem; }
  .booking-actions { flex-wrap: wrap; }
  .booking-actions .btn { flex: 1 1 120px; }
  .review-line { flex-direction: column; gap: .25rem; }
  .review-line strong { max-width: none; text-align: left; }
  .confirmation-details { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .offer-editor__grid { grid-template-columns: 1fr 1fr; }
  .mobile-book { bottom: max(1rem, env(safe-area-inset-bottom)); }
}

@supports (content-visibility: auto) {
  main > section:not(.hero):not(.page-hero) { content-visibility: auto; contain-intrinsic-size: 900px; }
}

/* Interactive prototype components */
body.menu-open { overflow: hidden; }
main:focus { outline: none; }
section[data-reveal], .content-auto { content-visibility: auto; contain-intrinsic-size: 1px 700px; }

.booking-step { display: none; }
.booking-step.is-active { display: block; animation: stepIn .36s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.booking-progress { display: flex; gap: .4rem; }
.progress-step { width: 28px; height: 5px; border-radius: var(--radius-pill); background: var(--paper-2); transition: background .2s, transform .2s; }
.progress-step.is-active { background: var(--clay); transform: scaleX(1.08); }
.progress-step.is-complete { background: var(--sage); }
.booking-option { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem .8rem; width: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; background: var(--white); text-align: left; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.booking-option:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.booking-option.is-selected { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(175,102,77,.1); }
.booking-option h3 { margin-top: .25rem; font-family: var(--sans); font-size: .98rem; font-weight: 850; letter-spacing: 0; line-height: 1.35; }
.booking-option p { grid-column: 1 / -1; margin: .1rem 0 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.5; }
.booking-option__meta { display: block; color: var(--clay-dark); font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.booking-option__price { align-self: center; font-family: var(--serif); font-size: 1.18rem; }
.date-scroller { display: grid; grid-auto-columns: minmax(78px,1fr); grid-auto-flow: column; gap: .55rem; overflow-x: auto; margin-top: 1.2rem; padding: .15rem .1rem .65rem; scrollbar-width: thin; }
.date-chip { display: grid; min-height: 94px; place-items: center; align-content: center; gap: .05rem; padding: .65rem .4rem; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--white); transition: border-color .2s, background .2s, color .2s, transform .2s; }
.date-chip:hover { transform: translateY(-2px); border-color: var(--clay); }
.date-chip span, .date-chip small { color: var(--ink-soft); font-size: .64rem; font-weight: 750; text-transform: uppercase; }
.date-chip strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1; }
.date-chip.is-selected { border-color: var(--ink); color: var(--white); background: var(--ink); }
.date-chip.is-selected span, .date-chip.is-selected small { color: rgba(255,255,255,.7); }
.time-btn { min-height: 48px; padding: .7rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--white); font-size: .8rem; font-weight: 750; transition: border-color .2s, background .2s, color .2s; }
.time-btn:hover { border-color: var(--clay); }
.time-btn.is-selected { border-color: var(--ink); color: var(--white); background: var(--ink); }
.review-card { display: grid; gap: .85rem; margin: 1.4rem 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.review-line { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font-size: .8rem; }
.review-line:last-child { padding: .35rem 0 0; border-bottom: 0; font-size: .95rem; }
.review-line span { color: var(--ink-soft); }
.review-line strong { max-width: 62%; text-align: right; }
.booking-success { display: none; padding: clamp(1.5rem,5vw,3rem); text-align: center; }
.booking-success.is-visible { display: block; }
.booking-success .confirmation-icon { margin-top: .5rem; }
.booking-success h2 { max-width: 13ch; margin-inline: auto; }
.booking-success > p { max-width: 55ch; margin: .8rem auto 1.4rem; color: var(--ink-soft); }
.booking-success .summary-list { max-width: 620px; margin-inline: auto; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; text-align: left; }

.modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 1rem; opacity: 0; pointer-events: none; background: rgba(19,31,28,.58); backdrop-filter: blur(9px); transition: opacity .2s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__dialog { width: min(100%, 560px); max-height: min(92vh,760px); overflow-y: auto; padding: clamp(1.1rem,4vw,2rem); border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); background: var(--white); box-shadow: 0 28px 100px rgba(14,25,22,.35); transform: translateY(12px) scale(.99); transition: transform .25s var(--ease); }
.modal.is-open .modal__dialog { transform: none; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.modal__head h2 { font-size: clamp(1.8rem,5vw,2.8rem); }
.modal__close { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; background: var(--paper); font-size: 1.15rem; }

.form-message { display: none; margin-top: .8rem; padding: .75rem; border-radius: 10px; font-size: .75rem; }
.form-message.is-visible { display: block; }
.form-message--success { color: #315c47; background: #e4f0e9; }
.slider-dots { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; cursor: pointer; background: var(--sand); }
.slider-dot.is-active { background: var(--ink); transform: scale(1.15); }

.app-mobile-nav { display: flex; gap: .35rem; overflow-x: auto; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: var(--white); }
.app-mobile-nav button { min-height: 38px; flex: 0 0 auto; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; background: var(--paper); font-size: .69rem; font-weight: 800; }
.app-mobile-nav button.is-active { color: var(--white); background: var(--ink); }
.panel .field-grid { margin-top: 0; }
.setting-row { display: grid; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; }
.setting-row__title strong { display: block; font-size: .78rem; }
.setting-row__title span { display: block; color: var(--ink-soft); font-size: .68rem; }
.schedule-day { display: grid; grid-template-columns: minmax(70px,.65fr) 1fr 1fr; align-items: center; gap: .5rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.schedule-day:last-child { border-bottom: 0; }
.schedule-day__name { display: flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 800; }
.schedule-day input[type="time"] { min-width: 0; width: 100%; min-height: 40px; padding: .5rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.offer-editor { display: grid; gap: .65rem; padding: .9rem; border: 1px solid var(--line); border-radius: 12px; }
.offer-editor__grid { display: grid; grid-template-columns: minmax(0,1.5fr) .65fr .65fr auto; gap: .5rem; align-items: end; }
.offer-editor input, .offer-editor textarea, .offer-editor select { width: 100%; min-height: 40px; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.offer-editor textarea { min-height: 68px; resize: vertical; }
.switch { position: relative; width: 42px; height: 24px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; cursor: pointer; background: var(--sand); transition: .2s; }
.switch span::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; content: ""; background: white; box-shadow: 0 2px 8px rgba(0,0,0,.16); transition: .2s; }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); }
.client-card { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.client-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.client-card__identity { display: flex; align-items: center; gap: .7rem; }
.client-card__identity .app-avatar { width: 42px; height: 42px; }
.client-card__identity strong { display: block; font-size: .8rem; }
.client-card__identity span { display: block; color: var(--ink-soft); font-size: .67rem; }
.metric-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.metric-pair div { padding: .7rem; border-radius: 10px; background: var(--paper); }
.metric-pair span { display: block; color: var(--ink-soft); font-size: .6rem; text-transform: uppercase; }
.metric-pair strong { display: block; margin-top: .2rem; font-family: var(--serif); font-weight: 500; }
.empty-inline { color: var(--ink-soft); font-size: .75rem; }

.portal-tabs { display: flex; gap: .35rem; overflow-x: auto; margin-bottom: 1rem; }
.portal-tabs button { min-height: 40px; flex: 0 0 auto; padding: .6rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; background: var(--white); font-size: .72rem; font-weight: 800; }
.portal-tabs button.is-active { color: var(--white); background: var(--ink); }
.evaluation-card { padding: 1rem; border: 1px solid var(--line); border-radius: 13px; }
.evaluation-card ol { margin: .7rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .76rem; }

@media (min-width: 620px) {
  .date-scroller { grid-auto-columns: minmax(84px,1fr); }
  .setting-row { grid-template-columns: minmax(180px,.7fr) 1.3fr; align-items: center; }
  .modal__dialog { padding: 2rem; }
}
@media (min-width: 860px) {
  .app-mobile-nav { display: none; }
}
@media (max-width: 619px) {
  .hero-note { right: .4rem; bottom: .6rem; max-width: 180px; }
  .booking-option { grid-template-columns: 1fr; }
  .booking-option__price { justify-self: start; }
  .offer-editor__grid { grid-template-columns: 1fr 1fr; }
  .offer-editor__grid .offer-name { grid-column: 1 / -1; }
  .schedule-day { grid-template-columns: 1fr 1fr; }
  .schedule-day__name { grid-column: 1 / -1; }
  .confirmation-details { grid-template-columns: 1fr; }
}

/* Practice care workspace — intentionally framework-free */
.safety-checklist { display: grid; gap: .75rem; }
.safety-checklist > div { display: grid; grid-template-columns: auto 1fr; gap: .25rem .65rem; align-items: start; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.safety-checklist strong { align-self: center; font-size: .78rem; }
.safety-checklist small { grid-column: 2; color: var(--ink-soft); font-size: .68rem; line-height: 1.55; }
.status--private { color: #704b3e; background: #f4e8e1; }
.note-card, .form-status-card { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.note-card__head, .form-status-card__top, .session-list-card__top, .note-card__footer, .form-status-card__actions { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.note-card h3, .session-list-card h3, .message-bubble h3, .resource-tile h3 { margin: .15rem 0 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.05; }
.note-card p { margin: .8rem 0; color: var(--ink-soft); font-size: .74rem; line-height: 1.65; }
.note-card__footer { align-items: center; padding-top: .65rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .66rem; }
.text-button { padding: .15rem 0; border: 0; cursor: pointer; color: var(--ink-soft); background: transparent; font-size: .68rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--clay); }
.client-mini { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.client-mini .app-avatar { width: 34px; height: 34px; flex: 0 0 auto; font-size: .66rem; }
.client-mini strong, .client-mini span { display: block; }
.client-mini strong { font-size: .76rem; }
.client-mini span { overflow: hidden; color: var(--ink-soft); font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }
.form-status-card .metric-pair { margin: .8rem 0; }
.form-status-card__actions { align-items: center; }
.message-thread { display: grid; gap: .75rem; max-height: 520px; overflow: auto; padding-right: .2rem; }
.message-bubble { width: min(92%,560px); padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 8px 16px 16px 16px; background: var(--paper); }
.message-bubble.is-own { justify-self: end; border-radius: 16px 8px 16px 16px; color: var(--white); background: var(--ink); }
.message-bubble.is-unread { box-shadow: inset 3px 0 0 var(--clay); }
.message-bubble__meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; font-size: .62rem; }
.message-bubble__meta span { color: var(--ink-soft); }
.message-bubble.is-own .message-bubble__meta span, .message-bubble.is-own small { color: rgba(255,255,255,.68); }
.message-bubble h3 { font-family: var(--sans); font-size: .76rem; font-weight: 850; }
.message-bubble p { margin: .35rem 0 0; font-size: .72rem; line-height: 1.6; white-space: pre-line; }
.message-bubble small { display: block; margin-top: .5rem; color: var(--ink-soft); font-size: .6rem; }
.resource-card--large { grid-template-columns: 48px minmax(0,1fr) auto; }
.portal-safety-note { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; margin-top: 1rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-size: .68rem; }
.portal-safety-note strong { color: var(--ink); }
.portal-safety-note span { color: var(--ink-soft); }
.portal-safety-note a { font-weight: 800; }
.session-list-card { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 8px 28px rgba(32,48,45,.045); }
.session-list-card.is-cancelled { opacity: .66; }
.session-list-card__date { display: grid; align-content: center; min-height: 72px; border-radius: 12px; text-align: center; background: var(--paper); }
.session-list-card__date strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1; }
.session-list-card__date span { color: var(--ink-soft); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.session-list-card__body > p { margin: .55rem 0; color: var(--ink-soft); font-size: .72rem; }
.session-list-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .8rem; }
.request-banner { margin-top: .7rem; padding: .6rem .7rem; border-radius: 9px; color: #704b3e; background: #f4e8e1; font-size: .67rem; font-weight: 750; }
.consent-stack { display: grid; gap: .65rem; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.consent-stack .check-row { color: var(--ink-soft); font-size: .72rem; line-height: 1.5; }
.prep-list { display: grid; gap: .65rem; margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); font-size: .72rem; line-height: 1.55; }
.resource-grid { display: grid; gap: 1rem; }
.resource-tile { min-height: 230px; padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 8px 28px rgba(32,48,45,.045); }
.resource-tile__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.3rem; border-radius: 13px; color: var(--white); background: var(--ink); font-size: .62rem; font-weight: 900; letter-spacing: .08em; }
.resource-tile p { min-height: 48px; margin: .6rem 0 1rem; color: var(--ink-soft); font-size: .7rem; line-height: 1.6; }
.integration-row .status { margin-left: auto; }

@media (min-width: 620px) {
  .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 980px) {
  .resource-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 619px) {
  .portal-safety-note { grid-template-columns: 1fr; }
  .portal-safety-note a { justify-self: start; }
  .session-list-card { grid-template-columns: 52px minmax(0,1fr); gap: .75rem; padding: .8rem; }
  .session-list-card__date { min-height: 62px; }
  .session-list-card__top { display: grid; }
  .session-list-card__top .status { justify-self: start; }
  .message-bubble { width: 96%; }
  .resource-card--large { grid-template-columns: 42px 1fr; }
  .resource-card--large .text-button { grid-column: 2; justify-self: start; }
}
.check-row > span { color: var(--ink-soft); font-size: .76rem; line-height: 1.55; }
.field-grid + .check-row { margin-top: 1rem; }
