/* EKM Psychiatry public site — "Ivory & Champagne" (rewritten clean 2026-10-23).
   Modern luxury, soft for mental health: warm ivory ombre (deeper at the top, lighter below), crisp modern type,
   champagne metallic accents, glossy ink pill buttons, frosted floating header. No boxes, no arches.
   Fonts self-hosted (SIL OFL). No outside requests. */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #1F1A17;
  --ink-2: #4E453E;
  --ink-3: #6B6058;
  --line: rgba(31, 26, 23, .1);
  --champ: #7A5E3F;                 /* champagne accent text (AA on ivory) */
  --champ-grad: linear-gradient(100deg, #8C6D49 0%, #C9A97F 38%, #E9D6B7 50%, #B8956A 64%, #8C6D49 100%);
  --ivory-top: #EDE4D6; --ivory-mid: #F4EFE7; --ivory-low: #FAF8F4;
  --glass: rgba(255, 255, 255, .62);
  --deep: #1C1714; --deep-ink: #F5EFE6; --deep-soft: #CFC5B8; --deep-line: rgba(245, 239, 230, .12);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(31, 26, 23, .04), 0 12px 32px rgba(31, 26, 23, .08);
}

/* ── Base ─────────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ivory-low); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font: 300 17px/1.7 var(--sans); overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
  background:
    radial-gradient(80% 520px at 50% 0%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(180deg, var(--ivory-top) 0%, var(--ivory-mid) 900px, var(--ivory-low) 1800px, var(--ivory-low) 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(154, 123, 85, .5); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .25s; }
a:hover { color: var(--champ); }
strong, b { font-weight: 500; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--champ); outline-offset: 3px; border-radius: 6px; }
::selection { background: #E9D6B7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
@media (min-width: 760px) { .wrap { padding: 0 44px; } }

/* ── Type ─────────────────────────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--sans); font-weight: 400; color: var(--ink); margin: 0 0 .45em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.06; letter-spacing: -.035em; margin-top: 1.2em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 500; margin-top: 1.4em; }
h1 em, h2 em, .footer-line em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  color: var(--champ); background: var(--champ-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .05em;
}
h1 .h1-sub { display: block; margin-top: .3em; font: italic 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--serif); letter-spacing: 0; color: var(--ink-3); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.eyebrow, .label, .team-group {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 1.2em;
  font: 500 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--champ);
}
.eyebrow::before, .team-group::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--champ-grad); flex: none; }
.prose { max-width: 46em; }
.note { border-left: 2px solid #D9C3A2; padding: 4px 0 4px 18px; margin: 24px 0; color: var(--ink-2); }
.small-note, .source, .hint, .form-privacy, .form-alt { font-size: .86rem; color: var(--ink-3); }
ul.clean { list-style: none; padding: 0; margin: 0 0 1em; }
ul.clean li { position: relative; padding-left: 18px; margin: .35em 0; }
ul.clean li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: #C9A97F; }

/* ── Header: floating frosted bar ─────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px;
  max-width: calc(var(--wrap) - 24px); padding: 0 10px 0 22px !important;
  background: var(--glass); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 8px 30px rgba(31, 26, 23, .07);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand span { font: 500 .98rem/1 var(--sans); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-block; padding: 10px 14px; border-radius: 999px; font: 400 .9rem/1 var(--sans); color: var(--ink-2); text-decoration: none; transition: background .25s, color .25s; }
.nav a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .8); }
.nav .cta a { margin-left: 8px; }
.nav-mobile { display: none; }
@media (max-width: 1020px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 14px; border-radius: 999px; font: 500 .85rem/1 var(--sans); color: var(--ink); }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile .bars { width: 18px; height: 7px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
  .nav-mobile[open] .bars { height: 1.5px; border-bottom: 0; }
  .nav-mobile .sheet { position: fixed; left: 12px; right: 12px; top: 84px; bottom: 12px; overflow-y: auto; z-index: 60; padding: 28px 24px;
    background: rgba(250, 248, 244, .96); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-radius: 28px; box-shadow: 0 24px 60px rgba(31, 26, 23, .16); }
  .nav-mobile .sheet ul { list-style: none; margin: 0 0 24px; padding: 0; }
  .nav-mobile .sheet li a { display: block; padding: 12px 0; font: 400 1.6rem/1.15 var(--sans); letter-spacing: -.03em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .nav-mobile .sheet-cta { margin: 0 0 16px; }
  .nav-mobile .sheet-contact { font-size: .95rem; color: var(--ink-2); }
}

/* ── Buttons ──────────────────────────────────────────────────────────────────────────────── */
.btn, button.btn, .nav .cta a, .lp-link {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  padding: 14px 24px; border-radius: 999px; font: 500 .95rem/1 var(--sans); letter-spacing: -.005em;
  color: #fff !important; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 50%), var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 22px rgba(31, 26, 23, .2);
  position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.nav .cta a { padding: 12px 20px; font-size: .9rem; }
.btn::after, .lp-link::after { content: "→"; font-weight: 400; transition: transform .3s var(--ease); }
.btn:hover, .nav .cta a:hover, .lp-link:hover { color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 28px rgba(31, 26, 23, .26); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 50%), var(--ink); }
.btn:hover::after, .lp-link:hover::after { transform: translateX(3px); }
.btn::before, .nav .cta a::before, .lp-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); transition: left .8s var(--ease); }
.btn:hover::before, .nav .cta a:hover::before, .lp-link:hover::before { left: 130%; }
.btn.ghost { color: var(--ink) !important; background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(31, 26, 23, .06); }
.btn.ghost:hover { color: var(--ink) !important; background: #fff; }
.btn.ghost::before { display: none; }
.btn[disabled] { opacity: .55; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .btn::before, .nav .cta a::before, .lp-link::before { display: none; } }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 0; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: none; }
.textlink::after { content: "→"; transition: transform .3s var(--ease); }
.textlink:hover { color: var(--champ); }
.textlink:hover::after { transform: translateX(3px); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ── Page headers ─────────────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); }
.hero h1 { max-width: 15em; }
.hero > .wrap > p:not(.lead):not(.eyebrow):not(.small-note) { color: var(--ink-2); max-width: 40em; }
.section { padding: clamp(40px, 5vw, 72px) 0; }
.section .wrap > h2:first-child, .section .prose > h2:first-child { margin-top: 0; }
.cols { display: grid; gap: 32px 48px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cols > * { min-width: 0; }
.cols h3 { margin-top: 0; font: 500 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } }
.split > * { min-width: 0; }
.grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 22px 0 0; border-top: 1px solid var(--line); }
.card h3 { margin-top: 0; }
.card .role { font: 500 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); margin: 0 0 .6em; }

/* Bio pages */
.hero-person .wrap { display: grid; gap: 28px 64px; }
@media (min-width: 900px) {
  .hero-person .wrap { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .hero-person .portrait { grid-column: 2; grid-row: 1 / span 6; }
  .hero-person .wrap > :not(.portrait) { grid-column: 1; }
}
.portrait { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }

/* Index lists (conditions, plans, specialties) */
.tags { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.tags li { border-bottom: 1px solid var(--line); padding: 16px 0; font: 400 clamp(1.1rem, 1.6vw, 1.3rem)/1.3 var(--sans); letter-spacing: -.015em; }
.tags a { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.tags a::after { content: "→"; color: var(--champ); transition: transform .3s var(--ease); }
.tags a:hover { color: var(--champ); }
.tags a:hover::after { transform: translateX(4px); }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
ol.steps li { counter-increment: s; position: relative; padding: 18px 0 18px 56px; border-bottom: 1px solid var(--line); }
ol.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 18px; font: italic 400 1.3rem/1.4 var(--serif); color: var(--champ); }
ol.steps strong { display: block; font-weight: 500; margin-bottom: 2px; }

/* ── Team ─────────────────────────────────────────────────────────────────────────────────── */
.team-group { display: flex; justify-content: center; margin: 0 0 28px; }
.team-group::before { display: none; }
.people + .team-group { margin-top: clamp(56px, 7vw, 88px); }
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.people-staff { grid-template-columns: repeat(2, minmax(0, calc((100% - 64px) / 3))); justify-content: center; }
.people a, .people .person { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); }
.people img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; margin: 0 0 20px; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.people a:hover img { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(31, 26, 23, .05), 0 22px 48px rgba(31, 26, 23, .14); }
.people h3 { margin: 0 0 4px; font-size: 1.45rem; font-weight: 500; letter-spacing: -.025em; }
.people .creds { margin: 0 0 10px; font: 500 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--champ); }
.people p:not(.creds) { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--ink-2); max-width: 30em; }
.people .kind { display: none; }
.people a::after { content: "Read bio →"; margin-top: 14px; font-weight: 500; font-size: .9rem; color: var(--ink); }
.people a:hover::after { color: var(--champ); }
@media (max-width: 900px) { .people, .people-staff { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people, .people-staff { grid-template-columns: 1fr; } .people img { max-width: 340px; } }

/* ── Footer ───────────────────────────────────────────────────────────────────────────────── */
.site-footer { margin-top: clamp(40px, 5vw, 72px); background: var(--deep); color: var(--deep-ink); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: .95rem;
  background-image: radial-gradient(60% 400px at 50% 0%, rgba(201, 169, 127, .14), transparent 70%); }
.site-footer a { color: var(--deep-ink); text-decoration: none; }
.site-footer a:hover { color: #E9D6B7; }
.footer-statement { text-align: center; margin: 0 0 clamp(40px, 5vw, 64px); }
.footer-logo { width: 72px; margin: 0 auto 20px; }
.footer-line { font: 400 clamp(1.5rem, 3vw, 2.3rem)/1.2 var(--sans); letter-spacing: -.03em; max-width: 22em; margin: 0 auto 22px; color: var(--deep-ink); }
.footer-line em { background: linear-gradient(100deg, #D9BE96, #F3E3C8 50%, #CDAF84); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E9D6B7; }
.site-footer .textlink.light { color: var(--deep-ink); }
.site-footer .cols { border-top: 1px solid var(--deep-line); padding-top: 36px; }
.site-footer .cols h3 { color: #D9BE96; margin: 0 0 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer p { color: var(--deep-soft); }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--deep-line); margin-top: 36px; padding-top: 22px; font-size: .78rem; color: var(--deep-soft); }

/* ── Home ─────────────────────────────────────────────────────────────────────────────────── */
.lp-hero { text-align: center; display: flex; align-items: center; min-height: calc(100svh - 84px - 120px); padding: 12px 0 20px; }
.lp-hero .wrap { width: 100%; }
.lp-logo { width: auto; height: clamp(260px, calc(100svh - 84px - 120px - 210px), 620px); margin: 0 auto 18px; filter: drop-shadow(0 18px 40px rgba(140, 109, 73, .18)); }
.lp-tagline { font: 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.35 var(--sans); letter-spacing: -.025em; max-width: 26em; margin: 0 auto 22px; color: var(--ink); }
.lp-tagline em { font-family: var(--serif); font-style: italic; color: var(--champ); }
.lp-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin: 0; }
.lp-phone { font-weight: 500; color: var(--ink); text-decoration: none; }
.lp-tag { margin: 18px 0 0; font: 500 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.lp-quick { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1000px; margin: 0 auto; padding: 0 22px 24px; }
.lp-quick a { display: block; text-align: center; padding: 18px 10px; text-decoration: none; color: var(--ink); }
.lp-quick strong { display: block; font: 500 1rem/1.3 var(--sans); letter-spacing: -.01em; }
.lp-quick strong::after { content: " →"; color: var(--champ); }
.lp-quick span { font-size: .88rem; color: var(--ink-3); }
.lp-quick a:hover strong { color: var(--champ); }
@media (max-width: 760px) { .lp-quick { grid-template-columns: 1fr 1fr; } .lp-hero { min-height: 0; } .lp-logo { height: auto; width: min(72vw, 300px); } }

/* ── Forms ────────────────────────────────────────────────────────────────────────────────── */
.request-form { margin: 40px 0 0; }
.request-form .form-title { font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.15 var(--sans); letter-spacing: -.03em; margin: 0 0 8px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px 20px; margin-top: 24px; }
@media (min-width: 760px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .wide { grid-column: 1 / -1; } }
.form-grid.single { grid-template-columns: 1fr; }
.form-grid .field, .form-grid fieldset { margin: 0; min-width: 0; }
.form-grid fieldset { border: 0; padding: 0; }
.form-grid label:not(.check), .form-grid legend { display: block; padding: 0; margin: 0 0 7px; font: 500 .82rem/1.3 var(--sans); color: var(--ink-2); }
.form-grid .req { color: var(--champ); }
.form-grid .opt { font-weight: 300; color: var(--ink-3); }
.form-grid input[type=text], .form-grid input[type=email], .form-grid input[type=tel], .form-grid input[type=date], .form-grid select, .form-grid textarea {
  width: 100%; font: 400 1rem/1.3 var(--sans); color: var(--ink); padding: 14px 16px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 1px rgba(31, 26, 23, .08), 0 1px 2px rgba(31, 26, 23, .03); appearance: none; -webkit-appearance: none; transition: box-shadow .2s;
}
.form-grid select { background: rgba(255, 255, 255, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239A7B55'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 38px; }
.form-grid textarea { resize: vertical; min-height: 120px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--champ), 0 0 0 4px rgba(201, 169, 127, .25); }
.form-grid input[type=file] { font: 300 .92rem/1.4 var(--sans); }
.form-grid label.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; margin: 0 0 6px; }
.form-grid label.check input { accent-color: var(--ink); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .7); }
.form-status.error { color: #8E2A17; background: rgba(232, 160, 140, .18); }
.form-status ul { margin: 8px 0 0; padding-left: 1.1em; }

/* ── Contact ──────────────────────────────────────────────────────────────────────────────── */
.contact-aside { align-self: start; }
@media (min-width: 900px) { .contact-aside { position: sticky; top: 110px; } }
.contact-big { display: inline-block; font: 400 clamp(2rem, 3.4vw, 2.8rem)/1.1 var(--sans); letter-spacing: -.04em; color: var(--ink); text-decoration: none; margin: 0 0 22px; }
.contact-big:hover { color: var(--champ); }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font: 500 .72rem/2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ); }
.contact-list dd { margin: 0; }
.contact-crisis { margin: 22px 0 0; font-size: .86rem; color: var(--ink-3); }
#message .request-form { margin-top: 0; }

/* ── Client Documents index ───────────────────────────────────────────────────────────────── */
.doc-section { border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.doc-section:last-of-type { border-bottom: 1px solid var(--line); }
.doc summary { list-style: none; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 1.4rem; align-items: center; gap: 14px; padding: 24px 0; cursor: pointer; }
.doc summary::-webkit-details-marker { display: none; }
.doc-num { font: italic 400 1.3rem/1 var(--serif); color: var(--champ); }
.doc-head { display: block; min-width: 0; }
.doc-title { margin: 0 0 4px; font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--sans); letter-spacing: -.03em; transition: color .25s; }
.doc-sub { display: block; font-size: .85rem; color: var(--ink-3); }
.doc summary:hover .doc-title { color: var(--champ); }
.doc-open { position: relative; width: 16px; height: 16px; justify-self: end; }
.doc-open::before, .doc-open::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.doc-open::after { transform: rotate(90deg); }
.doc[open] .doc-open::after { transform: rotate(0); }
.doc-body { padding: 0 0 48px calc(3.4rem + 14px); }
.doc-body > h3 { font: 500 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); margin: 2.2em 0 1em; }
@media (max-width: 700px) { .doc summary { grid-template-columns: 2.4rem minmax(0, 1fr) 1.2rem; } .doc-body { padding-left: 0; } }
.client-documents-end { height: 24px; }
.back-top { font-size: .9rem; margin-top: 20px; }

/* ── Questionnaires ───────────────────────────────────────────────────────────────────────── */
.screener fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 18px 0; }
.screener legend { padding: 0; float: left; width: 100%; margin-bottom: 10px; font-weight: 400; }
.screener legend + .opts { clear: both; }
.screener .qn { font: italic 400 1.05rem/1 var(--serif); color: var(--champ); margin-right: 8px; }
.screener .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.screener label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .65); cursor: pointer; font-size: .92rem; transition: background .2s; }
.screener label:hover { background: #fff; }
.screener label:has(input:checked) { background: var(--ink); color: #fff; }
.screener input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.screener-intro { font: italic 400 1.3rem/1.4 var(--serif); color: var(--ink-2); }
.screener-result { padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .75); font: 400 1.2rem/1.5 var(--sans); letter-spacing: -.01em; }
.screener-result.warn { background: rgba(232, 160, 140, .2); }
.crisis { background: rgba(232, 160, 140, .2); border-radius: 16px; padding: 16px 20px; margin: 18px 0; color: #4A1A10; }

/* ── Legal / NPP ──────────────────────────────────────────────────────────────────────────── */
.legal-notice { border-top: 1px solid var(--line); padding: 24px 0 28px; font-size: .8rem; line-height: 1.6; color: var(--ink-3); }
.legal-notice .prose { max-width: 64em; }
.legal-notice h2.eyebrow { margin: 0 0 1em; }
.legal-notice p, .legal-notice ul { margin: 0 0 .5em; }
.legal-notice strong { color: var(--ink); }
.npp h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.npp .draft-banner { background: rgba(232, 160, 140, .2); color: #6B1E11; padding: 14px 18px; border-radius: 14px; margin: 0 0 28px; font-weight: 500; }
@media print { .site-header, .site-footer, .no-print, .skip { display: none !important; } body { background: #fff; } }

/* ── Patient portal (js/portal.js) ────────────────────────────────────────────────────────── */
.portal-form { max-width: 30rem; margin-top: 28px; }
.portal-split { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 960px) { .portal-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 96px; align-items: center; } }
.portal-pitch h1 { font: italic 400 clamp(3rem, 5.8vw, 4.8rem)/1.02 var(--serif) !important; letter-spacing: -.01em !important; margin: .2em 0 .4em; }
.portal-inside { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); max-width: 28rem; }
.portal-inside li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.portal-inside li span { color: var(--ink-3); font-size: .88rem; }
.portal-signin h2 { font: 400 1.9rem/1.15 var(--sans); letter-spacing: -.03em; margin: 0 0 8px; }
.portal-signin-lead { margin: 0; color: var(--ink-2); }
.portal-signin .portal-form { max-width: none; }
.portal-signin .portal-demo-note { margin: 20px 0 0; }
.portal-help { font-size: .88rem; color: var(--ink-3); margin: 28px 0 0; line-height: 1.75; }
.portal-gate .form-status:empty { display: none; }
.portal-form input[name=code] { font-size: 1.6rem !important; letter-spacing: .4em; max-width: 12ch; }
.portal-step { font: 500 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); margin: 0 0 6px; }
.portal-gate .form-status { max-width: 30rem; }
.portal-crisis { font-size: .86rem; color: var(--ink-3); }
.portal-demo-note { border-left: 2px solid #D9C3A2; padding: 4px 0 4px 14px; font-size: .9rem; color: var(--ink-2); max-width: 36rem; }
.portal-home { padding: 48px 0 88px; }
.portal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 40px; }
.portal-top .eyebrow { margin: 0; }
.portal-bar-actions { display: flex; align-items: baseline; gap: 18px; margin: 0; font-size: .88rem; color: var(--ink-3); }
.portal-screen :focus { outline: none; }
.portal-home .portal-demo-note { margin: -16px 0 32px; }
/* shared pieces */
.portal-go, .portal-backlink { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.portal-go:hover, .portal-backlink:hover { color: var(--champ); }
a.portal-go { text-decoration: none; }
.portal-go-arrow::after { content: " →"; color: var(--champ); }
button.textlink { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; cursor: pointer; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.portal-back { margin: 0 0 22px; font-size: .9rem; }
.portal-backlink { color: var(--ink-3); }
.portal-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0 0 .25em; }
.portal-lead { max-width: 42rem; margin: 0 0 8px; }
.portal-label { font: 700 .76rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); margin: 0 0 6px; }
.portal-sub, .portal-note { font-size: .88rem; color: var(--ink-3); margin: 4px 0 0; }
.portal-soon { margin: 28px 0 0; padding-left: 14px; border-left: 2px solid #D9C3A2; color: var(--ink-2); max-width: 40rem; }
.portal-emergency { font-size: .86rem; color: var(--ink-3); margin: 10px 0 0; max-width: 42rem; }
.portal-tools + .portal-emergency { margin-top: 40px; }
.portal-cta { margin: 26px 0 0; }
.portal-list { list-style: none; margin: 0 0 40px; padding: 0; max-width: 52rem; }
.portal-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.portal-list li > div { min-width: 0; }
.portal-item, .portal-list .portal-go { font-size: 1.08rem; letter-spacing: -.01em; }
.portal-meta { font-size: .86rem; color: var(--ink-3); white-space: nowrap; }
.portal-meta.flag { color: var(--champ); font-weight: 500; font-size: .95rem; }
.portal-screen > .portal-list, .portal-screen > div > .portal-list { margin-top: 32px; }
/* home (layout C) */
.portal-overview { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .portal-overview { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 80px; } }
.portal-hello { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin: 0; }
.portal-overview .lead { margin-top: 20px; max-width: 30rem; }
.portal-next-label { margin-top: 44px; }
.portal-when { font: italic 400 clamp(2.5rem, 4.8vw, 3.9rem)/1.02 var(--serif); color: var(--ink); margin: 12px 0 16px; }
.portal-overview .portal-label { margin-top: 6px; }
.portal-overview .portal-list { margin-bottom: 36px; }
.portal-overview .portal-groups .portal-list, .portal-overview > div > .portal-list { margin-bottom: 0; }
.portal-groups section { margin-top: 56px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.portal-groups section .portal-label { margin: 0 0 4px; }
.portal-overview .portal-list li:last-child { border-bottom: 0; }
.portal-groups .portal-list li { padding: 13px 0; }
.portal-groups .portal-sub { font-size: .82rem; margin-top: 2px; }
.portal-latest { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 46rem; }
.portal-latest blockquote { margin: 12px 0 18px; font: 400 1.25rem/1.55 var(--sans); letter-spacing: -.01em; color: var(--ink); }
/* messages */
.portal-convo { list-style: none; margin: 36px 0 0; padding: 0; max-width: 46rem; }
.portal-convo li { padding: 20px 0; border-top: 1px solid var(--line); }
.portal-convo li.me { padding-left: 18%; }
.portal-convo li.them { padding-left: 18px; padding-right: 18%; border-left: 2px solid #D9C3A2; }
.portal-who { font: 500 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ); margin: 0 0 8px; }
.portal-convo li.me .portal-who { color: var(--ink-3); }
.portal-body { margin: 0; font-size: 1.05rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.portal-msgform { max-width: 46rem; margin-top: 28px; padding-top: 6px; border-top: 1px solid var(--line); }
.portal-sendrow { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 600px) { .portal-convo li.me { padding-left: 0; } .portal-convo li.them { padding-right: 0; } }
/* messages: one ongoing chat (owner decision 2026-10-23: Apple-style bubbles, chat only) */
.chat { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; background: rgba(255, 255, 255, .55); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(60, 45, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .9); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid rgba(31, 26, 23, .06); background: rgba(255, 255, 255, .4); }
.chat-logo { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(31, 26, 23, .08); flex: none; }
.chat-logo img { width: 28px; height: auto; }
.chat-name { font: 600 1rem/1.2 var(--sans) !important; letter-spacing: -.01em !important; margin: 0 !important; }
.chat-status { margin: 2px 0 0; font-size: .78rem; color: #5F7A5B; }
.chat-status::before { content: "● "; }
.chat-stream { list-style: none; margin: 0; padding: 20px 28px; display: flex; flex-direction: column; gap: 6px; min-height: 420px; max-height: min(62vh, 640px); overflow-y: auto; }
.chat-day { align-self: center; font-size: .74rem; color: var(--ink-3); margin: 12px 0 6px; text-align: center; }
.chat-who { font-size: .74rem; color: var(--ink-3); margin: 8px 0 0 14px; }
.chat-msg { max-width: min(62%, 30rem); padding: 10px 15px; border-radius: 20px; font-size: .97rem; line-height: 1.45; animation: chat-in .28s var(--ease); }
.chat-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.them { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(31, 26, 23, .06); }
.chat-msg.me { align-self: flex-end; background: linear-gradient(160deg, #C8A576, #9C7A50); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 8px 20px -10px rgba(156, 122, 80, .8); }
.chat-msg.pending { opacity: .7; }
.chat-msg.failed { background: #fff; color: #8A2A1A; box-shadow: inset 0 0 0 1.5px #C9826F; }
.chat-receipt { align-self: flex-end; font-size: .72rem; color: var(--ink-3); margin-top: 1px; }
.chat-compose { display: flex; align-items: flex-end; gap: 12px; padding: 14px 20px 18px; border-top: 1px solid rgba(31, 26, 23, .05); }
.chat-compose textarea { flex: 1; resize: none; min-height: 44px; max-height: 160px; padding: 11px 18px; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(31, 26, 23, .1); font: 400 .97rem/1.4 var(--sans); color: var(--ink); }
.chat-compose textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px #B08A5B, 0 0 0 4px rgba(201, 169, 127, .22); }
.chat-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: linear-gradient(145deg, #D2B48A, #9C7A50); color: #fff; font: 600 1.15rem/1 var(--sans); cursor: pointer; box-shadow: 0 6px 16px -6px rgba(156, 122, 80, .8); transition: transform .2s var(--ease); }
.chat-send:hover { transform: translateY(-1px); }
.chat-send:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.chat-send:disabled { opacity: .5; cursor: default; transform: none; }
.chat-wrap.compact { margin-top: 48px; }
.chat-wrap.compact .chat { max-width: none; }
.chat-wrap.compact .chat-stream { min-height: 360px; max-height: 520px; padding: 16px 20px; }
@media (min-width: 900px) {
  .portal-overview > div:first-child { display: flex; flex-direction: column; }
  .chat-wrap.compact { flex: 1; display: flex; flex-direction: column; }
  .chat-wrap.compact .chat { flex: 1; min-height: 0; }
  .chat-wrap.compact .chat-stream { flex: 1 1 0; max-height: none; }
}
.chat-wrap.compact .chat-note { text-align: left; margin-left: 4px; }
.chat-wrap.compact .chat-msg { max-width: 78%; }
.portal-quick { margin-top: 56px; padding-top: 22px; border-top: 1.5px solid var(--ink); max-width: 34rem; }
.portal-quick .portal-label { margin: 0 0 4px; }
.portal-quick .portal-list li:last-child { border-bottom: 0; }
.chat-note { text-align: center; font-size: .8rem; color: var(--ink-3); margin: 16px auto 0; max-width: 820px; }
.chat + .form-status { max-width: 820px; margin: 12px auto 0; }
@keyframes chat-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .chat-msg { animation: none; } }
@media (max-width: 600px) { .chat { border-radius: 18px; } .chat-stream { padding: 16px; max-height: 60svh; } .chat-msg { max-width: 82%; } }
.portal-profile { display: grid; grid-template-columns: 1fr; gap: 0 72px; margin-top: 40px; max-width: 64rem; }
@media (min-width: 900px) { .portal-profile { grid-template-columns: 1fr 1fr; } }
.portal-profile section { border-top: 1.5px solid var(--ink); padding: 20px 0 36px; }
.portal-dl { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: 10px 24px; margin: 14px 0 0; }
.portal-dl dt { font-size: .86rem; color: var(--ink-3); }
.portal-dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.portal-change { margin: 18px 0 0; font-size: .92rem; }
.portal-balance { margin-top: 32px; }
.portal-balance + .portal-list { margin-top: 40px; }
.portal-profile .portal-dl + .portal-sub { margin-top: 16px; font-size: .92rem; }
/* learn & practice library */
.portal-tools-2 { max-width: 64rem; }
@media (min-width: 960px) { .portal-tools-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.portal-search { margin-top: 28px; }
.portal-search input[type=search] { font: inherit; }
.portal-libgroups section { margin-top: 40px; max-width: 52rem; }
.portal-libgroups .portal-list { border-top: 1.5px solid var(--ink); margin-top: 8px; }
.portal-libgroups .portal-list li { padding: 15px 0; }
.portal-libgroups .portal-meta { font-size: .8rem; }
.portal-plan { margin: 28px 0 8px; padding: 18px 0 6px 20px; border-left: 2px solid #D9C3A2; max-width: 46rem; }
.portal-plan-from { font: 700 .76rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--champ); margin: 0 0 4px; }
.portal-plan .portal-dl { grid-template-columns: 7rem 1fr; }
.portal-plan .portal-sub { margin-top: 14px; }
.portal-feedback { margin: 20px 0 0; padding: 16px 0 4px 20px; border-left: 2px solid var(--ink); max-width: 46rem; }
.portal-feedback p { margin: 4px 0 0; }
.portal-steps { list-style: none; margin: 8px 0 32px; padding: 0; max-width: 44rem; }
.portal-steps li { padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.portal-worksheet { max-width: 46rem; margin-top: 8px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.portal-partial { margin: 0 0 4px; }
.portal-repeat { display: grid; gap: 10px; }
.portal-repeat textarea { width: 100%; }
.portal-range label.portal-ns { display: flex !important; justify-content: flex-start; align-items: center; gap: 10px; margin-top: 8px !important; font-size: .86rem !important; }
.portal-review { margin: 36px 0 0; max-width: 44rem; }
.portal-review p { margin: 4px 0 0; font-size: 1.05rem; }
.portal-more { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--line); max-width: 46rem; }
.portal-sources { list-style: none; margin: 6px 0 10px; padding: 0; font-size: .88rem; }
.portal-sources li { padding: 4px 0; color: var(--ink-3); }
.portal-safety { margin-top: 32px; max-width: 46rem; }
.portal-help-urgent, .portal-help-routine { margin-top: 36px; padding-top: 20px; border-top: 1.5px solid var(--ink); max-width: 44rem; }
.portal-help-urgent p, .portal-help-routine p { margin: 6px 0 0; font-size: 1.05rem; }
/* tools */
.portal-tools { display: grid; grid-template-columns: 1fr; gap: 40px 64px; margin-top: 48px; }
@media (min-width: 960px) { .portal-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.portal-gsub { margin: 0 0 16px; }
.portal-toollist { border-top: 1px solid var(--line); margin: 0; }
.portal-toollist li { display: block; padding: 17px 0; }
.portal-toollist .portal-go { font-size: 1.12rem; }
.portal-narrow { max-width: 34rem; }
.portal-wide { max-width: 46rem; }
.portal-assigned { margin-top: 48px; max-width: 46rem; }
.portal-assigned .portal-toollist { margin-bottom: 14px; }
.portal-assigned + .portal-tools { margin-top: 56px; }
.portal-article { max-width: 40rem; margin-top: 24px; font-size: 1.08rem; line-height: 1.7; }
.portal-screen > .portal-label { margin-top: 0; }
.portal-screen > .portal-lead + .portal-label, .portal-screen > .portal-list + .portal-label, .portal-screen > .portal-note + .portal-label { margin-top: 44px; }
.portal-screen > .portal-label + .portal-list { margin-top: 0; border-top: 1px solid var(--line); }
.portal-assigned .portal-toollist li { display: flex; }
.portal-logform .portal-sendrow { max-width: 46rem; }
.form-grid input[type=time] { font: inherit; }
.portal-clock { font: italic 400 clamp(5rem, 13vw, 9rem)/1 var(--serif); color: var(--ink); margin: 36px 0 6px; font-variant-numeric: tabular-nums; }
.portal-ctl { display: flex; gap: 32px; align-items: baseline; margin: 22px 0 28px; }
.portal-checks { list-style: none; margin: 18px 0 24px; padding: 0; max-width: 40rem; }
.portal-checks li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.portal-checks li > span, .portal-checks li > label { flex: 1; }
.portal-checks input[type=checkbox], .portal-top3 input[type=checkbox] { accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.portal-checks input:checked + label { text-decoration: line-through; color: var(--ink-3); }
.portal-x { font-size: .82rem; color: var(--ink-3); }
.portal-adder { display: flex; align-items: flex-end; gap: 24px; max-width: 40rem; }
.portal-adder .form-grid { flex: 1; }
.portal-top3 { display: flex; align-items: center; gap: 14px; }
.portal-top3 .field { flex: 1; }
.portal-sort { display: grid; grid-template-columns: 1fr; gap: 8px 48px; }
@media (min-width: 900px) { .portal-sort { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.portal-sort .portal-checks li { flex-wrap: wrap; }
.portal-range label { display: flex !important; justify-content: space-between; }
.portal-range input[type=range] { width: 100%; accent-color: var(--champ); margin: 6px 0 0; }
.portal-val { font: italic 400 1.3rem/1 var(--serif); color: var(--ink); }
.portal-ends { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-3); margin: 2px 0 0; }
.portal-logform .form-status { max-width: 34rem; }
.portal-tablewrap { overflow-x: auto; margin-top: 24px; max-width: 46rem; }
.portal-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.portal-table th, .portal-table td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.portal-table thead th { font: 500 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--champ); }
.portal-table td { position: relative; min-width: 72px; }
.portal-bar { display: inline-block; height: 2px; background: #D9C3A2; vertical-align: middle; max-width: 48px; margin-right: 8px; }
.portal-num { font-variant-numeric: tabular-nums; }
.portal-table td { white-space: nowrap; }
@media (max-width: 600px) { .portal-bar { display: none; } .portal-table td { min-width: 0; } }
.portal-sort { margin-top: 32px; }
.portal-guide { list-style: none; margin: 32px 0 0; padding: 0; max-width: 44rem; }
.portal-guide li { padding: 20px 0; border-top: 1px solid var(--line); }
.portal-guide h2 { font: 400 1.25rem/1.3 var(--sans); letter-spacing: -.015em; margin: 0 0 6px; }
.portal-guide p { margin: 0; color: var(--ink-2); }

/* ── Scroll reveal (JS on, motion allowed) ────────────────────────────────────────────────── */
.js main > section:not(:first-child) > .wrap { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js main > section.in > .wrap { opacity: 1; transform: none; }
.contact-aside .eyebrow, #message .eyebrow { display: flex; }
.form-grid label.check .req { display: none; }

/* ── NO pills, NO boxes anywhere (Erin, repeated and final): every button is a text link with a fine underline and an
      arrow; fields are underline-only; questionnaire answers are plain radio choices. ── */
.btn, button.btn, .btn.ghost, .nav .cta a, .lp-link {
  background: none !important; box-shadow: none !important; border-radius: 0 !important; transform: none !important;
  padding: 6px 0 !important; color: var(--ink) !important; font: 500 .95rem/1.2 var(--sans) !important;
  border-bottom: 1.5px solid var(--ink) !important; overflow: visible;
}
.btn::before, .nav .cta a::before, .lp-link::before { display: none !important; }
.btn:hover, .btn.ghost:hover, .nav .cta a:hover, .lp-link:hover { color: var(--champ) !important; border-bottom-color: var(--champ) !important; background: none !important; transform: none !important; }
.btn.ghost { border-bottom-color: rgba(31, 26, 23, .3) !important; }
.btn-row { gap: 14px 32px; }
.nav .cta a { margin-left: 12px; padding: 4px 0 !important; font-size: .9rem !important; }
.nav a { border-radius: 0; }
.nav a:hover, .nav a[aria-current="page"] { background: none; color: var(--ink); text-decoration: underline; text-decoration-color: var(--champ); text-underline-offset: 6px; }
/* header: no pill-shaped bar either — a full-width frosted strip with a hairline */
.site-header { padding: 0; background: rgba(250, 247, 242, .72); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); border-bottom: 1px solid var(--line); }
.site-header .wrap { background: none !important; box-shadow: none !important; border-radius: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; max-width: var(--wrap); padding: 0 22px !important; min-height: 72px; }
@media (min-width: 760px) { .site-header .wrap { padding: 0 44px !important; } }
.nav-mobile summary { border-radius: 0; }
/* fields: underline only */
.form-grid input[type=text], .form-grid input[type=email], .form-grid input[type=tel], .form-grid input[type=date], .form-grid select, .form-grid textarea {
  background-color: transparent !important; border-radius: 0 !important; box-shadow: none !important; padding: 10px 0 !important; border-bottom: 1px solid rgba(31, 26, 23, .3) !important; }
.form-grid select { background-position: right 2px center !important; padding-right: 24px !important; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { box-shadow: none !important; border-bottom: 1.5px solid var(--champ) !important; }
.form-status { background: none; border-radius: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.form-status.error { background: none; border-top-color: #B8432C; }
/* questionnaire answers: plain choices */
.screener label { background: none !important; border-radius: 0; padding: 6px 0; margin-right: 18px; }
.screener label:has(input:checked) { background: none !important; color: var(--ink); text-decoration: underline; text-decoration-color: var(--champ); text-underline-offset: 5px; }
.screener-result, .crisis, .npp .draft-banner { border-radius: 0 !important; background: none !important; padding: 16px 0 16px 18px; border-left: 2px solid var(--champ); }
.screener-result.warn, .crisis, .npp .draft-banner { border-left-color: #B8432C; }
.skip { border-radius: 0; }
/* Ombre (Erin): clearly deeper sand at the top fading to soft ivory at the bottom of every page. */
body { background: linear-gradient(180deg, #DCCDB6 0%, #E7DCCB 30%, #F1EBE1 65%, #F9F6F1 100%) !important; }
/* Logo: far less shine — no glow, muted highlight. */
.lp-logo { filter: saturate(.75) contrast(.9) brightness(.97) !important; }
.lp-hero { background: none !important; }
/* Less shine on the italic accents too: solid warm champagne (the bright highlight hid letters). */
h1 em, h2 em, .lp-tagline em { background: none !important; -webkit-text-fill-color: currentColor !important; color: #8A6C4A !important; }
.footer-line em { background: none !important; -webkit-text-fill-color: currentColor !important; color: #DCC4A2 !important; }
/* Header blends into the top of the ombre. */
.site-header { background: rgba(220, 205, 182, .7) !important; border-bottom-color: rgba(31, 26, 23, .08) !important; }
/* Header (Erin): centred logo, three links each side, evenly spread. */
@media (min-width: 1021px) {
  .site-header .wrap { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(32px, 4vw, 64px); min-height: 84px; }
  .site-header .brand { grid-column: 2; grid-row: 1; flex-direction: column; gap: 6px; padding: 10px 0 8px; }
  .site-header .brand img { height: 36px; }
  .site-header .brand span { font: 500 .62rem/1 var(--sans); letter-spacing: .4em; margin-right: -.4em; text-transform: uppercase; }
  .nav-left { grid-column: 1; grid-row: 1; }
  .nav-right { grid-column: 3; grid-row: 1; }
  .nav-left .nav, .nav-right .nav { display: flex; justify-content: space-between; gap: 0 16px; }
  .nav a { padding: 10px 0; white-space: nowrap; }
  .nav .cta a { margin-left: 0; }
}
/* Colours chosen by Erin in the colour picker (2026-10-23): "Mushroom" — #D3C8BC at the top fading to #F7F4F0. */
body { background: linear-gradient(180deg, #D3C8BC 0%, #F7F4F0 100%) !important; }
html { background: #F7F4F0 !important; }
.site-header { background: rgba(211, 200, 188, .72) !important; }
h1 em, h2 em, .lp-tagline em { color: #7E6650 !important; }
/* Final choice (Erin 2026-10-23): "Linen" — #EFE8DD at the top fading to white. */
body { background: linear-gradient(180deg, #EFE8DD 0%, #FFFFFF 100%) !important; }
html { background: #FFFFFF !important; }
.site-header { background: rgba(239, 232, 221, .72) !important; }
/* Home (Erin: "too much space"): hero sizes to its content — no stretching on tall screens — and the quick links and
   footer follow straight after. */
.lp-hero { min-height: 0 !important; display: block; padding: 20px 0 8px !important; }
.lp-logo { height: clamp(240px, 46vh, 500px) !important; }
.lp-quick { padding-top: 18px !important; padding-bottom: 8px !important; }
main.lp + .site-footer, .lp ~ .site-footer { margin-top: 32px; }
/* Compact footer (Erin: "wasted space"): brand + Schedule on one line, four columns, legal line. */
.site-footer { margin-top: 0 !important; padding: 36px 0 24px !important; font-size: .9rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-bottom: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand .footer-logo { width: auto; height: 30px; margin: 0; }
.footer-brand span { font: 500 .62rem/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; }
.site-footer .cols { padding-top: 24px !important; gap: 20px 40px; }
.site-footer .cols h3 { margin-bottom: .7em !important; }
.site-footer li { margin: 0 0 4px; }
.site-footer .cols p { margin: 0 0 .5em; }
.site-footer .legal { margin-top: 24px !important; padding-top: 16px !important; }

/* ── Footer colour: Charcoal (Erin, option 3) ── */
.site-footer { background: #2A2C2E !important; background-image: none !important; color: #F3F1EC !important; }
.site-footer a, .site-footer .textlink.light, .footer-brand span { color: #F3F1EC !important; }
.site-footer p, .site-footer .legal { color: #C9C5BE !important; }
.site-footer .cols h3 { color: #D8C3A3 !important; }
.site-footer .cols, .site-footer .legal { border-color: rgba(243, 241, 236, .14) !important; }

/* ── High-tech, professional pass (Erin 2026-10-23: "this is a tech company") ──
   Precise, product-grade UI: a tighter type scale, technical micro-labels, crisp 1px hairlines, generous but
   disciplined fields, and an animated focus line. Still no boxes or pills. */
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -.05em; font-weight: 400; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -.04em; font-weight: 400; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.section .cols > div > h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 0; }
.eyebrow, .label, .team-group, .cols h3, .contact-list dt, .portal-step {
  font: 500 .68rem/1.3 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace !important; letter-spacing: .12em !important; text-transform: uppercase; }
.eyebrow::before { width: 6px; height: 6px; border-radius: 0; background: var(--champ); }
/* forms: no duplicate headings; precise labels; crisp fields */
.cols .request-form .form-title, .cols .request-form > .eyebrow { display: none; }
.request-form { margin-top: 24px; padding-top: 0; }
.request-form .form-title { font: 400 clamp(1.4rem, 2vw, 1.7rem)/1.2 var(--sans) !important; letter-spacing: -.03em; text-transform: none !important; color: var(--ink) !important; }
.form-privacy { font-size: .82rem; }
.form-grid { gap: 22px 28px; margin-top: 22px; }
.form-grid label:not(.check), .form-grid legend {
  font: 500 .66rem/1.3 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace !important; letter-spacing: .1em !important;
  text-transform: uppercase !important; color: var(--ink-3) !important; margin-bottom: 2px !important; }
.form-grid .req { color: var(--champ) !important; }
.form-grid .opt { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.form-grid input[type=text], .form-grid input[type=email], .form-grid input[type=tel], .form-grid input[type=date], .form-grid select, .form-grid textarea {
  font: 400 1rem/1.4 var(--sans) !important; padding: 10px 0 9px !important; border-bottom: 1px solid rgba(31, 26, 23, .22) !important;
  background-image: linear-gradient(var(--ink), var(--ink)) !important; background-repeat: no-repeat !important; background-size: 0% 1.5px !important;
  background-position: 0 100% !important; transition: background-size .45s var(--ease), border-color .3s !important; }
.form-grid select { background-image: linear-gradient(var(--ink), var(--ink)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231F1A17'/%3E%3C/svg%3E") !important;
  background-size: 0% 1.5px, 10px 6px !important; background-position: 0 100%, right 2px center !important; }
.form-grid input:focus, .form-grid textarea:focus { background-size: 100% 1.5px !important; border-bottom-color: transparent !important; }
.form-grid select:focus { background-size: 100% 1.5px, 10px 6px !important; border-bottom-color: transparent !important; }
.form-grid textarea { min-height: 96px; }
.form-grid ::placeholder { color: rgba(31, 26, 23, .35); }
@media (prefers-reduced-motion: reduce) { .form-grid input, .form-grid select, .form-grid textarea { transition: none !important; } }
/* Breathing room between the last section and the charcoal footer (Erin). */
.site-footer { margin-top: clamp(56px, 7vw, 96px) !important; }
/* Centre brand on one line (Erin): icon beside the wordmark, so the logo and every menu word share one centre line. */
@media (min-width: 1021px) {
  .site-header .brand { flex-direction: row !important; align-items: center; gap: 10px; padding: 0 !important; }
  .site-header .brand img { height: 30px !important; }
  .site-header .brand span { line-height: 1 !important; }
  .site-header .wrap { min-height: 72px !important; align-items: center !important; }
  .nav a { line-height: 1 !important; padding: 8px 0 !important; }
}
/* Logo stacked (icon with "EKM PSYCHIATRY" under it), and the menu words line up with the middle of the icon:
   the wordmark hangs below the icon without shifting the centre line. */
@media (min-width: 1021px) {
  .site-header .wrap { min-height: 92px !important; }
  .site-header .brand { position: relative; flex-direction: column !important; gap: 0 !important; padding: 0 0 16px !important; }
  .site-header .brand img { height: 38px !important; }
  .site-header .brand span { position: absolute; left: 50%; top: calc(100% - 12px); transform: translateX(-50%); white-space: nowrap;
    font-size: .58rem !important; letter-spacing: .4em !important; margin-right: 0 !important; padding-left: .4em; }
  .nav-left, .nav-right { align-self: center; margin-bottom: 16px; }
}
/* "Just make it centred" (Erin): the stacked logo is one block, centred in the bar both ways; the menu words sit on the
   bar's centre line; even gaps either side of the logo. */
@media (min-width: 1021px) {
  .site-header .wrap { min-height: 0 !important; padding-top: 14px !important; padding-bottom: 14px !important; align-items: center !important; }
  .site-header .brand { padding: 0 !important; gap: 7px !important; }
  .site-header .brand img { height: 34px !important; }
  .site-header .brand span { position: static; transform: none; padding-left: .4em; font-size: .58rem !important; }
  .nav-left, .nav-right { margin-bottom: 0; align-self: center; }
}
/* "EKM PSYCHIATRY" sits on the same line as the menu words; the icon sits above it. */
@media (min-width: 1021px) {
  .site-header .wrap { padding-top: 48px !important; padding-bottom: 18px !important; }
  .site-header .brand { position: relative; display: block !important; padding: 0 !important; }
  .site-header .brand img { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); height: 32px !important; margin: 0; }
  .site-header .brand span { display: block; position: static; transform: none; font-size: .62rem !important; line-height: 1 !important; }
}
/* Even spacing (Erin): every gap in the menu is the same width — between links and on both sides of the logo —
   with the logo dead centre. Each side hugs the logo instead of stretching to the page edges. */
@media (min-width: 1021px) {
  .site-header .wrap { column-gap: 44px !important; }
  .nav-left { justify-self: end !important; }
  .nav-right { justify-self: start !important; }
  .nav-left .nav, .nav-right .nav { justify-content: flex-start !important; gap: 0 44px !important; }
  .nav .cta a { font-weight: 400 !important; }
}
@media (min-width: 1021px) {
  .nav .cta a { border-bottom: 0 !important; padding: 8px 0 !important; text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 6px; color: var(--ink) !important; }
}
@media (min-width: 1021px) { .nav .cta a { display: inline-block !important; line-height: 1 !important; padding: 8px 0 !important; } }
/* Header logo: just the hands-and-brain icon, centred, on the same centre line as the menu words (Erin). */
@media (min-width: 1021px) {
  .site-header .wrap { padding-top: 14px !important; padding-bottom: 14px !important; }
  .site-header .brand { display: flex !important; align-items: center; justify-content: center; }
  .site-header .brand img { position: static !important; transform: none !important; height: 44px !important; }
  .site-header .brand span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
}
/* No numbered markers anywhere (Erin): drop 01/02… on documents, patient-portal sections and step lists. */
.doc-num { display: none !important; }
.doc summary { grid-template-columns: minmax(0, 1fr) 1.4rem !important; }
.doc-body { padding-left: 0 !important; }
ol.steps li { padding-left: 0 !important; }
ol.steps li::before { display: none !important; }
/* Footer top line: brand and Schedule link in the same type, size and centre line (Erin: "not lined up"). */
.footer-brand { gap: 12px; }
.footer-brand .footer-logo { height: 28px; }
.footer-brand span { font: 400 1rem/1 var(--sans) !important; letter-spacing: -.01em !important; text-transform: none !important; }
.footer-top .textlink { font: 400 1rem/1 var(--sans) !important; padding: 0 !important; }

/* ── Forms: "soft floating" fields (Erin chose C, 2026-10-23). Each field is a soft white panel with its label inside,
      no hard outline; a gentle ring when you type. Buttons stay underlined text links. ── */
.form-grid { gap: 14px 16px !important; }
.form-grid .field:has(> input:not([type=checkbox]):not([type=file]):not([type=hidden])),
.form-grid .field:has(> select), .form-grid .field:has(> textarea) {
  position: relative; background: rgba(255, 255, 255, .78); border-radius: 14px; padding: 10px 16px 8px;
  box-shadow: inset 0 0 0 1px rgba(31, 26, 23, .06), 0 1px 2px rgba(31, 26, 23, .03); transition: box-shadow .25s, background .25s; }
.form-grid .field:focus-within { background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 26, 23, .18), 0 0 0 4px rgba(201, 169, 127, .22); }
.form-grid .field > label:not(.check) {
  font: 500 .74rem/1.3 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink-3) !important; margin: 0 0 2px !important; }
.form-grid .field > input:not([type=checkbox]):not([type=file]), .form-grid .field > select, .form-grid .field > textarea {
  border: 0 !important; border-bottom: 0 !important; background-color: transparent !important; background-image: none !important; box-shadow: none !important;
  padding: 2px 0 4px !important; font: 400 1rem/1.4 var(--sans) !important; color: var(--ink) !important; outline: none; }
.form-grid .field > select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6058'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-size: 10px 6px !important; background-position: right 0 center !important; padding-right: 22px !important; }
.form-grid .field > textarea { min-height: 88px; resize: vertical; }
.form-grid fieldset legend { font: 500 .8rem/1.3 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink-2) !important; }
.form-grid .field > input[type=file] { margin-top: 4px; }
/* Clean labels everywhere (no typewriter look). */
.eyebrow, .label, .team-group, .cols h3, .contact-list dt, .portal-step {
  font: 500 .7rem/1.3 var(--sans) !important; letter-spacing: .16em !important; }
/* File picker styled to match (text link look, no grey system button). */
.form-grid input[type=file] { font: 400 .92rem var(--sans); color: var(--ink-2); }
.form-grid input[type=file]::file-selector-button { font: 500 .92rem var(--sans); color: var(--ink); background: none; border: 0;
  border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 4px 0; margin-right: 14px; cursor: pointer; }
.form-grid input[type=file]::file-selector-button:hover { color: var(--champ); border-bottom-color: var(--champ); }

/* ── Contact page v3: centred and focused. Quiet info strip, then one calm form column. ── */
.contact-hero { text-align: center; padding-bottom: 8px !important; }
.contact-hero .eyebrow { justify-content: center; }
.contact-hero h1, .contact-hero .lead { margin-left: auto; margin-right: auto; }
.contact-stack { max-width: 760px; margin: 0 auto; }
.contact-strip { list-style: none; margin: 0 0 40px; padding: 18px 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 14px 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-strip li { display: grid; gap: 2px; min-width: 0; }
.cs-k { font: 500 .68rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ); }
.cs-v { font: 400 .98rem/1.4 var(--sans); color: var(--ink); text-decoration: none; }
a.cs-v:hover { color: var(--champ); }
@media (max-width: 760px) { .contact-strip { grid-template-columns: 1fr 1fr; } }
.contact-stack #message .eyebrow { display: none; }
.contact-stack #message .form-title { text-align: left; }

/* Client Documents: an index of links; each document has its own page with details and the form. */
.doc-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc-index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.doc-index a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.2rem; color: var(--champ); transition: transform .3s var(--ease); }
.doc-index a:hover::after { transform: translateX(4px); }
.doc-index a:hover .doc-title { color: var(--champ); }
.doc-index .doc-title { grid-column: 1; }
.doc-index .doc-sub { grid-column: 1; }
.back-link { margin: 0 0 18px; font-size: .9rem; }
.back-link a { text-decoration: none; color: var(--ink-3); }
.back-link a:hover { color: var(--champ); }
.doc-page .wrap > h3 { font: 500 .7rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ); margin: 2.4em 0 1em; }
.doc-page .wrap > .prose:first-child > p:first-child { font-size: 1.1rem; color: var(--ink-2); }
.doc-page .request-form { max-width: 820px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }

/* More noticeable ombre (Erin): deeper linen at the top fading to white. */
body { background: linear-gradient(180deg, #E6DACA 0%, #EFE7DB 30%, #F7F3EC 65%, #FFFFFF 100%) !important; }
.site-header { background: rgba(230, 218, 202, .78) !important; }
/* Menu spread across the full width (Erin): seven equal slots, each item centred in its slot, logo in the middle slot. */
@media (min-width: 1021px) {
  .site-header .wrap { grid-template-columns: 3fr 1fr 3fr !important; column-gap: 0 !important; }
  .nav-left, .nav-right { justify-self: stretch !important; }
  .nav-left .nav, .nav-right .nav { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 0 !important; }
  .nav-left .nav li, .nav-right .nav li { text-align: center; }
  .site-header .brand { justify-self: center; }
}
@media (min-width: 1021px) { .site-header .wrap { max-width: 1440px !important; } }
/* Final colours (Erin 2026-10-23): "Pearl" — #E6E1DA at the top fading to white. */
body { background: linear-gradient(180deg, #E6E1DA 0%, #FFFFFF 100%) !important; }
html { background: #FFFFFF !important; }
.site-header { background: rgba(230, 225, 218, .8) !important; }
/* Home: logo block and quick links centred vertically between the menu and the footer (equal space above and below). */
main.lp { min-height: calc(100svh - var(--hdr, 73px)); display: flex; flex-direction: column; justify-content: center; padding-block: 28px; }
main.lp .lp-hero { padding: 0 !important; }
main.lp .lp-quick { padding-bottom: 0 !important; }
main.lp + .site-footer { margin-top: 0 !important; }
main.lp > * { width: 100%; }
main.lp .lp-quick { max-width: 1000px; align-self: center; }
/* Home page only: no small logo in the menu (the big logo is right below it). The centre slot stays, so the six links
   keep their even spacing. */
body.home .site-header .brand img { visibility: hidden; }
@media (max-width: 1020px) { body.home .site-header .brand span { visibility: hidden; } }
/* Home: fixed, modest spacing instead of stretching to fill tall screens (Erin: too much empty space). */
main.lp { min-height: 0 !important; display: block !important; padding: 48px 0 !important; }
main.lp + .site-footer { margin-top: 0 !important; }
/* Home menu: no empty centre slot — the six links share the full width in six equal slots. */
@media (min-width: 1021px) {
  body.home .site-header .wrap { display: flex !important; }
  body.home .site-header .brand { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.home .nav-left, body.home .nav-right { flex: 1 1 0; }
}
/* Short pages: the footer always reaches the bottom of the window (no white strip under it). */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .site-header, body > .site-footer { flex-shrink: 0; }
html { background: #2A2C2E !important; }
html { background: #FFFFFF !important; }
body { background-color: #F3F0EB !important; }
/* Smaller team photos (Erin). */
.people img { max-width: 220px !important; margin-left: auto; margin-right: auto; }
.portrait { max-width: 260px !important; }
@media (max-width: 560px) { .people img { max-width: 200px !important; } }
/* Logo recoloured to a soft, even gold (Erin: "more gold, less shiny") — no extra filters. */
.lp-logo { filter: none !important; }
/* Logo shown exactly as designed (Erin's original rose-gold), no filters. */
.lp-logo, .site-header .brand img, .footer-logo { filter: none !important; }
/* Home quick links spread wider (Erin). */
main.lp .lp-quick { max-width: 1200px !important; }

/* ── Pearl luxe (Erin 2026-10-24, option B): the staff portal's 2030 look on the website — moving colour behind a
      floating glass menu bar, fonts unchanged. No cards: links stay open text. ── */

:root {
  --bg-0:#E7E2DA; --bg-1:#F3EFE9; --bg-2:#FCFBF9;
  --glass:rgba(255,255,255,.56); --glass-hi:rgba(255,255,255,.94); --glass-edge:rgba(255,255,255,.8); --shade:rgba(70,52,32,.22); --well:rgba(26,21,17,.05);
  --accent:#8A6A44; --accent-soft:rgba(184,149,95,.16);
  --orb-a:rgba(255,255,255,.95); --orb-b:rgba(222,190,146,.6); --orb-c:rgba(214,206,222,.75); --orb-d:rgba(200,214,226,.6);
  --wash-a:rgba(230,205,170,.55); --wash-b:rgba(210,214,226,.6); --wash-c:rgba(232,214,214,.55);
  --spring:cubic-bezier(.34,1.56,.64,1);
}
html { background: var(--bg-2) !important; }
body { color: var(--ink) !important; background:
    radial-gradient(70vw 60vh at 0% 0%, var(--wash-a), transparent 70%),
    radial-gradient(60vw 55vh at 100% 18%, var(--wash-b), transparent 70%),
    radial-gradient(80vw 60vh at 30% 100%, var(--wash-c), transparent 70%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%) fixed !important; }
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(64px); }
.ambient i:nth-child(1) { width: 64vw; height: 64vw; left: -16vw; top: -30vw; background: radial-gradient(circle, var(--orb-a), transparent 66%); animation: lx1 26s var(--ease) infinite alternate; }
.ambient i:nth-child(2) { width: 48vw; height: 48vw; right: -12vw; top: -10vw; background: radial-gradient(circle, var(--orb-b), transparent 66%); animation: lx2 32s var(--ease) infinite alternate; }
.ambient i:nth-child(3) { width: 58vw; height: 58vw; left: 24vw; top: 46vh; background: radial-gradient(circle, var(--orb-c), transparent 66%); animation: lx3 38s var(--ease) infinite alternate; }
.ambient i:nth-child(4) { width: 40vw; height: 40vw; right: 4vw; top: 58vh; background: radial-gradient(circle, var(--orb-d), transparent 66%); animation: lx2 30s var(--ease) infinite alternate-reverse; }
@keyframes lx1 { to { transform: translate(9vw, 7vh) scale(1.08); } }
@keyframes lx2 { to { transform: translate(-8vw, 10vh) scale(.94); } }
@keyframes lx3 { to { transform: translate(-10vw, -8vh) scale(1.1); } }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header .wrap { background: var(--glass) !important; -webkit-backdrop-filter: blur(28px) saturate(170%) !important; backdrop-filter: blur(28px) saturate(170%) !important;
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 1px var(--glass-edge), 0 1px 1px rgba(0,0,0,.03), 0 28px 56px -30px var(--shade) !important; }
/* floating glass bar */
.site-header { position: sticky; top: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 14px 16px 0; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.site-header .wrap { border-radius: 22px !important; min-height: 68px !important; max-width: 1360px !important; }
.site-header .nav a, .site-header .menu-word { color: var(--ink-2) !important; }
.site-header .nav a[aria-current="page"] { color: var(--ink) !important; }
/* hero */
.lp-logo { filter: drop-shadow(0 24px 48px var(--shade)) !important; }
.lp-tag { letter-spacing: .32em !important; color: var(--ink-3) !important; }
.lp-phone { color: var(--ink) !important; }
main.lp .lp-hero, main.lp .lp-quick { animation: lxrise .8s var(--ease) both; }
main.lp .lp-quick { animation-delay: .12s; }
@keyframes lxrise { from { opacity: .001; transform: translateY(14px); } }
/* B: open (no cards) */
.lp-quick a { border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .ambient i, main.lp .lp-hero, main.lp .lp-quick { animation: none !important; } }

/* No purple (Erin): the moving colour stays warm — champagne, ivory and soft stone only. */
:root { --orb-c: rgba(228, 214, 194, .62); --orb-d: rgba(238, 230, 216, .6); --wash-b: rgba(236, 224, 206, .6); --wash-c: rgba(241, 233, 221, .55); }
/* Subtler, linen (Erin): low-saturation greige-ivory, no yellow; the drifting light is faint. */
:root { --bg-0: #E9E5DF; --bg-1: #F3F0EB; --bg-2: #FBFAF8;
  --wash-a: rgba(226, 220, 212, .45); --wash-b: rgba(232, 228, 222, .40); --wash-c: rgba(236, 232, 226, .40);
  --orb-a: rgba(255, 255, 255, .70); --orb-b: rgba(222, 215, 205, .35); --orb-c: rgba(228, 223, 216, .35); --orb-d: rgba(236, 232, 226, .35); }
/* Home: never let the centred hero slide up under the floating menu bar on short windows (Erin's screenshot). */
main.lp { justify-content: safe center !important; min-height: calc(100svh - 96px) !important; }
.lp-logo { height: clamp(200px, calc(100svh - 96px - 440px), 560px) !important; }
/* Menu bar: nearly solid so nothing (like the home logo) ever shows through it while scrolling (Erin). */
.site-header .wrap { background: rgba(250, 249, 247, .94) !important; }
.site-header { z-index: 30 !important; }
.site-header { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-0) 60%, rgba(233, 229, 223, 0) 100%) !important; padding-bottom: 10px !important; }
/* Home logo back to its big size (Erin): fills the space between the bar and the tagline. */
.lp-logo { height: clamp(300px, calc(100svh - 360px), 660px) !important; }
@media (max-width: 760px) { .lp-logo { height: auto !important; width: min(80vw, 340px) !important; } }
/* Headline font: Italiana, the staff portal's display face (Erin picked it from six options, 2026-10-24). Self-hosted. */
@font-face { font-family: "Italiana"; src: url("/fonts/italiana-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root { --hero: "Italiana", "Instrument Serif", Georgia, serif; }
h1, .portal-pitch h1 { font: 400 clamp(2.6rem, 5.6vw, 4.6rem)/1.04 var(--hero) !important; letter-spacing: .01em !important; }
h1 em, h2 em { font-family: var(--hero) !important; font-style: normal !important; color: var(--accent) !important; }
.lp-tagline { font: 400 clamp(1.9rem, 3.4vw, 3rem)/1.12 var(--hero) !important; letter-spacing: .03em !important; color: var(--ink) !important; max-width: 22em; }
.lp-tagline em { font-family: var(--hero) !important; font-style: normal !important; color: var(--accent) !important; }
.lp-quick strong { font: 400 1.6rem/1.1 var(--hero) !important; letter-spacing: .02em; }
.portal-hello, .portal-title, .portal-when, .chat-name { font-family: var(--hero) !important; letter-spacing: .01em !important; font-style: normal !important; }
.chat-name { font-size: 1.25rem !important; }
@media (max-width: 760px) { .lp-quick strong { font-size: 1.3rem !important; } }
/* Accent words keep the elegant italic (Erin: "Italiana, but with the cursive too"). */
h1 em, h2 em, .lp-tagline em { font-family: var(--serif) !important; font-style: italic !important; letter-spacing: -.01em !important; color: var(--accent) !important; }
/* App-like page changes: pages cross-fade and rise into place instead of blinking; the menu bar stays put.
   Browsers without support simply load the page as before. Off for reduced motion. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-bar; }
::view-transition-old(root) { animation: 220ms var(--ease) both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
/* Questionnaires: one question at a time (js/screener.js adds .stepper). */
.screener.stepper fieldset[data-item], .screener.stepper fieldset[data-gate] { display: none; }
.screener.stepper fieldset.is-current { display: block; border-top: 0; padding-top: 4px; animation: lxrise .35s var(--ease) both; }
.screener.stepper.done fieldset.is-current, .screener.stepper.done .sc-nav, .screener.stepper.done .sc-head { display: none; }
.screener.stepper .qn { display: none; }
.screener.stepper legend { font: 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.3 var(--sans); letter-spacing: -.015em; margin-bottom: 16px; }
.screener.stepper .opts { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.screener.stepper label { display: flex !important; width: 100%; margin: 0 !important; padding: 15px 2px !important; border-bottom: 1px solid var(--line); font-size: 1.02rem !important; transition: color .2s var(--ease), padding .25s var(--ease); }
.screener.stepper label:hover { color: var(--champ); padding-left: 8px !important; }
.screener.stepper label:has(input:checked) { color: var(--champ) !important; text-decoration: none !important; font-weight: 500; }
.screener.stepper .btn-row [data-score] { display: none; }
.sc-head { margin: 6px 0 22px; }
.sc-count { margin: 0 0 8px; font: 700 .74rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); }
.sc-progress { height: 2px; background: var(--line); }
.sc-progress i { display: block; height: 100%; width: 0; background: var(--champ); transition: width .45s var(--ease); }
.sc-nav { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 6px; }
.sc-nav .sc-back[hidden] { display: inline-block !important; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .screener.stepper fieldset.is-current { animation: none; } .sc-progress i { transition: none; } }
/* Insurance checker */
.plan-check { max-width: 34rem; margin: 6px 0 22px; }
.plan-answer { margin: 12px 0 0; min-height: 1.5em; font-size: 1.05rem; }
.plan-answer.yes { color: var(--ink); padding-left: 14px; border-left: 2px solid var(--champ); }
.plan-answer.no { color: var(--ink-2); padding-left: 14px; border-left: 2px solid var(--line); }
[data-plan-list] li { transition: opacity .25s var(--ease), color .25s var(--ease); }
[data-plan-list] li.dim { opacity: .28; }
[data-plan-list] li.hit { color: var(--champ); font-weight: 500; }
form.stepped .sc-head { margin-top: 18px; }
form.stepped .form-grid > [hidden] { display: none !important; }
form.stepped .sc-nav { max-width: none; }
form.stepped .btn-row.is-off, form.stepped .sc-next.is-off { display: none !important; }
form.stepped .sc-back.is-off { visibility: hidden; }
form.stepped .sc-nav .btn-row { margin: 0; }
/* Team → bio: the person's photo glides from the team grid into place on their bio page (and back). */
img[src="/images/erin-moran.jpg"] { view-transition-name: p-erin; }
img[src="/images/alissa-boyer.jpg"] { view-transition-name: p-alissa; }
img[src="/images/danielle-bellis.jpg"] { view-transition-name: p-danielle; }
img[src="/images/katie-green.jpg"] { view-transition-name: p-katieg; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
/* Phone menu: a full-screen frosted panel with large links that rise in one after another. */
@media (max-width: 1020px) {
  .nav-mobile .sheet { left: 16px !important; right: 16px !important; top: 96px !important; bottom: 16px !important; border-radius: 22px !important; padding: 18px 26px 26px !important;
    background: rgba(250, 249, 247, .9) !important; -webkit-backdrop-filter: blur(28px) saturate(170%) !important; backdrop-filter: blur(28px) saturate(170%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .94), inset 0 0 0 1px rgba(255, 255, 255, .8), 0 28px 56px -30px rgba(70, 52, 32, .22) !important; }
  .nav-mobile .sheet li a { font: 400 2rem/1.1 var(--hero, var(--sans)) !important; letter-spacing: .01em !important; padding: 14px 0 !important; }
  .nav-mobile[open] .sheet { animation: lxrise .45s var(--ease) both; }
  .nav-mobile[open] .sheet li { animation: lxrise .5s var(--ease) both; }
  .nav-mobile[open] .sheet li:nth-child(2) { animation-delay: .04s; } .nav-mobile[open] .sheet li:nth-child(3) { animation-delay: .08s; }
  .nav-mobile[open] .sheet li:nth-child(4) { animation-delay: .12s; } .nav-mobile[open] .sheet li:nth-child(5) { animation-delay: .16s; }
  .nav-mobile[open] .sheet li:nth-child(6) { animation-delay: .20s; } .nav-mobile[open] .sheet li:nth-child(7) { animation-delay: .24s; }
  .nav-mobile[open] .sheet li:nth-child(8) { animation-delay: .28s; }
}
@media (prefers-reduced-motion: reduce) { .nav-mobile[open] .sheet, .nav-mobile[open] .sheet li { animation: none !important; } ::view-transition-group(*) { animation: none; } }
@media (max-width: 1020px) {
  .site-header .wrap:has(.nav-mobile[open]) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(250, 249, 247, .98) !important; }
}
@media (max-width: 1020px) { .nav-mobile .sheet { background: rgba(250, 249, 247, .985) !important; } }
@media (max-width: 1020px) { .nav-mobile .sheet { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #FAF9F7 !important; } }
/* Site search */
.site-header .wrap { position: relative; }
.search-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-2); cursor: pointer; border-radius: 0; }
.search-btn:hover { color: var(--champ); }
@media (max-width: 1020px) { .search-btn { right: 104px; } }
.search-dlg { width: min(640px, calc(100vw - 32px)); max-height: min(70vh, 640px); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 22px; color: var(--ink);
  background: rgba(252, 251, 249, .97); box-shadow: inset 0 1px 0 #fff, 0 40px 90px -30px rgba(40, 30, 20, .45); overflow: hidden; }
.search-dlg[open] { display: flex; flex-direction: column; animation: lxrise .3s var(--ease) both; }
.search-dlg::backdrop { background: rgba(30, 26, 22, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search-box { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.search-box input { flex: 1; border: 0; background: none; font: 400 1.15rem/1.3 var(--sans); color: var(--ink); outline: none; }
.search-close { border: 0; background: none; font: 600 .72rem/1 var(--sans); letter-spacing: .1em; color: var(--ink-3); cursor: pointer; }
.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search-results a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.search-results li.on a { background: rgba(122, 94, 63, .08); }
.search-results strong { display: block; font: 500 1.02rem/1.3 var(--sans); }
.sr-group { display: block; font: 700 .66rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ); margin-bottom: 2px; }
.sr-desc { display: block; font-size: .86rem; color: var(--ink-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-none { padding: 18px 14px; color: var(--ink-3); }
.search-foot { margin: 0; padding: 10px 20px 14px; font-size: .78rem; color: var(--ink-3); border-top: 1px solid var(--line); }
.search-box svg { flex: none; display: block; color: var(--ink-3); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
/* "Message us" text-message conversation (contact page) */
form.chatified .form-privacy { margin-bottom: 18px; }
.msg-chat { max-width: none; margin: 0 0 12px; }
.msg-chat .chat-stream { min-height: 300px; max-height: min(60vh, 560px); padding: 20px 20px 12px; }
.msg-chat .chat-msg { max-width: min(80%, 30rem); }
.msg-chat .chat-msg.still { animation: none; }
.msg-chat .chat-msg.editable { cursor: pointer; }
.msg-chat .chat-msg.editable:hover, .msg-chat .chat-msg.editable:focus-visible { filter: brightness(1.06); outline: none; box-shadow: 0 0 0 3px rgba(201, 169, 127, .35); }
.chat-msg.typing { display: flex; gap: 4px; padding: 14px 16px; }
.chat-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .4; animation: chat-dot 1s infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: .15s; } .chat-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 100% { opacity: .25; transform: none; } 40% { opacity: .8; transform: translateY(-3px); } }
.chat-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .9rem; }
.chat-summary dt { color: var(--ink-3); } .chat-summary dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-dock { padding: 4px 16px 16px; }
.chat-dock .chat-compose { padding: 8px 0 0; border: 0; }
.chat-dock .chat-compose input { flex: 1; min-height: 44px; padding: 11px 18px; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(31, 26, 23, .1); font: 400 .97rem/1.4 var(--sans); color: var(--ink); }
.chat-dock .chat-compose input:focus { outline: none; box-shadow: inset 0 0 0 1.5px #B08A5B, 0 0 0 4px rgba(201, 169, 127, .22); }
.chat-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 8px; }
.chat-chip { border: 0; border-radius: 18px; padding: 9px 15px; background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1.5px rgba(31, 26, 23, .35); color: var(--ink); font: 500 .92rem/1.2 var(--sans); cursor: pointer; transition: background .15s, color .15s; }
.chat-chip:hover, .chat-chip:focus-visible, .chat-chip.on { background: #2A2420; color: #fff; outline: none; }
.chat-err { margin: 6px 4px 0; font-size: .86rem; color: #8A2A1A; min-height: 1em; }
.chat-err:empty { display: none; }
.chat-dock .field { margin-top: 10px; }
.chat-dock .btn-row { margin-top: 14px; }
form.chatified .form-grid { display: none !important; }
.msg-chat .chat-summary { max-width: min(92%, 30rem); }
.chat-summary dl { display: block; }
.chat-summary dt { font: 700 .66rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-top: 8px; }
.chat-summary dt:first-child { margin-top: 0; }
form.chatified .btn-row.is-off { display: none !important; }

/* ── Dark mode: black and gold (Erin, 2026-10-24: "black and gold, not silver"). Follows the visitor's device setting. ── */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #F4EEE4; --ink-2: #D8CFC1; --ink-3: #ADA392; --line: rgba(212, 175, 106, .2);
    --champ: #E0BD78; --accent: #D9B26B; --accent-soft: rgba(217, 178, 107, .14);
    --champ-grad: linear-gradient(100deg, #A9823F 0%, #E3C27F 38%, #F6E3B4 50%, #D2A85E 64%, #A9823F 100%);
    --ivory-top: #0A0908; --ivory-mid: #0D0C0A; --ivory-low: #0A0908;
    --bg-0: #070605; --bg-1: #0D0B09; --bg-2: #12100D;
    --glass: rgba(24, 21, 17, .72); --glass-hi: rgba(217, 178, 107, .16); --glass-edge: rgba(217, 178, 107, .14); --shade: rgba(0, 0, 0, .7); --well: rgba(255, 255, 255, .04);
    --wash-a: rgba(201, 158, 82, .10); --wash-b: rgba(120, 92, 48, .08); --wash-c: rgba(201, 158, 82, .06);
    --orb-a: rgba(217, 178, 107, .10); --orb-b: rgba(160, 120, 60, .10); --orb-c: rgba(217, 178, 107, .06); --orb-d: rgba(120, 90, 45, .08);
    --deep: #040403; --deep-ink: #F4EEE4; --deep-soft: #B8AD9B; --deep-line: rgba(217, 178, 107, .18);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .5);
  }
  html { background: var(--bg-1) !important; }
  ::selection { background: rgba(217, 178, 107, .45); color: #fff; }
  .site-header { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-0) 60%, rgba(7, 6, 5, 0) 100%) !important; }
  .site-header .wrap { background: rgba(18, 16, 13, .94) !important; box-shadow: inset 0 0 0 1px rgba(217, 178, 107, .18), 0 28px 56px -30px #000 !important; }
  .site-header .nav a[aria-current="page"], .site-header .nav a:hover { color: var(--champ) !important; background: none !important; }
  @media (max-width: 1020px) { .nav-mobile .sheet { background: #0A0908 !important; } }
  .site-footer { border-top: 1px solid rgba(217, 178, 107, .22); }
  .btn.ghost { border-bottom-color: rgba(244, 238, 228, .35) !important; }
  .skip { background: #12100D; }
  /* Light surfaces become warm black panels with a fine gold edge. */
  .form-grid .field, .form-grid input, .form-grid select, .form-grid textarea, .form-status, .screener label, .screener-result,
  .chat, .chat-head, .chat-msg.them, .chat-msg.failed, .chat-compose textarea, .chat-dock .chat-compose input, .chat-logo, .search-dlg {
    background-color: #17140F !important; color: var(--ink) !important; }
  .form-grid .field { box-shadow: inset 0 0 0 1px rgba(217, 178, 107, .16) !important; }
  .form-grid .field:focus-within { background: #1D1913 !important; box-shadow: inset 0 0 0 1px rgba(217, 178, 107, .5), 0 0 0 4px rgba(217, 178, 107, .14) !important; }
  .form-grid input, .form-grid select, .form-grid textarea { background-color: transparent !important; }
  .chat { box-shadow: inset 0 0 0 1px rgba(217, 178, 107, .16), 0 30px 80px -30px #000 !important; }
  .chat-msg.them { box-shadow: inset 0 0 0 1px rgba(217, 178, 107, .12) !important; }
  .chat-msg.me, .chat-send, .chat-chip:hover, .chat-chip:focus-visible, .chat-chip.on { background: #EDE7DD !important; color: #15120F !important; box-shadow: none !important; }
  .chat-chip { background: transparent !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px rgba(244, 238, 228, .4) !important; }
  .chat-msg.failed { color: #F0A493 !important; }
  .chat-err { color: #F0A493; }
  .chat-compose textarea, .chat-dock .chat-compose input { box-shadow: inset 0 0 0 1px rgba(217, 178, 107, .25) !important; }
  .search-dlg { box-shadow: inset 0 0 0 1px rgba(217, 178, 107, .22), 0 40px 90px -30px #000 !important; }
  .search-dlg::backdrop { background: rgba(0, 0, 0, .6); }
  .search-results li.on a { background: rgba(217, 178, 107, .12); }
  .lp-logo { filter: drop-shadow(0 0 40px rgba(217, 178, 107, .18)) !important; }
  .npp .draft-banner { color: #F0A493; }
}
/* Chat bubbles: soft charcoal, no gold (Erin, 2026-10-24: "i dont really like the gold"). */
.chat-msg.me { background: #2A2420; color: #fff; box-shadow: 0 8px 20px -12px rgba(31, 26, 23, .6); }
.chat-send { background: #2A2420; box-shadow: 0 6px 16px -8px rgba(31, 26, 23, .6); }
.msg-chat .chat-msg.editable:hover, .msg-chat .chat-msg.editable:focus-visible { box-shadow: 0 0 0 3px rgba(31, 26, 23, .2); }
/* Insurance: billing question or superbill, as one text conversation (Erin picked "text-message style", 2026-10-24). */
.chat-group { max-width: 760px; }
.chat-group > h2 { margin-top: 0; }
.chat-group form.chat-off { display: none !important; }
.chat-grouped form .eyebrow, .chat-grouped form .form-title, .chat-grouped form .form-privacy { display: none; }
.chat-picker .form-privacy { margin-bottom: 18px; }
.chat-picker .chat-stream { min-height: 0; }

/* ── Document request forms, higher tech (Erin, 2026-10-24): glass panel, named progress, tap-to-choose answers,
      live checkmarks, drag-and-drop attachments, review before sending. Logic in js/site.js. ── */
form.lux-form { position: relative; padding: clamp(22px, 3.4vw, 40px); border-radius: 26px; background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 40px 80px -40px rgba(60, 45, 30, .35); }
form.lux-form .eyebrow { margin-top: 0; }
.lux-steps { margin: 20px 0 26px !important; }
.lux-steps .sc-count { color: var(--ink-3); letter-spacing: .14em; }
.lux-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.lux-track li { flex: 1; min-width: 0; }
.lux-seg { width: 100%; display: block; padding: 0; border: 0; background: none; text-align: left; cursor: default; color: var(--ink-3); font: 500 .76rem/1.3 var(--sans); }
.lux-seg i { display: block; height: 4px; border-radius: 0; background: var(--line); margin-bottom: 8px; position: relative; overflow: hidden; }
.lux-seg i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.lux-seg.done i::after, .lux-seg.now i::after { transform: scaleX(1); }
.lux-seg.now { color: var(--ink); }
.lux-seg.done { cursor: pointer; color: var(--ink-2); }
.lux-seg.done:hover span { text-decoration: underline; }
.lux-seg span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .lux-seg span { display: none; } }
.lux-in-fwd { animation: lux-fwd .45s var(--ease) both; }
.lux-in-back { animation: lux-back .45s var(--ease) both; }
@keyframes lux-fwd { from { opacity: 0; transform: translateX(24px); } }
@keyframes lux-back { from { opacity: 0; transform: translateX(-24px); } }
/* live checkmark on valid fields */
form.lux-form .form-grid .field { position: relative; transition: box-shadow .25s, background .25s; }
form.lux-form .field.is-ok::after { content: "✓"; position: absolute; right: 16px; top: 12px; font: 600 .82rem/1 var(--sans); color: #4E7A4A; animation: lxrise .3s var(--ease) both; }
form.lux-form .field.is-ok:has(input[type=date])::after { right: 50px; }
form.lux-form .field.is-bad { box-shadow: inset 0 0 0 1.5px #B8432C !important; }
form.lux-form .field:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 5px rgba(31, 26, 23, .06) !important; }
/* tap-to-choose answers */
.is-replaced { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.tap-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tap-choices button { border: 0; border-radius: 18px; padding: 9px 15px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1.5px rgba(31, 26, 23, .22);
  color: var(--ink); font: 500 .92rem/1.2 var(--sans); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.tap-choices button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tap-choices button.on { background: #2A2420; color: #fff; box-shadow: none; }
.tap-choices button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-grid .field:has(.tap-choices) { grid-column: 1 / -1; }
/* drag-and-drop attachments */
.drop-zone { margin-top: 8px; padding: 22px; border-radius: 16px; text-align: center; background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 1.5px rgba(31, 26, 23, .18); transition: background .2s, box-shadow .2s; }
.drop-zone.over { background: rgba(255, 255, 255, .95); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 6px rgba(31, 26, 23, .06); }
.drop-zone .dz-main { margin: 0; }
.drop-zone .hint { margin: 6px 0 0; }
.dz-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.drop-zone.has-files .dz-list { margin-top: 14px; border-top: 1px solid var(--line); }
.dz-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); animation: lxrise .3s var(--ease) both; }
.dz-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-size { font-size: .84rem; color: var(--ink-3); }
/* review before sending */
.lux-review { grid-column: 1 / -1; padding: 4px 0 8px; }
.lux-review-title { margin: 0 0 10px; font: 700 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.lux-review dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 32%) 1fr; border-top: 1px solid var(--line); }
.lux-review dt, .lux-review dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lux-review dt { color: var(--ink-3); font-size: .88rem; padding-right: 14px; }
.lux-review dd { display: flex; gap: 12px; justify-content: space-between; overflow-wrap: anywhere; white-space: pre-wrap; }
.lux-edit { flex: none; font-size: .82rem !important; }
@media (max-width: 600px) { .lux-review dl { grid-template-columns: 1fr; } .lux-review dt { border-bottom: 0; padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .lux-in-fwd, .lux-in-back, .lux-seg i::after { animation: none !important; transition: none !important; } }
@media (prefers-color-scheme: dark) {
  form.lux-form { background: rgba(20, 17, 14, .7); box-shadow: inset 0 0 0 1px rgba(217, 178, 107, .16), 0 40px 80px -40px #000; }
  .lux-seg i::after { background: var(--champ); }
  .tap-choices button { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(244, 238, 228, .35); }
  .tap-choices button.on { background: #EDE7DD; color: #15120F; }
  .drop-zone { background: #17140F; box-shadow: inset 0 0 0 1.5px rgba(217, 178, 107, .25); }
  .drop-zone.over { background: #1D1913; box-shadow: inset 0 0 0 2px var(--champ); }
  form.lux-form .field.is-ok::after { color: #8CC08A; }
  form.lux-form .field:focus-within { box-shadow: inset 0 0 0 1.5px var(--champ), 0 0 0 5px rgba(217, 178, 107, .1) !important; }
}
/* Short phone screens (e.g. iPhone Duo folded, 466×678): the menu fits without scrolling. */
@media (max-width: 1020px) and (max-height: 760px) {
  .nav-mobile .sheet li a { font-size: 1.5rem !important; padding: 9px 0 !important; }
  .nav-mobile .sheet { padding-top: 10px !important; }
}
/* Practice team: one person since Katie Lehnig was removed (Erin, 2026-10-25), so centre a single card. */
.people-staff:has(> li:only-child) { grid-template-columns: minmax(0, 360px) !important; justify-content: center; }
/* Team page: four people in two rows of two (Erin, 2026-10-25). */
.people.people-grid2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 56px 64px; }
@media (max-width: 560px) { .people.people-grid2 { grid-template-columns: 1fr; } }

/* ── Patient portal: the EKM OS home-page LOOK (Erin, 2026-10-25: "just the design", not its content). Same screens and
      content as before; frosted glass panels, Italiana display type, wide-spaced labels. Linen by default; navy-slate
      glass when the patient's device is in dark mode. ── */
.portal-screen { --pglass: rgba(255, 255, 255, .52); --pglass-edge: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .6);
  --pglass-shadow: 0 30px 70px -40px rgba(60, 45, 30, .35); }
.portal-screen .portal-label { font: 600 .74rem/1.3 var(--sans) !important; letter-spacing: .3em !important; text-transform: uppercase; color: var(--ink-2) !important; }
.portal-screen .portal-hello { font: 400 clamp(2.8rem, 6vw, 4.8rem)/1 var(--hero) !important; letter-spacing: .03em !important; }
.portal-screen .portal-title { font: 400 clamp(2.4rem, 5vw, 3.8rem)/1.05 var(--hero) !important; letter-spacing: .02em !important; }
.portal-screen .portal-when { font: 400 clamp(2.2rem, 4.4vw, 3.4rem)/1.05 var(--hero) !important; letter-spacing: .02em; }
.portal-screen .portal-next-label { letter-spacing: .3em; }
/* glass panels: the next-visit box, the to-do list, "Your portal" groups and "Need something?" on home; every top-level list
   and the profile/billing blocks on the inner screens */
.portal-overview > div:first-child > div:has(.portal-when),
.portal-overview .portal-quick,
.portal-overview > div:last-child,
.portal-screen > .portal-list, .portal-screen > ul.portal-list, .portal-screen > .portal-dl, .portal-screen > section,
.portal-screen > div:has(> .portal-list:only-child),
.portal-screen .portal-profile > section {
  padding: clamp(20px, 2.6vw, 32px) clamp(20px, 2.6vw, 34px); border-radius: 26px; background: var(--pglass);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--pglass-edge), var(--pglass-shadow); }
.portal-overview > div:first-child > div:has(.portal-when) { margin-top: 28px; }
.portal-overview .portal-quick { margin-top: 28px; border-top: 0 !important; max-width: none; }
.portal-overview > div:first-child > div:has(.portal-when) > :first-child { margin-top: 0; }
.portal-overview > div:last-child .portal-groups section:first-child { margin-top: 28px; }
.portal-screen > div:has(> .portal-list:only-child) .portal-list li:last-child,
.portal-screen > .portal-list li:last-child, .portal-overview .portal-quick .portal-list li:last-child { border-bottom: 0; }
.portal-screen > * + .portal-list, .portal-screen > * + section { margin-top: 24px; }
.portal-screen .portal-profile { gap: 24px; }
.portal-screen .portal-profile > section { border-top: 0; }
@media (prefers-color-scheme: dark) {
  body[data-section="patient-portal"] { --bg-0: #1B2433; --bg-1: #273042; --bg-2: #3A4252; --ink: #F3F4F7; --ink-2: #CDD2DC; --ink-3: #A3AABA;
    --line: rgba(255, 255, 255, .1); --accent: #B9C6E4; --champ: #C9D3EA;
    --wash-a: rgba(120, 140, 180, .18); --wash-b: rgba(90, 100, 130, .2); --wash-c: rgba(150, 160, 185, .12);
    --orb-a: rgba(140, 155, 190, .14); --orb-b: rgba(90, 105, 140, .14); --orb-c: rgba(120, 130, 160, .1); --orb-d: rgba(80, 90, 120, .12); }
  html:has(body[data-section="patient-portal"]) { background: #1B2433 !important; }
  body[data-section="patient-portal"] .site-header { background: linear-gradient(180deg, #1B2433 0%, #1B2433 60%, rgba(27, 36, 51, 0) 100%) !important; }
  body[data-section="patient-portal"] .site-header .wrap { background: rgba(40, 48, 64, .92) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 28px 56px -30px #000 !important; }
  .portal-screen { --pglass: rgba(48, 56, 74, .62); --pglass-edge: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .07); --pglass-shadow: 0 30px 70px -40px #000; }
  body[data-section="patient-portal"] .portal-groups section { border-top-color: rgba(255, 255, 255, .55); }
}

/* ── Patient portal glass, more transparent and high tech (Erin, 2026-10-25): see-through frosted panels with a lit edge,
      a sheen that follows the pointer, brighter drifting light behind them, and panels that rise in. ── */
body[data-section="patient-portal"] { --orb-a: rgba(255, 255, 255, .95); --orb-b: rgba(222, 196, 160, .55); --orb-c: rgba(206, 214, 222, .55); --orb-d: rgba(232, 214, 190, .55);
  --wash-a: rgba(226, 206, 178, .5); --wash-b: rgba(214, 220, 226, .45); --wash-c: rgba(236, 222, 204, .45); }
body[data-section="patient-portal"] .ambient i { filter: blur(54px); }
:is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
    .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
    .portal-screen .portal-profile > section) {
  position: relative; isolation: isolate;
  background: linear-gradient(140deg, rgba(255, 255, 255, .46) 0%, rgba(255, 255, 255, .16) 55%, rgba(255, 255, 255, .26) 100%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(185%) brightness(1.04); backdrop-filter: blur(30px) saturate(185%) brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(60, 45, 30, .05), 0 34px 80px -42px rgba(60, 45, 30, .45) !important;
  animation: glass-rise .7s var(--ease) both;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
/* lit edge: a 1px gradient border, bright top-left fading to clear */
:is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
    .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
    .portal-screen .portal-profile > section)::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 40%, rgba(255, 255, 255, .05) 70%, rgba(255, 255, 255, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
/* sheen that follows the pointer (position set by js/portal.js) */
:is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
    .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
    .portal-screen .portal-profile > section)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 60%);
}
:is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
    .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
    .portal-screen .portal-profile > section):hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(60, 45, 30, .05), 0 40px 90px -40px rgba(60, 45, 30, .55) !important; }
:is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
    .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
    .portal-screen .portal-profile > section):hover::after { opacity: 1; }
.portal-overview > div:last-child { animation-delay: .08s; }
.portal-overview .portal-quick { animation-delay: .14s; }
.portal-screen .portal-profile > section:nth-child(2) { animation-delay: .05s; } .portal-screen .portal-profile > section:nth-child(3) { animation-delay: .1s; }
.portal-screen .portal-profile > section:nth-child(4) { animation-delay: .15s; } .portal-screen .portal-profile > section:nth-child(n+5) { animation-delay: .2s; }
@keyframes glass-rise { from { opacity: 0; transform: translateY(16px) scale(.985); } }
/* rows light up under the pointer */
.portal-screen .portal-list li { position: relative; transition: background .25s var(--ease); }
.portal-screen .portal-list li:has(.portal-go:hover, a:hover) { background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45) 30%, rgba(255, 255, 255, 0)); }
@media (prefers-reduced-motion: reduce) {
  .portal-screen *, .portal-overview > div { animation: none !important; transition: none !important; }
  :is(.portal-overview > div, .portal-screen > section, .portal-screen .portal-profile > section):hover { transform: none !important; }
}
@media (prefers-color-scheme: dark) {
  body[data-section="patient-portal"] { --orb-a: rgba(150, 170, 215, .3); --orb-b: rgba(110, 130, 180, .3); --orb-c: rgba(170, 180, 210, .22); --orb-d: rgba(90, 110, 160, .28);
    --wash-a: rgba(120, 140, 190, .3); --wash-b: rgba(90, 105, 150, .3); --wash-c: rgba(150, 165, 200, .2); }
  :is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
      .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
      .portal-screen .portal-profile > section) {
    background: linear-gradient(140deg, rgba(120, 135, 170, .26) 0%, rgba(50, 60, 82, .2) 55%, rgba(80, 92, 120, .24) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 34px 80px -42px #000 !important; }
  :is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
      .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
      .portal-screen .portal-profile > section)::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, 0) 70%, rgba(185, 198, 228, .35)); }
  :is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
      .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
      .portal-screen .portal-profile > section)::after {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(185, 198, 228, .16), transparent 60%); }
  :is(.portal-overview > div:first-child > div:has(.portal-when), .portal-overview .portal-quick, .portal-overview > div:last-child,
      .portal-screen > .portal-list, .portal-screen > .portal-dl, .portal-screen > section, .portal-screen > div:has(> .portal-list:only-child),
      .portal-screen .portal-profile > section):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 40px 90px -40px #000 !important; }
  .portal-screen .portal-list li:has(.portal-go:hover, a:hover) { background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(185, 198, 228, .1) 30%, rgba(255, 255, 255, 0)); }
}
