/* Helen Jeans Counselling — site styles */
:root {
  --bg: #f8f5ef;
  --bg-alt: #efe9df;
  --surface: #ffffff;
  --text: #2d2a26;
  --muted: #6b6560;
  --accent: #5f7a63;        /* soft sage */
  --accent-dark: #475c4a;
  --accent-soft: #dfe7df;
  --warm: #c2795a;          /* terracotta */
  --line: #e2dcd1;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248,245,239,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; text-decoration: none; color: var(--text); }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
  border: 0; cursor: pointer; font: inherit; font-weight: 700;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn.secondary { background: transparent; color: var(--accent-dark); border: 1.5px solid var(--accent); }
.btn.secondary:hover { background: var(--accent-soft); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-art {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-alt));
  display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px;
  border: 1px solid var(--line);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Sections */
section { padding: clamp(48px, 7vw, 88px) 0; }
section.alt { background: var(--bg-alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-top: 4px; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--accent); }

/* Quote / pull */
.pull { border-left: 4px solid var(--warm); padding: 6px 0 6px 22px; font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; color: var(--text); margin: 28px 0; }

/* Fees table */
.fees { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fees th, .fees td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.fees th { background: var(--bg-alt); font-weight: 700; }
.fees tr:last-child td { border-bottom: 0; }

/* Forms */
form { display: grid; gap: 16px; }
label { font-weight: 700; font-size: .95rem; display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text); width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }
.hint { font-size: .9rem; color: var(--muted); }

/* Contact info */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { margin-bottom: 10px; }
.contact-list strong { display: inline-block; min-width: 90px; }

/* CTA band */
.cta { background: var(--accent); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 22px; }
.cta .btn { background: #fff; color: var(--accent-dark); }
.cta .btn:hover { background: var(--bg); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Placeholder markers — remove once content is final */
.todo { background: #fff3cd; border: 1px dashed #d9a400; padding: 2px 6px; border-radius: 4px; font-size: .9em; color: #6b5300; }

/* Page intro */
.page-intro { padding: clamp(48px, 7vw, 80px) 0 20px; }
.page-intro .lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16/10; max-height: 320px; order: -1; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; margin-top: 8px; text-align: center; }
}
