/* heard. — Heard Therapy website styles
   Colours live in :root. Swap the hex values for the Canva palette when you have it. */
:root {
  --ink: #111111;          /* logo black */
  --ink-soft: #3a3a3a;
  --muted: #6b6760;
  --paper: #faf7f2;        /* warm cream background */
  --paper-2: #f2ece2;
  --card: #ffffff;
  --line: #e4ddd1;
  --teal: #1f5f5b;         /* calm, clinical trust */
  --teal-soft: #dcebe8;
  --coral: #e8735a;        /* warmth, young people */
  --coral-soft: #fbe3dc;
  --sand: #efe2c9;
  --radius: 18px;
  --wrap: 1120px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 500; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow { font-family: var(--head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: .8em; display: block; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

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

/* Crisis bar */
.crisis { background: var(--ink); color: #f3efe8; font-size: .85rem; text-align: center; padding: 8px 16px; }
.crisis a { color: #fff; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { font-family: "Poppins", sans-serif; font-weight: 500; font-size: 1.9rem; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; line-height: 1; }
.logo span { color: var(--ink); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 500; font-size: .95rem; padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: transform .15s ease, background .15s; }
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { padding: 9px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Sections */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.bg-2 { background: var(--paper-2); }
.bg-teal { background: var(--teal); color: #f4f1ea; }
.bg-teal h2, .bg-teal h3 { color: #fff; }
.bg-teal .eyebrow { color: #f3c9bc; }
.bg-teal a { color: #fff; }
.bg-ink { background: var(--ink); color: #eae6de; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }

/* Grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .4em; }
.card .ph { margin: -28px -28px 22px; border-radius: var(--radius) var(--radius) 0 0; }
.card ul { padding-left: 1.1em; margin: 0 0 1em; }
.card li { margin-bottom: .3em; }
.card .more { font-weight: 600; text-decoration: none; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); margin: 0 6px 8px 0; }
.tag.coral { background: var(--coral-soft); color: #a8432d; }
.tag.sand { background: var(--sand); color: #6d5627; }

/* Placeholder images: replace each .ph with an <img> when photos are ready */
.ph {
  position: relative; background: linear-gradient(135deg, var(--sand), var(--coral-soft) 55%, var(--teal-soft));
  border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: flex-end; overflow: hidden;
}
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 80% 20%, transparent 0 22px, rgba(255,255,255,.28) 22px 24px); }
.ph span { position: relative; margin: 14px; background: rgba(17,17,17,.78); color: #fff; font-size: .78rem; padding: 6px 11px; border-radius: 8px; line-height: 1.35; }
.ph.tall { aspect-ratio: 4 / 5; }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.square { aspect-ratio: 1; }
.ph.teal { background: linear-gradient(135deg, var(--teal-soft), #b9d8d3); }
.ph.coral { background: linear-gradient(135deg, var(--coral-soft), #f6c4b5); }

/* Hero */
.hero { padding: 72px 0 84px; }
.hero .split { grid-template-columns: 1.15fr 1fr; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-collage .ph:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; min-height: 380px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.trust b { color: var(--ink); font-family: var(--head); font-weight: 600; }

/* Who we help strip */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.audience > div { padding: 30px; border-right: 1px solid var(--line); }
.audience > div:last-child { border-right: 0; }
.audience .num { font-family: var(--head); font-size: .85rem; color: var(--coral); font-weight: 600; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--head); font-size: 2rem; font-weight: 500; color: var(--coral); display: block; margin-bottom: 10px; }

/* Quote / research highlight */
.pull { font-family: var(--head); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 400; line-height: 1.4; border-left: 4px solid var(--coral); padding-left: 24px; margin: 0 0 1em; }
.paper { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.paper .journal { font-size: .85rem; color: var(--muted); margin-bottom: .6em; }
.paper h3 { font-size: 1.12rem; }
.paper .cta { margin-top: auto; padding-top: 12px; font-weight: 600; }

/* Credentials table */
.creds { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.creds th, .creds td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.creds th { font-family: var(--head); font-weight: 600; background: var(--paper-2); font-size: .85rem; }
.creds tr:last-child td { border-bottom: 0; }
.pending { display: inline-block; background: #fff4d6; color: #7a5a00; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-family: var(--head); font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
details[open] summary::after { content: "–"; }
details > div { padding-top: 12px; color: var(--ink-soft); }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .88rem; font-weight: 600; margin: 0 0 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); margin-bottom: 16px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.check input { width: auto; margin: 5px 0 0; }
.form-msg { font-weight: 600; margin-top: 10px; }
.hp { position: absolute; left: -9999px; }

/* Newsletter band */
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input[type=email] { flex: 1 1 220px; margin: 0; }
.newsletter .btn { border-color: #fff; }

/* Blog list */
.post-card { text-decoration: none; color: var(--ink); display: block; }
.post-card:hover h3 { color: var(--teal); }
.post-card .ph { margin-bottom: 16px; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: .4em; }
article.post { max-width: 720px; margin: 0 auto; }
article.post h2 { font-size: 1.6rem; margin-top: 1.6em; }
article.post .ph { margin: 2em 0; }

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 40px; }
.page-hero p { max-width: 680px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfc9bf; padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .logo { color: #fff; font-size: 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: .9rem; margin-bottom: 1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5em; }
.acknowledgement { border-top: 1px solid #2c2c2c; border-bottom: 1px solid #2c2c2c; padding: 22px 0; margin-bottom: 22px; font-size: .88rem; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: #9b958b; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { border: 1px solid #3a3a3a; border-radius: 999px; padding: 6px 12px; font-size: .82rem; }

/* Notes for Mindy (visible only in draft; remove class "draft" from <body> to hide) */
.todo { display: none; }
body.draft .todo { display: block; background: #fff4d6; border: 1px dashed #c9a227; color: #5c4400; padding: 10px 14px; border-radius: 10px; font-size: .85rem; margin: 12px 0; }

/* Responsive */
@media (max-width: 960px) {
  .g3, .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .hero .split, .newsletter { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .audience { grid-template-columns: 1fr; }
  .audience > div { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; width: auto; border-bottom: 1.5px solid var(--ink); padding: 11px 20px; }
  .nav-toggle { display: block; }
  .g2, .g3, .g4, .steps, form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-collage .ph:first-child { min-height: 260px; }
}

/* ---------- v2: photos, video, conversion ---------- */
.img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); display: block; aspect-ratio: 4 / 3; }
.img.tall { aspect-ratio: 4 / 5; } .img.wide { aspect-ratio: 16 / 9; } .img.square { aspect-ratio: 1; }
.card > .img:first-child { margin: -28px -28px 22px; width: calc(100% + 56px); max-width: none; border-radius: var(--radius) var(--radius) 0 0; }

.vhero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: #1c1c1c url(/assets/video/hero-poster.jpg) center/cover; }
.vhero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.82) 0%, rgba(17,17,17,.55) 55%, rgba(17,17,17,.25) 100%); }
.vhero .wrap { position: relative; z-index: 1; width: 100%; }
.vhero h1 { color: #fff; max-width: 760px; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.vhero h1 em { font-style: normal; color: #f3c9bc; }
.vhero .lead { color: #ece7df; max-width: 560px; }
.vhero .eyebrow { color: #f3c9bc; }
.vhero .btn { border-color: #fff; }
.vhero .btn.light { background: #fff; color: var(--ink); }
.vhero .btn.light:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.vhero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.vhero .btn.ghost:hover { background: #fff; color: var(--ink); }
.vhero .trust { border-top-color: rgba(255,255,255,.25); color: #ddd6cc; }
.vhero .trust b { color: #fff; }

.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.sector:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); border-color: var(--teal); color: var(--ink); }
.sector img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sector div { padding: 14px 16px 16px; }
.sector b { font-family: var(--head); font-weight: 600; display: block; line-height: 1.3; }
.sector span { font-size: .85rem; color: var(--muted); }
.sector .go { color: var(--teal); font-weight: 600; font-size: .85rem; margin-top: 6px; display: block; }

.quote-band { position: relative; color: #fff; text-align: center; padding: 120px 0; background: #222 center/cover; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,.6); }
.quote-band .wrap { position: relative; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--head); font-weight: 500; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.2; letter-spacing: -0.02em; }
.quote-band blockquote em { font-style: normal; color: #f3c9bc; }
.quote-band cite { display: block; margin-top: 18px; font-style: normal; color: #ddd6cc; font-size: .95rem; }

.video-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.video-card img, .video-card video { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-card .play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 10px; text-align: center; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.1)); }
.video-card .play i { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; font-style: normal; color: var(--ink); font-size: 1.6rem; padding-left: 5px; }
.video-card .play small { font-size: .85rem; opacity: .9; }

.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.svc ul.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.svc ul.ticks li { padding-left: 28px; position: relative; margin-bottom: .45em; }
.svc ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.svc.flip > :first-child { order: 2; }
.duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.duo .img:last-child { margin-top: 48px; }

.cta-band { background: var(--coral); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band .btn { background: var(--ink); border-color: var(--ink); }

.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px; }
  .sticky-cta a { flex: 1; text-align: center; padding: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  body { padding-bottom: 76px; }
  .vhero { min-height: 92vh; }
  .vhero::after { background: rgba(17,17,17,.62); }
  .svc, .duo { grid-template-columns: 1fr; gap: 24px; }
  .svc.flip > :first-child { order: 0; }
  .duo .img:last-child { margin-top: 0; }
  .quote-band { padding: 80px 0; }
}
@media (max-width: 960px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .sectors { grid-template-columns: 1fr 1fr; gap: 10px; } .sector div { padding: 10px 12px 12px; } .sector span { display: none; } }

/* Smart form */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips label { margin: 0; font-weight: 500; font-size: .9rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; background: #fff; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips input:checked + span { color: #fff; }
.chips label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips label:has(input:focus-visible) { outline: 3px solid var(--teal-soft); }
.step-label { font-family: var(--head); font-weight: 600; font-size: 1rem; margin: 6px 0 10px; display: block; }
[data-show] { display: none; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--muted); margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .vhero video { display: none; } }
.social { flex-wrap: wrap; }
.footer-grid > div, .grid > *, .split > *, .svc > * { min-width: 0; }
