/* Maughan Psychiatry — site styles v0.9 (all pages: editorial botanical) */

/* Self-hosted fonts (SIL Open Font License). No requests to Google. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/fraunces-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Anchor (from the chosen logo) */
  --burgundy: #5C1A2B;
  --burgundy-dark: #45121F;
  --footer: #3F1220;
  --champagne: #B8956A;          /* hairlines + frames, decorative only */
  --hairline: rgba(184, 149, 106, .45);
  /* Bitterroot palette */
  --ivory: #FCF4E9;              /* cream paper */
  --paper: #FFFBF5;              /* plate + card paper */
  --blush: #F6E6E2;              /* one soft band */
  --petal: #F8E3E1;
  --leaf: #56623A;               /* small caps accent (6.0:1 on cream) */
  /* Red + purple (requested) */
  --red: #C93A18;                /* booking buttons only (white text 5.1:1) */
  --red-dark: #A82F12;
  --violet: #9B3D96;             /* italic accent words (5.5:1 on cream) */
  --pink-ink: #F4BCC6;           /* italic accent on burgundy (8.5:1) */
  /* Neutrals */
  --ink: #2F2926;                /* body text */
  --taupe: #6E6460;              /* small print (5.3:1 on cream) */
  --white: #FFFFFF;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --max: 1120px;
  --read: 640px;
  --gutter: 20px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 1.125rem; line-height: 1.7;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif); color: var(--burgundy); font-weight: 400;
  line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.015em;
  font-variant-numeric: lining-nums;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.35rem; letter-spacing: -.005em; }
.hl { font-style: italic; font-weight: 400; color: var(--violet); }

p { margin: 0 0 1em; }
a { color: var(--burgundy); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--violet); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--burgundy); color: var(--white); padding: .6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--read); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--blush { background: var(--blush); }
.rule { border: 0; height: 1px; background: var(--hairline); margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--leaf); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--champagne); }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--champagne); }
.lead { font-size: 1.2rem; color: var(--ink); }
.muted { color: var(--taupe); }
.small { font-size: .95rem; }

/* Buttons: quiet, squared */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .85rem 1.75rem; border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: .03em; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid var(--burgundy);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--burgundy); }
.btn--secondary:hover { background: var(--burgundy); color: var(--white); }
.btn--light { background: var(--ivory); border-color: var(--ivory); color: var(--red); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--red-dark); }
.btn--sm { min-height: 42px; padding: .5rem 1.15rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 1.5rem; }

/* Header + logo lockup */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 244, 233, .97); border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 80px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; color: var(--burgundy); }
.logo:hover { text-decoration: none; color: var(--burgundy); }
.logo__mark { width: 44px; height: 44px; flex: 0 0 44px; }
.logo__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__name { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; letter-spacing: .02em; }
.logo__sub { display: flex; align-items: center; gap: .45rem; font-family: var(--serif); font-style: italic; font-size: .92rem; margin-top: .2rem; }
.logo__sub::before, .logo__sub::after { content: ""; width: 18px; height: 1px; background: var(--champagne); }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--hairline); border-radius: var(--radius); color: var(--burgundy); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 600; letter-spacing: .03em; padding: .5rem 0; }
.site-nav a:hover { color: var(--burgundy); text-decoration: underline; text-decoration-color: var(--champagne); }

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; order: 3; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--hairline); }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .site-nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--hairline); font-size: 1.05rem; }
  .header-inner { position: relative; gap: .6rem; }
}
@media (max-width: 480px) {
  .logo { gap: .5rem; }
  .logo__mark { width: 34px; height: 34px; flex-basis: 34px; }
  .logo__name { font-size: 1.25rem; }
  .logo__sub { font-size: .78rem; }
  .logo__sub::before, .logo__sub::after { width: 10px; }
  .header-inner .btn--sm { padding: .5rem .85rem; }
}

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.25rem; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 5rem; } }
.hero .lead { max-width: 34rem; }
.hero-note { font-size: .95rem; color: var(--taupe); margin: 0; letter-spacing: .01em; }
.hero-note span { display: inline-block; white-space: nowrap; }
.hero-note span + span::before { content: "·"; color: var(--champagne); margin: 0 .6rem; }
@media (max-width: 599px) { .hero .btn-row .btn { flex: 1 1 100%; } }

/* Botanical plate: the 1917 illustration, matted like a print */
.plate { justify-self: center; width: min(100%, 420px); margin: 0; background: var(--paper); border: 1px solid var(--champagne); padding: 12px; box-shadow: 0 18px 40px -24px rgba(92, 26, 43, .35); }
.plate__inner { border: 1px solid var(--hairline); padding: 2rem 1.75rem 1.25rem; background: radial-gradient(ellipse 70% 45% at 50% 30%, var(--petal) 0, rgba(248, 227, 225, 0) 100%); }
.bitterroot { display: block; width: 86%; margin: 0 auto; }
.bitterroot img { width: 100%; height: auto; }
.plate figcaption { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--hairline); text-align: center; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--taupe); line-height: 1.45; }
.plate figcaption .sc { display: block; font-family: var(--sans); font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--leaf); margin-bottom: .2rem; }
@media (max-width: 899px) { .plate { width: min(86%, 340px); } }

/* At a glance: quiet strip between hairlines */
.glance { list-style: none; margin: 0; padding: 1.3rem 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 0; }
.glance li { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); padding: 0 .75rem; }
@media (min-width: 900px) {
  .glance { grid-template-columns: repeat(4, 1fr); }
  .glance li + li { border-left: 1px solid var(--hairline); }
}

/* Steps */
.steps { list-style: none; margin: 3.25rem 0 0; padding: 0; display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.step { border-top: 1px solid var(--hairline); padding-top: 1.5rem; }
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--violet); margin-bottom: 1rem; font-variant-numeric: lining-nums; }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; }

/* Meet */
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.15fr .85fr; gap: 5rem; align-items: center; } }
.creds { margin: 0; padding: 0; }
.creds div { padding: 1.15rem 0; border-top: 1px solid var(--hairline); }
.creds div:last-child { border-bottom: 1px solid var(--hairline); }
.creds dt { font-family: var(--serif); font-size: 1.3rem; color: var(--burgundy); line-height: 1.25; }
.creds dd { margin: .2rem 0 0; font-size: 1rem; color: var(--taupe); }
.text-link { font-weight: 600; letter-spacing: .02em; text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 3px; color: var(--burgundy); }
.text-link:hover { color: var(--red); text-decoration: none; }
.text-link::after { content: " →"; }

/* Services */
.services { display: grid; gap: 2.5rem; margin-top: 3.25rem; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.service { border-top: 1px solid var(--burgundy); padding-top: 1.5rem; }
.service h3 { margin-bottom: .45rem; }
.service p { margin: 0; }

/* Conditions: two-column list with hairlines */
.conditions { list-style: none; margin: 2.5rem 0 0; padding: 0; columns: 1; column-gap: 3rem; }
@media (min-width: 700px) { .conditions { columns: 2; } }
.conditions li { break-inside: avoid; padding: .85rem 0; border-bottom: 1px solid var(--hairline); font-family: var(--serif); font-size: 1.2rem; color: var(--burgundy); line-height: 1.35; }
.fit { margin-top: 2.5rem; max-width: var(--read); }
.fit p { margin: 0 0 .5rem; }
.fit .small { color: var(--taupe); }

/* Fees */
.fees-grid { display: grid; gap: 3rem; margin-top: 3rem; }
@media (min-width: 860px) { .fees-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.fees-grid h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1.25rem; font-size: .8rem; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--hairline); }
.price-list li:first-child { border-top: 1px solid var(--hairline); }
.price-list .name { font-family: var(--serif); font-size: 1.25rem; color: var(--burgundy); }
.price-list .leader { flex: 1; border-bottom: 1px dotted var(--champagne); transform: translateY(-.3em); }
.price-list .amt { font-family: var(--serif); font-size: 1.6rem; color: var(--burgundy); font-variant-numeric: lining-nums; }
.price-note { margin: 1.1rem 0 0; font-size: .98rem; color: var(--taupe); }
.ins-list { list-style: none; margin: 0; padding: 0; }
.ins-list li { padding: 1rem 0; border-bottom: 1px solid var(--hairline); }
.ins-list li:first-child { border-top: 1px solid var(--hairline); }
.ins-list .tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); margin-right: .5rem; }
.ins-list .tag--pending { color: var(--taupe); }

/* CTA: burgundy panel with an inset hairline frame */
.cta-wrap { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.cta-panel { position: relative; background: var(--burgundy); color: var(--petal); text-align: center; padding: clamp(3.25rem, 8vw, 5rem) 1.5rem; }
.cta-panel::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(184, 149, 106, .55); pointer-events: none; }
.cta-panel > * { position: relative; }
.cta-panel h2 { color: var(--white); }
.cta-panel h2 .hl { color: var(--pink-ink); }
.cta-panel p { color: var(--petal); }
.cta-panel a:not(.btn) { color: var(--white); }
.cta-panel .btn-row { justify-content: center; }
.cta-panel :focus-visible, .site-footer :focus-visible { outline-color: var(--pink-ink); }

/* Footer */
.site-footer { background: var(--footer); color: var(--petal); padding: 3.25rem 0 2rem; font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white); font-weight: 600; margin-bottom: .9rem; }
.crisis { border: 1px solid rgba(184, 149, 106, .6); padding: 1rem 1.25rem; margin: 0 0 2.75rem; color: var(--white); font-weight: 600; font-size: 1.05rem; display: flex; gap: .75rem; align-items: center; }
.crisis svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--pink-ink); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; } }
.footer-logo { display: inline-flex; color: var(--ivory); margin-bottom: 1rem; }
.footer-logo:hover { color: var(--ivory); }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-bottom { border-top: 1px solid rgba(184, 149, 106, .35); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Inner pages ---------- */
.site-nav a[aria-current="page"] { color: var(--burgundy); text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: .45em; }

.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.25rem, 5vw, 3.25rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 38rem; margin-bottom: 0; }
.page-hero--policy h1 { max-width: none; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: start; } }
.kicker { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1rem; }
.hair-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.hair-list li { padding: .85rem 0; border-bottom: 1px solid var(--hairline); }
.hair-list li:first-child { border-top: 1px solid var(--hairline); }
.prose h3 { font-size: 1.3rem; margin: 1.75rem 0 .4rem; }
.prose h3:first-child { margin-top: 0; }

/* Services detail rows */
.detail-list { display: grid; gap: 0; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 2.5rem 0; border-top: 1px solid var(--hairline); }
.detail:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 820px) { .detail { grid-template-columns: 7rem minmax(0, 1fr); gap: 2rem; } .detail > div { max-width: 44rem; } }
.detail h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.detail p:last-child { margin-bottom: 0; }

/* About */
.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 900px) { .bio-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; } }
.plate--photo { width: min(100%, 380px); justify-self: center; }
.plate--photo .plate__inner { padding: 1rem 1rem .9rem; background: none; }
.plate--photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.steps--four { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; } }

/* Painting versions of the bitterroot (watercolor / acrylic): show the full sheet */
.plate--painting .plate__inner { padding: 1rem 1rem .9rem; background: none; }
.plate--painting .bitterroot { width: 100%; }

/* FAQ */
.faq-list { display: grid; }
.faq { border-bottom: 1px solid var(--hairline); }
.faq:first-child { border-top: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--burgundy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--sans); font-size: 1.5rem; font-weight: 400; color: var(--violet); line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--violet); }
.faq__a { padding: 0 2.5rem 1.4rem 0; }
.faq__a p:last-child { margin-bottom: 0; }

/* Contact / booking */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 4rem; align-items: start; } }
.booking { background: var(--paper); border: 1px solid var(--hairline); padding: clamp(1rem, 3vw, 2rem); min-height: 420px; }
.booking-placeholder { display: grid; place-items: center; text-align: center; min-height: 380px; border: 1px dashed var(--champagne); color: var(--taupe); padding: 2rem; }
.contact-card .hair-list { margin-bottom: 1.25rem; }
.crisis-callout { background: var(--burgundy); color: var(--petal); padding: 1.1rem 1.25rem; margin: 0 0 2rem; }
.crisis-callout strong { color: var(--white); }

/* Policy pages */
.legal h2 { font-size: 1.45rem; margin: 2.25rem 0 .6rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .6rem; }
.draft-flag { background: #FFF4D6; border: 1px solid #E2C46F; color: #5A4300; padding: .75rem 1rem; font-size: .95rem; margin: 0 0 1.75rem; }

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