/* Godfrey Advanced Psychological — shared styles */

:root {
  --ink: #14263c;        /* deep navy — primary text, dark panels */
  --navy: #23405f;       /* mid navy — headings, buttons */
  --steel: #5b7794;      /* muted blue — secondary text, rules */
  --paper: #f4f6f9;      /* cool paper background */
  --card: #ffffff;
  --brass: #a9813c;      /* sparing accent */
  --hairline: #d7dee6;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--hairline);
  background: var(--card);
}

.masthead .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .amp { color: var(--brass); }

.wordmark .gbar {
  position: relative;
  display: inline-block;
}

.wordmark .gbar::before {
  content: "";
  position: absolute;
  left: -0.03em;
  right: -0.03em;
  top: -0.02em;
  height: 0.085em;
  background: var(--brass);
}

.masthead nav {
  display: flex;
  gap: 1.75rem;
}

.masthead nav a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--steel);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.masthead nav a:hover,
.masthead nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--brass);
}

.masthead nav a:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Homepage hero ---------- */

.hero {
  padding: 4.5rem 0 3.25rem;
  text-align: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  max-width: 21ch;
  margin: 0 auto 1.25rem;
}

.hero p {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--steel);
  font-size: 1.1rem;
}

/* ---------- The fork ---------- */

.fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 4.5rem;
  background: var(--card);
}

.door {
  padding: 3rem 2.75rem 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.door + .door { border-left: 1px solid var(--hairline); }

.door--clients { background: var(--card); }

.door--clinicians {
  background: var(--ink);
  color: #e8edf3;
}

.door--clinicians .eyebrow { color: #c9a45c; }
.door--clinicians h2 { color: #ffffff; }
.door--clinicians p { color: #dbe3ec; }

.door h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.2;
}

.door p { color: var(--steel); flex-grow: 1; }

.door ul {
  list-style: none;
  margin-bottom: 0.5rem;
}

.door li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
}

.door li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 1px;
  background: var(--brass);
}

.door--clinicians li { color: #dbe3ec; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  border: 1px solid var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
  align-self: flex-start;
}

.btn--solid {
  background: var(--navy);
  color: #ffffff;
}

.btn--solid:hover { background: var(--ink); }

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: #5b7794;
}

.btn--ghost:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

/* ---------- Interior pages ---------- */

.page-head {
  padding: 3.75rem 0 2.5rem;
  border-bottom: 1px solid var(--hairline);
}

.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  max-width: 26ch;
  margin-bottom: 1rem;
}

.page-head p {
  max-width: 62ch;
  color: var(--steel);
  font-size: 1.1rem;
}

.services {
  padding: 3rem 0 1rem;
}

.service {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--hairline);
}

.service:last-of-type { border-bottom: none; }

.service h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.25;
}

.service .label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 0.5rem;
}

.service p { color: #3d5065; max-width: 62ch; }
.service p + p { margin-top: 0.75rem; }

.cta-band {
  background: var(--ink);
  color: #e8edf3;
  margin: 3rem 0 0;
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: #b7c4d2;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}

.cta-band .btn {
  align-self: center;
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.cta-band .btn:hover {
  background: transparent;
  color: #ffffff;
}

/* ---------- Featured service (outcomes) ---------- */

.service--featured {
  background: var(--ink);
  color: #e8edf3;
  border-radius: 6px;
  padding: 2.5rem 2.5rem 2.75rem;
  border-bottom: none;
  margin: 1rem 0 0.5rem;
}

.service--featured h2 { color: #ffffff; }
.service--featured .label { color: #c9a45c; }
.service--featured p { color: #b7c4d2; }

.service--featured .lede {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: #e8edf3;
  margin-bottom: 0.9rem;
}

.service--featured .lede em { color: #c9a45c; font-style: italic; }

.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2e4a6b;
}

.cap h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.cap p { font-size: 0.95rem; }

@media (max-width: 780px) {
  .service--featured { padding: 1.75rem 1.5rem 2rem; }
  .capabilities { grid-template-columns: 1fr; }
}

/* ---------- Expertise strip ---------- */

.expertise {
  padding: 0 0 2.75rem;
  text-align: center;
}

.expertise .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  display: block;
  margin-bottom: 0.9rem;
}

.expertise ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0;
}

.expertise li {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  padding: 0 1.1rem;
}

.expertise li + li { border-left: 1px solid var(--brass); }

@media (max-width: 780px) {
  .expertise ul { flex-direction: column; gap: 0.55rem; }
  .expertise li + li { border-left: none; }
}

/* ---------- Founder line ---------- */

.founder-line {
  text-align: center;
  padding: 0 0 4rem;
}

.founder-line p {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 60ch;
  margin: 0 auto;
}

.founder-line a {
  color: var(--navy);
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 2.25rem 0 2.75rem;
  background: var(--card);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: baseline;
}

footer p {
  font-size: 0.88rem;
  color: var(--steel);
}

footer .fine {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* ---------- Responsive ---------- */

@media (max-width: 780px) {
  .fork { grid-template-columns: 1fr; }
  .door + .door { border-left: none; border-top: 1px solid var(--hairline); }
  .door { padding: 2.25rem 1.5rem; }
  .service { grid-template-columns: 1fr; gap: 0.75rem; }
  .hero { padding: 3rem 0 2.25rem; }
  .masthead nav { gap: 1.1rem; }
}

/* ---------- Fee table ---------- */

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.98rem;
}

.fee-table th {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a45c;
  text-align: left;
  padding: 0 0.9rem 0.6rem 0;
  border-bottom: 1px solid #2e4a6b;
}

.fee-table td {
  padding: 0.75rem 0.9rem 0.75rem 0;
  border-bottom: 1px solid #22384f;
  color: #e8edf3;
}

.fee-table td:not(:first-child) {
  font-family: var(--mono);
  white-space: nowrap;
}

.fee-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 780px) {
  .fee-table { font-size: 0.88rem; }
  .fee-table td { padding-right: 0.5rem; }
}

/* ---------- Process steps ---------- */

ol.process {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.1rem;
}

ol.process li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.4rem 3rem;
  color: #3d5065;
}

ol.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--brass);
}

ol.process li::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 1.7em;
  bottom: 0.4rem;
  width: 1px;
  background: var(--hairline);
}

ol.process li:last-child { padding-bottom: 0; }
ol.process li:last-child::after { display: none; }

ol.process strong { color: var(--ink); }

/* ---------- Headshot ---------- */

.page-head__grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2.5rem;
  align-items: center;
}

.headshot {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.founder-line__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.headshot--small {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--hairline);
}

.founder-line__grid p { text-align: left; margin: 0; }

@media (max-width: 780px) {
  .page-head__grid { grid-template-columns: 1fr; }
  .page-head__grid .headshot { max-width: 260px; }
  .founder-line__grid { flex-direction: column; }
  .founder-line__grid p { text-align: center; }
}

/* ---------- Consult form ---------- */

.cta-band--form { text-align: left; }
.cta-band--form h2, .cta-band--form > .wrap > p { text-align: center; }
.cta-band--form > .wrap > p { max-width: 62ch; }

.consult-form {
  max-width: 720px;
  margin: 2.25rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--wide { grid-column: 1 / -1; }

.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a45c;
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #f4f6f9;
  border: 1px solid #2e4a6b;
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #c9a45c;
  outline-offset: 1px;
}

.consult-form .btn {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: center;
  cursor: pointer;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  text-align: center;
  color: #8fa1b5 !important;
}

@media (max-width: 780px) {
  .consult-form { grid-template-columns: 1fr; }
}

/* ---------- Light fee table variant ---------- */

.fee-table--light th { color: var(--brass); border-bottom-color: var(--hairline); }
.fee-table--light td { color: #3d5065; border-bottom-color: var(--hairline); }

.fees-sub {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 1.75rem 0 0.25rem;
}

/* ---------- Tier explainers ---------- */

.tier + .tier { margin-top: 1.4rem; }

.tier-why {
  margin: 0.6rem 0 0 1rem;
  border-left: 2px solid var(--hairline);
  padding-left: 1.1rem;
}

.tier-why summary {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  cursor: pointer;
  list-style: none;
  padding: 0.2rem 0;
}

.tier-why summary::-webkit-details-marker { display: none; }

.tier-why summary::after {
  content: " +";
  color: var(--steel);
}

.tier-why[open] summary::after { content: " \2212"; }

.tier-why summary:hover { color: var(--ink); }

.tier-why p {
  margin-top: 0.7rem;
  font-size: 0.97rem;
}

.tier-why[open] { border-left-color: var(--brass); }

/* ---------- Jump + fees links ---------- */

.jump {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0.55rem 1.1rem;
}

.jump:hover { border-color: var(--brass); color: var(--ink); }

.fees-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: #c9a45c;
  text-decoration: none;
  border-bottom: 1px solid #c9a45c;
  padding-bottom: 2px;
}

.fees-link:hover { color: #ffffff; border-bottom-color: #ffffff; }

.ask-list {
  list-style: none;
  margin: 0.75rem 0 1rem;
}

.ask-list li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.55rem;
  color: #3d5065;
}

.ask-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 1px;
  background: var(--brass);
}

/* ---------- Form honeypot ---------- */
.consult-form .hp { position: absolute; left: -9999px; }
.consult-form { position: relative; }

/* ---------- Scope notes + booking links ---------- */

.scope-note {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #3d5065;
  padding: 0.6rem 0.9rem;
  background: #eef2f6;
  border-left: 2px solid var(--brass);
  border-radius: 0 4px 4px 0;
}

.scope-note span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 0.2rem;
}

.scope-note--general { margin-top: 1.6rem; }

.jump--primary {
  margin-left: 0.6rem;
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.jump--primary:hover { background: var(--ink); border-color: var(--ink); color: #ffffff; }

.cta-band .form-note { margin-top: 1.1rem; }
.cta-band .form-note a { color: #c9a45c; }

@media (max-width: 780px) {
  .jump { display: block; text-align: center; margin-left: 0; }
  .jump--primary { margin-left: 0; margin-top: 0.6rem; }
}

/* ---------- Scope table + decision block ---------- */

.scope-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.9rem 0 0;
  font-size: 0.93rem;
}

.scope-table th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  text-align: left;
  padding: 0 0.5rem 0.55rem 0;
  border-bottom: 1px solid var(--hairline);
  font-weight: 500;
}

.scope-table th:not(:first-child),
.scope-table td:not(:first-child) { text-align: center; }

.scope-table td {
  padding: 0.6rem 0.5rem 0.6rem 0;
  border-bottom: 1px solid var(--hairline);
  color: #3d5065;
}

.scope-table td:not(:first-child) { color: var(--navy); font-weight: 600; }

.scope-table tr.na td {
  color: var(--steel);
  font-weight: 400;
  font-size: 0.86rem;
  border-bottom: none;
}

.scope-table tr.na td:not(:first-child) { text-align: left; font-style: italic; }

.decide {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: #eef2f6;
  border-radius: 6px;
}

.decide h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.decide p { max-width: 62ch; }
.decide p + p { margin-top: 0.6rem; }
.decide .btn { margin-top: 1.1rem; }

@media (max-width: 780px) {
  .scope-table { font-size: 0.84rem; }
  .scope-table th { font-size: 0.62rem; }
  .decide { padding: 1.2rem 1.1rem; }
}

/* ---------- Dark-on-light fees-link variant ---------- */
.fees-link--dark { color: var(--navy); border-bottom-color: var(--brass); }
.fees-link--dark:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Notice callout ---------- */

.notice {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: #3d5065;
  padding: 0.8rem 1rem;
  background: #eef2f6;
  border-left: 2px solid var(--brass);
  border-radius: 0 4px 4px 0;
  max-width: 62ch;
}

.notice span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 0.25rem;
}

.notice a { color: var(--navy); }

.notice--dark {
  background: #1c334d;
  color: #d6dfe9;
  border-left-color: #c9a45c;
}

.notice--dark span { color: #c9a45c; }
.notice--dark a { color: #ffffff; }

/* ---------- Nav CTA + door actions ---------- */

.masthead nav .nav-cta {
  color: var(--ink);
  border: 1px solid var(--brass);
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  border-bottom: 1px solid var(--brass);
}

.masthead nav .nav-cta:hover {
  background: var(--brass);
  color: #ffffff;
  border-color: var(--brass);
}

.door-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.door-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
}

.door-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 780px) {
  .masthead nav { gap: 0.9rem; }
  .masthead nav .nav-cta { padding: 0.3rem 0.6rem; }
}

.jump-note {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--steel);
}

/* ---------- Equal stacked door buttons ---------- */

.door-actions--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
}

.door-actions--stack .btn {
  align-self: stretch;
  text-align: center;
  line-height: 1.35;
}

.band-actions { margin-top: 1.5rem; }
.band-actions .btn { align-self: center; }
.service .door-actions { margin-top: 1.25rem; }


/* ---------- Tier guide links ---------- */

.tier-more {
  margin: 0.5rem 0 0 1rem;
  border-left: 2px solid var(--hairline);
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.tier-more a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 1px;
}

.tier-more a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Byline ---------- */

.byline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.byline img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  flex-shrink: 0;
}

.byline p {
  font-size: 0.85rem;
  color: var(--steel);
  max-width: none;
}

.byline a { color: var(--navy); }

.hero p + p { margin-top: 1rem; }

.hero-lead {
  font-size: 1.3rem !important;
  line-height: 1.55;
  color: #2b3e54 !important;
  max-width: 56ch;
}

.hero-compare {
  font-size: 0.95rem !important;
  color: var(--steel);
  max-width: 58ch;
}
