/* =========================================================
   Found Within Therapy  |  site styles
   ---------------------------------------------------------
   Edit colors and fonts in the :root block below. Every page
   uses these variables, so a change here updates the whole site.
   ========================================================= */

:root {
  /* Brand colors (from the logo guide) */
  --gold: #A99767;        /* logo hummingbird */
  --teal: #052D35;        /* logo wordmark, used for headings */
  --cream: #EFEAE4;       /* logo background */

  /* Warm, earthy supporting palette */
  --paper: #F6F1EA;       /* main page background */
  --linen: #E9DFD2;       /* alternate section background */
  --sand: #D9C8B2;        /* borders, dividers */
  --umber: #5A4232;       /* dark sections, primary buttons */
  --umber-dark: #45321F;  /* button hover */
  --olive: #6B6A4B;       /* secondary dark sections */
  --clay: #A5694A;        /* small accents */
  --gold-text: #7D6B3E;   /* gold dark enough to read as text */
  --text: #3A332D;        /* body text */
  --text-soft: #5F554C;   /* secondary text */

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-label: "Ropa Sans", "Poppins", Arial, sans-serif;

  /* Layout */
  --max: 1120px;
  --radius: 14px;
  --arch: 999px 999px 18px 18px;
  --shadow: 0 10px 30px rgba(69, 50, 31, 0.10);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--umber); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
strong { font-weight: 500; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--teal);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  color: var(--gold-text);
  margin: 0 0 0.9rem;
  display: block;
}
.lead { font-size: 1.2rem; color: var(--text-soft); }
.italic { font-style: italic; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--umber); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--umber);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn-primary { background: var(--umber); color: var(--paper); }
.btn-primary:hover { background: var(--umber-dark); border-color: var(--umber-dark); color: var(--paper); }
.btn-outline { background: transparent; color: var(--umber); }
.btn-outline:hover { background: var(--umber); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--umber); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.center .btn-row { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 234, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sand);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; }
.brand img { width: 250px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.95rem; color: var(--teal); text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--clay); }
.nav-links .btn { color: var(--paper); padding: 0.7rem 1.4rem; }
.nav-links .btn:hover { color: var(--paper); }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--teal);
}
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 860px) {
  .brand img { width: 200px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--sand);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--linen); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 1rem; }
  .nav-links a { display: block; padding: 0.9rem 0; }
  .nav-links .btn { text-align: center; }
}

/* ---------- Availability banner ---------- */
.notice-bar {
  background: var(--olive); color: var(--cream);
  text-align: center; font-size: 0.95rem; padding: 0.6rem 1rem;
}
.notice-bar a { color: var(--cream); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.bg-linen { background: var(--linen); }
.bg-cream { background: var(--cream); }
.bg-umber { background: var(--umber); color: var(--cream); }
.bg-olive { background: var(--olive); color: var(--cream); }
.bg-umber h1, .bg-umber h2, .bg-umber h3,
.bg-olive h1, .bg-olive h2, .bg-olive h3 { color: var(--paper); }
.bg-umber .eyebrow, .bg-olive .eyebrow { color: #D8C79A; }
.bg-umber a:not(.btn), .bg-olive a:not(.btn) { color: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }

.divider {
  width: 70px; height: 2px; background: var(--gold); border: 0; margin: 1.5rem 0;
}
.center .divider, .divider.center { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { max-width: 560px; }
.arch {
  border-radius: var(--arch);
  background: var(--linen);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.arch img.cover { width: 100%; height: 100%; object-fit: cover; }
.arch .arch-mark { width: 62%; opacity: .95; }
.arch-soft { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; margin-inline: auto; width: 100%; }
}

/* ---------- "This might be you" checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.checklist li {
  display: grid; grid-template-columns: 30px 1fr; gap: 0.9rem; align-items: start;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--sand);
}
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 24px; height: 24px; color: var(--gold); margin-top: .3rem; }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: 120px; }
@media (max-width: 860px) { .sticky-col { position: static; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.card p { font-size: 0.98rem; color: var(--text-soft); margin: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--linen); color: var(--umber);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.card .icon svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--gold); padding-top: 1.4rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2.6rem; color: #D8C79A; line-height: 1; display: block; margin-bottom: .7rem;
}
.bg-linen .step::before { color: var(--gold); }
.step h3 { font-size: 1.55rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.tag-list li {
  font-family: var(--font-label); letter-spacing: .06em; font-size: 1rem;
  padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(239,234,228,.45);
}
.bg-linen .tag-list li, .bg-cream .tag-list li { border-color: var(--sand); background: var(--paper); }

/* ---------- Quote band ---------- */
.quote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.3; color: var(--paper);
  max-width: 860px; margin: 0 auto;
}
.quote-mark { width: 90px; margin: 0 auto 1.6rem; opacity: .9; }
.quote-cite { display: block; margin-top: 1.4rem; font-family: var(--font-label); font-style: normal; letter-spacing: .16em; text-transform: uppercase; font-size: .95rem; color: #D8C79A; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 3.5rem; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.value h3 { display: flex; align-items: baseline; gap: .7rem; font-size: 1.65rem; }
.value h3 span { font-family: var(--font-label); font-size: 1rem; color: var(--gold-text); letter-spacing: .12em; }
.value p { color: var(--text-soft); margin: 0; }

/* ---------- Info blocks (office, hours) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info {
  background: var(--paper); border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--sand);
}
.info h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.info p { margin: 0 0 .4rem; font-size: .98rem; }

/* ---------- Prose / About ---------- */
.prose p { font-size: 1.08rem; }
.prose h2 { margin-top: 2.5rem; }
.pull, .prose .pull {
  font-family: var(--font-display); font-style: italic; font-size: 1.75rem; line-height: 1.35;
  color: var(--umber); border-left: 3px solid var(--gold); padding-left: 1.4rem; margin: 2.2rem 0;
}
.cred-list { list-style: none; padding: 0; margin: 0; }
.cred-list li { padding: .75rem 0; border-bottom: 1px solid var(--sand); }
.cred-list li:last-child { border-bottom: 0; }

/* ---------- Client info page ---------- */
.page-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.jump-links { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.jump-links a {
  display: inline-block; text-decoration: none; font-family: var(--font-label); letter-spacing: .08em;
  padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--sand); background: var(--paper); color: var(--umber);
}
.jump-links a:hover { background: var(--umber); color: var(--paper); border-color: var(--umber); }
.info-section { scroll-margin-top: 110px; padding: 3.2rem 0; border-top: 1px solid var(--sand); }
.info-section:first-of-type { border-top: 0; }
.info-section h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }

.fee-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.fee-table th, .fee-table td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--linen); vertical-align: top; }
.fee-table th { font-weight: 400; }
.fee-table td { text-align: right; white-space: nowrap; font-weight: 500; color: var(--umber); }
.fee-table tr:last-child th, .fee-table tr:last-child td { border-bottom: 0; }
.fee-table small { display: block; color: var(--text-soft); font-size: .88rem; }

.callout {
  background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.5rem; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-urgent { background: #F3E3D8; border-left-color: var(--clay); }

/* FAQ accordions (no JavaScript needed) */
.faq details {
  border-bottom: 1px solid var(--sand); padding: 0.2rem 0;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.45rem; color: var(--teal); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 300; font-size: 1.8rem; color: var(--gold-text);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.3rem; color: var(--text-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.3rem; }
.field label, .field legend {
  display: block; font-family: var(--font-label); letter-spacing: .08em; text-transform: uppercase;
  font-size: .92rem; color: var(--teal); margin-bottom: .45rem;
}
.field .hint { font-size: .88rem; color: var(--text-soft); margin: -.2rem 0 .5rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--text);
  padding: .8rem 1rem; border: 1px solid var(--sand); border-radius: 10px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.3rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.choices label { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 1rem; color: var(--text); display: flex; gap: .45rem; align-items: center; margin: 0; }
.choices input { accent-color: var(--umber); width: 18px; height: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.hidden { display: none; }

/* ---------- Placeholders (things still to fill in) ----------
   Anything wrapped in class="todo" is highlighted so it's easy
   to spot. Remove the class once the real content is in. */
.todo { background: #FFF1B8; color: #3A332D; outline: 1px dashed #B8963A; border-radius: 3px; padding: 0 .2em; }
.todo-box {
  background: repeating-linear-gradient(45deg, var(--linen), var(--linen) 12px, var(--cream) 12px, var(--cream) 24px);
  color: var(--text-soft); font-family: var(--font-label); letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; text-align: center;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--umber-dark); color: var(--cream); padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: #D8C79A; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 240px; margin-bottom: 1rem; }
.site-footer h4 { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; color: #D8C79A; font-weight: 400; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer p { margin: 0 0 .6rem; }
.footer-crisis { margin-top: 3rem; padding: 1.2rem 1.4rem; border: 1px solid rgba(239,234,228,.25); border-radius: var(--radius); }
.footer-bottom { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(239,234,228,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; opacity: .85; }

/* Smaller photo under a sticky heading (About page) */
.side-photo { max-width: 340px; margin-top: 2.2rem; }
@media (max-width: 860px) { .side-photo { max-width: 300px; } }

/* ---------- Availability switch ----------
   Wording marked class="if-full" shows when the caseload is full.
   Wording marked class="if-open" shows when accepting new clients.
   The switch itself lives in js/site-config.js. Don't edit these. */
html[data-availability="open"] .if-full { display: none !important; }
html:not([data-availability="open"]) .if-open { display: none !important; }

/* Tag pills on light backgrounds (e.g., insurance list) */
.info-section .tag-list li { border-color: var(--sand); background: var(--cream); }

/* "I also work with" list on the Home page */
.more-areas { margin-top: 3.5rem; text-align: center; }
.more-areas h3 { font-size: 1.6rem; }
.more-areas .tag-list { justify-content: center; margin-top: 1.2rem; }
.more-areas .tag-list li { border-color: var(--sand); background: var(--cream); }

/* Insurance plan list: two columns on wider screens */
.plan-list {
  columns: 2; column-gap: 2.5rem; list-style: none; padding: 1.2rem 1.5rem; margin: 0 0 1.5rem;
  background: var(--cream); border-radius: var(--radius);
}
.plan-list li { padding: .35rem 0 .35rem 1.4rem; position: relative; break-inside: avoid; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
@media (max-width: 520px) { .plan-list { columns: 1; } }

/* Privacy note inside the waitlist/consultation form */
.form-note {
  font-size: .92rem; color: var(--text-soft); background: var(--cream);
  border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: .8rem 1rem; margin: .4rem 0 1rem;
}
