/* ═══════════════════════════════════════════════════
   Kevin McLaughlin Psychotherapy — Shared Stylesheet
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --deep:       #17201a;
  --forest:     #1d2a1f;
  --canopy:     #243226;
  --cream:      #faf7f0;
  --cream-dk:   #f2eadb;
  --parchment:  #ede4cc;
  --brass:      #b8923e;
  --brass-lt:   #d4ae65;
  --moss:       #4a5e3a;
  --tobacco:    #7a5c3a;
  --ink:        #1c1f18;
  --ink-soft:   #4e5247;
  --ink-mute:   #8c9082;
  --line-dk:    rgba(237,228,204,0.12);
  --line-lt:    rgba(28,31,24,0.10);
  --serif:      'Spectral', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--serif);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem 4rem;
  background: var(--deep);
  border-bottom: 1px solid var(--line-dk);
  transition: padding 0.4s ease;
}
nav.compact { padding: 0.9rem 4rem; }
.nav-brand {
  font-family: var(--serif); font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.02em; color: var(--parchment); text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(237,228,204,0.92); text-decoration: none; transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active, .nav-links a.nav-active { color: var(--parchment); }
.nav-cta { color: var(--brass-lt) !important; border-bottom: 1px solid rgba(184,146,62,0.6); padding-bottom: 1px; }
.nav-cta:hover { color: var(--brass-lt) !important; border-color: var(--brass-lt); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1px; background: var(--parchment); }
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--deep); z-index: 199;
  flex-direction: column; align-items: flex-start;
  justify-content: center; padding: 4rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--serif); font-size: 2rem; font-weight: 300; font-style: italic;
  color: var(--parchment); text-decoration: none;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line-dk); width: 100%;
  display: block; transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--brass-lt); }
.mobile-close { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; cursor: pointer; color: rgba(237,228,204,0.4); font-size: 1.2rem; }

/* ── LAYOUT ──────────────────────────────────────── */
.section-wrap { padding: 8rem 4rem; }
.section-wrap.tight { padding: 5rem 4rem; }
.section-wrap.snug { padding: 4rem 4rem; }
.inner { max-width: 1120px; margin: 0 auto; }
.inner-narrow { max-width: 760px; margin: 0 auto; }

/* ── TYPE ────────────────────────────────────────── */
.sect-label {
  font-family: var(--sans); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 2rem;
}
.sect-label-dk { color: var(--brass); }
.sect-label-lt { color: var(--moss); }

.brass-rule { width: 48px; height: 1px; background: var(--brass); opacity: 0.5; margin-bottom: 2.5rem; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
p { line-height: 1.85; }

.display-lg {
  font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 400; line-height: 1.15;
}
.display-lg em { font-style: italic; }
.display-lg.on-dark { color: var(--parchment); }
.display-lg.on-dark em { color: var(--brass-lt); }
.display-lg.on-light { color: var(--ink); }
.display-lg.on-light em { color: var(--moss); }

.body-text { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.85; }
.body-text + .body-text { margin-top: 1.1em; }

.section-h { font-size: 1.3rem; font-weight: 400; color: var(--ink); margin-bottom: 1.25rem; margin-top: 3rem; }

.pull-quote {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.5;
  padding: 2.5rem 0 2.5rem 2rem; border-left: 2px solid var(--brass); margin: 3rem 0;
}

.dark-pull {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 300; font-style: italic; color: rgba(237,228,204,0.8); line-height: 1.45;
  margin-bottom: 2.5rem;
}

.dark-p { font-size: 1rem; color: rgba(237,228,204,0.82); line-height: 1.85; }
.dark-p + .dark-p { margin-top: 1.1em; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 0.9rem 2rem; border: 1px solid;
  transition: background 0.3s, color 0.3s, border-color 0.3s; cursor: pointer;
}
.btn-brass { background: transparent; color: var(--parchment); border-color: var(--brass); }
.btn-brass:hover { background: rgba(184,146,62,0.15); border-color: var(--brass-lt); color: var(--brass-lt); }
.btn-ghost-dk { background: transparent; color: rgba(237,228,204,0.5); border-color: var(--line-dk); }
.btn-ghost-dk:hover { color: var(--parchment); border-color: rgba(237,228,204,0.3); }
.btn-dark { background: var(--deep); color: var(--parchment); border-color: var(--deep); }
.btn-dark:hover { background: var(--forest); border-color: var(--forest); }
.btn-ghost-lt { background: transparent; color: var(--ink-soft); border-color: var(--line-lt); }
.btn-ghost-lt:hover { color: var(--ink); border-color: rgba(28,31,24,0.3); }
.btn-forest { background: var(--forest); color: var(--parchment); border-color: var(--forest); }
.btn-forest:hover { background: var(--canopy); border-color: var(--canopy); }

/* ── DIVIDERS ────────────────────────────────────── */
.rule-lt { border: none; border-top: 1px solid var(--line-lt); margin: 3.5rem 0; }
.rule-dk { border: none; border-top: 1px solid var(--line-dk); margin: 3.5rem 0; }

/* ── SCROLL REVEAL ───────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.52s; }

/* ── INNER PAGE HEADER (non-hero pages) ──────────── */
.page-header {
  background:
    radial-gradient(ellipse 80% 70% at 5% 95%, rgba(184,146,62,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(184,146,62,0.05) 0%, transparent 55%),
    var(--deep);
  padding: 10rem 4rem 6rem;
}
.page-header-inner { max-width: 1120px; margin: 0 auto; }
.ph-inner { max-width: 1120px; margin: 0 auto; }
.ph-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 300; font-style: italic;
  color: var(--parchment); line-height: 1.12; letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.ph-sub {
  font-family: var(--sans); font-size: 0.85rem;
  color: rgba(237,228,204,0.65); letter-spacing: 0.05em;
}
.page-header h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 300; font-style: italic;
  color: var(--parchment); line-height: 1.12; letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.page-header p {
  font-family: var(--sans); font-size: 1rem;
  color: rgba(237,228,204,0.78); line-height: 1.75; max-width: 560px;
}
.breadcrumb {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.breadcrumb a { color: rgba(184,146,62,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--brass); }
.breadcrumb span { color: rgba(184,146,62,0.3); }

/* ── FOCUS LISTS (shared) ────────────────────────── */
.focus-list { list-style: none; }
.focus-list li {
  font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft);
  padding: 0.6rem 0; border-bottom: 1px solid var(--line-lt); line-height: 1.5;
}
.focus-list li:last-child { border-bottom: none; }

/* ── APPROACH TAGS ───────────────────────────────── */
.approach-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }
.atag {
  font-family: var(--sans); font-size: 0.68rem; color: var(--tobacco);
  border: 1px solid rgba(122,92,58,0.3); padding: 0.3rem 0.7rem; letter-spacing: 0.03em;
}
.ttag {
  font-family: var(--sans); font-size: 0.75rem; color: var(--ink-soft);
  border: 1px solid var(--line-lt); padding: 0.35rem 0.85rem;
}

/* ── CONTACT FORM ────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label {
  font-family: var(--sans); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(237,228,204,0.65);
}
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dk); color: var(--parchment);
  font-family: var(--serif); font-size: 0.95rem; padding: 0.85rem 1rem;
  outline: none; transition: border-color 0.25s;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(237,228,204,0.2); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(184,146,62,0.5); }
.form-select { background-color: var(--forest); cursor: pointer; }
.form-select option { background: var(--forest); color: var(--parchment); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-family: var(--sans); font-size: 0.75rem; color: rgba(237,228,204,0.3);
  line-height: 1.6; margin-top: 0.5rem;
}

/* ── BLOG CARDS ──────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.blog-card {
  background: var(--cream); border: 1px solid var(--line-lt);
  padding: 2.5rem; text-decoration: none; display: block;
  transition: border-color 0.3s;
}
.blog-card:hover { border-color: rgba(184,146,62,0.4); }
.blog-cat {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass);
  display: block; margin-bottom: 1rem;
}
.blog-title {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 400;
  color: var(--ink); line-height: 1.3; margin-bottom: 0.75rem;
}
.blog-excerpt {
  font-family: var(--sans); font-size: 0.88rem; color: var(--ink-mute);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.blog-date { font-family: var(--sans); font-size: 0.72rem; color: var(--ink-mute); letter-spacing: 0.06em; }
.blog-read { font-family: var(--sans); font-size: 0.72rem; color: var(--brass); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1.5rem; display: block; }

/* Blog post reading layout */
.post-body { max-width: 660px; }
.post-body p { font-size: 1.1rem; color: var(--ink-soft); line-height: 1.9; margin-bottom: 1.4em; }
.post-body p strong { color: var(--ink); font-weight: 500; }
.post-body hr { border: none; border-top: 1px solid var(--line-lt); margin: 2.5rem 0; }
.post-body h2 {
  font-size: 1.35rem; font-weight: 400; color: var(--ink);
  margin-top: 2.5rem; margin-bottom: 0.75rem;
}
.post-body blockquote {
  font-style: italic; color: var(--ink); font-size: 1.1rem;
  padding-left: 2rem; border-left: 2px solid var(--brass);
  margin: 2.5rem 0; line-height: 1.65;
}
.post-cta {
  max-width: 660px; margin-top: 4rem; padding: 3rem;
  background: var(--deep);
}
.post-cta h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  color: var(--parchment); margin-bottom: 0.75rem;
}
.post-cta p {
  font-family: var(--sans); font-size: 0.88rem;
  color: rgba(237,228,204,0.78); line-height: 1.7; margin-bottom: 1.75rem;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(184,146,62,0.06) 0%, transparent 55%),
    #101810;
  padding: 5rem 4rem 3rem;
  border-top: 1px solid var(--line-dk);
}
.footer-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--line-dk);
}
.footer-brand-name {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  color: var(--parchment); display: block; margin-bottom: 0.75rem;
}
.footer-brand p { font-family: var(--sans); font-size: 0.8rem; color: rgba(237,228,204,0.3); line-height: 1.7; max-width: 260px; }
.pt-badge { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.5rem; padding: 0.5rem 0.85rem; border: 1px solid rgba(184,146,62,0.3); border-radius: 3px; text-decoration: none; transition: border-color 0.25s, background 0.25s; }
a.pt-badge:hover { border-color: rgba(184,146,62,0.65); background: rgba(184,146,62,0.06); }
.pt-badge svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--brass); }
.pt-badge svg.flag-ico { width: 25px; height: 15px; color: inherit; }
.footer-badges { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.5rem; }
.footer-badges .pt-badge { margin-top: 0; }
.affirm-badge { cursor: default; }
.pt-badge .pt-badge-text { display: flex; flex-direction: column; line-height: 1.25; }
.pt-badge .pt-badge-top { font-family: var(--sans); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(237,228,204,0.4); }
.pt-badge .pt-badge-main { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; color: rgba(237,228,204,0.72); }
.footer-col h4 {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.5rem; opacity: 0.7;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-family: var(--sans); font-size: 0.82rem;
  color: rgba(237,228,204,0.4); text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: rgba(237,228,204,0.8); }
.footer-bottom {
  max-width: 1120px; margin: 0 auto; padding-top: 2.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-family: var(--sans); font-size: 0.72rem; color: rgba(237,228,204,0.18); }
.footer-affirm { display: flex; align-items: center; gap: 0.75rem; font-family: var(--sans); font-size: 0.72rem; color: rgba(237,228,204,0.2); }
.pride-bar { display: flex; height: 5px; width: 24px; border-radius: 100px; overflow: hidden; }
.pride-bar span { flex: 1; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 960px) {
  .section-wrap { padding: 5rem 2rem; }
  .section-wrap.tight { padding: 4rem 2rem; }
  .section-wrap.snug { padding: 3rem 2rem; }
  nav { padding: 1.1rem 2rem; }
  nav.compact { padding: 0.8rem 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .page-header { padding: 8rem 2rem 5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  footer { padding: 4rem 2rem 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
