/* ============================================
   NLCP — North Liverpool Counselling & Psychotherapy
   Design tokens
   ============================================ */
/* revert-test-marker: iCloud + OneDrive closed */

:root {
  /* Colour — matched to the NLCP logo */
  --ink: #22403A;          /* deep pine — headings, nav, dark surfaces (already close to logo teal) */
  --ink-soft: #3A5751;     /* body text on light backgrounds */
  --paper: #F2EEE3;        /* warm stone — main background */
  --paper-raised: #FBF9F3; /* card / raised surface, slightly lighter than paper */

  --teal: #4A7C74;         /* logo top circle — exact match */
  --sage-light: #9CAF88;   /* logo left circle — exact match, decorative use only */
  --slate-light: #95AABB;  /* logo right circle — exact match, decorative use only */

  --sage: #526A39;         /* deepened sage — accessible on white text (buttons, links) */
  --sage-deep: #3F5129;    /* hover state */
  --slate: #3E5F78;        /* deepened slate — accessible for text/borders */

  --line: #DAD3C2;         /* hairline borders */
  --shadow: 0 12px 32px -16px rgba(34, 64, 58, 0.25);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-brand: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 9rem;

  --radius: 4px;
  --max-width: 1100px;
}

/* ============================================
   Reset & base
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 var(--space-2); }

a { color: var(--sage-deep); }

img { max-width: 100%; display: block; }

ul, ol { padding-left: 1.2em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

section {
  padding: var(--space-6) 0;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-4);
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ============================================
   Signature motif — overlapping circles
   Represents the meeting of two people in the room,
   and echoes TA's ego-state model used later in
   How I Work. Used sparingly: nav mark, dividers.
   ============================================ */

.mark-img {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.mark-img-lg {
  height: 30px;
}

.divider-mark {
  display: flex;
  justify-content: center;
  margin: var(--space-5) 0;
  opacity: 0.75;
}

.divider-mark svg { width: 46px; height: 32px; }
.divider-mark img { width: 72px; height: auto; }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 1.7em;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-primary {
  background: var(--teal);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: #3B655F;
  transform: translateY(-1px);
}

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

.btn-on-dark {
  background: var(--paper);
  color: var(--ink);
}
.btn-on-dark:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

/* ============================================
   Header / nav
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 238, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.brand .mark { color: var(--sage-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
}

.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-cta {
  margin-left: var(--space-1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4em;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: var(--space-7) 0 var(--space-6);
  position: relative;
  overflow: hidden;
}

.hero .section-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.hero-copy .eyebrow { display: block; }

.hero h1 {
  font-style: italic;
  font-weight: 400;
}

.hero-copy p.lede {
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  width: auto;
  height: auto;
  padding: var(--space-2) var(--space-3);
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--paper-raised);
  color: var(--ink);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  z-index: 1000;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-4) 0 var(--space-4) var(--space-4);
  align-self: center;
  margin-top: -2.5rem;
}

.hero-art img { width: 100%; max-width: 500px; height: auto; }

/* ============================================
   About
   ============================================ */

.about .section-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-5);
  align-items: start;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  margin-top: 1cm;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credential-line {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: center;
}

.credential-line strong { color: var(--ink); }

/* ============================================
   How I Work — ego states diagram
   ============================================ */

.how {
  background: var(--ink);
  color: rgba(242, 238, 227, 0.92);
}

.how h2, .how h3 { color: var(--paper); }
.how .eyebrow { color: #A9C7AC; }
.how a { color: #BFE0C4; }

.how .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 901px) {
  .ego-diagram {
    position: sticky;
    top: 150px;
    margin-top: var(--space-4);
    padding-bottom: var(--space-3);
  }
}

.how-copy p { color: rgba(242, 238, 227, 0.82); }

.how-copy p.how-statement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  line-height: 1.3;
  color: var(--paper);
  margin: 0 0 var(--space-3);
}

.how-copy p.how-emphasis {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--paper);
  border-top: 1px solid rgba(242, 238, 227, 0.25);
  padding-top: var(--space-3);
  margin-top: var(--space-3);
  margin-bottom: 0;
}

.ego-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.ego-diagram svg { width: 100%; max-width: 280px; height: auto; }

.ego-caption {
  font-size: 0.85rem;
  text-align: center;
  color: rgba(242, 238, 227, 0.6);
  max-width: 320px;
}

.session-facts {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.session-fact {
  border-top: 2px solid var(--sage-light);
  padding-top: var(--space-1);
  min-width: 120px;
}

.session-fact .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  display: block;
  color: var(--paper);
}

.session-fact .label {
  font-size: 0.85rem;
  color: rgba(242, 238, 227, 0.65);
}

/* ============================================
   Issues — tag list + spotlight
   ============================================ */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.tag {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6em 1.2em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.spotlight-intro {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 0 var(--space-3);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.spotlight-card {
  background: var(--paper-raised);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-3) var(--space-4);
}

.spotlight-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 0.4em;
}

.spotlight-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

.issues-note {
  text-align: center;
  margin-top: var(--space-4);
  color: var(--ink-soft);
}

/* ============================================
   The Space — room photo gallery
   ============================================ */

.room-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.room-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
}

.room-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  .room-gallery { grid-template-columns: 1fr; }
}

/* ============================================
   Practical details / Fees
   ============================================ */

.fees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.fee-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.fee-card .mode {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--sage-deep);
}

.fee-card .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--ink);
  margin: var(--space-1) 0;
}

.fee-card .price span {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-soft);
}

.fee-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}

.fee-card .session-length-note {
  font-size: 0.82rem;
  opacity: 0.75;
  margin-bottom: var(--space-2);
}

.concession-note {
  background: transparent;
  border: 1px dashed var(--slate);
  border-radius: var(--radius);
  padding: var(--space-3);
  font-size: 0.95rem;
}

.practical-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-4);
}

.practical-list li {
  padding-left: 1.6em;
  position: relative;
  font-size: 0.98rem;
}

.practical-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-light);
}

.practical-list strong { color: var(--ink); }

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-3) var(--space-1);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--sage);
  border-radius: 50%;
  position: relative;
}

.faq-item .plus::before,
.faq-item .plus::after {
  content: "";
  position: absolute;
  background: var(--sage-deep);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item .plus::before { width: 10px; height: 1.5px; }
.faq-item .plus::after { width: 1.5px; height: 10px; transition: opacity 0.15s ease; }

.faq-item[open] .plus::after { opacity: 0; }

.faq-item p {
  padding: 0 var(--space-1) var(--space-3);
  color: var(--ink-soft);
  max-width: 65ch;
}

.faq-flag {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: 0.85rem;
  color: var(--slate);
  border: 1px dashed var(--slate);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
}

/* ============================================
   Contact
   ============================================ */

.contact {
  background: var(--paper-raised);
}

.contact .section-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
  align-items: start;
}

.contact-detail {
  margin-bottom: var(--space-2);
  font-size: 1rem;
}

.contact-detail a {
  font-weight: 700;
}

.confidentiality-note {
  margin-top: var(--space-4);
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.9;
}

.privacy-note {
  margin-top: var(--space-2);
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.9;
}

.directions-link {
  margin-top: var(--space-2);
  font-size: 0.95rem;
}

.directions-link a {
  font-weight: 700;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.4em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sage);
}

.form-row textarea {
  resize: vertical;
  min-height: 130px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status.success { color: var(--sage-deep); }
.form-status.error { color: #A24C3E; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--ink);
  color: rgba(242, 238, 227, 0.75);
  padding: var(--space-5) 0 var(--space-4);
  font-size: 0.88rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(242, 238, 227, 0.15);
  margin-bottom: var(--space-3);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer-brand .mark { color: #A9C7AC; }

.footer-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(242, 238, 227, 0.75);
  text-decoration: none;
}
.footer-links a:hover { color: var(--paper); }

.footer-disclosures {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin-bottom: var(--space-3);
}

.footer-disclosures span {
  white-space: nowrap;
}

.footer-badges {
  margin: var(--space-3) 0;
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.ukcp-badge {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border-radius: var(--radius);
  padding: var(--space-1) var(--space-2);
}

.ukcp-badge img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: rgba(242, 238, 227, 0.5);
}

.footer-bottom a {
  color: var(--slate-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--paper);
}

/* ============================================
   Scroll reveal
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   Review flags (dev-only visual marker, safe to
   remove — highlights placeholder / TBC content)
   ============================================ */

.needs-review {
  outline: 2px dashed #A24C3E;
  outline-offset: 4px;
  position: relative;
}

.needs-review::after {
  content: "⚑ REVIEW BEFORE LAUNCH";
  position: absolute;
  top: -1.6em;
  left: 0;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #A24C3E;
  background: var(--paper);
  padding: 0 0.3em;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .hero .section-inner,
  .about .section-inner,
  .how .section-inner,
  .contact .section-inner {
    grid-template-columns: 1fr;
  }
  .hero-art { order: -1; max-width: 280px; margin: 0 auto; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .fees-grid { grid-template-columns: 1fr; }
  .practical-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-2) var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; padding: 0.6em 0; }
  .nav-cta { margin-left: 0; padding-top: 0.6em; }
  .nav-toggle { display: block; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .tag-list { gap: 0.5em; }
  .tag { font-size: 0.88rem; padding: 0.5em 1em; }
  section { padding: var(--space-5) 0; }
  .hero { padding-top: var(--space-6); }
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }