/* ==========================================================
   Archer Maness Psychotherapy — site stylesheet
   Colors are taken from the AMP logo. Change them here and
   the whole site updates.
   ========================================================== */
:root {
  --forest: #0a330a;      /* deepest green (logo shadow)   */
  --brand: #156615;       /* "ARCHER MANESS" green          */
  --leaf: #3b7d3c;        /* dark facet of the AMP mark     */
  --sage: #73a574;        /* light facet of the AMP mark    */
  --sage-soft: #e3eee2;
  --cream: #f6f4ec;
  --paper: #ffffff;
  --ink: #1d2a1d;
  --muted: #56665a;
  --line: #d9e2d6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 51, 10, 0.10);
  --max: 1120px;
  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Lora", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.075rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--forest);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--leaf);
  margin-bottom: 0.7rem;
  display: block;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; z-index: 100; font-family: var(--head);
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 74px;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.brand img { width: 46px; height: 46px; }
.brand-text { font-family: var(--head); line-height: 1.05; }
.brand-text strong {
  display: block; color: var(--brand); font-weight: 700;
  font-size: 1.02rem; letter-spacing: 0.02em;
}
.brand-text span { color: var(--brand); font-size: 0.92rem; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--head); font-size: 0.9rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 8px 11px; border-radius: 8px;
}
.nav a:hover { background: var(--sage-soft); color: var(--forest); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav a.btn { color: #fff; margin-left: 8px; }
.nav a.btn:hover { background: var(--forest); color: #fff; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px; font-family: var(--head);
  font-size: 0.9rem; color: var(--forest); cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--head); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.01em;
  background: var(--brand); color: #fff; text-decoration: none;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--brand);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--forest); border-color: #fff; }
.btn-light:hover { background: var(--sage-soft); border-color: var(--sage-soft); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Home hero (bamboo + frosted card, echoing the original page) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid; place-items: center;
  padding: 60px 22px;
  background:
    linear-gradient(180deg, rgba(10, 51, 10, 0.25), rgba(10, 51, 10, 0.45)),
    url("../images/bamboo-1920.jpg") center / cover no-repeat;
}
.hero-card {
  width: 100%; max-width: 560px; text-align: center;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 18px; padding: 44px 40px 38px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.hero-card img { width: min(360px, 82%); margin: 0 auto 22px; }
.hero-card .tagline {
  font-family: var(--head); font-size: 1.12rem; font-weight: 500;
  color: var(--forest); margin-bottom: 26px; line-height: 1.5;
}
.hero-card .btn-row { justify-content: center; }
.hero-card .loc {
  margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgba(21, 102, 21, 0.2);
  font-family: var(--head); font-size: 0.86rem; color: var(--muted);
}

/* ---------- Inner page banner ---------- */
.banner {
  background:
    linear-gradient(100deg, rgba(10, 51, 10, 0.88) 0%, rgba(10, 51, 10, 0.6) 55%, rgba(10, 51, 10, 0.35) 100%),
    url("../images/bamboo-1920.jpg") center 35% / cover no-repeat;
  color: #fff; padding: 84px 0 70px;
}
.banner h1 { color: #fff; margin-bottom: 0.3em; }
.banner p { color: rgba(255, 255, 255, 0.88); font-size: 1.15rem; max-width: 640px; margin: 0; }
.banner .eyebrow { color: #bfe0bd; }

@media (max-width: 760px) {
  .hero, .banner { background-image:
    linear-gradient(180deg, rgba(10, 51, 10, 0.3), rgba(10, 51, 10, 0.55)),
    url("../images/bamboo-900.jpg"); }
  .banner { background-image:
    linear-gradient(100deg, rgba(10, 51, 10, 0.88), rgba(10, 51, 10, 0.6)),
    url("../images/bamboo-900.jpg"); }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.white { background: var(--paper); }
.section.sage { background: var(--sage-soft); }
.section.forest { background: var(--forest); color: #e8f1e7; }
.section.forest h2, .section.forest h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--sage);
}
.card h3 { margin-bottom: 0.45em; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-family: var(--head); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--sage-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }

.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 30px 26px 26px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  margin-bottom: 14px;
}

.quote {
  font-family: var(--body); font-style: italic; font-size: 1.35rem; line-height: 1.6;
  color: var(--forest); border-left: 4px solid var(--sage); padding: 4px 0 4px 26px; margin: 0;
}

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 0.55em; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em;
  width: 14px; height: 8px; border-left: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf);
  transform: rotate(-45deg);
}

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li {
  font-family: var(--head); font-size: 0.86rem; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line); color: var(--forest);
  padding: 7px 14px; border-radius: 999px;
}

/* Portrait / monogram */
.portrait {
  aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, var(--sage-soft), #cfe1cd);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .mono { width: 55%; opacity: 0.9; }

/* Service detail blocks */
.service { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service .icon { width: 58px; height: 58px; }
.service .icon svg { width: 28px; height: 28px; }

/* Fees table */
.fees { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fees th, .fees td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.fees th { font-family: var(--head); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: #fbfaf6; }
.fees td:last-child { font-family: var(--head); font-weight: 600; color: var(--forest); white-space: nowrap; }
.fees tr:last-child td { border-bottom: 0; }

/* Placeholder text Archer needs to fill in: search the files for class="todo" */
.todo { background: #fff3c4; border-radius: 4px; padding: 0 4px; }

/* Notice boxes */
.notice {
  background: var(--paper); border-left: 5px solid var(--leaf);
  border-radius: 10px; padding: 22px 24px; box-shadow: var(--shadow);
}
.notice.alert { border-left-color: #b54a2a; }
.notice h3 { margin-bottom: 0.35em; font-size: 1.05rem; }
.notice p:last-child { margin-bottom: 0; }

/* FAQ */
.faq details {
  background: var(--paper); border-radius: 12px; margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(10, 51, 10, 0.06); border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--head); font-weight: 600; color: var(--forest); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--leaf); font-weight: 400;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 24px 20px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Forms */
.form { background: var(--paper); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label, .field legend {
  display: block; font-family: var(--head); font-weight: 600; font-size: 0.88rem;
  color: var(--forest); margin-bottom: 6px;
}
.field .hint { font-size: 0.88rem; color: var(--muted); margin-top: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fbfaf6; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(115, 165, 116, 0.22);
}
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.choices label { font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--ink); display: flex; gap: 8px; align-items: center; margin: 0; }
.choices input { accent-color: var(--brand); width: 17px; height: 17px; }
.hp { position: absolute; left: -9999px; }
.privacy-note { font-size: 0.9rem; color: var(--muted); background: var(--cream); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-list .icon { margin: 0; flex: 0 0 46px; }
.contact-list strong { display: block; font-family: var(--head); color: var(--forest); font-size: 0.92rem; }
.map { border: 0; width: 100%; height: 380px; border-radius: 18px; box-shadow: var(--shadow); display: block; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(90deg, rgba(10, 51, 10, 0.92), rgba(21, 102, 21, 0.82)),
    url("../images/bamboo-900.jpg") center / cover;
  color: #fff; border-radius: 22px; padding: 54px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.25em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.86); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #cfe0cd; padding: 64px 0 28px; font-size: 0.98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 150px; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.crisis {
  margin-top: 40px; padding: 18px 22px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.94rem;
}
.crisis strong { color: #fff; font-family: var(--head); }
.footer-bottom {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.86rem; color: #a9c2a7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 8px 8px; font-size: 0.86rem; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 1rem; border-bottom: 1px solid var(--cream); }
  .nav a.btn { margin: 12px 0 0; text-align: center; border-bottom: 0; }
  .split, .grid-3, .steps, .footer-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .section { padding: 60px 0; }
  .grid-2, .grid-4, .form-row { grid-template-columns: 1fr; }
  .hero-card { padding: 32px 22px 28px; }
  .brand-text strong { font-size: 0.92rem; }
  .brand-text span { font-size: 0.84rem; }
  .brand img { width: 40px; height: 40px; }
  .form { padding: 24px 20px; }
  .cta-band { padding: 38px 26px; }
  .service { grid-template-columns: 1fr; gap: 10px; }
  .fees th, .fees td { padding: 13px 14px; }
}

/* ---------- CV ---------- */
.cv-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  font-family: var(--head); font-size: 0.88rem; color: var(--muted); padding-bottom: 26px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line); }
.cv-section { margin-top: 38px; }
.cv-section h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand);
  padding-bottom: 10px; border-bottom: 2px solid var(--sage-soft); margin-bottom: 14px; }
.cv-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 9px 0; }
.cv-when { font-family: var(--head); font-size: 0.86rem; font-weight: 600; color: var(--leaf); padding-top: 2px; }
.cv-what strong { color: var(--forest); font-weight: 600; }
@media (max-width: 640px) { .cv-row { grid-template-columns: 1fr; gap: 2px; } }

@media print {
  .site-header, .site-footer, .cv-actions .btn, .cta-band, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .banner { background: none !important; color: #000; padding: 0 0 12px; }
  .banner h1 { color: #0a330a; } .banner p, .banner .eyebrow { color: #333; }
  .section { padding: 12px 0; }
  .cv-section { margin-top: 18px; break-inside: avoid; }
}

.cv-list { margin: 6px 0 2px; padding-left: 18px; font-size: 0.96rem; color: var(--ink); }
.cv-list li { margin-bottom: 3px; }
.cv-list li::marker { color: var(--sage); }

.portrait.headshot { aspect-ratio: 1 / 1; border-radius: 50%; max-width: 420px; margin: 0 auto; background: #fff;
  box-shadow: 0 0 0 8px var(--sage-soft), var(--shadow); }

.cv-background p { margin: 0 0 0.9em; }
