/* ============================================================
   Dr. Laura Dudley — Design 4 (Synthesis)
   From Laura's recorded feedback: keep D1 green + Fraunces, WARM it up
   (rounded, soft, human, a touch of her current-site softness); narrative
   spine (no columns/doors); serious research; arms-length practice.
   ============================================================ */

:root {
  --paper:      #FBF7F1;   /* warm ivory */
  --paper-2:    #F4ECE0;
  --rose:       #EBD9D2;   /* soft warmth from her current site */
  --rose-soft:  #EBD9D255;
  --ink:        #2B2620;   /* warm near-black, softer than D1 */
  --muted:      #71685C;
  --line:       #E8E0D2;
  --forest:     #2F4739;   /* the green she liked — "trees, professional" */
  --forest-2:   #3C5A48;
  --forest-soft:#2F47391A;
  --clay:       #B0664B;
  --clay-soft:  #B0664B1A;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --page-max: 840px;
  --measure:  78ch;
  --r: 16px;               /* rounded = warmth */
  --space-section: 2.9rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.72; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
em { font-style: italic; }
section[id] { scroll-margin-top: 76px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; font-size: .85rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 3px; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.masthead-inner { max-width: var(--page-max); margin: 0 auto; padding: .85rem 1.5rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.brand small { font-family: var(--body); font-weight: 600; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-left: .5rem; }
.brand:hover { text-decoration: none; color: var(--forest); }
.nav { font-family: var(--body); font-size: .8rem; font-weight: 500; letter-spacing: .02em; display: flex; gap: 1.3rem; flex-wrap: wrap; }
.nav a { color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--forest); text-decoration: none; }

/* ---------- Layout ---------- */
.wrap, .hero, .section, .footer-inner { max-width: var(--page-max); margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.section-label { font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin: 0 0 1.1rem; }
.section-label::before { content: ""; display: inline-block; width: 1.6rem; height: 2px; background: var(--clay); vertical-align: middle; margin-right: .7rem; position: relative; top: -.2em; }
.section-title { font-family: var(--display); font-weight: 540; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.4rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 1rem; }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.2rem; font-size: 1.06rem; }
.prose .lead-cap::first-letter { font-family: var(--display); font-size: 3.4rem; line-height: .8; float: left; padding: .1rem .5rem .1rem 0; color: var(--forest); font-weight: 600; }

/* ---------- Buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.btn { font-family: var(--body); font-size: .82rem; font-weight: 600; padding: .64rem 1.15rem; border-radius: 999px; border: 1px solid var(--forest); color: var(--forest); background: transparent; transition: all .15s ease; cursor: pointer; }
.btn:hover { background: var(--forest); color: var(--paper); text-decoration: none; }
.btn-primary { background: var(--forest); color: var(--paper); }
.btn-primary:hover { background: var(--forest-2); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding-top: 4.2rem; padding-bottom: 3.4rem; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.eyebrow { font-family: var(--body); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: 0 0 1rem; }
.hero-name { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 4vw, 3.9rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .3rem; }
.hero-creds { font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); margin: 0 0 1.3rem; }
.hero-lede { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); line-height: 1.42; max-width: 26ch; margin: 0 0 1.1rem; }
.hero-lede strong { font-weight: 600; color: var(--forest); }
.hero-affil { font-family: var(--body); font-size: .9rem; line-height: 1.6; color: var(--muted); max-width: 44ch; margin: 0; }

/* ---------- Photo slots ---------- */
.photo-slot { position: relative; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--paper-2), var(--paper-2) 14px, #EEE5D6 14px, #EEE5D6 28px); border: 1px dashed #CDBFA8; border-radius: var(--r); color: var(--muted); overflow: hidden; }
.photo-slot .ps-inner { padding: 1.1rem 1.2rem; text-align: center; max-width: 30ch; }
.photo-slot .ps-tag { display: inline-block; font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .55rem; margin-bottom: .6rem; }
.photo-slot .ps-desc { font-family: var(--body); font-size: .82rem; line-height: 1.45; color: var(--ink); }
.hero-photo { width: 300px; aspect-ratio: 4/5; flex: none; }
.photo-wide { width: 100%; aspect-ratio: 16/8; }

/* ---------- Bands ---------- */
.band-forest { background: var(--forest); color: #F3F0E8; }
.band-forest .section-label { color: #C9D6CB; } .band-forest .section-label::before { background: #C9D6CB; }
.band-forest .section-title, .band-forest .prose { color: #F6F3EC; }
.band-forest a { color: #E7C4A8; }
.band-rose { background: var(--rose); border-radius: var(--r); padding-top: 2rem; padding-bottom: 2.4rem; }

/* ---------- Pull quote ---------- */
.pullquote { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.1rem); line-height: 1.3; color: var(--forest); max-width: 24ch; margin: 2.4rem auto; text-align: center; }
.band-forest .pullquote { color: #fff; }
.pullquote cite { display: block; font-family: var(--body); font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); margin-top: 1rem; }
.band-forest .pullquote cite { color: #E7C4A8; }

/* ---------- By the numbers ---------- */
.numbers { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; justify-content: flex-start; margin: 0; }
.numbers .num { text-align: center; }
.numbers .num b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1; color: var(--forest); }
.band-forest .numbers .num b { color: #fff; }
.numbers .num span { font-family: var(--body); font-size: .8rem; color: var(--muted); display: block; margin-top: .4rem; max-width: 16ch; }
.band-forest .numbers .num span { color: #D7DED5; }

/* numbers in a green panel matched to the text measure (not full-bleed) */
.numbers-band { background: var(--forest); color: #F3F0E8; border-radius: var(--r); padding: 2rem 3.4rem; width: fit-content; max-width: 100%; }
.numbers-band .numbers { flex-wrap: nowrap; gap: 1.2rem 3rem; }
@media (max-width: 640px) { .numbers-band .numbers { flex-wrap: wrap; } }
.numbers-band .num b { color: #fff; }
.numbers-band .num span { color: #D7DED5; }

/* ---------- Mindfulness Field Notes ---------- */
.fieldnotes { max-width: 64ch; margin-top: 1.3rem; }
.fieldnotes .fn { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.fieldnotes .fn:first-child { border-top: 0; padding-top: 0; }
.fieldnotes .fn h3 { font-family: var(--display); font-weight: 560; font-size: 1.18rem; margin: 0 0 .35rem; }
.fieldnotes .fn p { margin: 0; font-size: 1rem; color: var(--ink); line-height: 1.62; }

/* ---------- Two-up (narrative pairing, NOT 3-col) ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.6rem; align-items: start; }
.research-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.8rem; align-items: start; margin-top: 1.8rem; }
@media (max-width: 680px) { .research-cols { grid-template-columns: 1fr; gap: 1.6rem; } }
.split.rev { grid-template-columns: .85fr 1.15fr; }

/* ---------- Credentials / lists ---------- */
.block-title { font-family: var(--display); font-weight: 600; font-size: 1.16rem; margin: 0 0 .9rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.block-title-spaced { margin-top: 1.4rem; }
.plain-list { list-style: none; margin: 0; padding: 0; font-size: .94rem; line-height: 1.5; }
.plain-list li { padding: .32rem 0 .32rem 1.1rem; position: relative; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .95em; width: 5px; height: 5px; background: var(--clay); border-radius: 50%; }
.plain-list strong { font-weight: 600; }

.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.pub-list li:last-child { border-bottom: 0; }
.pub-t { font-family: var(--display); font-size: 1.04rem; line-height: 1.32; margin: 0 0 .2rem; }
.pub-m { font-family: var(--body); font-size: .82rem; color: var(--muted); margin: 0; }
.pub-m .venue { color: var(--ink); font-weight: 500; }

/* offering (arms-length, informational) */
.offer { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.offer:last-child { border-bottom: 0; }
.offer .when { font-family: var(--body); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--clay); }
.offer h4 { font-family: var(--display); font-size: 1.06rem; margin: 0 0 .2rem; font-weight: 540; }
.offer p { font-size: .88rem; color: var(--muted); margin: 0; }

/* start-here (warm) */
.starthere { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.7rem; }
.starthere h3 { font-family: var(--display); font-weight: 560; font-size: 1.25rem; margin: 0 0 .5rem; }
.starthere ol { margin: .6rem 0 0; padding-left: 1.2rem; }
.starthere li { margin: 0 0 .55rem; padding-left: .2rem; }

/* media */
.media-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; margin: 1rem 0 0; }
.media-row span { font-family: var(--display); font-size: 1.05rem; color: var(--muted); font-style: italic; }

/* ---------- Contact form ---------- */
.contact-form { max-width: 620px; margin: 1.6rem auto 0; text-align: left; }
.contact-form .field { margin: 0 0 1rem; }
.contact-form label { display: block; font-family: var(--body); font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.contact-form input, .contact-form textarea { width: 100%; font-family: var(--body); font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .72rem .9rem; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.contact-note { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--forest) 5%, var(--paper)); padding: 3.5rem 0; }
.footer-name { font-family: var(--display); font-weight: 600; font-size: 1.6rem; margin: 0 0 .25rem; }
.footer-meta { font-family: var(--body); font-size: .9rem; color: var(--muted); margin: 0 0 1.1rem; }
.footer-fine { font-family: var(--body); font-size: .76rem; letter-spacing: .03em; color: var(--muted); margin: 1.1rem 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { order: -1; width: 220px; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 1.6rem; }
  :root { --space-section: 2.9rem; }
}
@media (max-width: 760px) { body { font-size: 16px; } .nav { gap: .8rem; font-size: .76rem; } .masthead-inner { flex-wrap: wrap; gap: .3rem 1rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Print (clean PDF — render at desktop width, stop slicing blocks) ---------- */
@media print {
  @page { size: 1120px 1480px; margin: 44px; }
  /* keep the desktop layout in the PDF (don't trip the mobile breakpoint) */
  .hero-grid { grid-template-columns: 1fr auto; }
  .hero-photo { order: 0; width: 260px; }
  .split { grid-template-columns: 1.1fr .9fr; }
  .band-forest, .numbers, .num, .starthere, .offer, .pub-list li, .split, .media-row, .contact-form { break-inside: avoid; }
  .section-title, .block-title { break-after: avoid; }
}
