/* Layout: sky-to-forest opener (peach sky with the headline, the mountain, the forest
   running into a navy facts band), then quiet snow-white reading pages. One deliberate look, light only. */
:root {
  color-scheme: light;
  --sky-top: #e2baac;     /* the photo's sky, extended a little lighter upward */
  --sky: #d8988e;         /* center of the photo's top edge */
  --night: #022b42;       /* sampled forest floor; navy bands */
  --slate: #1f4a63;
  --glow: #a9503f;        /* alpenglow, deepened for button contrast */
  --glow-soft: #f3ddd5;
  --snow: #f7f8f7;
  --mist: #eaf0f1;
  --ink: #142630;
  --muted: #4c5e68;
  --line: #d3dee2;
  --white: #ffffff;
  --on-dark: #e9f1f4;
  --on-dark-muted: #a9c2cf;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --label: "Barlow Semi Condensed", "Barlow", "Arial Narrow", sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.5rem);
  --step-4: clamp(2.3rem, 5.2vw, 3.7rem);

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1200px;
  --measure: 66ch;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--glow); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); display: grid; gap: 1.1em; }
.prose h2 { margin-top: 1.2em; }
.prose h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 600; margin-top: .6em; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: .45em; }
.label {
  font-family: var(--label); font-weight: 600; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--glow);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Placeholders the owner must fill before launch */
.ph { background: #fff3c4; color: #5a4300; border: 1px dashed #b8901c; padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--glow); color: var(--white); }
.btn-primary:hover { background: #8f4334; color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--snow); }
.btn-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn-light:hover { background: var(--on-dark); color: var(--night); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--snow) 94%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 48px; height: 31px; flex: none; }
.brand-name { white-space: nowrap; font-family: var(--display); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--label); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--glow); }
.header-call { display: none; }
.menu { display: none; }
@media (max-width: 1140px) {
  .nav, .header-cta { display: none; }
  .header-call { display: inline-flex; min-height: 42px; padding: .45em 1em; font-size: .95rem; }
  .menu { display: block; position: relative; }
  .menu summary {
    list-style: none; cursor: pointer; min-height: 42px; padding: .45em .9em; border-radius: 999px;
    border: 2px solid var(--ink); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--ink); color: var(--snow); }
  .menu-panel {
    position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px));
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(2, 43, 66, .18); padding: 10px; display: grid;
  }
  .menu-panel a { padding: 11px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
  .menu-panel a:hover { background: var(--mist); }
  .menu-panel .menu-group { font-family: var(--label); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; font-weight: 600; }
}
@media (max-width: 1140px) { .header-row { min-height: 72px; } .brand svg { width: 38px; height: 25px; } .brand-name { font-size: 1.45rem; } }
@media (max-width: 420px) { .brand-name small { display: none; } .brand-name { font-size: 1.2rem; white-space: normal; } .header-row { gap: 10px; } .header-call, .menu summary { padding-inline: .8em; } .brand svg { width: 32px; height: 21px; } }

/* Home opener: sky, mountain, forest, facts */
.opener {
  /* Continues the photo's own sky: lighter peach above, its darker cooler edges at the sides */
  background:
    linear-gradient(90deg, rgba(196,130,127,.35) 0%, rgba(196,130,127,0) 32%, rgba(180,122,100,0) 66%, rgba(180,122,100,.42) 100%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky) 100%);
}
.opener-text { padding-block: clamp(24px, 4vw, 50px) clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.opener h1 { max-width: 21ch; color: var(--night); }
.opener .lede { font-size: var(--step-1); max-width: 46ch; color: #2a2a33; }
.opener .label { color: var(--night); opacity: .8; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.opener .btn-ghost { border-color: var(--night); color: var(--night); }
.opener .btn-ghost:hover { background: var(--night); color: var(--sky-top); }
.opener-photo {
  display: block; width: 100%; aspect-ratio: 3072 / 1463; object-fit: cover; object-position: 50% 0%; margin-top: -1px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%);
}
@media (max-width: 640px) { .opener-photo { aspect-ratio: 4 / 3; object-position: 50% 30%; } .facts { margin-top: -56px; background: linear-gradient(180deg, rgba(2,43,66,0) 0, rgba(2,43,66,.75) 32px, var(--night) 56px); } }

.facts {
  position: relative; margin-top: -88px; color: var(--on-dark);
  /* rises into the dark forest at the foot of the photo */
  background: linear-gradient(180deg, rgba(2,43,66,0) 0, rgba(2,43,66,.7) 44px, var(--night) 88px);
}
.facts ul { list-style: none; margin: 0; padding-block: 28px 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts li { display: grid; gap: 4px; min-width: 0; align-content: start; }
.facts .k { font-family: var(--label); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.facts .v { font-size: 1.05rem; font-weight: 500; line-height: 1.4; }
.facts .ph { font-size: .95rem; }
@media (max-width: 860px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .facts ul { grid-template-columns: 1fr; gap: 16px; } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tint { background: var(--mist); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 60ch; }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

.intro { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.intro figure { margin: 0; }
.intro img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.intro figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.intro figcaption strong { color: var(--ink); display: block; font-weight: 600; }
@media (max-width: 720px) { .intro { grid-template-columns: 1fr; } .intro figure { max-width: 260px; } }

/* Conditions list */
.conditions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.conditions li { border-bottom: 1px solid var(--line); }
.conditions a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: baseline;
  padding: 22px 4px; text-decoration: none; color: var(--ink);
}
.conditions a:hover { background: color-mix(in srgb, var(--glow-soft) 55%, transparent); }
.conditions .name { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; }
.conditions .desc { color: var(--muted); }
.conditions .go { font-weight: 600; color: var(--glow); white-space: nowrap; }
.conditions .primary .name::after { content: ""; }
@media (max-width: 760px) { .conditions a { grid-template-columns: 1fr; } .conditions .go { display: none; } }
.also { margin-top: 20px; color: var(--muted); max-width: var(--measure); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); min-width: 0; }
.steps li::before { content: "Step " counter(step); font-family: var(--label); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); }
.steps h3 { font-family: var(--body); font-size: var(--step-1); font-weight: 600; }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split band (insurance / clinicians) */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.split > div { display: grid; gap: 14px; align-content: start; min-width: 0; }
.plans { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.plans li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 600; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.band-dark { background: var(--night); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark p { color: var(--on-dark); }
.band-dark .label { color: #f0b4a5; }
.band-dark a:not(.btn) { color: #f6c9bd; }

/* Subpage header */
.page-head { background: linear-gradient(180deg, var(--sky-top), var(--sky)); padding-block: clamp(36px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.page-head .wrap { display: grid; gap: 14px; }
.page-head h1 { color: var(--night); max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-head .lede { font-size: var(--step-1); max-width: 54ch; color: #2a2a33; }
.crumbs { font-family: var(--label); font-size: .85rem; letter-spacing: .06em; font-weight: 600; }
.crumbs a { color: var(--night); }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside h2 { font-size: 1.35rem; }
.aside p { color: var(--muted); font-size: .98rem; }
.aside .btn { width: 100%; }
.aside .tel { font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; }
@media (max-width: 900px) { .page-body { grid-template-columns: 1fr; } .aside { position: static; } }

/* Tables (fees) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 440px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--mist); }
td.num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; color: var(--glow); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding-bottom: 22px; color: var(--muted); max-width: var(--measure); display: grid; gap: .8em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-embed { display: grid; gap: 12px; min-width: 0; }
.form-embed iframe { width: 100%; height: 2290px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.form-fallback { font-size: .95rem; color: var(--muted); }
@media (max-width: 640px) { .form-embed iframe { height: 2400px; } }
@media (max-width: 820px) { .contact-grid .prose { order: -1; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; gap: 2px; }
.info-list .k { font-family: var(--label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-list .v { font-size: 1.1rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta { background: var(--night); color: var(--on-dark); padding-block: clamp(48px, 7vw, 80px); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.cta h2 { color: var(--white); }
.cta p { color: var(--on-dark-muted); margin-top: 10px; max-width: 52ch; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #011d2c; color: var(--on-dark-muted); padding-block: 48px 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-family: var(--label); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); font-weight: 600; margin-bottom: 12px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #f6c9bd; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; display: grid; gap: 6px; }
.footer-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid #12384d; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
