/* ---------------------------------------------
   Poppy Barnes Therapy — base styles
   Palette: white, grey, ink black (matches logo)
--------------------------------------------- */

:root {
  --white: #FFFFFF;
  --grey-light: #F2F2F1;
  --ink: #1A1A1A;
  --ink-soft: #6E6E6B;
  --border: #E1E1DF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Newsreader', Georgia, serif;

  --max-width: 1080px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 500;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; color: var(--ink); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

a { color: var(--ink); text-decoration-color: var(--border); text-underline-offset: 2px; }
a:hover { color: var(--ink-soft); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 720px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 242, 241, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap { max-width: 1180px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark-full {
  height: 88px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.primary-nav a:hover { color: var(--ink-soft); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: #000; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Sections */
.section { padding: 76px 0; }
.section-tint { background: var(--grey-light); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.sub-heading { margin-top: 2em; }

/* Hero */
.hero {
  padding: 110px 0 90px;
  text-align: left;
}
.hero-tint { background: var(--grey-light); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero .lead {
  font-size: 1.2rem;
  max-width: 620px;
  color: var(--ink-soft);
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 48px;
}
.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  position: sticky;
  top: 100px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #000; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Feature list (My Approach) */
.feature-list {
  list-style: none;
  margin: 2em 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.feature-list h3 { color: var(--ink); margin-bottom: 0.4em; }
.feature-list p { margin: 0; }

/* Detail list (background / what to expect) */
.detail-list {
  list-style: none;
  padding: 0;
  margin: 1.4em 0;
}
.detail-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list strong { color: var(--ink); }

/* Pill list (How I Can Help) */
.pill-list {
  list-style: none;
  padding: 0;
  margin: 1.6em 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pill-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--ink-soft);
}
.pill-list strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* Fee table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.fee-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.fee-table tr:last-child td { border-bottom: none; }
.fee-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

/* Contact */
.contact-form {
  margin: 1.8em 0 0;
  max-width: 480px;
}
.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.contact-form .btn {
  border: none;
  cursor: pointer;
}

.contact-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 1.2em 0 1.6em;
}
.crisis-note {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-soft);
  border-left: 3px solid var(--ink);
  padding-left: 14px;
  margin-top: 2em;
}

/* Footer */
.site-footer {
  padding: 34px 0 44px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-mark {
  height: 64px;
  width: auto;
  margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 780px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
  }
  .nav-cta {
    border-radius: 0;
    text-align: center;
  }
  .nav-toggle { display: flex; }
  .feature-list, .pill-list { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 60px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 340px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { position: static; max-width: 320px; margin: 0 auto; }
}
