/* Louise Mackintosh Counselling & Psychotherapy
   Colours from the logo: teal #0084AA, navy #01254D. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --surface: #ffffff;
  --ink: #15273a;
  --ink-soft: #4a5a69;
  --navy: #01254d;
  --teal: #0084aa;
  --teal-ink: #00627f;
  --teal-tint: #e2eff2;
  --line: #ddd4c6;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-l: 28px;
  --shadow: 0 1px 2px rgba(1, 37, 77, .06), 0 8px 28px rgba(1, 37, 77, .07);

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 7vw, 96px);
}

/* Sections below the first screen fade up gently as they come into view.
   The first screen never fades, so a page never looks empty. */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--teal-ink); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.5vw, 1.45rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--alt { background: var(--paper-2); }
.section-head { max-width: 40em; margin-bottom: clamp(24px, 3vw, 36px); }
.lede { font-size: clamp(1.15rem, .5vw + 1rem, 1.3rem); color: var(--ink-soft); }
.measure { max-width: 40em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--sans); padding: 1rem 1.5rem; min-height: 48px;
  border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--teal-ink); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-tint); color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " →"; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 38px; height: 40px; color: var(--teal); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; }
.brand-sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: .25rem; font-weight: 600; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: .55rem .8rem; border-radius: 999px; }
.nav a:hover { color: var(--navy); background: rgba(1,37,77,.06); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--teal-tint); }
.nav a.btn { margin-left: .5rem; padding: .75rem 1.15rem; min-height: 44px; color: #fff; background: var(--navy); }
.nav a.btn:hover, .nav a.btn[aria-current="page"] { background: var(--teal-ink); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line); border-radius: 999px;
  width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a[aria-current="page"] { background: none; color: var(--teal-ink); }
  .nav a.btn { margin: 1rem 0 0; border-bottom: 0; border-radius: 999px; padding: 1rem; }
  .no-js .nav { display: flex; position: static; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .1em; }
  .brand-mark { width: 32px; height: 34px; }
}

/* Hero */
.hero { padding: clamp(32px, 6vw, 80px) 0 var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .lede { margin-bottom: 1.75rem; }
.trust { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-soft); font-size: .98rem; }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.portrait { justify-self: center; width: min(100%, 440px); border-radius: 220px 220px var(--radius-l) var(--radius-l); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); background: var(--teal-tint); }
.portrait picture, .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; width: min(62%, 300px); }
}

/* What I can help with */
.help-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.15rem; color: var(--navy); font-weight: 500; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); font-family: var(--serif); font-size: 1.1rem;
}
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: .75rem; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 1rem; padding: 1.25rem; }
  .steps li::before { margin: 0; grid-row: span 2; }
}

/* Two-column media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.photo picture, .photo img { width: 100%; height: 100%; object-fit: cover; }
.sticky { position: sticky; top: 96px; }
@media (max-width: 860px) { .sticky { position: static; } }

/* Inner pages */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); }
.page-head .lede { max-width: 38em; }
.prose { max-width: 38em; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.card h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: .25rem; }
.price { font-weight: 600; color: var(--teal-ink); margin-bottom: 1rem; }

.details { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 1rem 2.5rem; max-width: 46em; }
.details dt { font-weight: 600; color: var(--navy); }
.details dd { margin: 0; }
@media (max-width: 560px) { .details { grid-template-columns: 1fr; gap: .2rem; } .details dd { margin-bottom: .9rem; } }

/* Contact */
.contact-card { display: flex; align-items: center; gap: 1.1rem; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.contact-card:hover { box-shadow: var(--shadow); border-color: #c9dfe6; color: inherit; }
.contact-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-tint); color: var(--teal-ink); display: grid; place-items: center; flex: none; }
.contact-icon svg { width: 26px; height: 26px; }
.contact-label { display: block; font-size: .95rem; color: var(--ink-soft); }
.contact-value { display: block; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; color: var(--navy); }
.contact-note { margin-top: 1.5rem; color: var(--ink-soft); }

/* Call to action */
.cta { padding: 0 0 var(--section); }
.cta-band {
  background: var(--navy); color: #dbe9ef; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: .5rem 0 0; }

/* Privacy placeholders (text Louise still has to write) */
.placeholder { background: #fff6d6; border: 1.5px dashed #c79a1e; border-radius: 10px; padding: .9rem 1.1rem; color: #5c4508; font-size: .95rem; margin: .5rem 0 1.5rem; }
.placeholder::before { content: "To be written: "; font-weight: 700; }

/* Footer */
.site-footer { background: #0d1d2c; color: #b9c8d3; padding: clamp(44px, 6vw, 72px) 0 calc(24px + env(safe-area-inset-bottom)); font-size: .98rem; }
.site-footer a { color: #e6eff4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand { display: flex; gap: .85rem; align-items: center; margin-bottom: 1.25rem; }
.footer-brand .brand-mark { color: #6cc0db; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8ea3b2; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #8ea3b2; font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.bacp-badge { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .6rem .9rem; }
.bacp-badge svg { width: 22px; height: 22px; color: #6cc0db; }
.pt-seal { min-height: 56px; display: flex; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: #8ea3b2; }

/* Phone: fixed Call / Email bar */
.quick-bar { display: none; }
@media (max-width: 700px) {
  .quick-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 238, .97); border-top: 1px solid var(--line);
  }
  .quick-bar .btn { padding: .8rem; }
  body { padding-bottom: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .reveal { opacity: 1; transform: none; } .site-header, .quick-bar, .site-footer, .cta { display: none !important; } body { background: #fff; padding: 0; } }
