/* ==========================================================================
   TeleTonicMD — shared subpage stylesheet (bio, guide, legal)
   Consumes brand-tokens.css. Ports the main-site header/footer and provides
   an editorial reading system so subpages stop forking their own :root.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); font-size: var(--text-body); line-height: 1.75; color: var(--text-secondary); background: var(--cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0; font-variant-ligatures: none; }
a { color: var(--label); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.s-wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Shared header (matches main site) -------------------------------- */
.s-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  background: rgba(251, 249, 244, 0.8); backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--hairline);
}
.s-lockup { display: flex; align-items: center; gap: 0.6rem; }
.s-lockup .icon { width: 26px; height: 26px; color: var(--action); }
.s-wordmark { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.s-header-spacer { flex: 1; }
.s-back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--action); }
.s-back .icon { width: 16px; height: 16px; transform: rotate(180deg); }

/* ---- Editorial article ------------------------------------------------ */
.s-article { max-width: 44rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) 5rem; }
.s-kicker { font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--label); margin-bottom: 1rem; }
.s-article h1 { font-size: var(--text-display); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 1rem; }
.s-lede { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--text-primary); margin: 1.5rem 0; }
.s-article h2 { font-size: var(--text-h2); margin: 3rem 0 1rem; }
.s-article h3 { font-size: var(--text-h3); margin: 2.25rem 0 0.75rem; }
.s-article p { margin: 0 0 1.35rem; max-width: 68ch; }
.s-article ul, .s-article ol { max-width: 66ch; padding-left: 1.25rem; margin: 0 0 1.35rem; }
.s-article li { margin: 0.5rem 0; }
.s-article img { max-width: 100%; height: auto; border-radius: var(--radius); }
.s-hairline { border: none; border-top: 1px solid var(--hairline); margin: 3rem 0; }

/* drop cap for the first paragraph */
.s-dropcap::first-letter {
  font-family: var(--serif); font-weight: 500; color: var(--action);
  float: left; font-size: 3.4em; line-height: 0.8; padding: 0.05em 0.1em 0 0;
}

/* pull quote — the editorial voice, matches the site testimonial */
.s-pullquote {
  margin: 2.5rem 0; padding: 0.25rem 0 0.25rem 1.75rem; border-left: 2px solid var(--brass);
}
.s-pullquote p { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.5; color: var(--ink); max-width: none; margin: 0; }
.s-pullquote cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* quiet note panel (replaces gradient callout boxes) */
.s-note { background: var(--sage-tint); border: 1px solid var(--sage-deep); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; font-size: 0.98rem; }
.s-note p:last-child { margin-bottom: 0; }
.s-note ul:last-child, .s-note ol:last-child { margin-bottom: 0; }
/* warm attention variant — safety / emergency callouts */
.s-note--alert { background: var(--apricot); border-color: var(--apricot-text); }
.s-note--alert strong { color: var(--apricot-text); }

/* ---- Table of contents (scroll-spy) ---------------------------------- */
.s-toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.s-toc-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.9rem; }
.s-toc a { display: block; padding: 0.4rem 0 0.4rem 0.9rem; border-left: 2px solid var(--hairline); color: var(--text-muted); font-size: 0.9rem; transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.s-toc a:hover { color: var(--ink); }
.s-toc a.is-active { color: var(--action); border-left-color: var(--action); font-weight: 500; }

/* ---- Shared footer (dark pine, matches main site) -------------------- */
.s-footer { background: var(--ink); color: #B8C4B2; padding: var(--space-12) var(--gutter) var(--space-6); margin-top: 4rem; }
.s-footer-inner { max-width: var(--content-max); margin: 0 auto; }
.s-footer a { color: rgba(251, 249, 244, 0.72); }
.s-footer a:hover { color: var(--cream); }
.s-footer-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); }
.s-footer-bottom { max-width: var(--content-max); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(251, 249, 244, 0.15); font-size: 0.78rem; color: rgba(251, 249, 244, 0.5); }

/* ==========================================================================
   Editorial profile (bio) components
   ========================================================================== */
.profile-hero {
  max-width: var(--content-max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(2rem, 4vw, 3.5rem);
}
.profile-hero h1 { font-size: clamp(2.75rem, 2rem + 3.5vw, 4.75rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 1rem; }
.profile-dek { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--text-secondary); max-width: 28ch; margin: 0 0 1.75rem; }
.profile-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 0; align-items: center; padding-top: 1.25rem; border-top: 1px solid var(--hairline); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); }
.profile-facts span + span::before { content: '·'; margin: 0 0.8rem; color: var(--powder-blue); }
.profile-portrait-wrap { position: relative; justify-self: center; }
.profile-portrait-wrap::before { content: ''; position: absolute; inset: -8% -12%; background: radial-gradient(closest-side, rgba(215,231,218,0.6), rgba(243,211,188,0.3) 55%, transparent 75%); z-index: -1; filter: blur(6px); }
.profile-portrait-wrap::after { content: ''; position: absolute; inset: 0; transform: translate(14px,14px); border: 1px solid rgba(168,218,220,0.9); border-radius: 200px 200px 24px 24px; z-index: -1; }
.profile-portrait { width: min(380px, 82vw); aspect-ratio: 4/5.2; height: auto; object-fit: cover; object-position: center top; border-radius: 200px 200px 24px 24px; box-shadow: 0 30px 60px rgba(23,45,36,0.12); filter: saturate(0.94) contrast(1.02); display: block; }
/* Secondary in-article portrait (bio prose) */
.bio-figure { margin: 2.9rem auto 2.7rem; max-width: 330px; text-align: center; }
.bio-figure picture { display: block; }
.bio-figure img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 24px 50px rgba(23,45,36,0.15); filter: saturate(0.96) contrast(1.02); }
.bio-figure figcaption { margin-top: 0.85rem; font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--text-muted); }

/* body layout: sticky fact rail + prose */
.profile-body { max-width: var(--content-max); margin: 0 auto; padding: 2rem var(--gutter) 4rem; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.fact-rail { position: sticky; top: calc(var(--header-h) + 2rem); }
.fact-rail-title { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); margin-bottom: 0.5rem; }
.fact { padding: 1.05rem 0; border-bottom: 1px solid var(--hairline); }
.fact:first-of-type { border-top: 1px solid var(--hairline); }
.fact dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); margin-bottom: 0.3rem; }
.fact dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.fact-rule { width: 32px; height: 1px; background: var(--brass); margin-top: 1.25rem; }

.profile-prose { max-width: 68ch; }
.profile-prose .s-kicker { margin-top: 3.5rem; }
.profile-prose > .s-kicker:first-child { margin-top: 0; }

/* hairline CV table */
.cv-row { display: grid; grid-template-columns: 128px 1fr; gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--hairline); }
.cv-row:last-child { border-bottom: 1px solid var(--hairline); }
.cv-date { font-family: var(--serif); font-size: 1rem; color: var(--label); font-variant-numeric: lining-nums; }
.cv-role { font-weight: 600; color: var(--ink); }
.cv-org { font-family: var(--serif); font-style: italic; color: var(--text-secondary); display: block; margin: 0.15rem 0 0.4rem; }
.cv-note { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* quiet press strip */
.press-strip { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; padding: 1.75rem 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.press-strip a, .press-strip span { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); opacity: 0.55; }
.press-strip a { text-decoration: none; border-bottom: 1px solid transparent; transition: opacity var(--dur-fast) var(--ease-luxe), color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.press-strip a:hover { opacity: 1; color: var(--action); border-bottom-color: rgba(94, 106, 88, 0.5); }
.press-strip a:focus-visible { opacity: 1; color: var(--action); outline: 2px solid var(--action); outline-offset: 3px; border-radius: 2px; }

/* signature note */
.signature-note { margin: 3.75rem 0 0; padding: clamp(2.6rem,5vw,3.6rem) clamp(1.6rem,4vw,2.6rem); background: var(--sage); border-radius: 24px; text-align: center; }
.signature-mono { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(150deg, var(--action), var(--ink)); color: var(--cream); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.6rem; font-family: var(--serif); font-size: 1.9rem; letter-spacing: 0.03em; box-shadow: 0 0 0 1px var(--brass), 0 0 0 6px rgba(251,249,244,0.55), 0 18px 36px -20px rgba(18,38,31,0.5); }
.signature-note blockquote { margin: 0 auto; max-width: 34ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem,2.6vw,1.85rem); line-height: 1.42; color: var(--ink); }
.signature-name { font-family: var(--serif); font-weight: 600; font-style: normal; font-size: 1.15rem; color: var(--ink); margin-top: 1.5rem; }
.signature-role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.4rem; }

@media (max-width: 860px) {
  .profile-hero { grid-template-columns: 1fr; text-align: center; }
  .profile-dek { margin-inline: auto; }
  .profile-facts { justify-content: center; }
  .profile-portrait-wrap { order: -1; }
  .profile-body { grid-template-columns: 1fr; }
  .fact-rail { position: static; }
}

/* editorial CTA buttons (shared) */
.s-btn {
  --btn-shadow: 0 1px 2px rgba(51,61,44,.08), 0 2px 8px rgba(51,61,44,.06);
  --btn-shadow-hover: 0 2px 4px rgba(51,61,44,.12), 0 9px 22px rgba(51,61,44,.14);
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.92rem 1.9rem; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-fast) var(--ease-luxe), box-shadow var(--dur-base) var(--ease-luxe), background-color var(--dur-fast) var(--ease-luxe), color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.s-btn:hover { transform: translateY(-1px); }
.s-btn:active { transform: translateY(0); transition-duration: 0.08s; }
.s-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.s-btn .icon { width: 18px; height: 18px; transform: none; }
.s-btn--primary { background: var(--ink); color: var(--cream); box-shadow: var(--btn-shadow); }
.s-btn--primary:hover { background: var(--action-hover); color: var(--cream); box-shadow: var(--btn-shadow-hover); }
.s-btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline-strong); box-shadow: 0 1px 1px rgba(51,61,44,.03); }
.s-btn--ghost:hover { background: var(--ink-wash); color: var(--ink); border-color: var(--ink); box-shadow: var(--btn-shadow); }
@media (prefers-reduced-motion: reduce) {
  .s-btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
  .s-btn:hover, .s-btn:active { transform: none; }
}

/* ==========================================================================
   Article reading layout (guide) — sticky TOC + prose
   ========================================================================== */
.article-opening { max-width: var(--content-narrow); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 0; }
.article-opening h1 { font-size: var(--text-display); line-height: 1.06; letter-spacing: -0.02em; margin: 0.75rem 0 1rem; }
.article-dek { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.5; color: var(--text-secondary); margin: 0 0 1.75rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); font-size: 0.8rem; }
.article-meta .by { font-weight: 600; color: var(--ink); }
.article-meta .dot { color: var(--text-muted); }
.article-meta .rt { color: var(--text-muted); }

.reading-layout { max-width: var(--content-max); margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) var(--gutter) 2rem; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.reading-body { max-width: 40rem; }
.reading-body > p, .reading-body > ul, .reading-body > ol { max-width: 68ch; }
.reading-body h2 { font-size: var(--text-h2); margin: 3rem 0 1rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.reading-body h3 { font-size: var(--text-h3); margin: 2.25rem 0 0.6rem; }
.reading-body p { margin: 0 0 1.35rem; }
.reading-body ul, .reading-body ol { padding-left: 1.25rem; margin: 0 0 1.5rem; }
.reading-body li { margin: 0.5rem 0; }
.reading-body strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .reading-layout { grid-template-columns: 1fr; }
  .s-toc { display: none; }
}

/* ===== Site footer — Botanical Signature (shared) ===== */
.sfoot {
  background: #FBF9F4;
  color: #333D2C;
  font-family: 'Figtree', system-ui, sans-serif;
  border-top: 1px solid rgba(51, 61, 44, 0.10);
  padding: clamp(62px,7vw,82px) clamp(1.25rem,5vw,2.75rem) clamp(38px,4.5vw,54px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.sfoot *, .sfoot *::before, .sfoot *::after { box-sizing: border-box; }
.sfoot__inner { max-width: 1200px; margin: 0 auto; }
.sfoot ul { list-style: none; margin: 0; padding: 0; }
.sfoot a { color: inherit; text-decoration: none; }
.sfoot h3, .sfoot p { margin: 0; }
.sfoot svg { display: block; width: 18px; height: 18px; }

/* Crown — the single brass signature, on short symmetric hairlines */
.sfoot__crown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 2rem;
}
.sfoot__crown-line { width: 46px; height: 1px; background: rgba(51, 61, 44, 0.18); }
.sfoot__crown-leaf { display: flex; color: #B8912F; }
.sfoot__crown-leaf svg { width: 19px; height: 19px; }

/* Masthead */
.sfoot__masthead { text-align: center; }
.sfoot__wordmark {
  display: inline-block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 4.2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: #333D2C;
}
.sfoot__tagline {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: #4A5940;
  margin-top: 1.25rem;
}

.sfoot__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.6rem;
}
.sfoot__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #333D2C;
  background: #FFFEFB;
  border: 1px solid rgba(51,61,44,0.13);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.sfoot__social a:hover { background: #F1EBDD; color: #B8912F; border-color: rgba(184,145,47,0.5); transform: translateY(-2px); }
.sfoot__social a svg { width: 19px; height: 19px; }

.sfoot__cta {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: 1.7rem;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: #333D2C;
  padding: .72rem 1.6rem;
  border: 1px solid rgba(51, 61, 44, 0.28);
  border-radius: 999px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.sfoot__cta:hover { background: #333D2C; color: #FBF9F4; border-color: #333D2C; }

/* Horizontal rules only — never a vertical, so never a box */
.sfoot__rule { border: 0; height: 1px; width: 100%; background: rgba(51, 61, 44, 0.12); margin: 1.8rem 0; }
.sfoot__rule--fine { background: rgba(51, 61, 44, 0.10); margin: 1.3rem 0 1rem; }

/* Columns float on whitespace — no dividers between them */
.sfoot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 3rem;
  text-align: center;
}
.sfoot__col { display: flex; flex-direction: column; align-items: center; }
.sfoot__label {
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7C5E1A;
  margin-bottom: 1rem;
}

.sfoot__links li { margin-bottom: .6rem; }
.sfoot__links a { font-size: .94rem; color: #333D2C; transition: color .2s ease; }
.sfoot__links a:hover {
  color: #4A5940;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.sfoot__contact li { margin-bottom: .6rem; }
.sfoot__contact a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .94rem;
  color: #333D2C;
  transition: color .2s ease;
}
.sfoot__contact a:hover {
  color: #4A5940;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.sfoot__ico { display: flex; color: rgba(51, 61, 44, 0.5); }
.sfoot__ico svg { width: 16px; height: 16px; }
.sfoot__hours { font-size: .88rem; color: rgba(51, 61, 44, 0.74); margin-top: .15rem; }

.sfoot__seal {
  text-align: center;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7C5E1A;
  margin-top: 1.5rem;
}

.sfoot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}
.sfoot__copy { font-size: .8rem; color: rgba(51, 61, 44, 0.72); letter-spacing: .005em; }
.sfoot__mini { font-size: .8rem; color: rgba(51, 61, 44, 0.55); }
.sfoot__mini a { color: rgba(51, 61, 44, 0.72); transition: color .2s ease; }
.sfoot__mini a:hover { color: #333D2C; text-decoration: underline; text-underline-offset: 3px; }

/* Focus */
.sfoot a:focus-visible { outline: 2px solid #B8912F; outline-offset: 3px; border-radius: 3px; }
.sfoot__social a:focus-visible { outline-offset: 2px; }
.sfoot__cta:focus-visible { outline: 2px solid #B8912F; outline-offset: 3px; }

/* Responsive — graceful centred stack */
@media (max-width: 760px) {
  .sfoot { padding: 40px 22px 34px; }
  .sfoot__cols { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .sfoot__contact a { justify-content: center; }
  .sfoot__bottom { flex-direction: column; text-align: center; gap: .7rem; }
  .sfoot__rule { margin: 1.6rem 0; }
}
@media (max-width: 400px) {
  .sfoot__wordmark { font-size: 2.4rem; }
  .sfoot__social { gap: .25rem; }
}
.sfoot__loc { display: inline-flex; align-items: center; gap: .6rem; font-size: .94rem; color: #333D2C; }
