/* ============================================================
   Lorrina Whalen, PMHNP-BC — Site Stylesheet
   Layout concept: single centered column (max 760px) of warm,
   editorial sections separated by thin botanical dividers —
   a quiet, classy clinical-letterpress feel, not a dashboard.
   ============================================================ */

:root {
  /* color */
  --bg: #FAF6F0;
  --surface: #FFFDF9;
  --ink: #3A2E27;
  --ink-soft: #6B5A4E;
  --rose: #7A3B4A;
  --rose-soft: #F3E4E6;
  --gold: #B8985A;
  --green: #4A5A42;
  --brown: #5C4433;
  --border: rgba(58, 46, 39, 0.14);
  color-scheme: light;

  /* type */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #211A16;
    --surface: #2B221C;
    --ink: #F2E9E1;
    --ink-soft: #CDBBAF;
    --rose: #DE93A4;
    --rose-soft: rgba(222, 147, 164, 0.14);
    --gold: #DABC7E;
    --green: #93B285;
    --brown: #CC9D76;
    --border: rgba(242, 233, 225, 0.16);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #211A16;
  --surface: #2B221C;
  --ink: #F2E9E1;
  --ink-soft: #CDBBAF;
  --rose: #DE93A4;
  --rose-soft: rgba(222, 147, 164, 0.14);
  --gold: #DABC7E;
  --green: #93B285;
  --brown: #CC9D76;
  --border: rgba(242, 233, 225, 0.16);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  padding-inline: 20px;
  padding-block: env(safe-area-inset-top, 0px) 0;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--rose);
  margin: 0;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h3 { font-size: 1.2rem; color: var(--brown); }

p { margin: 0; }

a { color: var(--rose); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--rose); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Shell ---------- */

.shell {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---------- Header / nav ---------- */

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-block: 28px 20px;
  text-align: center;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
}
.site-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--rose);
  border-bottom-color: var(--gold);
}

/* ---------- Divider ---------- */

.divider {
  width: 100%;
  max-width: 220px;
  height: 22px;
  display: block;
  margin: 8px auto;
}

/* ---------- Sections ---------- */

section {
  padding-block: 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
section:last-of-type { border-bottom: none; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.prose { max-width: 640px; margin-inline: auto; width: 100%; }
.prose + .prose { margin-top: 6px; }
.prose p { margin-bottom: 1em; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */

.hero {
  padding-block: 20px 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero h1 { max-width: 620px; }
.hero .lede { font-size: 1.25rem; }

/* ---------- Buttons ---------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--rose);
  color: var(--surface);
}
.btn-primary:hover { background: var(--brown); }
.btn-secondary {
  background: transparent;
  color: var(--rose);
  border-color: var(--gold);
}
.btn-secondary:hover { background: var(--rose-soft); }

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill {
  background: var(--rose-soft);
  color: var(--rose);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Quote ---------- */

blockquote {
  margin: 0;
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--brown);
  line-height: 1.5;
}
blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Photo placeholder ---------- */

.photo-badge {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rose-soft);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--rose);
  margin-inline: auto;
}
.photo-caption {
  text-align: center;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 8px;
}

.photo-frame {
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  margin-inline: auto;
  box-shadow: 0 10px 28px rgba(58, 46, 39, 0.2);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.photo-frame-sm {
  width: 140px;
}

/* ---------- Callout / crisis box ---------- */

.callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--rose);
  background: var(--rose-soft);
  border-radius: 10px;
  padding: 18px 20px;
  max-width: 640px;
  margin-inline: auto;
  width: 100%;
}
.callout p { color: var(--ink); }
.callout strong { color: var(--rose); }

.draft-banner {
  background: var(--rose-soft);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  max-width: 640px;
  margin-inline: auto;
  font-size: 0.88rem;
  color: var(--brown);
  text-align: center;
}

/* ---------- Steps ---------- */

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 600px;
  margin-inline: auto;
  width: 100%;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 34px;
}
.step-body h3 { margin-bottom: 4px; }
.step-body p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 660px;
  margin-inline: auto;
  width: 100%;
}
.faq-item h3 { color: var(--rose); margin-bottom: 6px; }
.faq-item p { color: var(--ink); }

/* ---------- Contact form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brown);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); }
.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  min-height: 1.2em;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.phone-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--rose);
  letter-spacing: 0.02em;
}
.copy-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.copy-btn:hover { background: var(--rose-soft); }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 32px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer p {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.site-footer a { color: var(--ink-soft); }
.crisis-note strong { color: var(--rose); }
.footer-links a { margin-inline: 6px; }

@media (max-width: 480px) {
  .site-nav { gap: 6px 14px; }
  .phone-number { font-size: 1.3rem; }
}
